aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-11-19Slightly improve font rendering qualitydec05eba
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-17Fix window not being visible on kde because color map is deleted while the ↵dec05eba
window is in use
2021-11-17Readd kerningdec05eba
2021-11-17Window: implement function to disable key repeatdec05eba
2021-11-17Image: fix bug where images are forced to be in RGBA formatdec05eba
2021-11-17Increase glyph paddingdec05eba
2021-11-17Attempt to fix font glyph texture overlap by aligning texture size todec05eba
next character size Add function to get the start of a utf8 codepoint (backwards), test utf8 functions
2021-11-16Make unpack alignment byte-sized globallydec05eba
2021-11-16Texture: only do one glTexSubImage2D in mgl_texture_update instead of ↵dec05eba
|height| number of times
2021-11-16Ensure window gets clipboard owner before setting clipboard stringdec05eba
2021-11-16Window: add set/get clipboarddec05eba
2021-11-16Window: add function to set window position, size and size limitsdec05eba
2021-11-16Window: allow setting window minimum/max size and positiondec05eba
2021-11-16Window: add function to get the current mouse button statedec05eba
2021-11-16Sprite: add rotation and origindec05eba
2021-11-16Window: add mouse scroll eventdec05eba
2021-11-16Text: add function to get character position by index, use same character ↵dec05eba
loop everywhere
2021-11-16Window: add function to check if the window has focusdec05eba
2021-11-15Window: add close, title, cursor visibility and framerate limitdec05eba
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-07Include utf8 string in text entered eventdec05eba
2021-11-07Implement text inputdec05eba
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-05Fix font being corrupt with certain sizes, fix image being corrupt if its ↵dec05eba
rgb, fix window resize incorrect size
2021-11-04Fix clock restart returning incorrect timedec05eba
2021-11-03Add mgl_window_get_view instead of giving prev view in set_viewdec05eba
2021-11-03Add viewportdec05eba
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-30Add option to make mgl_file_load result null terminateddec05eba
2021-10-29Use gl*Pointer and glDrawArrays to render vertices (in mgl_vertices_draw) ↵dec05eba
instead of loop with glBegin/glEnd
2021-10-29Fix multiple vertex buffers using the same datadec05eba
Need to call glVertexPointer/glTexCoordPointer/glColorPointer every time we render.
2021-10-28Use a separate glx context for every windowdec05eba
Fix vertex buffer causing crash on render if update is called with an empty list.
2021-10-28Move vertex buffer generation from init to first update, making init voiddec05eba
2021-10-26Add clockdec05eba
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-22Use const where possible in function paramsdec05eba
2021-10-22Add shaderdec05eba
2021-10-21Add vertex bufferdec05eba
2021-10-19poll event change namedec05eba
2021-10-19Change from callback to window polldec05eba
2021-10-19Use uint8_t for color instead of floatdec05eba
2021-10-18Do not make an initial draw call in window creation functiondec05eba
2021-10-18Add set_position and set_color to rectangle,sprite and textdec05eba