Commit Graph

355 Commits

Author SHA1 Message Date
faiface d598e68c03 implement and document PictureData 2017-02-28 18:24:25 +01:00
faiface 7974f86c4a add Rect.Contains(Vec) bool method 2017-02-25 18:38:22 +01:00
faiface 095fec8622 fix PictureColor 2017-02-24 20:16:45 +01:00
faiface f7a52854c6 adapt GLTriangles (+ make them exported) 2017-02-24 19:30:06 +01:00
faiface 67529bf8fc stop using mainthread.CallVal 2017-02-24 15:45:32 +01:00
faiface 812df66d62 adjust imprecise doc 2017-02-24 15:39:40 +01:00
faiface 589becbcdb fix a bug + doc 2017-02-24 14:25:35 +01:00
faiface 7e09988467 adapt Batch to Picture 2017-02-24 01:21:23 +01:00
faiface bffb3598c7 add Picture interface 2017-02-24 01:21:11 +01:00
faiface c1843b8608 add Drawer struct 2017-02-23 13:07:40 +01:00
faiface 6dc55b8746 change fundamental interfaces (add Picture) 2017-02-22 20:57:22 +01:00
faiface dbd90a0bcb move OpenGL specific stuff to pixelgl (except for Picture) 2017-02-22 20:44:38 +01:00
faiface 3300f02d21 adopt github.com/faiface/glhf 2017-02-11 14:09:47 +01:00
faiface ef76333994 remove unnecessary enabled field in Window 2017-02-03 16:48:38 +01:00
faiface 7a8967c9d1 fix TrianglesDrawer flush (SetLen) 2017-02-03 02:09:06 +01:00
faiface 0771f07888 update pixelgl.VertexSlice API similarly to Triangles 2017-01-28 20:14:20 +01:00
faiface 63339235b7 rework Triangles API and adapt it 2017-01-28 20:01:59 +01:00
faiface e7a2af61fb reorder methods of TrianglesData 2017-01-26 23:40:29 +01:00
faiface 0af28b0b17 add TrianglesData.SetLen 2017-01-26 23:38:37 +01:00
faiface e48c3dd6cf clarify doc 2017-01-26 23:31:06 +01:00
faiface fc8dad2fc9 add PictureFromTexture function 2017-01-26 23:19:50 +01:00
faiface e670735858 rename Button.Name -> String 2017-01-26 15:31:54 +01:00
faiface df21279536 add Button.Name method 2017-01-26 15:16:26 +01:00
faiface b141bcbd50 this should've been with prev commit 2017-01-26 03:33:48 +01:00
faiface 19faeffcf1 move glfw init to pixel.Run 2017-01-26 03:33:21 +01:00
faiface 95444e8540 glTriangles optimization 2017-01-25 23:51:27 +01:00
faiface 9a4c02e488 fixed a weird typo in code 2017-01-25 22:43:10 +01:00
faiface 3579be2d83 minor change in code 2017-01-25 22:32:02 +01:00
faiface eb0c51e137 fix typo in doc 2017-01-25 22:17:37 +01:00
faiface e9b982cb87 add TrianglesDrawer.Dirty and simplify code 2017-01-25 22:02:53 +01:00
faiface 2b300b48b7 fix Sprite.SetPicture once again 2017-01-25 19:57:42 +01:00
faiface cf4ab7e36a fix Sprite.SetPicture 2017-01-25 19:55:41 +01:00
faiface 7f5a21cd3c add note to doc 2017-01-25 19:53:15 +01:00
faiface 2890f8b4ae add Polygon shape 2017-01-25 19:50:49 +01:00
faiface 16c1672c61 optimize Sprite 2017-01-25 19:04:37 +01:00
faiface bc97fa00b8 improve doc in pixel 2017-01-25 18:55:17 +01:00
faiface 4a31512454 update doc in pixelgl 2017-01-25 18:26:57 +01:00
faiface 8917a09da9 improve docs in pixelgl 2017-01-25 18:25:37 +01:00
faiface 1894e213d2 split Window.SetMonitor into two sub-functions 2017-01-25 18:14:19 +01:00
faiface e559499a44 rename Window.SetFullscreen -> SetMonitor 2017-01-25 18:12:11 +01:00
faiface 82deb99e14 make ZT def more readable 2017-01-25 18:08:23 +01:00
faiface 5ebbb3fa31 rework Transform API 2017-01-25 18:06:52 +01:00
faiface cb699e7057 add Canvas.Draw and remove SetTransform/MaskColor from Sprite 2017-01-25 17:33:33 +01:00
faiface f6e713ade0 add a note to readme 2017-01-23 22:27:27 +01:00
faiface e0e59f1d96 remove debug print 2017-01-22 14:42:54 +01:00
faiface f16eb8271e fix Picture.Image 2017-01-22 14:16:19 +01:00
faiface e656130ce3 change pixelgl.Texture.Pixels to work with OpenGL 3.3 2017-01-22 14:16:06 +01:00
faiface 9228a55482 add Picture.Image method 2017-01-22 13:45:43 +01:00
faiface 4d2ccc92df add pixelgl.Texture.SetPixels/Pixels 2017-01-22 13:45:24 +01:00
faiface e9c1214953 fix window resizing 2017-01-22 03:05:59 +01:00