ivan.cuevas Posted September 2, 2011 Posted September 2, 2011 Hi all, It would be nice to optionally define a texture path when a new tab is added to the WidgetTabBox as icon on the left side of the tab (as web browsers like chrome does) The UnigineScript code will look like: //WidgetTabBox void addTab(string title,string texture) string getTabTexture(int tab) void setTabTexture(int tab,string texture) Thanks. Note: Even better, add a flag to represent the close tab icon on the right side as shown in the screenshot. void closeTabIconEnabled(int enabled) 1
frustum Posted September 3, 2011 Posted September 3, 2011 Icons for WidgetTabBox is ready. They will use texture atlas in same way as WidgetListBox widget. 1
ivan.cuevas Posted September 3, 2011 Author Posted September 3, 2011 Icons for WidgetTabBox is ready. They will use texture atlas in same way as WidgetListBox widget. Waiting for next update then. Thanks again.
Recommended Posts