ruby_rpg 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (487) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -0
  3. data/bin/build.bash +13 -0
  4. data/glfw-3.3.9.bin.MACOS/LICENSE.md +23 -0
  5. data/glfw-3.3.9.bin.MACOS/README.md +5 -0
  6. data/glfw-3.3.9.bin.MACOS/docs/html/bc_s.png +0 -0
  7. data/glfw-3.3.9.bin.MACOS/docs/html/bc_sd.png +0 -0
  8. data/glfw-3.3.9.bin.MACOS/docs/html/build_8dox.html +81 -0
  9. data/glfw-3.3.9.bin.MACOS/docs/html/build_guide.html +199 -0
  10. data/glfw-3.3.9.bin.MACOS/docs/html/closed.png +0 -0
  11. data/glfw-3.3.9.bin.MACOS/docs/html/compat_8dox.html +81 -0
  12. data/glfw-3.3.9.bin.MACOS/docs/html/compat_guide.html +153 -0
  13. data/glfw-3.3.9.bin.MACOS/docs/html/compile_8dox.html +81 -0
  14. data/glfw-3.3.9.bin.MACOS/docs/html/compile_guide.html +223 -0
  15. data/glfw-3.3.9.bin.MACOS/docs/html/context_8dox.html +81 -0
  16. data/glfw-3.3.9.bin.MACOS/docs/html/context_guide.html +259 -0
  17. data/glfw-3.3.9.bin.MACOS/docs/html/deprecated.html +88 -0
  18. data/glfw-3.3.9.bin.MACOS/docs/html/dir_08423ce7729c4554356a7de7171ba263.html +85 -0
  19. data/glfw-3.3.9.bin.MACOS/docs/html/dir_2dcebcdf14b42e92a6ed85c61bda6b9d.html +93 -0
  20. data/glfw-3.3.9.bin.MACOS/docs/html/dir_62ce056722ee97c199075aa1d6eca309.html +95 -0
  21. data/glfw-3.3.9.bin.MACOS/docs/html/dir_dddf4cf62655095a666cf715de3a31a2.html +91 -0
  22. data/glfw-3.3.9.bin.MACOS/docs/html/doc.svg +12 -0
  23. data/glfw-3.3.9.bin.MACOS/docs/html/docd.svg +12 -0
  24. data/glfw-3.3.9.bin.MACOS/docs/html/doxygen.css +1685 -0
  25. data/glfw-3.3.9.bin.MACOS/docs/html/doxygen.svg +28 -0
  26. data/glfw-3.3.9.bin.MACOS/docs/html/dynsections.js +192 -0
  27. data/glfw-3.3.9.bin.MACOS/docs/html/extra.css +1 -0
  28. data/glfw-3.3.9.bin.MACOS/docs/html/files.html +91 -0
  29. data/glfw-3.3.9.bin.MACOS/docs/html/folderclosed.svg +11 -0
  30. data/glfw-3.3.9.bin.MACOS/docs/html/folderclosedd.svg +11 -0
  31. data/glfw-3.3.9.bin.MACOS/docs/html/folderopen.svg +17 -0
  32. data/glfw-3.3.9.bin.MACOS/docs/html/folderopend.svg +12 -0
  33. data/glfw-3.3.9.bin.MACOS/docs/html/glfw3_8h.html +1661 -0
  34. data/glfw-3.3.9.bin.MACOS/docs/html/glfw3_8h_source.html +1175 -0
  35. data/glfw-3.3.9.bin.MACOS/docs/html/glfw3native_8h.html +167 -0
  36. data/glfw-3.3.9.bin.MACOS/docs/html/glfw3native_8h_source.html +303 -0
  37. data/glfw-3.3.9.bin.MACOS/docs/html/group__buttons.html +282 -0
  38. data/glfw-3.3.9.bin.MACOS/docs/html/group__context.html +304 -0
  39. data/glfw-3.3.9.bin.MACOS/docs/html/group__errors.html +304 -0
  40. data/glfw-3.3.9.bin.MACOS/docs/html/group__gamepad__axes.html +202 -0
  41. data/glfw-3.3.9.bin.MACOS/docs/html/group__gamepad__buttons.html +410 -0
  42. data/glfw-3.3.9.bin.MACOS/docs/html/group__hat__state.html +234 -0
  43. data/glfw-3.3.9.bin.MACOS/docs/html/group__init.html +570 -0
  44. data/glfw-3.3.9.bin.MACOS/docs/html/group__input.html +2255 -0
  45. data/glfw-3.3.9.bin.MACOS/docs/html/group__joysticks.html +362 -0
  46. data/glfw-3.3.9.bin.MACOS/docs/html/group__keys.html +2034 -0
  47. data/glfw-3.3.9.bin.MACOS/docs/html/group__mods.html +198 -0
  48. data/glfw-3.3.9.bin.MACOS/docs/html/group__monitor.html +848 -0
  49. data/glfw-3.3.9.bin.MACOS/docs/html/group__native.html +812 -0
  50. data/glfw-3.3.9.bin.MACOS/docs/html/group__shapes.html +198 -0
  51. data/glfw-3.3.9.bin.MACOS/docs/html/group__vulkan.html +359 -0
  52. data/glfw-3.3.9.bin.MACOS/docs/html/group__window.html +3434 -0
  53. data/glfw-3.3.9.bin.MACOS/docs/html/index.html +100 -0
  54. data/glfw-3.3.9.bin.MACOS/docs/html/input_8dox.html +81 -0
  55. data/glfw-3.3.9.bin.MACOS/docs/html/input_guide.html +570 -0
  56. data/glfw-3.3.9.bin.MACOS/docs/html/internal_8dox.html +81 -0
  57. data/glfw-3.3.9.bin.MACOS/docs/html/internals_guide.html +132 -0
  58. data/glfw-3.3.9.bin.MACOS/docs/html/intro_8dox.html +81 -0
  59. data/glfw-3.3.9.bin.MACOS/docs/html/intro_guide.html +351 -0
  60. data/glfw-3.3.9.bin.MACOS/docs/html/jquery.js +34 -0
  61. data/glfw-3.3.9.bin.MACOS/docs/html/main_8dox.html +81 -0
  62. data/glfw-3.3.9.bin.MACOS/docs/html/menu.js +136 -0
  63. data/glfw-3.3.9.bin.MACOS/docs/html/menudata.js +29 -0
  64. data/glfw-3.3.9.bin.MACOS/docs/html/minus.svg +8 -0
  65. data/glfw-3.3.9.bin.MACOS/docs/html/minusd.svg +8 -0
  66. data/glfw-3.3.9.bin.MACOS/docs/html/monitor_8dox.html +81 -0
  67. data/glfw-3.3.9.bin.MACOS/docs/html/monitor_guide.html +229 -0
  68. data/glfw-3.3.9.bin.MACOS/docs/html/moving_8dox.html +81 -0
  69. data/glfw-3.3.9.bin.MACOS/docs/html/moving_guide.html +374 -0
  70. data/glfw-3.3.9.bin.MACOS/docs/html/nav_f.png +0 -0
  71. data/glfw-3.3.9.bin.MACOS/docs/html/nav_fd.png +0 -0
  72. data/glfw-3.3.9.bin.MACOS/docs/html/nav_g.png +0 -0
  73. data/glfw-3.3.9.bin.MACOS/docs/html/nav_h.png +0 -0
  74. data/glfw-3.3.9.bin.MACOS/docs/html/nav_hd.png +0 -0
  75. data/glfw-3.3.9.bin.MACOS/docs/html/news.html +634 -0
  76. data/glfw-3.3.9.bin.MACOS/docs/html/news_8dox.html +81 -0
  77. data/glfw-3.3.9.bin.MACOS/docs/html/open.png +0 -0
  78. data/glfw-3.3.9.bin.MACOS/docs/html/pages.html +99 -0
  79. data/glfw-3.3.9.bin.MACOS/docs/html/plus.svg +9 -0
  80. data/glfw-3.3.9.bin.MACOS/docs/html/plusd.svg +9 -0
  81. data/glfw-3.3.9.bin.MACOS/docs/html/quick_8dox.html +81 -0
  82. data/glfw-3.3.9.bin.MACOS/docs/html/quick_guide.html +397 -0
  83. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_0.js +5 -0
  84. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_1.js +4 -0
  85. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_10.js +65 -0
  86. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_11.js +26 -0
  87. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_12.js +44 -0
  88. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_13.js +34 -0
  89. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_14.js +12 -0
  90. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_15.js +52 -0
  91. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_16.js +69 -0
  92. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_17.js +51 -0
  93. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_18.js +14 -0
  94. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_19.js +36 -0
  95. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_1a.js +98 -0
  96. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_1b.js +12 -0
  97. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_2.js +6 -0
  98. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_3.js +9 -0
  99. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_4.js +57 -0
  100. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_5.js +22 -0
  101. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_6.js +103 -0
  102. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_7.js +23 -0
  103. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_8.js +35 -0
  104. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_9.js +63 -0
  105. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_a.js +505 -0
  106. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_b.js +24 -0
  107. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_c.js +50 -0
  108. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_d.js +17 -0
  109. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_e.js +12 -0
  110. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_f.js +35 -0
  111. data/glfw-3.3.9.bin.MACOS/docs/html/search/classes_0.js +7 -0
  112. data/glfw-3.3.9.bin.MACOS/docs/html/search/close.svg +18 -0
  113. data/glfw-3.3.9.bin.MACOS/docs/html/search/defines_0.js +34 -0
  114. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_0.js +4 -0
  115. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_1.js +6 -0
  116. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_2.js +5 -0
  117. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_3.js +6 -0
  118. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_4.js +6 -0
  119. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_5.js +4 -0
  120. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_6.js +4 -0
  121. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_7.js +4 -0
  122. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_8.js +4 -0
  123. data/glfw-3.3.9.bin.MACOS/docs/html/search/functions_0.js +146 -0
  124. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_0.js +6 -0
  125. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_1.js +4 -0
  126. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_10.js +4 -0
  127. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_2.js +6 -0
  128. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_3.js +5 -0
  129. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_4.js +4 -0
  130. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_5.js +5 -0
  131. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_6.js +4 -0
  132. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_7.js +5 -0
  133. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_8.js +5 -0
  134. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_9.js +6 -0
  135. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_a.js +6 -0
  136. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_b.js +4 -0
  137. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_c.js +4 -0
  138. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_d.js +7 -0
  139. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_e.js +4 -0
  140. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_f.js +5 -0
  141. data/glfw-3.3.9.bin.MACOS/docs/html/search/mag.svg +24 -0
  142. data/glfw-3.3.9.bin.MACOS/docs/html/search/mag_d.svg +24 -0
  143. data/glfw-3.3.9.bin.MACOS/docs/html/search/mag_sel.svg +31 -0
  144. data/glfw-3.3.9.bin.MACOS/docs/html/search/mag_seld.svg +31 -0
  145. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_0.js +4 -0
  146. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_1.js +4 -0
  147. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_10.js +4 -0
  148. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_2.js +5 -0
  149. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_3.js +4 -0
  150. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_4.js +6 -0
  151. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_5.js +4 -0
  152. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_6.js +4 -0
  153. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_7.js +7 -0
  154. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_8.js +6 -0
  155. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_9.js +4 -0
  156. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_a.js +5 -0
  157. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_b.js +5 -0
  158. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_c.js +4 -0
  159. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_d.js +6 -0
  160. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_e.js +6 -0
  161. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_f.js +4 -0
  162. data/glfw-3.3.9.bin.MACOS/docs/html/search/search.css +291 -0
  163. data/glfw-3.3.9.bin.MACOS/docs/html/search/search.js +840 -0
  164. data/glfw-3.3.9.bin.MACOS/docs/html/search/searchdata.js +39 -0
  165. data/glfw-3.3.9.bin.MACOS/docs/html/search/typedefs_0.js +32 -0
  166. data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_0.js +4 -0
  167. data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_1.js +6 -0
  168. data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_2.js +5 -0
  169. data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_3.js +4 -0
  170. data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_4.js +4 -0
  171. data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_5.js +6 -0
  172. data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_6.js +4 -0
  173. data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_7.js +4 -0
  174. data/glfw-3.3.9.bin.MACOS/docs/html/spaces.svg +877 -0
  175. data/glfw-3.3.9.bin.MACOS/docs/html/splitbar.png +0 -0
  176. data/glfw-3.3.9.bin.MACOS/docs/html/splitbard.png +0 -0
  177. data/glfw-3.3.9.bin.MACOS/docs/html/struct_g_l_f_wgamepadstate.html +134 -0
  178. data/glfw-3.3.9.bin.MACOS/docs/html/struct_g_l_f_wgammaramp.html +170 -0
  179. data/glfw-3.3.9.bin.MACOS/docs/html/struct_g_l_f_wimage.html +151 -0
  180. data/glfw-3.3.9.bin.MACOS/docs/html/struct_g_l_f_wvidmode.html +204 -0
  181. data/glfw-3.3.9.bin.MACOS/docs/html/sync_off.png +0 -0
  182. data/glfw-3.3.9.bin.MACOS/docs/html/sync_on.png +0 -0
  183. data/glfw-3.3.9.bin.MACOS/docs/html/tab_a.png +0 -0
  184. data/glfw-3.3.9.bin.MACOS/docs/html/tab_ad.png +0 -0
  185. data/glfw-3.3.9.bin.MACOS/docs/html/tab_b.png +0 -0
  186. data/glfw-3.3.9.bin.MACOS/docs/html/tab_bd.png +0 -0
  187. data/glfw-3.3.9.bin.MACOS/docs/html/tab_h.png +0 -0
  188. data/glfw-3.3.9.bin.MACOS/docs/html/tab_hd.png +0 -0
  189. data/glfw-3.3.9.bin.MACOS/docs/html/tab_s.png +0 -0
  190. data/glfw-3.3.9.bin.MACOS/docs/html/tab_sd.png +0 -0
  191. data/glfw-3.3.9.bin.MACOS/docs/html/tabs.css +1 -0
  192. data/glfw-3.3.9.bin.MACOS/docs/html/vulkan_8dox.html +81 -0
  193. data/glfw-3.3.9.bin.MACOS/docs/html/vulkan_guide.html +196 -0
  194. data/glfw-3.3.9.bin.MACOS/docs/html/window_8dox.html +81 -0
  195. data/glfw-3.3.9.bin.MACOS/docs/html/window_guide.html +763 -0
  196. data/glfw-3.3.9.bin.MACOS/include/GLFW/glfw3.h +5932 -0
  197. data/glfw-3.3.9.bin.MACOS/include/GLFW/glfw3native.h +634 -0
  198. data/glfw-3.3.9.bin.MACOS/lib-arm64/libglfw.3.dylib +0 -0
  199. data/glfw-3.3.9.bin.MACOS/lib-arm64/libglfw3.a +0 -0
  200. data/glfw-3.3.9.bin.MACOS/lib-universal/libglfw.3.dylib +0 -0
  201. data/glfw-3.3.9.bin.MACOS/lib-universal/libglfw3.a +0 -0
  202. data/glfw-3.3.9.bin.MACOS/lib-x86_64/libglfw.3.dylib +0 -0
  203. data/glfw-3.3.9.bin.MACOS/lib-x86_64/libglfw3.a +0 -0
  204. data/glfw-3.4.bin.WIN64/LICENSE.md +23 -0
  205. data/glfw-3.4.bin.WIN64/README.md +70 -0
  206. data/glfw-3.4.bin.WIN64/docs/html/bc_s.png +0 -0
  207. data/glfw-3.4.bin.WIN64/docs/html/bc_sd.png +0 -0
  208. data/glfw-3.4.bin.WIN64/docs/html/build_8md.html +81 -0
  209. data/glfw-3.4.bin.WIN64/docs/html/build_guide.html +217 -0
  210. data/glfw-3.4.bin.WIN64/docs/html/closed.png +0 -0
  211. data/glfw-3.4.bin.WIN64/docs/html/compat_8md.html +81 -0
  212. data/glfw-3.4.bin.WIN64/docs/html/compat_guide.html +156 -0
  213. data/glfw-3.4.bin.WIN64/docs/html/compile_8md.html +81 -0
  214. data/glfw-3.4.bin.WIN64/docs/html/compile_guide.html +219 -0
  215. data/glfw-3.4.bin.WIN64/docs/html/context_8md.html +81 -0
  216. data/glfw-3.4.bin.WIN64/docs/html/context_guide.html +258 -0
  217. data/glfw-3.4.bin.WIN64/docs/html/deprecated.html +88 -0
  218. data/glfw-3.4.bin.WIN64/docs/html/dir_13577e2d8b9423099662de029791bd7d.html +93 -0
  219. data/glfw-3.4.bin.WIN64/docs/html/dir_7f92719a7fe62e5b064f87d7a3c220b1.html +95 -0
  220. data/glfw-3.4.bin.WIN64/docs/html/dir_a788ef6c2b1e5b367804e0b6ccfd6f11.html +85 -0
  221. data/glfw-3.4.bin.WIN64/docs/html/dir_b11153cd0f4fd04a7564cc166f482635.html +91 -0
  222. data/glfw-3.4.bin.WIN64/docs/html/doc.svg +12 -0
  223. data/glfw-3.4.bin.WIN64/docs/html/docd.svg +12 -0
  224. data/glfw-3.4.bin.WIN64/docs/html/doxygen.css +1685 -0
  225. data/glfw-3.4.bin.WIN64/docs/html/doxygen.svg +28 -0
  226. data/glfw-3.4.bin.WIN64/docs/html/dynsections.js +192 -0
  227. data/glfw-3.4.bin.WIN64/docs/html/extra.css +2 -0
  228. data/glfw-3.4.bin.WIN64/docs/html/files.html +91 -0
  229. data/glfw-3.4.bin.WIN64/docs/html/folderclosed.svg +11 -0
  230. data/glfw-3.4.bin.WIN64/docs/html/folderclosedd.svg +11 -0
  231. data/glfw-3.4.bin.WIN64/docs/html/folderopen.svg +17 -0
  232. data/glfw-3.4.bin.WIN64/docs/html/folderopend.svg +12 -0
  233. data/glfw-3.4.bin.WIN64/docs/html/glfw3_8h.html +1910 -0
  234. data/glfw-3.4.bin.WIN64/docs/html/glfw3_8h_source.html +1260 -0
  235. data/glfw-3.4.bin.WIN64/docs/html/glfw3native_8h.html +170 -0
  236. data/glfw-3.4.bin.WIN64/docs/html/glfw3native_8h_source.html +306 -0
  237. data/glfw-3.4.bin.WIN64/docs/html/group__buttons.html +282 -0
  238. data/glfw-3.4.bin.WIN64/docs/html/group__context.html +304 -0
  239. data/glfw-3.4.bin.WIN64/docs/html/group__errors.html +384 -0
  240. data/glfw-3.4.bin.WIN64/docs/html/group__gamepad__axes.html +202 -0
  241. data/glfw-3.4.bin.WIN64/docs/html/group__gamepad__buttons.html +410 -0
  242. data/glfw-3.4.bin.WIN64/docs/html/group__hat__state.html +234 -0
  243. data/glfw-3.4.bin.WIN64/docs/html/group__init.html +1015 -0
  244. data/glfw-3.4.bin.WIN64/docs/html/group__input.html +2285 -0
  245. data/glfw-3.4.bin.WIN64/docs/html/group__joysticks.html +362 -0
  246. data/glfw-3.4.bin.WIN64/docs/html/group__keys.html +2034 -0
  247. data/glfw-3.4.bin.WIN64/docs/html/group__mods.html +198 -0
  248. data/glfw-3.4.bin.WIN64/docs/html/group__monitor.html +849 -0
  249. data/glfw-3.4.bin.WIN64/docs/html/group__native.html +837 -0
  250. data/glfw-3.4.bin.WIN64/docs/html/group__shapes.html +337 -0
  251. data/glfw-3.4.bin.WIN64/docs/html/group__vulkan.html +361 -0
  252. data/glfw-3.4.bin.WIN64/docs/html/group__window.html +3608 -0
  253. data/glfw-3.4.bin.WIN64/docs/html/index.html +100 -0
  254. data/glfw-3.4.bin.WIN64/docs/html/input_8md.html +81 -0
  255. data/glfw-3.4.bin.WIN64/docs/html/input_guide.html +576 -0
  256. data/glfw-3.4.bin.WIN64/docs/html/internal_8md.html +81 -0
  257. data/glfw-3.4.bin.WIN64/docs/html/internals_guide.html +135 -0
  258. data/glfw-3.4.bin.WIN64/docs/html/intro_8md.html +81 -0
  259. data/glfw-3.4.bin.WIN64/docs/html/intro_guide.html +429 -0
  260. data/glfw-3.4.bin.WIN64/docs/html/jquery.js +34 -0
  261. data/glfw-3.4.bin.WIN64/docs/html/main_8md.html +81 -0
  262. data/glfw-3.4.bin.WIN64/docs/html/menu.js +136 -0
  263. data/glfw-3.4.bin.WIN64/docs/html/menudata.js +30 -0
  264. data/glfw-3.4.bin.WIN64/docs/html/minus.svg +8 -0
  265. data/glfw-3.4.bin.WIN64/docs/html/minusd.svg +8 -0
  266. data/glfw-3.4.bin.WIN64/docs/html/monitor_8md.html +81 -0
  267. data/glfw-3.4.bin.WIN64/docs/html/monitor_guide.html +228 -0
  268. data/glfw-3.4.bin.WIN64/docs/html/moving_8md.html +81 -0
  269. data/glfw-3.4.bin.WIN64/docs/html/moving_guide.html +360 -0
  270. data/glfw-3.4.bin.WIN64/docs/html/nav_f.png +0 -0
  271. data/glfw-3.4.bin.WIN64/docs/html/nav_fd.png +0 -0
  272. data/glfw-3.4.bin.WIN64/docs/html/nav_g.png +0 -0
  273. data/glfw-3.4.bin.WIN64/docs/html/nav_h.png +0 -0
  274. data/glfw-3.4.bin.WIN64/docs/html/nav_hd.png +0 -0
  275. data/glfw-3.4.bin.WIN64/docs/html/news.html +336 -0
  276. data/glfw-3.4.bin.WIN64/docs/html/news_8md.html +81 -0
  277. data/glfw-3.4.bin.WIN64/docs/html/open.png +0 -0
  278. data/glfw-3.4.bin.WIN64/docs/html/pages.html +99 -0
  279. data/glfw-3.4.bin.WIN64/docs/html/plus.svg +9 -0
  280. data/glfw-3.4.bin.WIN64/docs/html/plusd.svg +9 -0
  281. data/glfw-3.4.bin.WIN64/docs/html/quick_8md.html +81 -0
  282. data/glfw-3.4.bin.WIN64/docs/html/quick_guide.html +406 -0
  283. data/glfw-3.4.bin.WIN64/docs/html/search/all_0.js +4 -0
  284. data/glfw-3.4.bin.WIN64/docs/html/search/all_1.js +4 -0
  285. data/glfw-3.4.bin.WIN64/docs/html/search/all_10.js +13 -0
  286. data/glfw-3.4.bin.WIN64/docs/html/search/all_11.js +11 -0
  287. data/glfw-3.4.bin.WIN64/docs/html/search/all_12.js +26 -0
  288. data/glfw-3.4.bin.WIN64/docs/html/search/all_13.js +51 -0
  289. data/glfw-3.4.bin.WIN64/docs/html/search/all_14.js +22 -0
  290. data/glfw-3.4.bin.WIN64/docs/html/search/all_15.js +35 -0
  291. data/glfw-3.4.bin.WIN64/docs/html/search/all_16.js +29 -0
  292. data/glfw-3.4.bin.WIN64/docs/html/search/all_17.js +8 -0
  293. data/glfw-3.4.bin.WIN64/docs/html/search/all_18.js +44 -0
  294. data/glfw-3.4.bin.WIN64/docs/html/search/all_19.js +60 -0
  295. data/glfw-3.4.bin.WIN64/docs/html/search/all_1a.js +39 -0
  296. data/glfw-3.4.bin.WIN64/docs/html/search/all_1b.js +8 -0
  297. data/glfw-3.4.bin.WIN64/docs/html/search/all_1c.js +32 -0
  298. data/glfw-3.4.bin.WIN64/docs/html/search/all_1d.js +84 -0
  299. data/glfw-3.4.bin.WIN64/docs/html/search/all_1e.js +13 -0
  300. data/glfw-3.4.bin.WIN64/docs/html/search/all_1f.js +4 -0
  301. data/glfw-3.4.bin.WIN64/docs/html/search/all_2.js +5 -0
  302. data/glfw-3.4.bin.WIN64/docs/html/search/all_3.js +4 -0
  303. data/glfw-3.4.bin.WIN64/docs/html/search/all_4.js +4 -0
  304. data/glfw-3.4.bin.WIN64/docs/html/search/all_5.js +4 -0
  305. data/glfw-3.4.bin.WIN64/docs/html/search/all_6.js +4 -0
  306. data/glfw-3.4.bin.WIN64/docs/html/search/all_7.js +58 -0
  307. data/glfw-3.4.bin.WIN64/docs/html/search/all_8.js +21 -0
  308. data/glfw-3.4.bin.WIN64/docs/html/search/all_9.js +82 -0
  309. data/glfw-3.4.bin.WIN64/docs/html/search/all_a.js +20 -0
  310. data/glfw-3.4.bin.WIN64/docs/html/search/all_b.js +26 -0
  311. data/glfw-3.4.bin.WIN64/docs/html/search/all_c.js +35 -0
  312. data/glfw-3.4.bin.WIN64/docs/html/search/all_d.js +555 -0
  313. data/glfw-3.4.bin.WIN64/docs/html/search/all_e.js +23 -0
  314. data/glfw-3.4.bin.WIN64/docs/html/search/all_f.js +40 -0
  315. data/glfw-3.4.bin.WIN64/docs/html/search/classes_0.js +8 -0
  316. data/glfw-3.4.bin.WIN64/docs/html/search/close.svg +18 -0
  317. data/glfw-3.4.bin.WIN64/docs/html/search/defines_0.js +43 -0
  318. data/glfw-3.4.bin.WIN64/docs/html/search/files_0.js +4 -0
  319. data/glfw-3.4.bin.WIN64/docs/html/search/files_1.js +6 -0
  320. data/glfw-3.4.bin.WIN64/docs/html/search/files_2.js +5 -0
  321. data/glfw-3.4.bin.WIN64/docs/html/search/files_3.js +6 -0
  322. data/glfw-3.4.bin.WIN64/docs/html/search/files_4.js +6 -0
  323. data/glfw-3.4.bin.WIN64/docs/html/search/files_5.js +4 -0
  324. data/glfw-3.4.bin.WIN64/docs/html/search/files_6.js +4 -0
  325. data/glfw-3.4.bin.WIN64/docs/html/search/files_7.js +4 -0
  326. data/glfw-3.4.bin.WIN64/docs/html/search/files_8.js +4 -0
  327. data/glfw-3.4.bin.WIN64/docs/html/search/functions_0.js +152 -0
  328. data/glfw-3.4.bin.WIN64/docs/html/search/groups_0.js +6 -0
  329. data/glfw-3.4.bin.WIN64/docs/html/search/groups_1.js +4 -0
  330. data/glfw-3.4.bin.WIN64/docs/html/search/groups_10.js +4 -0
  331. data/glfw-3.4.bin.WIN64/docs/html/search/groups_2.js +6 -0
  332. data/glfw-3.4.bin.WIN64/docs/html/search/groups_3.js +5 -0
  333. data/glfw-3.4.bin.WIN64/docs/html/search/groups_4.js +4 -0
  334. data/glfw-3.4.bin.WIN64/docs/html/search/groups_5.js +5 -0
  335. data/glfw-3.4.bin.WIN64/docs/html/search/groups_6.js +4 -0
  336. data/glfw-3.4.bin.WIN64/docs/html/search/groups_7.js +5 -0
  337. data/glfw-3.4.bin.WIN64/docs/html/search/groups_8.js +5 -0
  338. data/glfw-3.4.bin.WIN64/docs/html/search/groups_9.js +6 -0
  339. data/glfw-3.4.bin.WIN64/docs/html/search/groups_a.js +6 -0
  340. data/glfw-3.4.bin.WIN64/docs/html/search/groups_b.js +4 -0
  341. data/glfw-3.4.bin.WIN64/docs/html/search/groups_c.js +4 -0
  342. data/glfw-3.4.bin.WIN64/docs/html/search/groups_d.js +7 -0
  343. data/glfw-3.4.bin.WIN64/docs/html/search/groups_e.js +4 -0
  344. data/glfw-3.4.bin.WIN64/docs/html/search/groups_f.js +5 -0
  345. data/glfw-3.4.bin.WIN64/docs/html/search/mag.svg +24 -0
  346. data/glfw-3.4.bin.WIN64/docs/html/search/mag_d.svg +24 -0
  347. data/glfw-3.4.bin.WIN64/docs/html/search/mag_sel.svg +31 -0
  348. data/glfw-3.4.bin.WIN64/docs/html/search/mag_seld.svg +31 -0
  349. data/glfw-3.4.bin.WIN64/docs/html/search/pages_0.js +4 -0
  350. data/glfw-3.4.bin.WIN64/docs/html/search/pages_1.js +5 -0
  351. data/glfw-3.4.bin.WIN64/docs/html/search/pages_10.js +5 -0
  352. data/glfw-3.4.bin.WIN64/docs/html/search/pages_11.js +4 -0
  353. data/glfw-3.4.bin.WIN64/docs/html/search/pages_2.js +4 -0
  354. data/glfw-3.4.bin.WIN64/docs/html/search/pages_3.js +5 -0
  355. data/glfw-3.4.bin.WIN64/docs/html/search/pages_4.js +4 -0
  356. data/glfw-3.4.bin.WIN64/docs/html/search/pages_5.js +6 -0
  357. data/glfw-3.4.bin.WIN64/docs/html/search/pages_6.js +4 -0
  358. data/glfw-3.4.bin.WIN64/docs/html/search/pages_7.js +5 -0
  359. data/glfw-3.4.bin.WIN64/docs/html/search/pages_8.js +7 -0
  360. data/glfw-3.4.bin.WIN64/docs/html/search/pages_9.js +7 -0
  361. data/glfw-3.4.bin.WIN64/docs/html/search/pages_a.js +4 -0
  362. data/glfw-3.4.bin.WIN64/docs/html/search/pages_b.js +5 -0
  363. data/glfw-3.4.bin.WIN64/docs/html/search/pages_c.js +4 -0
  364. data/glfw-3.4.bin.WIN64/docs/html/search/pages_d.js +4 -0
  365. data/glfw-3.4.bin.WIN64/docs/html/search/pages_e.js +6 -0
  366. data/glfw-3.4.bin.WIN64/docs/html/search/pages_f.js +6 -0
  367. data/glfw-3.4.bin.WIN64/docs/html/search/search.css +291 -0
  368. data/glfw-3.4.bin.WIN64/docs/html/search/search.js +840 -0
  369. data/glfw-3.4.bin.WIN64/docs/html/search/searchdata.js +39 -0
  370. data/glfw-3.4.bin.WIN64/docs/html/search/typedefs_0.js +36 -0
  371. data/glfw-3.4.bin.WIN64/docs/html/search/variables_0.js +5 -0
  372. data/glfw-3.4.bin.WIN64/docs/html/search/variables_1.js +6 -0
  373. data/glfw-3.4.bin.WIN64/docs/html/search/variables_2.js +4 -0
  374. data/glfw-3.4.bin.WIN64/docs/html/search/variables_3.js +5 -0
  375. data/glfw-3.4.bin.WIN64/docs/html/search/variables_4.js +4 -0
  376. data/glfw-3.4.bin.WIN64/docs/html/search/variables_5.js +4 -0
  377. data/glfw-3.4.bin.WIN64/docs/html/search/variables_6.js +7 -0
  378. data/glfw-3.4.bin.WIN64/docs/html/search/variables_7.js +4 -0
  379. data/glfw-3.4.bin.WIN64/docs/html/search/variables_8.js +4 -0
  380. data/glfw-3.4.bin.WIN64/docs/html/search/variables_9.js +4 -0
  381. data/glfw-3.4.bin.WIN64/docs/html/spaces.svg +877 -0
  382. data/glfw-3.4.bin.WIN64/docs/html/splitbar.png +0 -0
  383. data/glfw-3.4.bin.WIN64/docs/html/splitbard.png +0 -0
  384. data/glfw-3.4.bin.WIN64/docs/html/struct_g_l_f_wallocator.html +168 -0
  385. data/glfw-3.4.bin.WIN64/docs/html/struct_g_l_f_wgamepadstate.html +134 -0
  386. data/glfw-3.4.bin.WIN64/docs/html/struct_g_l_f_wgammaramp.html +170 -0
  387. data/glfw-3.4.bin.WIN64/docs/html/struct_g_l_f_wimage.html +151 -0
  388. data/glfw-3.4.bin.WIN64/docs/html/struct_g_l_f_wvidmode.html +204 -0
  389. data/glfw-3.4.bin.WIN64/docs/html/sync_off.png +0 -0
  390. data/glfw-3.4.bin.WIN64/docs/html/sync_on.png +0 -0
  391. data/glfw-3.4.bin.WIN64/docs/html/tab_a.png +0 -0
  392. data/glfw-3.4.bin.WIN64/docs/html/tab_ad.png +0 -0
  393. data/glfw-3.4.bin.WIN64/docs/html/tab_b.png +0 -0
  394. data/glfw-3.4.bin.WIN64/docs/html/tab_bd.png +0 -0
  395. data/glfw-3.4.bin.WIN64/docs/html/tab_h.png +0 -0
  396. data/glfw-3.4.bin.WIN64/docs/html/tab_hd.png +0 -0
  397. data/glfw-3.4.bin.WIN64/docs/html/tab_s.png +0 -0
  398. data/glfw-3.4.bin.WIN64/docs/html/tab_sd.png +0 -0
  399. data/glfw-3.4.bin.WIN64/docs/html/tabs.css +1 -0
  400. data/glfw-3.4.bin.WIN64/docs/html/topics.html +101 -0
  401. data/glfw-3.4.bin.WIN64/docs/html/vulkan_8md.html +81 -0
  402. data/glfw-3.4.bin.WIN64/docs/html/vulkan_guide.html +206 -0
  403. data/glfw-3.4.bin.WIN64/docs/html/window_8md.html +81 -0
  404. data/glfw-3.4.bin.WIN64/docs/html/window_guide.html +806 -0
  405. data/glfw-3.4.bin.WIN64/include/GLFW/glfw3.h +6547 -0
  406. data/glfw-3.4.bin.WIN64/include/GLFW/glfw3native.h +663 -0
  407. data/glfw-3.4.bin.WIN64/lib-mingw-w64/glfw3.dll +0 -0
  408. data/glfw-3.4.bin.WIN64/lib-mingw-w64/libglfw3.a +0 -0
  409. data/glfw-3.4.bin.WIN64/lib-mingw-w64/libglfw3dll.a +0 -0
  410. data/glfw-3.4.bin.WIN64/lib-static-ucrt/glfw3.dll +0 -0
  411. data/glfw-3.4.bin.WIN64/lib-static-ucrt/glfw3dll.lib +0 -0
  412. data/glfw-3.4.bin.WIN64/lib-vc2013/glfw3.dll +0 -0
  413. data/glfw-3.4.bin.WIN64/lib-vc2013/glfw3.lib +0 -0
  414. data/glfw-3.4.bin.WIN64/lib-vc2013/glfw3_mt.lib +0 -0
  415. data/glfw-3.4.bin.WIN64/lib-vc2013/glfw3dll.lib +0 -0
  416. data/glfw-3.4.bin.WIN64/lib-vc2015/glfw3.dll +0 -0
  417. data/glfw-3.4.bin.WIN64/lib-vc2015/glfw3.lib +0 -0
  418. data/glfw-3.4.bin.WIN64/lib-vc2015/glfw3_mt.lib +0 -0
  419. data/glfw-3.4.bin.WIN64/lib-vc2015/glfw3dll.lib +0 -0
  420. data/glfw-3.4.bin.WIN64/lib-vc2017/glfw3.dll +0 -0
  421. data/glfw-3.4.bin.WIN64/lib-vc2017/glfw3.lib +0 -0
  422. data/glfw-3.4.bin.WIN64/lib-vc2017/glfw3_mt.lib +0 -0
  423. data/glfw-3.4.bin.WIN64/lib-vc2017/glfw3dll.lib +0 -0
  424. data/glfw-3.4.bin.WIN64/lib-vc2019/glfw3.dll +0 -0
  425. data/glfw-3.4.bin.WIN64/lib-vc2019/glfw3.lib +0 -0
  426. data/glfw-3.4.bin.WIN64/lib-vc2019/glfw3_mt.lib +0 -0
  427. data/glfw-3.4.bin.WIN64/lib-vc2019/glfw3dll.lib +0 -0
  428. data/glfw-3.4.bin.WIN64/lib-vc2022/glfw3.dll +0 -0
  429. data/glfw-3.4.bin.WIN64/lib-vc2022/glfw3.lib +0 -0
  430. data/glfw-3.4.bin.WIN64/lib-vc2022/glfw3_mt.lib +0 -0
  431. data/glfw-3.4.bin.WIN64/lib-vc2022/glfw3dll.lib +0 -0
  432. data/lib/engine/autoloader.rb +11 -0
  433. data/lib/engine/camera.rb +13 -0
  434. data/lib/engine/component.rb +63 -0
  435. data/lib/engine/components/audio_source.rb +41 -0
  436. data/lib/engine/components/direction_light.rb +23 -0
  437. data/lib/engine/components/font_renderer.rb +134 -0
  438. data/lib/engine/components/mesh_renderer.rb +31 -0
  439. data/lib/engine/components/orthographic_camera.rb +54 -0
  440. data/lib/engine/components/perspective_camera.rb +53 -0
  441. data/lib/engine/components/point_light.rb +24 -0
  442. data/lib/engine/components/sprite_renderer.rb +141 -0
  443. data/lib/engine/components/ui_font_renderer.rb +140 -0
  444. data/lib/engine/components/ui_sprite_renderer.rb +101 -0
  445. data/lib/engine/cursor.rb +43 -0
  446. data/lib/engine/debugging.rb +41 -0
  447. data/lib/engine/engine.rb +139 -0
  448. data/lib/engine/font.rb +74 -0
  449. data/lib/engine/game_object.rb +218 -0
  450. data/lib/engine/importers/font_importer.rb +69 -0
  451. data/lib/engine/importers/obj_file.rb +244 -0
  452. data/lib/engine/importers/obj_importer.rb +33 -0
  453. data/lib/engine/input.rb +61 -0
  454. data/lib/engine/material.rb +79 -0
  455. data/lib/engine/mesh.rb +43 -0
  456. data/lib/engine/path.rb +92 -0
  457. data/lib/engine/physics/collision.rb +12 -0
  458. data/lib/engine/physics/components/cube_collider.rb +6 -0
  459. data/lib/engine/physics/components/rigidbody.rb +103 -0
  460. data/lib/engine/physics/components/sphere_collider.rb +93 -0
  461. data/lib/engine/physics/physics_resolver.rb +37 -0
  462. data/lib/engine/polygon_mesh.rb +45 -0
  463. data/lib/engine/quaternion.rb +228 -0
  464. data/lib/engine/rendering/instance_renderer.rb +153 -0
  465. data/lib/engine/rendering/render_pipeline.rb +35 -0
  466. data/lib/engine/screenshoter.rb +34 -0
  467. data/lib/engine/shader.rb +91 -0
  468. data/lib/engine/shaders/colour_frag.glsl +9 -0
  469. data/lib/engine/shaders/colour_vertex.glsl +14 -0
  470. data/lib/engine/shaders/mesh_frag.glsl +102 -0
  471. data/lib/engine/shaders/mesh_vertex.glsl +25 -0
  472. data/lib/engine/shaders/skybox_frag.glsl +12 -0
  473. data/lib/engine/shaders/skybox_vert.glsl +14 -0
  474. data/lib/engine/shaders/sprite_frag.glsl +17 -0
  475. data/lib/engine/shaders/sprite_vertex.glsl +16 -0
  476. data/lib/engine/shaders/text_frag.glsl +15 -0
  477. data/lib/engine/shaders/text_vertex.glsl +31 -0
  478. data/lib/engine/shaders/ui_sprite_frag.glsl +15 -0
  479. data/lib/engine/shaders/ui_sprite_vertex.glsl +16 -0
  480. data/lib/engine/shaders/vertex_lit_frag.glsl +89 -0
  481. data/lib/engine/shaders/vertex_lit_vertex.glsl +28 -0
  482. data/lib/engine/tangent_calculator.rb +42 -0
  483. data/lib/engine/texture.rb +53 -0
  484. data/lib/engine/video_mode.rb +37 -0
  485. data/lib/engine/window.rb +126 -0
  486. data/lib/ruby_rpg.rb +53 -0
  487. metadata +500 -2
