|
gpforge
An advanced bitmap font editor
|
The editor state. More...
#include <gui.h>

Data Fields | |
| struct gpf_font * | font |
| The font being edited, NULL when there is none. | |
| const char * | path |
| The path the font was opened from. | |
| char * | save_path |
| Where a font imported from a BDF is saved, once it has been asked. | |
| enum gpf_variant_id | variant |
| The variant being edited. | |
| uint32_t | code |
| The selected glyph. | |
| struct gpf_ucode_block * | block_list |
| The block list, see gpf_gui_blocks(). | |
| unsigned int | block |
| The index of the block being browsed. | |
| struct gpf_block_sel * | block_sels |
| The glyph selected last in each block, see gpf_gui_select(). | |
| unsigned int | zoom |
| The pixel multiplier the table glyphs are drawn with. | |
| unsigned int | canvas_zoom |
| The same for the glyph on the canvas, 0 until it is fitted. | |
| int | cur_col |
| The column of the pixel the keyboard edits. | |
| int | cur_height |
| The height of the pixel the keyboard edits. | |
| int | in_stroke |
| A mouse stroke is in progress. | |
| int | paint_val |
| The value the stroke paints. | |
| int | drag |
| A metric being dragged instead, see canvas.c. | |
| int | drag_col |
| The column the drag is at. | |
| struct gpf_undo * | undo |
| The journal. | |
| int | dirty |
| The font has changed since it was last written. | |
| int | update |
| Copy the edits of a letter into its accented forms. | |
| unsigned int | browser_page |
| The page the browser is at; it pages rather than scrolls. | |
| unsigned int | deps_off |
| The first cell of the accented letters strip, which scrolls. | |
| uint32_t | deps_anchor |
| The letter or the mark the strip lists, so that the offset resets. | |
| int | browser_follow |
| Turn to the page with the selection on the next draw. | |
| struct gpf_glyph | clipboard |
| The glyph copied last, the ink and the metrics. | |
| int | clipboard_full |
| Something was copied, a space copies no ink. | |
| gp_htable * | uids |
| The widget uids of the layout. | |
| gp_widget * | canvas |
| The glyph canvas, see canvas.h. | |
| gp_widget * | browser |
| The glyph table, see browser.h. | |
| gp_widget * | preview |
| The sample text, see preview.h. | |
| gp_widget * | strip |
| The variant strip, see preview.h. | |
| gp_widget * | status |
| The status line, what the selected glyph resolves to. | |
| gp_widget * | blocks |
| The block selector. | |
| gp_widget * | canvas_zoom_widget |
| The canvas zoom spinner. | |
| gp_widget * | family_label |
| The family name and size. | |
| gp_widget * | deps |
| The accented letters strip, see preview.h. | |
| gp_widget * | advance_widget |
| The glyph metrics, editable. | |
| gp_widget * | block_start |
| The block's first codepoint, in hex, editable. | |
| gp_widget * | preview_text |
| The line the user types to see it in the preview. | |
| int | rule_underline |
| Which of the three rules the preview draws over its text. | |
| gp_widget * | save_button |
| Enabled only when there is something to save. | |
| gp_widget * | export_button |
| Enabled only when there is a font to export. | |
| gp_widget * | family_button |
| The same, for the font properties. | |
| gp_widget * | undo_button |
| Enabled only when the journal has something to take back. | |
| gp_widget * | paste_button |
| Enabled once there is something to paste. | |
| gp_widget * | lint_label |
| What the lint says about the glyph being edited. | |
| gp_widget * | lint_errors |
| And how much it says about the whole font, next to its button. | |
| gp_font_face * | faces [GPF_VARIANTS] |
| The compiled faces, built lazily, one per variant. | |
| struct gpf_glyph gpf_gui::clipboard |