Search found 12 matches
- Mon Dec 18, 2006 07:55
- Forum: Help
- Topic: Howto get ListBoxItem from an ID?
- Replies: 2
- Views: 2182
http://www.cegui.org.uk/wiki/index.php/WidgetGalore If you want to get the ID of the selected item you can use: uint valueListbox = listbox->getFirstSelectedItem()->getID(); If you want to retrieve the ListboxItem* from an ID then the following should work: CEGUI::uint findID = 1234; CEGUI::Listbox...
- Sun Dec 17, 2006 16:58
- Forum: Help
- Topic: Howto get ListBoxItem from an ID?
- Replies: 2
- Views: 2182
Howto get ListBoxItem from an ID?
Hi all This is the way I add an item to a list box. CEGUI::ListboxTextItem *item = new CEGUI::ListboxTextItem(userName, id, p); item->setSelectionBrushImage("TaharezLook", "MultiListSelectionBrush"); m_playerListBox->addItem(item); m_playerListBox->ensureI...
- Sat Dec 16, 2006 15:14
- Forum: Help
- Topic: howto draw a texture on a window?
- Replies: 4
- Views: 3058
I have tried
But still get the error: StaticImage is not a member of CEGUI. So I have to use CEGUI::Window class and set image by using SetProperty method.
Code: Select all
staticImage = (CEGUI::StaticImage*)wndMgr.getWindow("Root/PlayWindow/Avatar01SImage");
But still get the error: StaticImage is not a member of CEGUI. So I have to use CEGUI::Window class and set image by using SetProperty method.
- Sat Dec 16, 2006 03:04
- Forum: Help
- Topic: howto draw a texture on a window?
- Replies: 4
- Views: 3058
- Sat Dec 16, 2006 02:35
- Forum: Help
- Topic: Can not create a StaticImage?
- Replies: 4
- Views: 3582
- Fri Dec 15, 2006 16:36
- Forum: Help
- Topic: howto draw a texture on a window?
- Replies: 4
- Views: 3058
howto draw a texture on a window?
Hi
I want to make a simple chess board.
So I have to render some textures on window.
How can I do so?
I need it, please.
Thank u.
I want to make a simple chess board.
So I have to render some textures on window.
How can I do so?
I need it, please.
Thank u.
- Fri Dec 15, 2006 14:49
- Forum: Help
- Topic: Can not create a StaticImage?
- Replies: 4
- Views: 3582
Can not create a StaticImage?
Hi all I use this code to get StaticImage from WindowManager: m_avatar01StaticImage = (CEGUI::StaticImage*)wndMgr.getWindow("Root/PlayWindow/Avatar01SImage"); But the compiler said: 1>d:\study\visual studio 2005\projects\carol\carol\src\playwindow.cpp(12) : error C2...
- Fri Dec 15, 2006 14:42
- Forum: Help
- Topic: Add new skin to CELayoutEditor?
- Replies: 5
- Views: 3433
I put files in right folders and it works. Copy imageset files (psplash.imageset, phud.imageset, sleekspace.imageset) to C:\CEGUI-SDK-0.5.0b\datafiles\imagesets Copy looknfeel files containers.looknfeel lists.looknfeel menu.looknfeel progress.looknfeel scroll.looknfeel sleekspace.looknfeel static.lo...
- Thu Dec 14, 2006 13:16
- Forum: Help
- Topic: Add new skin to CELayoutEditor?
- Replies: 5
- Views: 3433
- Thu Dec 14, 2006 10:42
- Forum: Help
- Topic: Add new skin to CELayoutEditor?
- Replies: 5
- Views: 3433
Add new skin to CELayoutEditor?
Hi all
How can I add a new skin to CELayoutEditor?
I have downloaded Sleekspace Skin and copied its files to dedicated folders (imagesets, looknfeels, schemes,...) but CELayoutEditor doesn't know it.

How can I add a new skin to CELayoutEditor?
I have downloaded Sleekspace Skin and copied its files to dedicated folders (imagesets, looknfeels, schemes,...) but CELayoutEditor doesn't know it.

- Thu Dec 14, 2006 07:58
- Forum: Help
- Topic: can't load imageset
- Replies: 1
- Views: 1930
I have found the answer in wiki. The Direct3D and OpenGL renderers do not, by default, use a specialised ResourceProvider; these systems default to loading all resources from the current working directory for the running application (usually the directory containing the executable). This fact is of ...
- Thu Dec 14, 2006 07:12
- Forum: Help
- Topic: can't load imageset
- Replies: 1
- Views: 1930
can't load imageset
hi all I use this code to load a scheme. CEGUI::OpenGLRenderer *renderer; CEGUI::System *system; CEGUI::Imageset *imgSet; try { renderer = new CEGUI::OpenGLRenderer(0, 800, 600); system = new CEGUI::System(renderer); CEGUI::SchemeManager::getSingleton().loadScheme(&q...