Andreas Kling
0f3e57a6fb
LibGUI: Use GUI::Window::set_main_widget<WidgetType>() in clients
2020-03-04 14:26:16 +01:00
Andreas Kling
4697195645
LibGUI: Use set_layout<LayoutType>() in lots of client code
2020-03-04 13:49:48 +01:00
Andreas Kling
3d20da9ee4
Userspace: Use Core::Object::add() when building interfaces
2020-02-23 11:10:52 +01:00
Andreas Kling
d217d3ff6f
HackStudio: Disallow invalid indices when typing into the locator
...
The locator was a bit crashy since it would allow you to navigate
to invalid indices.
2020-02-07 20:58:44 +01:00
Andreas Kling
6a9cc66b97
LibGUI: Remove leading G from filenames
2020-02-06 20:33:02 +01:00
Andreas Kling
799b0a4fa8
LibGUI: Rename {H,V}BoxLayout => {Horizontal,Vertical}BoxLayout
2020-02-06 14:44:13 +01:00
Andreas Kling
11580babbf
LibDraw: Put all classes in the Gfx namespace
...
I started adding things to a Draw namespace, but it somehow felt really
wrong seeing Draw::Rect and Draw::Bitmap, etc. So instead, let's rename
the library to LibGfx. :^)
2020-02-06 11:56:38 +01:00
Andreas Kling
c5bd9d4ed1
LibGUI: Put all classes in the GUI namespace and remove the leading G
...
This took me a moment. Welcome to the new world of GUI::Widget! :^)
2020-02-02 15:15:33 +01:00
Andreas Kling
d67da8c101
LibGUI: Add GHBoxLayout and GVBoxLayout convenience classes
2020-02-02 15:09:48 +01:00
Andreas Kling
94ca55cefd
Meta: Add license header to source files
...
As suggested by Joshua, this commit adds the 2-clause BSD license as a
comment block to the top of every source file.
For the first pass, I've just added myself for simplicity. I encourage
everyone to add themselves as copyright holders of any file they've
added or modified in some significant way. If I've added myself in
error somewhere, feel free to replace it with the appropriate copyright
holder instead.
Going forward, all new source files should include a license header.
2020-01-18 09:45:54 +01:00
Andreas Kling
d24164ac6a
HackStudio: Add little icons for ".cpp" and ".h" files
...
This makes it easier to tell them apart in locator suggestions. :^)
2019-10-28 19:08:48 +01:00
Andreas Kling
272c59e6d8
HackStudio: Remove unnecessary Locator::keydown_event()
2019-10-28 19:08:48 +01:00
Andreas Kling
990ca1a7a5
HackStudio: Allow opening a Locator suggestion by double-clicking it
2019-10-28 19:08:48 +01:00
Andreas Kling
29ac3e1477
HackStudio: Scroll the locator suggestions when navigating with arrows
2019-10-28 19:08:48 +01:00
Andreas Kling
b4de5ac128
HackStudio: Start working on a "Locator", much like Qt Creator has
...
Pressing Ctrl+K will now open the little locator command line at the
bottom of the window. Right now it can only be used to jump quickly
to a file.
2019-10-28 19:08:48 +01:00