GuiControlsDemo - Showing available GUI controls (1 Viewer)

DieBagger

Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    39
    Austria
    Home Country
    Austria Austria
    Hi guys,

    I recently updated a few wiki pages and since I only had a limited understanding of the skinning engine and available controls I wrote a small plugin where I could put all the controls to figure out how to use them. Since there is only very little information on the wiki I had to get most infos from different plugins/skins or the MP source I decided to publish the plugin (source included) so in the future the info can be found in one place. In the current version, the following controls are implemented:

    • GUIButtonControl (button)
    • GUIButton3PartControl (button3part)
    • GUICheckButton (checkbutton)
    • GUIFacadeControl (facadeview)
    • GUIFadeLabel (fadelabel)
    • GUIFilmstripControl (filmstrip)
    • GUIGroup (group)
    • GUIImage (image)
    • GUIImageList (imagelist)
    • GUIListControl (listcontrol)
    • GUIPlayListItemListControl (playlistcontrol)
    • GUIPlayListButtonControl (playlistbutton)
    • GUIProgressControl (progress)
    • GUISelectButtonControl (selectbutton)
    • GuiSliderControl (slider) (int & float)
    • GUISMSInputControl (smsinput)
    • GUISortButtonControl (sortbutton)
    • GUISpinButton (spinbutton)
    • GUISpinControl (spincontrol)
    • GUIStatusbarControl (statusbar) (see GuiProgressControl)
    • GUITextControl (textbox)
    • GUITextScrollUpControl (textboxscrollup)
    • GUIThumbnailPanel (thumbnailpanel)
    • GUIToggleButtonControl (togglebutton)
    • GUITVProgressControl (tvprogress)
    • GUIUpDownButton (updownbutton)
    • GUIUpDownListControl (updownlistcontrol)



    There is more info in the wiki:
    MediaPortal1_Development/SkinArchitecture - MediaPortal Manual Documentation and
    GuiControlsDemo - MediaPortal Manual Documentation

    overview.PNGbuttons.pngfacace_list.PNGinput.PNGplaylist_sortlist.PNG

    A few things I couldn't figure out on my own, maybe someone can help out
    • GUIPlayListItemListControl: How can I configure the playlist control so that the up/down buttons stays selected after an item is moved up/down (see here)
    • GUIButton3PartControl: See here for my problem

    You can download the plugin in the repository.
     

    Attachments

    • GuiControlsDemo-Source.rar
      7.1 MB

    jmhecker

    Portal Member
    January 8, 2009
    47
    17
    Home Country
    United States of America United States of America
    DieBagger,

    I have a facade view containing a ListControl, ThumbnailPanel and a FilmStrip. When using ThumbnailPanel or FilmStrip, it seems that the image that is put onto each item is not 'scaled' to fit the ListItem.

    Can you offer any assistance as to what I need to do to rectify it? Perhaps a missing entry or 2 in the skin file? Or is there a .scalemode type property that I am overlooking?

    Thanks in advance,
    Jason

    EDIT:
    I take that back, in GUIFacadeControl.ViewMode.SmallIcons it is scaling the image to the size of the control, but it is not in GUIFacadeControl.ViewMode.Filmstrip.
     

    craige1

    Portal Pro
    February 1, 2008
    187
    48
    Alice Springs
    Home Country
    Australia Australia
    You dont seem to have a list control (GUIListControl). The demo say it has one but i cant find it. I am looking to make a simple list of items.
     

    rsmilek

    New Member
    September 21, 2011
    1
    0
    50
    Home Country
    Czech Republic Czech Republic
    Hi all,
    where can I get plugin source code?
    The rar contains binaries only...
    I already searched MP trunk repository, no success...
    Thanks, for help
     

    SimondusMaximus

    MP Donator
  • Premium Supporter
  • December 27, 2009
    171
    26
    Home Country
    United Kingdom United Kingdom
    Hi DieBagger. I know it's an old thread but any chance you could update this plugin for MP 1.3 RC please?

    Cheers
    Si
     

    Users who are viewing this thread

    Top Bottom