WiP: Adding design time support for MPF-XAML (1 Viewer)

offbyone

Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    @offbyone
    having the design functionality would be aweasome!
    So people could do easy modifications without looking to much at the code (y)

    I guess you misinterpreted what I meant ;) To clear it up: hosting the MP2 render engine inside a Visual Studio editor window would only allow us to see (kind of live) what the manual changes in the xaml cause. An actual editor with some drag an drop and live editing is out of the question (at least the way I see it).
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    Yeah, but would still be nice :) makes checking changes muuuch faster and over the time you get the feeling
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #13
    @offbyone this would be really amazing if we can build a link between VS designer and MP2 for rendering!
    But we would need a way for the rendering engine to quickly reload when the user changes something in the xml.
    This feature already exists, inside SkinHelperPlugin there is a "ReloadSkin" action, which maps following shortcuts:
    Code:
      public static readonly Key RELOAD_SCREEN_KEY = Key.F3;
      public static readonly Key RELOAD_THEME_KEY = Key.F4;
    I used this many times before, works great!

    Only "gap" is that the changes need to be in output (runtime) folder, not inside source project folder.
     

    Users who are viewing this thread

    Top Bottom