ladybird/Userland/Applications/FontEditor
Mustafa Quraish c1ede97543 FontEditor: Don't loop over all glyphs to find selected one
Previously we would loop over all glyphs in the GlyphMap, compute
their rects, and then test to see if the mouse click position was
inside that rect. This is silly since each element in the glyph
map for a particular font is the same size, and we can just do
some coordinate manipulation to get the index directly.
2021-09-06 14:01:24 +04:30
..
.gitignore Applications: Move to Userland/Applications/ 2021-01-12 12:05:23 +01:00
CMakeLists.txt Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
FontEditor.cpp Userland: Migrate to argument-less deferred_invoke 2021-09-02 03:47:47 +04:30
FontEditor.h FontEditor: Let WindowServer manage modified markings 2021-08-27 12:38:29 +02:00
FontEditorWindow.gml FontEditor: Adjust margins and spacing 2021-08-27 12:38:29 +02:00
GlyphEditorWidget.cpp Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
GlyphEditorWidget.h FontEditor: Save discrete undo and redo states for each Command 2021-08-27 12:38:29 +02:00
GlyphMapWidget.cpp FontEditor: Don't loop over all glyphs to find selected one 2021-09-06 14:01:24 +04:30
GlyphMapWidget.h LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
main.cpp FontEditor: Let WindowServer manage modified markings 2021-08-27 12:38:29 +02:00
NewFontDialog.cpp Userland: Migrate to argument-less deferred_invoke 2021-09-02 03:47:47 +04:30
NewFontDialog.h Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
NewFontDialogPage1.gml Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
NewFontDialogPage2.gml Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
UndoGlyph.h FontEditor: Save discrete undo and redo states for each Command 2021-08-27 12:38:29 +02:00