Commit graph

21 commits

Author SHA1 Message Date
Thomas Friedel
122488e64c updated glfwcanvas to use gl backend, fixed error handling 2019-02-24 16:34:42 +01:00
Thomas Friedel
8dc91b34f5 moved offscreen canvas to backend 2019-02-22 16:39:30 +01:00
Thomas Friedel
476dbac6e2 moved image loading and drawing into backend 2019-02-22 16:39:18 +01:00
Thomas Friedel
38eddd2837 moved a lot of fill code to the backend; also started moving shadow drawing code to backend 2019-02-22 16:38:27 +01:00
Thomas Friedel
7dbcd9b420 made DrawStyle public for use by backends; changed color to be color.RGBA 2019-02-22 16:38:27 +01:00
Thomas Friedel
afbdfdec44 added a Size function to get the window size 2018-11-13 12:19:05 +01:00
Thomas Friedel
77993ea244 added MouseWheel event function 2018-09-08 11:07:55 +02:00
Thomas Friedel
61ad4d0dc2 sdlcanvas package now handles resize events automatically if there is no resize handler 2018-05-28 16:14:01 +02:00
Thomas Friedel
a42e694c47 moved the gl implementations into a subdirectory 2018-05-17 15:16:50 +02:00
Jack Wakefield
27f755f171 added a size change event handler 2018-05-16 00:11:31 +01:00
Thomas Friedel
fc1a194e69 added a key char event handler 2018-05-09 19:45:21 +02:00
Thomas Friedel
6ed91cb412 updated to go-sdl2 v0.3; also fixed key runes 2018-05-09 19:24:00 +02:00
Thomas Friedel
489a758c3c also close window on quit event 2018-04-14 11:21:37 +02:00
Thomas Friedel
34ceb96676 fallback to no msaa 2018-03-28 18:58:07 +02:00
Thomas Friedel
1703c1a8fd added documentation; added input event functions 2018-03-28 11:30:46 +02:00
Thomas Friedel
649cffa1e3 clipping fixed 2018-03-25 15:42:23 +02:00
Thomas Friedel
f57765cdc5 split main loop for manual main loop support 2018-03-24 19:20:30 +01:00
Thomas Friedel
d0dc6c1f5c removed log message 2018-03-21 12:09:10 +01:00
Thomas Friedel
1727f47a6f moved package 2018-01-30 13:02:34 +01:00
Thomas Friedel
67142c3c8d added an fps counter function 2018-01-25 15:07:22 +01:00
Thomas Friedel
9d0dad8bba added a package to create a simple window with a canvas using SDL 2018-01-25 12:36:29 +01:00