summaryrefslogtreecommitdiff
path: root/LibGUI/GButton.h
AgeCommit message (Collapse)Author
2019-03-19LibGUI: Add GInputBox for getting a string from a modal dialog.Andreas Kling
Use this to implement some of the toolbar actions in IRCClient. :^)
2019-03-19LibGUI: Implement nested event loops to support dialog boxes.Andreas Kling
This patch adds a simple GMessageBox that can run in a nested event loop. Here's how you use it: GMessageBox box("Message text here", "Message window title"); int result = box.exec(); The next step is to make the WindowServer respect the modality flag of these windows and prevent interaction with other windows in the same process until the modal window has been closed.
2019-03-16LibGUI: Make class_name() public so you can always call it.Andreas Kling
I found myself having to cast to GWidget* all the time when writing some generic debugging code that just wanted to dump widget info.
2019-02-20LibGUI: Implement enter/leave events (with WindowServer support.)Andreas Kling
Windows now learn when the mouse cursor leaves or enters them. Use this to implement GWidget::{enter,leave}_event() and use that to implement the CoolBar button effect. :^)
2019-02-20LibGUI: Support different button styles.Andreas Kling
I want to try an MS Office 97 "CoolBar" inspired look for my toolbars. This is only the painting support, we still need hover events to implement the actual effect.
2019-02-08Launcher: Factor the app buttons into a LaunchButton class.Andreas Kling
Added some LibGUI helpers while I'm at it.
2019-02-07Start working on a simple Launcher app.Andreas Kling
Let GButton have an optional icon (GraphicsBitmap) that gets rendered in the middle of the button if present. Also add GraphicsBitmap::load_from_file() which allows mmap'ed RGBA32 files. I wrote a little program to take "raw" files from GIMP and swizzle them into the correct byte order.
2019-01-27Make buttons unpress when the cursor leaves the button rect.Andreas Kling
Implement this functionality by adding global cursor tracking. It's currently only possible for one GWidget per GWindow to track the cursor.
2019-01-21LibGUI: Mass coding style fixes.Andreas Kling
2019-01-21guitest2: Add a simple launcher so I can easily spawn more Terminals.Andreas Kling
Also update GButton coding style.
2019-01-20LibGUI: Minor fixes.Andreas Kling
2019-01-20Rename all the LibGUI classes to GClassName.Andreas Kling