Thanks, and do I have to deactivate it again, if a player has clicked the Exit (x) key of the window?
And is there a way, how I can say, that if I activate the box the cursor should jump to the last position of my string?
Search found 15 matches
- Wed Apr 06, 2016 14:43
- Forum: Help
- Topic: [Solved] Selecting a Combobox programmatically
- Replies: 3
- Views: 4644
- Tue Apr 05, 2016 15:19
- Forum: Help
- Topic: [Solved] Selecting a Combobox programmatically
- Replies: 3
- Views: 4644
[Solved] Selecting a Combobox programmatically
Hello, is there a way, how I can select a combobox directly, after it gets displayed? (Via a window and if the window shows up the combobox should be selected, so the user can type in things directly)...?
- Sat Apr 02, 2016 20:55
- Forum: Help
- Topic: CEGUI Change Font size later in the program
- Replies: 7
- Views: 7082
Re: CEGUI Change Font size later in the program
sry... I think this are the relevant things: m_context = &CEGUI::System::getSingleton().createGUIContext(m_renderer->getDefaultRenderTarget()); m_root = CEGUI::WindowManager::getSingleton().createWindow("DefaultWindow", "root"); m_context->setRootWindow(m_root); void GUI::set...
- Sat Apr 02, 2016 19:59
- Forum: Help
- Topic: CEGUI Change Font size later in the program
- Replies: 7
- Views: 7082
Re: CEGUI Change Font size later in the program
Oh sry, Bengine is just my game-engine name, where I declared it...
It has nothing to do with a Bengine forum
It has nothing to do with a Bengine forum
- Sat Apr 02, 2016 10:18
- Forum: Help
- Topic: CEGUI Change Font size later in the program
- Replies: 7
- Views: 7082
- Sat Apr 02, 2016 01:54
- Forum: Help
- Topic: CEGUI Change Font size later in the program
- Replies: 7
- Views: 7082
CEGUI Change Font size later in the program
Hello,
I have the following question:
Can I set the Font-Size of CEGUI later in the program again, without initialize the whole CEGUI again?
I thought with
but it seems, that this can only be set on the beginning and only one time...
I have the following question:
Can I set the Font-Size of CEGUI later in the program again, without initialize the whole CEGUI again?
I thought with
Code: Select all
m_gui.setFont("FONT")
but it seems, that this can only be set on the beginning and only one time...
- Sat Apr 02, 2016 01:15
- Forum: Help
- Topic: [Solved] CEGUI Spinner check for focus
- Replies: 16
- Views: 14745
Re: CEGUI Spinner check for focus
Wow, finally I got it work!
Thanks !
Thanks !

- Fri Apr 01, 2016 16:32
- Forum: Help
- Topic: [Solved] CEGUI Spinner check for focus
- Replies: 16
- Views: 14745
Re: CEGUI Spinner check for focus
I'm on windows....
You can rebuild it for me, if you want to xDD
You can rebuild it for me, if you want to xDD
- Fri Apr 01, 2016 15:22
- Forum: Help
- Topic: [Solved] CEGUI Spinner check for focus
- Replies: 16
- Views: 14745
Re: CEGUI Spinner check for focus
It takes time... 

- Fri Apr 01, 2016 14:29
- Forum: Help
- Topic: [Solved] CEGUI Spinner check for focus
- Replies: 16
- Views: 14745
- Fri Apr 01, 2016 12:51
- Forum: Help
- Topic: [Solved] CEGUI Spinner check for focus
- Replies: 16
- Views: 14745
Re: CEGUI Spinner check for focus
But I don't have a Spinner.cpp file... (Maybe it's in the library?)
I only have a Spinner.h file
I only have a Spinner.h file
- Fri Apr 01, 2016 10:26
- Forum: Help
- Topic: [Solved] CEGUI Spinner check for focus
- Replies: 16
- Views: 14745
Re: CEGUI Spinner check for focus
Ahh, now I got it.... Now I added to the Spinner-class in Spinner.h this: bool isEditboxActive() const; And down, outside of the class, I did this: bool Spinner::isEditboxActive() const { return getEditbox()->isActive(); } Now it says me, that getEditbox isn't definded... But it is, as a protected c...
- Fri Apr 01, 2016 01:09
- Forum: Help
- Topic: [Solved] CEGUI Spinner check for focus
- Replies: 16
- Views: 14745
Re: CEGUI Spinner check for focus
I don't get it... Let me say, I have a Spinner called "widthSpinner" I generate it like this: m_widthSpinner = static_cast<CEGUI::Spinner*>(m_gui.createWidget("TaharezLook/Spinner", glm::vec4(X_POS + PADDING, Y_POS, 0.0f, 0.0f), glm::vec4(0.0f, 0.0f, DIMS_PIXELS * X_FACTOR, DIMS_...
- Thu Mar 31, 2016 23:17
- Forum: Help
- Topic: [Solved] CEGUI Spinner check for focus
- Replies: 16
- Views: 14745
Re: CEGUI Spinner check for focus
Add the following method to class CEGUI::Spinner (or to a class u inherit from it)
What class do you mean?

- Thu Mar 31, 2016 18:41
- Forum: Help
- Topic: [Solved] CEGUI Spinner check for focus
- Replies: 16
- Views: 14745
[Solved] CEGUI Spinner check for focus
I'm trying to find out, how I can check a CEGUI::Spinner, if the field is in focus. I mean, if you clicked on the field, so you can enter numbers, etc... Is there a way, how I can check, if a Spinner is in focus? E.g. the EventMouseClicked event is not enough, because I don't want the Event powered ...