Search found 29 matches
- Sun Aug 03, 2008 06:37
- Forum: Help
- Topic: Destroying Custom Windows
- Replies: 7
- Views: 3890
Destroying Custom Windows
Hello, So I have created a few sub-classes of CEGUI::Window in the "proper" way (i.e. objects are created using the WindowManager::createWindow(...) function and a custom WindowFactory). This seems to work properly. However, the problem comes when I try to destroy it. The call to wmgr.dest...
- Tue Jul 22, 2008 08:18
- Forum: Help
- Topic: MultiListSelectionBrush and WindowsLook
- Replies: 2
- Views: 1536
- Tue Jul 22, 2008 01:32
- Forum: Help
- Topic: MultiListSelectionBrush and WindowsLook
- Replies: 2
- Views: 1536
MultiListSelectionBrush and WindowsLook
Hello, I searched a bit and couldn't find anything related to this, so I figured I'd ask myself... I am trying to create a MultiColumnList. When using TaharezLook, the MultiListSelectionBrush works as expected, producing a solid colour equal to the selection colour assigned to that ListboxTextItem. ...
- Wed Jun 04, 2008 17:38
- Forum: Modifications / Integrations / Customisations
- Topic: Text with different sizes
- Replies: 6
- Views: 3679
- Wed Jun 04, 2008 16:29
- Forum: Help
- Topic: Drawing custom text
- Replies: 21
- Views: 9861
- Sun Jun 01, 2008 21:16
- Forum: Help
- Topic: Drawing custom text
- Replies: 21
- Views: 9861
Hello, As I said, it's not that nothing was showing up - when I made the background a colour besides black it would draw a square of the appropriate size in the appropriate place of a slightly darker colour than the background. And I have since discovered (sort of) why it was doing that... I tried g...
- Sun Jun 01, 2008 17:35
- Forum: Help
- Topic: Drawing custom text
- Replies: 21
- Views: 9861
Hello, I'm not exactly sure what you mean. If I use the same gl code that draws the square and line elsewhere (i.e. not saving it as a texture, etc) it shows up fine. I can also get it to display properly various gui elements (like a framewindow, a button and the scrollbars of a scrollablepane). In ...
- Fri May 30, 2008 19:44
- Forum: Help
- Topic: Drawing custom text
- Replies: 21
- Views: 9861
Hello again, I'm not sure exactly if the image is the size of the whole texture or not since I can't find anywhere what units the Rect expects (i.e. The thing I'm trying to get it to draw is 100 x 100 pixels, so I'm not sure if it wants 0 ... 1, or 0 ... 100). Anyways, here is the relevant code that...
- Thu May 29, 2008 19:48
- Forum: Help
- Topic: Drawing custom text
- Replies: 21
- Views: 9861
Hello, Thanks again! The problem was I was calling the constructors for OpenGLTexture and Imageset, which are, as you mentioned, protected, so it wouldn't even run. I have changed them to CEGUI::System::getSingleton().getRenderer()->createTexture(); and CEGUI::ImagesetManager::getSingleton().createI...
- Wed May 28, 2008 21:46
- Forum: Help
- Topic: Drawing custom text
- Replies: 21
- Views: 9861
Hello again, Thanks to your help, I am a lot closer than I was! I have successfully got it to draw text in the way you have described! I guess I will be more specific as to what I am doing now: I have a CEGUI::ScrollablePane, and in this pane I want to draw some text and some other things that are w...
- Tue May 27, 2008 19:21
- Forum: Help
- Topic: Drawing custom text
- Replies: 21
- Views: 9861
- Tue May 27, 2008 17:06
- Forum: Help
- Topic: imagesets and pick an image
- Replies: 10
- Views: 3756
- Tue May 27, 2008 16:54
- Forum: Help
- Topic: Drawing custom text
- Replies: 21
- Views: 9861
- Mon May 26, 2008 16:27
- Forum: Help
- Topic: Drawing custom text
- Replies: 21
- Views: 9861
Drawing custom text
Hello, I am attempting to get the CEGUI system to draw custom text that is not necessarily "on" a CEGUI::Window object. I read about the preferred use of a RenderCache, so I have been trying to use that. I first tried: CEGUI::WindowManager& wmgr = CEGUI::WindowManager::getSingleton(...