mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	 a3956da6dc
			
		
	
	
		a3956da6dc
		
	
	
	
	
		
			
			Previously the glyph undo stack saved an array of bytes representing the restore state of an individual glyph when modified. Now the selection undo stack saves a byte buffer of the entire selection, letting us restore changes to multiple glyphs at once.
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			725 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			725 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| serenity_component(
 | |
|     FontEditor
 | |
|     RECOMMENDED
 | |
|     TARGETS FontEditor
 | |
| )
 | |
| 
 | |
| include_directories(${CMAKE_CURRENT_BINARY_DIR})
 | |
| compile_gml(FontEditorWindow.gml FontEditorWindowGML.h font_editor_window_gml)
 | |
| compile_gml(NewFontDialogPage1.gml NewFontDialogPage1GML.h new_font_dialog_page_1_gml)
 | |
| compile_gml(NewFontDialogPage2.gml NewFontDialogPage2GML.h new_font_dialog_page_2_gml)
 | |
| 
 | |
| set(SOURCES
 | |
|     FontEditor.cpp
 | |
|     FontEditorWindowGML.h
 | |
|     GlyphEditorWidget.cpp
 | |
|     main.cpp
 | |
|     NewFontDialog.cpp
 | |
|     NewFontDialogPage1GML.h
 | |
|     NewFontDialogPage2GML.h
 | |
|     UndoSelection.h
 | |
| )
 | |
| 
 | |
| serenity_app(FontEditor ICON app-font-editor)
 | |
| target_link_libraries(FontEditor LibGUI LibDesktop LibGfx LibMain)
 | |
| link_with_unicode_data(FontEditor)
 |