API for GuiImageList
by Chad Kilgore · in Game Design and Creative Issues · 10/04/2006 (10:18 am) · 4 replies
I found a wonderful GUI object in the source called GuiImageList; however I have no idea what the API is (or at least I can't interpret how I can create and insert an ImageList item). Could anyone help me out?
#2
However, there is no render. When I looked at the source, GuiImageList::onRender is completely commented out. When I uncommented it and tried to compile without any luck. If anyone could tell me how to make GuImageList work, that would be great.
10/04/2006 (9:41 pm)
I think I figured out how to add an image/texture to the GuiImageList using (lo and behold) .insert(image path). (I echo the size of the ImageList and is the number does increase).However, there is no render. When I looked at the source, GuiImageList::onRender is completely commented out. When I uncommented it and tried to compile without any luck. If anyone could tell me how to make GuImageList work, that would be great.
#3
Edit: If it's a TGB thing, then I'm afraid I can't help...
10/04/2006 (11:09 pm)
Uh, there is no "GuiImageList" anywhere in the TGE 1.4 solution.... Exactly where did you find this again?Edit: If it's a TGB thing, then I'm afraid I can't help...
#4
10/05/2006 (6:15 am)
It's in TGB v 1.1.1. Location: .\gui\editor\GuiImageList[.h][.cc]. I've noticed that the Gui systems between TGB and TGE are slightly different. It's mildly annoying and slightly frustrating at times.
Associate Orion Elenzil
Real Life Plus