You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've an application with GUI looking like the pasted image:
What I want to achieve is to swith between 'window 0' (Player info), 'window 1' (Race/Stat fixed info) etc ... and any others that will come later.
The GUI is working fine with initial focusable tree only containing the input related to 'Character name'.
Now, When I press Alt-1, the 'Race/Stat fixed info' become the new "active window" (i.e Player info is drawn with single border, while the Race/Stat Fixed info is drawn with double border). This swith is working fine.
But I want to change the focusable tree with only focusable components from the window Race/Stat fixed info.
Which is only The Input for Race:
Perhaps doing something like in the window.cpp example with using a Container::Stacked, but using some vbox, hbox layout instead of hard coded positionning.
Could you help me achieving this please ?
Thank you for any help
I paste here the header/source of the related stuff.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
I've an application with GUI looking like the pasted image:

What I want to achieve is to swith between 'window 0' (Player info), 'window 1' (Race/Stat fixed info) etc ... and any others that will come later.
The GUI is working fine with initial focusable tree only containing the input related to 'Character name'.
Now, When I press Alt-1, the 'Race/Stat fixed info' become the new "active window" (i.e Player info is drawn with single border, while the Race/Stat Fixed info is drawn with double border). This swith is working fine.
But I want to change the focusable tree with only focusable components from the window Race/Stat fixed info.
Which is only The Input for Race:
Perhaps doing something like in the window.cpp example with using a Container::Stacked, but using some vbox, hbox layout instead of hard coded positionning.
Could you help me achieving this please ?
Thank you for any help
I paste here the header/source of the related stuff.
Beta Was this translation helpful? Give feedback.
All reactions