1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-21 04:31:12 +00:00
serenity/LibGUI
Andreas Kling 11db8c1697 Add a simple close button ("X") to windows.
Clicking the button generates a WindowCloseRequest event which the client app
then has to deal with. The default behavior for GWindow is to close() itself.

I also added a flag, GWindow::should_exit_event_loop_on_close() which does
what it sounds like it does.

This patch exposed some bugs in GWindow and GWidget teardown.
2019-02-05 10:31:37 +01:00
..
.gitignore Add basic automatic dependency management to Makefiles. 2019-02-02 04:41:59 +01:00
GButton.cpp Rename LizaBold to LizaRegular and LizaBlack to LizaBold. 2019-02-05 09:08:25 +01:00
GButton.h Make buttons unpress when the cursor leaves the button rect. 2019-01-27 08:48:34 +01:00
GCheckBox.cpp LibGUI: Use LightGray as the base UI color. 2019-02-04 11:53:26 +01:00
GCheckBox.h LibGUI: More work on GCheckBox. 2019-01-27 20:22:06 +01:00
GEvent.h Add a simple close button ("X") to windows. 2019-02-05 10:31:37 +01:00
GEventLoop.cpp Add a simple close button ("X") to windows. 2019-02-05 10:31:37 +01:00
GEventLoop.h Add a simple close button ("X") to windows. 2019-02-05 10:31:37 +01:00
GLabel.cpp WindowServer: Don't invalidate already frontmost window for moving to front. 2019-01-21 02:19:08 +01:00
GLabel.h LibGUI: Mass coding style fixes. 2019-01-21 00:54:35 +01:00
GListBox.cpp LibGUI: Reduce overdraw in GListBox. 2019-01-28 20:38:13 +01:00
GListBox.h LibGUI: Flesh out focus implementation and more GTextBox work. 2019-01-26 11:24:16 +01:00
GObject.cpp Add a simple close button ("X") to windows. 2019-02-05 10:31:37 +01:00
GObject.h Big, possibly complete sweep of naming changes. 2019-01-31 17:31:23 +01:00
GTextBox.cpp mmap all the font files! 2019-02-05 06:43:33 +01:00
GTextBox.h LibGUI: GTextBox should only run a caret blink timer when focused. 2019-02-04 10:34:56 +01:00
GWidget.cpp LibGUI: Use LightGray as the base UI color. 2019-02-04 11:53:26 +01:00
GWidget.h Start working on a simple graphical font editor. 2019-02-02 08:07:06 +01:00
GWindow.cpp Add a simple close button ("X") to windows. 2019-02-05 10:31:37 +01:00
GWindow.h Add a simple close button ("X") to windows. 2019-02-05 10:31:37 +01:00
Makefile Add basic automatic dependency management to Makefiles. 2019-02-02 04:41:59 +01:00