2015-07-08, 04:21
hey all, some small things:
this is Icon I am trying to put near every Menu item, using control list 9000,for example, for menu item "movies" - it takes movies.png icon from skin/icons folder...
so I want the users have a control over the new menus they creates, I put in the dialog of shortcuts label with the "defualtID" and I will tell the user to add a white icon in the icons folder if he wishes to modify the menu icon.
two things I noticed:
1. some items does not have DefualtID at all, like I tried to created common shortcut to some video-addon, It has only LabelID (some random letters) and no DefualtID
2. when the DefaultID is a number, like "10001" or "1036" - the texture call the "fallback" section and not showing "1036.png" icon even if exsist.
any help with that ?
Code:
<control type="image">
<posx>2</posx>
<posy>10</posy>
<height>32</height>
<width>32</width>
<texture fallback="special://skin/icons/videos.png" colordiffuse="gray">special://skin/icons/$INFO[ListItem.Property(defaultID)].png</texture>
</control>
this is Icon I am trying to put near every Menu item, using control list 9000,for example, for menu item "movies" - it takes movies.png icon from skin/icons folder...
so I want the users have a control over the new menus they creates, I put in the dialog of shortcuts label with the "defualtID" and I will tell the user to add a white icon in the icons folder if he wishes to modify the menu icon.
two things I noticed:
1. some items does not have DefualtID at all, like I tried to created common shortcut to some video-addon, It has only LabelID (some random letters) and no DefualtID
2. when the DefaultID is a number, like "10001" or "1036" - the texture call the "fallback" section and not showing "1036.png" icon even if exsist.
any help with that ?