aboutsummaryrefslogtreecommitdiff
path: root/src/graphics/text.c
AgeCommit message (Collapse)Author
2023-01-21fix: set prev codepoint in text renderdec05eba
2022-03-30Proper y offset for text, add option to create hidden window and add ↵dec05eba
function to make it visible (map, unmap)
2022-02-15Revert text offset y fix because it breaks quickmedia. Revert vertex draw ↵dec05eba
texture coordinate reset because it breaks quickmedia
2021-11-27Use correct offset y for font position (ascent)dec05eba
2021-11-18Move glyph creation for text to render function instead of in set string, ↵dec05eba
clear font glyph background before rendering the text
2021-11-17Readd kerningdec05eba
2021-11-16Text: add function to get character position by index, use same character ↵dec05eba
loop everywhere
2021-11-15Add dynamic font atlas creation (not finished)dec05eba
2021-11-08Do not check for valid utf8 in set text, render the invalid utf8 instead. ↵dec05eba
Mmap fonts instead of loading the whole font
2021-11-08Add window function to get key state, allow invalid utf8dec05eba
2021-11-07Use char array for text entered str, reset text fields on deinitdec05eba
2021-11-06Fix exit being called when closing window, respond to wm ping, add is_open ↵dec05eba
function to window
2021-11-05Add bounds calculation to textdec05eba
2021-11-03Fix crash when not using text options with textdec05eba
options.before_syntax_highlight is not set to NULL
2021-11-02Start on syntax highlighting, output correct key button eventdec05eba
2021-10-24Add function to load image from memory, initialize window from an existing ↵dec05eba
window, allow creating text without font/string
2021-10-23Allow rendering vertices directlydec05eba
2021-10-19Change from callback to window polldec05eba
2021-10-19Use uint8_t for color instead of floatdec05eba
2021-10-18Add set_position and set_color to rectangle,sprite and textdec05eba
2021-10-16Add font renderingdec05eba