Fire (and handle) custom events

Feature requests for future versions of Hollywood can be voiced here
User avatar
Clyde
Posts: 198
Joined: Sun Feb 14, 2010 12:38 pm
Location: Dresden / Germany

Fire (and handle) custom events

Post by Clyde » Sat Aug 10, 2019 11:56 pm

I would like to fire my own events (and pass my own data with the event) and handle it by callback function which are also registered with "InstallEventHandler".

Would be cool if this could be implemented.
Currently using: Hollywood 8 with Windows IDE

User avatar
airsoftsoftwair
Posts: 3208
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Fire (and handle) custom events

Post by airsoftsoftwair » Mon Aug 12, 2019 6:16 pm

What for? Can't you call the event callback directly?

User avatar
airsoftsoftwair
Posts: 3208
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Fire (and handle) custom events

Post by airsoftsoftwair » Tue Sep 03, 2019 4:38 pm

Turns out I need something exactly like this for some RapaGUI 2.0 functionality, so here it is :)

Code: Select all

- New: Added RunCallback() function to event library; this function can be used to push a user callback
  into the event queue; the callback won't be run immediately but the next time the event queue is emptied
  by WaitEvent() or CheckEvent()

User avatar
Clyde
Posts: 198
Joined: Sun Feb 14, 2010 12:38 pm
Location: Dresden / Germany

Re: Fire (and handle) custom events

Post by Clyde » Wed Sep 04, 2019 8:23 am

Hah, perfect, thank you! Looks good. Will see how that works then. And sorry for not responding here - I was still on my vacation and later I forgot this thread. :-/

PS: Any ideas when RapaGUI 2.0 could be released? I am using it kinda heavily right now. Will post about the project some time later (weeks).
Currently using: Hollywood 8 with Windows IDE

User avatar
airsoftsoftwair
Posts: 3208
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Fire (and handle) custom events

Post by airsoftsoftwair » Mon Sep 09, 2019 5:14 pm

Clyde wrote:
Wed Sep 04, 2019 8:23 am
PS: Any ideas when RapaGUI 2.0 could be released? I am using it kinda heavily right now. Will post about the project some time later (weeks).
It's delayed but the good news is that there'll be a whole lot of new features. So many that I was even considering bumping it to 3.0 because 2.0 was the one that was released with Hollywood 8.0 for Android but I think I'll keep it at 2.0 and we consider the version released with Hollywood 8.0 in February a preview...

User avatar
Clyde
Posts: 198
Joined: Sun Feb 14, 2010 12:38 pm
Location: Dresden / Germany

Re: Fire (and handle) custom events

Post by Clyde » Tue Sep 10, 2019 11:15 am

Sounds good! Take your time. I know it will be great!
Currently using: Hollywood 8 with Windows IDE

User avatar
airsoftsoftwair
Posts: 3208
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Fire (and handle) custom events

Post by airsoftsoftwair » Wed Sep 11, 2019 8:35 pm

Clyde wrote:
Tue Sep 10, 2019 11:15 am
Sounds good! Take your time. I know it will be great!
I'm forced to take my time since something I planned to implement in two days has taken about 6 weeks now... the joys of programming :?

PEB
Posts: 263
Joined: Sun Feb 21, 2010 1:28 am

Re: Fire (and handle) custom events

Post by PEB » Tue Sep 24, 2019 10:05 pm

Off topic (though related to RapaGUI 2.0):
Not wanting to add more to your workload, but I was wondering if functions such as HidePointer() will work with Hollywood displays inside RapaGUI windows in version 2.0? (Using the IPC library with RapaGUI would be nice too.)

User avatar
airsoftsoftwair
Posts: 3208
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Fire (and handle) custom events

Post by airsoftsoftwair » Fri Sep 27, 2019 11:35 pm

PEB wrote:
Tue Sep 24, 2019 10:05 pm
Off topic (though related to RapaGUI 2.0):
Not wanting to add more to your workload, but I was wondering if functions such as HidePointer() will work with Hollywood displays inside RapaGUI windows in version 2.0? (Using the IPC library with RapaGUI would be nice too.)
Currently not but I can add this to the to do list ;)

PEB
Posts: 263
Joined: Sun Feb 21, 2010 1:28 am

Re: Fire (and handle) custom events

Post by PEB » Sun Nov 10, 2019 3:12 am

Please also add this to the list:
*Support for SetTrayIcon() with RapaGUI.

Thanks.

Post Reply