summaryrefslogtreecommitdiff
path: root/Applications/FontEditor
AgeCommit message (Collapse)Author
2019-09-21LibGUI: Convert custom widgets and subclasses to ObjectPtrAndreas Kling
2019-09-21LibGUI: Convert remaining random little things to ObjectPtrAndreas Kling
2019-09-21LibGUI: Convert GWindow to ObjectPtrAndreas Kling
2019-09-05WindowServer+LibGUI+FontEditor: Encode special characters as UTF-8Sergey Bugaev
2019-08-03FontEditor(UI): Update the groupbox to have the right background colorAndreas Kling
2019-07-28WindowServer+LibGUI: Pass window icons as shared buffers rather than paths.Andreas Kling
Now that we support more than 2 clients per shared buffer, we can use them for window icons. I didn't do that previously since it would have made the Taskbar process unable to access the icons. This opens up some nice possibilities for programmatically generated icons.
2019-07-23LibGUI: Get rid of GWindow::should_exit_event_loop_on_close().Andreas Kling
This behavior and API was extremely counter-intuitive since our default behavior was for applications to never exit after you close all of their windows. Now that we exit the event loop by default when the very last GWindow is deleted, we don't have to worry about this.
2019-07-11FontEditor: Initial port to using a VisualBuilder generated UI.Andreas Kling
Here goes the first attempt at using VisualBuilder to make an application. There are many features missing that we are gonna have to implement, noticeably custom widgets (for the glyph editor and glyph map widgets) but this patch already moves most of the UI layout to a form file. :^)
2019-07-11FontEditor: Remove use of copy_ref().Andreas Kling
2019-07-03AK: Rename the common integer typedefs to make it obvious what they are.Andreas Kling
These types can be picked up by including <AK/Types.h>: * u8, u16, u32, u64 (unsigned) * i8, i16, i32, i64 (signed)
2019-06-30Meta: Removed all gitignore in the source tree only keeping the root oneVAN BOSSUYT Nicolas
2019-06-25Move common Application build steps into their own Makefile.commonLawrence Manning
Further consolidation is of course possible, eg the Games/ programs follow the same rules more or less.
2019-06-21AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.Andreas Kling
2019-06-07Applications: Run clang-format on everything.Andreas Kling
2019-05-28Add clang-format fileRobin Burchell
Also run it across the whole tree to get everything using the One True Style. We don't yet run this in an automated fashion as it's a little slow, but there is a snippet to do so in makeall.sh.
2019-05-27Applications: Let's put spaces in app namesAndreas Kling
"FileManager" => "File Manager" "FontEditor" => "Font Editor" "ProcessManager" => "Process Manager" "TextEditor" => "Text Editor"
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-05-15LibGUI: Support cycling through focusable widgets with Tab and Shift-Tab.Andreas Kling
2019-05-13Fix "make clean" not deleting app binaries.Andreas Kling
2019-04-21Include Makefile.common in all other Makefiles.Andreas Kling
2019-04-20Get rid of SERENITY macro since the compiler already defines __serenity__Andreas Kling
This makes it a bit easier to use AK templates out-of-tree.
2019-04-18FontEditor: Add a window icon.Andreas Kling
2019-04-10Introduce LibCore and move GElapsedTimer => CElapsedTimer.Andreas Kling
I need a layer somewhere between AK (usable both by userspace and kernel) and LibGUI (usable by userspace except WindowServer.) So here's LibCore.
2019-04-10LibGUI: Add a simple GGroupBox widget.Andreas Kling
This needs some work on the visual side, but it gets the job done already.
2019-04-10FontEditor: Update the glyph map when changing a glyph's width.Andreas Kling
2019-04-10FontEditor: Add a "Glyph width:" label and align some things.Andreas Kling
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-10FontEditor: Tighten the window size a bit.Andreas Kling
2019-04-10LibGUI: Turn GTextBox into a wrapper around a single-line GTextEditor.Andreas Kling
2019-04-10FontEditor: Convert the glyph map and editor widgets to be GFrames.Andreas Kling
2019-04-09LibGUI: Add a spinbox widget.Andreas Kling
This is essentially a combo widget containing a single-line GTextEditor and two buttons for increment and decrement. The GTextEditor::on_change callback is hooked to prevent non-numeric input but it's not entirely perfect since that callback is asynchronous. This will work until we have some more sophisticated input validation mechanism though.
2019-04-06FontEditor: Remove weird focus rects and optimize repaint while drawing.Andreas Kling
I added focus rects to these widgets because I had just started working on focus support and I was excited but it doesn't really make sense for these things to have focus rects. :^) While I was here I also optimized the repaint code to only update the edited glyph in the glyph map when editing its pixels.
2019-04-03FontEditor: Break out classes into separate files.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-27LibC: Run constructors on process startup.Andreas Kling
Cooperate with the compiler to generate and execute the _init_array list of constructor functions on userspace program statup. This took two days to get working, my goodness. :^)
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-10LibGUI: Don't fill widgets with background color by defualt.Andreas Kling
2019-03-06FontEditor: Don't crash when clicking on the unused part of a glyph.Andreas Kling
2019-03-06Implement basic support for variable-width fonts.Andreas Kling
Also add a nice new font called Katica. It's not used anywhere yet but I'm definitely itching to start using it. :^)
2019-03-06Make a preparation pass for variable-width fonts.Andreas Kling
2019-02-26More compat work. Rename libraries from LibFoo.a => libfoo.aAndreas Kling
This makes it more straightforward to build a cross-compiler toolchain. Also move math stuff from LibC to LibM.
2019-02-25More moving towards using signed types.Andreas Kling
I'm still feeling this out, but I am starting to like the general idea.
2019-02-22Move over to building all of userspace with i686-pc-serenity-g++.Andreas Kling
2019-02-22Switch over to building everything with i686-elf-g++.Andreas Kling
2019-02-17Prune compiler flags a bit. Let's go with -march=i686 for now.Andreas Kling
2019-02-15Enable -Wimplicit-fallthrough.Andreas Kling
2019-02-12Add a little About app and hook it up to the system menu's "About..." entry.Andreas Kling
Added icons and customizable text alignment to GLabel.
2019-02-11Port all apps to GApplication.Andreas Kling
2019-02-10LibGUI: Start adding an automatic widget layout system.Andreas Kling
My needs are really quite simple, so I'm just going to add what I need as I go along. The first thing I needed was a simple box layout with widgets being able to say whether they prefer fixed or fill for both their vertical and horizontal sizes. I also made a simple GStatusBar so FileManager can show how many bytes worth of files are in the current directory.