This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuoteBut i didn't understand what is happens...I'm having problems understanding your english.
And for me it will be good if, then i make gui->draw its draw elements in sf::View rectangle.
QuoteMaybe you should remove LoadFromFile() from 0.6 code examples meanwhile.I could do that, but I'm just going to keep it for now. In the end, everything still works except passing callbacks.
QuoteFor extra convenience, you could do a focusTop(), focusDown(), focusLeft(), focusRight() in GridI don't want to add too many unneeded things to the gui, even if it is more convenient in your situation.
QuoteIs focusFirstChildWidget() possible?You could use unfocusAllWidgets followed by focusNextWidget. That should have the same effect.
QuoteMaybe also a possibility to disable mouse input to the gui?Yes but this requires me to add a function to disable the mouse, add a boolean to store the setting, add if statements in the event manager to ignore the mouse, make sure that child widgets also disable their mouse, ...
FocusedImage_L = "Black.png" ( 0, 175, 50, 50)
FocusedImage_M = "Black.png" ( 50, 175, 100, 50)
FocusedImage_R = "Black.png" (150, 175, 50, 50)QuoteI just tested navigation with keyboard and noticed that the hover image does not get used when a widget is focused.The focus image is drawn on top of the normal and hover ones, so if your focus image isn't transparent then you won't see the hover image. Or are u using the Black style?
QuoteHow can I manually set a widget as "being hovered on"?You normally don't do this, so there is no function to do so. You could always call the mouseMoved function with mouse coordinates that lie on top of the widget, but this will be undone when then moving the mouse again. Basically you just aren't supposed to do this.
QuoteWhat would happen if there is no next or previous widget?I think it is most logical that the widget stays focused and nothing changes (Currently the widget gets unfocused).
QuoteWas the forum/tgui.eu/tgui.net down for a while?Not that I know, but it can always happen from time to time.
QuoteIs it possible to define several buttons? From the .conf I got the idea that there was only one button.The config file can only contain one button, but you can use different config files (e.g. a different config file for different resolutions).
QuoteI don't think having different Button sizes is an outlandish idea.True, I am using it as an example but I realize that you normally don't do that.
QuoteI'd use itThe question is why?
QuoteWhen using TGUI v0.6, make sure to check the "-std=c++0x" or "-std=c++11" compiler flag.