aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2023-12-11add window flush functiondec05eba
2023-12-08Transient for window optiondec05eba
2023-12-08Add class hint, wm name, window typedec05eba
2023-08-25Dont enable low latency mode by default since it increases cpu usagedec05eba
2023-08-25Add monitor events, limit fps to monitor the window is in, reduce latency ↵dec05eba
(glFinish, fps limit)
2023-07-09constdec05eba
2023-06-30Cleanup window deinitdec05eba
2023-01-17Add option to set window background colordec05eba
This window background color is different than window.clear(color) because this window color is the background color if the window itself, which means if there is a delay between creating the window and the first frame display then the window background color is black, but if window color is set then that color will be displayed instead. Normally you want to set the window background color to the same color as the color you use in window.clear(color).
2023-01-07constdec05eba
2023-01-07Window: add functions to set fullscreen state, vsync statedec05eba
2023-01-07Use const for argdec05eba
2022-11-27mgl_window_get_clipboard_string set ptr to NULL after free when failingdec05eba
2022-11-05Only allow text in mgl_window_get_clipboard_stringdec05eba
2022-10-11Add option to support alpha for window or not. This is important for nvidia flipdec05eba
2022-09-28Dont use free'd fbconfigsdec05eba
2022-09-23Make window rgba and set background transparent to allow window clear to ↵dec05eba
work with transparency
2022-09-09Support png,jpg and gif clipboard. Use callback for clipboarddec05eba
2022-09-06Set NET_WM_PIDdec05eba
2022-08-21Attempt to fix vertex draw when using texcoords without a texture (such as ↵dec05eba
when using a shader)
2022-03-31Add override redirect option to window createdec05eba
2022-03-30Proper y offset for text, add option to create hidden window and add ↵dec05eba
function to make it visible (map, unmap)
2021-12-14Enable scissor test, invert scissor coordinatesdec05eba
2021-12-08Vertex translation, fix vertex texture usedec05eba
2021-12-02Window: add scissordec05eba
2021-11-28Add utf8 index to offset functiondec05eba
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-19Better document window_set_framerate_limitdec05eba
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-17Window: implement function to disable key repeatdec05eba
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-16Texture: only do one glTexSubImage2D in mgl_texture_update instead of ↵dec05eba
|height| number of times
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