Andreas Kling
29c49356e3
WindowServer: Rename GUI_Foo to WSAPI_Foo.
2019-02-15 09:17:18 +01:00
Andreas Kling
f529b845ec
WindowServer: Convert entire API to be message-based.
...
One big step towards userspace WindowServer. :^)
2019-02-14 01:21:32 +01:00
Andreas Kling
ef4e9860fd
WindowServer: Convert the remaining menu APIs into messages.
2019-02-13 21:47:14 +01:00
Andreas Kling
cf432b4c3d
WindowServer: Refactor more of the menu APIs to be message-based.
...
This is all pretty verbose but I can whittle it down later. :^)
2019-02-13 18:49:23 +01:00
Andreas Kling
3085e400bc
LibGUI: Add GAction class and make GMenu deal in actions rather than strings.
2019-02-12 14:09:48 +01:00
Andreas Kling
db98327bdc
Plumb menu item activation events from WindowServer to clients.
...
GMenu now has an "on_item_activation" callback that fires whenever one
of its items are activated. The menu item identifier is used to distinguish
between items.
Use this to implement font switching in Terminal. :^)
2019-02-12 10:08:35 +01:00
Andreas Kling
133706d697
Add API's and plumbing for WindowServer clients to make menus.
2019-02-12 00:52:19 +01:00
Andreas Kling
757429fb55
LibGUI: More work on client-side menus.
2019-02-11 15:37:12 +01:00
Andreas Kling
9483b39227
LibGUI: Add GMenu* and GApplication classes.
2019-02-11 14:43:43 +01:00