Commit Graph

2476 Commits

Author SHA1 Message Date
Hajime Hoshi
b85f5edee0 loop: Simplify logic 2017-08-05 21:24:04 +09:00
Hajime Hoshi
4ee0c9b482 loop: Refactoring: Create updater struct 2017-08-05 21:06:25 +09:00
Hajime Hoshi
eef8289854 loop: Remove dependency on ui 2017-08-05 20:43:49 +09:00
Hajime Hoshi
56a17a7f79 loop: Reduce defer for performance and readability 2017-08-05 20:19:17 +09:00
Hajime Hoshi
9f98ccc611 loop: Rename UpdateAndDraw -> Update 2017-08-05 20:14:49 +09:00
Hajime Hoshi
f0d47312c4 ui: Add IsRunnableInBackground / SetRunnableInBackground (#272) 2017-08-03 03:21:51 +09:00
Hajime Hoshi
bb5036b3e1 ui: Refactoring 2017-08-03 01:07:04 +09:00
Hajime Hoshi
1021521591 ui: initFullscreen should always be protected by lock 2017-08-03 00:19:04 +09:00
Hajime Hoshi
434d5bb00b ui: Bug fix: SetFullscreen / IsFullscreen should be concurrent safe; IsFullscreen should return the correct value even before Run 2017-08-02 23:48:08 +09:00
Hajime Hoshi
807d03eb3b ui: Delay initialize until Run (#397) 2017-07-30 20:26:40 +09:00
Hajime Hoshi
ee98148b54 graphics: Use default precisions in the fragment shader 2017-07-29 04:08:03 +09:00
Hajime Hoshi
84a7787ac9 graphics: No need to specify precision on vertex shaders (highp is default) 2017-07-29 02:57:56 +09:00
Hajime Hoshi
d46d9ac7c2 opengl: Remove GlslHighpSupported 2017-07-24 22:59:25 +09:00
Hajime Hoshi
85d39699d3 graphics: Bug fix: Need to specify default precisions (#390) 2017-07-24 21:56:40 +09:00
Hajime Hoshi
3bfb5054af Fix misspelling 2017-07-23 22:50:18 +09:00
Hajime Hoshi
d2d19d0764 doc: Fix comments 2017-07-23 05:46:32 +09:00
Hajime Hoshi
ce126fbcdd examples/ui: Use image.Rectangle as struct members 2017-07-23 03:21:02 +09:00
Hajime Hoshi
ce7dc79697 examples/ui: Adjust text box size 2017-07-23 03:10:45 +09:00
Hajime Hoshi
7607ad1660 Add examples/ui (#367) 2017-07-23 02:38:52 +09:00
Hajime Hoshi
585529d276 doc: Update the stable version to 1.5.1 2017-07-22 02:40:04 +09:00
Hajime Hoshi
82619269e9 doc: Fix _docs/README 2017-07-22 02:39:27 +09:00
Hajime Hoshi
8a1da77b67 ui: Fix comments 2017-07-22 02:15:09 +09:00
Hajime Hoshi
5ae03494f2 ui: Resize canvas size when the window is resized (#387) 2017-07-22 02:04:15 +09:00
Hajime Hoshi
63e3bc73d6 ui: Implement fullscreen for browsers (#387) 2017-07-22 01:52:08 +09:00
Hajime Hoshi
064b359c78 text: Bug fix: space was not used correctly 2017-07-21 00:44:37 +09:00
Hajime Hoshi
47734f28e3 doc: Update 2017-07-20 02:23:45 +09:00
Hajime Hoshi
2f6953ff7f examples/font: Refactoring 2017-07-20 02:22:58 +09:00
Hajime Hoshi
b58d8bb996 text: Swap arguments face and text 2017-07-20 02:20:15 +09:00
Hajime Hoshi
94c4a76dcf text: Refactoring: create glyph object in appendGlyph 2017-07-19 02:57:49 +09:00
Hajime Hoshi
28934c4fd2 text: Refactoring: Rename atlas.size -> atlas.glyphSize 2017-07-19 02:52:38 +09:00
Hajime Hoshi
842c535c01 text: Refactoring: Remove some members from atlas 2017-07-19 02:50:55 +09:00
Hajime Hoshi
fd57753089 text: Refactoring: Reduce a global variable 2017-07-18 10:49:12 +09:00
Hajime Hoshi
86296ea89b text: Refactoring 2017-07-18 02:16:39 +09:00
Hajime Hoshi
9efc794547 text: Don't use Ceil as much as possible for accuracy 2017-07-17 17:00:51 +09:00
Hajime Hoshi
198ffa9ef8 text: doc 2017-07-17 16:17:01 +09:00
Hajime Hoshi
d8d36c58fb doc: Update 2017-07-17 06:43:37 +09:00
Hajime Hoshi
20a43a88e8 text: Remove 'lineHeight' argument 2017-07-17 06:42:48 +09:00
Hajime Hoshi
e0d0f477dc text: Fix comment 2017-07-17 06:39:06 +09:00
Hajime Hoshi
a2adda1ab6 examples/font: Change the import order 2017-07-17 04:58:45 +09:00
Hajime Hoshi
f64ac89d56 text: doc 2017-07-17 02:15:00 +09:00
Hajime Hoshi
b42f417e3b text: Update doc 2017-07-17 02:13:30 +09:00
Hajime Hoshi
b198ad9343 doc: Update font.png 2017-07-17 02:01:57 +09:00
Hajime Hoshi
3eb59e7725 doc: Update 2017-07-17 01:56:13 +09:00
Hajime Hoshi
9908fe0d31 text: Refactoring 2017-07-17 01:54:30 +09:00
Hajime Hoshi
4b4292a856 examples/font: Show more Kanji characters 2017-07-17 01:54:30 +09:00
Hajime Hoshi
1e84e21857 Add 'text' package (#363) 2017-07-17 01:54:24 +09:00
Hajime Hoshi
717efd097d loop: Bug fix: the clock needs to be stopped when the window is unfocused 2017-07-16 23:54:14 +09:00
Hajime Hoshi
f591ca3d2b ui: Bug fix: SetFullscreen didn't work without Run 2017-07-15 21:43:33 +09:00
Hajime Hoshi
c94c994bd1 ui: Allow SetFullscreen without Run 2017-07-15 20:29:13 +09:00
Hajime Hoshi
697c23a807 audio: Fix comment 2017-07-15 16:53:34 +09:00