@@ -0,0 +1,136 @@
1
+ /*
2
+ @licstart The following is the entire license notice for the JavaScript code in this file.
3
+
4
+ The MIT License (MIT)
5
+
6
+ Copyright (C) 1997-2020 by Dimitri van Heesch
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software
9
+ and associated documentation files (the "Software"), to deal in the Software without restriction,
10
+ including without limitation the rights to use, copy, modify, merge, publish, distribute,
11
+ sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all copies or
15
+ substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
18
+ BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
20
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+
23
+ @licend The above is the entire license notice for the JavaScript code in this file
24
+ */
25
+ function initMenu(relPath,searchEnabled,serverSide,searchPage,search) {
26
+ function makeTree(data,relPath) {
27
+ var result='';
28
+ if ('children' in data) {
29
+ result+='<ul>';
30
+ for (var i in data.children) {
31
+ var url;
32
+ var link;
33
+ link = data.children[i].url;
34
+ if (link.substring(0,1)=='^') {
35
+ url = link.substring(1);
36
+ } else {
37
+ url = relPath+link;
38
+ }
39
+ result+='<li><a href="'+url+'">'+
40
+ data.children[i].text+'</a>'+
41
+ makeTree(data.children[i],relPath)+'</li>';
42
+ }
43
+ result+='</ul>';
44
+ }
45
+ return result;
46
+ }
47
+ var searchBoxHtml;
48
+ if (searchEnabled) {
49
+ if (serverSide) {
50
+ searchBoxHtml='<div id="MSearchBox" class="MSearchBoxInactive">'+
51
+ '<div class="left">'+
52
+ '<form id="FSearchBox" action="'+relPath+searchPage+
53
+ '" method="get"><span id="MSearchSelectExt">&#160;</span>'+
54
+ '<input type="text" id="MSearchField" name="query" value="" placeholder="'+search+
55
+ '" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)"'+
56
+ ' onblur="searchBox.OnSearchFieldFocus(false)"/>'+
57
+ '</form>'+
58
+ '</div>'+
59
+ '<div class="right"></div>'+
60
+ '</div>';
61
+ } else {
62
+ searchBoxHtml='<div id="MSearchBox" class="MSearchBoxInactive">'+
63
+ '<span class="left">'+
64
+ '<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()"'+
65
+ ' onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>'+
66
+ '<input type="text" id="MSearchField" value="" placeholder="'+search+
67
+ '" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" '+
68
+ 'onblur="searchBox.OnSearchFieldFocus(false)" '+
69
+ 'onkeyup="searchBox.OnSearchFieldChange(event)"/>'+
70
+ '</span>'+
71
+ '<span class="right"><a id="MSearchClose" '+
72
+ 'href="javascript:searchBox.CloseResultsWindow()">'+
73
+ '<img id="MSearchCloseImg" border="0" src="'+relPath+
74
+ 'search/close.svg" alt=""/></a>'+
75
+ '</span>'+
76
+ '</div>';
77
+ }
78
+ }
79
+
80
+ $('#main-nav').before('<div class="sm sm-dox"><input id="main-menu-state" type="checkbox"/>'+
81
+ '<label class="main-menu-btn" for="main-menu-state">'+
82
+ '<span class="main-menu-btn-icon"></span> '+
83
+ 'Toggle main menu visibility</label>'+
84
+ '<span id="searchBoxPos1" style="position:absolute;right:8px;top:8px;height:36px;"></span>'+
85
+ '</div>');
86
+ $('#main-nav').append(makeTree(menudata,relPath));
87
+ $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu');
88
+ if (searchBoxHtml) {
89
+ $('#main-menu').append('<li id="searchBoxPos2" style="float:right"></li>');
90
+ }
91
+ var $mainMenuState = $('#main-menu-state');
92
+ var prevWidth = 0;
93
+ if ($mainMenuState.length) {
94
+ function initResizableIfExists() {
95
+ if (typeof initResizable==='function') initResizable();
96
+ }
97
+ // animate mobile menu
98
+ $mainMenuState.change(function(e) {
99
+ var $menu = $('#main-menu');
100
+ var options = { duration: 250, step: initResizableIfExists };
101
+ if (this.checked) {
102
+ options['complete'] = function() { $menu.css('display', 'block') };
103
+ $menu.hide().slideDown(options);
104
+ } else {
105
+ options['complete'] = function() { $menu.css('display', 'none') };
106
+ $menu.show().slideUp(options);
107
+ }
108
+ });
109
+ // set default menu visibility
110
+ function resetState() {
111
+ var $menu = $('#main-menu');
112
+ var $mainMenuState = $('#main-menu-state');
113
+ var newWidth = $(window).outerWidth();
114
+ if (newWidth!=prevWidth) {
115
+ if ($(window).outerWidth()<768) {
116
+ $mainMenuState.prop('checked',false); $menu.hide();
117
+ $('#searchBoxPos1').html(searchBoxHtml);
118
+ $('#searchBoxPos2').hide();
119
+ } else {
120
+ $menu.show();
121
+ $('#searchBoxPos1').empty();
122
+ $('#searchBoxPos2').html(searchBoxHtml);
123
+ $('#searchBoxPos2').show();
124
+ }
125
+ if (typeof searchBox!=='undefined') {
126
+ searchBox.CloseResultsWindow();
127
+ }
128
+ prevWidth = newWidth;
129
+ }
130
+ }
131
+ $(window).ready(function() { resetState(); initResizableIfExists(); });
132
+ $(window).resize(resetState);
133
+ }
134
+ $('#main-menu').smartmenus();
135
+ }
136
+ /* @license-end */
@@ -0,0 +1,30 @@
1
+ /*
2
+ @licstart The following is the entire license notice for the JavaScript code in this file.
3
+
4
+ The MIT License (MIT)
5
+
6
+ Copyright (C) 1997-2020 by Dimitri van Heesch
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software
9
+ and associated documentation files (the "Software"), to deal in the Software without restriction,
10
+ including without limitation the rights to use, copy, modify, merge, publish, distribute,
11
+ sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all copies or
15
+ substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
18
+ BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
20
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+
23
+ @licend The above is the entire license notice for the JavaScript code in this file
24
+ */
25
+ var menudata={children:[
26
+ {text:"Introduction",url:"index.html"},
27
+ {text:"Tutorial",url:"quick_guide.html"},
28
+ {text:"Guides",url:"pages.html"},
29
+ {text:"Reference",url:"topics.html"},
30
+ {text:"Files",url:"files.html"}]}
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg width="12px" height="12px" viewBox="0 0 105.83333 105.83333" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
3
+ <g>
4
+ <rect style="fill:#808080;stroke-width:0" width="105.83333" height="105.83334" x="4.2409692e-08" y="-1.2701158e-06" ry="0" />
5
+ <rect style="fill:#fcfcfc;stroke-width:0" width="79.375" height="79.375" x="13.229166" y="13.229166" />
6
+ <rect style="fill:#808080;stroke-width:0" width="52.916668" height="15.874998" x="26.458332" y="44.979168" />
7
+ </g>
8
+ </svg>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg width="12px" height="12px" viewBox="0 0 105.83333 105.83333" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
3
+ <g>
4
+ <rect style="fill:#808080;stroke-width:0" width="105.83333" height="105.83334" x="4.2409692e-08" y="-1.2701158e-06" ry="0" />
5
+ <rect style="fill:#000000;stroke-width:0" width="79.375" height="79.375" x="13.229166" y="13.229166" />
6
+ <rect style="fill:#808080;stroke-width:0" width="52.916668" height="15.874998" x="26.458332" y="44.979168" />
7
+ </g>
8
+ </svg>
@@ -0,0 +1,81 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="IE=9"/>
7
+ <meta name="generator" content="Doxygen 1.9.8"/>
8
+ <title>GLFW: monitor.md File Reference</title>
9
+ <link href="tabs.css" rel="stylesheet" type="text/css"/>
10
+ <script type="text/javascript" src="jquery.js"></script>
11
+ <script type="text/javascript" src="dynsections.js"></script>
12
+ <link href="search/search.css" rel="stylesheet" type="text/css"/>
13
+ <script type="text/javascript" src="search/searchdata.js"></script>
14
+ <script type="text/javascript" src="search/search.js"></script>
15
+ <link href="doxygen.css" rel="stylesheet" type="text/css" />
16
+ <link href="extra.css" rel="stylesheet" type="text/css"/>
17
+ </head>
18
+ <body>
19
+ <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
20
+ <div id="titlearea">
21
+ <div class="glfwheader">
22
+ <a href="https://www.glfw.org/" id="glfwhome">GLFW</a>
23
+ <ul class="glfwnavbar">
24
+ <li><a href="https://www.glfw.org/documentation.html">Documentation</a></li>
25
+ <li><a href="https://www.glfw.org/download.html">Download</a></li>
26
+ <li><a href="https://www.glfw.org/community.html">Community</a></li>
27
+ </ul>
28
+ </div>
29
+ </div>
30
+ <!-- end header part -->
31
+ <!-- Generated by Doxygen 1.9.8 -->
32
+ <script type="text/javascript">
33
+ /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
34
+ var searchBox = new SearchBox("searchBox", "search/",'.html');
35
+ /* @license-end */
36
+ </script>
37
+ <script type="text/javascript" src="menudata.js"></script>
38
+ <script type="text/javascript" src="menu.js"></script>
39
+ <script type="text/javascript">
40
+ /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
41
+ $(function() {
42
+ initMenu('',true,false,'search.php','Search');
43
+ $(document).ready(function() { init_search(); });
44
+ });
45
+ /* @license-end */
46
+ </script>
47
+ <div id="main-nav"></div>
48
+ <!-- window showing the filter options -->
49
+ <div id="MSearchSelectWindow"
50
+ onmouseover="return searchBox.OnSearchSelectShow()"
51
+ onmouseout="return searchBox.OnSearchSelectHide()"
52
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
53
+ </div>
54
+
55
+ <!-- iframe showing the search results (closed by default) -->
56
+ <div id="MSearchResultsWindow">
57
+ <div id="MSearchResults">
58
+ <div class="SRPage">
59
+ <div id="SRIndex">
60
+ <div id="SRResults"></div>
61
+ <div class="SRStatus" id="Loading">Loading...</div>
62
+ <div class="SRStatus" id="Searching">Searching...</div>
63
+ <div class="SRStatus" id="NoMatches">No Matches</div>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </div>
68
+
69
+ </div><!-- top -->
70
+ <div class="header">
71
+ <div class="headertitle"><div class="title">monitor.md File Reference</div></div>
72
+ </div><!--header-->
73
+ <div class="contents">
74
+ </div><!-- contents -->
75
+ <address class="footer">
76
+ <p>
77
+ Last update on Fri Feb 23 2024 for GLFW 3.4.0
78
+ </p>
79
+ </address>
80
+ </body>
81
+ </html>
@@ -0,0 +1,228 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="IE=9"/>
7
+ <meta name="generator" content="Doxygen 1.9.8"/>
8
+ <title>GLFW: Monitor guide</title>
9
+ <link href="tabs.css" rel="stylesheet" type="text/css"/>
10
+ <script type="text/javascript" src="jquery.js"></script>
11
+ <script type="text/javascript" src="dynsections.js"></script>
12
+ <link href="search/search.css" rel="stylesheet" type="text/css"/>
13
+ <script type="text/javascript" src="search/searchdata.js"></script>
14
+ <script type="text/javascript" src="search/search.js"></script>
15
+ <link href="doxygen.css" rel="stylesheet" type="text/css" />
16
+ <link href="extra.css" rel="stylesheet" type="text/css"/>
17
+ </head>
18
+ <body>
19
+ <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
20
+ <div id="titlearea">
21
+ <div class="glfwheader">
22
+ <a href="https://www.glfw.org/" id="glfwhome">GLFW</a>
23
+ <ul class="glfwnavbar">
24
+ <li><a href="https://www.glfw.org/documentation.html">Documentation</a></li>
25
+ <li><a href="https://www.glfw.org/download.html">Download</a></li>
26
+ <li><a href="https://www.glfw.org/community.html">Community</a></li>
27
+ </ul>
28
+ </div>
29
+ </div>
30
+ <!-- end header part -->
31
+ <!-- Generated by Doxygen 1.9.8 -->
32
+ <script type="text/javascript">
33
+ /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
34
+ var searchBox = new SearchBox("searchBox", "search/",'.html');
35
+ /* @license-end */
36
+ </script>
37
+ <script type="text/javascript" src="menudata.js"></script>
38
+ <script type="text/javascript" src="menu.js"></script>
39
+ <script type="text/javascript">
40
+ /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
41
+ $(function() {
42
+ initMenu('',true,false,'search.php','Search');
43
+ $(document).ready(function() { init_search(); });
44
+ });
45
+ /* @license-end */
46
+ </script>
47
+ <div id="main-nav"></div>
48
+ <!-- window showing the filter options -->
49
+ <div id="MSearchSelectWindow"
50
+ onmouseover="return searchBox.OnSearchSelectShow()"
51
+ onmouseout="return searchBox.OnSearchSelectHide()"
52
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
53
+ </div>
54
+
55
+ <!-- iframe showing the search results (closed by default) -->
56
+ <div id="MSearchResultsWindow">
57
+ <div id="MSearchResults">
58
+ <div class="SRPage">
59
+ <div id="SRIndex">
60
+ <div id="SRResults"></div>
61
+ <div class="SRStatus" id="Loading">Loading...</div>
62
+ <div class="SRStatus" id="Searching">Searching...</div>
63
+ <div class="SRStatus" id="NoMatches">No Matches</div>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </div>
68
+
69
+ </div><!-- top -->
70
+ <div><div class="header">
71
+ <div class="headertitle"><div class="title">Monitor guide</div></div>
72
+ </div><!--header-->
73
+ <div class="contents">
74
+ <div class="toc"><h3>Table of Contents</h3>
75
+ <ul><li class="level1"><a href="#monitor_object">Monitor objects</a><ul><li class="level2"><a href="#monitor_monitors">Retrieving monitors</a></li>
76
+ <li class="level2"><a href="#monitor_event">Monitor configuration changes</a></li>
77
+ </ul>
78
+ </li>
79
+ <li class="level1"><a href="#monitor_properties">Monitor properties</a><ul><li class="level2"><a href="#monitor_modes">Video modes</a></li>
80
+ <li class="level2"><a href="#monitor_size">Physical size</a></li>
81
+ <li class="level2"><a href="#monitor_scale">Content scale</a></li>
82
+ <li class="level2"><a href="#monitor_pos">Virtual position</a></li>
83
+ <li class="level2"><a href="#monitor_workarea">Work area</a></li>
84
+ <li class="level2"><a href="#monitor_name">Human-readable name</a></li>
85
+ <li class="level2"><a href="#monitor_userptr">User pointer</a></li>
86
+ <li class="level2"><a href="#monitor_gamma">Gamma ramp</a></li>
87
+ </ul>
88
+ </li>
89
+ </ul>
90
+ </div>
91
+ <div class="textblock"><p>This guide introduces the monitor related functions of GLFW. For details on a specific function in this category, see the <a class="el" href="group__monitor.html">Monitor reference</a>. There are also guides for the other areas of GLFW.</p>
92
+ <ul>
93
+ <li><a class="el" href="intro_guide.html">Introduction to the API</a></li>
94
+ <li><a class="el" href="window_guide.html">Window guide</a></li>
95
+ <li><a class="el" href="context_guide.html">Context guide</a></li>
96
+ <li><a class="el" href="vulkan_guide.html">Vulkan guide</a></li>
97
+ <li><a class="el" href="input_guide.html">Input guide</a></li>
98
+ </ul>
99
+ <h1><a class="anchor" id="monitor_object"></a>
100
+ Monitor objects</h1>
101
+ <p>A monitor object represents a currently connected monitor and is represented as a pointer to the <a href="https://en.wikipedia.org/wiki/Opaque_data_type">opaque</a> type <a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a>. Monitor objects cannot be created or destroyed by the application and retain their addresses until the monitors they represent are disconnected or until the library is <a class="el" href="intro_guide.html#intro_init_terminate">terminated</a>.</p>
102
+ <p>Each monitor has a current video mode, a list of supported video modes, a virtual position, a human-readable name, an estimated physical size and a gamma ramp. One of the monitors is the primary monitor.</p>
103
+ <p>The virtual position of a monitor is in <a class="el" href="intro_guide.html#coordinate_systems">screen coordinates</a> and, together with the current video mode, describes the viewports that the connected monitors provide into the virtual desktop that spans them.</p>
104
+ <p>To see how GLFW views your monitor setup and its available video modes, run the <code>monitors</code> test program.</p>
105
+ <h2><a class="anchor" id="monitor_monitors"></a>
106
+ Retrieving monitors</h2>
107
+ <p>The primary monitor is returned by <a class="el" href="group__monitor.html#gac3adb24947eb709e1874028272e5dfc5">glfwGetPrimaryMonitor</a>. It is the user's preferred monitor and is usually the one with global UI elements like task bar or menu bar.</p>
108
+ <div class="fragment"><div class="line"><a class="code hl_typedef" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a>* primary = <a class="code hl_function" href="group__monitor.html#gac3adb24947eb709e1874028272e5dfc5">glfwGetPrimaryMonitor</a>();</div>
109
+ <div class="ttc" id="agroup__monitor_html_ga8d9efd1cde9426692c73fe40437d0ae3"><div class="ttname"><a href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a></div><div class="ttdeci">struct GLFWmonitor GLFWmonitor</div><div class="ttdoc">Opaque monitor object.</div><div class="ttdef"><b>Definition</b> glfw3.h:1391</div></div>
110
+ <div class="ttc" id="agroup__monitor_html_gac3adb24947eb709e1874028272e5dfc5"><div class="ttname"><a href="group__monitor.html#gac3adb24947eb709e1874028272e5dfc5">glfwGetPrimaryMonitor</a></div><div class="ttdeci">GLFWmonitor * glfwGetPrimaryMonitor(void)</div><div class="ttdoc">Returns the primary monitor.</div></div>
111
+ </div><!-- fragment --><p>You can retrieve all currently connected monitors with <a class="el" href="group__monitor.html#ga70b1156d5d24e9928f145d6c864369d2">glfwGetMonitors</a>. See the reference documentation for the lifetime of the returned array.</p>
112
+ <div class="fragment"><div class="line"><span class="keywordtype">int</span> count;</div>
113
+ <div class="line"><a class="code hl_typedef" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a>** monitors = <a class="code hl_function" href="group__monitor.html#ga70b1156d5d24e9928f145d6c864369d2">glfwGetMonitors</a>(&amp;count);</div>
114
+ <div class="ttc" id="agroup__monitor_html_ga70b1156d5d24e9928f145d6c864369d2"><div class="ttname"><a href="group__monitor.html#ga70b1156d5d24e9928f145d6c864369d2">glfwGetMonitors</a></div><div class="ttdeci">GLFWmonitor ** glfwGetMonitors(int *count)</div><div class="ttdoc">Returns the currently connected monitors.</div></div>
115
+ </div><!-- fragment --><p>The primary monitor is always the first monitor in the returned array, but other monitors may be moved to a different index when a monitor is connected or disconnected.</p>
116
+ <h2><a class="anchor" id="monitor_event"></a>
117
+ Monitor configuration changes</h2>
118
+ <p>If you wish to be notified when a monitor is connected or disconnected, set a monitor callback.</p>
119
+ <div class="fragment"><div class="line"><a class="code hl_function" href="group__monitor.html#gab39df645587c8518192aa746c2fb06c3">glfwSetMonitorCallback</a>(monitor_callback);</div>
120
+ <div class="ttc" id="agroup__monitor_html_gab39df645587c8518192aa746c2fb06c3"><div class="ttname"><a href="group__monitor.html#gab39df645587c8518192aa746c2fb06c3">glfwSetMonitorCallback</a></div><div class="ttdeci">GLFWmonitorfun glfwSetMonitorCallback(GLFWmonitorfun callback)</div><div class="ttdoc">Sets the monitor configuration callback.</div></div>
121
+ </div><!-- fragment --><p>The callback function receives the handle for the monitor that has been connected or disconnected and the event that occurred.</p>
122
+ <div class="fragment"><div class="line"><span class="keywordtype">void</span> monitor_callback(<a class="code hl_typedef" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a>* monitor, <span class="keywordtype">int</span> event)</div>
123
+ <div class="line">{</div>
124
+ <div class="line"> <span class="keywordflow">if</span> (event == <a class="code hl_define" href="glfw3_8h.html#abe11513fd1ffbee5bb9b173f06028b9e">GLFW_CONNECTED</a>)</div>
125
+ <div class="line"> {</div>
126
+ <div class="line"> <span class="comment">// The monitor was connected</span></div>
127
+ <div class="line"> }</div>
128
+ <div class="line"> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (event == <a class="code hl_define" href="glfw3_8h.html#aab64b25921ef21d89252d6f0a71bfc32">GLFW_DISCONNECTED</a>)</div>
129
+ <div class="line"> {</div>
130
+ <div class="line"> <span class="comment">// The monitor was disconnected</span></div>
131
+ <div class="line"> }</div>
132
+ <div class="line">}</div>
133
+ <div class="ttc" id="aglfw3_8h_html_aab64b25921ef21d89252d6f0a71bfc32"><div class="ttname"><a href="glfw3_8h.html#aab64b25921ef21d89252d6f0a71bfc32">GLFW_DISCONNECTED</a></div><div class="ttdeci">#define GLFW_DISCONNECTED</div><div class="ttdef"><b>Definition</b> glfw3.h:1291</div></div>
134
+ <div class="ttc" id="aglfw3_8h_html_abe11513fd1ffbee5bb9b173f06028b9e"><div class="ttname"><a href="glfw3_8h.html#abe11513fd1ffbee5bb9b173f06028b9e">GLFW_CONNECTED</a></div><div class="ttdeci">#define GLFW_CONNECTED</div><div class="ttdef"><b>Definition</b> glfw3.h:1290</div></div>
135
+ </div><!-- fragment --><p>If a monitor is disconnected, all windows that are full screen on it will be switched to windowed mode before the callback is called. Only <a class="el" href="group__monitor.html#ga7af83e13489d90379588fb331b9e4b68">glfwGetMonitorName</a> and <a class="el" href="group__monitor.html#ga1adbfbfb8cd58b23cfee82e574fbbdc5">glfwGetMonitorUserPointer</a> will return useful values for a disconnected monitor and only before the monitor callback returns.</p>
136
+ <h1><a class="anchor" id="monitor_properties"></a>
137
+ Monitor properties</h1>
138
+ <p>Each monitor has a current video mode, a list of supported video modes, a virtual position, a content scale, a human-readable name, a user pointer, an estimated physical size and a gamma ramp.</p>
139
+ <h2><a class="anchor" id="monitor_modes"></a>
140
+ Video modes</h2>
141
+ <p>GLFW generally does a good job selecting a suitable video mode when you create a full screen window, change its video mode or make a windowed one full screen, but it is sometimes useful to know exactly which video modes are supported.</p>
142
+ <p>Video modes are represented as <a class="el" href="struct_g_l_f_wvidmode.html">GLFWvidmode</a> structures. You can get an array of the video modes supported by a monitor with <a class="el" href="group__monitor.html#gad2e24d2843cb7d6c26202cddd530fc1b">glfwGetVideoModes</a>. See the reference documentation for the lifetime of the returned array.</p>
143
+ <div class="fragment"><div class="line"><span class="keywordtype">int</span> count;</div>
144
+ <div class="line"><a class="code hl_struct" href="struct_g_l_f_wvidmode.html">GLFWvidmode</a>* modes = <a class="code hl_function" href="group__monitor.html#gad2e24d2843cb7d6c26202cddd530fc1b">glfwGetVideoModes</a>(monitor, &amp;count);</div>
145
+ <div class="ttc" id="agroup__monitor_html_gad2e24d2843cb7d6c26202cddd530fc1b"><div class="ttname"><a href="group__monitor.html#gad2e24d2843cb7d6c26202cddd530fc1b">glfwGetVideoModes</a></div><div class="ttdeci">const GLFWvidmode * glfwGetVideoModes(GLFWmonitor *monitor, int *count)</div><div class="ttdoc">Returns the available video modes for the specified monitor.</div></div>
146
+ <div class="ttc" id="astruct_g_l_f_wvidmode_html"><div class="ttname"><a href="struct_g_l_f_wvidmode.html">GLFWvidmode</a></div><div class="ttdoc">Video mode type.</div><div class="ttdef"><b>Definition</b> glfw3.h:2027</div></div>
147
+ </div><!-- fragment --><p>To get the current video mode of a monitor call <a class="el" href="group__monitor.html#gaba376fa7e76634b4788bddc505d6c9d5">glfwGetVideoMode</a>. See the reference documentation for the lifetime of the returned pointer.</p>
148
+ <div class="fragment"><div class="line"><span class="keyword">const</span> <a class="code hl_struct" href="struct_g_l_f_wvidmode.html">GLFWvidmode</a>* mode = <a class="code hl_function" href="group__monitor.html#gaba376fa7e76634b4788bddc505d6c9d5">glfwGetVideoMode</a>(monitor);</div>
149
+ <div class="ttc" id="agroup__monitor_html_gaba376fa7e76634b4788bddc505d6c9d5"><div class="ttname"><a href="group__monitor.html#gaba376fa7e76634b4788bddc505d6c9d5">glfwGetVideoMode</a></div><div class="ttdeci">const GLFWvidmode * glfwGetVideoMode(GLFWmonitor *monitor)</div><div class="ttdoc">Returns the current mode of the specified monitor.</div></div>
150
+ </div><!-- fragment --><p>The resolution of a video mode is specified in <a class="el" href="intro_guide.html#coordinate_systems">screen coordinates</a>, not pixels.</p>
151
+ <h2><a class="anchor" id="monitor_size"></a>
152
+ Physical size</h2>
153
+ <p>The physical size of a monitor in millimetres, or an estimation of it, can be retrieved with <a class="el" href="group__monitor.html#ga7d8bffc6c55539286a6bd20d32a8d7ea">glfwGetMonitorPhysicalSize</a>. This has no relation to its current <em>resolution</em>, i.e. the width and height of its current <a class="el" href="monitor_guide.html#monitor_modes">video mode</a>.</p>
154
+ <div class="fragment"><div class="line"><span class="keywordtype">int</span> width_mm, height_mm;</div>
155
+ <div class="line"><a class="code hl_function" href="group__monitor.html#ga7d8bffc6c55539286a6bd20d32a8d7ea">glfwGetMonitorPhysicalSize</a>(monitor, &amp;width_mm, &amp;height_mm);</div>
156
+ <div class="ttc" id="agroup__monitor_html_ga7d8bffc6c55539286a6bd20d32a8d7ea"><div class="ttname"><a href="group__monitor.html#ga7d8bffc6c55539286a6bd20d32a8d7ea">glfwGetMonitorPhysicalSize</a></div><div class="ttdeci">void glfwGetMonitorPhysicalSize(GLFWmonitor *monitor, int *widthMM, int *heightMM)</div><div class="ttdoc">Returns the physical size of the monitor.</div></div>
157
+ </div><!-- fragment --><p>While this can be used to calculate the raw DPI of a monitor, this is often not useful. Instead, use the <a class="el" href="monitor_guide.html#monitor_scale">monitor content scale</a> and <a class="el" href="window_guide.html#window_scale">window content scale</a> to scale your content.</p>
158
+ <h2><a class="anchor" id="monitor_scale"></a>
159
+ Content scale</h2>
160
+ <p>The content scale for a monitor can be retrieved with <a class="el" href="group__monitor.html#gad3152e84465fa620b601265ebfcdb21b">glfwGetMonitorContentScale</a>.</p>
161
+ <div class="fragment"><div class="line"><span class="keywordtype">float</span> xscale, yscale;</div>
162
+ <div class="line"><a class="code hl_function" href="group__monitor.html#gad3152e84465fa620b601265ebfcdb21b">glfwGetMonitorContentScale</a>(monitor, &amp;xscale, &amp;yscale);</div>
163
+ <div class="ttc" id="agroup__monitor_html_gad3152e84465fa620b601265ebfcdb21b"><div class="ttname"><a href="group__monitor.html#gad3152e84465fa620b601265ebfcdb21b">glfwGetMonitorContentScale</a></div><div class="ttdeci">void glfwGetMonitorContentScale(GLFWmonitor *monitor, float *xscale, float *yscale)</div><div class="ttdoc">Retrieves the content scale for the specified monitor.</div></div>
164
+ </div><!-- fragment --><p>For more information on what the content scale is and how to use it, see <a class="el" href="window_guide.html#window_scale">window content scale</a>.</p>
165
+ <h2><a class="anchor" id="monitor_pos"></a>
166
+ Virtual position</h2>
167
+ <p>The position of the monitor on the virtual desktop, in <a class="el" href="intro_guide.html#coordinate_systems">screen coordinates</a>, can be retrieved with <a class="el" href="group__monitor.html#ga102f54e7acc9149edbcf0997152df8c9">glfwGetMonitorPos</a>.</p>
168
+ <div class="fragment"><div class="line"><span class="keywordtype">int</span> xpos, ypos;</div>
169
+ <div class="line"><a class="code hl_function" href="group__monitor.html#ga102f54e7acc9149edbcf0997152df8c9">glfwGetMonitorPos</a>(monitor, &amp;xpos, &amp;ypos);</div>
170
+ <div class="ttc" id="agroup__monitor_html_ga102f54e7acc9149edbcf0997152df8c9"><div class="ttname"><a href="group__monitor.html#ga102f54e7acc9149edbcf0997152df8c9">glfwGetMonitorPos</a></div><div class="ttdeci">void glfwGetMonitorPos(GLFWmonitor *monitor, int *xpos, int *ypos)</div><div class="ttdoc">Returns the position of the monitor's viewport on the virtual screen.</div></div>
171
+ </div><!-- fragment --><h2><a class="anchor" id="monitor_workarea"></a>
172
+ Work area</h2>
173
+ <p>The area of a monitor not occupied by global task bars or menu bars is the work area. This is specified in <a class="el" href="intro_guide.html#coordinate_systems">screen coordinates</a> and can be retrieved with <a class="el" href="group__monitor.html#ga7387a3bdb64bfe8ebf2b9e54f5b6c9d0">glfwGetMonitorWorkarea</a>.</p>
174
+ <div class="fragment"><div class="line"><span class="keywordtype">int</span> xpos, ypos, width, height;</div>
175
+ <div class="line"><a class="code hl_function" href="group__monitor.html#ga7387a3bdb64bfe8ebf2b9e54f5b6c9d0">glfwGetMonitorWorkarea</a>(monitor, &amp;xpos, &amp;ypos, &amp;width, &amp;height);</div>
176
+ <div class="ttc" id="agroup__monitor_html_ga7387a3bdb64bfe8ebf2b9e54f5b6c9d0"><div class="ttname"><a href="group__monitor.html#ga7387a3bdb64bfe8ebf2b9e54f5b6c9d0">glfwGetMonitorWorkarea</a></div><div class="ttdeci">void glfwGetMonitorWorkarea(GLFWmonitor *monitor, int *xpos, int *ypos, int *width, int *height)</div><div class="ttdoc">Retrieves the work area of the monitor.</div></div>
177
+ </div><!-- fragment --><h2><a class="anchor" id="monitor_name"></a>
178
+ Human-readable name</h2>
179
+ <p>The human-readable, UTF-8 encoded name of a monitor is returned by <a class="el" href="group__monitor.html#ga7af83e13489d90379588fb331b9e4b68">glfwGetMonitorName</a>. See the reference documentation for the lifetime of the returned string.</p>
180
+ <div class="fragment"><div class="line"><span class="keyword">const</span> <span class="keywordtype">char</span>* name = <a class="code hl_function" href="group__monitor.html#ga7af83e13489d90379588fb331b9e4b68">glfwGetMonitorName</a>(monitor);</div>
181
+ <div class="ttc" id="agroup__monitor_html_ga7af83e13489d90379588fb331b9e4b68"><div class="ttname"><a href="group__monitor.html#ga7af83e13489d90379588fb331b9e4b68">glfwGetMonitorName</a></div><div class="ttdeci">const char * glfwGetMonitorName(GLFWmonitor *monitor)</div><div class="ttdoc">Returns the name of the specified monitor.</div></div>
182
+ </div><!-- fragment --><p>Monitor names are not guaranteed to be unique. Two monitors of the same model and make may have the same name. Only the monitor handle is guaranteed to be unique, and only until that monitor is disconnected.</p>
183
+ <h2><a class="anchor" id="monitor_userptr"></a>
184
+ User pointer</h2>
185
+ <p>Each monitor has a user pointer that can be set with <a class="el" href="group__monitor.html#ga702750e24313a686d3637297b6e85fda">glfwSetMonitorUserPointer</a> and queried with <a class="el" href="group__monitor.html#ga1adbfbfb8cd58b23cfee82e574fbbdc5">glfwGetMonitorUserPointer</a>. This can be used for any purpose you need and will not be modified by GLFW. The value will be kept until the monitor is disconnected or until the library is terminated.</p>
186
+ <p>The initial value of the pointer is <code>NULL</code>.</p>
187
+ <h2><a class="anchor" id="monitor_gamma"></a>
188
+ Gamma ramp</h2>
189
+ <p>The gamma ramp of a monitor can be set with <a class="el" href="group__monitor.html#ga583f0ffd0d29613d8cd172b996bbf0dd">glfwSetGammaRamp</a>, which accepts a monitor handle and a pointer to a <a class="el" href="struct_g_l_f_wgammaramp.html">GLFWgammaramp</a> structure.</p>
190
+ <div class="fragment"><div class="line"><a class="code hl_struct" href="struct_g_l_f_wgammaramp.html">GLFWgammaramp</a> ramp;</div>
191
+ <div class="line"><span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> red[256], green[256], blue[256];</div>
192
+ <div class="line"> </div>
193
+ <div class="line">ramp.<a class="code hl_variable" href="struct_g_l_f_wgammaramp.html#ad620e1cffbff9a32c51bca46301b59a5">size</a> = 256;</div>
194
+ <div class="line">ramp.<a class="code hl_variable" href="struct_g_l_f_wgammaramp.html#a2cce5d968734b685623eef913e635138">red</a> = red;</div>
195
+ <div class="line">ramp.<a class="code hl_variable" href="struct_g_l_f_wgammaramp.html#affccc6f5df47820b6562d709da3a5a3a">green</a> = green;</div>
196
+ <div class="line">ramp.<a class="code hl_variable" href="struct_g_l_f_wgammaramp.html#acf0c836d0efe29c392fe8d1a1042744b">blue</a> = blue;</div>
197
+ <div class="line"> </div>
198
+ <div class="line"><span class="keywordflow">for</span> (i = 0; i &lt; ramp.<a class="code hl_variable" href="struct_g_l_f_wgammaramp.html#ad620e1cffbff9a32c51bca46301b59a5">size</a>; i++)</div>
199
+ <div class="line">{</div>
200
+ <div class="line"> <span class="comment">// Fill out gamma ramp arrays as desired</span></div>
201
+ <div class="line">}</div>
202
+ <div class="line"> </div>
203
+ <div class="line"><a class="code hl_function" href="group__monitor.html#ga583f0ffd0d29613d8cd172b996bbf0dd">glfwSetGammaRamp</a>(monitor, &amp;ramp);</div>
204
+ <div class="ttc" id="agroup__monitor_html_ga583f0ffd0d29613d8cd172b996bbf0dd"><div class="ttname"><a href="group__monitor.html#ga583f0ffd0d29613d8cd172b996bbf0dd">glfwSetGammaRamp</a></div><div class="ttdeci">void glfwSetGammaRamp(GLFWmonitor *monitor, const GLFWgammaramp *ramp)</div><div class="ttdoc">Sets the current gamma ramp for the specified monitor.</div></div>
205
+ <div class="ttc" id="astruct_g_l_f_wgammaramp_html"><div class="ttname"><a href="struct_g_l_f_wgammaramp.html">GLFWgammaramp</a></div><div class="ttdoc">Gamma ramp.</div><div class="ttdef"><b>Definition</b> glfw3.h:2061</div></div>
206
+ <div class="ttc" id="astruct_g_l_f_wgammaramp_html_a2cce5d968734b685623eef913e635138"><div class="ttname"><a href="struct_g_l_f_wgammaramp.html#a2cce5d968734b685623eef913e635138">GLFWgammaramp::red</a></div><div class="ttdeci">unsigned short * red</div><div class="ttdef"><b>Definition</b> glfw3.h:2064</div></div>
207
+ <div class="ttc" id="astruct_g_l_f_wgammaramp_html_acf0c836d0efe29c392fe8d1a1042744b"><div class="ttname"><a href="struct_g_l_f_wgammaramp.html#acf0c836d0efe29c392fe8d1a1042744b">GLFWgammaramp::blue</a></div><div class="ttdeci">unsigned short * blue</div><div class="ttdef"><b>Definition</b> glfw3.h:2070</div></div>
208
+ <div class="ttc" id="astruct_g_l_f_wgammaramp_html_ad620e1cffbff9a32c51bca46301b59a5"><div class="ttname"><a href="struct_g_l_f_wgammaramp.html#ad620e1cffbff9a32c51bca46301b59a5">GLFWgammaramp::size</a></div><div class="ttdeci">unsigned int size</div><div class="ttdef"><b>Definition</b> glfw3.h:2073</div></div>
209
+ <div class="ttc" id="astruct_g_l_f_wgammaramp_html_affccc6f5df47820b6562d709da3a5a3a"><div class="ttname"><a href="struct_g_l_f_wgammaramp.html#affccc6f5df47820b6562d709da3a5a3a">GLFWgammaramp::green</a></div><div class="ttdeci">unsigned short * green</div><div class="ttdef"><b>Definition</b> glfw3.h:2067</div></div>
210
+ </div><!-- fragment --><p>The gamma ramp data is copied before the function returns, so there is no need to keep it around once the ramp has been set.</p>
211
+ <p>It is recommended that your gamma ramp have the same size as the current gamma ramp for that monitor.</p>
212
+ <p>The current gamma ramp for a monitor is returned by <a class="el" href="group__monitor.html#ga76ba90debcf0062b5c4b73052b24f96f">glfwGetGammaRamp</a>. See the reference documentation for the lifetime of the returned structure.</p>
213
+ <div class="fragment"><div class="line"><span class="keyword">const</span> <a class="code hl_struct" href="struct_g_l_f_wgammaramp.html">GLFWgammaramp</a>* ramp = <a class="code hl_function" href="group__monitor.html#ga76ba90debcf0062b5c4b73052b24f96f">glfwGetGammaRamp</a>(monitor);</div>
214
+ <div class="ttc" id="agroup__monitor_html_ga76ba90debcf0062b5c4b73052b24f96f"><div class="ttname"><a href="group__monitor.html#ga76ba90debcf0062b5c4b73052b24f96f">glfwGetGammaRamp</a></div><div class="ttdeci">const GLFWgammaramp * glfwGetGammaRamp(GLFWmonitor *monitor)</div><div class="ttdoc">Returns the current gamma ramp for the specified monitor.</div></div>
215
+ </div><!-- fragment --><p>If you wish to set a regular gamma ramp, you can have GLFW calculate it for you from the desired exponent with <a class="el" href="group__monitor.html#ga6ac582625c990220785ddd34efa3169a">glfwSetGamma</a>, which in turn calls <a class="el" href="group__monitor.html#ga583f0ffd0d29613d8cd172b996bbf0dd">glfwSetGammaRamp</a> with the resulting ramp.</p>
216
+ <div class="fragment"><div class="line"><a class="code hl_function" href="group__monitor.html#ga6ac582625c990220785ddd34efa3169a">glfwSetGamma</a>(monitor, 1.0);</div>
217
+ <div class="ttc" id="agroup__monitor_html_ga6ac582625c990220785ddd34efa3169a"><div class="ttname"><a href="group__monitor.html#ga6ac582625c990220785ddd34efa3169a">glfwSetGamma</a></div><div class="ttdeci">void glfwSetGamma(GLFWmonitor *monitor, float gamma)</div><div class="ttdoc">Generates a gamma ramp and sets it for the specified monitor.</div></div>
218
+ </div><!-- fragment --><p>To experiment with gamma correction via the <a class="el" href="group__monitor.html#ga6ac582625c990220785ddd34efa3169a">glfwSetGamma</a> function, run the <code>gamma</code> test program.</p>
219
+ <dl class="section note"><dt>Note</dt><dd>The software controlled gamma ramp is applied <em>in addition</em> to the hardware gamma correction, which today is typically an approximation of sRGB gamma. This means that setting a perfectly linear ramp, or gamma 1.0, will produce the default (usually sRGB-like) behavior. </dd></dl>
220
+ </div></div><!-- contents -->
221
+ </div><!-- PageDoc -->
222
+ <address class="footer">
223
+ <p>
224
+ Last update on Fri Feb 23 2024 for GLFW 3.4.0
225
+ </p>
226
+ </address>
227
+ </body>
228
+ </html>
@@ -0,0 +1,81 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="IE=9"/>
7
+ <meta name="generator" content="Doxygen 1.9.8"/>
8
+ <title>GLFW: moving.md File Reference</title>
9
+ <link href="tabs.css" rel="stylesheet" type="text/css"/>
10
+ <script type="text/javascript" src="jquery.js"></script>
11
+ <script type="text/javascript" src="dynsections.js"></script>
12
+ <link href="search/search.css" rel="stylesheet" type="text/css"/>
13
+ <script type="text/javascript" src="search/searchdata.js"></script>
14
+ <script type="text/javascript" src="search/search.js"></script>
15
+ <link href="doxygen.css" rel="stylesheet" type="text/css" />
16
+ <link href="extra.css" rel="stylesheet" type="text/css"/>
17
+ </head>
18
+ <body>
19
+ <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
20
+ <div id="titlearea">
21
+ <div class="glfwheader">
22
+ <a href="https://www.glfw.org/" id="glfwhome">GLFW</a>
23
+ <ul class="glfwnavbar">
24
+ <li><a href="https://www.glfw.org/documentation.html">Documentation</a></li>
25
+ <li><a href="https://www.glfw.org/download.html">Download</a></li>
26
+ <li><a href="https://www.glfw.org/community.html">Community</a></li>
27
+ </ul>
28
+ </div>
29
+ </div>
30
+ <!-- end header part -->
31
+ <!-- Generated by Doxygen 1.9.8 -->
32
+ <script type="text/javascript">
33
+ /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
34
+ var searchBox = new SearchBox("searchBox", "search/",'.html');
35
+ /* @license-end */
36
+ </script>
37
+ <script type="text/javascript" src="menudata.js"></script>
38
+ <script type="text/javascript" src="menu.js"></script>
39
+ <script type="text/javascript">
40
+ /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
41
+ $(function() {
42
+ initMenu('',true,false,'search.php','Search');
43
+ $(document).ready(function() { init_search(); });
44
+ });
45
+ /* @license-end */
46
+ </script>
47
+ <div id="main-nav"></div>
48
+ <!-- window showing the filter options -->
49
+ <div id="MSearchSelectWindow"
50
+ onmouseover="return searchBox.OnSearchSelectShow()"
51
+ onmouseout="return searchBox.OnSearchSelectHide()"
52
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
53
+ </div>
54
+
55
+ <!-- iframe showing the search results (closed by default) -->
56
+ <div id="MSearchResultsWindow">
57
+ <div id="MSearchResults">
58
+ <div class="SRPage">
59
+ <div id="SRIndex">
60
+ <div id="SRResults"></div>
61
+ <div class="SRStatus" id="Loading">Loading...</div>
62
+ <div class="SRStatus" id="Searching">Searching...</div>
63
+ <div class="SRStatus" id="NoMatches">No Matches</div>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </div>
68
+
69
+ </div><!-- top -->
70
+ <div class="header">
71
+ <div class="headertitle"><div class="title">moving.md File Reference</div></div>
72
+ </div><!--header-->
73
+ <div class="contents">
74
+ </div><!-- contents -->
75
+ <address class="footer">
76
+ <p>
77
+ Last update on Fri Feb 23 2024 for GLFW 3.4.0
78
+ </p>
79
+ </address>
80
+ </body>
81
+ </html>