aboutsummaryrefslogtreecommitdiff
path: root/include/mgl/graphics
AgeCommit message (Expand)Author
2023-01-07Use const for argdec05eba
2022-08-21Attempt to fix vertex draw when using texcoords without a texture (such as wh...dec05eba
2021-12-08Vertex translation, fix vertex texture usedec05eba
2021-11-27Add max glyph height propertydec05eba
2021-11-27Use correct offset y for font position (ascent)dec05eba
2021-11-25Fix possible corrupt font atlasdec05eba
2021-11-24Fix glyphs overlapping, but adds unnecessary paddingdec05eba
2021-11-18Move glyph creation for text to render function instead of in set string, cle...dec05eba
2021-11-17Readd kerningdec05eba
2021-11-17Attempt to fix font glyph texture overlap by aligning texture size todec05eba
2021-11-16Sprite: add rotation and origindec05eba
2021-11-16Text: add function to get character position by index, use same character loo...dec05eba
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. Mma...dec05eba
2021-11-08Add window function to get key state, allow invalid utf8dec05eba
2021-11-06Fix exit being called when closing window, respond to wm ping, add is_open fu...dec05eba
2021-11-05Add bounds calculation to textdec05eba
2021-11-03Add viewportdec05eba
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-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 wi...dec05eba
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-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
2021-10-16Cursor motiondec05eba
2021-10-16Fix resize event sometimes not triggered (set window gravity)dec05eba
2021-10-16Add rectangle and sprite, use pixel coordinates, remote opengl dependency fro...dec05eba
2021-10-10Add texture loading (and render in test)dec05eba