Search found 49 matches
- Sun Oct 15, 2006 20:37
- Forum: Modifications / Integrations / Customisations
- Topic: Left Align Button Text?
- Replies: 4
- Views: 4393
- Fri Oct 13, 2006 17:07
- Forum: Modifications / Integrations / Customisations
- Topic: Left Align Button Text?
- Replies: 4
- Views: 4393
Hey pompei2, thanks for the reply. I know about the StaticText alignment and I often use the HorzFormatting to center the text from the default left alignment. Unfortunately, push button doesn't seem to have anything like this. The offset X looks like it has promise, but doesn't seem to work as adve...
- Tue Oct 10, 2006 21:39
- Forum: Modifications / Integrations / Customisations
- Topic: Duplicating a window
- Replies: 2
- Views: 2728
- Tue Oct 10, 2006 21:22
- Forum: Modifications / Integrations / Customisations
- Topic: Duplicating a window
- Replies: 2
- Views: 2728
Duplicating a window
Hello, I want to duplicate a window. I tried: CEGUI::Window* t = CEGUI::WindowManager::getSingleton().createWindow("WindowsLook/FrameWindow", "testframe"); (*t) = (*(getWindow("report_win"))); but got compiler error, "...
- Tue Oct 10, 2006 19:53
- Forum: Modifications / Integrations / Customisations
- Topic: Left Align Button Text?
- Replies: 4
- Views: 4393
Left Align Button Text?
Hey guys, I am trying to left align the text on a bunch of buttons. I found the function setTextXOffset() but it doesn't seem to do squat. Also when I call this function is it supposed to kill the centered alignment and make it left aligned with the offset or is the offset taken from the center? Why...
- Sun Sep 17, 2006 16:08
- Forum: Modifications / Integrations / Customisations
- Topic: CEGUI sans mouse input Problem
- Replies: 1
- Views: 2339
- Tue Sep 12, 2006 15:44
- Forum: Modifications / Integrations / Customisations
- Topic: CEGUI sans mouse input Problem
- Replies: 1
- Views: 2339
CEGUI sans mouse input Problem
Hey guys, I am thinking about making a game with Ogre that uses the Xbox360 controller. I was wondering if there was a way that I could integrate the controllers d-pad (or the arrow buttons on the computer's keyboard) with CEGUI. I only have like three menus so I was thinking that I could just have ...
- Tue Sep 12, 2006 15:39
- Forum: Modifications / Integrations / Customisations
- Topic: How can i add a new font to CEGUI Editor.?
- Replies: 9
- Views: 6699
- Mon Aug 21, 2006 20:44
- Forum: Help
- Topic: Making a list box selectable [Solved]
- Replies: 4
- Views: 4104
I just wanted to add something. If you are using WindowsLook, you need to make sure that the ListboxSelectionBrush exists in the imageset file. Then you need to make sure that the square it corresponds to in the targa file has a white alpha. The actual color channel can just be left blank because yo...
- Thu Aug 17, 2006 20:04
- Forum: Modifications / Integrations / Customisations
- Topic: isHit() not working for some reason
- Replies: 0
- Views: 2033
isHit() not working for some reason
Hey all, I am trying to see if the mouse is hovering over a certain window. I will be checking if it is hovering over that window while at the same time not hovering over another specific window (to sense overlap). For some reason it seems like isHit() never returns true for me. Am I using it incorr...
- Mon Jun 12, 2006 22:02
- Forum: CEGUI Library Development Discussion
- Topic: Rotating Images
- Replies: 9
- Views: 10959
- Sun Jun 11, 2006 03:20
- Forum: Modifications / Integrations / Customisations
- Topic: Changing the image on a Thumb
- Replies: 1
- Views: 1980
alright, I don't know the correct way to acheive a custom image on the slider thumb, but what I did as a work around was place a static image on top of the thumb. The image has the same size and position as the thumb. Then in code, I setEnabled(false) on the image window and subscribe the thumb to a...
- Sun Jun 11, 2006 02:40
- Forum: Modifications / Integrations / Customisations
- Topic: Changing the image on a Thumb
- Replies: 1
- Views: 1980
Changing the image on a Thumb
Hey guys, I am using windows look and I am trying to make a slider in my game that has a different picture on it than the regular slider. Since the slider Thumb inherits from push button class I thought that the following code would work. CEGUI::Thumb *thumb = (CEGUI::Thumb*)wmgr.getWindow...
- Wed Jun 07, 2006 07:20
- Forum: Modifications / Integrations / Customisations
- Topic: Scaling Problem with WindowsLook.tga
- Replies: 6
- Views: 4576
- Wed Jun 07, 2006 06:31
- Forum: Modifications / Integrations / Customisations
- Topic: Horizontal Dragging
- Replies: 1
- Views: 1879
I guess what I am going to do is use a SliderThumb widget. It has the functionality that I am looking for, unfortunately I do not understand how to change its image from within code. I figured because it is inherited from PushButton I could use the same code for changing the normal image, but that d...