Main Menu
Menu

Show posts

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 Menu

Messages - ScArL3T

#1
Help requests / Resize child window
11 July 2015, 13:38:07
Is it possible to resize the child window by clicking the bottom right corner? Something similar to what sfgui does.
#2
Help requests / Re: Multiple callbacks
21 June 2015, 19:37:21
Thank you!
#3
Help requests / Re: Multiple callbacks
21 June 2015, 19:27:26
Code (cpp) Select

playButton->bindCallback(tgui::Button::LeftMouseClicked);
playButton->setCallbackId(1);
playButton->bindCallback(tgui::Button::MouseEntered);
playButton->setCallbackId(2);


Uhm sorry I'm new to TGUI, maybe I'm missing something but this won't work.
Also, this doesn't work:
Code (cpp) Select
playButton->bindCallback(tgui::Button::LeftMouseClicked | tgui::Button::MouseEntered);
#4
Help requests / Multiple callbacks
21 June 2015, 19:02:38
How can I play a sound whenever the button is hovered, but at the same time executing an action when pressed?
Is there a way that I can use 2 callbacks?