Search found 38 matches

by Anasky
Wed Dec 06, 2017 10:41
Forum: Help
Topic: Password editbox
Replies: 3
Views: 70

Re: Password editbox



Thanks :)

@andrew: I would have done it that way too if CEGUI wouldn't have a system for it, but kind of figured it did ;) Just didn't know where
by Anasky
Mon Dec 04, 2017 07:18
Forum: Help
Topic: Password editbox
Replies: 3
Views: 70

Password editbox

Hey all,

Does anyone have a clue how I can hide the password entered? I found the "setMaskCodePoint" on the forum questions, but that seems to be legacy code, and couldn't find anything on the tutorial page of the wiki.

Thanks in advance,
Anasky
by Anasky
Mon Dec 04, 2017 07:16
Forum: Help
Topic: Opening .LAYOUT Files From Torchlight (1) Game
Replies: 2
Views: 48

Re: Opening .LAYOUT Files From Torchlight (1) Game

If you want to modify the file, use CEED or notepad. If you want to render them yourselves, use the code of CEGUI.
by Anasky
Sat Dec 02, 2017 12:44
Forum: Help
Topic: [Solved] Deselecting an Editbox
Replies: 15
Views: 127

Re: Deselecting an Editbox

Why dont you do a full-text search? Window::EventMouseClick is what you want. Misread your last reply, my bad. Yeah, Window::EventMouseClick does work ^^ Any clue how I can hide the password entered? I found the "setMaskCodePoint" on the forum questions, but that seems to be legacy code, ...
by Anasky
Fri Dec 01, 2017 14:20
Forum: Help
Topic: [Solved] Deselecting an Editbox
Replies: 15
Views: 127

Re: Deselecting an Editbox

Ident wrote:
Anasky wrote:
Ident wrote:Yes, wrong event.


CEGUI::PushButton::EventMouseClick

Thanks for the help :)

Isnt there a Window:EventMouseClick?

Not every window is a pushbutton.


namespace CEGUI has no member EventMouseClick.
The PushButton version works though :)
by Anasky
Fri Nov 24, 2017 08:34
Forum: Help
Topic: [Solved] Deselecting an Editbox
Replies: 15
Views: 127

Re: Deselecting an Editbox

Ident wrote:Yes, wrong event.


CEGUI::PushButton::EventMouseClick

Thanks for the help :)
by Anasky
Fri Nov 24, 2017 07:48
Forum: Help
Topic: [Solved] Deselecting an Editbox
Replies: 15
Views: 127

Re: Deselecting an Editbox

That's what I'm trying to do, but it doesn't work :( I've added a handler to EVERY widget that I have using: CEGUI::Window* l_NewWindow; //... l_NewWindow->subscribeEvent( CEGUI::PushButton::EventClicked, CEGUI::SubscriberSlot( &OpenGLLib::GUIFramework::clsWidget::Activate, this ) ); and the act...
by Anasky
Thu Nov 23, 2017 14:15
Forum: Help
Topic: [Solved] Deselecting an Editbox
Replies: 15
Views: 127

Re: Deselecting an Editbox

That would solve 1 of the 2 questions, thanks :)

What remains would be clicking outside the editbox.
So clicking anywhere on the screen that is not an editbox -> deselect the active window.
by Anasky
Wed Nov 22, 2017 07:24
Forum: Help
Topic: [Solved] Deselecting an Editbox
Replies: 15
Views: 127

Re: Deselecting an Editbox

How would I allow my root window to steal activation? The activating of the editbox works, I can see it selecting the widget and I can start typing in it, so that part works fine :) I tried adding a click handler with an empty function to the root window, but that didn't seem to work? What method wo...
by Anasky
Tue Nov 21, 2017 22:27
Forum: Help
Topic: [Solved] Deselecting an Editbox
Replies: 15
Views: 127

Re: Deselecting an Editbox

How would that solve my issue? -> client tells CEGUI a mouse button has been pressed -> either CEGUI changes the selected child, or doesn't. -> if it does, it's fine -> if it doesn't, should I deselect the currently selected item? what if they just clicked the same editbox again? I shouldn't deselec...
by Anasky
Tue Nov 21, 2017 20:05
Forum: Help
Topic: [Solved] Deselecting an Editbox
Replies: 15
Views: 127

[Solved] Deselecting an Editbox

Heya, I've recently started adding Editboxes to my UI, and they work fine, so yay. What I do notice though is that if I press anywhere else, the editbox doesn't get deselected. It only gets deselected when I press another editbox or a button. Is there a way that I can solve this, and also make it so...
by Anasky
Tue Nov 21, 2017 20:03
Forum: Help
Topic: Adding an extra image to a FrameWindow looknfeel
Replies: 22
Views: 336

Re: Adding an extra image to a FrameWindow looknfeel

I managed to find a solution :) 1. Create a FrameWindow 2. Add the TitleBox (StaticImage) to the FrameWindow->getChild(0) 3. Change its size so that it is properly scaled 4. Set ClippedByParent to False 5. TitleBox->moveToBack() 6. Add the Label (StaticText) to the FrameWindow->getChild(0) 7. Set Ho...
by Anasky
Sun Nov 12, 2017 17:24
Forum: Help
Topic: Changing the order of an image
Replies: 4
Views: 83

Re: Changing the order of an image

I tried doing the remove and re-add method, but that gave issues with multithreading. I'll try out the moveToFront function, thanks! :D CEGUI has to run in a single thread. If you still get issues despite having it running in one thread then something must be wrong with how you sync between threads...
by Anasky
Sun Nov 12, 2017 16:47
Forum: Help
Topic: Changing the order of an image
Replies: 4
Views: 83

Re: Changing the order of an image

I tried doing the remove and re-add method, but that gave issues with multithreading.
I'll try out the moveToFront function, thanks! :D
by Anasky
Sun Nov 12, 2017 16:08
Forum: Help
Topic: Changing the order of an image
Replies: 4
Views: 83

Changing the order of an image

Hey all, I have several icons displayed on-screen which change their position over time. I can know through code which one should be above the others, but I don't know how to tell CEGUI which object to show above the rest? (Like: Icon 10 is first, icon 6 is second, icon 4 is third. And then a few se...

Go to advanced search