summaryrefslogtreecommitdiff
path: root/Userland/guitest2.cpp
AgeCommit message (Collapse)Author
2019-05-24LibGUI: Make GCheckBox inherit from GAbstractButton.Andreas Kling
2019-05-24LibGUI: Add a GAbstractButton base class for button widgets.Andreas Kling
This patch moves GButton and GRadioButton to inherit from it. This allows them to share code for mouse event handling, etc.
2019-04-10LibGUI: Move frame painting from GFrame to StylePainter.Andreas Kling
This way it can be used by others who might not have a GFrame object.
2019-04-10LibGUI: Turn GTextBox into a wrapper around a single-line GTextEditor.Andreas Kling
2019-03-28LibGUI: Improve GFrame's look for Container shapes.Andreas Kling
This is now starting to look like a proper container. Very nice :^)
2019-03-28Userland: Add a simple GFrame testing window to guitest2.Andreas Kling
2019-03-28LibGUI: Add a GPainter class that inherits from Painter.Andreas Kling
This gets rid of the last little piece of LibGUI knowledge in Painter.
2019-03-22LibGUI: Add a GProgressBar widget.Andreas Kling
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-06More work on the variable-width font support.Andreas Kling
Katica is now the default system font, and it looks quite nice. :^) I'm gonna need to refine the GTextBox movement stuff eventually, but it works well-enough for basic editing now.
2019-02-25Fix a bunch of compiler warnings. Not all, but a lot.Andreas Kling
2019-02-11Port all apps to GApplication.Andreas Kling
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-02-05Add a simple close button ("X") to windows.Andreas Kling
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-05Clock: Turns the clock window from guitest2 into a separate program.Andreas Kling
We can't not have a desktop clock app. :^)
2019-02-05Rename LizaBold to LizaRegular and LizaBlack to LizaBold.Andreas Kling
LizaRegular is quickly becoming my favorite bitmap font. It's so pretty :^)
2019-02-04Kernel: Ignore SIGCHLD by default.Andreas Kling
Also use an enum for the rather-confusing return value in dispatch_signal(). I will go through the rest of the signals and set them up with the appropriate default dispositions at some other point.
2019-02-04Kernel: Process should send SIGCHLD to its parent when it dies.Andreas Kling
2019-02-04LibGUI: Use LightGray as the base UI color.Andreas Kling
This feels nicely reminiscent of the gap in time between Win3.11 and Win95, one of my favorite eras in UI look-and-feel.
2019-02-03guitest2: Stop showing the font test window by default.Andreas Kling
2019-02-02Start working on a simple graphical font editor.Andreas Kling
Editing fonts by editing text files is really slow and boring. A simple font editor seems like a good way to take LibGUI for a spin.
2019-01-31Big, possibly complete sweep of naming changes.Andreas Kling
2019-01-31Add a simple clock window to guitest2.Andreas Kling
This is driven by mousedown events right now, since there are no timers.
2019-01-30LibGUI: Implement destroying individual windows without exiting the process.Andreas Kling
2019-01-27LibGUI: More work on GCheckBox.Andreas Kling
- Make it track the mouse cursor just like GButton does so that changes only get committed if the mouseup event happens while inside the widget rect. - Draw a focus rect around the box when appropriate. - When focused, support toggling the checked state with the space bar.
2019-01-26LibGUI: Flesh out focus implementation and more GTextBox work.Andreas Kling
2019-01-26LibGUI: Start bringing up GTextBox in the standalone world.Andreas Kling
2019-01-25Let's not auto-start guitest. guitest2 is so much more useful.Andreas Kling
2019-01-21guitest2: Add a launcher button for guitest.Andreas Kling
2019-01-21WindowServer: Don't invalidate already frontmost window for moving to front.Andreas Kling
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: Hook up GWindow event dispatch for paint and mouse events.Andreas Kling
2019-01-20Make it possible for userspace to alter window title/geometry.Andreas Kling
I'm not in love with this syscall API but it allows me to make progress.
2019-01-20Start bringing up LibGUI properly (formerly Widgets.)Andreas Kling