From e53f035fb1ece2766fb27c35a9adba87a6268e29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Tue, 15 Sep 2020 20:55:04 +0200 Subject: [PATCH] Add Doxygen documentation snapshots --- docs/3.0.1 | 1 + docs/3.0.2 | 1 + docs/3.0.3 | 1 + docs/3.0.4 | 1 + docs/3.0/annotated.html | 79 + docs/3.0/bc_s.png | Bin 0 -> 676 bytes docs/3.0/bdwn.png | Bin 0 -> 147 bytes docs/3.0/bug.html | 77 + docs/3.0/build.html | 151 + docs/3.0/build_8dox.html | 73 + docs/3.0/classes.html | 82 + docs/3.0/closed.png | Bin 0 -> 132 bytes docs/3.0/compat.html | 110 + docs/3.0/compat_8dox.html | 73 + docs/3.0/compile.html | 196 + docs/3.0/compile_8dox.html | 73 + docs/3.0/context.html | 130 + docs/3.0/context_8dox.html | 73 + .../dir_7d046523570a4bf058ddf3b10b545b6c.html | 85 + .../dir_d44c64559bbebec7f509842c48db8b23.html | 83 + docs/3.0/doc.png | Bin 0 -> 746 bytes docs/3.0/doxygen.css | 1596 ++++++++ docs/3.0/doxygen.png | Bin 0 -> 3779 bytes docs/3.0/dynsections.js | 120 + docs/3.0/extra.css | 1 + docs/3.0/files.html | 79 + docs/3.0/folderclosed.png | Bin 0 -> 616 bytes docs/3.0/folderopen.png | Bin 0 -> 597 bytes docs/3.0/functions.html | 101 + docs/3.0/functions_vars.html | 101 + docs/3.0/glfw3_8h.html | 1442 +++++++ docs/3.0/glfw3_8h_source.html | 180 + docs/3.0/glfw3native_8h.html | 115 + docs/3.0/glfw3native_8h_source.html | 88 + docs/3.0/globals.html | 94 + docs/3.0/globals_b.html | 76 + docs/3.0/globals_c.html | 106 + docs/3.0/globals_d.html | 88 + docs/3.0/globals_defs.html | 94 + docs/3.0/globals_defs_b.html | 76 + docs/3.0/globals_defs_c.html | 103 + docs/3.0/globals_defs_d.html | 82 + docs/3.0/globals_defs_f.html | 79 + docs/3.0/globals_defs_g.html | 76 + docs/3.0/globals_defs_i.html | 82 + docs/3.0/globals_defs_j.html | 124 + docs/3.0/globals_defs_k.html | 439 +++ docs/3.0/globals_defs_l.html | 76 + docs/3.0/globals_defs_m.html | 121 + docs/3.0/globals_defs_n.html | 85 + docs/3.0/globals_defs_o.html | 100 + docs/3.0/globals_defs_p.html | 79 + docs/3.0/globals_defs_r.html | 88 + docs/3.0/globals_defs_s.html | 91 + docs/3.0/globals_defs_v.html | 88 + docs/3.0/globals_e.html | 76 + docs/3.0/globals_f.html | 79 + docs/3.0/globals_func.html | 364 ++ docs/3.0/globals_g.html | 247 ++ docs/3.0/globals_h.html | 76 + docs/3.0/globals_i.html | 88 + docs/3.0/globals_j.html | 127 + docs/3.0/globals_k.html | 439 +++ docs/3.0/globals_l.html | 76 + docs/3.0/globals_m.html | 124 + docs/3.0/globals_n.html | 85 + docs/3.0/globals_o.html | 100 + docs/3.0/globals_p.html | 82 + docs/3.0/globals_r.html | 91 + docs/3.0/globals_s.html | 178 + docs/3.0/globals_t.html | 76 + docs/3.0/globals_type.html | 131 + docs/3.0/globals_v.html | 88 + docs/3.0/globals_w.html | 82 + docs/3.0/group__buttons.html | 273 ++ docs/3.0/group__clipboard.html | 157 + docs/3.0/group__context.html | 286 ++ docs/3.0/group__error.html | 151 + docs/3.0/group__errors.html | 234 ++ docs/3.0/group__init.html | 280 ++ docs/3.0/group__input.html | 983 +++++ docs/3.0/group__joysticks.html | 353 ++ docs/3.0/group__keys.html | 2041 ++++++++++ docs/3.0/group__mods.html | 149 + docs/3.0/group__monitor.html | 572 +++ docs/3.0/group__native.html | 315 ++ docs/3.0/group__time.html | 135 + docs/3.0/group__window.html | 1429 +++++++ docs/3.0/index.html | 75 + docs/3.0/jquery.js | 115 + docs/3.0/main_8dox.html | 73 + docs/3.0/menu.js | 50 + docs/3.0/menudata.js | 91 + docs/3.0/modules.html | 91 + docs/3.0/monitor.html | 107 + docs/3.0/monitor_8dox.html | 73 + docs/3.0/moving.html | 273 ++ docs/3.0/moving_8dox.html | 73 + docs/3.0/nav_f.png | Bin 0 -> 153 bytes docs/3.0/nav_g.png | Bin 0 -> 95 bytes docs/3.0/nav_h.png | Bin 0 -> 98 bytes docs/3.0/news.html | 173 + docs/3.0/news_8dox.html | 73 + docs/3.0/open.png | Bin 0 -> 123 bytes docs/3.0/pages.html | 87 + docs/3.0/quick.html | 156 + docs/3.0/quick_8dox.html | 73 + docs/3.0/search/all_0.html | 30 + docs/3.0/search/all_0.js | 8 + docs/3.0/search/all_1.html | 30 + docs/3.0/search/all_1.js | 10 + docs/3.0/search/all_2.html | 30 + docs/3.0/search/all_2.js | 5 + docs/3.0/search/all_3.html | 30 + docs/3.0/search/all_3.js | 323 ++ docs/3.0/search/all_4.html | 30 + docs/3.0/search/all_4.js | 4 + docs/3.0/search/all_5.html | 30 + docs/3.0/search/all_5.js | 5 + docs/3.0/search/all_6.html | 30 + docs/3.0/search/all_6.js | 4 + docs/3.0/search/all_7.html | 30 + docs/3.0/search/all_7.js | 4 + docs/3.0/search/all_8.html | 30 + docs/3.0/search/all_8.js | 11 + docs/3.0/search/all_9.html | 30 + docs/3.0/search/all_9.js | 7 + docs/3.0/search/all_a.html | 30 + docs/3.0/search/all_a.js | 4 + docs/3.0/search/all_b.html | 30 + docs/3.0/search/all_b.js | 6 + docs/3.0/search/all_c.html | 30 + docs/3.0/search/all_c.js | 5 + docs/3.0/search/all_d.html | 30 + docs/3.0/search/all_d.js | 4 + docs/3.0/search/all_e.html | 30 + docs/3.0/search/all_e.js | 7 + docs/3.0/search/classes_0.html | 30 + docs/3.0/search/classes_0.js | 5 + docs/3.0/search/close.png | Bin 0 -> 273 bytes docs/3.0/search/defines_0.html | 30 + docs/3.0/search/defines_0.js | 47 + docs/3.0/search/files_0.html | 30 + docs/3.0/search/files_0.js | 4 + docs/3.0/search/files_1.html | 30 + docs/3.0/search/files_1.js | 6 + docs/3.0/search/files_2.html | 30 + docs/3.0/search/files_2.js | 5 + docs/3.0/search/files_3.html | 30 + docs/3.0/search/files_3.js | 6 + docs/3.0/search/files_4.html | 30 + docs/3.0/search/files_4.js | 4 + docs/3.0/search/files_5.html | 30 + docs/3.0/search/files_5.js | 4 + docs/3.0/search/files_6.html | 30 + docs/3.0/search/files_6.js | 4 + docs/3.0/search/functions_0.html | 30 + docs/3.0/search/functions_0.js | 84 + docs/3.0/search/groups_0.html | 30 + docs/3.0/search/groups_0.js | 5 + docs/3.0/search/groups_1.html | 30 + docs/3.0/search/groups_1.js | 5 + docs/3.0/search/groups_2.html | 30 + docs/3.0/search/groups_2.js | 5 + docs/3.0/search/groups_3.html | 30 + docs/3.0/search/groups_3.js | 4 + docs/3.0/search/groups_4.html | 30 + docs/3.0/search/groups_4.js | 4 + docs/3.0/search/groups_5.html | 30 + docs/3.0/search/groups_5.js | 6 + docs/3.0/search/groups_6.html | 30 + docs/3.0/search/groups_6.js | 4 + docs/3.0/search/groups_7.html | 30 + docs/3.0/search/groups_7.js | 4 + docs/3.0/search/groups_8.html | 30 + docs/3.0/search/groups_8.js | 4 + docs/3.0/search/mag_sel.png | Bin 0 -> 563 bytes docs/3.0/search/nomatches.html | 12 + docs/3.0/search/pages_0.html | 30 + docs/3.0/search/pages_0.js | 5 + docs/3.0/search/pages_1.html | 30 + docs/3.0/search/pages_1.js | 5 + docs/3.0/search/pages_2.html | 30 + docs/3.0/search/pages_2.js | 4 + docs/3.0/search/pages_3.html | 30 + docs/3.0/search/pages_3.js | 5 + docs/3.0/search/pages_4.html | 30 + docs/3.0/search/pages_4.js | 5 + docs/3.0/search/pages_5.html | 30 + docs/3.0/search/pages_5.js | 4 + docs/3.0/search/pages_6.html | 30 + docs/3.0/search/pages_6.js | 4 + docs/3.0/search/search.css | 271 ++ docs/3.0/search/search.js | 814 ++++ docs/3.0/search/search_l.png | Bin 0 -> 604 bytes docs/3.0/search/search_m.png | Bin 0 -> 158 bytes docs/3.0/search/search_r.png | Bin 0 -> 612 bytes docs/3.0/search/searchdata.js | 39 + docs/3.0/search/typedefs_0.html | 30 + docs/3.0/search/typedefs_0.js | 23 + docs/3.0/search/variables_0.html | 30 + docs/3.0/search/variables_0.js | 5 + docs/3.0/search/variables_1.html | 30 + docs/3.0/search/variables_1.js | 5 + docs/3.0/search/variables_2.html | 30 + docs/3.0/search/variables_2.js | 4 + docs/3.0/search/variables_3.html | 30 + docs/3.0/search/variables_3.js | 6 + docs/3.0/search/variables_4.html | 30 + docs/3.0/search/variables_4.js | 4 + docs/3.0/search/variables_5.html | 30 + docs/3.0/search/variables_5.js | 4 + docs/3.0/splitbar.png | Bin 0 -> 314 bytes docs/3.0/structGLFWgammaramp.html | 157 + docs/3.0/structGLFWvidmode.html | 190 + docs/3.0/sync_off.png | Bin 0 -> 853 bytes docs/3.0/sync_on.png | Bin 0 -> 845 bytes docs/3.0/tab_a.png | Bin 0 -> 142 bytes docs/3.0/tab_b.png | Bin 0 -> 169 bytes docs/3.0/tab_h.png | Bin 0 -> 177 bytes docs/3.0/tab_s.png | Bin 0 -> 184 bytes docs/3.0/tabs.css | 1 + docs/3.0/window.html | 267 ++ docs/3.0/window_8dox.html | 73 + docs/3.1.1 | 1 + docs/3.1.2 | 1 + docs/3.1/annotated.html | 80 + docs/3.1/bc_s.png | Bin 0 -> 676 bytes docs/3.1/bdwn.png | Bin 0 -> 147 bytes docs/3.1/bug.html | 77 + docs/3.1/build.html | 165 + docs/3.1/build_8dox.html | 73 + docs/3.1/classes.html | 82 + docs/3.1/closed.png | Bin 0 -> 132 bytes docs/3.1/compat.html | 121 + docs/3.1/compat_8dox.html | 73 + docs/3.1/compile.html | 210 + docs/3.1/compile_8dox.html | 73 + docs/3.1/context.html | 171 + docs/3.1/context_8dox.html | 73 + .../dir_7d046523570a4bf058ddf3b10b545b6c.html | 85 + .../dir_d44c64559bbebec7f509842c48db8b23.html | 83 + docs/3.1/doc.png | Bin 0 -> 746 bytes docs/3.1/doxygen.css | 1596 ++++++++ docs/3.1/doxygen.png | Bin 0 -> 3779 bytes docs/3.1/dynsections.js | 120 + docs/3.1/extra.css | 1 + docs/3.1/files.html | 79 + docs/3.1/folderclosed.png | Bin 0 -> 616 bytes docs/3.1/folderopen.png | Bin 0 -> 597 bytes docs/3.1/functions.html | 106 + docs/3.1/functions_vars.html | 106 + docs/3.1/glfw3_8h.html | 1657 ++++++++ docs/3.1/glfw3_8h_source.html | 196 + docs/3.1/glfw3native_8h.html | 130 + docs/3.1/glfw3native_8h_source.html | 94 + docs/3.1/globals.html | 103 + docs/3.1/globals_b.html | 76 + docs/3.1/globals_c.html | 118 + docs/3.1/globals_d.html | 97 + docs/3.1/globals_defs.html | 103 + docs/3.1/globals_defs_b.html | 76 + docs/3.1/globals_defs_c.html | 109 + docs/3.1/globals_defs_d.html | 88 + docs/3.1/globals_defs_f.html | 82 + docs/3.1/globals_defs_g.html | 76 + docs/3.1/globals_defs_h.html | 79 + docs/3.1/globals_defs_i.html | 85 + docs/3.1/globals_defs_j.html | 124 + docs/3.1/globals_defs_k.html | 439 +++ docs/3.1/globals_defs_l.html | 76 + docs/3.1/globals_defs_m.html | 121 + docs/3.1/globals_defs_n.html | 85 + docs/3.1/globals_defs_o.html | 100 + docs/3.1/globals_defs_p.html | 79 + docs/3.1/globals_defs_r.html | 94 + docs/3.1/globals_defs_s.html | 91 + docs/3.1/globals_defs_v.html | 91 + docs/3.1/globals_e.html | 76 + docs/3.1/globals_f.html | 82 + docs/3.1/globals_func.html | 403 ++ docs/3.1/globals_g.html | 277 ++ docs/3.1/globals_h.html | 82 + docs/3.1/globals_i.html | 91 + docs/3.1/globals_j.html | 127 + docs/3.1/globals_k.html | 439 +++ docs/3.1/globals_l.html | 76 + docs/3.1/globals_m.html | 124 + docs/3.1/globals_n.html | 85 + docs/3.1/globals_o.html | 100 + docs/3.1/globals_p.html | 85 + docs/3.1/globals_r.html | 97 + docs/3.1/globals_s.html | 187 + docs/3.1/globals_t.html | 76 + docs/3.1/globals_type.html | 143 + docs/3.1/globals_v.html | 91 + docs/3.1/globals_w.html | 82 + docs/3.1/group__buttons.html | 274 ++ docs/3.1/group__context.html | 280 ++ docs/3.1/group__errors.html | 258 ++ docs/3.1/group__init.html | 360 ++ docs/3.1/group__input.html | 1494 +++++++ docs/3.1/group__joysticks.html | 354 ++ docs/3.1/group__keys.html | 2042 ++++++++++ docs/3.1/group__mods.html | 150 + docs/3.1/group__monitor.html | 615 +++ docs/3.1/group__native.html | 455 +++ docs/3.1/group__shapes.html | 190 + docs/3.1/group__window.html | 1661 ++++++++ docs/3.1/index.html | 89 + docs/3.1/input.html | 239 ++ docs/3.1/input_8dox.html | 73 + docs/3.1/intro.html | 230 ++ docs/3.1/intro_8dox.html | 73 + docs/3.1/jquery.js | 115 + docs/3.1/main_8dox.html | 73 + docs/3.1/menu.js | 50 + docs/3.1/menudata.js | 92 + docs/3.1/modules.html | 89 + docs/3.1/monitor.html | 137 + docs/3.1/monitor_8dox.html | 73 + docs/3.1/moving.html | 300 ++ docs/3.1/moving_8dox.html | 73 + docs/3.1/nav_f.png | Bin 0 -> 153 bytes docs/3.1/nav_g.png | Bin 0 -> 95 bytes docs/3.1/nav_h.png | Bin 0 -> 98 bytes docs/3.1/news.html | 199 + docs/3.1/news_8dox.html | 73 + docs/3.1/open.png | Bin 0 -> 123 bytes docs/3.1/pages.html | 90 + docs/3.1/quick.html | 176 + docs/3.1/quick_8dox.html | 73 + docs/3.1/rift.html | 133 + docs/3.1/rift_8dox.html | 73 + docs/3.1/search/all_0.html | 30 + docs/3.1/search/all_0.js | 8 + docs/3.1/search/all_1.html | 30 + docs/3.1/search/all_1.js | 9 + docs/3.1/search/all_2.html | 30 + docs/3.1/search/all_2.js | 4 + docs/3.1/search/all_3.html | 30 + docs/3.1/search/all_3.js | 354 ++ docs/3.1/search/all_4.html | 30 + docs/3.1/search/all_4.js | 4 + docs/3.1/search/all_5.html | 30 + docs/3.1/search/all_5.js | 9 + docs/3.1/search/all_6.html | 30 + docs/3.1/search/all_6.js | 4 + docs/3.1/search/all_7.html | 30 + docs/3.1/search/all_7.js | 4 + docs/3.1/search/all_8.html | 30 + docs/3.1/search/all_8.js | 11 + docs/3.1/search/all_9.html | 30 + docs/3.1/search/all_9.js | 7 + docs/3.1/search/all_a.html | 30 + docs/3.1/search/all_a.js | 4 + docs/3.1/search/all_b.html | 30 + docs/3.1/search/all_b.js | 4 + docs/3.1/search/all_c.html | 30 + docs/3.1/search/all_c.js | 4 + docs/3.1/search/all_d.html | 30 + docs/3.1/search/all_d.js | 7 + docs/3.1/search/all_e.html | 30 + docs/3.1/search/all_e.js | 6 + docs/3.1/search/all_f.html | 30 + docs/3.1/search/all_f.js | 7 + docs/3.1/search/classes_0.html | 30 + docs/3.1/search/classes_0.js | 6 + docs/3.1/search/close.png | Bin 0 -> 273 bytes docs/3.1/search/defines_0.html | 30 + docs/3.1/search/defines_0.js | 55 + docs/3.1/search/files_0.html | 30 + docs/3.1/search/files_0.js | 4 + docs/3.1/search/files_1.html | 30 + docs/3.1/search/files_1.js | 6 + docs/3.1/search/files_2.html | 30 + docs/3.1/search/files_2.js | 5 + docs/3.1/search/files_3.html | 30 + docs/3.1/search/files_3.js | 5 + docs/3.1/search/files_4.html | 30 + docs/3.1/search/files_4.js | 6 + docs/3.1/search/files_5.html | 30 + docs/3.1/search/files_5.js | 4 + docs/3.1/search/files_6.html | 30 + docs/3.1/search/files_6.js | 4 + docs/3.1/search/files_7.html | 30 + docs/3.1/search/files_7.js | 4 + docs/3.1/search/files_8.html | 30 + docs/3.1/search/files_8.js | 4 + docs/3.1/search/functions_0.html | 30 + docs/3.1/search/functions_0.js | 97 + docs/3.1/search/groups_0.html | 30 + docs/3.1/search/groups_0.js | 4 + docs/3.1/search/groups_1.html | 30 + docs/3.1/search/groups_1.js | 4 + docs/3.1/search/groups_2.html | 30 + docs/3.1/search/groups_2.js | 5 + docs/3.1/search/groups_3.html | 30 + docs/3.1/search/groups_3.js | 4 + docs/3.1/search/groups_4.html | 30 + docs/3.1/search/groups_4.js | 4 + docs/3.1/search/groups_5.html | 30 + docs/3.1/search/groups_5.js | 6 + docs/3.1/search/groups_6.html | 30 + docs/3.1/search/groups_6.js | 4 + docs/3.1/search/groups_7.html | 30 + docs/3.1/search/groups_7.js | 4 + docs/3.1/search/groups_8.html | 30 + docs/3.1/search/groups_8.js | 4 + docs/3.1/search/mag_sel.png | Bin 0 -> 563 bytes docs/3.1/search/nomatches.html | 12 + docs/3.1/search/pages_0.html | 30 + docs/3.1/search/pages_0.js | 5 + docs/3.1/search/pages_1.html | 30 + docs/3.1/search/pages_1.js | 5 + docs/3.1/search/pages_2.html | 30 + docs/3.1/search/pages_2.js | 4 + docs/3.1/search/pages_3.html | 30 + docs/3.1/search/pages_3.js | 5 + docs/3.1/search/pages_4.html | 30 + docs/3.1/search/pages_4.js | 5 + docs/3.1/search/pages_5.html | 30 + docs/3.1/search/pages_5.js | 5 + docs/3.1/search/pages_6.html | 30 + docs/3.1/search/pages_6.js | 4 + docs/3.1/search/pages_7.html | 30 + docs/3.1/search/pages_7.js | 4 + docs/3.1/search/pages_8.html | 30 + docs/3.1/search/pages_8.js | 4 + docs/3.1/search/search.css | 271 ++ docs/3.1/search/search.js | 814 ++++ docs/3.1/search/search_l.png | Bin 0 -> 604 bytes docs/3.1/search/search_m.png | Bin 0 -> 158 bytes docs/3.1/search/search_r.png | Bin 0 -> 612 bytes docs/3.1/search/searchdata.js | 39 + docs/3.1/search/typedefs_0.html | 30 + docs/3.1/search/typedefs_0.js | 27 + docs/3.1/search/variables_0.html | 30 + docs/3.1/search/variables_0.js | 5 + docs/3.1/search/variables_1.html | 30 + docs/3.1/search/variables_1.js | 5 + docs/3.1/search/variables_2.html | 30 + docs/3.1/search/variables_2.js | 4 + docs/3.1/search/variables_3.html | 30 + docs/3.1/search/variables_3.js | 4 + docs/3.1/search/variables_4.html | 30 + docs/3.1/search/variables_4.js | 6 + docs/3.1/search/variables_5.html | 30 + docs/3.1/search/variables_5.js | 4 + docs/3.1/search/variables_6.html | 30 + docs/3.1/search/variables_6.js | 4 + docs/3.1/spaces.svg | 872 +++++ docs/3.1/splitbar.png | Bin 0 -> 314 bytes docs/3.1/structGLFWgammaramp.html | 157 + docs/3.1/structGLFWimage.html | 137 + docs/3.1/structGLFWvidmode.html | 190 + docs/3.1/sync_off.png | Bin 0 -> 853 bytes docs/3.1/sync_on.png | Bin 0 -> 845 bytes docs/3.1/tab_a.png | Bin 0 -> 142 bytes docs/3.1/tab_b.png | Bin 0 -> 169 bytes docs/3.1/tab_h.png | Bin 0 -> 177 bytes docs/3.1/tab_s.png | Bin 0 -> 184 bytes docs/3.1/tabs.css | 1 + docs/3.1/window.html | 401 ++ docs/3.1/window_8dox.html | 73 + docs/3.2.1 | 1 + docs/3.2/bc_s.png | Bin 0 -> 676 bytes docs/3.2/bdwn.png | Bin 0 -> 147 bytes docs/3.2/bug.html | 77 + docs/3.2/build.html | 1 + docs/3.2/build_8dox.html | 73 + docs/3.2/build_guide.html | 171 + docs/3.2/closed.png | Bin 0 -> 132 bytes docs/3.2/compat.html | 1 + docs/3.2/compat_8dox.html | 73 + docs/3.2/compat_guide.html | 133 + docs/3.2/compile.html | 1 + docs/3.2/compile_8dox.html | 73 + docs/3.2/compile_guide.html | 194 + docs/3.2/context.html | 1 + docs/3.2/context_8dox.html | 73 + docs/3.2/context_guide.html | 178 + .../dir_7d046523570a4bf058ddf3b10b545b6c.html | 87 + .../dir_d44c64559bbebec7f509842c48db8b23.html | 83 + docs/3.2/doc.png | Bin 0 -> 746 bytes docs/3.2/doxygen.css | 1596 ++++++++ docs/3.2/doxygen.png | Bin 0 -> 3779 bytes docs/3.2/dynsections.js | 120 + docs/3.2/extra.css | 1 + docs/3.2/files.html | 79 + docs/3.2/folderclosed.png | Bin 0 -> 616 bytes docs/3.2/folderopen.png | Bin 0 -> 597 bytes docs/3.2/glfw3_8h.html | 1843 +++++++++ docs/3.2/glfw3_8h_source.html | 214 + docs/3.2/glfw3native_8h.html | 153 + docs/3.2/glfw3native_8h_source.html | 101 + docs/3.2/group__buttons.html | 274 ++ docs/3.2/group__context.html | 293 ++ docs/3.2/group__errors.html | 277 ++ docs/3.2/group__init.html | 355 ++ docs/3.2/group__input.html | 1719 ++++++++ docs/3.2/group__joysticks.html | 354 ++ docs/3.2/group__keys.html | 2042 ++++++++++ docs/3.2/group__mods.html | 150 + docs/3.2/group__monitor.html | 626 +++ docs/3.2/group__native.html | 626 +++ docs/3.2/group__shapes.html | 190 + docs/3.2/group__vulkan.html | 345 ++ docs/3.2/group__window.html | 2103 ++++++++++ docs/3.2/index.html | 90 + docs/3.2/input.html | 1 + docs/3.2/input_8dox.html | 73 + docs/3.2/input_guide.html | 254 ++ docs/3.2/intro.html | 1 + docs/3.2/intro_8dox.html | 73 + docs/3.2/intro_guide.html | 247 ++ docs/3.2/jquery.js | 115 + docs/3.2/main_8dox.html | 73 + docs/3.2/menu.js | 50 + docs/3.2/menudata.js | 29 + docs/3.2/modules.html | 90 + docs/3.2/monitor.html | 1 + docs/3.2/monitor_8dox.html | 73 + docs/3.2/monitor_guide.html | 138 + docs/3.2/moving.html | 1 + docs/3.2/moving_8dox.html | 73 + docs/3.2/moving_guide.html | 312 ++ docs/3.2/nav_f.png | Bin 0 -> 153 bytes docs/3.2/nav_g.png | Bin 0 -> 95 bytes docs/3.2/nav_h.png | Bin 0 -> 98 bytes docs/3.2/news.html | 240 ++ docs/3.2/news_8dox.html | 73 + docs/3.2/open.png | Bin 0 -> 123 bytes docs/3.2/pages.html | 90 + docs/3.2/quick.html | 1 + docs/3.2/quick_8dox.html | 73 + docs/3.2/quick_guide.html | 177 + docs/3.2/search/all_0.html | 30 + docs/3.2/search/all_0.js | 8 + docs/3.2/search/all_1.html | 30 + docs/3.2/search/all_1.js | 9 + docs/3.2/search/all_2.html | 30 + docs/3.2/search/all_2.js | 4 + docs/3.2/search/all_3.html | 30 + docs/3.2/search/all_3.js | 388 ++ docs/3.2/search/all_4.html | 30 + docs/3.2/search/all_4.js | 4 + docs/3.2/search/all_5.html | 30 + docs/3.2/search/all_5.js | 9 + docs/3.2/search/all_6.html | 30 + docs/3.2/search/all_6.js | 4 + docs/3.2/search/all_7.html | 30 + docs/3.2/search/all_7.js | 4 + docs/3.2/search/all_8.html | 30 + docs/3.2/search/all_8.js | 11 + docs/3.2/search/all_9.html | 30 + docs/3.2/search/all_9.js | 7 + docs/3.2/search/all_a.html | 30 + docs/3.2/search/all_a.js | 4 + docs/3.2/search/all_b.html | 30 + docs/3.2/search/all_b.js | 4 + docs/3.2/search/all_c.html | 30 + docs/3.2/search/all_c.js | 6 + docs/3.2/search/all_d.html | 30 + docs/3.2/search/all_d.js | 6 + docs/3.2/search/all_e.html | 30 + docs/3.2/search/all_e.js | 6 + docs/3.2/search/all_f.html | 30 + docs/3.2/search/all_f.js | 7 + docs/3.2/search/classes_0.html | 30 + docs/3.2/search/classes_0.js | 6 + docs/3.2/search/close.png | Bin 0 -> 273 bytes docs/3.2/search/defines_0.html | 30 + docs/3.2/search/defines_0.js | 63 + docs/3.2/search/files_0.html | 30 + docs/3.2/search/files_0.js | 4 + docs/3.2/search/files_1.html | 30 + docs/3.2/search/files_1.js | 6 + docs/3.2/search/files_2.html | 30 + docs/3.2/search/files_2.js | 5 + docs/3.2/search/files_3.html | 30 + docs/3.2/search/files_3.js | 5 + docs/3.2/search/files_4.html | 30 + docs/3.2/search/files_4.js | 6 + docs/3.2/search/files_5.html | 30 + docs/3.2/search/files_5.js | 4 + docs/3.2/search/files_6.html | 30 + docs/3.2/search/files_6.js | 4 + docs/3.2/search/files_7.html | 30 + docs/3.2/search/files_7.js | 4 + docs/3.2/search/files_8.html | 30 + docs/3.2/search/files_8.js | 4 + docs/3.2/search/functions_0.html | 30 + docs/3.2/search/functions_0.js | 120 + docs/3.2/search/groups_0.html | 30 + docs/3.2/search/groups_0.js | 4 + docs/3.2/search/groups_1.html | 30 + docs/3.2/search/groups_1.js | 4 + docs/3.2/search/groups_2.html | 30 + docs/3.2/search/groups_2.js | 5 + docs/3.2/search/groups_3.html | 30 + docs/3.2/search/groups_3.js | 4 + docs/3.2/search/groups_4.html | 30 + docs/3.2/search/groups_4.js | 4 + docs/3.2/search/groups_5.html | 30 + docs/3.2/search/groups_5.js | 6 + docs/3.2/search/groups_6.html | 30 + docs/3.2/search/groups_6.js | 4 + docs/3.2/search/groups_7.html | 30 + docs/3.2/search/groups_7.js | 4 + docs/3.2/search/groups_8.html | 30 + docs/3.2/search/groups_8.js | 4 + docs/3.2/search/groups_9.html | 30 + docs/3.2/search/groups_9.js | 4 + docs/3.2/search/mag_sel.png | Bin 0 -> 563 bytes docs/3.2/search/nomatches.html | 12 + docs/3.2/search/pages_0.html | 30 + docs/3.2/search/pages_0.js | 5 + docs/3.2/search/pages_1.html | 30 + docs/3.2/search/pages_1.js | 5 + docs/3.2/search/pages_2.html | 30 + docs/3.2/search/pages_2.js | 4 + docs/3.2/search/pages_3.html | 30 + docs/3.2/search/pages_3.js | 5 + docs/3.2/search/pages_4.html | 30 + docs/3.2/search/pages_4.js | 5 + docs/3.2/search/pages_5.html | 30 + docs/3.2/search/pages_5.js | 5 + docs/3.2/search/pages_6.html | 30 + docs/3.2/search/pages_6.js | 4 + docs/3.2/search/pages_7.html | 30 + docs/3.2/search/pages_7.js | 4 + docs/3.2/search/pages_8.html | 30 + docs/3.2/search/pages_8.js | 4 + docs/3.2/search/search.css | 271 ++ docs/3.2/search/search.js | 814 ++++ docs/3.2/search/search_l.png | Bin 0 -> 604 bytes docs/3.2/search/search_m.png | Bin 0 -> 158 bytes docs/3.2/search/search_r.png | Bin 0 -> 612 bytes docs/3.2/search/searchdata.js | 39 + docs/3.2/search/typedefs_0.html | 30 + docs/3.2/search/typedefs_0.js | 29 + docs/3.2/search/variables_0.html | 30 + docs/3.2/search/variables_0.js | 5 + docs/3.2/search/variables_1.html | 30 + docs/3.2/search/variables_1.js | 5 + docs/3.2/search/variables_2.html | 30 + docs/3.2/search/variables_2.js | 4 + docs/3.2/search/variables_3.html | 30 + docs/3.2/search/variables_3.js | 4 + docs/3.2/search/variables_4.html | 30 + docs/3.2/search/variables_4.js | 6 + docs/3.2/search/variables_5.html | 30 + docs/3.2/search/variables_5.js | 4 + docs/3.2/search/variables_6.html | 30 + docs/3.2/search/variables_6.js | 4 + docs/3.2/spaces.svg | 872 +++++ docs/3.2/splitbar.png | Bin 0 -> 314 bytes docs/3.2/structGLFWgammaramp.html | 160 + docs/3.2/structGLFWimage.html | 142 + docs/3.2/structGLFWvidmode.html | 194 + docs/3.2/sync_off.png | Bin 0 -> 853 bytes docs/3.2/sync_on.png | Bin 0 -> 845 bytes docs/3.2/tab_a.png | Bin 0 -> 142 bytes docs/3.2/tab_b.png | Bin 0 -> 169 bytes docs/3.2/tab_h.png | Bin 0 -> 177 bytes docs/3.2/tab_s.png | Bin 0 -> 184 bytes docs/3.2/tabs.css | 1 + docs/3.2/vulkan.html | 1 + docs/3.2/vulkan_8dox.html | 73 + docs/3.2/vulkan_guide.html | 134 + docs/3.2/window.html | 1 + docs/3.2/window_8dox.html | 73 + docs/3.2/window_guide.html | 441 +++ docs/3.3.1 | 1 + docs/3.3.2 | 1 + docs/3.3.3 | 1 + docs/3.3/bc_s.png | Bin 0 -> 676 bytes docs/3.3/bdwn.png | Bin 0 -> 147 bytes docs/3.3/bug.html | 79 + docs/3.3/build.html | 1 + docs/3.3/build_8dox.html | 74 + docs/3.3/build_guide.html | 192 + docs/3.3/closed.png | Bin 0 -> 132 bytes docs/3.3/compat.html | 1 + docs/3.3/compat_8dox.html | 74 + docs/3.3/compat_guide.html | 145 + docs/3.3/compile.html | 1 + docs/3.3/compile_8dox.html | 74 + docs/3.3/compile_guide.html | 198 + docs/3.3/context.html | 1 + docs/3.3/context_8dox.html | 74 + docs/3.3/context_guide.html | 251 ++ docs/3.3/deprecated.html | 81 + .../dir_49e56c817e5e54854c35e136979f97ca.html | 78 + .../dir_7d046523570a4bf058ddf3b10b545b6c.html | 88 + .../dir_d44c64559bbebec7f509842c48db8b23.html | 84 + docs/3.3/doc.png | Bin 0 -> 746 bytes docs/3.3/doxygen.css | 1766 +++++++++ docs/3.3/doxygen.png | Bin 0 -> 3779 bytes docs/3.3/dynsections.js | 120 + docs/3.3/extra.css | 1 + docs/3.3/files.html | 80 + docs/3.3/folderclosed.png | Bin 0 -> 616 bytes docs/3.3/folderopen.png | Bin 0 -> 597 bytes docs/3.3/glfw3_8h.html | 1603 ++++++++ docs/3.3/glfw3_8h_source.html | 1232 ++++++ docs/3.3/glfw3native_8h.html | 160 + docs/3.3/glfw3native_8h_source.html | 273 ++ docs/3.3/group__buttons.html | 275 ++ docs/3.3/group__context.html | 295 ++ docs/3.3/group__errors.html | 297 ++ docs/3.3/group__gamepad__axes.html | 195 + docs/3.3/group__gamepad__buttons.html | 403 ++ docs/3.3/group__hat__state.html | 227 ++ docs/3.3/group__init.html | 545 +++ docs/3.3/group__input.html | 2227 +++++++++++ docs/3.3/group__joysticks.html | 355 ++ docs/3.3/group__keys.html | 2043 ++++++++++ docs/3.3/group__mods.html | 191 + docs/3.3/group__monitor.html | 841 ++++ docs/3.3/group__native.html | 771 ++++ docs/3.3/group__shapes.html | 191 + docs/3.3/group__vulkan.html | 354 ++ docs/3.3/group__window.html | 3425 ++++++++++++++++ docs/3.3/index.html | 92 + docs/3.3/input.html | 1 + docs/3.3/input_8dox.html | 74 + docs/3.3/input_guide.html | 559 +++ docs/3.3/internal_8dox.html | 74 + docs/3.3/internals.html | 1 + docs/3.3/internals_guide.html | 125 + docs/3.3/intro.html | 1 + docs/3.3/intro_8dox.html | 74 + docs/3.3/intro_guide.html | 329 ++ docs/3.3/jquery.js | 35 + docs/3.3/main_8dox.html | 74 + docs/3.3/menu.js | 50 + docs/3.3/menudata.js | 28 + docs/3.3/modules.html | 94 + docs/3.3/monitor.html | 1 + docs/3.3/monitor_8dox.html | 74 + docs/3.3/monitor_guide.html | 222 ++ docs/3.3/moving.html | 1 + docs/3.3/moving_8dox.html | 74 + docs/3.3/moving_guide.html | 367 ++ docs/3.3/nav_f.png | Bin 0 -> 153 bytes docs/3.3/nav_g.png | Bin 0 -> 95 bytes docs/3.3/nav_h.png | Bin 0 -> 98 bytes docs/3.3/news.html | 606 +++ docs/3.3/news_8dox.html | 74 + docs/3.3/open.png | Bin 0 -> 123 bytes docs/3.3/pages.html | 93 + docs/3.3/quick.html | 1 + docs/3.3/quick_8dox.html | 74 + docs/3.3/quick_guide.html | 391 ++ docs/3.3/search/all_0.html | 30 + docs/3.3/search/all_0.js | 4 + docs/3.3/search/all_1.html | 30 + docs/3.3/search/all_1.js | 9 + docs/3.3/search/all_10.html | 30 + docs/3.3/search/all_10.js | 6 + docs/3.3/search/all_11.html | 30 + docs/3.3/search/all_11.js | 7 + docs/3.3/search/all_2.html | 30 + docs/3.3/search/all_2.js | 9 + docs/3.3/search/all_3.html | 30 + docs/3.3/search/all_3.js | 4 + docs/3.3/search/all_4.html | 30 + docs/3.3/search/all_4.js | 4 + docs/3.3/search/all_5.html | 30 + docs/3.3/search/all_5.js | 476 +++ docs/3.3/search/all_6.html | 30 + docs/3.3/search/all_6.js | 4 + docs/3.3/search/all_7.html | 30 + docs/3.3/search/all_7.js | 11 + docs/3.3/search/all_8.html | 30 + docs/3.3/search/all_8.js | 5 + docs/3.3/search/all_9.html | 30 + docs/3.3/search/all_9.js | 4 + docs/3.3/search/all_a.html | 30 + docs/3.3/search/all_a.js | 11 + docs/3.3/search/all_b.html | 30 + docs/3.3/search/all_b.js | 6 + docs/3.3/search/all_c.html | 30 + docs/3.3/search/all_c.js | 4 + docs/3.3/search/all_d.html | 30 + docs/3.3/search/all_d.js | 4 + docs/3.3/search/all_e.html | 30 + docs/3.3/search/all_e.js | 7 + docs/3.3/search/all_f.html | 30 + docs/3.3/search/all_f.js | 6 + docs/3.3/search/classes_0.html | 30 + docs/3.3/search/classes_0.js | 7 + docs/3.3/search/close.png | Bin 0 -> 273 bytes docs/3.3/search/defines_0.html | 30 + docs/3.3/search/defines_0.js | 31 + docs/3.3/search/files_0.html | 30 + docs/3.3/search/files_0.js | 4 + docs/3.3/search/files_1.html | 30 + docs/3.3/search/files_1.js | 6 + docs/3.3/search/files_2.html | 30 + docs/3.3/search/files_2.js | 5 + docs/3.3/search/files_3.html | 30 + docs/3.3/search/files_3.js | 6 + docs/3.3/search/files_4.html | 30 + docs/3.3/search/files_4.js | 6 + docs/3.3/search/files_5.html | 30 + docs/3.3/search/files_5.js | 4 + docs/3.3/search/files_6.html | 30 + docs/3.3/search/files_6.js | 4 + docs/3.3/search/files_7.html | 30 + docs/3.3/search/files_7.js | 4 + docs/3.3/search/files_8.html | 30 + docs/3.3/search/files_8.js | 4 + docs/3.3/search/functions_0.html | 30 + docs/3.3/search/functions_0.js | 146 + docs/3.3/search/groups_0.html | 30 + docs/3.3/search/groups_0.js | 4 + docs/3.3/search/groups_1.html | 30 + docs/3.3/search/groups_1.js | 4 + docs/3.3/search/groups_2.html | 30 + docs/3.3/search/groups_2.js | 5 + docs/3.3/search/groups_3.html | 30 + docs/3.3/search/groups_3.js | 5 + docs/3.3/search/groups_4.html | 30 + docs/3.3/search/groups_4.js | 5 + docs/3.3/search/groups_5.html | 30 + docs/3.3/search/groups_5.js | 4 + docs/3.3/search/groups_6.html | 30 + docs/3.3/search/groups_6.js | 6 + docs/3.3/search/groups_7.html | 30 + docs/3.3/search/groups_7.js | 4 + docs/3.3/search/groups_8.html | 30 + docs/3.3/search/groups_8.js | 4 + docs/3.3/search/groups_9.html | 30 + docs/3.3/search/groups_9.js | 4 + docs/3.3/search/groups_a.html | 30 + docs/3.3/search/groups_a.js | 4 + docs/3.3/search/mag_sel.png | Bin 0 -> 465 bytes docs/3.3/search/nomatches.html | 12 + docs/3.3/search/pages_0.html | 30 + docs/3.3/search/pages_0.js | 5 + docs/3.3/search/pages_1.html | 30 + docs/3.3/search/pages_1.js | 5 + docs/3.3/search/pages_2.html | 30 + docs/3.3/search/pages_2.js | 4 + docs/3.3/search/pages_3.html | 30 + docs/3.3/search/pages_3.js | 4 + docs/3.3/search/pages_4.html | 30 + docs/3.3/search/pages_4.js | 6 + docs/3.3/search/pages_5.html | 30 + docs/3.3/search/pages_5.js | 5 + docs/3.3/search/pages_6.html | 30 + docs/3.3/search/pages_6.js | 4 + docs/3.3/search/pages_7.html | 30 + docs/3.3/search/pages_7.js | 4 + docs/3.3/search/pages_8.html | 30 + docs/3.3/search/pages_8.js | 4 + docs/3.3/search/pages_9.html | 30 + docs/3.3/search/pages_9.js | 4 + docs/3.3/search/pages_a.html | 30 + docs/3.3/search/pages_a.js | 4 + docs/3.3/search/search.css | 271 ++ docs/3.3/search/search.js | 814 ++++ docs/3.3/search/search_l.png | Bin 0 -> 567 bytes docs/3.3/search/search_m.png | Bin 0 -> 158 bytes docs/3.3/search/search_r.png | Bin 0 -> 553 bytes docs/3.3/search/searchdata.js | 39 + docs/3.3/search/typedefs_0.html | 30 + docs/3.3/search/typedefs_0.js | 32 + docs/3.3/search/variables_0.html | 30 + docs/3.3/search/variables_0.js | 4 + docs/3.3/search/variables_1.html | 30 + docs/3.3/search/variables_1.js | 6 + docs/3.3/search/variables_2.html | 30 + docs/3.3/search/variables_2.js | 5 + docs/3.3/search/variables_3.html | 30 + docs/3.3/search/variables_3.js | 4 + docs/3.3/search/variables_4.html | 30 + docs/3.3/search/variables_4.js | 4 + docs/3.3/search/variables_5.html | 30 + docs/3.3/search/variables_5.js | 6 + docs/3.3/search/variables_6.html | 30 + docs/3.3/search/variables_6.js | 4 + docs/3.3/search/variables_7.html | 30 + docs/3.3/search/variables_7.js | 4 + docs/3.3/spaces.svg | 877 +++++ docs/3.3/splitbar.png | Bin 0 -> 314 bytes docs/3.3/structGLFWgamepadstate.html | 127 + docs/3.3/structGLFWgammaramp.html | 163 + docs/3.3/structGLFWimage.html | 144 + docs/3.3/structGLFWvidmode.html | 197 + docs/3.3/sync_off.png | Bin 0 -> 853 bytes docs/3.3/sync_on.png | Bin 0 -> 845 bytes docs/3.3/tab_a.png | Bin 0 -> 142 bytes docs/3.3/tab_b.png | Bin 0 -> 169 bytes docs/3.3/tab_h.png | Bin 0 -> 177 bytes docs/3.3/tab_s.png | Bin 0 -> 184 bytes docs/3.3/tabs.css | 1 + docs/3.3/vulkan.html | 1 + docs/3.3/vulkan_8dox.html | 74 + docs/3.3/vulkan_guide.html | 188 + docs/3.3/window.html | 1 + docs/3.3/window_8dox.html | 74 + docs/3.3/window_guide.html | 752 ++++ docs/3.4/bc_s.png | Bin 0 -> 676 bytes docs/3.4/bdwn.png | Bin 0 -> 147 bytes docs/3.4/bug.html | 79 + docs/3.4/build.html | 1 + docs/3.4/build_8dox.html | 74 + docs/3.4/build_guide.html | 188 + docs/3.4/closed.png | Bin 0 -> 132 bytes docs/3.4/compat.html | 1 + docs/3.4/compat_8dox.html | 74 + docs/3.4/compat_guide.html | 146 + docs/3.4/compile.html | 1 + docs/3.4/compile_8dox.html | 74 + docs/3.4/compile_guide.html | 198 + docs/3.4/context.html | 1 + docs/3.4/context_8dox.html | 74 + docs/3.4/context_guide.html | 250 ++ docs/3.4/deprecated.html | 81 + .../dir_49e56c817e5e54854c35e136979f97ca.html | 78 + .../dir_7d046523570a4bf058ddf3b10b545b6c.html | 88 + .../dir_d44c64559bbebec7f509842c48db8b23.html | 84 + docs/3.4/doc.png | Bin 0 -> 746 bytes docs/3.4/doxygen.css | 1730 ++++++++ docs/3.4/doxygen.png | Bin 0 -> 3779 bytes docs/3.4/dynsections.js | 121 + docs/3.4/extra.css | 1 + docs/3.4/files.html | 80 + docs/3.4/folderclosed.png | Bin 0 -> 616 bytes docs/3.4/folderopen.png | Bin 0 -> 597 bytes docs/3.4/glfw3_8h.html | 1756 +++++++++ docs/3.4/glfw3_8h_source.html | 1267 ++++++ docs/3.4/glfw3native_8h.html | 160 + docs/3.4/glfw3native_8h_source.html | 273 ++ docs/3.4/group__buttons.html | 275 ++ docs/3.4/group__context.html | 295 ++ docs/3.4/group__errors.html | 356 ++ docs/3.4/group__gamepad__axes.html | 195 + docs/3.4/group__gamepad__buttons.html | 403 ++ docs/3.4/group__hat__state.html | 227 ++ docs/3.4/group__init.html | 565 +++ docs/3.4/group__input.html | 2255 +++++++++++ docs/3.4/group__joysticks.html | 355 ++ docs/3.4/group__keys.html | 2043 ++++++++++ docs/3.4/group__mods.html | 191 + docs/3.4/group__monitor.html | 841 ++++ docs/3.4/group__native.html | 771 ++++ docs/3.4/group__shapes.html | 330 ++ docs/3.4/group__vulkan.html | 354 ++ docs/3.4/group__window.html | 3475 +++++++++++++++++ docs/3.4/index.html | 92 + docs/3.4/input.html | 1 + docs/3.4/input_8dox.html | 74 + docs/3.4/input_guide.html | 560 +++ docs/3.4/internal_8dox.html | 74 + docs/3.4/internals.html | 1 + docs/3.4/internals_guide.html | 125 + docs/3.4/intro.html | 1 + docs/3.4/intro_8dox.html | 74 + docs/3.4/intro_guide.html | 334 ++ docs/3.4/jquery.js | 35 + docs/3.4/main_8dox.html | 74 + docs/3.4/menu.js | 51 + docs/3.4/menudata.js | 30 + docs/3.4/modules.html | 94 + docs/3.4/monitor.html | 1 + docs/3.4/monitor_8dox.html | 74 + docs/3.4/monitor_guide.html | 222 ++ docs/3.4/moving.html | 1 + docs/3.4/moving_8dox.html | 74 + docs/3.4/moving_guide.html | 367 ++ docs/3.4/nav_f.png | Bin 0 -> 153 bytes docs/3.4/nav_g.png | Bin 0 -> 95 bytes docs/3.4/nav_h.png | Bin 0 -> 98 bytes docs/3.4/news.html | 190 + docs/3.4/news_8dox.html | 74 + docs/3.4/open.png | Bin 0 -> 123 bytes docs/3.4/pages.html | 93 + docs/3.4/quick.html | 1 + docs/3.4/quick_8dox.html | 74 + docs/3.4/quick_guide.html | 399 ++ docs/3.4/search/all_0.html | 36 + docs/3.4/search/all_0.js | 4 + docs/3.4/search/all_1.html | 36 + docs/3.4/search/all_1.js | 9 + docs/3.4/search/all_10.html | 36 + docs/3.4/search/all_10.js | 6 + docs/3.4/search/all_11.html | 36 + docs/3.4/search/all_11.js | 7 + docs/3.4/search/all_2.html | 36 + docs/3.4/search/all_2.js | 9 + docs/3.4/search/all_3.html | 36 + docs/3.4/search/all_3.js | 4 + docs/3.4/search/all_4.html | 36 + docs/3.4/search/all_4.js | 4 + docs/3.4/search/all_5.html | 36 + docs/3.4/search/all_5.js | 497 +++ docs/3.4/search/all_6.html | 36 + docs/3.4/search/all_6.js | 4 + docs/3.4/search/all_7.html | 36 + docs/3.4/search/all_7.js | 11 + docs/3.4/search/all_8.html | 36 + docs/3.4/search/all_8.js | 5 + docs/3.4/search/all_9.html | 36 + docs/3.4/search/all_9.js | 4 + docs/3.4/search/all_a.html | 36 + docs/3.4/search/all_a.js | 11 + docs/3.4/search/all_b.html | 36 + docs/3.4/search/all_b.js | 6 + docs/3.4/search/all_c.html | 36 + docs/3.4/search/all_c.js | 4 + docs/3.4/search/all_d.html | 36 + docs/3.4/search/all_d.js | 4 + docs/3.4/search/all_e.html | 36 + docs/3.4/search/all_e.js | 7 + docs/3.4/search/all_f.html | 36 + docs/3.4/search/all_f.js | 6 + docs/3.4/search/classes_0.html | 36 + docs/3.4/search/classes_0.js | 7 + docs/3.4/search/close.png | Bin 0 -> 273 bytes docs/3.4/search/defines_0.html | 36 + docs/3.4/search/defines_0.js | 38 + docs/3.4/search/files_0.html | 36 + docs/3.4/search/files_0.js | 4 + docs/3.4/search/files_1.html | 36 + docs/3.4/search/files_1.js | 6 + docs/3.4/search/files_2.html | 36 + docs/3.4/search/files_2.js | 5 + docs/3.4/search/files_3.html | 36 + docs/3.4/search/files_3.js | 6 + docs/3.4/search/files_4.html | 36 + docs/3.4/search/files_4.js | 6 + docs/3.4/search/files_5.html | 36 + docs/3.4/search/files_5.js | 4 + docs/3.4/search/files_6.html | 36 + docs/3.4/search/files_6.js | 4 + docs/3.4/search/files_7.html | 36 + docs/3.4/search/files_7.js | 4 + docs/3.4/search/files_8.html | 36 + docs/3.4/search/files_8.js | 4 + docs/3.4/search/functions_0.html | 36 + docs/3.4/search/functions_0.js | 146 + docs/3.4/search/groups_0.html | 36 + docs/3.4/search/groups_0.js | 4 + docs/3.4/search/groups_1.html | 36 + docs/3.4/search/groups_1.js | 4 + docs/3.4/search/groups_2.html | 36 + docs/3.4/search/groups_2.js | 5 + docs/3.4/search/groups_3.html | 36 + docs/3.4/search/groups_3.js | 5 + docs/3.4/search/groups_4.html | 36 + docs/3.4/search/groups_4.js | 5 + docs/3.4/search/groups_5.html | 36 + docs/3.4/search/groups_5.js | 4 + docs/3.4/search/groups_6.html | 36 + docs/3.4/search/groups_6.js | 6 + docs/3.4/search/groups_7.html | 36 + docs/3.4/search/groups_7.js | 4 + docs/3.4/search/groups_8.html | 36 + docs/3.4/search/groups_8.js | 4 + docs/3.4/search/groups_9.html | 36 + docs/3.4/search/groups_9.js | 4 + docs/3.4/search/groups_a.html | 36 + docs/3.4/search/groups_a.js | 4 + docs/3.4/search/mag_sel.png | Bin 0 -> 465 bytes docs/3.4/search/nomatches.html | 12 + docs/3.4/search/pages_0.html | 36 + docs/3.4/search/pages_0.js | 5 + docs/3.4/search/pages_1.html | 36 + docs/3.4/search/pages_1.js | 5 + docs/3.4/search/pages_2.html | 36 + docs/3.4/search/pages_2.js | 4 + docs/3.4/search/pages_3.html | 36 + docs/3.4/search/pages_3.js | 4 + docs/3.4/search/pages_4.html | 36 + docs/3.4/search/pages_4.js | 6 + docs/3.4/search/pages_5.html | 36 + docs/3.4/search/pages_5.js | 5 + docs/3.4/search/pages_6.html | 36 + docs/3.4/search/pages_6.js | 4 + docs/3.4/search/pages_7.html | 36 + docs/3.4/search/pages_7.js | 4 + docs/3.4/search/pages_8.html | 36 + docs/3.4/search/pages_8.js | 4 + docs/3.4/search/pages_9.html | 36 + docs/3.4/search/pages_9.js | 4 + docs/3.4/search/pages_a.html | 36 + docs/3.4/search/pages_a.js | 4 + docs/3.4/search/search.css | 271 ++ docs/3.4/search/search.js | 814 ++++ docs/3.4/search/search_l.png | Bin 0 -> 567 bytes docs/3.4/search/search_m.png | Bin 0 -> 158 bytes docs/3.4/search/search_r.png | Bin 0 -> 553 bytes docs/3.4/search/searchdata.js | 39 + docs/3.4/search/typedefs_0.html | 36 + docs/3.4/search/typedefs_0.js | 32 + docs/3.4/search/variables_0.html | 36 + docs/3.4/search/variables_0.js | 4 + docs/3.4/search/variables_1.html | 36 + docs/3.4/search/variables_1.js | 6 + docs/3.4/search/variables_2.html | 36 + docs/3.4/search/variables_2.js | 5 + docs/3.4/search/variables_3.html | 36 + docs/3.4/search/variables_3.js | 4 + docs/3.4/search/variables_4.html | 36 + docs/3.4/search/variables_4.js | 4 + docs/3.4/search/variables_5.html | 36 + docs/3.4/search/variables_5.js | 6 + docs/3.4/search/variables_6.html | 36 + docs/3.4/search/variables_6.js | 4 + docs/3.4/search/variables_7.html | 36 + docs/3.4/search/variables_7.js | 4 + docs/3.4/spaces.svg | 877 +++++ docs/3.4/splitbar.png | Bin 0 -> 314 bytes docs/3.4/structGLFWgamepadstate.html | 127 + docs/3.4/structGLFWgammaramp.html | 163 + docs/3.4/structGLFWimage.html | 144 + docs/3.4/structGLFWvidmode.html | 197 + docs/3.4/sync_off.png | Bin 0 -> 853 bytes docs/3.4/sync_on.png | Bin 0 -> 845 bytes docs/3.4/tab_a.png | Bin 0 -> 142 bytes docs/3.4/tab_b.png | Bin 0 -> 169 bytes docs/3.4/tab_h.png | Bin 0 -> 177 bytes docs/3.4/tab_s.png | Bin 0 -> 184 bytes docs/3.4/tabs.css | 1 + docs/3.4/vulkan.html | 1 + docs/3.4/vulkan_8dox.html | 74 + docs/3.4/vulkan_guide.html | 188 + docs/3.4/window.html | 1 + docs/3.4/window_8dox.html | 74 + docs/3.4/window_guide.html | 765 ++++ docs/latest | 1 + 1136 files changed, 131680 insertions(+) create mode 120000 docs/3.0.1 create mode 120000 docs/3.0.2 create mode 120000 docs/3.0.3 create mode 120000 docs/3.0.4 create mode 100644 docs/3.0/annotated.html create mode 100644 docs/3.0/bc_s.png create mode 100644 docs/3.0/bdwn.png create mode 100644 docs/3.0/bug.html create mode 100644 docs/3.0/build.html create mode 100644 docs/3.0/build_8dox.html create mode 100644 docs/3.0/classes.html create mode 100644 docs/3.0/closed.png create mode 100644 docs/3.0/compat.html create mode 100644 docs/3.0/compat_8dox.html create mode 100644 docs/3.0/compile.html create mode 100644 docs/3.0/compile_8dox.html create mode 100644 docs/3.0/context.html create mode 100644 docs/3.0/context_8dox.html create mode 100644 docs/3.0/dir_7d046523570a4bf058ddf3b10b545b6c.html create mode 100644 docs/3.0/dir_d44c64559bbebec7f509842c48db8b23.html create mode 100644 docs/3.0/doc.png create mode 100644 docs/3.0/doxygen.css create mode 100644 docs/3.0/doxygen.png create mode 100644 docs/3.0/dynsections.js create mode 100644 docs/3.0/extra.css create mode 100644 docs/3.0/files.html create mode 100644 docs/3.0/folderclosed.png create mode 100644 docs/3.0/folderopen.png create mode 100644 docs/3.0/functions.html create mode 100644 docs/3.0/functions_vars.html create mode 100644 docs/3.0/glfw3_8h.html create mode 100644 docs/3.0/glfw3_8h_source.html create mode 100644 docs/3.0/glfw3native_8h.html create mode 100644 docs/3.0/glfw3native_8h_source.html create mode 100644 docs/3.0/globals.html create mode 100644 docs/3.0/globals_b.html create mode 100644 docs/3.0/globals_c.html create mode 100644 docs/3.0/globals_d.html create mode 100644 docs/3.0/globals_defs.html create mode 100644 docs/3.0/globals_defs_b.html create mode 100644 docs/3.0/globals_defs_c.html create mode 100644 docs/3.0/globals_defs_d.html create mode 100644 docs/3.0/globals_defs_f.html create mode 100644 docs/3.0/globals_defs_g.html create mode 100644 docs/3.0/globals_defs_i.html create mode 100644 docs/3.0/globals_defs_j.html create mode 100644 docs/3.0/globals_defs_k.html create mode 100644 docs/3.0/globals_defs_l.html create mode 100644 docs/3.0/globals_defs_m.html create mode 100644 docs/3.0/globals_defs_n.html create mode 100644 docs/3.0/globals_defs_o.html create mode 100644 docs/3.0/globals_defs_p.html create mode 100644 docs/3.0/globals_defs_r.html create mode 100644 docs/3.0/globals_defs_s.html create mode 100644 docs/3.0/globals_defs_v.html create mode 100644 docs/3.0/globals_e.html create mode 100644 docs/3.0/globals_f.html create mode 100644 docs/3.0/globals_func.html create mode 100644 docs/3.0/globals_g.html create mode 100644 docs/3.0/globals_h.html create mode 100644 docs/3.0/globals_i.html create mode 100644 docs/3.0/globals_j.html create mode 100644 docs/3.0/globals_k.html create mode 100644 docs/3.0/globals_l.html create mode 100644 docs/3.0/globals_m.html create mode 100644 docs/3.0/globals_n.html create mode 100644 docs/3.0/globals_o.html create mode 100644 docs/3.0/globals_p.html create mode 100644 docs/3.0/globals_r.html create mode 100644 docs/3.0/globals_s.html create mode 100644 docs/3.0/globals_t.html create mode 100644 docs/3.0/globals_type.html create mode 100644 docs/3.0/globals_v.html create mode 100644 docs/3.0/globals_w.html create mode 100644 docs/3.0/group__buttons.html create mode 100644 docs/3.0/group__clipboard.html create mode 100644 docs/3.0/group__context.html create mode 100644 docs/3.0/group__error.html create mode 100644 docs/3.0/group__errors.html create mode 100644 docs/3.0/group__init.html create mode 100644 docs/3.0/group__input.html create mode 100644 docs/3.0/group__joysticks.html create mode 100644 docs/3.0/group__keys.html create mode 100644 docs/3.0/group__mods.html create mode 100644 docs/3.0/group__monitor.html create mode 100644 docs/3.0/group__native.html create mode 100644 docs/3.0/group__time.html create mode 100644 docs/3.0/group__window.html create mode 100644 docs/3.0/index.html create mode 100644 docs/3.0/jquery.js create mode 100644 docs/3.0/main_8dox.html create mode 100644 docs/3.0/menu.js create mode 100644 docs/3.0/menudata.js create mode 100644 docs/3.0/modules.html create mode 100644 docs/3.0/monitor.html create mode 100644 docs/3.0/monitor_8dox.html create mode 100644 docs/3.0/moving.html create mode 100644 docs/3.0/moving_8dox.html create mode 100644 docs/3.0/nav_f.png create mode 100644 docs/3.0/nav_g.png create mode 100644 docs/3.0/nav_h.png create mode 100644 docs/3.0/news.html create mode 100644 docs/3.0/news_8dox.html create mode 100644 docs/3.0/open.png create mode 100644 docs/3.0/pages.html create mode 100644 docs/3.0/quick.html create mode 100644 docs/3.0/quick_8dox.html create mode 100644 docs/3.0/search/all_0.html create mode 100644 docs/3.0/search/all_0.js create mode 100644 docs/3.0/search/all_1.html create mode 100644 docs/3.0/search/all_1.js create mode 100644 docs/3.0/search/all_2.html create mode 100644 docs/3.0/search/all_2.js create mode 100644 docs/3.0/search/all_3.html create mode 100644 docs/3.0/search/all_3.js create mode 100644 docs/3.0/search/all_4.html create mode 100644 docs/3.0/search/all_4.js create mode 100644 docs/3.0/search/all_5.html create mode 100644 docs/3.0/search/all_5.js create mode 100644 docs/3.0/search/all_6.html create mode 100644 docs/3.0/search/all_6.js create mode 100644 docs/3.0/search/all_7.html create mode 100644 docs/3.0/search/all_7.js create mode 100644 docs/3.0/search/all_8.html create mode 100644 docs/3.0/search/all_8.js create mode 100644 docs/3.0/search/all_9.html create mode 100644 docs/3.0/search/all_9.js create mode 100644 docs/3.0/search/all_a.html create mode 100644 docs/3.0/search/all_a.js create mode 100644 docs/3.0/search/all_b.html create mode 100644 docs/3.0/search/all_b.js create mode 100644 docs/3.0/search/all_c.html create mode 100644 docs/3.0/search/all_c.js create mode 100644 docs/3.0/search/all_d.html create mode 100644 docs/3.0/search/all_d.js create mode 100644 docs/3.0/search/all_e.html create mode 100644 docs/3.0/search/all_e.js create mode 100644 docs/3.0/search/classes_0.html create mode 100644 docs/3.0/search/classes_0.js create mode 100644 docs/3.0/search/close.png create mode 100644 docs/3.0/search/defines_0.html create mode 100644 docs/3.0/search/defines_0.js create mode 100644 docs/3.0/search/files_0.html create mode 100644 docs/3.0/search/files_0.js create mode 100644 docs/3.0/search/files_1.html create mode 100644 docs/3.0/search/files_1.js create mode 100644 docs/3.0/search/files_2.html create mode 100644 docs/3.0/search/files_2.js create mode 100644 docs/3.0/search/files_3.html create mode 100644 docs/3.0/search/files_3.js create mode 100644 docs/3.0/search/files_4.html create mode 100644 docs/3.0/search/files_4.js create mode 100644 docs/3.0/search/files_5.html create mode 100644 docs/3.0/search/files_5.js create mode 100644 docs/3.0/search/files_6.html create mode 100644 docs/3.0/search/files_6.js create mode 100644 docs/3.0/search/functions_0.html create mode 100644 docs/3.0/search/functions_0.js create mode 100644 docs/3.0/search/groups_0.html create mode 100644 docs/3.0/search/groups_0.js create mode 100644 docs/3.0/search/groups_1.html create mode 100644 docs/3.0/search/groups_1.js create mode 100644 docs/3.0/search/groups_2.html create mode 100644 docs/3.0/search/groups_2.js create mode 100644 docs/3.0/search/groups_3.html create mode 100644 docs/3.0/search/groups_3.js create mode 100644 docs/3.0/search/groups_4.html create mode 100644 docs/3.0/search/groups_4.js create mode 100644 docs/3.0/search/groups_5.html create mode 100644 docs/3.0/search/groups_5.js create mode 100644 docs/3.0/search/groups_6.html create mode 100644 docs/3.0/search/groups_6.js create mode 100644 docs/3.0/search/groups_7.html create mode 100644 docs/3.0/search/groups_7.js create mode 100644 docs/3.0/search/groups_8.html create mode 100644 docs/3.0/search/groups_8.js create mode 100644 docs/3.0/search/mag_sel.png create mode 100644 docs/3.0/search/nomatches.html create mode 100644 docs/3.0/search/pages_0.html create mode 100644 docs/3.0/search/pages_0.js create mode 100644 docs/3.0/search/pages_1.html create mode 100644 docs/3.0/search/pages_1.js create mode 100644 docs/3.0/search/pages_2.html create mode 100644 docs/3.0/search/pages_2.js create mode 100644 docs/3.0/search/pages_3.html create mode 100644 docs/3.0/search/pages_3.js create mode 100644 docs/3.0/search/pages_4.html create mode 100644 docs/3.0/search/pages_4.js create mode 100644 docs/3.0/search/pages_5.html create mode 100644 docs/3.0/search/pages_5.js create mode 100644 docs/3.0/search/pages_6.html create mode 100644 docs/3.0/search/pages_6.js create mode 100644 docs/3.0/search/search.css create mode 100644 docs/3.0/search/search.js create mode 100644 docs/3.0/search/search_l.png create mode 100644 docs/3.0/search/search_m.png create mode 100644 docs/3.0/search/search_r.png create mode 100644 docs/3.0/search/searchdata.js create mode 100644 docs/3.0/search/typedefs_0.html create mode 100644 docs/3.0/search/typedefs_0.js create mode 100644 docs/3.0/search/variables_0.html create mode 100644 docs/3.0/search/variables_0.js create mode 100644 docs/3.0/search/variables_1.html create mode 100644 docs/3.0/search/variables_1.js create mode 100644 docs/3.0/search/variables_2.html create mode 100644 docs/3.0/search/variables_2.js create mode 100644 docs/3.0/search/variables_3.html create mode 100644 docs/3.0/search/variables_3.js create mode 100644 docs/3.0/search/variables_4.html create mode 100644 docs/3.0/search/variables_4.js create mode 100644 docs/3.0/search/variables_5.html create mode 100644 docs/3.0/search/variables_5.js create mode 100644 docs/3.0/splitbar.png create mode 100644 docs/3.0/structGLFWgammaramp.html create mode 100644 docs/3.0/structGLFWvidmode.html create mode 100644 docs/3.0/sync_off.png create mode 100644 docs/3.0/sync_on.png create mode 100644 docs/3.0/tab_a.png create mode 100644 docs/3.0/tab_b.png create mode 100644 docs/3.0/tab_h.png create mode 100644 docs/3.0/tab_s.png create mode 100644 docs/3.0/tabs.css create mode 100644 docs/3.0/window.html create mode 100644 docs/3.0/window_8dox.html create mode 120000 docs/3.1.1 create mode 120000 docs/3.1.2 create mode 100644 docs/3.1/annotated.html create mode 100644 docs/3.1/bc_s.png create mode 100644 docs/3.1/bdwn.png create mode 100644 docs/3.1/bug.html create mode 100644 docs/3.1/build.html create mode 100644 docs/3.1/build_8dox.html create mode 100644 docs/3.1/classes.html create mode 100644 docs/3.1/closed.png create mode 100644 docs/3.1/compat.html create mode 100644 docs/3.1/compat_8dox.html create mode 100644 docs/3.1/compile.html create mode 100644 docs/3.1/compile_8dox.html create mode 100644 docs/3.1/context.html create mode 100644 docs/3.1/context_8dox.html create mode 100644 docs/3.1/dir_7d046523570a4bf058ddf3b10b545b6c.html create mode 100644 docs/3.1/dir_d44c64559bbebec7f509842c48db8b23.html create mode 100644 docs/3.1/doc.png create mode 100644 docs/3.1/doxygen.css create mode 100644 docs/3.1/doxygen.png create mode 100644 docs/3.1/dynsections.js create mode 100644 docs/3.1/extra.css create mode 100644 docs/3.1/files.html create mode 100644 docs/3.1/folderclosed.png create mode 100644 docs/3.1/folderopen.png create mode 100644 docs/3.1/functions.html create mode 100644 docs/3.1/functions_vars.html create mode 100644 docs/3.1/glfw3_8h.html create mode 100644 docs/3.1/glfw3_8h_source.html create mode 100644 docs/3.1/glfw3native_8h.html create mode 100644 docs/3.1/glfw3native_8h_source.html create mode 100644 docs/3.1/globals.html create mode 100644 docs/3.1/globals_b.html create mode 100644 docs/3.1/globals_c.html create mode 100644 docs/3.1/globals_d.html create mode 100644 docs/3.1/globals_defs.html create mode 100644 docs/3.1/globals_defs_b.html create mode 100644 docs/3.1/globals_defs_c.html create mode 100644 docs/3.1/globals_defs_d.html create mode 100644 docs/3.1/globals_defs_f.html create mode 100644 docs/3.1/globals_defs_g.html create mode 100644 docs/3.1/globals_defs_h.html create mode 100644 docs/3.1/globals_defs_i.html create mode 100644 docs/3.1/globals_defs_j.html create mode 100644 docs/3.1/globals_defs_k.html create mode 100644 docs/3.1/globals_defs_l.html create mode 100644 docs/3.1/globals_defs_m.html create mode 100644 docs/3.1/globals_defs_n.html create mode 100644 docs/3.1/globals_defs_o.html create mode 100644 docs/3.1/globals_defs_p.html create mode 100644 docs/3.1/globals_defs_r.html create mode 100644 docs/3.1/globals_defs_s.html create mode 100644 docs/3.1/globals_defs_v.html create mode 100644 docs/3.1/globals_e.html create mode 100644 docs/3.1/globals_f.html create mode 100644 docs/3.1/globals_func.html create mode 100644 docs/3.1/globals_g.html create mode 100644 docs/3.1/globals_h.html create mode 100644 docs/3.1/globals_i.html create mode 100644 docs/3.1/globals_j.html create mode 100644 docs/3.1/globals_k.html create mode 100644 docs/3.1/globals_l.html create mode 100644 docs/3.1/globals_m.html create mode 100644 docs/3.1/globals_n.html create mode 100644 docs/3.1/globals_o.html create mode 100644 docs/3.1/globals_p.html create mode 100644 docs/3.1/globals_r.html create mode 100644 docs/3.1/globals_s.html create mode 100644 docs/3.1/globals_t.html create mode 100644 docs/3.1/globals_type.html create mode 100644 docs/3.1/globals_v.html create mode 100644 docs/3.1/globals_w.html create mode 100644 docs/3.1/group__buttons.html create mode 100644 docs/3.1/group__context.html create mode 100644 docs/3.1/group__errors.html create mode 100644 docs/3.1/group__init.html create mode 100644 docs/3.1/group__input.html create mode 100644 docs/3.1/group__joysticks.html create mode 100644 docs/3.1/group__keys.html create mode 100644 docs/3.1/group__mods.html create mode 100644 docs/3.1/group__monitor.html create mode 100644 docs/3.1/group__native.html create mode 100644 docs/3.1/group__shapes.html create mode 100644 docs/3.1/group__window.html create mode 100644 docs/3.1/index.html create mode 100644 docs/3.1/input.html create mode 100644 docs/3.1/input_8dox.html create mode 100644 docs/3.1/intro.html create mode 100644 docs/3.1/intro_8dox.html create mode 100644 docs/3.1/jquery.js create mode 100644 docs/3.1/main_8dox.html create mode 100644 docs/3.1/menu.js create mode 100644 docs/3.1/menudata.js create mode 100644 docs/3.1/modules.html create mode 100644 docs/3.1/monitor.html create mode 100644 docs/3.1/monitor_8dox.html create mode 100644 docs/3.1/moving.html create mode 100644 docs/3.1/moving_8dox.html create mode 100644 docs/3.1/nav_f.png create mode 100644 docs/3.1/nav_g.png create mode 100644 docs/3.1/nav_h.png create mode 100644 docs/3.1/news.html create mode 100644 docs/3.1/news_8dox.html create mode 100644 docs/3.1/open.png create mode 100644 docs/3.1/pages.html create mode 100644 docs/3.1/quick.html create mode 100644 docs/3.1/quick_8dox.html create mode 100644 docs/3.1/rift.html create mode 100644 docs/3.1/rift_8dox.html create mode 100644 docs/3.1/search/all_0.html create mode 100644 docs/3.1/search/all_0.js create mode 100644 docs/3.1/search/all_1.html create mode 100644 docs/3.1/search/all_1.js create mode 100644 docs/3.1/search/all_2.html create mode 100644 docs/3.1/search/all_2.js create mode 100644 docs/3.1/search/all_3.html create mode 100644 docs/3.1/search/all_3.js create mode 100644 docs/3.1/search/all_4.html create mode 100644 docs/3.1/search/all_4.js create mode 100644 docs/3.1/search/all_5.html create mode 100644 docs/3.1/search/all_5.js create mode 100644 docs/3.1/search/all_6.html create mode 100644 docs/3.1/search/all_6.js create mode 100644 docs/3.1/search/all_7.html create mode 100644 docs/3.1/search/all_7.js create mode 100644 docs/3.1/search/all_8.html create mode 100644 docs/3.1/search/all_8.js create mode 100644 docs/3.1/search/all_9.html create mode 100644 docs/3.1/search/all_9.js create mode 100644 docs/3.1/search/all_a.html create mode 100644 docs/3.1/search/all_a.js create mode 100644 docs/3.1/search/all_b.html create mode 100644 docs/3.1/search/all_b.js create mode 100644 docs/3.1/search/all_c.html create mode 100644 docs/3.1/search/all_c.js create mode 100644 docs/3.1/search/all_d.html create mode 100644 docs/3.1/search/all_d.js create mode 100644 docs/3.1/search/all_e.html create mode 100644 docs/3.1/search/all_e.js create mode 100644 docs/3.1/search/all_f.html create mode 100644 docs/3.1/search/all_f.js create mode 100644 docs/3.1/search/classes_0.html create mode 100644 docs/3.1/search/classes_0.js create mode 100644 docs/3.1/search/close.png create mode 100644 docs/3.1/search/defines_0.html create mode 100644 docs/3.1/search/defines_0.js create mode 100644 docs/3.1/search/files_0.html create mode 100644 docs/3.1/search/files_0.js create mode 100644 docs/3.1/search/files_1.html create mode 100644 docs/3.1/search/files_1.js create mode 100644 docs/3.1/search/files_2.html create mode 100644 docs/3.1/search/files_2.js create mode 100644 docs/3.1/search/files_3.html create mode 100644 docs/3.1/search/files_3.js create mode 100644 docs/3.1/search/files_4.html create mode 100644 docs/3.1/search/files_4.js create mode 100644 docs/3.1/search/files_5.html create mode 100644 docs/3.1/search/files_5.js create mode 100644 docs/3.1/search/files_6.html create mode 100644 docs/3.1/search/files_6.js create mode 100644 docs/3.1/search/files_7.html create mode 100644 docs/3.1/search/files_7.js create mode 100644 docs/3.1/search/files_8.html create mode 100644 docs/3.1/search/files_8.js create mode 100644 docs/3.1/search/functions_0.html create mode 100644 docs/3.1/search/functions_0.js create mode 100644 docs/3.1/search/groups_0.html create mode 100644 docs/3.1/search/groups_0.js create mode 100644 docs/3.1/search/groups_1.html create mode 100644 docs/3.1/search/groups_1.js create mode 100644 docs/3.1/search/groups_2.html create mode 100644 docs/3.1/search/groups_2.js create mode 100644 docs/3.1/search/groups_3.html create mode 100644 docs/3.1/search/groups_3.js create mode 100644 docs/3.1/search/groups_4.html create mode 100644 docs/3.1/search/groups_4.js create mode 100644 docs/3.1/search/groups_5.html create mode 100644 docs/3.1/search/groups_5.js create mode 100644 docs/3.1/search/groups_6.html create mode 100644 docs/3.1/search/groups_6.js create mode 100644 docs/3.1/search/groups_7.html create mode 100644 docs/3.1/search/groups_7.js create mode 100644 docs/3.1/search/groups_8.html create mode 100644 docs/3.1/search/groups_8.js create mode 100644 docs/3.1/search/mag_sel.png create mode 100644 docs/3.1/search/nomatches.html create mode 100644 docs/3.1/search/pages_0.html create mode 100644 docs/3.1/search/pages_0.js create mode 100644 docs/3.1/search/pages_1.html create mode 100644 docs/3.1/search/pages_1.js create mode 100644 docs/3.1/search/pages_2.html create mode 100644 docs/3.1/search/pages_2.js create mode 100644 docs/3.1/search/pages_3.html create mode 100644 docs/3.1/search/pages_3.js create mode 100644 docs/3.1/search/pages_4.html create mode 100644 docs/3.1/search/pages_4.js create mode 100644 docs/3.1/search/pages_5.html create mode 100644 docs/3.1/search/pages_5.js create mode 100644 docs/3.1/search/pages_6.html create mode 100644 docs/3.1/search/pages_6.js create mode 100644 docs/3.1/search/pages_7.html create mode 100644 docs/3.1/search/pages_7.js create mode 100644 docs/3.1/search/pages_8.html create mode 100644 docs/3.1/search/pages_8.js create mode 100644 docs/3.1/search/search.css create mode 100644 docs/3.1/search/search.js create mode 100644 docs/3.1/search/search_l.png create mode 100644 docs/3.1/search/search_m.png create mode 100644 docs/3.1/search/search_r.png create mode 100644 docs/3.1/search/searchdata.js create mode 100644 docs/3.1/search/typedefs_0.html create mode 100644 docs/3.1/search/typedefs_0.js create mode 100644 docs/3.1/search/variables_0.html create mode 100644 docs/3.1/search/variables_0.js create mode 100644 docs/3.1/search/variables_1.html create mode 100644 docs/3.1/search/variables_1.js create mode 100644 docs/3.1/search/variables_2.html create mode 100644 docs/3.1/search/variables_2.js create mode 100644 docs/3.1/search/variables_3.html create mode 100644 docs/3.1/search/variables_3.js create mode 100644 docs/3.1/search/variables_4.html create mode 100644 docs/3.1/search/variables_4.js create mode 100644 docs/3.1/search/variables_5.html create mode 100644 docs/3.1/search/variables_5.js create mode 100644 docs/3.1/search/variables_6.html create mode 100644 docs/3.1/search/variables_6.js create mode 100644 docs/3.1/spaces.svg create mode 100644 docs/3.1/splitbar.png create mode 100644 docs/3.1/structGLFWgammaramp.html create mode 100644 docs/3.1/structGLFWimage.html create mode 100644 docs/3.1/structGLFWvidmode.html create mode 100644 docs/3.1/sync_off.png create mode 100644 docs/3.1/sync_on.png create mode 100644 docs/3.1/tab_a.png create mode 100644 docs/3.1/tab_b.png create mode 100644 docs/3.1/tab_h.png create mode 100644 docs/3.1/tab_s.png create mode 100644 docs/3.1/tabs.css create mode 100644 docs/3.1/window.html create mode 100644 docs/3.1/window_8dox.html create mode 120000 docs/3.2.1 create mode 100644 docs/3.2/bc_s.png create mode 100644 docs/3.2/bdwn.png create mode 100644 docs/3.2/bug.html create mode 120000 docs/3.2/build.html create mode 100644 docs/3.2/build_8dox.html create mode 100644 docs/3.2/build_guide.html create mode 100644 docs/3.2/closed.png create mode 120000 docs/3.2/compat.html create mode 100644 docs/3.2/compat_8dox.html create mode 100644 docs/3.2/compat_guide.html create mode 120000 docs/3.2/compile.html create mode 100644 docs/3.2/compile_8dox.html create mode 100644 docs/3.2/compile_guide.html create mode 120000 docs/3.2/context.html create mode 100644 docs/3.2/context_8dox.html create mode 100644 docs/3.2/context_guide.html create mode 100644 docs/3.2/dir_7d046523570a4bf058ddf3b10b545b6c.html create mode 100644 docs/3.2/dir_d44c64559bbebec7f509842c48db8b23.html create mode 100644 docs/3.2/doc.png create mode 100644 docs/3.2/doxygen.css create mode 100644 docs/3.2/doxygen.png create mode 100644 docs/3.2/dynsections.js create mode 100644 docs/3.2/extra.css create mode 100644 docs/3.2/files.html create mode 100644 docs/3.2/folderclosed.png create mode 100644 docs/3.2/folderopen.png create mode 100644 docs/3.2/glfw3_8h.html create mode 100644 docs/3.2/glfw3_8h_source.html create mode 100644 docs/3.2/glfw3native_8h.html create mode 100644 docs/3.2/glfw3native_8h_source.html create mode 100644 docs/3.2/group__buttons.html create mode 100644 docs/3.2/group__context.html create mode 100644 docs/3.2/group__errors.html create mode 100644 docs/3.2/group__init.html create mode 100644 docs/3.2/group__input.html create mode 100644 docs/3.2/group__joysticks.html create mode 100644 docs/3.2/group__keys.html create mode 100644 docs/3.2/group__mods.html create mode 100644 docs/3.2/group__monitor.html create mode 100644 docs/3.2/group__native.html create mode 100644 docs/3.2/group__shapes.html create mode 100644 docs/3.2/group__vulkan.html create mode 100644 docs/3.2/group__window.html create mode 100644 docs/3.2/index.html create mode 120000 docs/3.2/input.html create mode 100644 docs/3.2/input_8dox.html create mode 100644 docs/3.2/input_guide.html create mode 120000 docs/3.2/intro.html create mode 100644 docs/3.2/intro_8dox.html create mode 100644 docs/3.2/intro_guide.html create mode 100644 docs/3.2/jquery.js create mode 100644 docs/3.2/main_8dox.html create mode 100644 docs/3.2/menu.js create mode 100644 docs/3.2/menudata.js create mode 100644 docs/3.2/modules.html create mode 120000 docs/3.2/monitor.html create mode 100644 docs/3.2/monitor_8dox.html create mode 100644 docs/3.2/monitor_guide.html create mode 120000 docs/3.2/moving.html create mode 100644 docs/3.2/moving_8dox.html create mode 100644 docs/3.2/moving_guide.html create mode 100644 docs/3.2/nav_f.png create mode 100644 docs/3.2/nav_g.png create mode 100644 docs/3.2/nav_h.png create mode 100644 docs/3.2/news.html create mode 100644 docs/3.2/news_8dox.html create mode 100644 docs/3.2/open.png create mode 100644 docs/3.2/pages.html create mode 120000 docs/3.2/quick.html create mode 100644 docs/3.2/quick_8dox.html create mode 100644 docs/3.2/quick_guide.html create mode 100644 docs/3.2/search/all_0.html create mode 100644 docs/3.2/search/all_0.js create mode 100644 docs/3.2/search/all_1.html create mode 100644 docs/3.2/search/all_1.js create mode 100644 docs/3.2/search/all_2.html create mode 100644 docs/3.2/search/all_2.js create mode 100644 docs/3.2/search/all_3.html create mode 100644 docs/3.2/search/all_3.js create mode 100644 docs/3.2/search/all_4.html create mode 100644 docs/3.2/search/all_4.js create mode 100644 docs/3.2/search/all_5.html create mode 100644 docs/3.2/search/all_5.js create mode 100644 docs/3.2/search/all_6.html create mode 100644 docs/3.2/search/all_6.js create mode 100644 docs/3.2/search/all_7.html create mode 100644 docs/3.2/search/all_7.js create mode 100644 docs/3.2/search/all_8.html create mode 100644 docs/3.2/search/all_8.js create mode 100644 docs/3.2/search/all_9.html create mode 100644 docs/3.2/search/all_9.js create mode 100644 docs/3.2/search/all_a.html create mode 100644 docs/3.2/search/all_a.js create mode 100644 docs/3.2/search/all_b.html create mode 100644 docs/3.2/search/all_b.js create mode 100644 docs/3.2/search/all_c.html create mode 100644 docs/3.2/search/all_c.js create mode 100644 docs/3.2/search/all_d.html create mode 100644 docs/3.2/search/all_d.js create mode 100644 docs/3.2/search/all_e.html create mode 100644 docs/3.2/search/all_e.js create mode 100644 docs/3.2/search/all_f.html create mode 100644 docs/3.2/search/all_f.js create mode 100644 docs/3.2/search/classes_0.html create mode 100644 docs/3.2/search/classes_0.js create mode 100644 docs/3.2/search/close.png create mode 100644 docs/3.2/search/defines_0.html create mode 100644 docs/3.2/search/defines_0.js create mode 100644 docs/3.2/search/files_0.html create mode 100644 docs/3.2/search/files_0.js create mode 100644 docs/3.2/search/files_1.html create mode 100644 docs/3.2/search/files_1.js create mode 100644 docs/3.2/search/files_2.html create mode 100644 docs/3.2/search/files_2.js create mode 100644 docs/3.2/search/files_3.html create mode 100644 docs/3.2/search/files_3.js create mode 100644 docs/3.2/search/files_4.html create mode 100644 docs/3.2/search/files_4.js create mode 100644 docs/3.2/search/files_5.html create mode 100644 docs/3.2/search/files_5.js create mode 100644 docs/3.2/search/files_6.html create mode 100644 docs/3.2/search/files_6.js create mode 100644 docs/3.2/search/files_7.html create mode 100644 docs/3.2/search/files_7.js create mode 100644 docs/3.2/search/files_8.html create mode 100644 docs/3.2/search/files_8.js create mode 100644 docs/3.2/search/functions_0.html create mode 100644 docs/3.2/search/functions_0.js create mode 100644 docs/3.2/search/groups_0.html create mode 100644 docs/3.2/search/groups_0.js create mode 100644 docs/3.2/search/groups_1.html create mode 100644 docs/3.2/search/groups_1.js create mode 100644 docs/3.2/search/groups_2.html create mode 100644 docs/3.2/search/groups_2.js create mode 100644 docs/3.2/search/groups_3.html create mode 100644 docs/3.2/search/groups_3.js create mode 100644 docs/3.2/search/groups_4.html create mode 100644 docs/3.2/search/groups_4.js create mode 100644 docs/3.2/search/groups_5.html create mode 100644 docs/3.2/search/groups_5.js create mode 100644 docs/3.2/search/groups_6.html create mode 100644 docs/3.2/search/groups_6.js create mode 100644 docs/3.2/search/groups_7.html create mode 100644 docs/3.2/search/groups_7.js create mode 100644 docs/3.2/search/groups_8.html create mode 100644 docs/3.2/search/groups_8.js create mode 100644 docs/3.2/search/groups_9.html create mode 100644 docs/3.2/search/groups_9.js create mode 100644 docs/3.2/search/mag_sel.png create mode 100644 docs/3.2/search/nomatches.html create mode 100644 docs/3.2/search/pages_0.html create mode 100644 docs/3.2/search/pages_0.js create mode 100644 docs/3.2/search/pages_1.html create mode 100644 docs/3.2/search/pages_1.js create mode 100644 docs/3.2/search/pages_2.html create mode 100644 docs/3.2/search/pages_2.js create mode 100644 docs/3.2/search/pages_3.html create mode 100644 docs/3.2/search/pages_3.js create mode 100644 docs/3.2/search/pages_4.html create mode 100644 docs/3.2/search/pages_4.js create mode 100644 docs/3.2/search/pages_5.html create mode 100644 docs/3.2/search/pages_5.js create mode 100644 docs/3.2/search/pages_6.html create mode 100644 docs/3.2/search/pages_6.js create mode 100644 docs/3.2/search/pages_7.html create mode 100644 docs/3.2/search/pages_7.js create mode 100644 docs/3.2/search/pages_8.html create mode 100644 docs/3.2/search/pages_8.js create mode 100644 docs/3.2/search/search.css create mode 100644 docs/3.2/search/search.js create mode 100644 docs/3.2/search/search_l.png create mode 100644 docs/3.2/search/search_m.png create mode 100644 docs/3.2/search/search_r.png create mode 100644 docs/3.2/search/searchdata.js create mode 100644 docs/3.2/search/typedefs_0.html create mode 100644 docs/3.2/search/typedefs_0.js create mode 100644 docs/3.2/search/variables_0.html create mode 100644 docs/3.2/search/variables_0.js create mode 100644 docs/3.2/search/variables_1.html create mode 100644 docs/3.2/search/variables_1.js create mode 100644 docs/3.2/search/variables_2.html create mode 100644 docs/3.2/search/variables_2.js create mode 100644 docs/3.2/search/variables_3.html create mode 100644 docs/3.2/search/variables_3.js create mode 100644 docs/3.2/search/variables_4.html create mode 100644 docs/3.2/search/variables_4.js create mode 100644 docs/3.2/search/variables_5.html create mode 100644 docs/3.2/search/variables_5.js create mode 100644 docs/3.2/search/variables_6.html create mode 100644 docs/3.2/search/variables_6.js create mode 100644 docs/3.2/spaces.svg create mode 100644 docs/3.2/splitbar.png create mode 100644 docs/3.2/structGLFWgammaramp.html create mode 100644 docs/3.2/structGLFWimage.html create mode 100644 docs/3.2/structGLFWvidmode.html create mode 100644 docs/3.2/sync_off.png create mode 100644 docs/3.2/sync_on.png create mode 100644 docs/3.2/tab_a.png create mode 100644 docs/3.2/tab_b.png create mode 100644 docs/3.2/tab_h.png create mode 100644 docs/3.2/tab_s.png create mode 100644 docs/3.2/tabs.css create mode 120000 docs/3.2/vulkan.html create mode 100644 docs/3.2/vulkan_8dox.html create mode 100644 docs/3.2/vulkan_guide.html create mode 120000 docs/3.2/window.html create mode 100644 docs/3.2/window_8dox.html create mode 100644 docs/3.2/window_guide.html create mode 120000 docs/3.3.1 create mode 120000 docs/3.3.2 create mode 120000 docs/3.3.3 create mode 100644 docs/3.3/bc_s.png create mode 100644 docs/3.3/bdwn.png create mode 100644 docs/3.3/bug.html create mode 120000 docs/3.3/build.html create mode 100644 docs/3.3/build_8dox.html create mode 100644 docs/3.3/build_guide.html create mode 100644 docs/3.3/closed.png create mode 120000 docs/3.3/compat.html create mode 100644 docs/3.3/compat_8dox.html create mode 100644 docs/3.3/compat_guide.html create mode 120000 docs/3.3/compile.html create mode 100644 docs/3.3/compile_8dox.html create mode 100644 docs/3.3/compile_guide.html create mode 120000 docs/3.3/context.html create mode 100644 docs/3.3/context_8dox.html create mode 100644 docs/3.3/context_guide.html create mode 100644 docs/3.3/deprecated.html create mode 100644 docs/3.3/dir_49e56c817e5e54854c35e136979f97ca.html create mode 100644 docs/3.3/dir_7d046523570a4bf058ddf3b10b545b6c.html create mode 100644 docs/3.3/dir_d44c64559bbebec7f509842c48db8b23.html create mode 100644 docs/3.3/doc.png create mode 100644 docs/3.3/doxygen.css create mode 100644 docs/3.3/doxygen.png create mode 100644 docs/3.3/dynsections.js create mode 100644 docs/3.3/extra.css create mode 100644 docs/3.3/files.html create mode 100644 docs/3.3/folderclosed.png create mode 100644 docs/3.3/folderopen.png create mode 100644 docs/3.3/glfw3_8h.html create mode 100644 docs/3.3/glfw3_8h_source.html create mode 100644 docs/3.3/glfw3native_8h.html create mode 100644 docs/3.3/glfw3native_8h_source.html create mode 100644 docs/3.3/group__buttons.html create mode 100644 docs/3.3/group__context.html create mode 100644 docs/3.3/group__errors.html create mode 100644 docs/3.3/group__gamepad__axes.html create mode 100644 docs/3.3/group__gamepad__buttons.html create mode 100644 docs/3.3/group__hat__state.html create mode 100644 docs/3.3/group__init.html create mode 100644 docs/3.3/group__input.html create mode 100644 docs/3.3/group__joysticks.html create mode 100644 docs/3.3/group__keys.html create mode 100644 docs/3.3/group__mods.html create mode 100644 docs/3.3/group__monitor.html create mode 100644 docs/3.3/group__native.html create mode 100644 docs/3.3/group__shapes.html create mode 100644 docs/3.3/group__vulkan.html create mode 100644 docs/3.3/group__window.html create mode 100644 docs/3.3/index.html create mode 120000 docs/3.3/input.html create mode 100644 docs/3.3/input_8dox.html create mode 100644 docs/3.3/input_guide.html create mode 100644 docs/3.3/internal_8dox.html create mode 120000 docs/3.3/internals.html create mode 100644 docs/3.3/internals_guide.html create mode 120000 docs/3.3/intro.html create mode 100644 docs/3.3/intro_8dox.html create mode 100644 docs/3.3/intro_guide.html create mode 100644 docs/3.3/jquery.js create mode 100644 docs/3.3/main_8dox.html create mode 100644 docs/3.3/menu.js create mode 100644 docs/3.3/menudata.js create mode 100644 docs/3.3/modules.html create mode 120000 docs/3.3/monitor.html create mode 100644 docs/3.3/monitor_8dox.html create mode 100644 docs/3.3/monitor_guide.html create mode 120000 docs/3.3/moving.html create mode 100644 docs/3.3/moving_8dox.html create mode 100644 docs/3.3/moving_guide.html create mode 100644 docs/3.3/nav_f.png create mode 100644 docs/3.3/nav_g.png create mode 100644 docs/3.3/nav_h.png create mode 100644 docs/3.3/news.html create mode 100644 docs/3.3/news_8dox.html create mode 100644 docs/3.3/open.png create mode 100644 docs/3.3/pages.html create mode 120000 docs/3.3/quick.html create mode 100644 docs/3.3/quick_8dox.html create mode 100644 docs/3.3/quick_guide.html create mode 100644 docs/3.3/search/all_0.html create mode 100644 docs/3.3/search/all_0.js create mode 100644 docs/3.3/search/all_1.html create mode 100644 docs/3.3/search/all_1.js create mode 100644 docs/3.3/search/all_10.html create mode 100644 docs/3.3/search/all_10.js create mode 100644 docs/3.3/search/all_11.html create mode 100644 docs/3.3/search/all_11.js create mode 100644 docs/3.3/search/all_2.html create mode 100644 docs/3.3/search/all_2.js create mode 100644 docs/3.3/search/all_3.html create mode 100644 docs/3.3/search/all_3.js create mode 100644 docs/3.3/search/all_4.html create mode 100644 docs/3.3/search/all_4.js create mode 100644 docs/3.3/search/all_5.html create mode 100644 docs/3.3/search/all_5.js create mode 100644 docs/3.3/search/all_6.html create mode 100644 docs/3.3/search/all_6.js create mode 100644 docs/3.3/search/all_7.html create mode 100644 docs/3.3/search/all_7.js create mode 100644 docs/3.3/search/all_8.html create mode 100644 docs/3.3/search/all_8.js create mode 100644 docs/3.3/search/all_9.html create mode 100644 docs/3.3/search/all_9.js create mode 100644 docs/3.3/search/all_a.html create mode 100644 docs/3.3/search/all_a.js create mode 100644 docs/3.3/search/all_b.html create mode 100644 docs/3.3/search/all_b.js create mode 100644 docs/3.3/search/all_c.html create mode 100644 docs/3.3/search/all_c.js create mode 100644 docs/3.3/search/all_d.html create mode 100644 docs/3.3/search/all_d.js create mode 100644 docs/3.3/search/all_e.html create mode 100644 docs/3.3/search/all_e.js create mode 100644 docs/3.3/search/all_f.html create mode 100644 docs/3.3/search/all_f.js create mode 100644 docs/3.3/search/classes_0.html create mode 100644 docs/3.3/search/classes_0.js create mode 100644 docs/3.3/search/close.png create mode 100644 docs/3.3/search/defines_0.html create mode 100644 docs/3.3/search/defines_0.js create mode 100644 docs/3.3/search/files_0.html create mode 100644 docs/3.3/search/files_0.js create mode 100644 docs/3.3/search/files_1.html create mode 100644 docs/3.3/search/files_1.js create mode 100644 docs/3.3/search/files_2.html create mode 100644 docs/3.3/search/files_2.js create mode 100644 docs/3.3/search/files_3.html create mode 100644 docs/3.3/search/files_3.js create mode 100644 docs/3.3/search/files_4.html create mode 100644 docs/3.3/search/files_4.js create mode 100644 docs/3.3/search/files_5.html create mode 100644 docs/3.3/search/files_5.js create mode 100644 docs/3.3/search/files_6.html create mode 100644 docs/3.3/search/files_6.js create mode 100644 docs/3.3/search/files_7.html create mode 100644 docs/3.3/search/files_7.js create mode 100644 docs/3.3/search/files_8.html create mode 100644 docs/3.3/search/files_8.js create mode 100644 docs/3.3/search/functions_0.html create mode 100644 docs/3.3/search/functions_0.js create mode 100644 docs/3.3/search/groups_0.html create mode 100644 docs/3.3/search/groups_0.js create mode 100644 docs/3.3/search/groups_1.html create mode 100644 docs/3.3/search/groups_1.js create mode 100644 docs/3.3/search/groups_2.html create mode 100644 docs/3.3/search/groups_2.js create mode 100644 docs/3.3/search/groups_3.html create mode 100644 docs/3.3/search/groups_3.js create mode 100644 docs/3.3/search/groups_4.html create mode 100644 docs/3.3/search/groups_4.js create mode 100644 docs/3.3/search/groups_5.html create mode 100644 docs/3.3/search/groups_5.js create mode 100644 docs/3.3/search/groups_6.html create mode 100644 docs/3.3/search/groups_6.js create mode 100644 docs/3.3/search/groups_7.html create mode 100644 docs/3.3/search/groups_7.js create mode 100644 docs/3.3/search/groups_8.html create mode 100644 docs/3.3/search/groups_8.js create mode 100644 docs/3.3/search/groups_9.html create mode 100644 docs/3.3/search/groups_9.js create mode 100644 docs/3.3/search/groups_a.html create mode 100644 docs/3.3/search/groups_a.js create mode 100644 docs/3.3/search/mag_sel.png create mode 100644 docs/3.3/search/nomatches.html create mode 100644 docs/3.3/search/pages_0.html create mode 100644 docs/3.3/search/pages_0.js create mode 100644 docs/3.3/search/pages_1.html create mode 100644 docs/3.3/search/pages_1.js create mode 100644 docs/3.3/search/pages_2.html create mode 100644 docs/3.3/search/pages_2.js create mode 100644 docs/3.3/search/pages_3.html create mode 100644 docs/3.3/search/pages_3.js create mode 100644 docs/3.3/search/pages_4.html create mode 100644 docs/3.3/search/pages_4.js create mode 100644 docs/3.3/search/pages_5.html create mode 100644 docs/3.3/search/pages_5.js create mode 100644 docs/3.3/search/pages_6.html create mode 100644 docs/3.3/search/pages_6.js create mode 100644 docs/3.3/search/pages_7.html create mode 100644 docs/3.3/search/pages_7.js create mode 100644 docs/3.3/search/pages_8.html create mode 100644 docs/3.3/search/pages_8.js create mode 100644 docs/3.3/search/pages_9.html create mode 100644 docs/3.3/search/pages_9.js create mode 100644 docs/3.3/search/pages_a.html create mode 100644 docs/3.3/search/pages_a.js create mode 100644 docs/3.3/search/search.css create mode 100644 docs/3.3/search/search.js create mode 100644 docs/3.3/search/search_l.png create mode 100644 docs/3.3/search/search_m.png create mode 100644 docs/3.3/search/search_r.png create mode 100644 docs/3.3/search/searchdata.js create mode 100644 docs/3.3/search/typedefs_0.html create mode 100644 docs/3.3/search/typedefs_0.js create mode 100644 docs/3.3/search/variables_0.html create mode 100644 docs/3.3/search/variables_0.js create mode 100644 docs/3.3/search/variables_1.html create mode 100644 docs/3.3/search/variables_1.js create mode 100644 docs/3.3/search/variables_2.html create mode 100644 docs/3.3/search/variables_2.js create mode 100644 docs/3.3/search/variables_3.html create mode 100644 docs/3.3/search/variables_3.js create mode 100644 docs/3.3/search/variables_4.html create mode 100644 docs/3.3/search/variables_4.js create mode 100644 docs/3.3/search/variables_5.html create mode 100644 docs/3.3/search/variables_5.js create mode 100644 docs/3.3/search/variables_6.html create mode 100644 docs/3.3/search/variables_6.js create mode 100644 docs/3.3/search/variables_7.html create mode 100644 docs/3.3/search/variables_7.js create mode 100644 docs/3.3/spaces.svg create mode 100644 docs/3.3/splitbar.png create mode 100644 docs/3.3/structGLFWgamepadstate.html create mode 100644 docs/3.3/structGLFWgammaramp.html create mode 100644 docs/3.3/structGLFWimage.html create mode 100644 docs/3.3/structGLFWvidmode.html create mode 100644 docs/3.3/sync_off.png create mode 100644 docs/3.3/sync_on.png create mode 100644 docs/3.3/tab_a.png create mode 100644 docs/3.3/tab_b.png create mode 100644 docs/3.3/tab_h.png create mode 100644 docs/3.3/tab_s.png create mode 100644 docs/3.3/tabs.css create mode 120000 docs/3.3/vulkan.html create mode 100644 docs/3.3/vulkan_8dox.html create mode 100644 docs/3.3/vulkan_guide.html create mode 120000 docs/3.3/window.html create mode 100644 docs/3.3/window_8dox.html create mode 100644 docs/3.3/window_guide.html create mode 100644 docs/3.4/bc_s.png create mode 100644 docs/3.4/bdwn.png create mode 100644 docs/3.4/bug.html create mode 120000 docs/3.4/build.html create mode 100644 docs/3.4/build_8dox.html create mode 100644 docs/3.4/build_guide.html create mode 100644 docs/3.4/closed.png create mode 120000 docs/3.4/compat.html create mode 100644 docs/3.4/compat_8dox.html create mode 100644 docs/3.4/compat_guide.html create mode 120000 docs/3.4/compile.html create mode 100644 docs/3.4/compile_8dox.html create mode 100644 docs/3.4/compile_guide.html create mode 120000 docs/3.4/context.html create mode 100644 docs/3.4/context_8dox.html create mode 100644 docs/3.4/context_guide.html create mode 100644 docs/3.4/deprecated.html create mode 100644 docs/3.4/dir_49e56c817e5e54854c35e136979f97ca.html create mode 100644 docs/3.4/dir_7d046523570a4bf058ddf3b10b545b6c.html create mode 100644 docs/3.4/dir_d44c64559bbebec7f509842c48db8b23.html create mode 100644 docs/3.4/doc.png create mode 100644 docs/3.4/doxygen.css create mode 100644 docs/3.4/doxygen.png create mode 100644 docs/3.4/dynsections.js create mode 100644 docs/3.4/extra.css create mode 100644 docs/3.4/files.html create mode 100644 docs/3.4/folderclosed.png create mode 100644 docs/3.4/folderopen.png create mode 100644 docs/3.4/glfw3_8h.html create mode 100644 docs/3.4/glfw3_8h_source.html create mode 100644 docs/3.4/glfw3native_8h.html create mode 100644 docs/3.4/glfw3native_8h_source.html create mode 100644 docs/3.4/group__buttons.html create mode 100644 docs/3.4/group__context.html create mode 100644 docs/3.4/group__errors.html create mode 100644 docs/3.4/group__gamepad__axes.html create mode 100644 docs/3.4/group__gamepad__buttons.html create mode 100644 docs/3.4/group__hat__state.html create mode 100644 docs/3.4/group__init.html create mode 100644 docs/3.4/group__input.html create mode 100644 docs/3.4/group__joysticks.html create mode 100644 docs/3.4/group__keys.html create mode 100644 docs/3.4/group__mods.html create mode 100644 docs/3.4/group__monitor.html create mode 100644 docs/3.4/group__native.html create mode 100644 docs/3.4/group__shapes.html create mode 100644 docs/3.4/group__vulkan.html create mode 100644 docs/3.4/group__window.html create mode 100644 docs/3.4/index.html create mode 120000 docs/3.4/input.html create mode 100644 docs/3.4/input_8dox.html create mode 100644 docs/3.4/input_guide.html create mode 100644 docs/3.4/internal_8dox.html create mode 120000 docs/3.4/internals.html create mode 100644 docs/3.4/internals_guide.html create mode 120000 docs/3.4/intro.html create mode 100644 docs/3.4/intro_8dox.html create mode 100644 docs/3.4/intro_guide.html create mode 100644 docs/3.4/jquery.js create mode 100644 docs/3.4/main_8dox.html create mode 100644 docs/3.4/menu.js create mode 100644 docs/3.4/menudata.js create mode 100644 docs/3.4/modules.html create mode 120000 docs/3.4/monitor.html create mode 100644 docs/3.4/monitor_8dox.html create mode 100644 docs/3.4/monitor_guide.html create mode 120000 docs/3.4/moving.html create mode 100644 docs/3.4/moving_8dox.html create mode 100644 docs/3.4/moving_guide.html create mode 100644 docs/3.4/nav_f.png create mode 100644 docs/3.4/nav_g.png create mode 100644 docs/3.4/nav_h.png create mode 100644 docs/3.4/news.html create mode 100644 docs/3.4/news_8dox.html create mode 100644 docs/3.4/open.png create mode 100644 docs/3.4/pages.html create mode 120000 docs/3.4/quick.html create mode 100644 docs/3.4/quick_8dox.html create mode 100644 docs/3.4/quick_guide.html create mode 100644 docs/3.4/search/all_0.html create mode 100644 docs/3.4/search/all_0.js create mode 100644 docs/3.4/search/all_1.html create mode 100644 docs/3.4/search/all_1.js create mode 100644 docs/3.4/search/all_10.html create mode 100644 docs/3.4/search/all_10.js create mode 100644 docs/3.4/search/all_11.html create mode 100644 docs/3.4/search/all_11.js create mode 100644 docs/3.4/search/all_2.html create mode 100644 docs/3.4/search/all_2.js create mode 100644 docs/3.4/search/all_3.html create mode 100644 docs/3.4/search/all_3.js create mode 100644 docs/3.4/search/all_4.html create mode 100644 docs/3.4/search/all_4.js create mode 100644 docs/3.4/search/all_5.html create mode 100644 docs/3.4/search/all_5.js create mode 100644 docs/3.4/search/all_6.html create mode 100644 docs/3.4/search/all_6.js create mode 100644 docs/3.4/search/all_7.html create mode 100644 docs/3.4/search/all_7.js create mode 100644 docs/3.4/search/all_8.html create mode 100644 docs/3.4/search/all_8.js create mode 100644 docs/3.4/search/all_9.html create mode 100644 docs/3.4/search/all_9.js create mode 100644 docs/3.4/search/all_a.html create mode 100644 docs/3.4/search/all_a.js create mode 100644 docs/3.4/search/all_b.html create mode 100644 docs/3.4/search/all_b.js create mode 100644 docs/3.4/search/all_c.html create mode 100644 docs/3.4/search/all_c.js create mode 100644 docs/3.4/search/all_d.html create mode 100644 docs/3.4/search/all_d.js create mode 100644 docs/3.4/search/all_e.html create mode 100644 docs/3.4/search/all_e.js create mode 100644 docs/3.4/search/all_f.html create mode 100644 docs/3.4/search/all_f.js create mode 100644 docs/3.4/search/classes_0.html create mode 100644 docs/3.4/search/classes_0.js create mode 100644 docs/3.4/search/close.png create mode 100644 docs/3.4/search/defines_0.html create mode 100644 docs/3.4/search/defines_0.js create mode 100644 docs/3.4/search/files_0.html create mode 100644 docs/3.4/search/files_0.js create mode 100644 docs/3.4/search/files_1.html create mode 100644 docs/3.4/search/files_1.js create mode 100644 docs/3.4/search/files_2.html create mode 100644 docs/3.4/search/files_2.js create mode 100644 docs/3.4/search/files_3.html create mode 100644 docs/3.4/search/files_3.js create mode 100644 docs/3.4/search/files_4.html create mode 100644 docs/3.4/search/files_4.js create mode 100644 docs/3.4/search/files_5.html create mode 100644 docs/3.4/search/files_5.js create mode 100644 docs/3.4/search/files_6.html create mode 100644 docs/3.4/search/files_6.js create mode 100644 docs/3.4/search/files_7.html create mode 100644 docs/3.4/search/files_7.js create mode 100644 docs/3.4/search/files_8.html create mode 100644 docs/3.4/search/files_8.js create mode 100644 docs/3.4/search/functions_0.html create mode 100644 docs/3.4/search/functions_0.js create mode 100644 docs/3.4/search/groups_0.html create mode 100644 docs/3.4/search/groups_0.js create mode 100644 docs/3.4/search/groups_1.html create mode 100644 docs/3.4/search/groups_1.js create mode 100644 docs/3.4/search/groups_2.html create mode 100644 docs/3.4/search/groups_2.js create mode 100644 docs/3.4/search/groups_3.html create mode 100644 docs/3.4/search/groups_3.js create mode 100644 docs/3.4/search/groups_4.html create mode 100644 docs/3.4/search/groups_4.js create mode 100644 docs/3.4/search/groups_5.html create mode 100644 docs/3.4/search/groups_5.js create mode 100644 docs/3.4/search/groups_6.html create mode 100644 docs/3.4/search/groups_6.js create mode 100644 docs/3.4/search/groups_7.html create mode 100644 docs/3.4/search/groups_7.js create mode 100644 docs/3.4/search/groups_8.html create mode 100644 docs/3.4/search/groups_8.js create mode 100644 docs/3.4/search/groups_9.html create mode 100644 docs/3.4/search/groups_9.js create mode 100644 docs/3.4/search/groups_a.html create mode 100644 docs/3.4/search/groups_a.js create mode 100644 docs/3.4/search/mag_sel.png create mode 100644 docs/3.4/search/nomatches.html create mode 100644 docs/3.4/search/pages_0.html create mode 100644 docs/3.4/search/pages_0.js create mode 100644 docs/3.4/search/pages_1.html create mode 100644 docs/3.4/search/pages_1.js create mode 100644 docs/3.4/search/pages_2.html create mode 100644 docs/3.4/search/pages_2.js create mode 100644 docs/3.4/search/pages_3.html create mode 100644 docs/3.4/search/pages_3.js create mode 100644 docs/3.4/search/pages_4.html create mode 100644 docs/3.4/search/pages_4.js create mode 100644 docs/3.4/search/pages_5.html create mode 100644 docs/3.4/search/pages_5.js create mode 100644 docs/3.4/search/pages_6.html create mode 100644 docs/3.4/search/pages_6.js create mode 100644 docs/3.4/search/pages_7.html create mode 100644 docs/3.4/search/pages_7.js create mode 100644 docs/3.4/search/pages_8.html create mode 100644 docs/3.4/search/pages_8.js create mode 100644 docs/3.4/search/pages_9.html create mode 100644 docs/3.4/search/pages_9.js create mode 100644 docs/3.4/search/pages_a.html create mode 100644 docs/3.4/search/pages_a.js create mode 100644 docs/3.4/search/search.css create mode 100644 docs/3.4/search/search.js create mode 100644 docs/3.4/search/search_l.png create mode 100644 docs/3.4/search/search_m.png create mode 100644 docs/3.4/search/search_r.png create mode 100644 docs/3.4/search/searchdata.js create mode 100644 docs/3.4/search/typedefs_0.html create mode 100644 docs/3.4/search/typedefs_0.js create mode 100644 docs/3.4/search/variables_0.html create mode 100644 docs/3.4/search/variables_0.js create mode 100644 docs/3.4/search/variables_1.html create mode 100644 docs/3.4/search/variables_1.js create mode 100644 docs/3.4/search/variables_2.html create mode 100644 docs/3.4/search/variables_2.js create mode 100644 docs/3.4/search/variables_3.html create mode 100644 docs/3.4/search/variables_3.js create mode 100644 docs/3.4/search/variables_4.html create mode 100644 docs/3.4/search/variables_4.js create mode 100644 docs/3.4/search/variables_5.html create mode 100644 docs/3.4/search/variables_5.js create mode 100644 docs/3.4/search/variables_6.html create mode 100644 docs/3.4/search/variables_6.js create mode 100644 docs/3.4/search/variables_7.html create mode 100644 docs/3.4/search/variables_7.js create mode 100644 docs/3.4/spaces.svg create mode 100644 docs/3.4/splitbar.png create mode 100644 docs/3.4/structGLFWgamepadstate.html create mode 100644 docs/3.4/structGLFWgammaramp.html create mode 100644 docs/3.4/structGLFWimage.html create mode 100644 docs/3.4/structGLFWvidmode.html create mode 100644 docs/3.4/sync_off.png create mode 100644 docs/3.4/sync_on.png create mode 100644 docs/3.4/tab_a.png create mode 100644 docs/3.4/tab_b.png create mode 100644 docs/3.4/tab_h.png create mode 100644 docs/3.4/tab_s.png create mode 100644 docs/3.4/tabs.css create mode 120000 docs/3.4/vulkan.html create mode 100644 docs/3.4/vulkan_8dox.html create mode 100644 docs/3.4/vulkan_guide.html create mode 120000 docs/3.4/window.html create mode 100644 docs/3.4/window_8dox.html create mode 100644 docs/3.4/window_guide.html create mode 120000 docs/latest diff --git a/docs/3.0.1 b/docs/3.0.1 new file mode 120000 index 0000000..f398a20 --- /dev/null +++ b/docs/3.0.1 @@ -0,0 +1 @@ +3.0 \ No newline at end of file diff --git a/docs/3.0.2 b/docs/3.0.2 new file mode 120000 index 0000000..f398a20 --- /dev/null +++ b/docs/3.0.2 @@ -0,0 +1 @@ +3.0 \ No newline at end of file diff --git a/docs/3.0.3 b/docs/3.0.3 new file mode 120000 index 0000000..f398a20 --- /dev/null +++ b/docs/3.0.3 @@ -0,0 +1 @@ +3.0 \ No newline at end of file diff --git a/docs/3.0.4 b/docs/3.0.4 new file mode 120000 index 0000000..f398a20 --- /dev/null +++ b/docs/3.0.4 @@ -0,0 +1 @@ +3.0 \ No newline at end of file diff --git a/docs/3.0/annotated.html b/docs/3.0/annotated.html new file mode 100644 index 0000000..31cdebd --- /dev/null +++ b/docs/3.0/annotated.html @@ -0,0 +1,79 @@ + + + + + + +GLFW: Data Structures + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Data Structures
+
+
+
Here are the data structures with brief descriptions:
+ + + +
 CGLFWgammarampGamma ramp
 CGLFWvidmodeVideo mode type
+
+
+ + + diff --git a/docs/3.0/bc_s.png b/docs/3.0/bc_s.png new file mode 100644 index 0000000000000000000000000000000000000000..224b29aa9847d5a4b3902efd602b7ddf7d33e6c2 GIT binary patch literal 676 zcmV;V0$crwP)y__>=_9%My z{n931IS})GlGUF8K#6VIbs%684A^L3@%PlP2>_sk`UWPq@f;rU*V%rPy_ekbhXT&s z(GN{DxFv}*vZp`F>S!r||M`I*nOwwKX+BC~3P5N3-)Y{65c;ywYiAh-1*hZcToLHK ztpl1xomJ+Yb}K(cfbJr2=GNOnT!UFA7Vy~fBz8?J>XHsbZoDad^8PxfSa0GDgENZS zuLCEqzb*xWX2CG*b&5IiO#NzrW*;`VC9455M`o1NBh+(k8~`XCEEoC1Ybwf;vr4K3 zg|EB<07?SOqHp9DhLpS&bzgo70I+ghB_#)K7H%AMU3v}xuyQq9&Bm~++VYhF09a+U zl7>n7Jjm$K#b*FONz~fj;I->Bf;ule1prFN9FovcDGBkpg>)O*-}eLnC{6oZHZ$o% zXKW$;0_{8hxHQ>l;_*HATI(`7t#^{$(zLe}h*mqwOc*nRY9=?Sx4OOeVIfI|0V(V2 zBrW#G7Ss9wvzr@>H*`r>zE z+e8bOBgqIgldUJlG(YUDviMB`9+DH8n-s9SXRLyJHO1!=wY^79WYZMTa(wiZ!zP66 zA~!21vmF3H2{ngD;+`6j#~6j;$*f*G_2ZD1E;9(yaw7d-QnSCpK(cR1zU3qU0000< KMNUMnLSTYoA~SLT literal 0 HcmV?d00001 diff --git a/docs/3.0/bdwn.png b/docs/3.0/bdwn.png new file mode 100644 index 0000000000000000000000000000000000000000..940a0b950443a0bb1b216ac03c45b8a16c955452 GIT binary patch literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^>_E)H!3HEvS)PKZC{Gv1kP61Pb5HX&C2wk~_T + + + + + +GLFW: Bug List + + + + + + + + + + +
+ + + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Bug List
+
+
+
+
Global glfwSetMonitorCallback (GLFWmonitorfun cbfun)
+
X11: This callback is not yet called on monitor configuration changes.
+
+
+ + + diff --git a/docs/3.0/build.html b/docs/3.0/build.html new file mode 100644 index 0000000..3bd1ac1 --- /dev/null +++ b/docs/3.0/build.html @@ -0,0 +1,151 @@ + + + + + + +GLFW: Building programs that use GLFW + + + + + + + + + + +
+ + + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Building programs that use GLFW
+
+
+ +

This is about compiling and linking programs that use GLFW. For information on how to write such programs, start with the introductory tutorial. For information on how to compile the GLFW library itself, see the Compiling GLFW guide.

+

+Including the GLFW header file

+

In the files of your program where you use OpenGL or GLFW, you should include the GLFW 3 header file, i.e.:

+
#include <GLFW/glfw3.h>

This defines all the constants, types and function prototypes of the GLFW API. It also includes the chosen client API header files (by default OpenGL), and defines all the constants and types necessary for those headers to work on that platform.

+

For example, under Windows you are normally required to include windows.h before including GL/gl.h. This would make your source file tied to Windows and pollute your code's namespace with the whole Win32 API.

+

Instead, the GLFW header takes care of this for you, not by including windows.h, but rather by itself duplicating only the necessary parts of it. It does this only where needed, so if windows.h is included, the GLFW header does not try to redefine those symbols.

+

In other words:

+
    +
  • Do not include the OpenGL headers yourself, as GLFW does this for you
  • +
  • Do not include windows.h or other platform-specific headers unless you plan on using those APIs directly
  • +
  • If you do need to include such headers, do it before including the GLFW one and it will detect this
  • +
+

If you are using an OpenGL extension loading library such as GLEW, the GLEW header should also be included before* the GLFW one. The GLEW header defines macros that disable any OpenGL header that the GLFW header includes and GLEW will work as expected.

+

+GLFW header option macros

+

These macros may be defined before the inclusion of the GLFW header and affect the behavior of the header. Note that GLFW does not provide any of the OpenGL or OpenGL ES headers mentioned below. These are provided by your development environment or your OpenGL or OpenGL ES SDK.

+

GLFW_INCLUDE_GLCOREARB makes the header include the modern GL/glcorearb.h header (OpenGL/gl3.h on OS X) instead of the regular OpenGL header.

+

GLFW_INCLUDE_ES1 makes the header include the OpenGL ES 1.x GLES/gl.h header instead of the regular OpenGL header.

+

GLFW_INCLUDE_ES2 makes the header include the OpenGL ES 2.0 GLES2/gl2.h header instead of the regular OpenGL header.

+

GLFW_INCLUDE_ES3 makes the header include the OpenGL ES 3.0 GLES3/gl3.h header instead of the regular OpenGL header.

+

GLFW_INCLUDE_NONE makes the header not include any client API header.

+

GLFW_INCLUDE_GLU makes the header include the GLU header in addition to the OpenGL header. This should only be used with the default GL/gl.h header (OpenGL/gl.h on OS X), i.e. if you are not using any of the above macros.

+

GLFW_DLL is necessary when using the GLFW DLL on Windows, in order to explain to the compiler that the GLFW functions will be coming from another executable. It has no function on other platforms.

+

+Link with the right libraries

+

+With MinGW or Visual C++ on Windows

+

The static version of the GLFW library is named glfw3. When using this version, it is also necessary to link with some libraries that GLFW uses.

+

When linking a program under Windows that uses the static version of GLFW, you must link with opengl32. On some versions of MinGW, you must also explicitly link with gdi32, while other versions of MinGW include it in the set of default libraries along with other dependencies like user32 and kernel32. If you are using GLU, you must also link with glu32.

+

The link library for the GLFW DLL is named glfw3dll. When compiling a program that uses the DLL version of GLFW, you need to define the GLFW_DLL macro before* any inclusion of the GLFW header. This can be done either with a compiler switch or by defining it in your source code.

+

A program using the GLFW DLL does not need to link against any of its dependencies, but you still have to link against opengl32 if your program uses OpenGL and glu32 if it uses GLU.

+

+With CMake and GLFW source

+

You can use the GLFW source tree directly from a project that uses CMake. This way, GLFW will be built along with your application as needed.

+

Firstly, add the root directory of the GLFW source tree to your project. This will add the glfw target and the necessary cache variables to your project.

add_subdirectory(path/to/glfw)
+

To be able to include the GLFW header from your code, you need to tell the compiler where to find it.

include_directories(path/to/glfw/include)
+

Once GLFW has been added to the project, the GLFW_LIBRARIES cache variable contains all link-time dependencies of GLFW as it is currently configured. To link against GLFW, link against them and the glfw target.

target_link_libraries(myapp glfw ${GLFW_LIBRARIES})
+

Note that GLFW_LIBRARIES does not include GLU, as GLFW does not use it. If your application needs GLU, you can add it to the list of dependencies with the OPENGL_glu_LIBRARY cache variable, which is implicitly created when the GLFW CMake files look for OpenGL.

target_link_libraries(myapp glfw ${OPENGL_glu_LIBRARY} ${GLFW_LIBRARIES})
+

+With CMake on Unix and installed GLFW binaries

+

CMake can import settings from pkg-config, which GLFW supports. When you installed GLFW, the pkg-config file glfw3.pc was installed along with it.

+

First you need to find the PkgConfig package. If this fails, you may need to install the pkg-config package for your distribution.

find_package(PkgConfig REQUIRED)
+

This creates the CMake commands to find pkg-config packages. Then you need to find the GLFW package.

pkg_search_module(GLFW REQUIRED glfw3)
+

This creates the CMake variables you need to use GLFW. To be able to include the GLFW header, you need to tell your compiler where it is.

include_directories(${GLFW_INCLUDE_DIRS})
+

You also need to link against the correct libraries. If you are using the shared library version of GLFW, use the GLFW_LIBRARIES variable.

target_link_libraries(simple ${GLFW_LIBRARIES})
+

If you are using the static library version of GLFW, use the GLFW_STATIC_LIBRARIES variable instead.

target_link_libraries(simple ${GLFW_STATIC_LIBRARIES})
+

+With pkg-config on OS X or other Unix

+

GLFW supports pkg-config, and the glfw3.pc file is generated when the GLFW library is built and installed along with it.
+ A typical compile and link command-line when using the static may look like this:

cc `pkg-config --cflags glfw3` -o myprog myprog.c `pkg-config --static --libs glfw3`
+

If you are using the shared library, simply omit the --static flag.

cc `pkg-config --cflags glfw3` -o myprog myprog.c `pkg-config --libs glfw3`
+

You can also use the glfw3.pc file without installing it first, by using the PKG_CONFIG_PATH environment variable.

env PKG_CONFIG_PATH=path/to/glfw/src cc `pkg-config --cflags glfw3` -o myprog myprog.c `pkg-config --static --libs glfw3`
+

The dependencies do not include GLU, as GLFW does not need it. On OS X, GLU is built into the OpenGL framework, so if you need GLU you don't need to do anything extra. If you need GLU and are using Linux or BSD, you should add -lGLU to your link flags.

+

See the manpage and other documentation for pkg-config and your compiler and linker for more information on how to link programs.

+

+With Xcode on OS X

+

If you are using the dynamic library version of GLFW, simply add it to the project dependencies.

+

If you are using the static library version of GLFW, add it and the Cocoa, OpenGL, IOKit and CoreVideo frameworks to the project as dependencies.

+

+With command-line on OS X

+

If you do not wish to use pkg-config, you need to add the required frameworks and libraries to your command-line using the -l and -framework switches, i.e.:

cc -o myprog myprog.c -lglfw -framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo
+

Note that you do not add the .framework extension to a framework when adding it from the command-line.

+

The OpenGL framework contains both the OpenGL and GLU APIs, so there is nothing special to do when using GLU. Also note that even though your machine may have libGL-style OpenGL libraries, they are for use with the X Window System and will not work with the OS X native version of GLFW.

+
+ + + diff --git a/docs/3.0/build_8dox.html b/docs/3.0/build_8dox.html new file mode 100644 index 0000000..5265316 --- /dev/null +++ b/docs/3.0/build_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: build.dox File Reference + + + + + + + + + + +
+ + + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
build.dox File Reference
+
+
+
+ + + diff --git a/docs/3.0/classes.html b/docs/3.0/classes.html new file mode 100644 index 0000000..33f3b82 --- /dev/null +++ b/docs/3.0/classes.html @@ -0,0 +1,82 @@ + + + + + + +GLFW: Data Structure Index + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Data Structure Index
+
+
+ + + + + + +
  g  
+
GLFWvidmode   
GLFWgammaramp   
+ +
+ + + diff --git a/docs/3.0/closed.png b/docs/3.0/closed.png new file mode 100644 index 0000000000000000000000000000000000000000..98cc2c909da37a6df914fbf67780eebd99c597f5 GIT binary patch literal 132 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{V-kvUwAr*{o@8{^CZMh(5KoB^r_<4^zF@3)Cp&&t3hdujKf f*?bjBoY!V+E))@{xMcbjXe@)LtDnm{r-UW|*e5JT literal 0 HcmV?d00001 diff --git a/docs/3.0/compat.html b/docs/3.0/compat.html new file mode 100644 index 0000000..edc3ca8 --- /dev/null +++ b/docs/3.0/compat.html @@ -0,0 +1,110 @@ + + + + + + +GLFW: Standards conformance + + + + + + + + + + +
+ + + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Standards conformance
+
+
+ +

This chapter describes the various API extensions used by this version of GLFW. It lists what are essentially implementation details, but which are nonetheless vital knowledge for developers wishing to deploy their applications on machines with varied specifications.

+

Note that the information in this appendix is not a part of the API specification but merely list some of the preconditions for certain parts of the API to function on a given machine. As such, any part of it may change in future versions without this being considered a breaking API change.

+

+ICCCM and EWMH conformance

+

As GLFW uses Xlib, directly, without any intervening toolkit library, it has sole responsibility for interacting well with the many and varied window managers in use on Unix-like systems. In order for applications and window managers to work well together, a number of standards and conventions have been developed that regulate behavior outside the scope of the X11 API; most importantly the Inter-Client Communication Conventions Manual (ICCCM) and Extended Window Manager Hints (EWMH) standards.

+

GLFW uses the ICCCM WM_DELETE_WINDOW protocol to intercept the user attempting to close the GLFW window. If the running window manager does not support this protocol, the close callback will never be called.

+

GLFW uses the EWMH _NET_WM_PING protocol, allowing the window manager notify the user when the application has stopped responding, i.e. when it has ceased to process events. If the running window manager does not support this protocol, the user will not be notified if the application locks up.

+

GLFW uses the EWMH _NET_WM_STATE protocol to tell the window manager to make the GLFW window full screen. If the running window manager does not support this protocol, full screen windows may not work properly. GLFW has a fallback code path in case this protocol is unavailable, but every window manager behaves slightly differently in this regard.

+

GLFW uses the clipboard manager protocol to push a clipboard string (i.e. selection) owned by a GLFW window about to be destroyed to the clipboard manager. If there is no running clipboard manager, the clipboard string will be unavailable once the window has been destroyed.

+

+GLX extensions

+

The GLX API is the default API used to create OpenGL contexts on Unix-like systems using the X Window System.

+

GLFW uses the GLXFBConfig API to enumerate and select framebuffer pixel formats. This requires either GLX 1.3 or greater, or the GLX_SGIX_fbconfig extension. Where both are available, the SGIX extension is preferred. If neither is available, GLFW will be unable to create windows.

+

GLFW uses the GLX_MESA_swap_control, GLX_EXT_swap_control and GLX_SGI_swap_control extensions to provide vertical retrace synchronization (or "vsync"), in that order of preference. Where none of these extension are available, calling glfwSwapInterval will have no effect.

+

GLFW uses the GLX_ARB_multisample extension to create contexts with multisampling anti-aliasing. Where this extension is unavailable, the GLFW_SAMPLES hint will have no effect.

+

GLFW uses the GLX_ARB_create_context extension when available, even when creating OpenGL contexts of version 2.1 and below. Where this extension is unavailable, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will only be partially supported, the GLFW_OPENGL_DEBUG_CONTEXT hint will have no effect, and setting the GLFW_OPENGL_PROFILE or GLFW_OPENGL_FORWARD_COMPAT hints to a non-zero value will cause glfwCreateWindow to fail.

+

GLFW uses the GLX_ARB_create_context_profile extension to provide support for context profiles. Where this extension is unavailable, setting the GLFW_OPENGL_PROFILE hint to anything but zero, or setting GLFW_CLIENT_API to anything but GLFW_OPENGL_API will cause glfwCreateWindow to fail.

+

+WGL extensions

+

The WGL API is used to create OpenGL contexts on Microsoft Windows and other implementations of the Win32 API, such as Wine.

+

GLFW uses either the WGL_EXT_extension_string or the WGL_ARB_extension_string extension to check for the presence of all other WGL extensions listed below. If both are available, the EXT one is preferred. If neither is available, no other extensions are used and many GLFW features related to context creation will have no effect or cause errors when used.

+

GLFW uses the WGL_EXT_swap_control extension to provide vertical retrace synchronization (or 'vsync'). Where this extension is unavailable, calling glfwSwapInterval will have no effect.

+

GLFW uses the WGL_ARB_pixel_format and WGL_ARB_multisample extensions to create contexts with multisampling anti-aliasing. Where these extensions are unavailable, the GLFW_SAMPLES hint will have no effect.

+

GLFW uses the WGL_ARB_create_context extension when available, even when creating OpenGL contexts of version 2.1 and below. Where this extension is unavailable, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will only be partially supported, the GLFW_OPENGL_DEBUG_CONTEXT hint will have no effect, and setting the GLFW_OPENGL_PROFILE or GLFW_OPENGL_FORWARD_COMPAT hints to a non-zero value will cause glfwCreateWindow to fail.

+

GLFW uses the WGL_ARB_create_context_profile extension to provide support for context profiles. Where this extension is unavailable, setting the GLFW_OPENGL_PROFILE hint to anything but zero will cause glfwCreateWindow to fail.

+

+OpenGL 3.2 and later on OS X

+

Support for OpenGL 3.2 and above was introduced with OS X 10.7 and even then only forward-compatible, core profile contexts are supported. Support for OpenGL 4.1 was introduced with OS X 10.9, also limited to forward-compatible, core profile contexts. There is also still no mechanism for requesting debug contexts. Versions of Mac OS X earlier than 10.7 support at most OpenGL version 2.1.

+

Because of this, on OS X 10.7 and later, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will cause glfwCreateWindow to fail if given version 3.0 or 3.1, the GLFW_OPENGL_FORWARD_COMPAT hint must be set to non-zero and the GLFW_OPENGL_PROFILE hint must be set to GLFW_OPENGL_CORE_PROFILE when creating OpenGL 3.2 and later contexts and the GLFW_OPENGL_DEBUG_CONTEXT hint is ignored.

+

Also, on Mac OS X 10.6 and below, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will fail if given a version above 2.1, setting the GLFW_OPENGL_PROFILE or GLFW_OPENGL_FORWARD_COMPAT hints to a non-default value will cause glfwCreateWindow to fail and the GLFW_OPENGL_DEBUG_CONTEXT hint is ignored.

+
+ + + diff --git a/docs/3.0/compat_8dox.html b/docs/3.0/compat_8dox.html new file mode 100644 index 0000000..7f96e57 --- /dev/null +++ b/docs/3.0/compat_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: compat.dox File Reference + + + + + + + + + + +
+ + + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
compat.dox File Reference
+
+
+
+ + + diff --git a/docs/3.0/compile.html b/docs/3.0/compile.html new file mode 100644 index 0000000..e037f8c --- /dev/null +++ b/docs/3.0/compile.html @@ -0,0 +1,196 @@ + + + + + + +GLFW: Compiling GLFW + + + + + + + + + + +
+ + + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Compiling GLFW
+
+
+ +

This is about compiling the GLFW library itself. For information on how to build programs that use GLFW, see the Building programs that use GLFW guide.

+

+Dependencies

+

To compile GLFW and the accompanying example programs, you will need CMake, which will generate the project files or makefiles for your particular development environment. If you are on a Unix-like system such as Linux or FreeBSD or have a package system like Fink, MacPorts, Cygwin or Homebrew, you can simply install its CMake package. If not, you can get installers for Windows and OS X from the CMake website.

+

Additional dependencies are listed below.

+

If you wish to compile GLFW without CMake, see Compiling GLFW manually.

+

+Dependencies using Visual C++ on Windows

+

The Microsoft Platform SDK that is installed along with Visual C++ contains all the necessary headers, link libraries and tools except for CMake.

+

+Dependencies with MinGW or MinGW-w64 on Windows

+

Both the MinGW and the MinGW-w64 packages contain all the necessary headers, link libraries and tools except for CMake.

+

+Dependencies using MinGW or MinGW-w64 cross-compilation

+

Both Cygwin and many Linux distributions have MinGW or MinGW-w64 packages. For example, Cygwin has the mingw64-i686-gcc and mingw64-x86_64-gcc packages for 32- and 64-bit version of MinGW-w64, while Debian GNU/Linux and derivatives like Ubuntu have the mingw-w64 package for both.

+

GLFW has CMake toolchain files in the CMake/ directory that allow for easy cross-compilation of Windows binaries. To use these files you need to add a special parameter when generating the project files or makefiles:

cmake -DCMAKE_TOOLCHAIN_FILE=<toolchain-file> .
+

The exact toolchain file to use depends on the prefix used by the MinGW or MinGW-w64 binaries on your system. You can usually see this in the /usr directory. For example, both the Debian/Ubuntu and Cygwin MinGW-w64 packages have /usr/x86_64-w64-mingw32 for the 64-bit compilers, so the correct invocation would be:

cmake -DCMAKE_TOOLCHAIN_FILE=CMake/x86_64-w64-mingw32.cmake .
+

For more details see the article CMake Cross Compiling on the CMake wiki.

+

+Dependencies using Xcode on OS X

+

Xcode contains all necessary tools except for CMake. The necessary headers and libraries are included in the core OS frameworks. Xcode can be downloaded from the Mac App Store or from the ADC Member Center.

+

+Dependencies using Linux and X11

+

To compile GLFW for X11, you need to have the X11 and OpenGL header packages installed, as well as the basic development tools like GCC and make. For example, on Ubuntu and other distributions based on Debian GNU/Linux, you need to install the xorg-dev and libglu1-mesa-dev packages. The former pulls in all X.org header packages and the latter pulls in the Mesa OpenGL and GLU packages. GLFW itself doesn't need or use GLU, but some of the examples do. Note that using header files and libraries from Mesa during compilation will not tie your binaries to the Mesa implementation of OpenGL.

+

+Generating files with CMake

+

Once you have all necessary dependencies it is time to generate the project files or makefiles for your development environment. CMake needs to know two paths for this: the path to the root directory of the GLFW source tree (i.e. not* the src subdirectory) and the target path for the generated files and compiled binaries. If these are the same, it is called an in-tree build, otherwise it is called an out-of-tree build.

+

One of several advantages of out-of-tree builds is that you can generate files and compile for different development environments using a single source tree.

+

+Generating files with the CMake command-line tool

+

To make an in-tree build, enter the root directory of the GLFW source tree (i.e. not the src subdirectory) and run CMake. The current directory is used as target path, while the path provided as an argument is used to find the source tree.

cd <glfw-root-dir>
+cmake .
+

To make an out-of-tree build, make another directory, enter it and run CMake with the (relative or absolute) path to the root of the source tree as an argument.

cd <glfw-root-dir>
+mkdir build
+cd build
+cmake ..
+

+Generating files with the CMake GUI

+

If you are using the GUI version, choose the root of the GLFW source tree as source location and the same directory or another, empty directory as the destination for binaries. Choose Configure, change any options you wish to, Configure* again to let the changes take effect and then Generate.

+

+CMake options

+

The CMake files for GLFW provide a number of options, although not all are available on all supported platforms. Some of these are de facto standards among CMake users and so have no GLFW_ prefix.

+

If you are using the GUI version of CMake, these are listed and can be changed from there. If you are using the command-line version, use the ccmake tool. Some package systems like Ubuntu and other distributions based on Debian GNU/Linux have this tool in a separate cmake-curses-gui package.

+

+Shared CMake options

+

BUILD_SHARED_LIBS determines whether GLFW is built as a static library or as a DLL / shared library / dynamic library.

+

LIB_SUFFIX affects where the GLFW shared /dynamic library is installed. If it is empty, it is installed to ${CMAKE_INSTALL_PREFIX}/lib. If it is set to 64, it is installed to ${CMAKE_INSTALL_PREFIX}/lib64.

+

GLFW_CLIENT_LIBRARY determines which client API library to use. If set to opengl the OpenGL library is used, if set to glesv1 for the OpenGL ES 1.x library is used, or if set to glesv2 the OpenGL ES 2.0 library is used. The selected library and its header files must be present on the system for this to work.

+

GLFW_BUILD_EXAMPLES determines whether the GLFW examples are built along with the library.

+

GLFW_BUILD_TESTS determines whether the GLFW test programs are built along with the library.

+

GLFW_BUILD_DOCS determines whether the GLFW documentation is built along with the library.

+

+OS X specific CMake options

+

GLFW_USE_CHDIR determines whether glfwInit changes the current directory of bundled applications to the Contents/Resources directory.

+

GLFW_USE_MENUBAR determines whether the first call to glfwCreateWindow sets up a minimal menu bar.

+

GLFW_BUILD_UNIVERSAL determines whether to build Universal Binaries.

+

+Windows specific CMake options

+

USE_MSVC_RUNTIME_LIBRARY_DLL determines whether to use the DLL version or the static library version of the Visual C++ runtime library. If set to ON, the DLL version of the Visual C++ library is used. It is recommended to set this to ON, as this keeps the executable smaller and benefits from security and bug fix updates of the Visual C++ runtime.

+

GLFW_USE_DWM_SWAP_INTERVAL determines whether the swap interval is set even when DWM compositing is enabled. If this is ON, the swap interval is set even if DWM is enabled. It is recommended to set this to OFF, as doing otherwise can lead to severe jitter.

+

GLFW_USE_OPTIMUS_HPG determines whether to export the NvOptimusEnablement symbol, which forces the use of the high-performance GPU on nVidia Optimus systems.

+

+EGL specific CMake options

+

GLFW_USE_EGL determines whether to use EGL instead of the platform-specific context creation API. Note that EGL is not yet provided on all supported platforms.

+

+Compiling GLFW manually

+

If you wish to compile GLFW without its CMake build environment then you will have to do at least some of the platform detection yourself. GLFW needs a number of configuration macros to be defined in order to know what it's being compiled for and has many optional, platform-specific ones for various features.

+

When building with CMake, the glfw_config.h configuration header is generated based on the current platform and CMake options. The GLFW CMake environment defines _GLFW_USE_CONFIG_H, which causes this header to be included by internal.h. Without this macro, GLFW will expect the necessary configuration macros to be defined on the command-line.

+

Three macros must be defined when compiling GLFW: one for selecting the window creation API, one selecting the context creation API and one client library. Exactly one of each kind must be defined for GLFW to compile and link.

+

The window creation API is used to create windows, handle input, monitors, gamma ramps and clipboard. The options are:

+
    +
  • _GLFW_COCOA to use the Cocoa frameworks
  • +
  • _GLFW_WIN32 to use the Win32 API
  • +
  • _GLFW_X11 to use the X Window System
  • +
+

The context creation API is used to enumerate pixel formats / framebuffer configurations and to create contexts. The options are:

+
    +
  • _GLFW_NSGL to use the Cocoa OpenGL framework
  • +
  • _GLFW_WGL to use the Win32 WGL API
  • +
  • _GLFW_GLX to use the X11 GLX API
  • +
  • _GLFW_EGL to use the EGL API (experimental)
  • +
+

The client library is the one providing the OpenGL or OpenGL ES API, which is used by GLFW to probe the created context. This is not the same thing as the client API, as many desktop OpenGL client libraries now expose the OpenGL ES API through extensions. The options are:

+
    +
  • _GLFW_USE_OPENGL for the desktop OpenGL (opengl32.dll, libGL.so or OpenGL.framework)
  • +
  • _GLFW_USE_GLESV1 for OpenGL ES 1.x (experimental)
  • +
  • _GLFW_USE_GLESV2 for OpenGL ES 2.x (experimental)
  • +
+

Note that _GLFW_USE_GLESV1 and _GLFW_USE_GLESV2 may only be used with EGL, as the other context creation APIs do not interface with OpenGL ES client libraries.

+

If you are building GLFW as a shared library / dynamic library / DLL then you must also define _GLFW_BUILD_DLL. Otherwise, you may not define it.

+

If you are using the X11 window creation API then you must also select an entry point retrieval mechanism.

+
    +
  • _GLFW_HAS_GLXGETPROCADDRESS to use glXGetProcAddress (recommended)
  • +
  • _GLFW_HAS_GLXGETPROCADDRESSARB to use glXGetProcAddressARB (legacy)
  • +
  • _GLFW_HAS_GLXGETPROCADDRESSEXT to use glXGetProcAddressEXT (legacy)
  • +
  • _GLFW_HAS_DLOPEN to do manual retrieval with dlopen (fallback)
  • +
+

If you are using the Cocoa window creation API, the following options are available:

+
    +
  • _GLFW_USE_CHDIR to chdir to the Resources subdirectory of the application bundle during glfwInit (recommended)
  • +
  • _GLFW_USE_MENUBAR to create and populate the menu bar when the first window is created (recommended)
  • +
+
+ + + diff --git a/docs/3.0/compile_8dox.html b/docs/3.0/compile_8dox.html new file mode 100644 index 0000000..9444b55 --- /dev/null +++ b/docs/3.0/compile_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: compile.dox File Reference + + + + + + + + + + +
+ + + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
compile.dox File Reference
+
+
+
+ + + diff --git a/docs/3.0/context.html b/docs/3.0/context.html new file mode 100644 index 0000000..699b99f --- /dev/null +++ b/docs/3.0/context.html @@ -0,0 +1,130 @@ + + + + + + +GLFW: Context handling guide + + + + + + + + + + +
+ + + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Context handling guide
+
+
+ +

The primary purpose of GLFW is to provide a simple interface to window management and OpenGL and OpenGL ES context creation. GLFW supports multiple windows, each of which has its own context.

+

+Context handles

+

The GLFWwindow object encapsulates both a window and a context. They are created with glfwCreateWindow and destroyed with glfwDestroyWindow (or glfwTerminate, if any remain). As the window and context are inseparably linked, the object pointer is used as both a context and window handle.

+

+Context creation hints

+

There are a number of hints, specified using glfwWindowHint, related to what kind of context is created. See context related hints in the window handling guide.

+

+Context object sharing

+

When creating a window and context with glfwCreateWindow, you can specify another window whose context the new one should share its objects with. OpenGL object sharing is implemented by the operating system and graphics driver and is described in the OpenGL documentation. On platforms where it is possible to choose which types of objects are shared, GLFW requests that all are shared.

+

+Current context

+

Before you can use the OpenGL or OpenGL ES APIs, you need to have a current context of the proper type. The context encapsulates all render state and all objects like textures and shaders.

+

Note that a context can only be current for a single thread at a time, and a thread can only have a single context at a time.

+

A context is made current with glfwMakeContextCurrent.

+

The current context is returned by glfwGetCurrentContext.

+

+Swapping buffers

+

See swapping buffers in the window handling guide.

+

+OpenGL extension handling

+

One of the benefits of OpenGL is its extensibility. Independent hardware vendors (IHVs) may include functionality in their OpenGL implementations that expand upon the OpenGL standard before that functionality is included in a new version of the OpenGL specification.

+

An extension is defined by:

+
    +
  • An extension name (e.g. GL_ARB_debug_output)
  • +
  • New OpenGL tokens (e.g. GL_DEBUG_SEVERITY_HIGH_ARB)
  • +
  • New OpenGL functions (e.g. glGetDebugMessageLogARB)
  • +
+

Note the ARB affix, which stands for Architecture Review Board and is used for official extensions. There are many different affixes, depending on who wrote the extension. A list of extensions, together with their specifications, can be found at the OpenGL Registry.

+

To use a certain extension, you must first check whether the context supports that extension and then, if it introduces new functions, retrieve the pointers to those functions.

+

This can be done with GLFW, as will be described in this section, but usually you will instead want to use a dedicated extension loading library such as GLEW. This kind of library greatly reduces the amount of work necessary to use both OpenGL extensions and modern versions of the OpenGL API. GLEW in particular has been extensively tested with and works well with GLFW.

+

+The glext.h header

+

The glext.h header is a continually updated file that defines the interfaces for all OpenGL extensions. The latest version of this can always be found at the OpenGL Registry. It it strongly recommended that you use your own copy, as the one shipped with your development environment may be several years out of date and may not include the extensions you wish to use.

+

The header defines function pointer types for all functions of all extensions it supports. These have names like PFNGLGETDEBUGMESSAGELOGARB (for glGetDebugMessageLogARB), i.e. the name is made uppercase and PFN and PROC are added to the ends.

+

+Checking for extensions

+

A given machine may not actually support the extension (it may have older drivers or a graphics card that lacks the necessary hardware features), so it is necessary to check whether the context supports the extension. This is done with glfwExtensionSupported.

+
if (glfwExtensionSupported("GL_ARB_debug_output"))
{
// The extension is supported by the current context
}

The argument is a null terminated ASCII string with the extension name. If the extension is supported, glfwExtensionSupported returns non-zero, otherwise it returns zero.

+

+Fetching function pointers

+

Many extensions, though not all, require the use of new OpenGL functions. These entry points are often not exposed by your link libraries, making it necessary to fetch them at run time. With glfwGetProcAddress you can retrieve the address of extension and non-extension OpenGL functions.

+
PFNGLGETDEBUGMESSAGELOGARB pfnGetDebugMessageLog = glfwGetProcAddress("glGetDebugMessageLogARB");

In general, you should avoid giving the function pointer variables the (exact) same name as the function, as this may confuse your linker. Instead, you can use a different prefix, like above, or some other naming scheme.

+

Now that all the pieces have been introduced, here is what they might look like when used together.

+
#include "glext.h"
#define glGetDebugMessageLogARB pfnGetDebugMessageLog
PFNGLGETDEBUGMESSAGELOGARB pfnGetDebugMessageLog;
// Flag indicating whether the extension is supported
int has_debug_output = 0;
void load_extensions(void)
{
if (glfwExtensionSupported("GL_ARB_debug_output"))
{
pfnGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGARB) glfwGetProcAddress("glGetDebugMessageLogARB");
if (pfnGetDebugMessageLog)
{
// Both the extension name and the function pointer are present
has_debug_output = 1;
}
}
}
void some_function(void)
{
// Now the extension function can be called as usual
glGetDebugMessageLogARB(...);
}
+ + + diff --git a/docs/3.0/context_8dox.html b/docs/3.0/context_8dox.html new file mode 100644 index 0000000..1ab2b97 --- /dev/null +++ b/docs/3.0/context_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: context.dox File Reference + + + + + + + + + + +
+ + + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
context.dox File Reference
+
+
+
+ + + diff --git a/docs/3.0/dir_7d046523570a4bf058ddf3b10b545b6c.html b/docs/3.0/dir_7d046523570a4bf058ddf3b10b545b6c.html new file mode 100644 index 0000000..1a96d3b --- /dev/null +++ b/docs/3.0/dir_7d046523570a4bf058ddf3b10b545b6c.html @@ -0,0 +1,85 @@ + + + + + + +GLFW: GLFW Directory Reference + + + + + + + + + + +
+ + + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
GLFW Directory Reference
+
+
+ + + + + + +

+Files

file  glfw3.h [code]
 
file  glfw3native.h [code]
 
+
+ + + diff --git a/docs/3.0/dir_d44c64559bbebec7f509842c48db8b23.html b/docs/3.0/dir_d44c64559bbebec7f509842c48db8b23.html new file mode 100644 index 0000000..9e6904b --- /dev/null +++ b/docs/3.0/dir_d44c64559bbebec7f509842c48db8b23.html @@ -0,0 +1,83 @@ + + + + + + +GLFW: include Directory Reference + + + + + + + + + + +
+ + + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
include Directory Reference
+
+
+ + + + +

+Directories

directory  GLFW
 
+
+ + + diff --git a/docs/3.0/doc.png b/docs/3.0/doc.png new file mode 100644 index 0000000000000000000000000000000000000000..17edabff95f7b8da13c9516a04efe05493c29501 GIT binary patch literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t literal 0 HcmV?d00001 diff --git a/docs/3.0/doxygen.css b/docs/3.0/doxygen.css new file mode 100644 index 0000000..266c8b3 --- /dev/null +++ b/docs/3.0/doxygen.css @@ -0,0 +1,1596 @@ +/* The standard CSS for doxygen 1.8.14 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +p.reference, p.definition { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #ffffff; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 0px; + margin: 4px 8px 4px 2px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line:after { + content:"\000A"; + white-space: pre; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +.lineno { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +div.ah, span.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtitle { + padding: 8px; + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + border-top-right-radius: 4px; + border-top-left-radius: 4px; + margin-bottom: -1px; + background-image: url('nav_f.png'); + background-repeat: repeat-x; + background-color: #E2E8F2; + line-height: 1.25; + font-weight: 300; + float:left; +} + +.permalink +{ + font-size: 65%; + display: inline-block; + vertical-align: middle; +} + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: 400; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-color: #DFE5F1; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + +} + +.overload { + font-family: "courier new",courier,monospace; + font-size: 65%; +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #9CAFD4; + border-bottom: 1px solid #9CAFD4; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +.arrow { + color: #9CAFD4; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: Arial, Helvetica; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: #728DC1; + color: white; + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderopen.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderclosed.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('doc.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +table.directory { + font: 400 14px Roboto,sans-serif; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable caption { + caption-side: top; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + font-weight: 400; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +table.classindex +{ + margin: 10px; + white-space: nowrap; + margin-left: 3%; + margin-right: 3%; + width: 94%; + border: 0; + border-spacing: 0; + padding: 0; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +dl +{ + padding: 0 0 0 10px; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ +dl.section +{ + margin-left: 0px; + padding-left: 0px; +} + +dl.note +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00D000; +} + +dl.deprecated +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #505050; +} + +dl.todo +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00C0E0; +} + +dl.test +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #3030E0; +} + +dl.bug +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectalign +{ + vertical-align: middle; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.plantumlgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 8px 10px 10px; + width: 200px; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + white-space: nowrap; + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + +/* @group Markdown */ + +/* +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTableHead tr { +} + +table.markdownTableBodyLeft td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft { + text-align: left +} + +th.markdownTableHeadRight { + text-align: right +} + +th.markdownTableHeadCenter { + text-align: center +} +*/ + +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTable tr { +} + +th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft, td.markdownTableBodyLeft { + text-align: left +} + +th.markdownTableHeadRight, td.markdownTableBodyRight { + text-align: right +} + +th.markdownTableHeadCenter, td.markdownTableBodyCenter { + text-align: center +} + + +/* @end */ diff --git a/docs/3.0/doxygen.png b/docs/3.0/doxygen.png new file mode 100644 index 0000000000000000000000000000000000000000..3ff17d807fd8aa003bed8bb2a69e8f0909592fd1 GIT binary patch literal 3779 zcmV;!4m|ORP)tMIv#Q0*~7*`IBSO7_x;@a8#Zk6_PeKR_s92J&)(m+);m9Iz3blw)z#Gi zP!9lj4$%+*>Hz@HCmM9L9|8c+0u=!H$O3?R0Kgx|#WP<6fKfC8fM-CQZT|_r@`>VO zX^Hgb|9cJqpdJA5$MCEK`F_2@2Y@s>^+;pF`~jdI0Pvr|vl4`=C)EH@1IFe7pdJ8F zH(qGi004~QnF)Ggga~8v08kGAs2hKTATxr7pwfNk|4#_AaT>w8P6TV+R2kbS$v==} zAjf`s0g#V8lB+b3)5oEI*q+{Yt$MZDruD2^;$+(_%Qn+%v0X-bJO=;@kiJ^ygLBnC z?1OVv_%aex1M@jKU|Z~$eI?PoF4Vj>fDzyo zAiLfpXY*a^Sj-S5D0S3@#V$sRW)g)_1e#$%8xdM>Jm7?!h zu0P2X=xoN>^!4DoPRgph2(2va07yfpXF+WH7EOg1GY%Zn z7~1A<(z7Q$ktEXhW_?GMpHp9l_UL18F3KOsxu81pqoBiNbFSGsof-W z6~eloMoz=4?OOnl2J268x5rOY`dCk0us(uS#Ud4yqOr@?=Q57a}tit|BhY>}~frH1sP`ScHS_d)oqH^lYy zZ%VP`#10MlE~P?cE(%(#(AUSv_T{+;t@$U}El}(1ig`vZo`Rm;+5&(AYzJ^Ae=h2X z@Re%vHwZU>|f0NI&%$*4eJweC5OROQrpPMA@*w|o z()A==l}(@bv^&>H1Ob3C=<^|hob?0+xJ?QQ3-ueQC}zy&JQNib!OqSO@-=>XzxlSF zAZ^U*1l6EEmg3r};_HY>&Jo_{dOPEFTWPmt=U&F#+0(O59^UIlHbNX+eF8UzyDR*T z(=5X$VF3!gm@RooS-&iiUYGG^`hMR(07zr_xP`d!^BH?uD>Phl8Rdifx3Af^Zr`Ku ztL+~HkVeL#bJ)7;`=>;{KNRvjmc}1}c58Sr#Treq=4{xo!ATy|c>iRSp4`dzMMVd@ zL8?uwXDY}Wqgh4mH`|$BTXpUIu6A1-cSq%hJw;@^Zr8TP=GMh*p(m(tN7@!^D~sl$ zz^tf4II4|};+irE$Fnm4NTc5%p{PRA`%}Zk`CE5?#h3|xcyQsS#iONZ z6H(@^i9td!$z~bZiJLTax$o>r(p}3o@< zyD7%(>ZYvy=6$U3e!F{Z`uSaYy`xQyl?b{}eg|G3&fz*`QH@mDUn)1%#5u`0m$%D} z?;tZ0u(mWeMV0QtzjgN!lT*pNRj;6510Wwx?Yi_=tYw|J#7@(Xe7ifDzXuK;JB;QO z#bg~K$cgm$@{QiL_3yr}y&~wuv=P=#O&Tj=Sr)aCUlYmZMcw?)T?c%0rUe1cS+o!qs_ zQ6Gp)-{)V!;=q}llyK3|^WeLKyjf%y;xHku;9(vM!j|~<7w1c*Mk-;P{T&yG) z@C-8E?QPynNQ<8f01D`2qexcVEIOU?y}MG)TAE6&VT5`rK8s(4PE;uQ92LTXUQ<>^ ztyQ@=@kRdh@ebUG^Z6NWWIL;_IGJ2ST>$t!$m$qvtj0Qmw8moN6GUV^!QKNK zHBXCtUH8)RY9++gH_TUV4^=-j$t}dD3qsN7GclJ^Zc&(j6&a_!$jCf}%c5ey`pm~1)@{yI3 zTdWyB+*X{JFw#z;PwRr5evb2!ueWF;v`B0HoUu4-(~aL=z;OXUUEtG`_$)Oxw6FKg zEzY`CyKaSBK3xt#8gA|r_|Kehn_HYVBMpEwbn9-fI*!u*eTA1ef8Mkl1=!jV4oYwWYM}i`A>_F4nhmlCIC6WLa zY%;4&@AlnaG11ejl61Jev21|r*m+?Kru3;1tFDl}#!OzUp6c>go4{C|^erwpG*&h6bspUPJag}oOkN2912Y3I?(eRc@U9>z#HPBHC?nps7H5!zP``90!Q1n80jo+B3TWXp!8Pe zwuKuLLI6l3Gv@+QH*Y}2wPLPQ1^EZhT#+Ed8q8Wo z1pTmIBxv14-{l&QVKxAyQF#8Q@NeJwWdKk>?cpiJLkJr+aZ!Me+Cfp!?FWSRf^j2k z73BRR{WSKaMkJ>1Nbx5dan5hg^_}O{Tj6u%iV%#QGz0Q@j{R^Ik)Z*+(YvY2ziBG)?AmJa|JV%4UT$k`hcOg5r9R?5>?o~JzK zJCrj&{i#hG>N7!B4kNX(%igb%kDj0fOQThC-8mtfap82PNRXr1D>lbgg)dYTQ(kbx z`Ee5kXG~Bh+BHQBf|kJEy6(ga%WfhvdQNDuOfQoe377l#ht&DrMGeIsI5C<&ai zWG$|hop2@@q5YDa)_-A?B02W;#fH!%k`daQLEItaJJ8Yf1L%8x;kg?)k)00P-lH+w z)5$QNV6r2$YtnV(4o=0^3{kmaXn*Dm0F*fU(@o)yVVjk|ln8ea6BMy%vZAhW9|wvA z8RoDkVoMEz1d>|5(k0Nw>22ZT){V<3$^C-cN+|~hKt2)){+l-?3m@-$c?-dlzQ)q- zZ)j%n^gerV{|+t}9m1_&&Ly!9$rtG4XX|WQ8`xYzGC~U@nYh~g(z9)bdAl#xH)xd5a=@|qql z|FzEil{P5(@gy!4ek05i$>`E^G~{;pnf6ftpLh$h#W?^#4UkPfa;;?bsIe&kz!+40 zI|6`F2n020)-r`pFaZ38F!S-lJM-o&inOw|66=GMeP@xQU5ghQH{~5Uh~TMTd;I9` z>YhVB`e^EVj*S7JF39ZgNf}A-0DwOcTT63ydN$I3b?yBQtUI*_fae~kPvzoD$zjX3 zoqBe#>12im4WzZ=f^4+u=!lA|#r%1`WB0-6*3BL#at`47#ebPpR|D1b)3BjT34nYY z%Ds%d?5$|{LgOIaRO{{oC&RK`O91$fqwM0(C_TALcozu*fWHb%%q&p-q{_8*2Zsi^ zh1ZCnr^UYa;4vQEtHk{~zi>wwMC5o{S=$P0X681y`SXwFH?Ewn{x-MOZynmc)JT5v zuHLwh;tLfxRrr%|k370}GofLl7thg>ACWWY&msqaVu&ry+`7+Ss>NL^%T1|z{IGMA zW-SKl=V-^{(f!Kf^#3(|T2W47d(%JVCI4JgRrT1pNz>+ietmFToNv^`gzC@&O-)+i zPQ~RwK8%C_vf%;%e>NyTp~dM5;!C|N0Q^6|CEb7Bw=Vz~$1#FA;Z*?mKSC)Hl-20s t8QyHj(g6VK0RYbl8UjE)0O0w=e*@m04r>stuEhWV002ovPDHLkV1hl;dM*F} literal 0 HcmV?d00001 diff --git a/docs/3.0/dynsections.js b/docs/3.0/dynsections.js new file mode 100644 index 0000000..c1ce122 --- /dev/null +++ b/docs/3.0/dynsections.js @@ -0,0 +1,120 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} + +function toggleLevel(level) +{ + $('table.directory tr').each(function() { + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (l + + + + + +GLFW: File List + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
File List
+
+
+
Here is a list of all files with brief descriptions:
+ + + +
 glfw3.h
 glfw3native.h
+
+
+ + + diff --git a/docs/3.0/folderclosed.png b/docs/3.0/folderclosed.png new file mode 100644 index 0000000000000000000000000000000000000000..bb8ab35edce8e97554e360005ee9fc5bffb36e66 GIT binary patch literal 616 zcmV-u0+;=XP)a9#ETzayK)T~Jw&MMH>OIr#&;dC}is*2Mqdf&akCc=O@`qC+4i z5Iu3w#1M@KqXCz8TIZd1wli&kkl2HVcAiZ8PUn5z_kG@-y;?yK06=cA0U%H0PH+kU zl6dp}OR(|r8-RG+YLu`zbI}5TlOU6ToR41{9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6` zBLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XUdOZN~c=dLt_h_k!dbxm_*ibDM zlFX`g{k$X}yIe%$N)cn1LNu=q9_CS)*>A zsX_mM4L@`(cSNQKMFc$RtYbx{79#j-J7hk*>*+ZZhM4Hw?I?rsXCi#mRWJ=-0LGV5a-WR0Qgt<|Nqf)C-@80`5gIz45^_20000IqP)X=#(TiCT&PiIIVc55T}TU}EUh*{q$|`3@{d>{Tc9Bo>e= zfmF3!f>fbI9#GoEHh0f`i5)wkLpva0ztf%HpZneK?w-7AK@b4Itw{y|Zd3k!fH?q2 zlhckHd_V2M_X7+)U&_Xcfvtw60l;--DgZmLSw-Y?S>)zIqMyJ1#FwLU*%bl38ok+! zh78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5jDplgxd44}9;IRqUH1YHH|@6oFe%z( zo4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=|)Rz|V`sGfHNrJ)0gJb8xx+SBmRf@1l zvuzt=vGfI)<-F9!o&3l?>9~0QbUDT(wFdnQPv%xdD)m*g%!20>Bc9iYmGAp<9YAa( z0QgYgTWqf1qN++Gqp z8@AYPTB3E|6s=WLG?xw0tm|U!o=&zd+H0oRYE;Dbx+Na9s^STqX|Gnq%H8s(nGDGJ j8vwW|`Ts`)fSK|Kx=IK@RG@g200000NkvXXu0mjfauFEA literal 0 HcmV?d00001 diff --git a/docs/3.0/functions.html b/docs/3.0/functions.html new file mode 100644 index 0000000..055077c --- /dev/null +++ b/docs/3.0/functions.html @@ -0,0 +1,101 @@ + + + + + + +GLFW: Data Fields + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all struct and union fields with links to the structures/unions they belong to:
+
+ + + diff --git a/docs/3.0/functions_vars.html b/docs/3.0/functions_vars.html new file mode 100644 index 0000000..07014f7 --- /dev/null +++ b/docs/3.0/functions_vars.html @@ -0,0 +1,101 @@ + + + + + + +GLFW: Data Fields - Variables + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+ + + diff --git a/docs/3.0/glfw3_8h.html b/docs/3.0/glfw3_8h.html new file mode 100644 index 0000000..2963a36 --- /dev/null +++ b/docs/3.0/glfw3_8h.html @@ -0,0 +1,1442 @@ + + + + + + +GLFW: glfw3.h File Reference + + + + + + + + + + +
+ + + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
glfw3.h File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Data Structures

struct  GLFWvidmode
 Video mode type. More...
 
struct  GLFWgammaramp
 Gamma ramp. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

#define GLFW_KEY_UNKNOWN   -1
 
#define GLFW_KEY_SPACE   32
 
#define GLFW_KEY_APOSTROPHE   39 /* ' */
 
#define GLFW_KEY_COMMA   44 /* , */
 
#define GLFW_KEY_MINUS   45 /* - */
 
#define GLFW_KEY_PERIOD   46 /* . */
 
#define GLFW_KEY_SLASH   47 /* / */
 
#define GLFW_KEY_0   48
 
#define GLFW_KEY_1   49
 
#define GLFW_KEY_2   50
 
#define GLFW_KEY_3   51
 
#define GLFW_KEY_4   52
 
#define GLFW_KEY_5   53
 
#define GLFW_KEY_6   54
 
#define GLFW_KEY_7   55
 
#define GLFW_KEY_8   56
 
#define GLFW_KEY_9   57
 
#define GLFW_KEY_SEMICOLON   59 /* ; */
 
#define GLFW_KEY_EQUAL   61 /* = */
 
#define GLFW_KEY_A   65
 
#define GLFW_KEY_B   66
 
#define GLFW_KEY_C   67
 
#define GLFW_KEY_D   68
 
#define GLFW_KEY_E   69
 
#define GLFW_KEY_F   70
 
#define GLFW_KEY_G   71
 
#define GLFW_KEY_H   72
 
#define GLFW_KEY_I   73
 
#define GLFW_KEY_J   74
 
#define GLFW_KEY_K   75
 
#define GLFW_KEY_L   76
 
#define GLFW_KEY_M   77
 
#define GLFW_KEY_N   78
 
#define GLFW_KEY_O   79
 
#define GLFW_KEY_P   80
 
#define GLFW_KEY_Q   81
 
#define GLFW_KEY_R   82
 
#define GLFW_KEY_S   83
 
#define GLFW_KEY_T   84
 
#define GLFW_KEY_U   85
 
#define GLFW_KEY_V   86
 
#define GLFW_KEY_W   87
 
#define GLFW_KEY_X   88
 
#define GLFW_KEY_Y   89
 
#define GLFW_KEY_Z   90
 
#define GLFW_KEY_LEFT_BRACKET   91 /* [ */
 
#define GLFW_KEY_BACKSLASH   92 /* \ */
 
#define GLFW_KEY_RIGHT_BRACKET   93 /* ] */
 
#define GLFW_KEY_GRAVE_ACCENT   96 /* ` */
 
#define GLFW_KEY_WORLD_1   161 /* non-US #1 */
 
#define GLFW_KEY_WORLD_2   162 /* non-US #2 */
 
#define GLFW_KEY_ESCAPE   256
 
#define GLFW_KEY_ENTER   257
 
#define GLFW_KEY_TAB   258
 
#define GLFW_KEY_BACKSPACE   259
 
#define GLFW_KEY_INSERT   260
 
#define GLFW_KEY_DELETE   261
 
#define GLFW_KEY_RIGHT   262
 
#define GLFW_KEY_LEFT   263
 
#define GLFW_KEY_DOWN   264
 
#define GLFW_KEY_UP   265
 
#define GLFW_KEY_PAGE_UP   266
 
#define GLFW_KEY_PAGE_DOWN   267
 
#define GLFW_KEY_HOME   268
 
#define GLFW_KEY_END   269
 
#define GLFW_KEY_CAPS_LOCK   280
 
#define GLFW_KEY_SCROLL_LOCK   281
 
#define GLFW_KEY_NUM_LOCK   282
 
#define GLFW_KEY_PRINT_SCREEN   283
 
#define GLFW_KEY_PAUSE   284
 
#define GLFW_KEY_F1   290
 
#define GLFW_KEY_F2   291
 
#define GLFW_KEY_F3   292
 
#define GLFW_KEY_F4   293
 
#define GLFW_KEY_F5   294
 
#define GLFW_KEY_F6   295
 
#define GLFW_KEY_F7   296
 
#define GLFW_KEY_F8   297
 
#define GLFW_KEY_F9   298
 
#define GLFW_KEY_F10   299
 
#define GLFW_KEY_F11   300
 
#define GLFW_KEY_F12   301
 
#define GLFW_KEY_F13   302
 
#define GLFW_KEY_F14   303
 
#define GLFW_KEY_F15   304
 
#define GLFW_KEY_F16   305
 
#define GLFW_KEY_F17   306
 
#define GLFW_KEY_F18   307
 
#define GLFW_KEY_F19   308
 
#define GLFW_KEY_F20   309
 
#define GLFW_KEY_F21   310
 
#define GLFW_KEY_F22   311
 
#define GLFW_KEY_F23   312
 
#define GLFW_KEY_F24   313
 
#define GLFW_KEY_F25   314
 
#define GLFW_KEY_KP_0   320
 
#define GLFW_KEY_KP_1   321
 
#define GLFW_KEY_KP_2   322
 
#define GLFW_KEY_KP_3   323
 
#define GLFW_KEY_KP_4   324
 
#define GLFW_KEY_KP_5   325
 
#define GLFW_KEY_KP_6   326
 
#define GLFW_KEY_KP_7   327
 
#define GLFW_KEY_KP_8   328
 
#define GLFW_KEY_KP_9   329
 
#define GLFW_KEY_KP_DECIMAL   330
 
#define GLFW_KEY_KP_DIVIDE   331
 
#define GLFW_KEY_KP_MULTIPLY   332
 
#define GLFW_KEY_KP_SUBTRACT   333
 
#define GLFW_KEY_KP_ADD   334
 
#define GLFW_KEY_KP_ENTER   335
 
#define GLFW_KEY_KP_EQUAL   336
 
#define GLFW_KEY_LEFT_SHIFT   340
 
#define GLFW_KEY_LEFT_CONTROL   341
 
#define GLFW_KEY_LEFT_ALT   342
 
#define GLFW_KEY_LEFT_SUPER   343
 
#define GLFW_KEY_RIGHT_SHIFT   344
 
#define GLFW_KEY_RIGHT_CONTROL   345
 
#define GLFW_KEY_RIGHT_ALT   346
 
#define GLFW_KEY_RIGHT_SUPER   347
 
#define GLFW_KEY_MENU   348
 
#define GLFW_KEY_LAST   GLFW_KEY_MENU
 
#define GLFW_MOD_SHIFT   0x0001
 If this bit is set one or more Shift keys were held down. More...
 
#define GLFW_MOD_CONTROL   0x0002
 If this bit is set one or more Control keys were held down. More...
 
#define GLFW_MOD_ALT   0x0004
 If this bit is set one or more Alt keys were held down. More...
 
#define GLFW_MOD_SUPER   0x0008
 If this bit is set one or more Super keys were held down. More...
 
#define GLFW_MOUSE_BUTTON_1   0
 
#define GLFW_MOUSE_BUTTON_2   1
 
#define GLFW_MOUSE_BUTTON_3   2
 
#define GLFW_MOUSE_BUTTON_4   3
 
#define GLFW_MOUSE_BUTTON_5   4
 
#define GLFW_MOUSE_BUTTON_6   5
 
#define GLFW_MOUSE_BUTTON_7   6
 
#define GLFW_MOUSE_BUTTON_8   7
 
#define GLFW_MOUSE_BUTTON_LAST   GLFW_MOUSE_BUTTON_8
 
#define GLFW_MOUSE_BUTTON_LEFT   GLFW_MOUSE_BUTTON_1
 
#define GLFW_MOUSE_BUTTON_RIGHT   GLFW_MOUSE_BUTTON_2
 
#define GLFW_MOUSE_BUTTON_MIDDLE   GLFW_MOUSE_BUTTON_3
 
#define GLFW_JOYSTICK_1   0
 
#define GLFW_JOYSTICK_2   1
 
#define GLFW_JOYSTICK_3   2
 
#define GLFW_JOYSTICK_4   3
 
#define GLFW_JOYSTICK_5   4
 
#define GLFW_JOYSTICK_6   5
 
#define GLFW_JOYSTICK_7   6
 
#define GLFW_JOYSTICK_8   7
 
#define GLFW_JOYSTICK_9   8
 
#define GLFW_JOYSTICK_10   9
 
#define GLFW_JOYSTICK_11   10
 
#define GLFW_JOYSTICK_12   11
 
#define GLFW_JOYSTICK_13   12
 
#define GLFW_JOYSTICK_14   13
 
#define GLFW_JOYSTICK_15   14
 
#define GLFW_JOYSTICK_16   15
 
#define GLFW_JOYSTICK_LAST   GLFW_JOYSTICK_16
 
#define GLFW_NOT_INITIALIZED   0x00010001
 GLFW has not been initialized. More...
 
#define GLFW_NO_CURRENT_CONTEXT   0x00010002
 No context is current for this thread. More...
 
#define GLFW_INVALID_ENUM   0x00010003
 One of the enum parameters for the function was given an invalid enum. More...
 
#define GLFW_INVALID_VALUE   0x00010004
 One of the parameters for the function was given an invalid value. More...
 
#define GLFW_OUT_OF_MEMORY   0x00010005
 A memory allocation failed. More...
 
#define GLFW_API_UNAVAILABLE   0x00010006
 GLFW could not find support for the requested client API on the system. More...
 
#define GLFW_VERSION_UNAVAILABLE   0x00010007
 The requested client API version is not available. More...
 
#define GLFW_PLATFORM_ERROR   0x00010008
 A platform-specific error occurred that does not match any of the more specific categories. More...
 
#define GLFW_FORMAT_UNAVAILABLE   0x00010009
 The clipboard did not contain data in the requested format. More...
 
#define GLFW_FOCUSED   0x00020001
 
#define GLFW_ICONIFIED   0x00020002
 
#define GLFW_RESIZABLE   0x00020003
 
#define GLFW_VISIBLE   0x00020004
 
#define GLFW_DECORATED   0x00020005
 
#define GLFW_RED_BITS   0x00021001
 
#define GLFW_GREEN_BITS   0x00021002
 
#define GLFW_BLUE_BITS   0x00021003
 
#define GLFW_ALPHA_BITS   0x00021004
 
#define GLFW_DEPTH_BITS   0x00021005
 
#define GLFW_STENCIL_BITS   0x00021006
 
#define GLFW_ACCUM_RED_BITS   0x00021007
 
#define GLFW_ACCUM_GREEN_BITS   0x00021008
 
#define GLFW_ACCUM_BLUE_BITS   0x00021009
 
#define GLFW_ACCUM_ALPHA_BITS   0x0002100A
 
#define GLFW_AUX_BUFFERS   0x0002100B
 
#define GLFW_STEREO   0x0002100C
 
#define GLFW_SAMPLES   0x0002100D
 
#define GLFW_SRGB_CAPABLE   0x0002100E
 
#define GLFW_REFRESH_RATE   0x0002100F
 
#define GLFW_CLIENT_API   0x00022001
 
#define GLFW_CONTEXT_VERSION_MAJOR   0x00022002
 
#define GLFW_CONTEXT_VERSION_MINOR   0x00022003
 
#define GLFW_CONTEXT_REVISION   0x00022004
 
#define GLFW_CONTEXT_ROBUSTNESS   0x00022005
 
#define GLFW_OPENGL_FORWARD_COMPAT   0x00022006
 
#define GLFW_OPENGL_DEBUG_CONTEXT   0x00022007
 
#define GLFW_OPENGL_PROFILE   0x00022008
 
#define GLFW_OPENGL_API   0x00030001
 
#define GLFW_OPENGL_ES_API   0x00030002
 
#define GLFW_NO_ROBUSTNESS   0
 
#define GLFW_NO_RESET_NOTIFICATION   0x00031001
 
#define GLFW_LOSE_CONTEXT_ON_RESET   0x00031002
 
#define GLFW_OPENGL_ANY_PROFILE   0
 
#define GLFW_OPENGL_CORE_PROFILE   0x00032001
 
#define GLFW_OPENGL_COMPAT_PROFILE   0x00032002
 
#define GLFW_CURSOR   0x00033001
 
#define GLFW_STICKY_KEYS   0x00033002
 
#define GLFW_STICKY_MOUSE_BUTTONS   0x00033003
 
#define GLFW_CURSOR_NORMAL   0x00034001
 
#define GLFW_CURSOR_HIDDEN   0x00034002
 
#define GLFW_CURSOR_DISABLED   0x00034003
 
#define GLFW_CONNECTED   0x00040001
 
#define GLFW_DISCONNECTED   0x00040002
 
GLFW version macros
#define GLFW_VERSION_MAJOR   3
 The major version number of the GLFW library. More...
 
#define GLFW_VERSION_MINOR   0
 The minor version number of the GLFW library. More...
 
#define GLFW_VERSION_REVISION   4
 The revision number of the GLFW library. More...
 
Key and button actions
#define GLFW_RELEASE   0
 The key or button was released. More...
 
#define GLFW_PRESS   1
 The key or button was pressed. More...
 
#define GLFW_REPEAT   2
 The key was held down until it repeated. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

typedef void(* GLFWglproc) (void)
 Client API function pointer type. More...
 
typedef struct GLFWmonitor GLFWmonitor
 Opaque monitor object. More...
 
typedef struct GLFWwindow GLFWwindow
 Opaque window object. More...
 
typedef void(* GLFWerrorfun) (int, const char *)
 The function signature for error callbacks. More...
 
typedef void(* GLFWwindowposfun) (GLFWwindow *, int, int)
 The function signature for window position callbacks. More...
 
typedef void(* GLFWwindowsizefun) (GLFWwindow *, int, int)
 The function signature for window resize callbacks. More...
 
typedef void(* GLFWwindowclosefun) (GLFWwindow *)
 The function signature for window close callbacks. More...
 
typedef void(* GLFWwindowrefreshfun) (GLFWwindow *)
 The function signature for window content refresh callbacks. More...
 
typedef void(* GLFWwindowfocusfun) (GLFWwindow *, int)
 The function signature for window focus/defocus callbacks. More...
 
typedef void(* GLFWwindowiconifyfun) (GLFWwindow *, int)
 The function signature for window iconify/restore callbacks. More...
 
typedef void(* GLFWframebuffersizefun) (GLFWwindow *, int, int)
 The function signature for framebuffer resize callbacks. More...
 
typedef void(* GLFWmousebuttonfun) (GLFWwindow *, int, int, int)
 The function signature for mouse button callbacks. More...
 
typedef void(* GLFWcursorposfun) (GLFWwindow *, double, double)
 The function signature for cursor position callbacks. More...
 
typedef void(* GLFWcursorenterfun) (GLFWwindow *, int)
 The function signature for cursor enter/leave callbacks. More...
 
typedef void(* GLFWscrollfun) (GLFWwindow *, double, double)
 The function signature for scroll callbacks. More...
 
typedef void(* GLFWkeyfun) (GLFWwindow *, int, int, int, int)
 The function signature for keyboard key callbacks. More...
 
typedef void(* GLFWcharfun) (GLFWwindow *, unsigned int)
 The function signature for Unicode character callbacks. More...
 
typedef void(* GLFWmonitorfun) (GLFWmonitor *, int)
 The function signature for monitor configuration callbacks. More...
 
typedef struct GLFWvidmode GLFWvidmode
 Video mode type. More...
 
typedef struct GLFWgammaramp GLFWgammaramp
 Gamma ramp. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

int glfwInit (void)
 Initializes the GLFW library. More...
 
void glfwTerminate (void)
 Terminates the GLFW library. More...
 
void glfwGetVersion (int *major, int *minor, int *rev)
 Retrieves the version of the GLFW library. More...
 
const char * glfwGetVersionString (void)
 Returns a string describing the compile-time configuration. More...
 
GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun cbfun)
 Sets the error callback. More...
 
GLFWmonitor ** glfwGetMonitors (int *count)
 Returns the currently connected monitors. More...
 
GLFWmonitorglfwGetPrimaryMonitor (void)
 Returns the primary monitor. More...
 
void glfwGetMonitorPos (GLFWmonitor *monitor, int *xpos, int *ypos)
 Returns the position of the monitor's viewport on the virtual screen. More...
 
void glfwGetMonitorPhysicalSize (GLFWmonitor *monitor, int *width, int *height)
 Returns the physical size of the monitor. More...
 
const char * glfwGetMonitorName (GLFWmonitor *monitor)
 Returns the name of the specified monitor. More...
 
GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun cbfun)
 Sets the monitor configuration callback. More...
 
const GLFWvidmodeglfwGetVideoModes (GLFWmonitor *monitor, int *count)
 Returns the available video modes for the specified monitor. More...
 
const GLFWvidmodeglfwGetVideoMode (GLFWmonitor *monitor)
 Returns the current mode of the specified monitor. More...
 
void glfwSetGamma (GLFWmonitor *monitor, float gamma)
 Generates a gamma ramp and sets it for the specified monitor. More...
 
const GLFWgammarampglfwGetGammaRamp (GLFWmonitor *monitor)
 Retrieves the current gamma ramp for the specified monitor. More...
 
void glfwSetGammaRamp (GLFWmonitor *monitor, const GLFWgammaramp *ramp)
 Sets the current gamma ramp for the specified monitor. More...
 
void glfwDefaultWindowHints (void)
 Resets all window hints to their default values. More...
 
void glfwWindowHint (int target, int hint)
 Sets the specified window hint to the desired value. More...
 
GLFWwindowglfwCreateWindow (int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
 Creates a window and its associated context. More...
 
void glfwDestroyWindow (GLFWwindow *window)
 Destroys the specified window and its context. More...
 
int glfwWindowShouldClose (GLFWwindow *window)
 Checks the close flag of the specified window. More...
 
void glfwSetWindowShouldClose (GLFWwindow *window, int value)
 Sets the close flag of the specified window. More...
 
void glfwSetWindowTitle (GLFWwindow *window, const char *title)
 Sets the title of the specified window. More...
 
void glfwGetWindowPos (GLFWwindow *window, int *xpos, int *ypos)
 Retrieves the position of the client area of the specified window. More...
 
void glfwSetWindowPos (GLFWwindow *window, int xpos, int ypos)
 Sets the position of the client area of the specified window. More...
 
void glfwGetWindowSize (GLFWwindow *window, int *width, int *height)
 Retrieves the size of the client area of the specified window. More...
 
void glfwSetWindowSize (GLFWwindow *window, int width, int height)
 Sets the size of the client area of the specified window. More...
 
void glfwGetFramebufferSize (GLFWwindow *window, int *width, int *height)
 Retrieves the size of the framebuffer of the specified window. More...
 
void glfwIconifyWindow (GLFWwindow *window)
 Iconifies the specified window. More...
 
void glfwRestoreWindow (GLFWwindow *window)
 Restores the specified window. More...
 
void glfwShowWindow (GLFWwindow *window)
 Makes the specified window visible. More...
 
void glfwHideWindow (GLFWwindow *window)
 Hides the specified window. More...
 
GLFWmonitorglfwGetWindowMonitor (GLFWwindow *window)
 Returns the monitor that the window uses for full screen mode. More...
 
int glfwGetWindowAttrib (GLFWwindow *window, int attrib)
 Returns an attribute of the specified window. More...
 
void glfwSetWindowUserPointer (GLFWwindow *window, void *pointer)
 Sets the user pointer of the specified window. More...
 
void * glfwGetWindowUserPointer (GLFWwindow *window)
 Returns the user pointer of the specified window. More...
 
GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindow *window, GLFWwindowposfun cbfun)
 Sets the position callback for the specified window. More...
 
GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindow *window, GLFWwindowsizefun cbfun)
 Sets the size callback for the specified window. More...
 
GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindow *window, GLFWwindowclosefun cbfun)
 Sets the close callback for the specified window. More...
 
GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindow *window, GLFWwindowrefreshfun cbfun)
 Sets the refresh callback for the specified window. More...
 
GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindow *window, GLFWwindowfocusfun cbfun)
 Sets the focus callback for the specified window. More...
 
GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindow *window, GLFWwindowiconifyfun cbfun)
 Sets the iconify callback for the specified window. More...
 
GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindow *window, GLFWframebuffersizefun cbfun)
 Sets the framebuffer resize callback for the specified window. More...
 
void glfwPollEvents (void)
 Processes all pending events. More...
 
void glfwWaitEvents (void)
 Waits until events are pending and processes them. More...
 
int glfwGetInputMode (GLFWwindow *window, int mode)
 Returns the value of an input option for the specified window. More...
 
void glfwSetInputMode (GLFWwindow *window, int mode, int value)
 Sets an input option for the specified window. More...
 
int glfwGetKey (GLFWwindow *window, int key)
 Returns the last reported state of a keyboard key for the specified window. More...
 
int glfwGetMouseButton (GLFWwindow *window, int button)
 Returns the last reported state of a mouse button for the specified window. More...
 
void glfwGetCursorPos (GLFWwindow *window, double *xpos, double *ypos)
 Retrieves the last reported cursor position, relative to the client area of the window. More...
 
void glfwSetCursorPos (GLFWwindow *window, double xpos, double ypos)
 Sets the position of the cursor, relative to the client area of the window. More...
 
GLFWkeyfun glfwSetKeyCallback (GLFWwindow *window, GLFWkeyfun cbfun)
 Sets the key callback. More...
 
GLFWcharfun glfwSetCharCallback (GLFWwindow *window, GLFWcharfun cbfun)
 Sets the Unicode character callback. More...
 
GLFWmousebuttonfun glfwSetMouseButtonCallback (GLFWwindow *window, GLFWmousebuttonfun cbfun)
 Sets the mouse button callback. More...
 
GLFWcursorposfun glfwSetCursorPosCallback (GLFWwindow *window, GLFWcursorposfun cbfun)
 Sets the cursor position callback. More...
 
GLFWcursorenterfun glfwSetCursorEnterCallback (GLFWwindow *window, GLFWcursorenterfun cbfun)
 Sets the cursor enter/exit callback. More...
 
GLFWscrollfun glfwSetScrollCallback (GLFWwindow *window, GLFWscrollfun cbfun)
 Sets the scroll callback. More...
 
int glfwJoystickPresent (int joy)
 Returns whether the specified joystick is present. More...
 
const float * glfwGetJoystickAxes (int joy, int *count)
 Returns the values of all axes of the specified joystick. More...
 
const unsigned char * glfwGetJoystickButtons (int joy, int *count)
 Returns the state of all buttons of the specified joystick. More...
 
const char * glfwGetJoystickName (int joy)
 Returns the name of the specified joystick. More...
 
void glfwSetClipboardString (GLFWwindow *window, const char *string)
 Sets the clipboard to the specified string. More...
 
const char * glfwGetClipboardString (GLFWwindow *window)
 Retrieves the contents of the clipboard as a string. More...
 
double glfwGetTime (void)
 Returns the value of the GLFW timer. More...
 
void glfwSetTime (double time)
 Sets the GLFW timer. More...
 
void glfwMakeContextCurrent (GLFWwindow *window)
 Makes the context of the specified window current for the calling thread. More...
 
GLFWwindowglfwGetCurrentContext (void)
 Returns the window whose context is current on the calling thread. More...
 
void glfwSwapBuffers (GLFWwindow *window)
 Swaps the front and back buffers of the specified window. More...
 
void glfwSwapInterval (int interval)
 Sets the swap interval for the current context. More...
 
int glfwExtensionSupported (const char *extension)
 Returns whether the specified extension is available. More...
 
GLFWglproc glfwGetProcAddress (const char *procname)
 Returns the address of the specified function for the current context. More...
 
+

Macro Definition Documentation

+ +

◆ GLFW_ACCUM_ALPHA_BITS

+ +
+
+ + + + +
#define GLFW_ACCUM_ALPHA_BITS   0x0002100A
+
+ +
+
+ +

◆ GLFW_ACCUM_BLUE_BITS

+ +
+
+ + + + +
#define GLFW_ACCUM_BLUE_BITS   0x00021009
+
+ +
+
+ +

◆ GLFW_ACCUM_GREEN_BITS

+ +
+
+ + + + +
#define GLFW_ACCUM_GREEN_BITS   0x00021008
+
+ +
+
+ +

◆ GLFW_ACCUM_RED_BITS

+ +
+
+ + + + +
#define GLFW_ACCUM_RED_BITS   0x00021007
+
+ +
+
+ +

◆ GLFW_ALPHA_BITS

+ +
+
+ + + + +
#define GLFW_ALPHA_BITS   0x00021004
+
+ +
+
+ +

◆ GLFW_AUX_BUFFERS

+ +
+
+ + + + +
#define GLFW_AUX_BUFFERS   0x0002100B
+
+ +
+
+ +

◆ GLFW_BLUE_BITS

+ +
+
+ + + + +
#define GLFW_BLUE_BITS   0x00021003
+
+ +
+
+ +

◆ GLFW_CLIENT_API

+ +
+
+ + + + +
#define GLFW_CLIENT_API   0x00022001
+
+ +
+
+ +

◆ GLFW_CONNECTED

+ +
+
+ + + + +
#define GLFW_CONNECTED   0x00040001
+
+ +
+
+ +

◆ GLFW_CONTEXT_REVISION

+ +
+
+ + + + +
#define GLFW_CONTEXT_REVISION   0x00022004
+
+ +
+
+ +

◆ GLFW_CONTEXT_ROBUSTNESS

+ +
+
+ + + + +
#define GLFW_CONTEXT_ROBUSTNESS   0x00022005
+
+ +
+
+ +

◆ GLFW_CONTEXT_VERSION_MAJOR

+ +
+
+ + + + +
#define GLFW_CONTEXT_VERSION_MAJOR   0x00022002
+
+ +
+
+ +

◆ GLFW_CONTEXT_VERSION_MINOR

+ +
+
+ + + + +
#define GLFW_CONTEXT_VERSION_MINOR   0x00022003
+
+ +
+
+ +

◆ GLFW_CURSOR

+ +
+
+ + + + +
#define GLFW_CURSOR   0x00033001
+
+ +
+
+ +

◆ GLFW_CURSOR_DISABLED

+ +
+
+ + + + +
#define GLFW_CURSOR_DISABLED   0x00034003
+
+ +
+
+ +

◆ GLFW_CURSOR_HIDDEN

+ +
+
+ + + + +
#define GLFW_CURSOR_HIDDEN   0x00034002
+
+ +
+
+ +

◆ GLFW_CURSOR_NORMAL

+ +
+
+ + + + +
#define GLFW_CURSOR_NORMAL   0x00034001
+
+ +
+
+ +

◆ GLFW_DECORATED

+ +
+
+ + + + +
#define GLFW_DECORATED   0x00020005
+
+ +
+
+ +

◆ GLFW_DEPTH_BITS

+ +
+
+ + + + +
#define GLFW_DEPTH_BITS   0x00021005
+
+ +
+
+ +

◆ GLFW_DISCONNECTED

+ +
+
+ + + + +
#define GLFW_DISCONNECTED   0x00040002
+
+ +
+
+ +

◆ GLFW_FOCUSED

+ +
+
+ + + + +
#define GLFW_FOCUSED   0x00020001
+
+ +
+
+ +

◆ GLFW_GREEN_BITS

+ +
+
+ + + + +
#define GLFW_GREEN_BITS   0x00021002
+
+ +
+
+ +

◆ GLFW_ICONIFIED

+ +
+
+ + + + +
#define GLFW_ICONIFIED   0x00020002
+
+ +
+
+ +

◆ GLFW_LOSE_CONTEXT_ON_RESET

+ +
+
+ + + + +
#define GLFW_LOSE_CONTEXT_ON_RESET   0x00031002
+
+ +
+
+ +

◆ GLFW_NO_RESET_NOTIFICATION

+ +
+
+ + + + +
#define GLFW_NO_RESET_NOTIFICATION   0x00031001
+
+ +
+
+ +

◆ GLFW_NO_ROBUSTNESS

+ +
+
+ + + + +
#define GLFW_NO_ROBUSTNESS   0
+
+ +
+
+ +

◆ GLFW_OPENGL_ANY_PROFILE

+ +
+
+ + + + +
#define GLFW_OPENGL_ANY_PROFILE   0
+
+ +
+
+ +

◆ GLFW_OPENGL_API

+ +
+
+ + + + +
#define GLFW_OPENGL_API   0x00030001
+
+ +
+
+ +

◆ GLFW_OPENGL_COMPAT_PROFILE

+ +
+
+ + + + +
#define GLFW_OPENGL_COMPAT_PROFILE   0x00032002
+
+ +
+
+ +

◆ GLFW_OPENGL_CORE_PROFILE

+ +
+
+ + + + +
#define GLFW_OPENGL_CORE_PROFILE   0x00032001
+
+ +
+
+ +

◆ GLFW_OPENGL_DEBUG_CONTEXT

+ +
+
+ + + + +
#define GLFW_OPENGL_DEBUG_CONTEXT   0x00022007
+
+ +
+
+ +

◆ GLFW_OPENGL_ES_API

+ +
+
+ + + + +
#define GLFW_OPENGL_ES_API   0x00030002
+
+ +
+
+ +

◆ GLFW_OPENGL_FORWARD_COMPAT

+ +
+
+ + + + +
#define GLFW_OPENGL_FORWARD_COMPAT   0x00022006
+
+ +
+
+ +

◆ GLFW_OPENGL_PROFILE

+ +
+
+ + + + +
#define GLFW_OPENGL_PROFILE   0x00022008
+
+ +
+
+ +

◆ GLFW_RED_BITS

+ +
+
+ + + + +
#define GLFW_RED_BITS   0x00021001
+
+ +
+
+ +

◆ GLFW_REFRESH_RATE

+ +
+
+ + + + +
#define GLFW_REFRESH_RATE   0x0002100F
+
+ +
+
+ +

◆ GLFW_RESIZABLE

+ +
+
+ + + + +
#define GLFW_RESIZABLE   0x00020003
+
+ +
+
+ +

◆ GLFW_SAMPLES

+ +
+
+ + + + +
#define GLFW_SAMPLES   0x0002100D
+
+ +
+
+ +

◆ GLFW_SRGB_CAPABLE

+ +
+
+ + + + +
#define GLFW_SRGB_CAPABLE   0x0002100E
+
+ +
+
+ +

◆ GLFW_STENCIL_BITS

+ +
+
+ + + + +
#define GLFW_STENCIL_BITS   0x00021006
+
+ +
+
+ +

◆ GLFW_STEREO

+ +
+
+ + + + +
#define GLFW_STEREO   0x0002100C
+
+ +
+
+ +

◆ GLFW_STICKY_KEYS

+ +
+
+ + + + +
#define GLFW_STICKY_KEYS   0x00033002
+
+ +
+
+ +

◆ GLFW_STICKY_MOUSE_BUTTONS

+ +
+
+ + + + +
#define GLFW_STICKY_MOUSE_BUTTONS   0x00033003
+
+ +
+
+ +

◆ GLFW_VISIBLE

+ +
+
+ + + + +
#define GLFW_VISIBLE   0x00020004
+
+ +
+
+
+ + + diff --git a/docs/3.0/glfw3_8h_source.html b/docs/3.0/glfw3_8h_source.html new file mode 100644 index 0000000..3285855 --- /dev/null +++ b/docs/3.0/glfw3_8h_source.html @@ -0,0 +1,180 @@ + + + + + + +GLFW: glfw3.h Source File + + + + + + + + + + +
+ + + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
glfw3.h
+
+
+Go to the documentation of this file.
1 /*************************************************************************
2  * GLFW 3.0 - www.glfw.org
3  * A library for OpenGL, window and input
4  *------------------------------------------------------------------------
5  * Copyright (c) 2002-2006 Marcus Geelnard
6  * Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
7  *
8  * This software is provided 'as-is', without any express or implied
9  * warranty. In no event will the authors be held liable for any damages
10  * arising from the use of this software.
11  *
12  * Permission is granted to anyone to use this software for any purpose,
13  * including commercial applications, and to alter it and redistribute it
14  * freely, subject to the following restrictions:
15  *
16  * 1. The origin of this software must not be misrepresented; you must not
17  * claim that you wrote the original software. If you use this software
18  * in a product, an acknowledgment in the product documentation would
19  * be appreciated but is not required.
20  *
21  * 2. Altered source versions must be plainly marked as such, and must not
22  * be misrepresented as being the original software.
23  *
24  * 3. This notice may not be removed or altered from any source
25  * distribution.
26  *
27  *************************************************************************/
28 
29 #ifndef _glfw3_h_
30 #define _glfw3_h_
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 
37 /*************************************************************************
38  * Doxygen documentation
39  *************************************************************************/
40 
66 /*************************************************************************
67  * Global definitions
68  *************************************************************************/
69 
70 /* ------------------- BEGIN SYSTEM/COMPILER SPECIFIC -------------------- */
71 
72 /* Please report any problems that you find with your compiler, which may
73  * be solved in this section! There are several compilers that I have not
74  * been able to test this file with yet.
75  *
76  * First: If we are we on Windows, we want a single define for it (_WIN32)
77  * (Note: For Cygwin the compiler flag -mwin32 should be used, but to
78  * make sure that things run smoothly for Cygwin users, we add __CYGWIN__
79  * to the list of "valid Win32 identifiers", which removes the need for
80  * -mwin32)
81  */
82 #if !defined(_WIN32) && (defined(__WIN32__) || defined(WIN32) || defined(__CYGWIN__))
83  #define _WIN32
84 #endif /* _WIN32 */
85 
86 /* In order for extension support to be portable, we need to define an
87  * OpenGL function call method. We use the keyword APIENTRY, which is
88  * defined for Win32. (Note: Windows also needs this for <GL/gl.h>)
89  */
90 #ifndef APIENTRY
91  #ifdef _WIN32
92  #define APIENTRY __stdcall
93  #else
94  #define APIENTRY
95  #endif
96 #endif /* APIENTRY */
97 
98 /* The following three defines are here solely to make some Windows-based
99  * <GL/gl.h> files happy. Theoretically we could include <windows.h>, but
100  * it has the major drawback of severely polluting our namespace.
101  */
102 
103 /* Under Windows, we need WINGDIAPI defined */
104 #if !defined(WINGDIAPI) && defined(_WIN32)
105  #if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__POCC__)
106  /* Microsoft Visual C++, Borland C++ Builder and Pelles C */
107  #define WINGDIAPI __declspec(dllimport)
108  #elif defined(__LCC__)
109  /* LCC-Win32 */
110  #define WINGDIAPI __stdcall
111  #else
112  /* Others (e.g. MinGW, Cygwin) */
113  #define WINGDIAPI extern
114  #endif
115  #define GLFW_WINGDIAPI_DEFINED
116 #endif /* WINGDIAPI */
117 
118 /* Some <GL/glu.h> files also need CALLBACK defined */
119 #if !defined(CALLBACK) && defined(_WIN32)
120  #if defined(_MSC_VER)
121  /* Microsoft Visual C++ */
122  #if (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC)) && !defined(MIDL_PASS)
123  #define CALLBACK __stdcall
124  #else
125  #define CALLBACK
126  #endif
127  #else
128  /* Other Windows compilers */
129  #define CALLBACK __stdcall
130  #endif
131  #define GLFW_CALLBACK_DEFINED
132 #endif /* CALLBACK */
133 
134 /* Most GL/glu.h variants on Windows need wchar_t
135  * OpenGL/gl.h blocks the definition of ptrdiff_t by glext.h on OS X */
136 #if !defined(GLFW_INCLUDE_NONE)
137  #include <stddef.h>
138 #endif
139 
140 /* Include the chosen client API headers.
141  */
142 #if defined(__APPLE_CC__)
143  #if defined(GLFW_INCLUDE_GLCOREARB)
144  #include <OpenGL/gl3.h>
145  #elif !defined(GLFW_INCLUDE_NONE)
146  #define GL_GLEXT_LEGACY
147  #include <OpenGL/gl.h>
148  #endif
149  #if defined(GLFW_INCLUDE_GLU)
150  #include <OpenGL/glu.h>
151  #endif
152 #else
153  #if defined(GLFW_INCLUDE_GLCOREARB)
154  #include <GL/glcorearb.h>
155  #elif defined(GLFW_INCLUDE_ES1)
156  #include <GLES/gl.h>
157  #elif defined(GLFW_INCLUDE_ES2)
158  #include <GLES2/gl2.h>
159  #elif defined(GLFW_INCLUDE_ES3)
160  #include <GLES3/gl3.h>
161  #elif !defined(GLFW_INCLUDE_NONE)
162  #include <GL/gl.h>
163  #endif
164  #if defined(GLFW_INCLUDE_GLU)
165  #include <GL/glu.h>
166  #endif
167 #endif
168 
169 #if defined(GLFW_DLL) && defined(_GLFW_BUILD_DLL)
170  /* GLFW_DLL is defined by users of GLFW when compiling programs that will link
171  * to the DLL version of the GLFW library. _GLFW_BUILD_DLL is defined by the
172  * GLFW configuration header when compiling the DLL version of the library.
173  */
174  #error "You must not have both GLFW_DLL and _GLFW_BUILD_DLL defined"
175 #endif
176 
177 #if defined(_WIN32) && defined(_GLFW_BUILD_DLL)
178 
179  /* We are building a Win32 DLL */
180  #define GLFWAPI __declspec(dllexport)
181 
182 #elif defined(_WIN32) && defined(GLFW_DLL)
183 
184  /* We are calling a Win32 DLL */
185  #if defined(__LCC__)
186  #define GLFWAPI extern
187  #else
188  #define GLFWAPI __declspec(dllimport)
189  #endif
190 
191 #elif defined(__GNUC__) && defined(_GLFW_BUILD_DLL)
192 
193  #define GLFWAPI __attribute__((visibility("default")))
194 
195 #else
196 
197  /* We are either building/calling a static lib or we are non-win32 */
198  #define GLFWAPI
199 
200 #endif
201 
202 /* -------------------- END SYSTEM/COMPILER SPECIFIC --------------------- */
203 
204 
205 /*************************************************************************
206  * GLFW API tokens
207  *************************************************************************/
208 
216 #define GLFW_VERSION_MAJOR 3
217 
223 #define GLFW_VERSION_MINOR 0
224 
230 #define GLFW_VERSION_REVISION 4
231 
238 #define GLFW_RELEASE 0
239 
242 #define GLFW_PRESS 1
243 
246 #define GLFW_REPEAT 2
247 
270 /* The unknown key */
271 #define GLFW_KEY_UNKNOWN -1
272 
273 /* Printable keys */
274 #define GLFW_KEY_SPACE 32
275 #define GLFW_KEY_APOSTROPHE 39 /* ' */
276 #define GLFW_KEY_COMMA 44 /* , */
277 #define GLFW_KEY_MINUS 45 /* - */
278 #define GLFW_KEY_PERIOD 46 /* . */
279 #define GLFW_KEY_SLASH 47 /* / */
280 #define GLFW_KEY_0 48
281 #define GLFW_KEY_1 49
282 #define GLFW_KEY_2 50
283 #define GLFW_KEY_3 51
284 #define GLFW_KEY_4 52
285 #define GLFW_KEY_5 53
286 #define GLFW_KEY_6 54
287 #define GLFW_KEY_7 55
288 #define GLFW_KEY_8 56
289 #define GLFW_KEY_9 57
290 #define GLFW_KEY_SEMICOLON 59 /* ; */
291 #define GLFW_KEY_EQUAL 61 /* = */
292 #define GLFW_KEY_A 65
293 #define GLFW_KEY_B 66
294 #define GLFW_KEY_C 67
295 #define GLFW_KEY_D 68
296 #define GLFW_KEY_E 69
297 #define GLFW_KEY_F 70
298 #define GLFW_KEY_G 71
299 #define GLFW_KEY_H 72
300 #define GLFW_KEY_I 73
301 #define GLFW_KEY_J 74
302 #define GLFW_KEY_K 75
303 #define GLFW_KEY_L 76
304 #define GLFW_KEY_M 77
305 #define GLFW_KEY_N 78
306 #define GLFW_KEY_O 79
307 #define GLFW_KEY_P 80
308 #define GLFW_KEY_Q 81
309 #define GLFW_KEY_R 82
310 #define GLFW_KEY_S 83
311 #define GLFW_KEY_T 84
312 #define GLFW_KEY_U 85
313 #define GLFW_KEY_V 86
314 #define GLFW_KEY_W 87
315 #define GLFW_KEY_X 88
316 #define GLFW_KEY_Y 89
317 #define GLFW_KEY_Z 90
318 #define GLFW_KEY_LEFT_BRACKET 91 /* [ */
319 #define GLFW_KEY_BACKSLASH 92 /* \ */
320 #define GLFW_KEY_RIGHT_BRACKET 93 /* ] */
321 #define GLFW_KEY_GRAVE_ACCENT 96 /* ` */
322 #define GLFW_KEY_WORLD_1 161 /* non-US #1 */
323 #define GLFW_KEY_WORLD_2 162 /* non-US #2 */
324 
325 /* Function keys */
326 #define GLFW_KEY_ESCAPE 256
327 #define GLFW_KEY_ENTER 257
328 #define GLFW_KEY_TAB 258
329 #define GLFW_KEY_BACKSPACE 259
330 #define GLFW_KEY_INSERT 260
331 #define GLFW_KEY_DELETE 261
332 #define GLFW_KEY_RIGHT 262
333 #define GLFW_KEY_LEFT 263
334 #define GLFW_KEY_DOWN 264
335 #define GLFW_KEY_UP 265
336 #define GLFW_KEY_PAGE_UP 266
337 #define GLFW_KEY_PAGE_DOWN 267
338 #define GLFW_KEY_HOME 268
339 #define GLFW_KEY_END 269
340 #define GLFW_KEY_CAPS_LOCK 280
341 #define GLFW_KEY_SCROLL_LOCK 281
342 #define GLFW_KEY_NUM_LOCK 282
343 #define GLFW_KEY_PRINT_SCREEN 283
344 #define GLFW_KEY_PAUSE 284
345 #define GLFW_KEY_F1 290
346 #define GLFW_KEY_F2 291
347 #define GLFW_KEY_F3 292
348 #define GLFW_KEY_F4 293
349 #define GLFW_KEY_F5 294
350 #define GLFW_KEY_F6 295
351 #define GLFW_KEY_F7 296
352 #define GLFW_KEY_F8 297
353 #define GLFW_KEY_F9 298
354 #define GLFW_KEY_F10 299
355 #define GLFW_KEY_F11 300
356 #define GLFW_KEY_F12 301
357 #define GLFW_KEY_F13 302
358 #define GLFW_KEY_F14 303
359 #define GLFW_KEY_F15 304
360 #define GLFW_KEY_F16 305
361 #define GLFW_KEY_F17 306
362 #define GLFW_KEY_F18 307
363 #define GLFW_KEY_F19 308
364 #define GLFW_KEY_F20 309
365 #define GLFW_KEY_F21 310
366 #define GLFW_KEY_F22 311
367 #define GLFW_KEY_F23 312
368 #define GLFW_KEY_F24 313
369 #define GLFW_KEY_F25 314
370 #define GLFW_KEY_KP_0 320
371 #define GLFW_KEY_KP_1 321
372 #define GLFW_KEY_KP_2 322
373 #define GLFW_KEY_KP_3 323
374 #define GLFW_KEY_KP_4 324
375 #define GLFW_KEY_KP_5 325
376 #define GLFW_KEY_KP_6 326
377 #define GLFW_KEY_KP_7 327
378 #define GLFW_KEY_KP_8 328
379 #define GLFW_KEY_KP_9 329
380 #define GLFW_KEY_KP_DECIMAL 330
381 #define GLFW_KEY_KP_DIVIDE 331
382 #define GLFW_KEY_KP_MULTIPLY 332
383 #define GLFW_KEY_KP_SUBTRACT 333
384 #define GLFW_KEY_KP_ADD 334
385 #define GLFW_KEY_KP_ENTER 335
386 #define GLFW_KEY_KP_EQUAL 336
387 #define GLFW_KEY_LEFT_SHIFT 340
388 #define GLFW_KEY_LEFT_CONTROL 341
389 #define GLFW_KEY_LEFT_ALT 342
390 #define GLFW_KEY_LEFT_SUPER 343
391 #define GLFW_KEY_RIGHT_SHIFT 344
392 #define GLFW_KEY_RIGHT_CONTROL 345
393 #define GLFW_KEY_RIGHT_ALT 346
394 #define GLFW_KEY_RIGHT_SUPER 347
395 #define GLFW_KEY_MENU 348
396 #define GLFW_KEY_LAST GLFW_KEY_MENU
397 
406 #define GLFW_MOD_SHIFT 0x0001
407 
409 #define GLFW_MOD_CONTROL 0x0002
410 
412 #define GLFW_MOD_ALT 0x0004
413 
415 #define GLFW_MOD_SUPER 0x0008
416 
422 #define GLFW_MOUSE_BUTTON_1 0
423 #define GLFW_MOUSE_BUTTON_2 1
424 #define GLFW_MOUSE_BUTTON_3 2
425 #define GLFW_MOUSE_BUTTON_4 3
426 #define GLFW_MOUSE_BUTTON_5 4
427 #define GLFW_MOUSE_BUTTON_6 5
428 #define GLFW_MOUSE_BUTTON_7 6
429 #define GLFW_MOUSE_BUTTON_8 7
430 #define GLFW_MOUSE_BUTTON_LAST GLFW_MOUSE_BUTTON_8
431 #define GLFW_MOUSE_BUTTON_LEFT GLFW_MOUSE_BUTTON_1
432 #define GLFW_MOUSE_BUTTON_RIGHT GLFW_MOUSE_BUTTON_2
433 #define GLFW_MOUSE_BUTTON_MIDDLE GLFW_MOUSE_BUTTON_3
434 
439 #define GLFW_JOYSTICK_1 0
440 #define GLFW_JOYSTICK_2 1
441 #define GLFW_JOYSTICK_3 2
442 #define GLFW_JOYSTICK_4 3
443 #define GLFW_JOYSTICK_5 4
444 #define GLFW_JOYSTICK_6 5
445 #define GLFW_JOYSTICK_7 6
446 #define GLFW_JOYSTICK_8 7
447 #define GLFW_JOYSTICK_9 8
448 #define GLFW_JOYSTICK_10 9
449 #define GLFW_JOYSTICK_11 10
450 #define GLFW_JOYSTICK_12 11
451 #define GLFW_JOYSTICK_13 12
452 #define GLFW_JOYSTICK_14 13
453 #define GLFW_JOYSTICK_15 14
454 #define GLFW_JOYSTICK_16 15
455 #define GLFW_JOYSTICK_LAST GLFW_JOYSTICK_16
456 
463 #define GLFW_NOT_INITIALIZED 0x00010001
464 
466 #define GLFW_NO_CURRENT_CONTEXT 0x00010002
467 
470 #define GLFW_INVALID_ENUM 0x00010003
471 
473 #define GLFW_INVALID_VALUE 0x00010004
474 
476 #define GLFW_OUT_OF_MEMORY 0x00010005
477 
480 #define GLFW_API_UNAVAILABLE 0x00010006
481 
483 #define GLFW_VERSION_UNAVAILABLE 0x00010007
484 
487 #define GLFW_PLATFORM_ERROR 0x00010008
488 
490 #define GLFW_FORMAT_UNAVAILABLE 0x00010009
491 
493 #define GLFW_FOCUSED 0x00020001
494 #define GLFW_ICONIFIED 0x00020002
495 #define GLFW_RESIZABLE 0x00020003
496 #define GLFW_VISIBLE 0x00020004
497 #define GLFW_DECORATED 0x00020005
498 
499 #define GLFW_RED_BITS 0x00021001
500 #define GLFW_GREEN_BITS 0x00021002
501 #define GLFW_BLUE_BITS 0x00021003
502 #define GLFW_ALPHA_BITS 0x00021004
503 #define GLFW_DEPTH_BITS 0x00021005
504 #define GLFW_STENCIL_BITS 0x00021006
505 #define GLFW_ACCUM_RED_BITS 0x00021007
506 #define GLFW_ACCUM_GREEN_BITS 0x00021008
507 #define GLFW_ACCUM_BLUE_BITS 0x00021009
508 #define GLFW_ACCUM_ALPHA_BITS 0x0002100A
509 #define GLFW_AUX_BUFFERS 0x0002100B
510 #define GLFW_STEREO 0x0002100C
511 #define GLFW_SAMPLES 0x0002100D
512 #define GLFW_SRGB_CAPABLE 0x0002100E
513 #define GLFW_REFRESH_RATE 0x0002100F
514 
515 #define GLFW_CLIENT_API 0x00022001
516 #define GLFW_CONTEXT_VERSION_MAJOR 0x00022002
517 #define GLFW_CONTEXT_VERSION_MINOR 0x00022003
518 #define GLFW_CONTEXT_REVISION 0x00022004
519 #define GLFW_CONTEXT_ROBUSTNESS 0x00022005
520 #define GLFW_OPENGL_FORWARD_COMPAT 0x00022006
521 #define GLFW_OPENGL_DEBUG_CONTEXT 0x00022007
522 #define GLFW_OPENGL_PROFILE 0x00022008
523 
524 #define GLFW_OPENGL_API 0x00030001
525 #define GLFW_OPENGL_ES_API 0x00030002
526 
527 #define GLFW_NO_ROBUSTNESS 0
528 #define GLFW_NO_RESET_NOTIFICATION 0x00031001
529 #define GLFW_LOSE_CONTEXT_ON_RESET 0x00031002
530 
531 #define GLFW_OPENGL_ANY_PROFILE 0
532 #define GLFW_OPENGL_CORE_PROFILE 0x00032001
533 #define GLFW_OPENGL_COMPAT_PROFILE 0x00032002
534 
535 #define GLFW_CURSOR 0x00033001
536 #define GLFW_STICKY_KEYS 0x00033002
537 #define GLFW_STICKY_MOUSE_BUTTONS 0x00033003
538 
539 #define GLFW_CURSOR_NORMAL 0x00034001
540 #define GLFW_CURSOR_HIDDEN 0x00034002
541 #define GLFW_CURSOR_DISABLED 0x00034003
542 
543 #define GLFW_CONNECTED 0x00040001
544 #define GLFW_DISCONNECTED 0x00040002
545 
546 
547 /*************************************************************************
548  * GLFW API types
549  *************************************************************************/
550 
558 typedef void (*GLFWglproc)(void);
559 
566 typedef struct GLFWmonitor GLFWmonitor;
567 
574 typedef struct GLFWwindow GLFWwindow;
575 
587 typedef void (* GLFWerrorfun)(int,const char*);
588 
603 typedef void (* GLFWwindowposfun)(GLFWwindow*,int,int);
604 
617 typedef void (* GLFWwindowsizefun)(GLFWwindow*,int,int);
618 
629 typedef void (* GLFWwindowclosefun)(GLFWwindow*);
630 
641 typedef void (* GLFWwindowrefreshfun)(GLFWwindow*);
642 
655 typedef void (* GLFWwindowfocusfun)(GLFWwindow*,int);
656 
670 typedef void (* GLFWwindowiconifyfun)(GLFWwindow*,int);
671 
685 typedef void (* GLFWframebuffersizefun)(GLFWwindow*,int,int);
686 
702 typedef void (* GLFWmousebuttonfun)(GLFWwindow*,int,int,int);
703 
716 typedef void (* GLFWcursorposfun)(GLFWwindow*,double,double);
717 
730 typedef void (* GLFWcursorenterfun)(GLFWwindow*,int);
731 
744 typedef void (* GLFWscrollfun)(GLFWwindow*,double,double);
745 
761 typedef void (* GLFWkeyfun)(GLFWwindow*,int,int,int,int);
762 
774 typedef void (* GLFWcharfun)(GLFWwindow*,unsigned int);
775 
787 typedef void (* GLFWmonitorfun)(GLFWmonitor*,int);
788 
795 typedef struct GLFWvidmode
796 {
799  int width;
802  int height;
805  int redBits;
811  int blueBits;
815 } GLFWvidmode;
816 
825 typedef struct GLFWgammaramp
826 {
829  unsigned short* red;
832  unsigned short* green;
835  unsigned short* blue;
838  unsigned int size;
839 } GLFWgammaramp;
840 
841 
842 /*************************************************************************
843  * GLFW API functions
844  *************************************************************************/
845 
874 GLFWAPI int glfwInit(void);
875 
898 GLFWAPI void glfwTerminate(void);
899 
918 GLFWAPI void glfwGetVersion(int* major, int* minor, int* rev);
919 
948 GLFWAPI const char* glfwGetVersionString(void);
949 
974 
995 GLFWAPI GLFWmonitor** glfwGetMonitors(int* count);
996 
1008 GLFWAPI GLFWmonitor* glfwGetPrimaryMonitor(void);
1009 
1021 GLFWAPI void glfwGetMonitorPos(GLFWmonitor* monitor, int* xpos, int* ypos);
1022 
1040 GLFWAPI void glfwGetMonitorPhysicalSize(GLFWmonitor* monitor, int* width, int* height);
1041 
1056 GLFWAPI const char* glfwGetMonitorName(GLFWmonitor* monitor);
1057 
1075 
1098 GLFWAPI const GLFWvidmode* glfwGetVideoModes(GLFWmonitor* monitor, int* count);
1099 
1116 GLFWAPI const GLFWvidmode* glfwGetVideoMode(GLFWmonitor* monitor);
1117 
1128 GLFWAPI void glfwSetGamma(GLFWmonitor* monitor, float gamma);
1129 
1142 GLFWAPI const GLFWgammaramp* glfwGetGammaRamp(GLFWmonitor* monitor);
1143 
1155 GLFWAPI void glfwSetGammaRamp(GLFWmonitor* monitor, const GLFWgammaramp* ramp);
1156 
1168 GLFWAPI void glfwDefaultWindowHints(void);
1169 
1190 GLFWAPI void glfwWindowHint(int target, int hint);
1191 
1258 GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height, const char* title, GLFWmonitor* monitor, GLFWwindow* share);
1259 
1280 GLFWAPI void glfwDestroyWindow(GLFWwindow* window);
1281 
1293 GLFWAPI int glfwWindowShouldClose(GLFWwindow* window);
1294 
1308 GLFWAPI void glfwSetWindowShouldClose(GLFWwindow* window, int value);
1309 
1322 GLFWAPI void glfwSetWindowTitle(GLFWwindow* window, const char* title);
1323 
1339 GLFWAPI void glfwGetWindowPos(GLFWwindow* window, int* xpos, int* ypos);
1340 
1367 GLFWAPI void glfwSetWindowPos(GLFWwindow* window, int xpos, int ypos);
1368 
1385 GLFWAPI void glfwGetWindowSize(GLFWwindow* window, int* width, int* height);
1386 
1409 GLFWAPI void glfwSetWindowSize(GLFWwindow* window, int width, int height);
1410 
1427 GLFWAPI void glfwGetFramebufferSize(GLFWwindow* window, int* width, int* height);
1428 
1444 GLFWAPI void glfwIconifyWindow(GLFWwindow* window);
1445 
1461 GLFWAPI void glfwRestoreWindow(GLFWwindow* window);
1462 
1477 GLFWAPI void glfwShowWindow(GLFWwindow* window);
1478 
1493 GLFWAPI void glfwHideWindow(GLFWwindow* window);
1494 
1505 GLFWAPI GLFWmonitor* glfwGetWindowMonitor(GLFWwindow* window);
1506 
1519 GLFWAPI int glfwGetWindowAttrib(GLFWwindow* window, int attrib);
1520 
1534 GLFWAPI void glfwSetWindowUserPointer(GLFWwindow* window, void* pointer);
1535 
1547 GLFWAPI void* glfwGetWindowUserPointer(GLFWwindow* window);
1548 
1564 
1580 
1607 
1631 
1651 
1666 
1681 
1711 GLFWAPI void glfwPollEvents(void);
1712 
1744 GLFWAPI void glfwWaitEvents(void);
1745 
1756 GLFWAPI int glfwGetInputMode(GLFWwindow* window, int mode);
1757 
1794 GLFWAPI void glfwSetInputMode(GLFWwindow* window, int mode, int value);
1795 
1820 GLFWAPI int glfwGetKey(GLFWwindow* window, int key);
1821 
1838 GLFWAPI int glfwGetMouseButton(GLFWwindow* window, int button);
1839 
1865 GLFWAPI void glfwGetCursorPos(GLFWwindow* window, double* xpos, double* ypos);
1866 
1889 GLFWAPI void glfwSetCursorPos(GLFWwindow* window, double xpos, double ypos);
1890 
1923 GLFWAPI GLFWkeyfun glfwSetKeyCallback(GLFWwindow* window, GLFWkeyfun cbfun);
1924 
1942 GLFWAPI GLFWcharfun glfwSetCharCallback(GLFWwindow* window, GLFWcharfun cbfun);
1943 
1964 
1981 
1997 
2016 
2026 GLFWAPI int glfwJoystickPresent(int joy);
2027 
2045 GLFWAPI const float* glfwGetJoystickAxes(int joy, int* count);
2046 
2064 GLFWAPI const unsigned char* glfwGetJoystickButtons(int joy, int* count);
2065 
2082 GLFWAPI const char* glfwGetJoystickName(int joy);
2083 
2099 GLFWAPI void glfwSetClipboardString(GLFWwindow* window, const char* string);
2100 
2122 GLFWAPI const char* glfwGetClipboardString(GLFWwindow* window);
2123 
2140 GLFWAPI double glfwGetTime(void);
2141 
2155 GLFWAPI void glfwSetTime(double time);
2156 
2173 GLFWAPI void glfwMakeContextCurrent(GLFWwindow* window);
2174 
2189 GLFWAPI GLFWwindow* glfwGetCurrentContext(void);
2190 
2209 GLFWAPI void glfwSwapBuffers(GLFWwindow* window);
2210 
2243 GLFWAPI void glfwSwapInterval(int interval);
2244 
2264 GLFWAPI int glfwExtensionSupported(const char* extension);
2265 
2285 GLFWAPI GLFWglproc glfwGetProcAddress(const char* procname);
2286 
2287 
2288 /*************************************************************************
2289  * Global definition cleanup
2290  *************************************************************************/
2291 
2292 /* ------------------- BEGIN SYSTEM/COMPILER SPECIFIC -------------------- */
2293 
2294 #ifdef GLFW_WINGDIAPI_DEFINED
2295  #undef WINGDIAPI
2296  #undef GLFW_WINGDIAPI_DEFINED
2297 #endif
2298 
2299 #ifdef GLFW_CALLBACK_DEFINED
2300  #undef CALLBACK
2301  #undef GLFW_CALLBACK_DEFINED
2302 #endif
2303 
2304 /* -------------------- END SYSTEM/COMPILER SPECIFIC --------------------- */
2305 
2306 
2307 #ifdef __cplusplus
2308 }
2309 #endif
2310 
2311 #endif /* _glfw3_h_ */
2312 
void glfwGetVersion(int *major, int *minor, int *rev)
Retrieves the version of the GLFW library.
+
int redBits
Definition: glfw3.h:805
+
void glfwGetWindowSize(GLFWwindow *window, int *width, int *height)
Retrieves the size of the client area of the specified window.
+
void(* GLFWwindowiconifyfun)(GLFWwindow *, int)
The function signature for window iconify/restore callbacks.
Definition: glfw3.h:670
+
int glfwGetInputMode(GLFWwindow *window, int mode)
Returns the value of an input option for the specified window.
+
int height
Definition: glfw3.h:802
+
GLFWwindowrefreshfun glfwSetWindowRefreshCallback(GLFWwindow *window, GLFWwindowrefreshfun cbfun)
Sets the refresh callback for the specified window.
+
GLFWwindowposfun glfwSetWindowPosCallback(GLFWwindow *window, GLFWwindowposfun cbfun)
Sets the position callback for the specified window.
+
void glfwGetWindowPos(GLFWwindow *window, int *xpos, int *ypos)
Retrieves the position of the client area of the specified window.
+
int blueBits
Definition: glfw3.h:811
+
void(* GLFWmonitorfun)(GLFWmonitor *, int)
The function signature for monitor configuration callbacks.
Definition: glfw3.h:787
+
void * glfwGetWindowUserPointer(GLFWwindow *window)
Returns the user pointer of the specified window.
+
const GLFWvidmode * glfwGetVideoModes(GLFWmonitor *monitor, int *count)
Returns the available video modes for the specified monitor.
+
const GLFWgammaramp * glfwGetGammaRamp(GLFWmonitor *monitor)
Retrieves the current gamma ramp for the specified monitor.
+
void glfwIconifyWindow(GLFWwindow *window)
Iconifies the specified window.
+
GLFWwindowiconifyfun glfwSetWindowIconifyCallback(GLFWwindow *window, GLFWwindowiconifyfun cbfun)
Sets the iconify callback for the specified window.
+
void glfwSetCursorPos(GLFWwindow *window, double xpos, double ypos)
Sets the position of the cursor, relative to the client area of the window.
+
int width
Definition: glfw3.h:799
+
const char * glfwGetVersionString(void)
Returns a string describing the compile-time configuration.
+
void glfwSwapBuffers(GLFWwindow *window)
Swaps the front and back buffers of the specified window.
+
GLFWwindowsizefun glfwSetWindowSizeCallback(GLFWwindow *window, GLFWwindowsizefun cbfun)
Sets the size callback for the specified window.
+
const char * glfwGetJoystickName(int joy)
Returns the name of the specified joystick.
+
void glfwWaitEvents(void)
Waits until events are pending and processes them.
+
GLFWkeyfun glfwSetKeyCallback(GLFWwindow *window, GLFWkeyfun cbfun)
Sets the key callback.
+
GLFWglproc glfwGetProcAddress(const char *procname)
Returns the address of the specified function for the current context.
+
void glfwGetCursorPos(GLFWwindow *window, double *xpos, double *ypos)
Retrieves the last reported cursor position, relative to the client area of the window.
+
void(* GLFWkeyfun)(GLFWwindow *, int, int, int, int)
The function signature for keyboard key callbacks.
Definition: glfw3.h:761
+
int refreshRate
Definition: glfw3.h:814
+
unsigned short * red
Definition: glfw3.h:829
+
void(* GLFWmousebuttonfun)(GLFWwindow *, int, int, int)
The function signature for mouse button callbacks.
Definition: glfw3.h:702
+
void(* GLFWcharfun)(GLFWwindow *, unsigned int)
The function signature for Unicode character callbacks.
Definition: glfw3.h:774
+
const unsigned char * glfwGetJoystickButtons(int joy, int *count)
Returns the state of all buttons of the specified joystick.
+
GLFWmonitor ** glfwGetMonitors(int *count)
Returns the currently connected monitors.
+
void glfwDestroyWindow(GLFWwindow *window)
Destroys the specified window and its context.
+
GLFWcursorposfun glfwSetCursorPosCallback(GLFWwindow *window, GLFWcursorposfun cbfun)
Sets the cursor position callback.
+
unsigned short * green
Definition: glfw3.h:832
+
GLFWcharfun glfwSetCharCallback(GLFWwindow *window, GLFWcharfun cbfun)
Sets the Unicode character callback.
+
void glfwSetWindowTitle(GLFWwindow *window, const char *title)
Sets the title of the specified window.
+
struct GLFWmonitor GLFWmonitor
Opaque monitor object.
Definition: glfw3.h:566
+
struct GLFWwindow GLFWwindow
Opaque window object.
Definition: glfw3.h:574
+
void glfwShowWindow(GLFWwindow *window)
Makes the specified window visible.
+
void glfwSetWindowSize(GLFWwindow *window, int width, int height)
Sets the size of the client area of the specified window.
+
int greenBits
Definition: glfw3.h:808
+
const float * glfwGetJoystickAxes(int joy, int *count)
Returns the values of all axes of the specified joystick.
+
void glfwSetGamma(GLFWmonitor *monitor, float gamma)
Generates a gamma ramp and sets it for the specified monitor.
+
void glfwSetInputMode(GLFWwindow *window, int mode, int value)
Sets an input option for the specified window.
+
const GLFWvidmode * glfwGetVideoMode(GLFWmonitor *monitor)
Returns the current mode of the specified monitor.
+
void(* GLFWcursorposfun)(GLFWwindow *, double, double)
The function signature for cursor position callbacks.
Definition: glfw3.h:716
+
void glfwRestoreWindow(GLFWwindow *window)
Restores the specified window.
+
int glfwGetMouseButton(GLFWwindow *window, int button)
Returns the last reported state of a mouse button for the specified window.
+
void(* GLFWwindowsizefun)(GLFWwindow *, int, int)
The function signature for window resize callbacks.
Definition: glfw3.h:617
+
struct GLFWgammaramp GLFWgammaramp
Gamma ramp.
+
double glfwGetTime(void)
Returns the value of the GLFW timer.
+
GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
Creates a window and its associated context.
+
unsigned int size
Definition: glfw3.h:838
+
void glfwSetWindowUserPointer(GLFWwindow *window, void *pointer)
Sets the user pointer of the specified window.
+
void glfwSetTime(double time)
Sets the GLFW timer.
+
void glfwSetWindowShouldClose(GLFWwindow *window, int value)
Sets the close flag of the specified window.
+
void glfwSetClipboardString(GLFWwindow *window, const char *string)
Sets the clipboard to the specified string.
+
GLFWframebuffersizefun glfwSetFramebufferSizeCallback(GLFWwindow *window, GLFWframebuffersizefun cbfun)
Sets the framebuffer resize callback for the specified window.
+
void(* GLFWframebuffersizefun)(GLFWwindow *, int, int)
The function signature for framebuffer resize callbacks.
Definition: glfw3.h:685
+
void(* GLFWerrorfun)(int, const char *)
The function signature for error callbacks.
Definition: glfw3.h:587
+
int glfwJoystickPresent(int joy)
Returns whether the specified joystick is present.
+
void glfwWindowHint(int target, int hint)
Sets the specified window hint to the desired value.
+
void(* GLFWwindowposfun)(GLFWwindow *, int, int)
The function signature for window position callbacks.
Definition: glfw3.h:603
+
void glfwPollEvents(void)
Processes all pending events.
+
const char * glfwGetClipboardString(GLFWwindow *window)
Retrieves the contents of the clipboard as a string.
+
void glfwHideWindow(GLFWwindow *window)
Hides the specified window.
+
GLFWwindow * glfwGetCurrentContext(void)
Returns the window whose context is current on the calling thread.
+
void glfwSetGammaRamp(GLFWmonitor *monitor, const GLFWgammaramp *ramp)
Sets the current gamma ramp for the specified monitor.
+
GLFWcursorenterfun glfwSetCursorEnterCallback(GLFWwindow *window, GLFWcursorenterfun cbfun)
Sets the cursor enter/exit callback.
+
GLFWmonitor * glfwGetWindowMonitor(GLFWwindow *window)
Returns the monitor that the window uses for full screen mode.
+
GLFWmousebuttonfun glfwSetMouseButtonCallback(GLFWwindow *window, GLFWmousebuttonfun cbfun)
Sets the mouse button callback.
+
GLFWmonitor * glfwGetPrimaryMonitor(void)
Returns the primary monitor.
+
int glfwGetKey(GLFWwindow *window, int key)
Returns the last reported state of a keyboard key for the specified window.
+
void glfwMakeContextCurrent(GLFWwindow *window)
Makes the context of the specified window current for the calling thread.
+
Gamma ramp.
Definition: glfw3.h:825
+
GLFWwindowclosefun glfwSetWindowCloseCallback(GLFWwindow *window, GLFWwindowclosefun cbfun)
Sets the close callback for the specified window.
+
GLFWscrollfun glfwSetScrollCallback(GLFWwindow *window, GLFWscrollfun cbfun)
Sets the scroll callback.
+
unsigned short * blue
Definition: glfw3.h:835
+
Video mode type.
Definition: glfw3.h:795
+
GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun cbfun)
Sets the error callback.
+
void glfwSetWindowPos(GLFWwindow *window, int xpos, int ypos)
Sets the position of the client area of the specified window.
+
int glfwExtensionSupported(const char *extension)
Returns whether the specified extension is available.
+
void glfwGetFramebufferSize(GLFWwindow *window, int *width, int *height)
Retrieves the size of the framebuffer of the specified window.
+
void(* GLFWwindowclosefun)(GLFWwindow *)
The function signature for window close callbacks.
Definition: glfw3.h:629
+
void glfwSwapInterval(int interval)
Sets the swap interval for the current context.
+
void(* GLFWcursorenterfun)(GLFWwindow *, int)
The function signature for cursor enter/leave callbacks.
Definition: glfw3.h:730
+
int glfwInit(void)
Initializes the GLFW library.
+
void(* GLFWscrollfun)(GLFWwindow *, double, double)
The function signature for scroll callbacks.
Definition: glfw3.h:744
+
void glfwGetMonitorPos(GLFWmonitor *monitor, int *xpos, int *ypos)
Returns the position of the monitor&#39;s viewport on the virtual screen.
+
struct GLFWvidmode GLFWvidmode
Video mode type.
+
void glfwDefaultWindowHints(void)
Resets all window hints to their default values.
+
GLFWwindowfocusfun glfwSetWindowFocusCallback(GLFWwindow *window, GLFWwindowfocusfun cbfun)
Sets the focus callback for the specified window.
+
void glfwTerminate(void)
Terminates the GLFW library.
+
void glfwGetMonitorPhysicalSize(GLFWmonitor *monitor, int *width, int *height)
Returns the physical size of the monitor.
+
GLFWmonitorfun glfwSetMonitorCallback(GLFWmonitorfun cbfun)
Sets the monitor configuration callback.
+
void(* GLFWwindowrefreshfun)(GLFWwindow *)
The function signature for window content refresh callbacks.
Definition: glfw3.h:641
+
void(* GLFWglproc)(void)
Client API function pointer type.
Definition: glfw3.h:558
+
const char * glfwGetMonitorName(GLFWmonitor *monitor)
Returns the name of the specified monitor.
+
int glfwWindowShouldClose(GLFWwindow *window)
Checks the close flag of the specified window.
+
int glfwGetWindowAttrib(GLFWwindow *window, int attrib)
Returns an attribute of the specified window.
+
void(* GLFWwindowfocusfun)(GLFWwindow *, int)
The function signature for window focus/defocus callbacks.
Definition: glfw3.h:655
+
+ + + diff --git a/docs/3.0/glfw3native_8h.html b/docs/3.0/glfw3native_8h.html new file mode 100644 index 0000000..903db8c --- /dev/null +++ b/docs/3.0/glfw3native_8h.html @@ -0,0 +1,115 @@ + + + + + + +GLFW: glfw3native.h File Reference + + + + + + + + + + +
+ + + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
glfw3native.h File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

HWND glfwGetWin32Window (GLFWwindow *window)
 Returns the HWND of the specified window. More...
 
HGLRC glfwGetWGLContext (GLFWwindow *window)
 Returns the HGLRC of the specified window. More...
 
id glfwGetCocoaWindow (GLFWwindow *window)
 Returns the NSWindow of the specified window. More...
 
id glfwGetNSGLContext (GLFWwindow *window)
 Returns the NSOpenGLContext of the specified window. More...
 
Display * glfwGetX11Display (void)
 Returns the Display used by GLFW. More...
 
Window glfwGetX11Window (GLFWwindow *window)
 Returns the Window of the specified window. More...
 
GLXContext glfwGetGLXContext (GLFWwindow *window)
 Returns the GLXContext of the specified window. More...
 
EGLDisplay glfwGetEGLDisplay (void)
 Returns the EGLDisplay used by GLFW. More...
 
EGLContext glfwGetEGLContext (GLFWwindow *window)
 Returns the EGLContext of the specified window. More...
 
EGLSurface glfwGetEGLSurface (GLFWwindow *window)
 Returns the EGLSurface of the specified window. More...
 
+
+ + + diff --git a/docs/3.0/glfw3native_8h_source.html b/docs/3.0/glfw3native_8h_source.html new file mode 100644 index 0000000..1a63ed1 --- /dev/null +++ b/docs/3.0/glfw3native_8h_source.html @@ -0,0 +1,88 @@ + + + + + + +GLFW: glfw3native.h Source File + + + + + + + + + + +
+ + + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
glfw3native.h
+
+
+Go to the documentation of this file.
1 /*************************************************************************
2  * GLFW 3.0 - www.glfw.org
3  * A library for OpenGL, window and input
4  *------------------------------------------------------------------------
5  * Copyright (c) 2002-2006 Marcus Geelnard
6  * Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
7  *
8  * This software is provided 'as-is', without any express or implied
9  * warranty. In no event will the authors be held liable for any damages
10  * arising from the use of this software.
11  *
12  * Permission is granted to anyone to use this software for any purpose,
13  * including commercial applications, and to alter it and redistribute it
14  * freely, subject to the following restrictions:
15  *
16  * 1. The origin of this software must not be misrepresented; you must not
17  * claim that you wrote the original software. If you use this software
18  * in a product, an acknowledgment in the product documentation would
19  * be appreciated but is not required.
20  *
21  * 2. Altered source versions must be plainly marked as such, and must not
22  * be misrepresented as being the original software.
23  *
24  * 3. This notice may not be removed or altered from any source
25  * distribution.
26  *
27  *************************************************************************/
28 
29 #ifndef _glfw3_native_h_
30 #define _glfw3_native_h_
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 
37 /*************************************************************************
38  * Doxygen documentation
39  *************************************************************************/
40 
69 /*************************************************************************
70  * System headers and types
71  *************************************************************************/
72 
73 #if defined(GLFW_EXPOSE_NATIVE_WIN32)
74  #include <windows.h>
75 #elif defined(GLFW_EXPOSE_NATIVE_COCOA)
76  #if defined(__OBJC__)
77  #import <Cocoa/Cocoa.h>
78  #else
79  typedef void* id;
80  #endif
81 #elif defined(GLFW_EXPOSE_NATIVE_X11)
82  #include <X11/Xlib.h>
83 #else
84  #error "No window API specified"
85 #endif
86 
87 #if defined(GLFW_EXPOSE_NATIVE_WGL)
88  /* WGL is declared by windows.h */
89 #elif defined(GLFW_EXPOSE_NATIVE_NSGL)
90  /* NSGL is declared by Cocoa.h */
91 #elif defined(GLFW_EXPOSE_NATIVE_GLX)
92  #include <GL/glx.h>
93 #elif defined(GLFW_EXPOSE_NATIVE_EGL)
94  #include <EGL/egl.h>
95 #else
96  #error "No context API specified"
97 #endif
98 
99 
100 /*************************************************************************
101  * Functions
102  *************************************************************************/
103 
104 #if defined(GLFW_EXPOSE_NATIVE_WIN32)
105 
109 GLFWAPI HWND glfwGetWin32Window(GLFWwindow* window);
110 #endif
111 
112 #if defined(GLFW_EXPOSE_NATIVE_WGL)
113 
117 GLFWAPI HGLRC glfwGetWGLContext(GLFWwindow* window);
118 #endif
119 
120 #if defined(GLFW_EXPOSE_NATIVE_COCOA)
121 
125 GLFWAPI id glfwGetCocoaWindow(GLFWwindow* window);
126 #endif
127 
128 #if defined(GLFW_EXPOSE_NATIVE_NSGL)
129 
133 GLFWAPI id glfwGetNSGLContext(GLFWwindow* window);
134 #endif
135 
136 #if defined(GLFW_EXPOSE_NATIVE_X11)
137 
141 GLFWAPI Display* glfwGetX11Display(void);
146 GLFWAPI Window glfwGetX11Window(GLFWwindow* window);
147 #endif
148 
149 #if defined(GLFW_EXPOSE_NATIVE_GLX)
150 
154 GLFWAPI GLXContext glfwGetGLXContext(GLFWwindow* window);
155 #endif
156 
157 #if defined(GLFW_EXPOSE_NATIVE_EGL)
158 
162 GLFWAPI EGLDisplay glfwGetEGLDisplay(void);
167 GLFWAPI EGLContext glfwGetEGLContext(GLFWwindow* window);
172 GLFWAPI EGLSurface glfwGetEGLSurface(GLFWwindow* window);
173 #endif
174 
175 #ifdef __cplusplus
176 }
177 #endif
178 
179 #endif /* _glfw3_native_h_ */
180 
HGLRC glfwGetWGLContext(GLFWwindow *window)
Returns the HGLRC of the specified window.
+
id glfwGetCocoaWindow(GLFWwindow *window)
Returns the NSWindow of the specified window.
+
EGLSurface glfwGetEGLSurface(GLFWwindow *window)
Returns the EGLSurface of the specified window.
+
HWND glfwGetWin32Window(GLFWwindow *window)
Returns the HWND of the specified window.
+
id glfwGetNSGLContext(GLFWwindow *window)
Returns the NSOpenGLContext of the specified window.
+
EGLDisplay glfwGetEGLDisplay(void)
Returns the EGLDisplay used by GLFW.
+
Window glfwGetX11Window(GLFWwindow *window)
Returns the Window of the specified window.
+
struct GLFWwindow GLFWwindow
Opaque window object.
Definition: glfw3.h:574
+
Display * glfwGetX11Display(void)
Returns the Display used by GLFW.
+
GLXContext glfwGetGLXContext(GLFWwindow *window)
Returns the GLXContext of the specified window.
+
EGLContext glfwGetEGLContext(GLFWwindow *window)
Returns the EGLContext of the specified window.
+
+ + + diff --git a/docs/3.0/globals.html b/docs/3.0/globals.html new file mode 100644 index 0000000..3f4289b --- /dev/null +++ b/docs/3.0/globals.html @@ -0,0 +1,94 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- a -

+
+ + + diff --git a/docs/3.0/globals_b.html b/docs/3.0/globals_b.html new file mode 100644 index 0000000..b5dcf4d --- /dev/null +++ b/docs/3.0/globals_b.html @@ -0,0 +1,76 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- b -

+
+ + + diff --git a/docs/3.0/globals_c.html b/docs/3.0/globals_c.html new file mode 100644 index 0000000..2a0ceb1 --- /dev/null +++ b/docs/3.0/globals_c.html @@ -0,0 +1,106 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- c -

+
+ + + diff --git a/docs/3.0/globals_d.html b/docs/3.0/globals_d.html new file mode 100644 index 0000000..fda489c --- /dev/null +++ b/docs/3.0/globals_d.html @@ -0,0 +1,88 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- d -

+
+ + + diff --git a/docs/3.0/globals_defs.html b/docs/3.0/globals_defs.html new file mode 100644 index 0000000..a70033e --- /dev/null +++ b/docs/3.0/globals_defs.html @@ -0,0 +1,94 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- a -

+
+ + + diff --git a/docs/3.0/globals_defs_b.html b/docs/3.0/globals_defs_b.html new file mode 100644 index 0000000..657027c --- /dev/null +++ b/docs/3.0/globals_defs_b.html @@ -0,0 +1,76 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- b -

+
+ + + diff --git a/docs/3.0/globals_defs_c.html b/docs/3.0/globals_defs_c.html new file mode 100644 index 0000000..a39ee5b --- /dev/null +++ b/docs/3.0/globals_defs_c.html @@ -0,0 +1,103 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- c -

+
+ + + diff --git a/docs/3.0/globals_defs_d.html b/docs/3.0/globals_defs_d.html new file mode 100644 index 0000000..aaf607d --- /dev/null +++ b/docs/3.0/globals_defs_d.html @@ -0,0 +1,82 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- d -

+
+ + + diff --git a/docs/3.0/globals_defs_f.html b/docs/3.0/globals_defs_f.html new file mode 100644 index 0000000..a074e8a --- /dev/null +++ b/docs/3.0/globals_defs_f.html @@ -0,0 +1,79 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- f -

+
+ + + diff --git a/docs/3.0/globals_defs_g.html b/docs/3.0/globals_defs_g.html new file mode 100644 index 0000000..8860e13 --- /dev/null +++ b/docs/3.0/globals_defs_g.html @@ -0,0 +1,76 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- g -

+
+ + + diff --git a/docs/3.0/globals_defs_i.html b/docs/3.0/globals_defs_i.html new file mode 100644 index 0000000..2a224ea --- /dev/null +++ b/docs/3.0/globals_defs_i.html @@ -0,0 +1,82 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- i -

+
+ + + diff --git a/docs/3.0/globals_defs_j.html b/docs/3.0/globals_defs_j.html new file mode 100644 index 0000000..65a5f0f --- /dev/null +++ b/docs/3.0/globals_defs_j.html @@ -0,0 +1,124 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- j -

+
+ + + diff --git a/docs/3.0/globals_defs_k.html b/docs/3.0/globals_defs_k.html new file mode 100644 index 0000000..c347c97 --- /dev/null +++ b/docs/3.0/globals_defs_k.html @@ -0,0 +1,439 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- k -

+
+ + + diff --git a/docs/3.0/globals_defs_l.html b/docs/3.0/globals_defs_l.html new file mode 100644 index 0000000..6ba745c --- /dev/null +++ b/docs/3.0/globals_defs_l.html @@ -0,0 +1,76 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- l -

    +
  • GLFW_LOSE_CONTEXT_ON_RESET +: glfw3.h +
  • +
+
+ + + diff --git a/docs/3.0/globals_defs_m.html b/docs/3.0/globals_defs_m.html new file mode 100644 index 0000000..467599c --- /dev/null +++ b/docs/3.0/globals_defs_m.html @@ -0,0 +1,121 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- m -

+
+ + + diff --git a/docs/3.0/globals_defs_n.html b/docs/3.0/globals_defs_n.html new file mode 100644 index 0000000..eed5153 --- /dev/null +++ b/docs/3.0/globals_defs_n.html @@ -0,0 +1,85 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- n -

    +
  • GLFW_NO_CURRENT_CONTEXT +: glfw3.h +
  • +
  • GLFW_NO_RESET_NOTIFICATION +: glfw3.h +
  • +
  • GLFW_NO_ROBUSTNESS +: glfw3.h +
  • +
  • GLFW_NOT_INITIALIZED +: glfw3.h +
  • +
+
+ + + diff --git a/docs/3.0/globals_defs_o.html b/docs/3.0/globals_defs_o.html new file mode 100644 index 0000000..342c314 --- /dev/null +++ b/docs/3.0/globals_defs_o.html @@ -0,0 +1,100 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- o -

    +
  • GLFW_OPENGL_ANY_PROFILE +: glfw3.h +
  • +
  • GLFW_OPENGL_API +: glfw3.h +
  • +
  • GLFW_OPENGL_COMPAT_PROFILE +: glfw3.h +
  • +
  • GLFW_OPENGL_CORE_PROFILE +: glfw3.h +
  • +
  • GLFW_OPENGL_DEBUG_CONTEXT +: glfw3.h +
  • +
  • GLFW_OPENGL_ES_API +: glfw3.h +
  • +
  • GLFW_OPENGL_FORWARD_COMPAT +: glfw3.h +
  • +
  • GLFW_OPENGL_PROFILE +: glfw3.h +
  • +
  • GLFW_OUT_OF_MEMORY +: glfw3.h +
  • +
+
+ + + diff --git a/docs/3.0/globals_defs_p.html b/docs/3.0/globals_defs_p.html new file mode 100644 index 0000000..fece6d7 --- /dev/null +++ b/docs/3.0/globals_defs_p.html @@ -0,0 +1,79 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- p -

+
+ + + diff --git a/docs/3.0/globals_defs_r.html b/docs/3.0/globals_defs_r.html new file mode 100644 index 0000000..d6a4542 --- /dev/null +++ b/docs/3.0/globals_defs_r.html @@ -0,0 +1,88 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- r -

+
+ + + diff --git a/docs/3.0/globals_defs_s.html b/docs/3.0/globals_defs_s.html new file mode 100644 index 0000000..19d47db --- /dev/null +++ b/docs/3.0/globals_defs_s.html @@ -0,0 +1,91 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- s -

+
+ + + diff --git a/docs/3.0/globals_defs_v.html b/docs/3.0/globals_defs_v.html new file mode 100644 index 0000000..00a1985 --- /dev/null +++ b/docs/3.0/globals_defs_v.html @@ -0,0 +1,88 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- v -

+
+ + + diff --git a/docs/3.0/globals_e.html b/docs/3.0/globals_e.html new file mode 100644 index 0000000..1806d88 --- /dev/null +++ b/docs/3.0/globals_e.html @@ -0,0 +1,76 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- e -

    +
  • glfwExtensionSupported() +: glfw3.h +
  • +
+
+ + + diff --git a/docs/3.0/globals_f.html b/docs/3.0/globals_f.html new file mode 100644 index 0000000..848ebca --- /dev/null +++ b/docs/3.0/globals_f.html @@ -0,0 +1,79 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- f -

+
+ + + diff --git a/docs/3.0/globals_func.html b/docs/3.0/globals_func.html new file mode 100644 index 0000000..a70e3ab --- /dev/null +++ b/docs/3.0/globals_func.html @@ -0,0 +1,364 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- c -

    +
  • glfwCreateWindow() +: glfw3.h +
  • +
+ + +

- d -

    +
  • glfwDefaultWindowHints() +: glfw3.h +
  • +
  • glfwDestroyWindow() +: glfw3.h +
  • +
+ + +

- e -

    +
  • glfwExtensionSupported() +: glfw3.h +
  • +
+ + +

- g -

+ + +

- h -

+ + +

- i -

+ + +

- j -

    +
  • glfwJoystickPresent() +: glfw3.h +
  • +
+ + +

- m -

    +
  • glfwMakeContextCurrent() +: glfw3.h +
  • +
+ + +

- p -

+ + +

- r -

    +
  • glfwRestoreWindow() +: glfw3.h +
  • +
+ + +

- s -

    +
  • glfwSetCharCallback() +: glfw3.h +
  • +
  • glfwSetClipboardString() +: glfw3.h +
  • +
  • glfwSetCursorEnterCallback() +: glfw3.h +
  • +
  • glfwSetCursorPos() +: glfw3.h +
  • +
  • glfwSetCursorPosCallback() +: glfw3.h +
  • +
  • glfwSetErrorCallback() +: glfw3.h +
  • +
  • glfwSetFramebufferSizeCallback() +: glfw3.h +
  • +
  • glfwSetGamma() +: glfw3.h +
  • +
  • glfwSetGammaRamp() +: glfw3.h +
  • +
  • glfwSetInputMode() +: glfw3.h +
  • +
  • glfwSetKeyCallback() +: glfw3.h +
  • +
  • glfwSetMonitorCallback() +: glfw3.h +
  • +
  • glfwSetMouseButtonCallback() +: glfw3.h +
  • +
  • glfwSetScrollCallback() +: glfw3.h +
  • +
  • glfwSetTime() +: glfw3.h +
  • +
  • glfwSetWindowCloseCallback() +: glfw3.h +
  • +
  • glfwSetWindowFocusCallback() +: glfw3.h +
  • +
  • glfwSetWindowIconifyCallback() +: glfw3.h +
  • +
  • glfwSetWindowPos() +: glfw3.h +
  • +
  • glfwSetWindowPosCallback() +: glfw3.h +
  • +
  • glfwSetWindowRefreshCallback() +: glfw3.h +
  • +
  • glfwSetWindowShouldClose() +: glfw3.h +
  • +
  • glfwSetWindowSize() +: glfw3.h +
  • +
  • glfwSetWindowSizeCallback() +: glfw3.h +
  • +
  • glfwSetWindowTitle() +: glfw3.h +
  • +
  • glfwSetWindowUserPointer() +: glfw3.h +
  • +
  • glfwShowWindow() +: glfw3.h +
  • +
  • glfwSwapBuffers() +: glfw3.h +
  • +
  • glfwSwapInterval() +: glfw3.h +
  • +
+ + +

- t -

+ + +

- w -

+
+ + + diff --git a/docs/3.0/globals_g.html b/docs/3.0/globals_g.html new file mode 100644 index 0000000..bc02b6e --- /dev/null +++ b/docs/3.0/globals_g.html @@ -0,0 +1,247 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- g -

+
+ + + diff --git a/docs/3.0/globals_h.html b/docs/3.0/globals_h.html new file mode 100644 index 0000000..3ff6fa1 --- /dev/null +++ b/docs/3.0/globals_h.html @@ -0,0 +1,76 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- h -

+
+ + + diff --git a/docs/3.0/globals_i.html b/docs/3.0/globals_i.html new file mode 100644 index 0000000..1d30489 --- /dev/null +++ b/docs/3.0/globals_i.html @@ -0,0 +1,88 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- i -

+
+ + + diff --git a/docs/3.0/globals_j.html b/docs/3.0/globals_j.html new file mode 100644 index 0000000..160cf73 --- /dev/null +++ b/docs/3.0/globals_j.html @@ -0,0 +1,127 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- j -

+
+ + + diff --git a/docs/3.0/globals_k.html b/docs/3.0/globals_k.html new file mode 100644 index 0000000..20eb480 --- /dev/null +++ b/docs/3.0/globals_k.html @@ -0,0 +1,439 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- k -

+
+ + + diff --git a/docs/3.0/globals_l.html b/docs/3.0/globals_l.html new file mode 100644 index 0000000..e6545a5 --- /dev/null +++ b/docs/3.0/globals_l.html @@ -0,0 +1,76 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- l -

    +
  • GLFW_LOSE_CONTEXT_ON_RESET +: glfw3.h +
  • +
+
+ + + diff --git a/docs/3.0/globals_m.html b/docs/3.0/globals_m.html new file mode 100644 index 0000000..4f9b6f8 --- /dev/null +++ b/docs/3.0/globals_m.html @@ -0,0 +1,124 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- m -

+
+ + + diff --git a/docs/3.0/globals_n.html b/docs/3.0/globals_n.html new file mode 100644 index 0000000..454e7c1 --- /dev/null +++ b/docs/3.0/globals_n.html @@ -0,0 +1,85 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- n -

    +
  • GLFW_NO_CURRENT_CONTEXT +: glfw3.h +
  • +
  • GLFW_NO_RESET_NOTIFICATION +: glfw3.h +
  • +
  • GLFW_NO_ROBUSTNESS +: glfw3.h +
  • +
  • GLFW_NOT_INITIALIZED +: glfw3.h +
  • +
+
+ + + diff --git a/docs/3.0/globals_o.html b/docs/3.0/globals_o.html new file mode 100644 index 0000000..0fb6600 --- /dev/null +++ b/docs/3.0/globals_o.html @@ -0,0 +1,100 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- o -

    +
  • GLFW_OPENGL_ANY_PROFILE +: glfw3.h +
  • +
  • GLFW_OPENGL_API +: glfw3.h +
  • +
  • GLFW_OPENGL_COMPAT_PROFILE +: glfw3.h +
  • +
  • GLFW_OPENGL_CORE_PROFILE +: glfw3.h +
  • +
  • GLFW_OPENGL_DEBUG_CONTEXT +: glfw3.h +
  • +
  • GLFW_OPENGL_ES_API +: glfw3.h +
  • +
  • GLFW_OPENGL_FORWARD_COMPAT +: glfw3.h +
  • +
  • GLFW_OPENGL_PROFILE +: glfw3.h +
  • +
  • GLFW_OUT_OF_MEMORY +: glfw3.h +
  • +
+
+ + + diff --git a/docs/3.0/globals_p.html b/docs/3.0/globals_p.html new file mode 100644 index 0000000..a985c95 --- /dev/null +++ b/docs/3.0/globals_p.html @@ -0,0 +1,82 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- p -

+
+ + + diff --git a/docs/3.0/globals_r.html b/docs/3.0/globals_r.html new file mode 100644 index 0000000..8380702 --- /dev/null +++ b/docs/3.0/globals_r.html @@ -0,0 +1,91 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- r -

+
+ + + diff --git a/docs/3.0/globals_s.html b/docs/3.0/globals_s.html new file mode 100644 index 0000000..bd54a42 --- /dev/null +++ b/docs/3.0/globals_s.html @@ -0,0 +1,178 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- s -

    +
  • GLFW_SAMPLES +: glfw3.h +
  • +
  • GLFW_SRGB_CAPABLE +: glfw3.h +
  • +
  • GLFW_STENCIL_BITS +: glfw3.h +
  • +
  • GLFW_STEREO +: glfw3.h +
  • +
  • GLFW_STICKY_KEYS +: glfw3.h +
  • +
  • GLFW_STICKY_MOUSE_BUTTONS +: glfw3.h +
  • +
  • glfwSetCharCallback() +: glfw3.h +
  • +
  • glfwSetClipboardString() +: glfw3.h +
  • +
  • glfwSetCursorEnterCallback() +: glfw3.h +
  • +
  • glfwSetCursorPos() +: glfw3.h +
  • +
  • glfwSetCursorPosCallback() +: glfw3.h +
  • +
  • glfwSetErrorCallback() +: glfw3.h +
  • +
  • glfwSetFramebufferSizeCallback() +: glfw3.h +
  • +
  • glfwSetGamma() +: glfw3.h +
  • +
  • glfwSetGammaRamp() +: glfw3.h +
  • +
  • glfwSetInputMode() +: glfw3.h +
  • +
  • glfwSetKeyCallback() +: glfw3.h +
  • +
  • glfwSetMonitorCallback() +: glfw3.h +
  • +
  • glfwSetMouseButtonCallback() +: glfw3.h +
  • +
  • glfwSetScrollCallback() +: glfw3.h +
  • +
  • glfwSetTime() +: glfw3.h +
  • +
  • glfwSetWindowCloseCallback() +: glfw3.h +
  • +
  • glfwSetWindowFocusCallback() +: glfw3.h +
  • +
  • glfwSetWindowIconifyCallback() +: glfw3.h +
  • +
  • glfwSetWindowPos() +: glfw3.h +
  • +
  • glfwSetWindowPosCallback() +: glfw3.h +
  • +
  • glfwSetWindowRefreshCallback() +: glfw3.h +
  • +
  • glfwSetWindowShouldClose() +: glfw3.h +
  • +
  • glfwSetWindowSize() +: glfw3.h +
  • +
  • glfwSetWindowSizeCallback() +: glfw3.h +
  • +
  • glfwSetWindowTitle() +: glfw3.h +
  • +
  • glfwSetWindowUserPointer() +: glfw3.h +
  • +
  • glfwShowWindow() +: glfw3.h +
  • +
  • glfwSwapBuffers() +: glfw3.h +
  • +
  • glfwSwapInterval() +: glfw3.h +
  • +
+
+ + + diff --git a/docs/3.0/globals_t.html b/docs/3.0/globals_t.html new file mode 100644 index 0000000..2658e88 --- /dev/null +++ b/docs/3.0/globals_t.html @@ -0,0 +1,76 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- t -

+
+ + + diff --git a/docs/3.0/globals_type.html b/docs/3.0/globals_type.html new file mode 100644 index 0000000..515fecd --- /dev/null +++ b/docs/3.0/globals_type.html @@ -0,0 +1,131 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+ + + diff --git a/docs/3.0/globals_v.html b/docs/3.0/globals_v.html new file mode 100644 index 0000000..ee83a2a --- /dev/null +++ b/docs/3.0/globals_v.html @@ -0,0 +1,88 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- v -

+
+ + + diff --git a/docs/3.0/globals_w.html b/docs/3.0/globals_w.html new file mode 100644 index 0000000..4973efa --- /dev/null +++ b/docs/3.0/globals_w.html @@ -0,0 +1,82 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- w -

+
+ + + diff --git a/docs/3.0/group__buttons.html b/docs/3.0/group__buttons.html new file mode 100644 index 0000000..6ec4167 --- /dev/null +++ b/docs/3.0/group__buttons.html @@ -0,0 +1,273 @@ + + + + + + +GLFW: Mouse buttons + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Mouse buttons
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

#define GLFW_MOUSE_BUTTON_1   0
 
#define GLFW_MOUSE_BUTTON_2   1
 
#define GLFW_MOUSE_BUTTON_3   2
 
#define GLFW_MOUSE_BUTTON_4   3
 
#define GLFW_MOUSE_BUTTON_5   4
 
#define GLFW_MOUSE_BUTTON_6   5
 
#define GLFW_MOUSE_BUTTON_7   6
 
#define GLFW_MOUSE_BUTTON_8   7
 
#define GLFW_MOUSE_BUTTON_LAST   GLFW_MOUSE_BUTTON_8
 
#define GLFW_MOUSE_BUTTON_LEFT   GLFW_MOUSE_BUTTON_1
 
#define GLFW_MOUSE_BUTTON_RIGHT   GLFW_MOUSE_BUTTON_2
 
#define GLFW_MOUSE_BUTTON_MIDDLE   GLFW_MOUSE_BUTTON_3
 
+

Detailed Description

+

Macro Definition Documentation

+ +

◆ GLFW_MOUSE_BUTTON_1

+ +
+
+ + + + +
#define GLFW_MOUSE_BUTTON_1   0
+
+ +
+
+ +

◆ GLFW_MOUSE_BUTTON_2

+ +
+
+ + + + +
#define GLFW_MOUSE_BUTTON_2   1
+
+ +
+
+ +

◆ GLFW_MOUSE_BUTTON_3

+ +
+
+ + + + +
#define GLFW_MOUSE_BUTTON_3   2
+
+ +
+
+ +

◆ GLFW_MOUSE_BUTTON_4

+ +
+
+ + + + +
#define GLFW_MOUSE_BUTTON_4   3
+
+ +
+
+ +

◆ GLFW_MOUSE_BUTTON_5

+ +
+
+ + + + +
#define GLFW_MOUSE_BUTTON_5   4
+
+ +
+
+ +

◆ GLFW_MOUSE_BUTTON_6

+ +
+
+ + + + +
#define GLFW_MOUSE_BUTTON_6   5
+
+ +
+
+ +

◆ GLFW_MOUSE_BUTTON_7

+ +
+
+ + + + +
#define GLFW_MOUSE_BUTTON_7   6
+
+ +
+
+ +

◆ GLFW_MOUSE_BUTTON_8

+ +
+
+ + + + +
#define GLFW_MOUSE_BUTTON_8   7
+
+ +
+
+ +

◆ GLFW_MOUSE_BUTTON_LAST

+ +
+
+ + + + +
#define GLFW_MOUSE_BUTTON_LAST   GLFW_MOUSE_BUTTON_8
+
+ +
+
+ +

◆ GLFW_MOUSE_BUTTON_LEFT

+ +
+
+ + + + +
#define GLFW_MOUSE_BUTTON_LEFT   GLFW_MOUSE_BUTTON_1
+
+ +
+
+ +

◆ GLFW_MOUSE_BUTTON_MIDDLE

+ +
+
+ + + + +
#define GLFW_MOUSE_BUTTON_MIDDLE   GLFW_MOUSE_BUTTON_3
+
+ +
+
+ +

◆ GLFW_MOUSE_BUTTON_RIGHT

+ +
+
+ + + + +
#define GLFW_MOUSE_BUTTON_RIGHT   GLFW_MOUSE_BUTTON_2
+
+ +
+
+
+ + + diff --git a/docs/3.0/group__clipboard.html b/docs/3.0/group__clipboard.html new file mode 100644 index 0000000..3f93880 --- /dev/null +++ b/docs/3.0/group__clipboard.html @@ -0,0 +1,157 @@ + + + + + + +GLFW: Clipboard support + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Clipboard support
+
+
+ + + + + + + + +

+Functions

void glfwSetClipboardString (GLFWwindow *window, const char *string)
 Sets the clipboard to the specified string. More...
 
const char * glfwGetClipboardString (GLFWwindow *window)
 Retrieves the contents of the clipboard as a string. More...
 
+

Detailed Description

+

Function Documentation

+ +

◆ glfwGetClipboardString()

+ +
+
+ + + + + + + + +
const char* glfwGetClipboardString (GLFWwindowwindow)
+
+

This function returns the contents of the system clipboard, if it contains or is convertible to a UTF-8 encoded string.

+
Parameters
+ + +
[in]windowThe window that will request the clipboard contents.
+
+
+
Returns
The contents of the clipboard as a UTF-8 encoded string, or NULL if an error occurred.
+
Note
This function may only be called from the main thread.
+
+The returned string is allocated and freed by GLFW. You should not free it yourself.
+
+The returned string is valid only until the next call to glfwGetClipboardString or glfwSetClipboardString.
+
See also
glfwSetClipboardString
+ +
+
+ +

◆ glfwSetClipboardString()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void glfwSetClipboardString (GLFWwindowwindow,
const char * string 
)
+
+

This function sets the system clipboard to the specified, UTF-8 encoded string. The string is copied before returning, so you don't have to retain it afterwards.

+
Parameters
+ + + +
[in]windowThe window that will own the clipboard contents.
[in]stringA UTF-8 encoded string.
+
+
+
Note
This function may only be called from the main thread.
+
See also
glfwGetClipboardString
+ +
+
+
+ + + diff --git a/docs/3.0/group__context.html b/docs/3.0/group__context.html new file mode 100644 index 0000000..607bcb2 --- /dev/null +++ b/docs/3.0/group__context.html @@ -0,0 +1,286 @@ + + + + + + +GLFW: Context handling + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Context handling
+
+
+ + + + + +

+Typedefs

typedef void(* GLFWglproc) (void)
 Client API function pointer type. More...
 
+ + + + + + + + + + + + + + + + + + + +

+Functions

void glfwMakeContextCurrent (GLFWwindow *window)
 Makes the context of the specified window current for the calling thread. More...
 
GLFWwindowglfwGetCurrentContext (void)
 Returns the window whose context is current on the calling thread. More...
 
void glfwSwapBuffers (GLFWwindow *window)
 Swaps the front and back buffers of the specified window. More...
 
void glfwSwapInterval (int interval)
 Sets the swap interval for the current context. More...
 
int glfwExtensionSupported (const char *extension)
 Returns whether the specified extension is available. More...
 
GLFWglproc glfwGetProcAddress (const char *procname)
 Returns the address of the specified function for the current context. More...
 
+

Detailed Description

+

Typedef Documentation

+ +

◆ GLFWglproc

+ +
+
+ + + + +
typedef void(* GLFWglproc) (void)
+
+

Generic function pointer used for returning client API function pointers without forcing a cast from a regular pointer.

+ +
+
+

Function Documentation

+ +

◆ glfwExtensionSupported()

+ +
+
+ + + + + + + + +
int glfwExtensionSupported (const char * extension)
+
+

This function returns whether the specified OpenGL or context creation API extension is supported by the current context. For example, on Windows both the OpenGL and WGL extension strings are checked.

+
Parameters
+ + +
[in]extensionThe ASCII encoded name of the extension.
+
+
+
Returns
GL_TRUE if the extension is available, or GL_FALSE otherwise.
+
Remarks
This function may be called from secondary threads.
+
Note
As this functions searches one or more extension strings on each call, it is recommended that you cache its results if it's going to be used frequently. The extension strings will not change during the lifetime of a context, so there is no danger in doing this.
+ +
+
+ +

◆ glfwGetCurrentContext()

+ +
+
+ + + + + + + + +
GLFWwindow* glfwGetCurrentContext (void )
+
+

This function returns the window whose context is current on the calling thread.

+
Returns
The window whose context is current, or NULL if no window's context is current.
+
Remarks
This function may be called from secondary threads.
+
See also
glfwMakeContextCurrent
+ +
+
+ +

◆ glfwGetProcAddress()

+ +
+
+ + + + + + + + +
GLFWglproc glfwGetProcAddress (const char * procname)
+
+

This function returns the address of the specified client API or extension function, if it is supported by the current context.

+
Parameters
+ + +
[in]procnameThe ASCII encoded name of the function.
+
+
+
Returns
The address of the function, or NULL if the function is unavailable.
+
Remarks
This function may be called from secondary threads.
+
Note
The addresses of these functions are not guaranteed to be the same for all contexts, especially if they use different client APIs or even different context creation hints.
+ +
+
+ +

◆ glfwMakeContextCurrent()

+ +
+
+ + + + + + + + +
void glfwMakeContextCurrent (GLFWwindowwindow)
+
+

This function makes the context of the specified window current on the calling thread. A context can only be made current on a single thread at a time and each thread can have only a single current context at a time.

+
Parameters
+ + +
[in]windowThe window whose context to make current, or NULL to detach the current context.
+
+
+
Remarks
This function may be called from secondary threads.
+
See also
glfwGetCurrentContext
+ +
+
+ +

◆ glfwSwapBuffers()

+ +
+
+ + + + + + + + +
void glfwSwapBuffers (GLFWwindowwindow)
+
+

This function swaps the front and back buffers of the specified window. If the swap interval is greater than zero, the GPU driver waits the specified number of screen updates before swapping the buffers.

+
Parameters
+ + +
[in]windowThe window whose buffers to swap.
+
+
+
Remarks
This function may be called from secondary threads.
+
New in GLFW 3
This function no longer calls glfwPollEvents. You need to call it or glfwWaitEvents yourself.
+
See also
glfwSwapInterval
+ +
+
+ +

◆ glfwSwapInterval()

+ +
+
+ + + + + + + + +
void glfwSwapInterval (int interval)
+
+

This function sets the swap interval for the current context, i.e. the number of screen updates to wait before swapping the buffers of a window and returning from glfwSwapBuffers. This is sometimes called 'vertical synchronization', 'vertical retrace synchronization' or 'vsync'.

+

Contexts that support either of the WGL_EXT_swap_control_tear and GLX_EXT_swap_control_tear extensions also accept negative swap intervals, which allow the driver to swap even if a frame arrives a little bit late. You can check for the presence of these extensions using glfwExtensionSupported. For more information about swap tearing, see the extension specifications.

+
Parameters
+ + +
[in]intervalThe minimum number of screen updates to wait for until the buffers are swapped by glfwSwapBuffers.
+
+
+
Remarks
This function may be called from secondary threads.
+
Note
This function is not called during window creation, leaving the swap interval set to whatever is the default on that platform. This is done because some swap interval extensions used by GLFW do not allow the swap interval to be reset to zero once it has been set to a non-zero value.
+
+Some GPU drivers do not honor the requested swap interval, either because of user settings that override the request or due to bugs in the driver.
+
See also
glfwSwapBuffers
+ +
+
+
+ + + diff --git a/docs/3.0/group__error.html b/docs/3.0/group__error.html new file mode 100644 index 0000000..e2ddacd --- /dev/null +++ b/docs/3.0/group__error.html @@ -0,0 +1,151 @@ + + + + + + +GLFW: Error handling + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Error handling
+
+
+ + + + +

+Modules

 Error codes
 
+ + + + +

+Typedefs

typedef void(* GLFWerrorfun) (int, const char *)
 The function signature for error callbacks. More...
 
+ + + + +

+Functions

GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun cbfun)
 Sets the error callback. More...
 
+

Detailed Description

+

Typedef Documentation

+ +

◆ GLFWerrorfun

+ +
+
+ + + + +
typedef void(* GLFWerrorfun) (int, const char *)
+
+

This is the function signature for error callback functions.

+
Parameters
+ + + +
[in]errorAn error code.
[in]descriptionA UTF-8 encoded string describing the error.
+
+
+
See also
glfwSetErrorCallback
+ +
+
+

Function Documentation

+ +

◆ glfwSetErrorCallback()

+ +
+
+ + + + + + + + +
GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun cbfun)
+
+

This function sets the error callback, which is called with an error code and a human-readable description each time a GLFW error occurs.

+
Parameters
+ + +
[in]cbfunThe new callback, or NULL to remove the currently set callback.
+
+
+
Returns
The previously set callback, or NULL if no callback was set or an error occurred.
+
Remarks
This function may be called before glfwInit.
+
Note
The error callback is called by the thread where the error was generated. If you are using GLFW from multiple threads, your error callback needs to be written accordingly.
+
+Because the description string provided to the callback may have been generated specifically for that error, it is not guaranteed to be valid after the callback has returned. If you wish to use it after that, you need to make your own copy of it before returning.
+ +
+
+
+ + + diff --git a/docs/3.0/group__errors.html b/docs/3.0/group__errors.html new file mode 100644 index 0000000..1e16647 --- /dev/null +++ b/docs/3.0/group__errors.html @@ -0,0 +1,234 @@ + + + + + + +GLFW: Error codes + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Error codes
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

#define GLFW_NOT_INITIALIZED   0x00010001
 GLFW has not been initialized. More...
 
#define GLFW_NO_CURRENT_CONTEXT   0x00010002
 No context is current for this thread. More...
 
#define GLFW_INVALID_ENUM   0x00010003
 One of the enum parameters for the function was given an invalid enum. More...
 
#define GLFW_INVALID_VALUE   0x00010004
 One of the parameters for the function was given an invalid value. More...
 
#define GLFW_OUT_OF_MEMORY   0x00010005
 A memory allocation failed. More...
 
#define GLFW_API_UNAVAILABLE   0x00010006
 GLFW could not find support for the requested client API on the system. More...
 
#define GLFW_VERSION_UNAVAILABLE   0x00010007
 The requested client API version is not available. More...
 
#define GLFW_PLATFORM_ERROR   0x00010008
 A platform-specific error occurred that does not match any of the more specific categories. More...
 
#define GLFW_FORMAT_UNAVAILABLE   0x00010009
 The clipboard did not contain data in the requested format. More...
 
+

Detailed Description

+

Macro Definition Documentation

+ +

◆ GLFW_API_UNAVAILABLE

+ +
+
+ + + + +
#define GLFW_API_UNAVAILABLE   0x00010006
+
+ +
+
+ +

◆ GLFW_FORMAT_UNAVAILABLE

+ +
+
+ + + + +
#define GLFW_FORMAT_UNAVAILABLE   0x00010009
+
+ +
+
+ +

◆ GLFW_INVALID_ENUM

+ +
+
+ + + + +
#define GLFW_INVALID_ENUM   0x00010003
+
+ +
+
+ +

◆ GLFW_INVALID_VALUE

+ +
+
+ + + + +
#define GLFW_INVALID_VALUE   0x00010004
+
+ +
+
+ +

◆ GLFW_NO_CURRENT_CONTEXT

+ +
+
+ + + + +
#define GLFW_NO_CURRENT_CONTEXT   0x00010002
+
+ +
+
+ +

◆ GLFW_NOT_INITIALIZED

+ +
+
+ + + + +
#define GLFW_NOT_INITIALIZED   0x00010001
+
+ +
+
+ +

◆ GLFW_OUT_OF_MEMORY

+ +
+
+ + + + +
#define GLFW_OUT_OF_MEMORY   0x00010005
+
+ +
+
+ +

◆ GLFW_PLATFORM_ERROR

+ +
+
+ + + + +
#define GLFW_PLATFORM_ERROR   0x00010008
+
+ +
+
+ +

◆ GLFW_VERSION_UNAVAILABLE

+ +
+
+ + + + +
#define GLFW_VERSION_UNAVAILABLE   0x00010007
+
+ +
+
+
+ + + diff --git a/docs/3.0/group__init.html b/docs/3.0/group__init.html new file mode 100644 index 0000000..ff7bfd3 --- /dev/null +++ b/docs/3.0/group__init.html @@ -0,0 +1,280 @@ + + + + + + +GLFW: Initialization and version information + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Initialization and version information
+
+
+ + + + + + + + + + + + + + +

+Functions

int glfwInit (void)
 Initializes the GLFW library. More...
 
void glfwTerminate (void)
 Terminates the GLFW library. More...
 
void glfwGetVersion (int *major, int *minor, int *rev)
 Retrieves the version of the GLFW library. More...
 
const char * glfwGetVersionString (void)
 Returns a string describing the compile-time configuration. More...
 
+ + + + + + + + + + +

+GLFW version macros

#define GLFW_VERSION_MAJOR   3
 The major version number of the GLFW library. More...
 
#define GLFW_VERSION_MINOR   0
 The minor version number of the GLFW library. More...
 
#define GLFW_VERSION_REVISION   4
 The revision number of the GLFW library. More...
 
+

Detailed Description

+

Macro Definition Documentation

+ +

◆ GLFW_VERSION_MAJOR

+ +
+
+ + + + +
#define GLFW_VERSION_MAJOR   3
+
+

This is incremented when the API is changed in non-compatible ways.

+ +
+
+ +

◆ GLFW_VERSION_MINOR

+ +
+
+ + + + +
#define GLFW_VERSION_MINOR   0
+
+

This is incremented when features are added to the API but it remains backward-compatible.

+ +
+
+ +

◆ GLFW_VERSION_REVISION

+ +
+
+ + + + +
#define GLFW_VERSION_REVISION   4
+
+

This is incremented when a bug fix release is made that does not contain any API changes.

+ +
+
+

Function Documentation

+ +

◆ glfwGetVersion()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void glfwGetVersion (int * major,
int * minor,
int * rev 
)
+
+

This function retrieves the major, minor and revision numbers of the GLFW library. It is intended for when you are using GLFW as a shared library and want to ensure that you are using the minimum required version.

+
Parameters
+ + + + +
[out]majorWhere to store the major version number, or NULL.
[out]minorWhere to store the minor version number, or NULL.
[out]revWhere to store the revision number, or NULL.
+
+
+
Remarks
This function may be called before glfwInit.
+
+This function may be called from any thread.
+
See also
glfwGetVersionString
+ +
+
+ +

◆ glfwGetVersionString()

+ +
+
+ + + + + + + + +
const char* glfwGetVersionString (void )
+
+

This function returns a static string generated at compile-time according to which configuration macros were defined. This is intended for use when submitting bug reports, to allow developers to see which code paths are enabled in a binary.

+

The format of the string is as follows:

    +
  • The version of GLFW
  • +
  • The name of the window system API
  • +
  • The name of the context creation API
  • +
  • Any additional options or APIs
  • +
+

For example, when compiling GLFW 3.0 with MinGW using the Win32 and WGL back ends, the version string may look something like this:

3.0.0 Win32 WGL MinGW
+
Returns
The GLFW version string.
+
Remarks
This function may be called before glfwInit.
+
+This function may be called from any thread.
+
See also
glfwGetVersion
+ +
+
+ +

◆ glfwInit()

+ +
+
+ + + + + + + + +
int glfwInit (void )
+
+

This function initializes the GLFW library. Before most GLFW functions can be used, GLFW must be initialized, and before a program terminates GLFW should be terminated in order to free any resources allocated during or after initialization.

+

If this function fails, it calls glfwTerminate before returning. If it succeeds, you should call glfwTerminate before the program exits.

+

Additional calls to this function after successful initialization but before termination will succeed but will do nothing.

+
Returns
GL_TRUE if successful, or GL_FALSE if an error occurred.
+
New in GLFW 3
This function no longer registers glfwTerminate with atexit.
+
Note
This function may only be called from the main thread.
+
+OS X: This function will change the current directory of the application to the Contents/Resources subdirectory of the application's bundle, if present.
+
See also
glfwTerminate
+ +
+
+ +

◆ glfwTerminate()

+ +
+
+ + + + + + + + +
void glfwTerminate (void )
+
+

This function destroys all remaining windows, frees any allocated resources and sets the library to an uninitialized state. Once this is called, you must again call glfwInit successfully before you will be able to use most GLFW functions.

+

If GLFW has been successfully initialized, this function should be called before the program exits. If initialization fails, there is no need to call this function, as it is called by glfwInit before it returns failure.

+
Remarks
This function may be called before glfwInit.
+
Note
This function may only be called from the main thread.
+
Warning
No window's context may be current on another thread when this function is called.
+
See also
glfwInit
+ +
+
+
+ + + diff --git a/docs/3.0/group__input.html b/docs/3.0/group__input.html new file mode 100644 index 0000000..cf7d96e --- /dev/null +++ b/docs/3.0/group__input.html @@ -0,0 +1,983 @@ + + + + + + +GLFW: Input handling + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Input handling
+
+
+ + + + + + + + + + +

+Modules

 Joysticks
 
 Keyboard keys
 
 Modifier key flags
 
 Mouse buttons
 
+ + + + + + + + + + + + + + + + + + + +

+Typedefs

typedef void(* GLFWmousebuttonfun) (GLFWwindow *, int, int, int)
 The function signature for mouse button callbacks. More...
 
typedef void(* GLFWcursorposfun) (GLFWwindow *, double, double)
 The function signature for cursor position callbacks. More...
 
typedef void(* GLFWcursorenterfun) (GLFWwindow *, int)
 The function signature for cursor enter/leave callbacks. More...
 
typedef void(* GLFWscrollfun) (GLFWwindow *, double, double)
 The function signature for scroll callbacks. More...
 
typedef void(* GLFWkeyfun) (GLFWwindow *, int, int, int, int)
 The function signature for keyboard key callbacks. More...
 
typedef void(* GLFWcharfun) (GLFWwindow *, unsigned int)
 The function signature for Unicode character callbacks. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

int glfwGetInputMode (GLFWwindow *window, int mode)
 Returns the value of an input option for the specified window. More...
 
void glfwSetInputMode (GLFWwindow *window, int mode, int value)
 Sets an input option for the specified window. More...
 
int glfwGetKey (GLFWwindow *window, int key)
 Returns the last reported state of a keyboard key for the specified window. More...
 
int glfwGetMouseButton (GLFWwindow *window, int button)
 Returns the last reported state of a mouse button for the specified window. More...
 
void glfwGetCursorPos (GLFWwindow *window, double *xpos, double *ypos)
 Retrieves the last reported cursor position, relative to the client area of the window. More...
 
void glfwSetCursorPos (GLFWwindow *window, double xpos, double ypos)
 Sets the position of the cursor, relative to the client area of the window. More...
 
GLFWkeyfun glfwSetKeyCallback (GLFWwindow *window, GLFWkeyfun cbfun)
 Sets the key callback. More...
 
GLFWcharfun glfwSetCharCallback (GLFWwindow *window, GLFWcharfun cbfun)
 Sets the Unicode character callback. More...
 
GLFWmousebuttonfun glfwSetMouseButtonCallback (GLFWwindow *window, GLFWmousebuttonfun cbfun)
 Sets the mouse button callback. More...
 
GLFWcursorposfun glfwSetCursorPosCallback (GLFWwindow *window, GLFWcursorposfun cbfun)
 Sets the cursor position callback. More...
 
GLFWcursorenterfun glfwSetCursorEnterCallback (GLFWwindow *window, GLFWcursorenterfun cbfun)
 Sets the cursor enter/exit callback. More...
 
GLFWscrollfun glfwSetScrollCallback (GLFWwindow *window, GLFWscrollfun cbfun)
 Sets the scroll callback. More...
 
int glfwJoystickPresent (int joy)
 Returns whether the specified joystick is present. More...
 
const float * glfwGetJoystickAxes (int joy, int *count)
 Returns the values of all axes of the specified joystick. More...
 
const unsigned char * glfwGetJoystickButtons (int joy, int *count)
 Returns the state of all buttons of the specified joystick. More...
 
const char * glfwGetJoystickName (int joy)
 Returns the name of the specified joystick. More...
 
+ + + + + + + + + + +

+Key and button actions

#define GLFW_RELEASE   0
 The key or button was released. More...
 
#define GLFW_PRESS   1
 The key or button was pressed. More...
 
#define GLFW_REPEAT   2
 The key was held down until it repeated. More...
 
+

Detailed Description

+

Macro Definition Documentation

+ +

◆ GLFW_PRESS

+ +
+
+ + + + +
#define GLFW_PRESS   1
+
+ +
+
+ +

◆ GLFW_RELEASE

+ +
+
+ + + + +
#define GLFW_RELEASE   0
+
+ +
+
+ +

◆ GLFW_REPEAT

+ +
+
+ + + + +
#define GLFW_REPEAT   2
+
+ +
+
+

Typedef Documentation

+ +

◆ GLFWcharfun

+ +
+
+ + + + +
typedef void(* GLFWcharfun) (GLFWwindow *, unsigned int)
+
+

This is the function signature for Unicode character callback functions.

+
Parameters
+ + + +
[in]windowThe window that received the event.
[in]codepointThe Unicode code point of the character.
+
+
+
See also
glfwSetCharCallback
+ +
+
+ +

◆ GLFWcursorenterfun

+ +
+
+ + + + +
typedef void(* GLFWcursorenterfun) (GLFWwindow *, int)
+
+

This is the function signature for cursor enter/leave callback functions.

+
Parameters
+ + + +
[in]windowThe window that received the event.
[in]enteredGL_TRUE if the cursor entered the window's client area, or GL_FALSE if it left it.
+
+
+
See also
glfwSetCursorEnterCallback
+ +
+
+ +

◆ GLFWcursorposfun

+ +
+
+ + + + +
typedef void(* GLFWcursorposfun) (GLFWwindow *, double, double)
+
+

This is the function signature for cursor position callback functions.

+
Parameters
+ + + + +
[in]windowThe window that received the event.
[in]xposThe new x-coordinate, in screen coordinates, of the cursor.
[in]yposThe new y-coordinate, in screen coordinates, of the cursor.
+
+
+
See also
glfwSetCursorPosCallback
+ +
+
+ +

◆ GLFWkeyfun

+ +
+
+ + + + +
typedef void(* GLFWkeyfun) (GLFWwindow *, int, int, int, int)
+
+

This is the function signature for keyboard key callback functions.

+
Parameters
+ + + + + + +
[in]windowThe window that received the event.
[in]keyThe keyboard key that was pressed or released.
[in]scancodeThe system-specific scancode of the key.
[in]actionGLFW_PRESS, GLFW_RELEASE or GLFW_REPEAT.
[in]modsBit field describing which modifier keys were held down.
+
+
+
See also
glfwSetKeyCallback
+ +
+
+ +

◆ GLFWmousebuttonfun

+ +
+
+ + + + +
typedef void(* GLFWmousebuttonfun) (GLFWwindow *, int, int, int)
+
+

This is the function signature for mouse button callback functions.

+
Parameters
+ + + + + +
[in]windowThe window that received the event.
[in]buttonThe mouse button that was pressed or released.
[in]actionOne of GLFW_PRESS or GLFW_RELEASE.
[in]modsBit field describing which modifier keys were held down.
+
+
+
See also
glfwSetMouseButtonCallback
+ +
+
+ +

◆ GLFWscrollfun

+ +
+
+ + + + +
typedef void(* GLFWscrollfun) (GLFWwindow *, double, double)
+
+

This is the function signature for scroll callback functions.

+
Parameters
+ + + + +
[in]windowThe window that received the event.
[in]xoffsetThe scroll offset along the x-axis.
[in]yoffsetThe scroll offset along the y-axis.
+
+
+
See also
glfwSetScrollCallback
+ +
+
+

Function Documentation

+ +

◆ glfwGetCursorPos()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void glfwGetCursorPos (GLFWwindowwindow,
double * xpos,
double * ypos 
)
+
+

This function returns the last reported position of the cursor, in screen coordinates, relative to the upper-left corner of the client area of the specified window.

+

If the cursor is disabled (with GLFW_CURSOR_DISABLED) then the cursor position is unbounded and limited only by the minimum and maximum values of a double.

+

The coordinate can be converted to their integer equivalents with the floor function. Casting directly to an integer type works for positive coordinates, but fails for negative ones.

+
Parameters
+ + + + +
[in]windowThe desired window.
[out]xposWhere to store the cursor x-coordinate, relative to the left edge of the client area, or NULL.
[out]yposWhere to store the cursor y-coordinate, relative to the to top edge of the client area, or NULL.
+
+
+
See also
glfwSetCursorPos
+ +
+
+ +

◆ glfwGetInputMode()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int glfwGetInputMode (GLFWwindowwindow,
int mode 
)
+
+
Parameters
+ + + +
[in]windowThe window to query.
[in]modeOne of GLFW_CURSOR, GLFW_STICKY_KEYS or GLFW_STICKY_MOUSE_BUTTONS.
+
+
+
See also
glfwSetInputMode
+ +
+
+ +

◆ glfwGetJoystickAxes()

+ +
+
+ + + + + + + + + + + + + + + + + + +
const float* glfwGetJoystickAxes (int joy,
int * count 
)
+
+

This function returns the values of all axes of the specified joystick.

+
Parameters
+ + + +
[in]joyThe joystick to query.
[out]countWhere to store the size of the returned array. This is set to zero if an error occurred.
+
+
+
Returns
An array of axis values, or NULL if the joystick is not present.
+
Note
The returned array is allocated and freed by GLFW. You should not free it yourself.
+
+The returned array is valid only until the next call to glfwGetJoystickAxes for that joystick.
+ +
+
+ +

◆ glfwGetJoystickButtons()

+ +
+
+ + + + + + + + + + + + + + + + + + +
const unsigned char* glfwGetJoystickButtons (int joy,
int * count 
)
+
+

This function returns the state of all buttons of the specified joystick.

+
Parameters
+ + + +
[in]joyThe joystick to query.
[out]countWhere to store the size of the returned array. This is set to zero if an error occurred.
+
+
+
Returns
An array of button states, or NULL if the joystick is not present.
+
Note
The returned array is allocated and freed by GLFW. You should not free it yourself.
+
+The returned array is valid only until the next call to glfwGetJoystickButtons for that joystick.
+ +
+
+ +

◆ glfwGetJoystickName()

+ +
+
+ + + + + + + + +
const char* glfwGetJoystickName (int joy)
+
+

This function returns the name, encoded as UTF-8, of the specified joystick.

+
Parameters
+ + +
[in]joyThe joystick to query.
+
+
+
Returns
The UTF-8 encoded name of the joystick, or NULL if the joystick is not present.
+
Note
The returned string is allocated and freed by GLFW. You should not free it yourself.
+
+The returned string is valid only until the next call to glfwGetJoystickName for that joystick.
+ +
+
+ +

◆ glfwGetKey()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int glfwGetKey (GLFWwindowwindow,
int key 
)
+
+

This function returns the last state reported for the specified key to the specified window. The returned state is one of GLFW_PRESS or GLFW_RELEASE. The higher-level state GLFW_REPEAT is only reported to the key callback.

+

If the GLFW_STICKY_KEYS input mode is enabled, this function returns GLFW_PRESS the first time you call this function after a key has been pressed, even if the key has already been released.

+

The key functions deal with physical keys, with key tokens named after their use on the standard US keyboard layout. If you want to input text, use the Unicode character callback instead.

+
Parameters
+ + + +
[in]windowThe desired window.
[in]keyThe desired keyboard key.
+
+
+
Returns
One of GLFW_PRESS or GLFW_RELEASE.
+
Note
GLFW_KEY_UNKNOWN is not a valid key for this function.
+ +
+
+ +

◆ glfwGetMouseButton()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int glfwGetMouseButton (GLFWwindowwindow,
int button 
)
+
+

This function returns the last state reported for the specified mouse button to the specified window.

+

If the GLFW_STICKY_MOUSE_BUTTONS input mode is enabled, this function returns GLFW_PRESS the first time you call this function after a mouse button has been pressed, even if the mouse button has already been released.

+
Parameters
+ + + +
[in]windowThe desired window.
[in]buttonThe desired mouse button.
+
+
+
Returns
One of GLFW_PRESS or GLFW_RELEASE.
+ +
+
+ +

◆ glfwJoystickPresent()

+ +
+
+ + + + + + + + +
int glfwJoystickPresent (int joy)
+
+

This function returns whether the specified joystick is present.

+
Parameters
+ + +
[in]joyThe joystick to query.
+
+
+
Returns
GL_TRUE if the joystick is present, or GL_FALSE otherwise.
+ +
+
+ +

◆ glfwSetCharCallback()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLFWcharfun glfwSetCharCallback (GLFWwindowwindow,
GLFWcharfun cbfun 
)
+
+

This function sets the character callback of the specific window, which is called when a Unicode character is input.

+

The character callback is intended for text input. If you want to know whether a specific key was pressed or released, use the key callback instead.

+
Parameters
+ + + +
[in]windowThe window whose callback to set.
[in]cbfunThe new callback, or NULL to remove the currently set callback.
+
+
+
Returns
The previously set callback, or NULL if no callback was set or an error occurred.
+ +
+
+ +

◆ glfwSetCursorEnterCallback()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLFWcursorenterfun glfwSetCursorEnterCallback (GLFWwindowwindow,
GLFWcursorenterfun cbfun 
)
+
+

This function sets the cursor boundary crossing callback of the specified window, which is called when the cursor enters or leaves the client area of the window.

+
Parameters
+ + + +
[in]windowThe window whose callback to set.
[in]cbfunThe new callback, or NULL to remove the currently set callback.
+
+
+
Returns
The previously set callback, or NULL if no callback was set or an error occurred.
+ +
+
+ +

◆ glfwSetCursorPos()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void glfwSetCursorPos (GLFWwindowwindow,
double xpos,
double ypos 
)
+
+

This function sets the position, in screen coordinates, of the cursor relative to the upper-left corner of the client area of the specified window. The window must be focused. If the window does not have focus when this function is called, it fails silently.

+

If the cursor is disabled (with GLFW_CURSOR_DISABLED) then the cursor position is unbounded and limited only by the minimum and maximum values of a double.

+
Parameters
+ + + + +
[in]windowThe desired window.
[in]xposThe desired x-coordinate, relative to the left edge of the client area.
[in]yposThe desired y-coordinate, relative to the top edge of the client area.
+
+
+
See also
glfwGetCursorPos
+ +
+
+ +

◆ glfwSetCursorPosCallback()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLFWcursorposfun glfwSetCursorPosCallback (GLFWwindowwindow,
GLFWcursorposfun cbfun 
)
+
+

This function sets the cursor position callback of the specified window, which is called when the cursor is moved. The callback is provided with the position, in screen coordinates, relative to the upper-left corner of the client area of the window.

+
Parameters
+ + + +
[in]windowThe window whose callback to set.
[in]cbfunThe new callback, or NULL to remove the currently set callback.
+
+
+
Returns
The previously set callback, or NULL if no callback was set or an error occurred.
+ +
+
+ +

◆ glfwSetInputMode()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void glfwSetInputMode (GLFWwindowwindow,
int mode,
int value 
)
+
+
Parameters
+ + + + +
[in]windowThe window whose input mode to set.
[in]modeOne of GLFW_CURSOR, GLFW_STICKY_KEYS or GLFW_STICKY_MOUSE_BUTTONS.
[in]valueThe new value of the specified input mode.
+
+
+

If mode is GLFW_CURSOR, the value must be one of the supported input modes:

    +
  • GLFW_CURSOR_NORMAL makes the cursor visible and behaving normally.
  • +
  • GLFW_CURSOR_HIDDEN makes the cursor invisible when it is over the client area of the window but does not restrict the cursor from leaving. This is useful if you wish to render your own cursor or have no visible cursor at all.
  • +
  • GLFW_CURSOR_DISABLED hides and grabs the cursor, providing virtual and unlimited cursor movement. This is useful for implementing for example 3D camera controls.
  • +
+

If mode is GLFW_STICKY_KEYS, the value must be either GL_TRUE to enable sticky keys, or GL_FALSE to disable it. If sticky keys are enabled, a key press will ensure that glfwGetKey returns GLFW_PRESS the next time it is called even if the key had been released before the call. This is useful when you are only interested in whether keys have been pressed but not when or in which order.

+

If mode is GLFW_STICKY_MOUSE_BUTTONS, the value must be either GL_TRUE to enable sticky mouse buttons, or GL_FALSE to disable it. If sticky mouse buttons are enabled, a mouse button press will ensure that glfwGetMouseButton returns GLFW_PRESS the next time it is called even if the mouse button had been released before the call. This is useful when you are only interested in whether mouse buttons have been pressed but not when or in which order.

+
See also
glfwGetInputMode
+ +
+
+ +

◆ glfwSetKeyCallback()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLFWkeyfun glfwSetKeyCallback (GLFWwindowwindow,
GLFWkeyfun cbfun 
)
+
+

This function sets the key callback of the specific window, which is called when a key is pressed, repeated or released.

+

The key functions deal with physical keys, with layout independent key tokens named after their values in the standard US keyboard layout. If you want to input text, use the character callback instead.

+

When a window loses focus, it will generate synthetic key release events for all pressed keys. You can tell these events from user-generated events by the fact that the synthetic ones are generated after the window has lost focus, i.e. GLFW_FOCUSED will be false and the focus callback will have already been called.

+

The scancode of a key is specific to that platform or sometimes even to that machine. Scancodes are intended to allow users to bind keys that don't have a GLFW key token. Such keys have key set to GLFW_KEY_UNKNOWN, their state is not saved and so it cannot be retrieved with glfwGetKey.

+

Sometimes GLFW needs to generate synthetic key events, in which case the scancode may be zero.

+
Parameters
+ + + +
[in]windowThe window whose callback to set.
[in]cbfunThe new key callback, or NULL to remove the currently set callback.
+
+
+
Returns
The previously set callback, or NULL if no callback was set or an error occurred.
+ +
+
+ +

◆ glfwSetMouseButtonCallback()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLFWmousebuttonfun glfwSetMouseButtonCallback (GLFWwindowwindow,
GLFWmousebuttonfun cbfun 
)
+
+

This function sets the mouse button callback of the specified window, which is called when a mouse button is pressed or released.

+

When a window loses focus, it will generate synthetic mouse button release events for all pressed mouse buttons. You can tell these events from user-generated events by the fact that the synthetic ones are generated after the window has lost focus, i.e. GLFW_FOCUSED will be false and the focus callback will have already been called.

+
Parameters
+ + + +
[in]windowThe window whose callback to set.
[in]cbfunThe new callback, or NULL to remove the currently set callback.
+
+
+
Returns
The previously set callback, or NULL if no callback was set or an error occurred.
+ +
+
+ +

◆ glfwSetScrollCallback()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLFWscrollfun glfwSetScrollCallback (GLFWwindowwindow,
GLFWscrollfun cbfun 
)
+
+

This function sets the scroll callback of the specified window, which is called when a scrolling device is used, such as a mouse wheel or scrolling area of a touchpad.

+

The scroll callback receives all scrolling input, like that from a mouse wheel or a touchpad scrolling area.

+
Parameters
+ + + +
[in]windowThe window whose callback to set.
[in]cbfunThe new scroll callback, or NULL to remove the currently set callback.
+
+
+
Returns
The previously set callback, or NULL if no callback was set or an error occurred.
+ +
+
+
+ + + diff --git a/docs/3.0/group__joysticks.html b/docs/3.0/group__joysticks.html new file mode 100644 index 0000000..c9af78d --- /dev/null +++ b/docs/3.0/group__joysticks.html @@ -0,0 +1,353 @@ + + + + + + +GLFW: Joysticks + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

#define GLFW_JOYSTICK_1   0
 
#define GLFW_JOYSTICK_2   1
 
#define GLFW_JOYSTICK_3   2
 
#define GLFW_JOYSTICK_4   3
 
#define GLFW_JOYSTICK_5   4
 
#define GLFW_JOYSTICK_6   5
 
#define GLFW_JOYSTICK_7   6
 
#define GLFW_JOYSTICK_8   7
 
#define GLFW_JOYSTICK_9   8
 
#define GLFW_JOYSTICK_10   9
 
#define GLFW_JOYSTICK_11   10
 
#define GLFW_JOYSTICK_12   11
 
#define GLFW_JOYSTICK_13   12
 
#define GLFW_JOYSTICK_14   13
 
#define GLFW_JOYSTICK_15   14
 
#define GLFW_JOYSTICK_16   15
 
#define GLFW_JOYSTICK_LAST   GLFW_JOYSTICK_16
 
+

Detailed Description

+

Macro Definition Documentation

+ +

◆ GLFW_JOYSTICK_1

+ +
+
+ + + + +
#define GLFW_JOYSTICK_1   0
+
+ +
+
+ +

◆ GLFW_JOYSTICK_10

+ +
+
+ + + + +
#define GLFW_JOYSTICK_10   9
+
+ +
+
+ +

◆ GLFW_JOYSTICK_11

+ +
+
+ + + + +
#define GLFW_JOYSTICK_11   10
+
+ +
+
+ +

◆ GLFW_JOYSTICK_12

+ +
+
+ + + + +
#define GLFW_JOYSTICK_12   11
+
+ +
+
+ +

◆ GLFW_JOYSTICK_13

+ +
+
+ + + + +
#define GLFW_JOYSTICK_13   12
+
+ +
+
+ +

◆ GLFW_JOYSTICK_14

+ +
+
+ + + + +
#define GLFW_JOYSTICK_14   13
+
+ +
+
+ +

◆ GLFW_JOYSTICK_15

+ +
+
+ + + + +
#define GLFW_JOYSTICK_15   14
+
+ +
+
+ +

◆ GLFW_JOYSTICK_16

+ +
+
+ + + + +
#define GLFW_JOYSTICK_16   15
+
+ +
+
+ +

◆ GLFW_JOYSTICK_2

+ +
+
+ + + + +
#define GLFW_JOYSTICK_2   1
+
+ +
+
+ +

◆ GLFW_JOYSTICK_3

+ +
+
+ + + + +
#define GLFW_JOYSTICK_3   2
+
+ +
+
+ +

◆ GLFW_JOYSTICK_4

+ +
+
+ + + + +
#define GLFW_JOYSTICK_4   3
+
+ +
+
+ +

◆ GLFW_JOYSTICK_5

+ +
+
+ + + + +
#define GLFW_JOYSTICK_5   4
+
+ +
+
+ +

◆ GLFW_JOYSTICK_6

+ +
+
+ + + + +
#define GLFW_JOYSTICK_6   5
+
+ +
+
+ +

◆ GLFW_JOYSTICK_7

+ +
+
+ + + + +
#define GLFW_JOYSTICK_7   6
+
+ +
+
+ +

◆ GLFW_JOYSTICK_8

+ +
+
+ + + + +
#define GLFW_JOYSTICK_8   7
+
+ +
+
+ +

◆ GLFW_JOYSTICK_9

+ +
+
+ + + + +
#define GLFW_JOYSTICK_9   8
+
+ +
+
+ +

◆ GLFW_JOYSTICK_LAST

+ +
+
+ + + + +
#define GLFW_JOYSTICK_LAST   GLFW_JOYSTICK_16
+
+ +
+
+
+ + + diff --git a/docs/3.0/group__keys.html b/docs/3.0/group__keys.html new file mode 100644 index 0000000..497496c --- /dev/null +++ b/docs/3.0/group__keys.html @@ -0,0 +1,2041 @@ + + + + + + +GLFW: Keyboard keys + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Keyboard keys
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

#define GLFW_KEY_UNKNOWN   -1
 
#define GLFW_KEY_SPACE   32
 
#define GLFW_KEY_APOSTROPHE   39 /* ' */
 
#define GLFW_KEY_COMMA   44 /* , */
 
#define GLFW_KEY_MINUS   45 /* - */
 
#define GLFW_KEY_PERIOD   46 /* . */
 
#define GLFW_KEY_SLASH   47 /* / */
 
#define GLFW_KEY_0   48
 
#define GLFW_KEY_1   49
 
#define GLFW_KEY_2   50
 
#define GLFW_KEY_3   51
 
#define GLFW_KEY_4   52
 
#define GLFW_KEY_5   53
 
#define GLFW_KEY_6   54
 
#define GLFW_KEY_7   55
 
#define GLFW_KEY_8   56
 
#define GLFW_KEY_9   57
 
#define GLFW_KEY_SEMICOLON   59 /* ; */
 
#define GLFW_KEY_EQUAL   61 /* = */
 
#define GLFW_KEY_A   65
 
#define GLFW_KEY_B   66
 
#define GLFW_KEY_C   67
 
#define GLFW_KEY_D   68
 
#define GLFW_KEY_E   69
 
#define GLFW_KEY_F   70
 
#define GLFW_KEY_G   71
 
#define GLFW_KEY_H   72
 
#define GLFW_KEY_I   73
 
#define GLFW_KEY_J   74
 
#define GLFW_KEY_K   75
 
#define GLFW_KEY_L   76
 
#define GLFW_KEY_M   77
 
#define GLFW_KEY_N   78
 
#define GLFW_KEY_O   79
 
#define GLFW_KEY_P   80
 
#define GLFW_KEY_Q   81
 
#define GLFW_KEY_R   82
 
#define GLFW_KEY_S   83
 
#define GLFW_KEY_T   84
 
#define GLFW_KEY_U   85
 
#define GLFW_KEY_V   86
 
#define GLFW_KEY_W   87
 
#define GLFW_KEY_X   88
 
#define GLFW_KEY_Y   89
 
#define GLFW_KEY_Z   90
 
#define GLFW_KEY_LEFT_BRACKET   91 /* [ */
 
#define GLFW_KEY_BACKSLASH   92 /* \ */
 
#define GLFW_KEY_RIGHT_BRACKET   93 /* ] */
 
#define GLFW_KEY_GRAVE_ACCENT   96 /* ` */
 
#define GLFW_KEY_WORLD_1   161 /* non-US #1 */
 
#define GLFW_KEY_WORLD_2   162 /* non-US #2 */
 
#define GLFW_KEY_ESCAPE   256
 
#define GLFW_KEY_ENTER   257
 
#define GLFW_KEY_TAB   258
 
#define GLFW_KEY_BACKSPACE   259
 
#define GLFW_KEY_INSERT   260
 
#define GLFW_KEY_DELETE   261
 
#define GLFW_KEY_RIGHT   262
 
#define GLFW_KEY_LEFT   263
 
#define GLFW_KEY_DOWN   264
 
#define GLFW_KEY_UP   265
 
#define GLFW_KEY_PAGE_UP   266
 
#define GLFW_KEY_PAGE_DOWN   267
 
#define GLFW_KEY_HOME   268
 
#define GLFW_KEY_END   269
 
#define GLFW_KEY_CAPS_LOCK   280
 
#define GLFW_KEY_SCROLL_LOCK   281
 
#define GLFW_KEY_NUM_LOCK   282
 
#define GLFW_KEY_PRINT_SCREEN   283
 
#define GLFW_KEY_PAUSE   284
 
#define GLFW_KEY_F1   290
 
#define GLFW_KEY_F2   291
 
#define GLFW_KEY_F3   292
 
#define GLFW_KEY_F4   293
 
#define GLFW_KEY_F5   294
 
#define GLFW_KEY_F6   295
 
#define GLFW_KEY_F7   296
 
#define GLFW_KEY_F8   297
 
#define GLFW_KEY_F9   298
 
#define GLFW_KEY_F10   299
 
#define GLFW_KEY_F11   300
 
#define GLFW_KEY_F12   301
 
#define GLFW_KEY_F13   302
 
#define GLFW_KEY_F14   303
 
#define GLFW_KEY_F15   304
 
#define GLFW_KEY_F16   305
 
#define GLFW_KEY_F17   306
 
#define GLFW_KEY_F18   307
 
#define GLFW_KEY_F19   308
 
#define GLFW_KEY_F20   309
 
#define GLFW_KEY_F21   310
 
#define GLFW_KEY_F22   311
 
#define GLFW_KEY_F23   312
 
#define GLFW_KEY_F24   313
 
#define GLFW_KEY_F25   314
 
#define GLFW_KEY_KP_0   320
 
#define GLFW_KEY_KP_1   321
 
#define GLFW_KEY_KP_2   322
 
#define GLFW_KEY_KP_3   323
 
#define GLFW_KEY_KP_4   324
 
#define GLFW_KEY_KP_5   325
 
#define GLFW_KEY_KP_6   326
 
#define GLFW_KEY_KP_7   327
 
#define GLFW_KEY_KP_8   328
 
#define GLFW_KEY_KP_9   329
 
#define GLFW_KEY_KP_DECIMAL   330
 
#define GLFW_KEY_KP_DIVIDE   331
 
#define GLFW_KEY_KP_MULTIPLY   332
 
#define GLFW_KEY_KP_SUBTRACT   333
 
#define GLFW_KEY_KP_ADD   334
 
#define GLFW_KEY_KP_ENTER   335
 
#define GLFW_KEY_KP_EQUAL   336
 
#define GLFW_KEY_LEFT_SHIFT   340
 
#define GLFW_KEY_LEFT_CONTROL   341
 
#define GLFW_KEY_LEFT_ALT   342
 
#define GLFW_KEY_LEFT_SUPER   343
 
#define GLFW_KEY_RIGHT_SHIFT   344
 
#define GLFW_KEY_RIGHT_CONTROL   345
 
#define GLFW_KEY_RIGHT_ALT   346
 
#define GLFW_KEY_RIGHT_SUPER   347
 
#define GLFW_KEY_MENU   348
 
#define GLFW_KEY_LAST   GLFW_KEY_MENU
 
+

Detailed Description

+

These key codes are inspired by the USB HID Usage Tables v1.12 (p. 53-60), but re-arranged to map to 7-bit ASCII for printable keys (function keys are put in the 256+ range).

+

The naming of the key codes follow these rules:

    +
  • The US keyboard layout is used
  • +
  • Names of printable alpha-numeric characters are used (e.g. "A", "R", "3", etc.)
  • +
  • For non-alphanumeric characters, Unicode:ish names are used (e.g. "COMMA", "LEFT_SQUARE_BRACKET", etc.). Note that some names do not correspond to the Unicode standard (usually for brevity)
  • +
  • Keys that lack a clear US mapping are named "WORLD_x"
  • +
  • For non-printable keys, custom names are used (e.g. "F4", "BACKSPACE", etc.)
  • +
+

Macro Definition Documentation

+ +

◆ GLFW_KEY_0

+ +
+
+ + + + +
#define GLFW_KEY_0   48
+
+ +
+
+ +

◆ GLFW_KEY_1

+ +
+
+ + + + +
#define GLFW_KEY_1   49
+
+ +
+
+ +

◆ GLFW_KEY_2

+ +
+
+ + + + +
#define GLFW_KEY_2   50
+
+ +
+
+ +

◆ GLFW_KEY_3

+ +
+
+ + + + +
#define GLFW_KEY_3   51
+
+ +
+
+ +

◆ GLFW_KEY_4

+ +
+
+ + + + +
#define GLFW_KEY_4   52
+
+ +
+
+ +

◆ GLFW_KEY_5

+ +
+
+ + + + +
#define GLFW_KEY_5   53
+
+ +
+
+ +

◆ GLFW_KEY_6

+ +
+
+ + + + +
#define GLFW_KEY_6   54
+
+ +
+
+ +

◆ GLFW_KEY_7

+ +
+
+ + + + +
#define GLFW_KEY_7   55
+
+ +
+
+ +

◆ GLFW_KEY_8

+ +
+
+ + + + +
#define GLFW_KEY_8   56
+
+ +
+
+ +

◆ GLFW_KEY_9

+ +
+
+ + + + +
#define GLFW_KEY_9   57
+
+ +
+
+ +

◆ GLFW_KEY_A

+ +
+
+ + + + +
#define GLFW_KEY_A   65
+
+ +
+
+ +

◆ GLFW_KEY_APOSTROPHE

+ +
+
+ + + + +
#define GLFW_KEY_APOSTROPHE   39 /* ' */
+
+ +
+
+ +

◆ GLFW_KEY_B

+ +
+
+ + + + +
#define GLFW_KEY_B   66
+
+ +
+
+ +

◆ GLFW_KEY_BACKSLASH

+ +
+
+ + + + +
#define GLFW_KEY_BACKSLASH   92 /* \ */
+
+ +
+
+ +

◆ GLFW_KEY_BACKSPACE

+ +
+
+ + + + +
#define GLFW_KEY_BACKSPACE   259
+
+ +
+
+ +

◆ GLFW_KEY_C

+ +
+
+ + + + +
#define GLFW_KEY_C   67
+
+ +
+
+ +

◆ GLFW_KEY_CAPS_LOCK

+ +
+
+ + + + +
#define GLFW_KEY_CAPS_LOCK   280
+
+ +
+
+ +

◆ GLFW_KEY_COMMA

+ +
+
+ + + + +
#define GLFW_KEY_COMMA   44 /* , */
+
+ +
+
+ +

◆ GLFW_KEY_D

+ +
+
+ + + + +
#define GLFW_KEY_D   68
+
+ +
+
+ +

◆ GLFW_KEY_DELETE

+ +
+
+ + + + +
#define GLFW_KEY_DELETE   261
+
+ +
+
+ +

◆ GLFW_KEY_DOWN

+ +
+
+ + + + +
#define GLFW_KEY_DOWN   264
+
+ +
+
+ +

◆ GLFW_KEY_E

+ +
+
+ + + + +
#define GLFW_KEY_E   69
+
+ +
+
+ +

◆ GLFW_KEY_END

+ +
+
+ + + + +
#define GLFW_KEY_END   269
+
+ +
+
+ +

◆ GLFW_KEY_ENTER

+ +
+
+ + + + +
#define GLFW_KEY_ENTER   257
+
+ +
+
+ +

◆ GLFW_KEY_EQUAL

+ +
+
+ + + + +
#define GLFW_KEY_EQUAL   61 /* = */
+
+ +
+
+ +

◆ GLFW_KEY_ESCAPE

+ +
+
+ + + + +
#define GLFW_KEY_ESCAPE   256
+
+ +
+
+ +

◆ GLFW_KEY_F

+ +
+
+ + + + +
#define GLFW_KEY_F   70
+
+ +
+
+ +

◆ GLFW_KEY_F1

+ +
+
+ + + + +
#define GLFW_KEY_F1   290
+
+ +
+
+ +

◆ GLFW_KEY_F10

+ +
+
+ + + + +
#define GLFW_KEY_F10   299
+
+ +
+
+ +

◆ GLFW_KEY_F11

+ +
+
+ + + + +
#define GLFW_KEY_F11   300
+
+ +
+
+ +

◆ GLFW_KEY_F12

+ +
+
+ + + + +
#define GLFW_KEY_F12   301
+
+ +
+
+ +

◆ GLFW_KEY_F13

+ +
+
+ + + + +
#define GLFW_KEY_F13   302
+
+ +
+
+ +

◆ GLFW_KEY_F14

+ +
+
+ + + + +
#define GLFW_KEY_F14   303
+
+ +
+
+ +

◆ GLFW_KEY_F15

+ +
+
+ + + + +
#define GLFW_KEY_F15   304
+
+ +
+
+ +

◆ GLFW_KEY_F16

+ +
+
+ + + + +
#define GLFW_KEY_F16   305
+
+ +
+
+ +

◆ GLFW_KEY_F17

+ +
+
+ + + + +
#define GLFW_KEY_F17   306
+
+ +
+
+ +

◆ GLFW_KEY_F18

+ +
+
+ + + + +
#define GLFW_KEY_F18   307
+
+ +
+
+ +

◆ GLFW_KEY_F19

+ +
+
+ + + + +
#define GLFW_KEY_F19   308
+
+ +
+
+ +

◆ GLFW_KEY_F2

+ +
+
+ + + + +
#define GLFW_KEY_F2   291
+
+ +
+
+ +

◆ GLFW_KEY_F20

+ +
+
+ + + + +
#define GLFW_KEY_F20   309
+
+ +
+
+ +

◆ GLFW_KEY_F21

+ +
+
+ + + + +
#define GLFW_KEY_F21   310
+
+ +
+
+ +

◆ GLFW_KEY_F22

+ +
+
+ + + + +
#define GLFW_KEY_F22   311
+
+ +
+
+ +

◆ GLFW_KEY_F23

+ +
+
+ + + + +
#define GLFW_KEY_F23   312
+
+ +
+
+ +

◆ GLFW_KEY_F24

+ +
+
+ + + + +
#define GLFW_KEY_F24   313
+
+ +
+
+ +

◆ GLFW_KEY_F25

+ +
+
+ + + + +
#define GLFW_KEY_F25   314
+
+ +
+
+ +

◆ GLFW_KEY_F3

+ +
+
+ + + + +
#define GLFW_KEY_F3   292
+
+ +
+
+ +

◆ GLFW_KEY_F4

+ +
+
+ + + + +
#define GLFW_KEY_F4   293
+
+ +
+
+ +

◆ GLFW_KEY_F5

+ +
+
+ + + + +
#define GLFW_KEY_F5   294
+
+ +
+
+ +

◆ GLFW_KEY_F6

+ +
+
+ + + + +
#define GLFW_KEY_F6   295
+
+ +
+
+ +

◆ GLFW_KEY_F7

+ +
+
+ + + + +
#define GLFW_KEY_F7   296
+
+ +
+
+ +

◆ GLFW_KEY_F8

+ +
+
+ + + + +
#define GLFW_KEY_F8   297
+
+ +
+
+ +

◆ GLFW_KEY_F9

+ +
+
+ + + + +
#define GLFW_KEY_F9   298
+
+ +
+
+ +

◆ GLFW_KEY_G

+ +
+
+ + + + +
#define GLFW_KEY_G   71
+
+ +
+
+ +

◆ GLFW_KEY_GRAVE_ACCENT

+ +
+
+ + + + +
#define GLFW_KEY_GRAVE_ACCENT   96 /* ` */
+
+ +
+
+ +

◆ GLFW_KEY_H

+ +
+
+ + + + +
#define GLFW_KEY_H   72
+
+ +
+
+ +

◆ GLFW_KEY_HOME

+ +
+
+ + + + +
#define GLFW_KEY_HOME   268
+
+ +
+
+ +

◆ GLFW_KEY_I

+ +
+
+ + + + +
#define GLFW_KEY_I   73
+
+ +
+
+ +

◆ GLFW_KEY_INSERT

+ +
+
+ + + + +
#define GLFW_KEY_INSERT   260
+
+ +
+
+ +

◆ GLFW_KEY_J

+ +
+
+ + + + +
#define GLFW_KEY_J   74
+
+ +
+
+ +

◆ GLFW_KEY_K

+ +
+
+ + + + +
#define GLFW_KEY_K   75
+
+ +
+
+ +

◆ GLFW_KEY_KP_0

+ +
+
+ + + + +
#define GLFW_KEY_KP_0   320
+
+ +
+
+ +

◆ GLFW_KEY_KP_1

+ +
+
+ + + + +
#define GLFW_KEY_KP_1   321
+
+ +
+
+ +

◆ GLFW_KEY_KP_2

+ +
+
+ + + + +
#define GLFW_KEY_KP_2   322
+
+ +
+
+ +

◆ GLFW_KEY_KP_3

+ +
+
+ + + + +
#define GLFW_KEY_KP_3   323
+
+ +
+
+ +

◆ GLFW_KEY_KP_4

+ +
+
+ + + + +
#define GLFW_KEY_KP_4   324
+
+ +
+
+ +

◆ GLFW_KEY_KP_5

+ +
+
+ + + + +
#define GLFW_KEY_KP_5   325
+
+ +
+
+ +

◆ GLFW_KEY_KP_6

+ +
+
+ + + + +
#define GLFW_KEY_KP_6   326
+
+ +
+
+ +

◆ GLFW_KEY_KP_7

+ +
+
+ + + + +
#define GLFW_KEY_KP_7   327
+
+ +
+
+ +

◆ GLFW_KEY_KP_8

+ +
+
+ + + + +
#define GLFW_KEY_KP_8   328
+
+ +
+
+ +

◆ GLFW_KEY_KP_9

+ +
+
+ + + + +
#define GLFW_KEY_KP_9   329
+
+ +
+
+ +

◆ GLFW_KEY_KP_ADD

+ +
+
+ + + + +
#define GLFW_KEY_KP_ADD   334
+
+ +
+
+ +

◆ GLFW_KEY_KP_DECIMAL

+ +
+
+ + + + +
#define GLFW_KEY_KP_DECIMAL   330
+
+ +
+
+ +

◆ GLFW_KEY_KP_DIVIDE

+ +
+
+ + + + +
#define GLFW_KEY_KP_DIVIDE   331
+
+ +
+
+ +

◆ GLFW_KEY_KP_ENTER

+ +
+
+ + + + +
#define GLFW_KEY_KP_ENTER   335
+
+ +
+
+ +

◆ GLFW_KEY_KP_EQUAL

+ +
+
+ + + + +
#define GLFW_KEY_KP_EQUAL   336
+
+ +
+
+ +

◆ GLFW_KEY_KP_MULTIPLY

+ +
+
+ + + + +
#define GLFW_KEY_KP_MULTIPLY   332
+
+ +
+
+ +

◆ GLFW_KEY_KP_SUBTRACT

+ +
+
+ + + + +
#define GLFW_KEY_KP_SUBTRACT   333
+
+ +
+
+ +

◆ GLFW_KEY_L

+ +
+
+ + + + +
#define GLFW_KEY_L   76
+
+ +
+
+ +

◆ GLFW_KEY_LAST

+ +
+
+ + + + +
#define GLFW_KEY_LAST   GLFW_KEY_MENU
+
+ +
+
+ +

◆ GLFW_KEY_LEFT

+ +
+
+ + + + +
#define GLFW_KEY_LEFT   263
+
+ +
+
+ +

◆ GLFW_KEY_LEFT_ALT

+ +
+
+ + + + +
#define GLFW_KEY_LEFT_ALT   342
+
+ +
+
+ +

◆ GLFW_KEY_LEFT_BRACKET

+ +
+
+ + + + +
#define GLFW_KEY_LEFT_BRACKET   91 /* [ */
+
+ +
+
+ +

◆ GLFW_KEY_LEFT_CONTROL

+ +
+
+ + + + +
#define GLFW_KEY_LEFT_CONTROL   341
+
+ +
+
+ +

◆ GLFW_KEY_LEFT_SHIFT

+ +
+
+ + + + +
#define GLFW_KEY_LEFT_SHIFT   340
+
+ +
+
+ +

◆ GLFW_KEY_LEFT_SUPER

+ +
+
+ + + + +
#define GLFW_KEY_LEFT_SUPER   343
+
+ +
+
+ +

◆ GLFW_KEY_M

+ +
+
+ + + + +
#define GLFW_KEY_M   77
+
+ +
+
+ +

◆ GLFW_KEY_MENU

+ +
+
+ + + + +
#define GLFW_KEY_MENU   348
+
+ +
+
+ +

◆ GLFW_KEY_MINUS

+ +
+
+ + + + +
#define GLFW_KEY_MINUS   45 /* - */
+
+ +
+
+ +

◆ GLFW_KEY_N

+ +
+
+ + + + +
#define GLFW_KEY_N   78
+
+ +
+
+ +

◆ GLFW_KEY_NUM_LOCK

+ +
+
+ + + + +
#define GLFW_KEY_NUM_LOCK   282
+
+ +
+
+ +

◆ GLFW_KEY_O

+ +
+
+ + + + +
#define GLFW_KEY_O   79
+
+ +
+
+ +

◆ GLFW_KEY_P

+ +
+
+ + + + +
#define GLFW_KEY_P   80
+
+ +
+
+ +

◆ GLFW_KEY_PAGE_DOWN

+ +
+
+ + + + +
#define GLFW_KEY_PAGE_DOWN   267
+
+ +
+
+ +

◆ GLFW_KEY_PAGE_UP

+ +
+
+ + + + +
#define GLFW_KEY_PAGE_UP   266
+
+ +
+
+ +

◆ GLFW_KEY_PAUSE

+ +
+
+ + + + +
#define GLFW_KEY_PAUSE   284
+
+ +
+
+ +

◆ GLFW_KEY_PERIOD

+ +
+
+ + + + +
#define GLFW_KEY_PERIOD   46 /* . */
+
+ +
+
+ +

◆ GLFW_KEY_PRINT_SCREEN

+ +
+
+ + + + +
#define GLFW_KEY_PRINT_SCREEN   283
+
+ +
+
+ +

◆ GLFW_KEY_Q

+ +
+
+ + + + +
#define GLFW_KEY_Q   81
+
+ +
+
+ +

◆ GLFW_KEY_R

+ +
+
+ + + + +
#define GLFW_KEY_R   82
+
+ +
+
+ +

◆ GLFW_KEY_RIGHT

+ +
+
+ + + + +
#define GLFW_KEY_RIGHT   262
+
+ +
+
+ +

◆ GLFW_KEY_RIGHT_ALT

+ +
+
+ + + + +
#define GLFW_KEY_RIGHT_ALT   346
+
+ +
+
+ +

◆ GLFW_KEY_RIGHT_BRACKET

+ +
+
+ + + + +
#define GLFW_KEY_RIGHT_BRACKET   93 /* ] */
+
+ +
+
+ +

◆ GLFW_KEY_RIGHT_CONTROL

+ +
+
+ + + + +
#define GLFW_KEY_RIGHT_CONTROL   345
+
+ +
+
+ +

◆ GLFW_KEY_RIGHT_SHIFT

+ +
+
+ + + + +
#define GLFW_KEY_RIGHT_SHIFT   344
+
+ +
+
+ +

◆ GLFW_KEY_RIGHT_SUPER

+ +
+
+ + + + +
#define GLFW_KEY_RIGHT_SUPER   347
+
+ +
+
+ +

◆ GLFW_KEY_S

+ +
+
+ + + + +
#define GLFW_KEY_S   83
+
+ +
+
+ +

◆ GLFW_KEY_SCROLL_LOCK

+ +
+
+ + + + +
#define GLFW_KEY_SCROLL_LOCK   281
+
+ +
+
+ +

◆ GLFW_KEY_SEMICOLON

+ +
+
+ + + + +
#define GLFW_KEY_SEMICOLON   59 /* ; */
+
+ +
+
+ +

◆ GLFW_KEY_SLASH

+ +
+
+ + + + +
#define GLFW_KEY_SLASH   47 /* / */
+
+ +
+
+ +

◆ GLFW_KEY_SPACE

+ +
+
+ + + + +
#define GLFW_KEY_SPACE   32
+
+ +
+
+ +

◆ GLFW_KEY_T

+ +
+
+ + + + +
#define GLFW_KEY_T   84
+
+ +
+
+ +

◆ GLFW_KEY_TAB

+ +
+
+ + + + +
#define GLFW_KEY_TAB   258
+
+ +
+
+ +

◆ GLFW_KEY_U

+ +
+
+ + + + +
#define GLFW_KEY_U   85
+
+ +
+
+ +

◆ GLFW_KEY_UNKNOWN

+ +
+
+ + + + +
#define GLFW_KEY_UNKNOWN   -1
+
+ +
+
+ +

◆ GLFW_KEY_UP

+ +
+
+ + + + +
#define GLFW_KEY_UP   265
+
+ +
+
+ +

◆ GLFW_KEY_V

+ +
+
+ + + + +
#define GLFW_KEY_V   86
+
+ +
+
+ +

◆ GLFW_KEY_W

+ +
+
+ + + + +
#define GLFW_KEY_W   87
+
+ +
+
+ +

◆ GLFW_KEY_WORLD_1

+ +
+
+ + + + +
#define GLFW_KEY_WORLD_1   161 /* non-US #1 */
+
+ +
+
+ +

◆ GLFW_KEY_WORLD_2

+ +
+
+ + + + +
#define GLFW_KEY_WORLD_2   162 /* non-US #2 */
+
+ +
+
+ +

◆ GLFW_KEY_X

+ +
+
+ + + + +
#define GLFW_KEY_X   88
+
+ +
+
+ +

◆ GLFW_KEY_Y

+ +
+
+ + + + +
#define GLFW_KEY_Y   89
+
+ +
+
+ +

◆ GLFW_KEY_Z

+ +
+
+ + + + +
#define GLFW_KEY_Z   90
+
+ +
+
+
+ + + diff --git a/docs/3.0/group__mods.html b/docs/3.0/group__mods.html new file mode 100644 index 0000000..b159a8d --- /dev/null +++ b/docs/3.0/group__mods.html @@ -0,0 +1,149 @@ + + + + + + +GLFW: Modifier key flags + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Modifier key flags
+
+
+ + + + + + + + + + + + + + +

+Macros

#define GLFW_MOD_SHIFT   0x0001
 If this bit is set one or more Shift keys were held down. More...
 
#define GLFW_MOD_CONTROL   0x0002
 If this bit is set one or more Control keys were held down. More...
 
#define GLFW_MOD_ALT   0x0004
 If this bit is set one or more Alt keys were held down. More...
 
#define GLFW_MOD_SUPER   0x0008
 If this bit is set one or more Super keys were held down. More...
 
+

Detailed Description

+

Macro Definition Documentation

+ +

◆ GLFW_MOD_ALT

+ +
+
+ + + + +
#define GLFW_MOD_ALT   0x0004
+
+ +
+
+ +

◆ GLFW_MOD_CONTROL

+ +
+
+ + + + +
#define GLFW_MOD_CONTROL   0x0002
+
+ +
+
+ +

◆ GLFW_MOD_SHIFT

+ +
+
+ + + + +
#define GLFW_MOD_SHIFT   0x0001
+
+ +
+
+ +

◆ GLFW_MOD_SUPER

+ +
+
+ + + + +
#define GLFW_MOD_SUPER   0x0008
+
+ +
+
+
+ + + diff --git a/docs/3.0/group__monitor.html b/docs/3.0/group__monitor.html new file mode 100644 index 0000000..7e332c6 --- /dev/null +++ b/docs/3.0/group__monitor.html @@ -0,0 +1,572 @@ + + + + + + +GLFW: Monitor handling + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Monitor handling
+
+
+ + + + + + + + +

+Data Structures

struct  GLFWvidmode
 Video mode type. More...
 
struct  GLFWgammaramp
 Gamma ramp. More...
 
+ + + + + + + + + + + + + +

+Typedefs

typedef struct GLFWmonitor GLFWmonitor
 Opaque monitor object. More...
 
typedef void(* GLFWmonitorfun) (GLFWmonitor *, int)
 The function signature for monitor configuration callbacks. More...
 
typedef struct GLFWvidmode GLFWvidmode
 Video mode type. More...
 
typedef struct GLFWgammaramp GLFWgammaramp
 Gamma ramp. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

GLFWmonitor ** glfwGetMonitors (int *count)
 Returns the currently connected monitors. More...
 
GLFWmonitorglfwGetPrimaryMonitor (void)
 Returns the primary monitor. More...
 
void glfwGetMonitorPos (GLFWmonitor *monitor, int *xpos, int *ypos)
 Returns the position of the monitor's viewport on the virtual screen. More...
 
void glfwGetMonitorPhysicalSize (GLFWmonitor *monitor, int *width, int *height)
 Returns the physical size of the monitor. More...
 
const char * glfwGetMonitorName (GLFWmonitor *monitor)
 Returns the name of the specified monitor. More...
 
GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun cbfun)
 Sets the monitor configuration callback. More...
 
const GLFWvidmodeglfwGetVideoModes (GLFWmonitor *monitor, int *count)
 Returns the available video modes for the specified monitor. More...
 
const GLFWvidmodeglfwGetVideoMode (GLFWmonitor *monitor)
 Returns the current mode of the specified monitor. More...
 
void glfwSetGamma (GLFWmonitor *monitor, float gamma)
 Generates a gamma ramp and sets it for the specified monitor. More...
 
const GLFWgammarampglfwGetGammaRamp (GLFWmonitor *monitor)
 Retrieves the current gamma ramp for the specified monitor. More...
 
void glfwSetGammaRamp (GLFWmonitor *monitor, const GLFWgammaramp *ramp)
 Sets the current gamma ramp for the specified monitor. More...
 
+

Detailed Description

+

This is the reference documentation for monitor related functions and types. For more information, see the Multi-monitor guide.

+

Typedef Documentation

+ +

◆ GLFWgammaramp

+ +
+
+ + + + +
typedef struct GLFWgammaramp GLFWgammaramp
+
+

This describes the gamma ramp for a monitor.

+
See also
glfwGetGammaRamp glfwSetGammaRamp
+ +
+
+ +

◆ GLFWmonitor

+ +
+
+ + + + +
typedef struct GLFWmonitor GLFWmonitor
+
+

Opaque monitor object.

+ +
+
+ +

◆ GLFWmonitorfun

+ +
+
+ + + + +
typedef void(* GLFWmonitorfun) (GLFWmonitor *, int)
+
+

This is the function signature for monitor configuration callback functions.

+
Parameters
+ + + +
[in]monitorThe monitor that was connected or disconnected.
[in]eventOne of GLFW_CONNECTED or GLFW_DISCONNECTED.
+
+
+
See also
glfwSetMonitorCallback
+ +
+
+ +

◆ GLFWvidmode

+ +
+
+ + + + +
typedef struct GLFWvidmode GLFWvidmode
+
+

This describes a single video mode.

+ +
+
+

Function Documentation

+ +

◆ glfwGetGammaRamp()

+ +
+
+ + + + + + + + +
const GLFWgammaramp* glfwGetGammaRamp (GLFWmonitormonitor)
+
+

This function retrieves the current gamma ramp of the specified monitor.

+
Parameters
+ + +
[in]monitorThe monitor to query.
+
+
+
Returns
The current gamma ramp, or NULL if an error occurred.
+
Note
The value arrays of the returned ramp are allocated and freed by GLFW. You should not free them yourself.
+ +
+
+ +

◆ glfwGetMonitorName()

+ +
+
+ + + + + + + + +
const char* glfwGetMonitorName (GLFWmonitormonitor)
+
+

This function returns a human-readable name, encoded as UTF-8, of the specified monitor.

+
Parameters
+ + +
[in]monitorThe monitor to query.
+
+
+
Returns
The UTF-8 encoded name of the monitor, or NULL if an error occurred.
+
Note
The returned string is allocated and freed by GLFW. You should not free it yourself.
+ +
+
+ +

◆ glfwGetMonitorPhysicalSize()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void glfwGetMonitorPhysicalSize (GLFWmonitormonitor,
int * width,
int * height 
)
+
+

This function returns the size, in millimetres, of the display area of the specified monitor.

+
Parameters
+ + + + +
[in]monitorThe monitor to query.
[out]widthWhere to store the width, in mm, of the monitor's display area, or NULL.
[out]heightWhere to store the height, in mm, of the monitor's display area, or NULL.
+
+
+
Note
Some operating systems do not provide accurate information, either because the monitor's EDID data is incorrect, or because the driver does not report it accurately.
+ +
+
+ +

◆ glfwGetMonitorPos()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void glfwGetMonitorPos (GLFWmonitormonitor,
int * xpos,
int * ypos 
)
+
+

This function returns the position, in screen coordinates, of the upper-left corner of the specified monitor.

+
Parameters
+ + + + +
[in]monitorThe monitor to query.
[out]xposWhere to store the monitor x-coordinate, or NULL.
[out]yposWhere to store the monitor y-coordinate, or NULL.
+
+
+ +
+
+ +

◆ glfwGetMonitors()

+ +
+
+ + + + + + + + +
GLFWmonitor** glfwGetMonitors (int * count)
+
+

This function returns an array of handles for all currently connected monitors.

+
Parameters
+ + +
[out]countWhere to store the size of the returned array. This is set to zero if an error occurred.
+
+
+
Returns
An array of monitor handles, or NULL if an error occurred.
+
Note
The returned array is allocated and freed by GLFW. You should not free it yourself.
+
+The returned array is valid only until the monitor configuration changes. See glfwSetMonitorCallback to receive notifications of configuration changes.
+
See also
glfwGetPrimaryMonitor
+ +
+
+ +

◆ glfwGetPrimaryMonitor()

+ +
+
+ + + + + + + + +
GLFWmonitor* glfwGetPrimaryMonitor (void )
+
+

This function returns the primary monitor. This is usually the monitor where elements like the Windows task bar or the OS X menu bar is located.

+
Returns
The primary monitor, or NULL if an error occurred.
+
See also
glfwGetMonitors
+ +
+
+ +

◆ glfwGetVideoMode()

+ +
+
+ + + + + + + + +
const GLFWvidmode* glfwGetVideoMode (GLFWmonitormonitor)
+
+

This function returns the current video mode of the specified monitor. If you are using a full screen window, the return value will therefore depend on whether it is focused.

+
Parameters
+ + +
[in]monitorThe monitor to query.
+
+
+
Returns
The current mode of the monitor, or NULL if an error occurred.
+
Note
The returned struct is allocated and freed by GLFW. You should not free it yourself.
+
See also
glfwGetVideoModes
+ +
+
+ +

◆ glfwGetVideoModes()

+ +
+
+ + + + + + + + + + + + + + + + + + +
const GLFWvidmode* glfwGetVideoModes (GLFWmonitormonitor,
int * count 
)
+
+

This function returns an array of all video modes supported by the specified monitor. The returned array is sorted in ascending order, first by color bit depth (the sum of all channel depths) and then by resolution area (the product of width and height).

+
Parameters
+ + + +
[in]monitorThe monitor to query.
[out]countWhere to store the number of video modes in the returned array. This is set to zero if an error occurred.
+
+
+
Returns
An array of video modes, or NULL if an error occurred.
+
Note
The returned array is allocated and freed by GLFW. You should not free it yourself.
+
+The returned array is valid only until this function is called again for the specified monitor.
+
See also
glfwGetVideoMode
+ +
+
+ +

◆ glfwSetGamma()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void glfwSetGamma (GLFWmonitormonitor,
float gamma 
)
+
+

This function generates a 256-element gamma ramp from the specified exponent and then calls glfwSetGammaRamp with it.

+
Parameters
+ + + +
[in]monitorThe monitor whose gamma ramp to set.
[in]gammaThe desired exponent.
+
+
+ +
+
+ +

◆ glfwSetGammaRamp()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void glfwSetGammaRamp (GLFWmonitormonitor,
const GLFWgammarampramp 
)
+
+

This function sets the current gamma ramp for the specified monitor.

+
Parameters
+ + + +
[in]monitorThe monitor whose gamma ramp to set.
[in]rampThe gamma ramp to use.
+
+
+
Note
Gamma ramp sizes other than 256 are not supported by all hardware.
+ +
+
+ +

◆ glfwSetMonitorCallback()

+ +
+
+ + + + + + + + +
GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun cbfun)
+
+

This function sets the monitor configuration callback, or removes the currently set callback. This is called when a monitor is connected to or disconnected from the system.

+
Parameters
+ + +
[in]cbfunThe new callback, or NULL to remove the currently set callback.
+
+
+
Returns
The previously set callback, or NULL if no callback was set or an error occurred.
+
Bug:
X11: This callback is not yet called on monitor configuration changes.
+ +
+
+
+ + + diff --git a/docs/3.0/group__native.html b/docs/3.0/group__native.html new file mode 100644 index 0000000..c16a2d4 --- /dev/null +++ b/docs/3.0/group__native.html @@ -0,0 +1,315 @@ + + + + + + +GLFW: Native access + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Native access
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

HWND glfwGetWin32Window (GLFWwindow *window)
 Returns the HWND of the specified window. More...
 
HGLRC glfwGetWGLContext (GLFWwindow *window)
 Returns the HGLRC of the specified window. More...
 
id glfwGetCocoaWindow (GLFWwindow *window)
 Returns the NSWindow of the specified window. More...
 
id glfwGetNSGLContext (GLFWwindow *window)
 Returns the NSOpenGLContext of the specified window. More...
 
Display * glfwGetX11Display (void)
 Returns the Display used by GLFW. More...
 
Window glfwGetX11Window (GLFWwindow *window)
 Returns the Window of the specified window. More...
 
GLXContext glfwGetGLXContext (GLFWwindow *window)
 Returns the GLXContext of the specified window. More...
 
EGLDisplay glfwGetEGLDisplay (void)
 Returns the EGLDisplay used by GLFW. More...
 
EGLContext glfwGetEGLContext (GLFWwindow *window)
 Returns the EGLContext of the specified window. More...
 
EGLSurface glfwGetEGLSurface (GLFWwindow *window)
 Returns the EGLSurface of the specified window. More...
 
+

Detailed Description

+

By using the native API, you assert that you know what you're doing and how to fix problems caused by using it. If you don't, you shouldn't be using it.

+

Before the inclusion of glfw3native.h, you must define exactly one window API macro and exactly one context API macro. Failure to do this will cause a compile-time error.

+

The available window API macros are:

    +
  • GLFW_EXPOSE_NATIVE_WIN32
  • +
  • GLFW_EXPOSE_NATIVE_COCOA
  • +
  • GLFW_EXPOSE_NATIVE_X11
  • +
+

The available context API macros are:

    +
  • GLFW_EXPOSE_NATIVE_WGL
  • +
  • GLFW_EXPOSE_NATIVE_NSGL
  • +
  • GLFW_EXPOSE_NATIVE_GLX
  • +
  • GLFW_EXPOSE_NATIVE_EGL
  • +
+

These macros select which of the native access functions that are declared and which platform-specific headers to include. It is then up your (by definition platform-specific) code to handle which of these should be defined.

+

Function Documentation

+ +

◆ glfwGetCocoaWindow()

+ +
+
+ + + + + + + + +
id glfwGetCocoaWindow (GLFWwindowwindow)
+
+
Returns
The NSWindow of the specified window.
+ +
+
+ +

◆ glfwGetEGLContext()

+ +
+
+ + + + + + + + +
EGLContext glfwGetEGLContext (GLFWwindowwindow)
+
+
Returns
The EGLContext of the specified window.
+ +
+
+ +

◆ glfwGetEGLDisplay()

+ +
+
+ + + + + + + + +
EGLDisplay glfwGetEGLDisplay (void )
+
+
Returns
The EGLDisplay used by GLFW.
+ +
+
+ +

◆ glfwGetEGLSurface()

+ +
+
+ + + + + + + + +
EGLSurface glfwGetEGLSurface (GLFWwindowwindow)
+
+
Returns
The EGLSurface of the specified window.
+ +
+
+ +

◆ glfwGetGLXContext()

+ +
+
+ + + + + + + + +
GLXContext glfwGetGLXContext (GLFWwindowwindow)
+
+
Returns
The GLXContext of the specified window.
+ +
+
+ +

◆ glfwGetNSGLContext()

+ +
+
+ + + + + + + + +
id glfwGetNSGLContext (GLFWwindowwindow)
+
+
Returns
The NSOpenGLContext of the specified window.
+ +
+
+ +

◆ glfwGetWGLContext()

+ +
+
+ + + + + + + + +
HGLRC glfwGetWGLContext (GLFWwindowwindow)
+
+
Returns
The HGLRC of the specified window.
+ +
+
+ +

◆ glfwGetWin32Window()

+ +
+
+ + + + + + + + +
HWND glfwGetWin32Window (GLFWwindowwindow)
+
+
Returns
The HWND of the specified window.
+ +
+
+ +

◆ glfwGetX11Display()

+ +
+
+ + + + + + + + +
Display* glfwGetX11Display (void )
+
+
Returns
The Display used by GLFW.
+ +
+
+ +

◆ glfwGetX11Window()

+ +
+
+ + + + + + + + +
Window glfwGetX11Window (GLFWwindowwindow)
+
+
Returns
The Window of the specified window.
+ +
+
+
+ + + diff --git a/docs/3.0/group__time.html b/docs/3.0/group__time.html new file mode 100644 index 0000000..19269e5 --- /dev/null +++ b/docs/3.0/group__time.html @@ -0,0 +1,135 @@ + + + + + + +GLFW: Time input + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Time input
+
+
+ + + + + + + + +

+Functions

double glfwGetTime (void)
 Returns the value of the GLFW timer. More...
 
void glfwSetTime (double time)
 Sets the GLFW timer. More...
 
+

Detailed Description

+

Function Documentation

+ +

◆ glfwGetTime()

+ +
+
+ + + + + + + + +
double glfwGetTime (void )
+
+

This function returns the value of the GLFW timer. Unless the timer has been set using glfwSetTime, the timer measures time elapsed since GLFW was initialized.

+
Returns
The current value, in seconds, or zero if an error occurred.
+
Remarks
This function may be called from secondary threads.
+
Note
The resolution of the timer is system dependent, but is usually on the order of a few micro- or nanoseconds. It uses the highest-resolution monotonic time source on each supported platform.
+ +
+
+ +

◆ glfwSetTime()

+ +
+
+ + + + + + + + +
void glfwSetTime (double time)
+
+

This function sets the value of the GLFW timer. It then continues to count up from that value.

+
Parameters
+ + +
[in]timeThe new value, in seconds.
+
+
+
Note
The resolution of the timer is system dependent, but is usually on the order of a few micro- or nanoseconds. It uses the highest-resolution monotonic time source on each supported platform.
+ +
+
+
+ + + diff --git a/docs/3.0/group__window.html b/docs/3.0/group__window.html new file mode 100644 index 0000000..78470e4 --- /dev/null +++ b/docs/3.0/group__window.html @@ -0,0 +1,1429 @@ + + + + + + +GLFW: Window handling + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Window handling
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

typedef struct GLFWwindow GLFWwindow
 Opaque window object. More...
 
typedef void(* GLFWwindowposfun) (GLFWwindow *, int, int)
 The function signature for window position callbacks. More...
 
typedef void(* GLFWwindowsizefun) (GLFWwindow *, int, int)
 The function signature for window resize callbacks. More...
 
typedef void(* GLFWwindowclosefun) (GLFWwindow *)
 The function signature for window close callbacks. More...
 
typedef void(* GLFWwindowrefreshfun) (GLFWwindow *)
 The function signature for window content refresh callbacks. More...
 
typedef void(* GLFWwindowfocusfun) (GLFWwindow *, int)
 The function signature for window focus/defocus callbacks. More...
 
typedef void(* GLFWwindowiconifyfun) (GLFWwindow *, int)
 The function signature for window iconify/restore callbacks. More...
 
typedef void(* GLFWframebuffersizefun) (GLFWwindow *, int, int)
 The function signature for framebuffer resize callbacks. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void glfwDefaultWindowHints (void)
 Resets all window hints to their default values. More...
 
void glfwWindowHint (int target, int hint)
 Sets the specified window hint to the desired value. More...
 
GLFWwindowglfwCreateWindow (int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
 Creates a window and its associated context. More...
 
void glfwDestroyWindow (GLFWwindow *window)
 Destroys the specified window and its context. More...
 
int glfwWindowShouldClose (GLFWwindow *window)
 Checks the close flag of the specified window. More...
 
void glfwSetWindowShouldClose (GLFWwindow *window, int value)
 Sets the close flag of the specified window. More...
 
void glfwSetWindowTitle (GLFWwindow *window, const char *title)
 Sets the title of the specified window. More...
 
void glfwGetWindowPos (GLFWwindow *window, int *xpos, int *ypos)
 Retrieves the position of the client area of the specified window. More...
 
void glfwSetWindowPos (GLFWwindow *window, int xpos, int ypos)
 Sets the position of the client area of the specified window. More...
 
void glfwGetWindowSize (GLFWwindow *window, int *width, int *height)
 Retrieves the size of the client area of the specified window. More...
 
void glfwSetWindowSize (GLFWwindow *window, int width, int height)
 Sets the size of the client area of the specified window. More...
 
void glfwGetFramebufferSize (GLFWwindow *window, int *width, int *height)
 Retrieves the size of the framebuffer of the specified window. More...
 
void glfwIconifyWindow (GLFWwindow *window)
 Iconifies the specified window. More...
 
void glfwRestoreWindow (GLFWwindow *window)
 Restores the specified window. More...
 
void glfwShowWindow (GLFWwindow *window)
 Makes the specified window visible. More...
 
void glfwHideWindow (GLFWwindow *window)
 Hides the specified window. More...
 
GLFWmonitorglfwGetWindowMonitor (GLFWwindow *window)
 Returns the monitor that the window uses for full screen mode. More...
 
int glfwGetWindowAttrib (GLFWwindow *window, int attrib)
 Returns an attribute of the specified window. More...
 
void glfwSetWindowUserPointer (GLFWwindow *window, void *pointer)
 Sets the user pointer of the specified window. More...
 
void * glfwGetWindowUserPointer (GLFWwindow *window)
 Returns the user pointer of the specified window. More...
 
GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindow *window, GLFWwindowposfun cbfun)
 Sets the position callback for the specified window. More...
 
GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindow *window, GLFWwindowsizefun cbfun)
 Sets the size callback for the specified window. More...
 
GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindow *window, GLFWwindowclosefun cbfun)
 Sets the close callback for the specified window. More...
 
GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindow *window, GLFWwindowrefreshfun cbfun)
 Sets the refresh callback for the specified window. More...
 
GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindow *window, GLFWwindowfocusfun cbfun)
 Sets the focus callback for the specified window. More...
 
GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindow *window, GLFWwindowiconifyfun cbfun)
 Sets the iconify callback for the specified window. More...
 
GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindow *window, GLFWframebuffersizefun cbfun)
 Sets the framebuffer resize callback for the specified window. More...
 
void glfwPollEvents (void)
 Processes all pending events. More...
 
void glfwWaitEvents (void)
 Waits until events are pending and processes them. More...
 
+

Detailed Description

+

This is the reference documentation for window related functions and types, including creation, deletion and event polling. For more information, see the Window handling guide.

+

Typedef Documentation

+ +

◆ GLFWframebuffersizefun

+ +
+
+ + + + +
typedef void(* GLFWframebuffersizefun) (GLFWwindow *, int, int)
+
+

This is the function signature for framebuffer resize callback functions.

+
Parameters
+ + + + +
[in]windowThe window whose framebuffer was resized.
[in]widthThe new width, in pixels, of the framebuffer.
[in]heightThe new height, in pixels, of the framebuffer.
+
+
+
See also
glfwSetFramebufferSizeCallback
+ +
+
+ +

◆ GLFWwindow

+ +
+
+ + + + +
typedef struct GLFWwindow GLFWwindow
+
+

Opaque window object.

+ +
+
+ +

◆ GLFWwindowclosefun

+ +
+
+ + + + +
typedef void(* GLFWwindowclosefun) (GLFWwindow *)
+
+

This is the function signature for window close callback functions.

+
Parameters
+ + +
[in]windowThe window that the user attempted to close.
+
+
+
See also
glfwSetWindowCloseCallback
+ +
+
+ +

◆ GLFWwindowfocusfun

+ +
+
+ + + + +
typedef void(* GLFWwindowfocusfun) (GLFWwindow *, int)
+
+

This is the function signature for window focus callback functions.

+
Parameters
+ + + +
[in]windowThe window that was focused or defocused.
[in]focusedGL_TRUE if the window was focused, or GL_FALSE if it was defocused.
+
+
+
See also
glfwSetWindowFocusCallback
+ +
+
+ +

◆ GLFWwindowiconifyfun

+ +
+
+ + + + +
typedef void(* GLFWwindowiconifyfun) (GLFWwindow *, int)
+
+

This is the function signature for window iconify/restore callback functions.

+
Parameters
+ + + +
[in]windowThe window that was iconified or restored.
[in]iconifiedGL_TRUE if the window was iconified, or GL_FALSE if it was restored.
+
+
+
See also
glfwSetWindowIconifyCallback
+ +
+
+ +

◆ GLFWwindowposfun

+ +
+
+ + + + +
typedef void(* GLFWwindowposfun) (GLFWwindow *, int, int)
+
+

This is the function signature for window position callback functions.

+
Parameters
+ + + + +
[in]windowThe window that the user moved.
[in]xposThe new x-coordinate, in screen coordinates, of the upper-left corner of the client area of the window.
[in]yposThe new y-coordinate, in screen coordinates, of the upper-left corner of the client area of the window.
+
+
+
See also
glfwSetWindowPosCallback
+ +
+
+ +

◆ GLFWwindowrefreshfun

+ +
+
+ + + + +
typedef void(* GLFWwindowrefreshfun) (GLFWwindow *)
+
+

This is the function signature for window refresh callback functions.

+
Parameters
+ + +
[in]windowThe window whose content needs to be refreshed.
+
+
+
See also
glfwSetWindowRefreshCallback
+ +
+
+ +

◆ GLFWwindowsizefun

+ +
+
+ + + + +
typedef void(* GLFWwindowsizefun) (GLFWwindow *, int, int)
+
+

This is the function signature for window size callback functions.

+
Parameters
+ + + + +
[in]windowThe window that the user resized.
[in]widthThe new width, in screen coordinates, of the window.
[in]heightThe new height, in screen coordinates, of the window.
+
+
+
See also
glfwSetWindowSizeCallback
+ +
+
+

Function Documentation

+ +

◆ glfwCreateWindow()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLFWwindow* glfwCreateWindow (int width,
int height,
const char * title,
GLFWmonitormonitor,
GLFWwindowshare 
)
+
+

This function creates a window and its associated context. Most of the options controlling how the window and its context should be created are specified through glfwWindowHint.

+

Successful creation does not change which context is current. Before you can use the newly created context, you need to make it current using glfwMakeContextCurrent.

+

Note that the created window and context may differ from what you requested, as not all parameters and hints are hard constraints. This includes the size of the window, especially for full screen windows. To retrieve the actual attributes of the created window and context, use queries like glfwGetWindowAttrib and glfwGetWindowSize.

+

To create a full screen window, you need to specify the monitor to use. If no monitor is specified, windowed mode will be used. Unless you have a way for the user to choose a specific monitor, it is recommended that you pick the primary monitor. For more information on how to retrieve monitors, see Retrieving monitors.

+

To create the window at a specific position, make it initially invisible using the GLFW_VISIBLE window hint, set its position and then show it.

+

If a full screen window is active, the screensaver is prohibited from starting.

+
Parameters
+ + + + + + +
[in]widthThe desired width, in screen coordinates, of the window. This must be greater than zero.
[in]heightThe desired height, in screen coordinates, of the window. This must be greater than zero.
[in]titleThe initial, UTF-8 encoded window title.
[in]monitorThe monitor to use for full screen mode, or NULL to use windowed mode.
[in]shareThe window whose context to share resources with, or NULL to not share resources.
+
+
+
Returns
The handle of the created window, or NULL if an error occurred.
+
Remarks
Windows: Window creation will fail if the Microsoft GDI software OpenGL implementation is the only one available.
+
+Windows: If the executable has an icon resource named GLFW_ICON, it will be set as the icon for the window. If no such icon is present, the IDI_WINLOGO icon will be used instead.
+
+OS X: The GLFW window has no icon, as it is not a document window, but the dock icon will be the same as the application bundle's icon. Also, the first time a window is opened the menu bar is populated with common commands like Hide, Quit and About. The (minimal) about dialog uses information from the application's bundle. For more information on bundles, see the Bundle Programming Guide provided by Apple.
+
+X11: There is no mechanism for setting the window icon yet.
+
+The swap interval is not set during window creation, but is left at the default value for that platform. For more information, see glfwSwapInterval.
+
Note
This function may only be called from the main thread.
+
See also
glfwDestroyWindow
+ +
+
+ +

◆ glfwDefaultWindowHints()

+ +
+
+ + + + + + + + +
void glfwDefaultWindowHints (void )
+
+

This function resets all window hints to their default values.

+
Note
This function may only be called from the main thread.
+
See also
glfwWindowHint
+ +
+
+ +

◆ glfwDestroyWindow()

+ +
+
+ + + + + + + + +
void glfwDestroyWindow (GLFWwindowwindow)
+
+

This function destroys the specified window and its context. On calling this function, no further callbacks will be called for that window.

+
Parameters
+ + +
[in]windowThe window to destroy.
+
+
+
Note
This function may only be called from the main thread.
+
+This function may not be called from a callback.
+
+If the window's context is current on the main thread, it is detached before being destroyed.
+
Warning
The window's context must not be current on any other thread.
+
See also
glfwCreateWindow
+ +
+
+ +

◆ glfwGetFramebufferSize()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void glfwGetFramebufferSize (GLFWwindowwindow,
int * width,
int * height 
)
+
+

This function retrieves the size, in pixels, of the framebuffer of the specified window. If you wish to retrieve the size of the window in screen coordinates, see glfwGetWindowSize.

+
Parameters
+ + + + +
[in]windowThe window whose framebuffer to query.
[out]widthWhere to store the width, in pixels, of the framebuffer, or NULL.
[out]heightWhere to store the height, in pixels, of the framebuffer, or NULL.
+
+
+
See also
glfwSetFramebufferSizeCallback
+ +
+
+ +

◆ glfwGetWindowAttrib()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int glfwGetWindowAttrib (GLFWwindowwindow,
int attrib 
)
+
+

This function returns an attribute of the specified window. There are many attributes, some related to the window and others to its context.

+
Parameters
+ + + +
[in]windowThe window to query.
[in]attribThe window attribute whose value to return.
+
+
+
Returns
The value of the attribute, or zero if an error occurred.
+ +
+
+ +

◆ glfwGetWindowMonitor()

+ +
+
+ + + + + + + + +
GLFWmonitor* glfwGetWindowMonitor (GLFWwindowwindow)
+
+

This function returns the handle of the monitor that the specified window is in full screen on.

+
Parameters
+ + +
[in]windowThe window to query.
+
+
+
Returns
The monitor, or NULL if the window is in windowed mode.
+ +
+
+ +

◆ glfwGetWindowPos()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void glfwGetWindowPos (GLFWwindowwindow,
int * xpos,
int * ypos 
)
+
+

This function retrieves the position, in screen coordinates, of the upper-left corner of the client area of the specified window.

+
Parameters
+ + + + +
[in]windowThe window to query.
[out]xposWhere to store the x-coordinate of the upper-left corner of the client area, or NULL.
[out]yposWhere to store the y-coordinate of the upper-left corner of the client area, or NULL.
+
+
+
See also
glfwSetWindowPos
+ +
+
+ +

◆ glfwGetWindowSize()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void glfwGetWindowSize (GLFWwindowwindow,
int * width,
int * height 
)
+
+

This function retrieves the size, in screen coordinates, of the client area of the specified window. If you wish to retrieve the size of the framebuffer in pixels, see glfwGetFramebufferSize.

+
Parameters
+ + + + +
[in]windowThe window whose size to retrieve.
[out]widthWhere to store the width, in screen coordinates, of the client area, or NULL.
[out]heightWhere to store the height, in screen coordinates, of the client area, or NULL.
+
+
+
See also
glfwSetWindowSize
+ +
+
+ +

◆ glfwGetWindowUserPointer()

+ +
+
+ + + + + + + + +
void* glfwGetWindowUserPointer (GLFWwindowwindow)
+
+

This function returns the current value of the user-defined pointer of the specified window. The initial value is NULL.

+
Parameters
+ + +
[in]windowThe window whose pointer to return.
+
+
+
See also
glfwSetWindowUserPointer
+ +
+
+ +

◆ glfwHideWindow()

+ +
+
+ + + + + + + + +
void glfwHideWindow (GLFWwindowwindow)
+
+

This function hides the specified window, if it was previously visible. If the window is already hidden or is in full screen mode, this function does nothing.

+
Parameters
+ + +
[in]windowThe window to hide.
+
+
+
Note
This function may only be called from the main thread.
+
See also
glfwShowWindow
+ +
+
+ +

◆ glfwIconifyWindow()

+ +
+
+ + + + + + + + +
void glfwIconifyWindow (GLFWwindowwindow)
+
+

This function iconifies/minimizes the specified window, if it was previously restored. If it is a full screen window, the original monitor resolution is restored until the window is restored. If the window is already iconified, this function does nothing.

+
Parameters
+ + +
[in]windowThe window to iconify.
+
+
+
Note
This function may only be called from the main thread.
+
See also
glfwRestoreWindow
+ +
+
+ +

◆ glfwPollEvents()

+ +
+
+ + + + + + + + +
void glfwPollEvents (void )
+
+

This function processes only those events that have already been received and then returns immediately. Processing events will cause the window and input callbacks associated with those events to be called.

+

This function is not required for joystick input to work.

+
New in GLFW 3
This function is no longer called by glfwSwapBuffers. You need to call it or glfwWaitEvents yourself.
+
Remarks
On some platforms, a window move, resize or menu operation will cause event processing to block. This is due to how event processing is designed on those platforms. You can use the window refresh callback to redraw the contents of your window when necessary during the operation.
+
Note
This function may only be called from the main thread.
+
+This function may not be called from a callback.
+
+On some platforms, certain callbacks may be called outside of a call to one of the event processing functions.
+
See also
glfwWaitEvents
+ +
+
+ +

◆ glfwRestoreWindow()

+ +
+
+ + + + + + + + +
void glfwRestoreWindow (GLFWwindowwindow)
+
+

This function restores the specified window, if it was previously iconified/minimized. If it is a full screen window, the resolution chosen for the window is restored on the selected monitor. If the window is already restored, this function does nothing.

+
Parameters
+ + +
[in]windowThe window to restore.
+
+
+
Note
This function may only be called from the main thread.
+
See also
glfwIconifyWindow
+ +
+
+ +

◆ glfwSetFramebufferSizeCallback()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindowwindow,
GLFWframebuffersizefun cbfun 
)
+
+

This function sets the framebuffer resize callback of the specified window, which is called when the framebuffer of the specified window is resized.

+
Parameters
+ + + +
[in]windowThe window whose callback to set.
[in]cbfunThe new callback, or NULL to remove the currently set callback.
+
+
+
Returns
The previously set callback, or NULL if no callback was set or an error occurred.
+ +
+
+ +

◆ glfwSetWindowCloseCallback()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindowwindow,
GLFWwindowclosefun cbfun 
)
+
+

This function sets the close callback of the specified window, which is called when the user attempts to close the window, for example by clicking the close widget in the title bar.

+

The close flag is set before this callback is called, but you can modify it at any time with glfwSetWindowShouldClose.

+

The close callback is not triggered by glfwDestroyWindow.

+
Parameters
+ + + +
[in]windowThe window whose callback to set.
[in]cbfunThe new callback, or NULL to remove the currently set callback.
+
+
+
Returns
The previously set callback, or NULL if no callback was set or an error occurred.
+
New in GLFW 3
The close callback no longer returns a value.
+
Remarks
OS X: Selecting Quit from the application menu will trigger the close callback for all windows.
+ +
+
+ +

◆ glfwSetWindowFocusCallback()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindowwindow,
GLFWwindowfocusfun cbfun 
)
+
+

This function sets the focus callback of the specified window, which is called when the window gains or loses focus.

+

After the focus callback is called for a window that lost focus, synthetic key and mouse button release events will be generated for all such that had been pressed. For more information, see glfwSetKeyCallback and glfwSetMouseButtonCallback.

+
Parameters
+ + + +
[in]windowThe window whose callback to set.
[in]cbfunThe new callback, or NULL to remove the currently set callback.
+
+
+
Returns
The previously set callback, or NULL if no callback was set or an error occurred.
+ +
+
+ +

◆ glfwSetWindowIconifyCallback()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindowwindow,
GLFWwindowiconifyfun cbfun 
)
+
+

This function sets the iconification callback of the specified window, which is called when the window is iconified or restored.

+
Parameters
+ + + +
[in]windowThe window whose callback to set.
[in]cbfunThe new callback, or NULL to remove the currently set callback.
+
+
+
Returns
The previously set callback, or NULL if no callback was set or an error occurred.
+ +
+
+ +

◆ glfwSetWindowPos()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void glfwSetWindowPos (GLFWwindowwindow,
int xpos,
int ypos 
)
+
+

This function sets the position, in screen coordinates, of the upper-left corner of the client area of the window.

+

If the specified window is a full screen window, this function does nothing.

+

If you wish to set an initial window position you should create a hidden window (using glfwWindowHint and GLFW_VISIBLE), set its position and then show it.

+
Parameters
+ + + + +
[in]windowThe window to query.
[in]xposThe x-coordinate of the upper-left corner of the client area.
[in]yposThe y-coordinate of the upper-left corner of the client area.
+
+
+
Note
It is very rarely a good idea to move an already visible window, as it will confuse and annoy the user.
+
+This function may only be called from the main thread.
+
+The window manager may put limits on what positions are allowed.
+
See also
glfwGetWindowPos
+ +
+
+ +

◆ glfwSetWindowPosCallback()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindowwindow,
GLFWwindowposfun cbfun 
)
+
+

This function sets the position callback of the specified window, which is called when the window is moved. The callback is provided with the screen position of the upper-left corner of the client area of the window.

+
Parameters
+ + + +
[in]windowThe window whose callback to set.
[in]cbfunThe new callback, or NULL to remove the currently set callback.
+
+
+
Returns
The previously set callback, or NULL if no callback was set or an error occurred.
+ +
+
+ +

◆ glfwSetWindowRefreshCallback()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindowwindow,
GLFWwindowrefreshfun cbfun 
)
+
+

This function sets the refresh callback of the specified window, which is called when the client area of the window needs to be redrawn, for example if the window has been exposed after having been covered by another window.

+

On compositing window systems such as Aero, Compiz or Aqua, where the window contents are saved off-screen, this callback may be called only very infrequently or never at all.

+
Parameters
+ + + +
[in]windowThe window whose callback to set.
[in]cbfunThe new callback, or NULL to remove the currently set callback.
+
+
+
Returns
The previously set callback, or NULL if no callback was set or an error occurred.
+
Note
On compositing window systems such as Aero, Compiz or Aqua, where the window contents are saved off-screen, this callback may be called only very infrequently or never at all.
+ +
+
+ +

◆ glfwSetWindowShouldClose()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void glfwSetWindowShouldClose (GLFWwindowwindow,
int value 
)
+
+

This function sets the value of the close flag of the specified window. This can be used to override the user's attempt to close the window, or to signal that it should be closed.

+
Parameters
+ + + +
[in]windowThe window whose flag to change.
[in]valueThe new value.
+
+
+
Remarks
This function may be called from secondary threads.
+ +
+
+ +

◆ glfwSetWindowSize()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void glfwSetWindowSize (GLFWwindowwindow,
int width,
int height 
)
+
+

This function sets the size, in screen coordinates, of the client area of the specified window.

+

For full screen windows, this function selects and switches to the resolution closest to the specified size, without affecting the window's context. As the context is unaffected, the bit depths of the framebuffer remain unchanged.

+
Parameters
+ + + + +
[in]windowThe window to resize.
[in]widthThe desired width of the specified window.
[in]heightThe desired height of the specified window.
+
+
+
Note
This function may only be called from the main thread.
+
+The window manager may put limits on what window sizes are allowed.
+
See also
glfwGetWindowSize
+ +
+
+ +

◆ glfwSetWindowSizeCallback()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindowwindow,
GLFWwindowsizefun cbfun 
)
+
+

This function sets the size callback of the specified window, which is called when the window is resized. The callback is provided with the size, in screen coordinates, of the client area of the window.

+
Parameters
+ + + +
[in]windowThe window whose callback to set.
[in]cbfunThe new callback, or NULL to remove the currently set callback.
+
+
+
Returns
The previously set callback, or NULL if no callback was set or an error occurred.
+ +
+
+ +

◆ glfwSetWindowTitle()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void glfwSetWindowTitle (GLFWwindowwindow,
const char * title 
)
+
+

This function sets the window title, encoded as UTF-8, of the specified window.

+
Parameters
+ + + +
[in]windowThe window whose title to change.
[in]titleThe UTF-8 encoded window title.
+
+
+
Note
This function may only be called from the main thread.
+ +
+
+ +

◆ glfwSetWindowUserPointer()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void glfwSetWindowUserPointer (GLFWwindowwindow,
void * pointer 
)
+
+

This function sets the user-defined pointer of the specified window. The current value is retained until the window is destroyed. The initial value is NULL.

+
Parameters
+ + + +
[in]windowThe window whose pointer to set.
[in]pointerThe new value.
+
+
+
See also
glfwGetWindowUserPointer
+ +
+
+ +

◆ glfwShowWindow()

+ +
+
+ + + + + + + + +
void glfwShowWindow (GLFWwindowwindow)
+
+

This function makes the specified window visible, if it was previously hidden. If the window is already visible or is in full screen mode, this function does nothing.

+
Parameters
+ + +
[in]windowThe window to make visible.
+
+
+
Note
This function may only be called from the main thread.
+
See also
glfwHideWindow
+ +
+
+ +

◆ glfwWaitEvents()

+ +
+
+ + + + + + + + +
void glfwWaitEvents (void )
+
+

This function puts the calling thread to sleep until at least one event has been received. Once one or more events have been received, it behaves as if glfwPollEvents was called, i.e. the events are processed and the function then returns immediately. Processing events will cause the window and input callbacks associated with those events to be called.

+

Since not all events are associated with callbacks, this function may return without a callback having been called even if you are monitoring all callbacks.

+

This function is not required for joystick input to work.

+
Remarks
On some platforms, a window move, resize or menu operation will cause event processing to block. This is due to how event processing is designed on those platforms. You can use the window refresh callback to redraw the contents of your window when necessary during the operation.
+
Note
This function may only be called from the main thread.
+
+This function may not be called from a callback.
+
+On some platforms, certain callbacks may be called outside of a call to one of the event processing functions.
+
See also
glfwPollEvents
+ +
+
+ +

◆ glfwWindowHint()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void glfwWindowHint (int target,
int hint 
)
+
+

This function sets hints for the next call to glfwCreateWindow. The hints, once set, retain their values until changed by a call to glfwWindowHint or glfwDefaultWindowHints, or until the library is terminated with glfwTerminate.

+
Parameters
+ + + +
[in]targetThe window hint to set.
[in]hintThe new value of the window hint.
+
+
+
New in GLFW 3
Hints are no longer reset to their default values on window creation. To set default hint values, use glfwDefaultWindowHints.
+
Note
This function may only be called from the main thread.
+
See also
glfwDefaultWindowHints
+ +
+
+ +

◆ glfwWindowShouldClose()

+ +
+
+ + + + + + + + +
int glfwWindowShouldClose (GLFWwindowwindow)
+
+

This function returns the value of the close flag of the specified window.

+
Parameters
+ + +
[in]windowThe window to query.
+
+
+
Returns
The value of the close flag.
+
Remarks
This function may be called from secondary threads.
+ +
+
+
+ + + diff --git a/docs/3.0/index.html b/docs/3.0/index.html new file mode 100644 index 0000000..28820da --- /dev/null +++ b/docs/3.0/index.html @@ -0,0 +1,75 @@ + + + + + + +GLFW: Main Page + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + +
+ +
+ +
+

+Introduction

+

GLFW is a free, Open Source, multi-platform library for opening a window, creating an OpenGL context and managing input. It is easy to integrate into existing applications and does not lay claim to the main loop.

+

This is the documentation for version 3.0, which has many new features.

+

There is a quick tutorial for people new to GLFW, which shows how to write a small but complete program, and guides for compiling GLFW and building programs that use GLFW.

+

If you have used GLFW 2.x in the past, there is a transition guide that explains what has changed and how to update existing code to use the new API.

+
+ + + diff --git a/docs/3.0/jquery.js b/docs/3.0/jquery.js new file mode 100644 index 0000000..2771c74 --- /dev/null +++ b/docs/3.0/jquery.js @@ -0,0 +1,115 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +/*! + * jQuery JavaScript Library v1.7.1 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Mon Nov 21 21:11:03 2011 -0500 + */ +(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
t
";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); +/*! + * Sizzle CSS Selector Engine + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
","
"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/*! + * jQuery UI 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI + */ +(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/*! + * jQuery UI Widget 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Widget + */ +(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/*! + * jQuery UI Mouse 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Mouse + * + * Depends: + * jquery.ui.widget.js + */ +(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*! + * jQuery hashchange event - v1.3 - 7/21/2010 + * http://benalman.com/projects/jquery-hashchange-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$(' + + + +
+
+
main.dox File Reference
+
+
+
+ + + diff --git a/docs/3.0/menu.js b/docs/3.0/menu.js new file mode 100644 index 0000000..89aaf57 --- /dev/null +++ b/docs/3.0/menu.js @@ -0,0 +1,50 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { + function makeTree(data,relPath) { + var result=''; + if ('children' in data) { + result+=''; + } + return result; + } + + $('#main-nav').append(makeTree(menudata,relPath)); + $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); + if (searchEnabled) { + if (serverSide) { + $('#main-menu').append('
  • '); + } else { + $('#main-menu').append('
  • '); + } + } + $('#main-menu').smartmenus(); +} +/* @license-end */ diff --git a/docs/3.0/menudata.js b/docs/3.0/menudata.js new file mode 100644 index 0000000..44fcb14 --- /dev/null +++ b/docs/3.0/menudata.js @@ -0,0 +1,91 @@ +/* +@ @licstart The following is the entire license notice for the +JavaScript code in this file. + +Copyright (C) 1997-2017 by Dimitri van Heesch + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +@licend The above is the entire license notice +for the JavaScript code in this file +*/ +var menudata={children:[ +{text:"Main Page",url:"index.html"}, +{text:"Related Pages",url:"pages.html"}, +{text:"Modules",url:"modules.html"}, +{text:"Data Structures",url:"annotated.html",children:[ +{text:"Data Structures",url:"annotated.html"}, +{text:"Data Structure Index",url:"classes.html"}, +{text:"Data Fields",url:"functions.html",children:[ +{text:"All",url:"functions.html"}, +{text:"Variables",url:"functions_vars.html"}]}]}, +{text:"Files",url:"files.html",children:[ +{text:"File List",url:"files.html"}, +{text:"Globals",url:"globals.html",children:[ +{text:"All",url:"globals.html",children:[ +{text:"a",url:"globals.html#index_a"}, +{text:"b",url:"globals_b.html#index_b"}, +{text:"c",url:"globals_c.html#index_c"}, +{text:"d",url:"globals_d.html#index_d"}, +{text:"e",url:"globals_e.html#index_e"}, +{text:"f",url:"globals_f.html#index_f"}, +{text:"g",url:"globals_g.html#index_g"}, +{text:"h",url:"globals_h.html#index_h"}, +{text:"i",url:"globals_i.html#index_i"}, +{text:"j",url:"globals_j.html#index_j"}, +{text:"k",url:"globals_k.html#index_k"}, +{text:"l",url:"globals_l.html#index_l"}, +{text:"m",url:"globals_m.html#index_m"}, +{text:"n",url:"globals_n.html#index_n"}, +{text:"o",url:"globals_o.html#index_o"}, +{text:"p",url:"globals_p.html#index_p"}, +{text:"r",url:"globals_r.html#index_r"}, +{text:"s",url:"globals_s.html#index_s"}, +{text:"t",url:"globals_t.html#index_t"}, +{text:"v",url:"globals_v.html#index_v"}, +{text:"w",url:"globals_w.html#index_w"}]}, +{text:"Functions",url:"globals_func.html",children:[ +{text:"c",url:"globals_func.html#index_c"}, +{text:"d",url:"globals_func.html#index_d"}, +{text:"e",url:"globals_func.html#index_e"}, +{text:"g",url:"globals_func.html#index_g"}, +{text:"h",url:"globals_func.html#index_h"}, +{text:"i",url:"globals_func.html#index_i"}, +{text:"j",url:"globals_func.html#index_j"}, +{text:"m",url:"globals_func.html#index_m"}, +{text:"p",url:"globals_func.html#index_p"}, +{text:"r",url:"globals_func.html#index_r"}, +{text:"s",url:"globals_func.html#index_s"}, +{text:"t",url:"globals_func.html#index_t"}, +{text:"w",url:"globals_func.html#index_w"}]}, +{text:"Typedefs",url:"globals_type.html"}, +{text:"Macros",url:"globals_defs.html",children:[ +{text:"a",url:"globals_defs.html#index_a"}, +{text:"b",url:"globals_defs_b.html#index_b"}, +{text:"c",url:"globals_defs_c.html#index_c"}, +{text:"d",url:"globals_defs_d.html#index_d"}, +{text:"f",url:"globals_defs_f.html#index_f"}, +{text:"g",url:"globals_defs_g.html#index_g"}, +{text:"i",url:"globals_defs_i.html#index_i"}, +{text:"j",url:"globals_defs_j.html#index_j"}, +{text:"k",url:"globals_defs_k.html#index_k"}, +{text:"l",url:"globals_defs_l.html#index_l"}, +{text:"m",url:"globals_defs_m.html#index_m"}, +{text:"n",url:"globals_defs_n.html#index_n"}, +{text:"o",url:"globals_defs_o.html#index_o"}, +{text:"p",url:"globals_defs_p.html#index_p"}, +{text:"r",url:"globals_defs_r.html#index_r"}, +{text:"s",url:"globals_defs_s.html#index_s"}, +{text:"v",url:"globals_defs_v.html#index_v"}]}]}]}]} diff --git a/docs/3.0/modules.html b/docs/3.0/modules.html new file mode 100644 index 0000000..883a425 --- /dev/null +++ b/docs/3.0/modules.html @@ -0,0 +1,91 @@ + + + + + + +GLFW: Modules + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Modules
    +
    +
    +
    Here is a list of all modules:
    +
    [detail level 12]
    + + + + + + + + + + + + + + +
     Clipboard support
     Context handling
     Error handling
     Error codes
     Initialization and version information
     Input handling
     Joysticks
     Keyboard keys
     Modifier key flags
     Mouse buttons
     Monitor handling
     Native access
     Time input
     Window handling
    + + + + + diff --git a/docs/3.0/monitor.html b/docs/3.0/monitor.html new file mode 100644 index 0000000..325419b --- /dev/null +++ b/docs/3.0/monitor.html @@ -0,0 +1,107 @@ + + + + + + +GLFW: Multi-monitor guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Multi-monitor guide
    +
    +
    + +

    +Monitor objects

    +

    The GLFWmonitor object represents a currently connected monitor.

    +

    +Retrieving monitors

    +

    The primary monitor is returned by glfwGetPrimaryMonitor. It is usually the user's preferred monitor and the one with global UI elements like task bar or menu bar.

    +

    You can retrieve all currently connected monitors with glfwGetMonitors.

    +
    int count;
    GLFWmonitor** monitors = glfwGetMonitors(&count);

    +Retrieving video modes

    +

    Although GLFW generally does a good job at selecting a suitable video mode for you when you open a full screen window, it is sometimes useful to know exactly which modes are available on a certain system. For example, you may want to present the user with a list of video modes to select from. To get a list of available video modes, you can use the function glfwGetVideoModes.

    +
    int count;
    GLFWvidmode* modes = glfwGetVideoModes(monitor, &count);

    To get the current video mode of a monitor call glfwGetVideoMode.

    +
    const GLFWvidmode* mode = glfwGetVideoMode(monitor);

    +Monitor physical size

    +

    The physical size in millimetres of a monitor, or an approximation of it, can be retrieved with glfwGetMonitorPhysicalSize.
    +

    int widthMM, heightMM;
    glfwGetMonitorPhysicalSize(monitor, &widthMM, &heightMM);

    This can, for example, be used together with the current video mode to calculate the DPI of a monitor.

    +
    const double dpi = mode->width / (widthMM / 25.4);

    +Monitor name

    +

    The name of a monitor is returned by glfwGetMonitorName.

    +
    const char* name = glfwGetMonitorName(monitor);

    The monitor name is a regular C string using the UTF-8 encoding. Note that monitor names are not guaranteed to be unique.
    +

    +

    +Monitor gamma ramp

    +

    The gamma ramp of a monitor can be set with glfwSetGammaRamp, which accepts a monitor handle and a pointer to a GLFWgammaramp structure.

    +
    glfwSetGammaRamp(monitor, &ramp);

    The current gamma ramp for a monitor is returned by glfwGetGammaRamp.

    +
    const GLFWgammaramp* ramp = glfwGetGammaRamp(monitor);

    If you wish to set a regular gamma ramp, you can have GLFW calculate it for you from the desired exponent with glfwSetGamma, which in turn calls glfwSetGammaRamp with the resulting ramp.

    +
    glfwSetGamma(monitor, 1.0);
    + + + diff --git a/docs/3.0/monitor_8dox.html b/docs/3.0/monitor_8dox.html new file mode 100644 index 0000000..86aa05b --- /dev/null +++ b/docs/3.0/monitor_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: monitor.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    monitor.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.0/moving.html b/docs/3.0/moving.html new file mode 100644 index 0000000..3bdfd11 --- /dev/null +++ b/docs/3.0/moving.html @@ -0,0 +1,273 @@ + + + + + + +GLFW: Moving from GLFW 2 to 3 + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Moving from GLFW 2 to 3
    +
    +
    + +

    This is a transition guide for moving from GLFW 2 to 3. It describes what has changed or been removed, but does not include new features unless they are required when moving an existing code base onto the new API. For example, use of the new multi-monitor functions are required to create full screen windows with GLFW 3.

    +

    +Removed features

    +

    +Threading functions

    +

    The threading functions have been removed, including the sleep function. They were fairly primitive, under-used, poorly integrated and took time away from the focus of GLFW (i.e. context, input and window). There are better threading libraries available and native threading support is available in both C++11 and C11, both of which are gaining traction.

    +

    If you wish to use the C++11 or C11 facilities but your compiler doesn't yet support them, see the TinyThread++ and TinyCThread projects created by the original author of GLFW. These libraries implement a usable subset of the threading APIs in C++11 and C11, and in fact some GLFW 3 test programs use TinyCThread.

    +

    However, GLFW 3 has better support for use from multiple threads than GLFW 2 had. Contexts can be made current on and rendered with from secondary threads, and the documentation explicitly states which functions may be used from secondary threads and which may only be used from the main thread, i.e. the thread that calls main.

    +

    +Image and texture loading

    +

    The image and texture loading functions have been removed. They only supported the Targa image format, making them mostly useful for beginner level examples. To become of sufficiently high quality to warrant keeping them in GLFW 3, they would need not only to support other formats, but also modern extensions to the OpenGL texturing facilities. This would either add a number of external dependencies (libjpeg, libpng, etc.), or force GLFW to ship with inline versions of these libraries.

    +

    As there already are libraries doing this, it seems unnecessary both to duplicate this work and to tie this duplicate to GLFW. Projects similar to GLFW, such as freeglut, could also gain from such a library. Also, would be no platform-specific part of such a library, as both OpenGL and stdio are available wherever GLFW is.

    +

    +Character actions

    +

    The action parameter of the character callback has been removed. This was an artefact of the origin of GLFW, i.e. being developed in English by a Swede. However, many keyboard layouts require more than one key to produce characters with diacritical marks. Even the Swedish keyboard layout requires this for uncommon cases like ü.

    +

    Note that this is only the removal of the action parameter of the character callback, not the removal of the character callback itself.

    +

    +Mouse wheel position

    +

    The glfwGetMouseWheel function has been removed. Scroll events do not represent an absolute state, but is instead an interpretation of a relative change in state, like character input. So, like character input, there is no sane 'current state' to return. The mouse wheel callback has been replaced by a scroll callback that receives two-dimensional scroll offsets.

    +

    +GLFWCALL macro

    +

    The GLFWCALL macro, which made callback functions use __stdcall on Windows, has been removed. GLFW is written in C, not Pascal. Removing this macro means there's one less thing for users of GLFW to remember, i.e. the requirement to mark all callback functions with GLFWCALL. It also simplifies the creation of DLLs and DLL link libraries, as there's no need to explicitly disable @n entry point suffixes.

    +

    +Win32 MBCS support

    +

    The Win32 port of GLFW 3 will not compile in MBCS mode. However, because the use of the Unicode version of the Win32 API doesn't affect the process as a whole, but only those windows created using it, it's perfectly possible to call MBCS functions from other parts of the same application. Therefore, even if an application using GLFW has MBCS mode code, there's no need for GLFW itself to support it.

    +

    +Support for versions of Windows older than XP

    +

    All explicit support for version of Windows older than XP has been removed. There is no code that actively prevents GLFW 3 from running on these earlier versions, but it uses Win32 functions that those versions lack.

    +

    Windows XP was released in 2001, and by now (2013) it has not only replaced almost all earlier versions of Windows, but is itself rapidly being replaced by Windows 7 and 8. The MSDN library doesn't even provide documentation for version older than Windows 2000, making it difficult to maintain compatibility with these versions even if it was deemed worth the effort.

    +

    The Win32 API has also not stood still, and GLFW 3 uses many functions only present on Windows XP or later. Even supporting an OS as new as XP (new from the perspective of GLFW 2, which still supports Windows 95) requires runtime checking for a number of functions that are present only on modern version of Windows.

    +

    +Capture of system-wide hotkeys

    +

    The ability to disable and capture system-wide hotkeys like Alt+Tab has been removed. Modern applications, whether they're games, scientific visualisations or something else, are nowadays expected to be good desktop citizens and allow these hotkeys to function even when running in full screen mode.

    +

    +Window open parameter

    +

    The GLFW_OPENED window parameter has been removed. As long as the window object is around, the window is "open". To detect when the user attempts to close the window, see glfwWindowShouldClose and the close callback.

    +

    +Automatic polling of events

    +

    GLFW 3 does not automatically poll for events on glfwSwapBuffers, which means you need to call glfwPollEvents or glfwWaitEvents yourself. Unlike buffer swap, the event processing functions act on all windows at once.

    +

    +Automatic termination

    +

    GLFW 3 does not register glfwTerminate with atexit at initialization. To properly release all resources allocated by GLFW, you should therefore call glfwTerminate yourself before exiting.

    +

    +GLU header inclusion

    +

    GLFW 3 does not include the GLU header by default and GLU itself has been deprecated, but you can request that the GLFW 3 header includes it by defining GLFW_INCLUDE_GLU before the inclusion of the GLFW 3 header.

    +

    +Changes to existing features

    +

    +Window handles

    +

    Because GLFW 3 supports multiple windows, window handle parameters have been added to all window-related GLFW functions and callbacks. The handle of a newly created window is returned by glfwCreateWindow (formerly glfwOpenWindow). Window handles are of the GLFWwindow* type, i.e. a pointer to an opaque struct.

    +

    +Multi-monitor support

    +

    GLFW 3 provides support for multiple monitors, adding the GLFWmonitor* handle type and a set of related functions. To request a full screen mode window, instead of passing GLFW_FULLSCREEN you specify which monitor you wish the window to use. There is glfwGetPrimaryMonitor that provides behaviour similar to that of GLFW 2.

    +

    +Window closing

    +

    Window closing initiated by the user is now just an event like any other. Unlike GLFW 2, windows and contexts created with GLFW 3 will not disappear from underfoot. Each window now has a close flag, which is set when the user attempts to close it. By default, nothing else happens and the window stays open and visible. It is then up to you to either destroy the window, take some other action or simply ignore the request. You can query the close flag at any time with glfwWindowShouldClose and set it at any time with glfwSetWindowShouldClose.

    +

    The close callback no longer returns a value. Instead, it is called after the close flag has been set so it can override its value, if it chooses to, before event processing completes. You may however not call glfwDestroyWindow from the close callback (or any other window related callback).

    +

    GLFW itself never clears the close flag, allowing you to set it for other reasons for the window to close as well, for example the user choosing Quit from the main menu.

    +

    +Explicit context management

    +

    Each GLFW 3 window has its own OpenGL context and only you, the user, can know which context should be current on which thread at any given time. Therefore, GLFW 3 makes no assumptions about when you want a certain context to be current, leaving that decision to you.

    +

    This means, among other things, that you need to call glfwMakeContextCurrent after creating a window before you can call any OpenGL functions.

    +

    +Key repeat

    +

    The GLFW_KEY_REPEAT enable has been removed and key repeat is always enabled for both keys and characters. A new key action, GLFW_REPEAT, has been added to allow the key callback to distinguish an initial key press from a repeat. Note that glfwGetKey still returns only GLFW_PRESS or GLFW_RELEASE.

    +

    +Physical key input

    +

    GLFW 3 key tokens map to physical keys, unlike in GLFW 2 where they mapped to the values generated by the current keyboard layout. The tokens are named according to the values they would have using the standard US layout, but this is only a convenience, as most programmers are assumed to know that layout. This means that (for example) GLFW_KEY_LEFT_BRACKET is always a single key and is the same key in the same place regardless of what keyboard layouts the users of your program has.

    +

    The key input facility was never meant for text input, although using it that way worked slightly better in GLFW 2. If you were using it to input text, you should be using the character callback instead, on both GLFW 2 and 3. This will give you the characters being input, as opposed to the keys being pressed.

    +

    GLFW 3 has key tokens for all keys on a standard 105 key keyboard, so instead of having to remember whether to check for ‘'a’or'A', you now check for GLFW_KEY_A`.

    +

    +Joystick input

    +

    The glfwGetJoystickPos function has been renamed to glfwGetJoystickAxes.

    +

    The glfwGetJoystickParam function and the GLFW_PRESENT, GLFW_AXES and GLFW_BUTTONS tokens have been replaced by the glfwJoystickPresent function as well as axis and button counts returned by the glfwGetJoystickAxes and glfwGetJoystickButtons functions.

    +

    +Video mode enumeration

    +

    Video mode enumeration is now per-monitor. The glfwGetVideoModes function now returns all available modes for a specific monitor instead of requiring you to guess how large an array you need. The glfwGetDesktopMode function, which had poorly defined behavior, has been replaced by glfwGetVideoMode, which returns the current mode of a monitor.

    +

    +Cursor positioning

    +

    GLFW 3 only allows you to position the cursor within a window using glfwSetCursorPos (formerly glfwSetMousePos) when that window is active. Unless the window is active, the function fails silently.

    +

    +Persistent window hints

    +

    Window hints are no longer reset to their default values on window creation, but instead retain their values until modified by glfwWindowHint (formerly glfwOpenWindowHint) or glfwDefaultWindowHints, or until the library is terminated and re-initialized.

    +

    +Name changes

    +

    +Library and header file

    +

    The GLFW 3 header is named glfw3.h and moved to the GLFW directory, to avoid collisions with the headers of other major versions. Similarly, the GLFW 3 library is named glfw3, except when it's installed as a shared library on Unix-like systems, where it uses the soname libglfw.so.3.

    +

    +Functions

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFW 2 GLFW 3 Notes
    glfwOpenWindow glfwCreateWindow All channel bit depths are now hints
    glfwCloseWindow glfwDestroyWindow
    glfwOpenWindowHint glfwWindowHint Now accepts all GLFW_*_BITS tokens
    glfwEnable glfwSetInputMode
    glfwDisable glfwSetInputMode
    glfwGetMousePos glfwGetCursorPos
    glfwSetMousePos glfwSetCursorPos
    glfwSetMousePosCallback glfwSetCursorPosCallback
    glfwSetMouseWheelCallback glfwSetScrollCallback Accepts two-dimensional scroll offsets as doubles
    glfwGetJoystickPos glfwGetJoystickAxes
    glfwGetWindowParam glfwGetWindowAttrib
    glfwGetGLVersion glfwGetWindowAttrib Use GLFW_CONTEXT_VERSION_MAJOR, GLFW_CONTEXT_VERSION_MINOR and GLFW_CONTEXT_REVISION
    glfwGetDesktopMode glfwGetVideoMode Returns the current mode of a monitor
    glfwGetJoystickParam glfwJoystickPresent The axis and button counts are provided by glfwGetJoystickAxes and glfwGetJoystickButtons
    +

    +Tokens

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFW 2 GLFW 3 Notes
    GLFW_OPENGL_VERSION_MAJOR GLFW_CONTEXT_VERSION_MAJOR Renamed as it applies to OpenGL ES as well
    GLFW_OPENGL_VERSION_MINOR GLFW_CONTEXT_VERSION_MINOR Renamed as it applies to OpenGL ES as well
    GLFW_FSAA_SAMPLES GLFW_SAMPLES Renamed to match the OpenGL API
    GLFW_ACTIVE GLFW_FOCUSED Renamed to match the window focus callback
    GLFW_WINDOW_NO_RESIZE GLFW_RESIZABLE The default has been inverted
    GLFW_MOUSE_CURSOR GLFW_CURSOR Used with glfwSetInputMode
    GLFW_KEY_ESC GLFW_KEY_ESCAPE
    GLFW_KEY_DEL GLFW_KEY_DELETE
    GLFW_KEY_PAGEUP GLFW_KEY_PAGE_UP
    GLFW_KEY_PAGEDOWN GLFW_KEY_PAGE_DOWN
    GLFW_KEY_KP_NUM_LOCK GLFW_KEY_NUM_LOCK
    GLFW_KEY_LCTRL GLFW_KEY_LEFT_CONTROL
    GLFW_KEY_LSHIFT GLFW_KEY_LEFT_SHIFT
    GLFW_KEY_LALT GLFW_KEY_LEFT_ALT
    GLFW_KEY_LSUPER GLFW_KEY_LEFT_SUPER
    GLFW_KEY_RCTRL GLFW_KEY_RIGHT_CONTROL
    GLFW_KEY_RSHIFT GLFW_KEY_RIGHT_SHIFT
    GLFW_KEY_RALT GLFW_KEY_RIGHT_ALT
    GLFW_KEY_RSUPER GLFW_KEY_RIGHT_SUPER
    +
    + + + diff --git a/docs/3.0/moving_8dox.html b/docs/3.0/moving_8dox.html new file mode 100644 index 0000000..79a38e0 --- /dev/null +++ b/docs/3.0/moving_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: moving.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    moving.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.0/nav_f.png b/docs/3.0/nav_f.png new file mode 100644 index 0000000000000000000000000000000000000000..72a58a529ed3a9ed6aa0c51a79cf207e026deee2 GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQVE_ejv*C{Z|{2ZH7M}7UYxc) zn!W8uqtnIQ>_z8U literal 0 HcmV?d00001 diff --git a/docs/3.0/nav_g.png b/docs/3.0/nav_g.png new file mode 100644 index 0000000000000000000000000000000000000000..2093a237a94f6c83e19ec6e5fd42f7ddabdafa81 GIT binary patch literal 95 zcmeAS@N?(olHy`uVBq!ia0vp^j6lrB!3HFm1ilyoDK$?Q$B+ufw|5PB85lU25BhtE tr?otc=hd~V+ws&_A@j8Fiv!KF$B+ufw|5=67#uj90@pIL wZ=Q8~_Ju`#59=RjDrmm`tMD@M=!-l18IR?&vFVdQ&MBb@0HFXL + + + + + +GLFW: New features + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    New features
    +
    +
    + +

    +New features in version 3.0

    +

    +CMake build system

    +

    GLFW now uses the CMake build system instead of the various makefiles and project files used by earlier versions. CMake is available for all platforms supported by GLFW, is present in most package systems and can generate makefiles and/or project files for most popular development environments.

    +

    For more information on how to use CMake, see the CMake manual.

    +

    +Multi-window support

    +

    GLFW now supports the creation of multiple windows, each with their own OpenGL or OpenGL ES context, and all window functions now take a window handle. Event callbacks are now per-window and are provided with the handle of the window that received the event. The glfwMakeContextCurrent function has been added to select which context is current on a given thread.

    +

    +Multi-monitor support

    +

    GLFW now explicitly supports multiple monitors. They can be enumerated with glfwGetMonitors, queried with glfwGetVideoModes, glfwGetMonitorPos, glfwGetMonitorName and glfwGetMonitorPhysicalSize, and specified at window creation to make the newly created window full screen on that specific monitor.

    +

    +Unicode support

    +

    All string arguments to GLFW functions and all strings returned by GLFW now use the UTF-8 encoding. This includes the window title, error string, clipboard text, monitor and joystick names as well as the extension function arguments (as ASCII is a subset of UTF-8).

    +

    +Clipboard text I/O

    +

    GLFW now supports reading and writing plain text to and from the system clipboard, with the glfwGetClipboardString and glfwSetClipboardString functions.

    +

    +Gamma ramp support

    +

    GLFW now supports setting and reading back the gamma ramp of monitors, with the glfwGetGammaRamp and glfwSetGammaRamp functions. There is also glfwSetGamma, which generates a ramp from a gamma value and then sets it.

    +

    +OpenGL ES support

    +

    GLFW now supports the creation of OpenGL ES contexts, by setting the GLFW_CLIENT_API window hint to GLFW_OPENGL_ES_API, where creation of such contexts are supported. Note that GLFW does not implement OpenGL ES, so your driver must provide support in a way usable by GLFW. Modern nVidia and Intel drivers support creation of OpenGL ES context using the GLX and WGL APIs, while AMD provides an EGL implementation instead.

    +

    +(Experimental) EGL support

    +

    GLFW now has an experimental EGL context creation back end that can be selected through CMake options.

    +

    +High-DPI support

    +

    GLFW now supports high-DPI monitors on both Windows and OS X, giving windows full resolution framebuffers where other UI elements are scaled up. To achieve this, glfwGetFramebufferSize and glfwSetFramebufferSizeCallback have been added. These work with pixels, while the rest of the GLFW API works with screen coordinates.

    +

    +Error callback

    +

    GLFW now has an error callback, which can provide your application with much more detailed diagnostics than was previously possible. The callback is passed an error code and a description string.

    +

    +Per-window user pointer

    +

    Each window now has a user-defined pointer, retrieved with glfwGetWindowUserPointer and set with glfwSetWindowUserPointer, to make it easier to integrate GLFW into C++ code.

    +

    +Window iconification callback

    +

    Each window now has a callback for iconification and restoration events, which is set with glfwSetWindowIconifyCallback.

    +

    +Window position callback

    +

    Each window now has a callback for position events, which is set with glfwSetWindowPosCallback.

    +

    +Window position query

    +

    The position of a window can now be retrieved using glfwGetWindowPos.

    +

    +Window focus callback

    +

    Each windows now has a callback for focus events, which is set with glfwSetWindowFocusCallback.

    +

    +Cursor enter/leave callback

    +

    Each window now has a callback for when the mouse cursor enters or leaves its client area, which is set with glfwSetCursorEnterCallback.

    +

    +Initial window title

    +

    The title of a window is now specified at creation time, as one of the arguments to glfwCreateWindow.

    +

    +Hidden windows

    +

    Windows can now be hidden with glfwHideWindow, shown using glfwShowWindow and created initially hidden with the GLFW_VISIBLE window hint. This allows for off-screen rendering in a way compatible with most drivers, as well as moving a window to a specific position before showing it.

    +

    +Undecorated windows

    +

    Windowed mode windows can now be created without decorations, i.e. things like a frame, a title bar, with the GLFW_DECORATED window hint. This allows for the creation of things like splash screens.

    +

    +Modifier key bit masks

    +

    Modifier key bit mask parameters have been added to the mouse button and key callbacks.

    +

    +Platform-specific scancodes

    +

    A scancode parameter has been added to the key callback. Keys that don't have a key token still get passed on with the key parameter set to GLFW_KEY_UNKNOWN. These scancodes will vary between machines and are intended to be used for key bindings.

    +

    +Joystick names

    +

    The name of a joystick can now be retrieved using glfwGetJoystickName.

    +

    +Doxygen documentation

    +

    You are reading it.

    +
    + + + diff --git a/docs/3.0/news_8dox.html b/docs/3.0/news_8dox.html new file mode 100644 index 0000000..2e46b94 --- /dev/null +++ b/docs/3.0/news_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: news.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    news.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.0/open.png b/docs/3.0/open.png new file mode 100644 index 0000000000000000000000000000000000000000..30f75c7efe2dd0c9e956e35b69777a02751f048b GIT binary patch literal 123 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{VPM$7~Ar*{o?;hlAFyLXmaDC0y znK1_#cQqJWPES%4Uujug^TE?jMft$}Eq^WaR~)%f)vSNs&gek&x%A9X9sM + + + + + +GLFW: Related Pages + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Related Pages
    +
    + + + + diff --git a/docs/3.0/quick.html b/docs/3.0/quick.html new file mode 100644 index 0000000..b546d3f --- /dev/null +++ b/docs/3.0/quick.html @@ -0,0 +1,156 @@ + + + + + + +GLFW: Getting started + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Getting started
    +
    +
    + +

    This guide will show how to write simple OpenGL applications using GLFW 3. It will introduce a few of the most commonly used functions, but there are many others. To see detailed documentation on any GLFW function, just click on its name.

    +

    This guide assumes no experience with earlier versions of GLFW. If you have used GLFW 2.x in the past, you should also read the transition guide.

    +

    +Including the GLFW header

    +

    In the files of your program where you use OpenGL or GLFW, you need to include the GLFW 3 header file.

    +
    #include <GLFW/glfw3.h>

    This defines all the constants, types and function prototypes of the GLFW API. It also includes the OpenGL header, and defines all the constants and types necessary for it to work on your platform.

    +

    For example, under Windows you are normally required to include windows.h before including GL/gl.h. This would make your source file tied to Windows and pollute your code's namespace with the whole Win32 API.

    +

    Instead, the GLFW header takes care of this for you, not by including windows.h, but rather by itself duplicating only the necessary parts of it. It does this only where needed, so if windows.h is included, the GLFW header does not try to redefine those symbols.

    +

    In other words:

    +
      +
    • Do not include the OpenGL headers yourself, as GLFW does this for you
    • +
    • Do not include windows.h or other platform-specific headers unless you plan on using those APIs directly
    • +
    • If you do need to include such headers, do it before including the GLFW one and it will detect this
    • +
    +

    Starting with version 3.0, the GLU header glu.h is no longer included by default. If you wish to include it, define GLFW_INCLUDE_GLU before the inclusion of the GLFW header.

    +
    #define GLFW_INCLUDE_GLU
    #include <GLFW/glfw3.h>

    +Initializing and terminating GLFW

    +

    Before you can use most GLFW functions, the library must be initialized. This is done with glfwInit, which returns non-zero if successful, or zero if an error occurred.

    +
    if (!glfwInit())
    exit(EXIT_FAILURE);

    When you are done using GLFW, typically at the very end of the program, you need to call glfwTerminate.

    +

    This destroys any remaining windows and releases any other resources allocated by GLFW. After this call, you must call glfwInit again before using any GLFW functions that require it.

    +

    +Setting an error callback

    +

    Most events are reported through callbacks, whether it's a key being pressed, a GLFW window being moved, or an error occurring. Callbacks are simply C functions (or C++ static methods) that are called by GLFW with arguments describing the event.

    +

    In case glfwInit or any other GLFW function fails, an error is reported to the GLFW error callback. You can receive these reports by setting the error callback. The callback function itself should match the signature of GLFWerrorfun. Here is a simple error callback that just prints the error description to stderr.

    +
    void error_callback(int error, const char* description)
    {
    fputs(description, stderr);
    }

    Setting the callback, so GLFW knows to call it, is done with glfwSetErrorCallback. This is one of the few GLFW functions that may be called before glfwInit, which lets you be notified of errors during initialization, so you should set it before you do anything else with GLFW.

    +
    glfwSetErrorCallback(error_callback);

    +Creating a window and context

    +

    The window (and its context) is created with glfwCreateWindow, which returns a handle to the created window. For example, this creates a 640 by 480 windowed mode window:

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", NULL, NULL);

    If window creation fails, NULL will be returned, so you need to check whether it did.

    +
    if (!window)
    {
    exit(EXIT_FAILURE);
    }

    This handle is then passed to all window related functions, and is provided to you along with input events, so you know which window received the input.

    +

    To create a full screen window, you need to specify which monitor the window should use. In most cases, the user's primary monitor is a good choice. You can get this with glfwGetPrimaryMonitor. To make the above window full screen, just pass along the monitor handle:

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", glfwGetPrimaryMonitor(), NULL);

    Full screen windows cover the entire display area of a monitor, have no border or decorations, and change the monitor's resolution to the one most closely matching the requested window size.

    +

    When you are done with the window, destroy it with the glfwDestroyWindow function.

    +

    Once this function is called, no more events will be delivered for that window and its handle becomes invalid.

    +

    +Making the OpenGL context current

    +

    Before you can use the OpenGL API, it must have a current OpenGL context. You make a window's context current with glfwMakeContextCurrent. It will then remain as the current context until you make another context current or until the window owning it is destroyed.

    +

    +Checking the window close flag

    +

    Each window has a flag indicating whether the window should be closed. This can be checked with glfwWindowShouldClose.
    + When the user attempts to close the window, either by pressing the close widget in the title bar or using a key combination like Alt+F4, this flag is set to 1. Note that the window isn't actually closed, so you are expected to monitor this flag and either destroy the window or give some kind of feedback to the user.

    +
    while (!glfwWindowShouldClose(window))
    {
    // Keep running
    }

    You can be notified when user is attempting to close the window by setting a close callback with glfwSetWindowCloseCallback. The callback will be called immediately after the close flag has been set.

    +

    You can also set it yourself with glfwSetWindowShouldClose. This can be useful if you want to interpret other kinds of input as closing the window, like for example pressing the escape key.

    +

    +Receiving input events

    +

    Each window has a large number of callbacks that can be set to receive all the various kinds of events. To receive key press and release events, a key callback is set using glfwSetKeyCallback.

    +
    static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
    {
    if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS)
    glfwSetWindowShouldClose(window, GL_TRUE);
    }

    For event callbacks to actually be called when an event occurs, you need to process events as described below.

    +

    +Rendering with OpenGL

    +

    Once you have a current OpenGL context, you can use OpenGL normally. In this tutorial, a multi-colored rotating triangle will be rendered. The framebuffer size, needed by this example for glViewport and glOrtho, is retrieved with glfwGetFramebufferSize.

    +
    int width, height;
    glfwGetFramebufferSize(window, &width, &height);
    glViewport(0, 0, width, height);

    However, you can also set a framebuffer size callback using glfwSetFramebufferSizeCallback and call glViewport from there.

    +
    void framebuffer_size_callback(GLFWwindow* window, int width, int height)
    {
    glViewport(0, 0, width, height);
    }

    +Reading the timer

    +

    For the triangle to rotate properly, a time source is needed. GLFW provides glfwGetTime, which returns the number of seconds since glfwInit as a double. The time source used is the most accurate on each platform and generally has micro- or nanosecond resolution.

    +
    double time = glfwGetTime();

    +Swapping buffers

    +

    GLFW windows always use double-buffering. That means that you have two rendering buffers; a front buffer and a back buffer. The front buffer is the one being displayed and the back buffer the one you render to.

    +

    When the entire frame has been rendered, it is time to swap the back and the front buffers in order to display the rendered frame, and begin rendering a new frame. This is done with glfwSwapBuffers.

    +

    +Processing events

    +

    GLFW needs to communicate regularly with the window system both in order to receive events and to show that it hasn't locked up. Event processing must be done regularly and is normally done each frame before rendering but after buffer swap.

    +

    There are two ways to process pending events. glfwPollEvents processes only those events that have already been received and then returns immediately. This is the best choice when rendering continually, like most games do.

    +

    If instead you only need to update your rendering once you have received new input, glfwWaitEvents is a better choice. It waits until at least one event has been received, putting the thread to sleep in the meantime, and then processes all received events just like glfwPollEvents does. This saves a great deal of CPU cycles and is useful for, for example, many kinds of editing tools.

    +

    +Putting it together: A small GLFW application

    +

    Now that you know how to initialize GLFW, create a window and poll for keyboard input, it's possible to create a simple program.

    +
    #include <GLFW/glfw3.h>
    #include <stdlib.h>
    #include <stdio.h>
    static void error_callback(int error, const char* description)
    {
    fputs(description, stderr);
    }
    static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
    {
    if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS)
    glfwSetWindowShouldClose(window, GL_TRUE);
    }
    int main(void)
    {
    GLFWwindow* window;
    glfwSetErrorCallback(error_callback);
    if (!glfwInit())
    exit(EXIT_FAILURE);
    window = glfwCreateWindow(640, 480, "Simple example", NULL, NULL);
    if (!window)
    {
    exit(EXIT_FAILURE);
    }
    glfwSetKeyCallback(window, key_callback);
    while (!glfwWindowShouldClose(window))
    {
    float ratio;
    int width, height;
    glfwGetFramebufferSize(window, &width, &height);
    ratio = width / (float) height;
    glViewport(0, 0, width, height);
    glClear(GL_COLOR_BUFFER_BIT);
    glMatrixMode(GL_PROJECTION);
    glLoadIdentity();
    glOrtho(-ratio, ratio, -1.f, 1.f, 1.f, -1.f);
    glMatrixMode(GL_MODELVIEW);
    glLoadIdentity();
    glRotatef((float) glfwGetTime() * 50.f, 0.f, 0.f, 1.f);
    glBegin(GL_TRIANGLES);
    glColor3f(1.f, 0.f, 0.f);
    glVertex3f(-0.6f, -0.4f, 0.f);
    glColor3f(0.f, 1.f, 0.f);
    glVertex3f(0.6f, -0.4f, 0.f);
    glColor3f(0.f, 0.f, 1.f);
    glVertex3f(0.f, 0.6f, 0.f);
    glEnd();
    glfwSwapBuffers(window);
    }
    exit(EXIT_SUCCESS);
    }

    This program creates a 640 by 480 windowed mode window and runs a loop clearing the screen, rendering a triangle and processing events until the user closes the window. It can be found in the source distribution as examples/simple.c, and is by default compiled along with all other examples when you build GLFW.

    +

    To learn more about how to compile and link programs that use GLFW, see Building programs that use GLFW.

    +
    + + + diff --git a/docs/3.0/quick_8dox.html b/docs/3.0/quick_8dox.html new file mode 100644 index 0000000..f9f698c --- /dev/null +++ b/docs/3.0/quick_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: quick.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    quick.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.0/search/all_0.html b/docs/3.0/search/all_0.html new file mode 100644 index 0000000..5125b94 --- /dev/null +++ b/docs/3.0/search/all_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/all_0.js b/docs/3.0/search/all_0.js new file mode 100644 index 0000000..9ddf376 --- /dev/null +++ b/docs/3.0/search/all_0.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['blue',['blue',['../structGLFWgammaramp.html#acf0c836d0efe29c392fe8d1a1042744b',1,'GLFWgammaramp']]], + ['bluebits',['blueBits',['../structGLFWvidmode.html#af310977f58d2e3b188175b6e3d314047',1,'GLFWvidmode']]], + ['bug_20list',['Bug List',['../bug.html',1,'']]], + ['building_20programs_20that_20use_20glfw',['Building programs that use GLFW',['../build.html',1,'']]], + ['build_2edox',['build.dox',['../build_8dox.html',1,'']]] +]; diff --git a/docs/3.0/search/all_1.html b/docs/3.0/search/all_1.html new file mode 100644 index 0000000..b8ff871 --- /dev/null +++ b/docs/3.0/search/all_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/all_1.js b/docs/3.0/search/all_1.js new file mode 100644 index 0000000..1acb212 --- /dev/null +++ b/docs/3.0/search/all_1.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['clipboard_20support',['Clipboard support',['../group__clipboard.html',1,'']]], + ['compat_2edox',['compat.dox',['../compat_8dox.html',1,'']]], + ['compiling_20glfw',['Compiling GLFW',['../compile.html',1,'']]], + ['compile_2edox',['compile.dox',['../compile_8dox.html',1,'']]], + ['context_20handling_20guide',['Context handling guide',['../context.html',1,'']]], + ['context_20handling',['Context handling',['../group__context.html',1,'']]], + ['context_2edox',['context.dox',['../context_8dox.html',1,'']]] +]; diff --git a/docs/3.0/search/all_2.html b/docs/3.0/search/all_2.html new file mode 100644 index 0000000..2f17735 --- /dev/null +++ b/docs/3.0/search/all_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/all_2.js b/docs/3.0/search/all_2.js new file mode 100644 index 0000000..f45c606 --- /dev/null +++ b/docs/3.0/search/all_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['error_20handling',['Error handling',['../group__error.html',1,'']]], + ['error_20codes',['Error codes',['../group__errors.html',1,'']]] +]; diff --git a/docs/3.0/search/all_3.html b/docs/3.0/search/all_3.html new file mode 100644 index 0000000..a3e6f7d --- /dev/null +++ b/docs/3.0/search/all_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/all_3.js b/docs/3.0/search/all_3.js new file mode 100644 index 0000000..7902083 --- /dev/null +++ b/docs/3.0/search/all_3.js @@ -0,0 +1,323 @@ +var searchData= +[ + ['glfw3_2eh',['glfw3.h',['../glfw3_8h.html',1,'']]], + ['glfw3native_2eh',['glfw3native.h',['../glfw3native_8h.html',1,'']]], + ['glfw_5faccum_5falpha_5fbits',['GLFW_ACCUM_ALPHA_BITS',['../glfw3_8h.html#ae829b55591c18169a40ab4067a041b1f',1,'glfw3.h']]], + ['glfw_5faccum_5fblue_5fbits',['GLFW_ACCUM_BLUE_BITS',['../glfw3_8h.html#a22bbe9104a8ce1f8b88fb4f186aa36ce',1,'glfw3.h']]], + ['glfw_5faccum_5fgreen_5fbits',['GLFW_ACCUM_GREEN_BITS',['../glfw3_8h.html#a65713cee1326f8e9d806fdf93187b471',1,'glfw3.h']]], + ['glfw_5faccum_5fred_5fbits',['GLFW_ACCUM_RED_BITS',['../glfw3_8h.html#aead34a9a683b2bc20eecf30ba738bfc6',1,'glfw3.h']]], + ['glfw_5falpha_5fbits',['GLFW_ALPHA_BITS',['../glfw3_8h.html#afed79a3f468997877da86c449bd43e8c',1,'glfw3.h']]], + ['glfw_5fapi_5funavailable',['GLFW_API_UNAVAILABLE',['../group__errors.html#ga56882b290db23261cc6c053c40c2d08e',1,'glfw3.h']]], + ['glfw_5faux_5fbuffers',['GLFW_AUX_BUFFERS',['../glfw3_8h.html#ab05108c5029443b371112b031d1fa174',1,'glfw3.h']]], + ['glfw_5fblue_5fbits',['GLFW_BLUE_BITS',['../glfw3_8h.html#ab292ea403db6d514537b515311bf9ae3',1,'glfw3.h']]], + ['glfw_5fclient_5fapi',['GLFW_CLIENT_API',['../glfw3_8h.html#a649309cf72a3d3de5b1348ca7936c95b',1,'glfw3.h']]], + ['glfw_5fconnected',['GLFW_CONNECTED',['../glfw3_8h.html#abe11513fd1ffbee5bb9b173f06028b9e',1,'glfw3.h']]], + ['glfw_5fcontext_5frevision',['GLFW_CONTEXT_REVISION',['../glfw3_8h.html#afb9475071aa77c6fb05ca5a5c8678a08',1,'glfw3.h']]], + ['glfw_5fcontext_5frobustness',['GLFW_CONTEXT_ROBUSTNESS',['../glfw3_8h.html#ade3593916b4c507900aa2d6844810e00',1,'glfw3.h']]], + ['glfw_5fcontext_5fversion_5fmajor',['GLFW_CONTEXT_VERSION_MAJOR',['../glfw3_8h.html#afe5e4922de1f9932d7e9849bb053b0c0',1,'glfw3.h']]], + ['glfw_5fcontext_5fversion_5fminor',['GLFW_CONTEXT_VERSION_MINOR',['../glfw3_8h.html#a31aca791e4b538c4e4a771eb95cc2d07',1,'glfw3.h']]], + ['glfw_5fcursor',['GLFW_CURSOR',['../glfw3_8h.html#aade31da5b884a84a7625c6b059b9132c',1,'glfw3.h']]], + ['glfw_5fcursor_5fdisabled',['GLFW_CURSOR_DISABLED',['../glfw3_8h.html#a2315b99a329ce53e6a13a9d46fd5ca88',1,'glfw3.h']]], + ['glfw_5fcursor_5fhidden',['GLFW_CURSOR_HIDDEN',['../glfw3_8h.html#ac4d5cb9d78de8573349c58763d53bf11',1,'glfw3.h']]], + ['glfw_5fcursor_5fnormal',['GLFW_CURSOR_NORMAL',['../glfw3_8h.html#ae04dd25c8577e19fa8c97368561f6c68',1,'glfw3.h']]], + ['glfw_5fdecorated',['GLFW_DECORATED',['../glfw3_8h.html#a21b854d36314c94d65aed84405b2f25e',1,'glfw3.h']]], + ['glfw_5fdepth_5fbits',['GLFW_DEPTH_BITS',['../glfw3_8h.html#a318a55eac1fee57dfe593b6d38149d07',1,'glfw3.h']]], + ['glfw_5fdisconnected',['GLFW_DISCONNECTED',['../glfw3_8h.html#aab64b25921ef21d89252d6f0a71bfc32',1,'glfw3.h']]], + ['glfw_5ffocused',['GLFW_FOCUSED',['../glfw3_8h.html#a54ddb14825a1541a56e22afb5f832a9e',1,'glfw3.h']]], + ['glfw_5fformat_5funavailable',['GLFW_FORMAT_UNAVAILABLE',['../group__errors.html#ga196e125ef261d94184e2b55c05762f14',1,'glfw3.h']]], + ['glfw_5fgreen_5fbits',['GLFW_GREEN_BITS',['../glfw3_8h.html#afba3b72638c914e5fb8a237dd4c50d4d',1,'glfw3.h']]], + ['glfw_5ficonified',['GLFW_ICONIFIED',['../glfw3_8h.html#a39d44b7c056e55e581355a92d240b58a',1,'glfw3.h']]], + ['glfw_5finvalid_5fenum',['GLFW_INVALID_ENUM',['../group__errors.html#ga76f6bb9c4eea73db675f096b404593ce',1,'glfw3.h']]], + ['glfw_5finvalid_5fvalue',['GLFW_INVALID_VALUE',['../group__errors.html#gaaf2ef9aa8202c2b82ac2d921e554c687',1,'glfw3.h']]], + ['glfw_5fjoystick_5f1',['GLFW_JOYSTICK_1',['../group__joysticks.html#ga34a0443d059e9f22272cd4669073f73d',1,'glfw3.h']]], + ['glfw_5fjoystick_5f10',['GLFW_JOYSTICK_10',['../group__joysticks.html#gaef55389ee605d6dfc31aef6fe98c54ec',1,'glfw3.h']]], + ['glfw_5fjoystick_5f11',['GLFW_JOYSTICK_11',['../group__joysticks.html#gae7d26e3df447c2c14a569fcc18516af4',1,'glfw3.h']]], + ['glfw_5fjoystick_5f12',['GLFW_JOYSTICK_12',['../group__joysticks.html#gab91bbf5b7ca6be8d3ac5c4d89ff48ac7',1,'glfw3.h']]], + ['glfw_5fjoystick_5f13',['GLFW_JOYSTICK_13',['../group__joysticks.html#ga5c84fb4e49bf661d7d7c78eb4018c508',1,'glfw3.h']]], + ['glfw_5fjoystick_5f14',['GLFW_JOYSTICK_14',['../group__joysticks.html#ga89540873278ae5a42b3e70d64164dc74',1,'glfw3.h']]], + ['glfw_5fjoystick_5f15',['GLFW_JOYSTICK_15',['../group__joysticks.html#ga7b02ab70daf7a78bcc942d5d4cc1dcf9',1,'glfw3.h']]], + ['glfw_5fjoystick_5f16',['GLFW_JOYSTICK_16',['../group__joysticks.html#ga453edeeabf350827646b6857df4f80ce',1,'glfw3.h']]], + ['glfw_5fjoystick_5f2',['GLFW_JOYSTICK_2',['../group__joysticks.html#ga6eab65ec88e65e0850ef8413504cb50c',1,'glfw3.h']]], + ['glfw_5fjoystick_5f3',['GLFW_JOYSTICK_3',['../group__joysticks.html#gae6f3eedfeb42424c2f5e3161efb0b654',1,'glfw3.h']]], + ['glfw_5fjoystick_5f4',['GLFW_JOYSTICK_4',['../group__joysticks.html#ga97ddbcad02b7f48d74fad4ddb08fff59',1,'glfw3.h']]], + ['glfw_5fjoystick_5f5',['GLFW_JOYSTICK_5',['../group__joysticks.html#gae43281bc66d3fa5089fb50c3e7a28695',1,'glfw3.h']]], + ['glfw_5fjoystick_5f6',['GLFW_JOYSTICK_6',['../group__joysticks.html#ga74771620aa53bd68a487186dea66fd77',1,'glfw3.h']]], + ['glfw_5fjoystick_5f7',['GLFW_JOYSTICK_7',['../group__joysticks.html#ga20a9f4f3aaefed9ea5e66072fc588b87',1,'glfw3.h']]], + ['glfw_5fjoystick_5f8',['GLFW_JOYSTICK_8',['../group__joysticks.html#ga21a934c940bcf25db0e4c8fe9b364bdb',1,'glfw3.h']]], + ['glfw_5fjoystick_5f9',['GLFW_JOYSTICK_9',['../group__joysticks.html#ga87689d47df0ba6f9f5fcbbcaf7b3cecf',1,'glfw3.h']]], + ['glfw_5fjoystick_5flast',['GLFW_JOYSTICK_LAST',['../group__joysticks.html#ga9ca13ebf24c331dd98df17d84a4b72c9',1,'glfw3.h']]], + ['glfw_5fkey_5f0',['GLFW_KEY_0',['../group__keys.html#ga50391730e9d7112ad4fd42d0bd1597c1',1,'glfw3.h']]], + ['glfw_5fkey_5f1',['GLFW_KEY_1',['../group__keys.html#ga05e4cae9ddb8d40cf6d82c8f11f2502f',1,'glfw3.h']]], + ['glfw_5fkey_5f2',['GLFW_KEY_2',['../group__keys.html#gadc8e66b3a4c4b5c39ad1305cf852863c',1,'glfw3.h']]], + ['glfw_5fkey_5f3',['GLFW_KEY_3',['../group__keys.html#ga812f0273fe1a981e1fa002ae73e92271',1,'glfw3.h']]], + ['glfw_5fkey_5f4',['GLFW_KEY_4',['../group__keys.html#ga9e14b6975a9cc8f66cdd5cb3d3861356',1,'glfw3.h']]], + ['glfw_5fkey_5f5',['GLFW_KEY_5',['../group__keys.html#ga4d74ddaa5d4c609993b4d4a15736c924',1,'glfw3.h']]], + ['glfw_5fkey_5f6',['GLFW_KEY_6',['../group__keys.html#ga9ea4ab80c313a227b14d0a7c6f810b5d',1,'glfw3.h']]], + ['glfw_5fkey_5f7',['GLFW_KEY_7',['../group__keys.html#gab79b1cfae7bd630cfc4604c1f263c666',1,'glfw3.h']]], + ['glfw_5fkey_5f8',['GLFW_KEY_8',['../group__keys.html#gadeaa109a0f9f5afc94fe4a108e686f6f',1,'glfw3.h']]], + ['glfw_5fkey_5f9',['GLFW_KEY_9',['../group__keys.html#ga2924cb5349ebbf97c8987f3521c44f39',1,'glfw3.h']]], + ['glfw_5fkey_5fa',['GLFW_KEY_A',['../group__keys.html#ga03e842608e1ea323370889d33b8f70ff',1,'glfw3.h']]], + ['glfw_5fkey_5fapostrophe',['GLFW_KEY_APOSTROPHE',['../group__keys.html#ga6059b0b048ba6980b6107fffbd3b4b24',1,'glfw3.h']]], + ['glfw_5fkey_5fb',['GLFW_KEY_B',['../group__keys.html#ga8e3fb647ff3aca9e8dbf14fe66332941',1,'glfw3.h']]], + ['glfw_5fkey_5fbackslash',['GLFW_KEY_BACKSLASH',['../group__keys.html#gab8155ea99d1ab27ff56f24f8dc73f8d1',1,'glfw3.h']]], + ['glfw_5fkey_5fbackspace',['GLFW_KEY_BACKSPACE',['../group__keys.html#ga6c0df1fe2f156bbd5a98c66d76ff3635',1,'glfw3.h']]], + ['glfw_5fkey_5fc',['GLFW_KEY_C',['../group__keys.html#ga00ccf3475d9ee2e679480d540d554669',1,'glfw3.h']]], + ['glfw_5fkey_5fcaps_5flock',['GLFW_KEY_CAPS_LOCK',['../group__keys.html#ga92c1d2c9d63485f3d70f94f688d48672',1,'glfw3.h']]], + ['glfw_5fkey_5fcomma',['GLFW_KEY_COMMA',['../group__keys.html#gab3d5d72e59d3055f494627b0a524926c',1,'glfw3.h']]], + ['glfw_5fkey_5fd',['GLFW_KEY_D',['../group__keys.html#ga011f7cdc9a654da984a2506479606933',1,'glfw3.h']]], + ['glfw_5fkey_5fdelete',['GLFW_KEY_DELETE',['../group__keys.html#gadb111e4df74b8a715f2c05dad58d2682',1,'glfw3.h']]], + ['glfw_5fkey_5fdown',['GLFW_KEY_DOWN',['../group__keys.html#gae2e3958c71595607416aa7bf082be2f9',1,'glfw3.h']]], + ['glfw_5fkey_5fe',['GLFW_KEY_E',['../group__keys.html#gabf48fcc3afbe69349df432b470c96ef2',1,'glfw3.h']]], + ['glfw_5fkey_5fend',['GLFW_KEY_END',['../group__keys.html#ga86587ea1df19a65978d3e3b8439bedd9',1,'glfw3.h']]], + ['glfw_5fkey_5fenter',['GLFW_KEY_ENTER',['../group__keys.html#ga9555a92ecbecdbc1f3435219c571d667',1,'glfw3.h']]], + ['glfw_5fkey_5fequal',['GLFW_KEY_EQUAL',['../group__keys.html#gae1a2de47240d6664423c204bdd91bd17',1,'glfw3.h']]], + ['glfw_5fkey_5fescape',['GLFW_KEY_ESCAPE',['../group__keys.html#gaac6596c350b635c245113b81c2123b93',1,'glfw3.h']]], + ['glfw_5fkey_5ff',['GLFW_KEY_F',['../group__keys.html#ga5df402e02aca08444240058fd9b42a55',1,'glfw3.h']]], + ['glfw_5fkey_5ff1',['GLFW_KEY_F1',['../group__keys.html#gafb8d66c573acf22e364049477dcbea30',1,'glfw3.h']]], + ['glfw_5fkey_5ff10',['GLFW_KEY_F10',['../group__keys.html#ga718d11d2f7d57471a2f6a894235995b1',1,'glfw3.h']]], + ['glfw_5fkey_5ff11',['GLFW_KEY_F11',['../group__keys.html#ga0bc04b11627e7d69339151e7306b2832',1,'glfw3.h']]], + ['glfw_5fkey_5ff12',['GLFW_KEY_F12',['../group__keys.html#gaf5908fa9b0a906ae03fc2c61ac7aa3e2',1,'glfw3.h']]], + ['glfw_5fkey_5ff13',['GLFW_KEY_F13',['../group__keys.html#gad637f4308655e1001bd6ad942bc0fd4b',1,'glfw3.h']]], + ['glfw_5fkey_5ff14',['GLFW_KEY_F14',['../group__keys.html#gaf14c66cff3396e5bd46e803c035e6c1f',1,'glfw3.h']]], + ['glfw_5fkey_5ff15',['GLFW_KEY_F15',['../group__keys.html#ga7f70970db6e8be1794da8516a6d14058',1,'glfw3.h']]], + ['glfw_5fkey_5ff16',['GLFW_KEY_F16',['../group__keys.html#gaa582dbb1d2ba2050aa1dca0838095b27',1,'glfw3.h']]], + ['glfw_5fkey_5ff17',['GLFW_KEY_F17',['../group__keys.html#ga972ce5c365e2394b36104b0e3125c748',1,'glfw3.h']]], + ['glfw_5fkey_5ff18',['GLFW_KEY_F18',['../group__keys.html#gaebf6391058d5566601e357edc5ea737c',1,'glfw3.h']]], + ['glfw_5fkey_5ff19',['GLFW_KEY_F19',['../group__keys.html#gaec011d9ba044058cb54529da710e9791',1,'glfw3.h']]], + ['glfw_5fkey_5ff2',['GLFW_KEY_F2',['../group__keys.html#ga0900750aff94889b940f5e428c07daee',1,'glfw3.h']]], + ['glfw_5fkey_5ff20',['GLFW_KEY_F20',['../group__keys.html#ga82b9c721ada04cd5ca8de767da38022f',1,'glfw3.h']]], + ['glfw_5fkey_5ff21',['GLFW_KEY_F21',['../group__keys.html#ga356afb14d3440ff2bb378f74f7ebc60f',1,'glfw3.h']]], + ['glfw_5fkey_5ff22',['GLFW_KEY_F22',['../group__keys.html#ga90960bd2a155f2b09675324d3dff1565',1,'glfw3.h']]], + ['glfw_5fkey_5ff23',['GLFW_KEY_F23',['../group__keys.html#ga43c21099aac10952d1be909a8ddee4d5',1,'glfw3.h']]], + ['glfw_5fkey_5ff24',['GLFW_KEY_F24',['../group__keys.html#ga8150374677b5bed3043408732152dea2',1,'glfw3.h']]], + ['glfw_5fkey_5ff25',['GLFW_KEY_F25',['../group__keys.html#gaa4bbd93ed73bb4c6ae7d83df880b7199',1,'glfw3.h']]], + ['glfw_5fkey_5ff3',['GLFW_KEY_F3',['../group__keys.html#gaed7cd729c0147a551bb8b7bb36c17015',1,'glfw3.h']]], + ['glfw_5fkey_5ff4',['GLFW_KEY_F4',['../group__keys.html#ga9b61ebd0c63b44b7332fda2c9763eaa6',1,'glfw3.h']]], + ['glfw_5fkey_5ff5',['GLFW_KEY_F5',['../group__keys.html#gaf258dda9947daa428377938ed577c8c2',1,'glfw3.h']]], + ['glfw_5fkey_5ff6',['GLFW_KEY_F6',['../group__keys.html#ga6dc2d3f87b9d51ffbbbe2ef0299d8e1d',1,'glfw3.h']]], + ['glfw_5fkey_5ff7',['GLFW_KEY_F7',['../group__keys.html#gacca6ef8a2162c52a0ac1d881e8d9c38a',1,'glfw3.h']]], + ['glfw_5fkey_5ff8',['GLFW_KEY_F8',['../group__keys.html#gac9d39390336ae14e4a93e295de43c7e8',1,'glfw3.h']]], + ['glfw_5fkey_5ff9',['GLFW_KEY_F9',['../group__keys.html#gae40de0de1c9f21cd26c9afa3d7050851',1,'glfw3.h']]], + ['glfw_5fkey_5fg',['GLFW_KEY_G',['../group__keys.html#gae74ecddf7cc96104ab23989b1cdab536',1,'glfw3.h']]], + ['glfw_5fkey_5fgrave_5faccent',['GLFW_KEY_GRAVE_ACCENT',['../group__keys.html#ga7a3701fb4e2a0b136ff4b568c3c8d668',1,'glfw3.h']]], + ['glfw_5fkey_5fh',['GLFW_KEY_H',['../group__keys.html#gad4cc98fc8f35f015d9e2fb94bf136076',1,'glfw3.h']]], + ['glfw_5fkey_5fhome',['GLFW_KEY_HOME',['../group__keys.html#ga41452c7287195d481e43207318c126a7',1,'glfw3.h']]], + ['glfw_5fkey_5fi',['GLFW_KEY_I',['../group__keys.html#ga274655c8bfe39742684ca393cf8ed093',1,'glfw3.h']]], + ['glfw_5fkey_5finsert',['GLFW_KEY_INSERT',['../group__keys.html#ga373ac7365435d6b0eb1068f470e34f47',1,'glfw3.h']]], + ['glfw_5fkey_5fj',['GLFW_KEY_J',['../group__keys.html#ga65ff2aedb129a3149ad9cb3e4159a75f',1,'glfw3.h']]], + ['glfw_5fkey_5fk',['GLFW_KEY_K',['../group__keys.html#ga4ae8debadf6d2a691badae0b53ea3ba0',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f0',['GLFW_KEY_KP_0',['../group__keys.html#ga10515dafc55b71e7683f5b4fedd1c70d',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f1',['GLFW_KEY_KP_1',['../group__keys.html#gaf3a29a334402c5eaf0b3439edf5587c3',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f2',['GLFW_KEY_KP_2',['../group__keys.html#gaf82d5a802ab8213c72653d7480c16f13',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f3',['GLFW_KEY_KP_3',['../group__keys.html#ga7e25ff30d56cd512828c1d4ae8d54ef2',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f4',['GLFW_KEY_KP_4',['../group__keys.html#gada7ec86778b85e0b4de0beea72234aea',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f5',['GLFW_KEY_KP_5',['../group__keys.html#ga9a5be274434866c51738cafbb6d26b45',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f6',['GLFW_KEY_KP_6',['../group__keys.html#gafc141b0f8450519084c01092a3157faa',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f7',['GLFW_KEY_KP_7',['../group__keys.html#ga8882f411f05d04ec77a9563974bbfa53',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f8',['GLFW_KEY_KP_8',['../group__keys.html#gab2ea2e6a12f89d315045af520ac78cec',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f9',['GLFW_KEY_KP_9',['../group__keys.html#gafb21426b630ed4fcc084868699ba74c1',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fadd',['GLFW_KEY_KP_ADD',['../group__keys.html#gad09c7c98acc79e89aa6a0a91275becac',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fdecimal',['GLFW_KEY_KP_DECIMAL',['../group__keys.html#ga4e231d968796331a9ea0dbfb98d4005b',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fdivide',['GLFW_KEY_KP_DIVIDE',['../group__keys.html#gabca1733780a273d549129ad0f250d1e5',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fenter',['GLFW_KEY_KP_ENTER',['../group__keys.html#ga4f728f8738f2986bd63eedd3d412e8cf',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fequal',['GLFW_KEY_KP_EQUAL',['../group__keys.html#gaebdc76d4a808191e6d21b7e4ad2acd97',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fmultiply',['GLFW_KEY_KP_MULTIPLY',['../group__keys.html#ga9ada267eb0e78ed2ada8701dd24a56ef',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fsubtract',['GLFW_KEY_KP_SUBTRACT',['../group__keys.html#gaa3dbd60782ff93d6082a124bce1fa236',1,'glfw3.h']]], + ['glfw_5fkey_5fl',['GLFW_KEY_L',['../group__keys.html#gaaa8b54a13f6b1eed85ac86f82d550db2',1,'glfw3.h']]], + ['glfw_5fkey_5flast',['GLFW_KEY_LAST',['../group__keys.html#ga442cbaef7bfb9a4ba13594dd7fbf2789',1,'glfw3.h']]], + ['glfw_5fkey_5fleft',['GLFW_KEY_LEFT',['../group__keys.html#gae12a010d33c309a67ab9460c51eb2462',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5falt',['GLFW_KEY_LEFT_ALT',['../group__keys.html#ga7f27dabf63a7789daa31e1c96790219b',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fbracket',['GLFW_KEY_LEFT_BRACKET',['../group__keys.html#gad1c8d9adac53925276ecb1d592511d8a',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fcontrol',['GLFW_KEY_LEFT_CONTROL',['../group__keys.html#ga9f97b743e81460ac4b2deddecd10a464',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fshift',['GLFW_KEY_LEFT_SHIFT',['../group__keys.html#ga8a530a28a65c44ab5d00b759b756d3f6',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fsuper',['GLFW_KEY_LEFT_SUPER',['../group__keys.html#gafb1207c91997fc295afd1835fbc5641a',1,'glfw3.h']]], + ['glfw_5fkey_5fm',['GLFW_KEY_M',['../group__keys.html#ga4d7f0260c82e4ea3d6ebc7a21d6e3716',1,'glfw3.h']]], + ['glfw_5fkey_5fmenu',['GLFW_KEY_MENU',['../group__keys.html#ga9845be48a745fc232045c9ec174d8820',1,'glfw3.h']]], + ['glfw_5fkey_5fminus',['GLFW_KEY_MINUS',['../group__keys.html#gac556b360f7f6fca4b70ba0aecf313fd4',1,'glfw3.h']]], + ['glfw_5fkey_5fn',['GLFW_KEY_N',['../group__keys.html#gae00856dfeb5d13aafebf59d44de5cdda',1,'glfw3.h']]], + ['glfw_5fkey_5fnum_5flock',['GLFW_KEY_NUM_LOCK',['../group__keys.html#ga3946edc362aeff213b2be6304296cf43',1,'glfw3.h']]], + ['glfw_5fkey_5fo',['GLFW_KEY_O',['../group__keys.html#gaecbbb79130df419d58dd7f09a169efe9',1,'glfw3.h']]], + ['glfw_5fkey_5fp',['GLFW_KEY_P',['../group__keys.html#ga8fc15819c1094fb2afa01d84546b33e1',1,'glfw3.h']]], + ['glfw_5fkey_5fpage_5fdown',['GLFW_KEY_PAGE_DOWN',['../group__keys.html#gaee0a8fa442001cc2147812f84b59041c',1,'glfw3.h']]], + ['glfw_5fkey_5fpage_5fup',['GLFW_KEY_PAGE_UP',['../group__keys.html#ga3ab731f9622f0db280178a5f3cc6d586',1,'glfw3.h']]], + ['glfw_5fkey_5fpause',['GLFW_KEY_PAUSE',['../group__keys.html#ga8116b9692d87382afb5849b6d8907f18',1,'glfw3.h']]], + ['glfw_5fkey_5fperiod',['GLFW_KEY_PERIOD',['../group__keys.html#ga37e296b650eab419fc474ff69033d927',1,'glfw3.h']]], + ['glfw_5fkey_5fprint_5fscreen',['GLFW_KEY_PRINT_SCREEN',['../group__keys.html#gaf964c2e65e97d0cf785a5636ee8df642',1,'glfw3.h']]], + ['glfw_5fkey_5fq',['GLFW_KEY_Q',['../group__keys.html#gafdd01e38b120d67cf51e348bb47f3964',1,'glfw3.h']]], + ['glfw_5fkey_5fr',['GLFW_KEY_R',['../group__keys.html#ga4ce6c70a0c98c50b3fe4ab9a728d4d36',1,'glfw3.h']]], + ['glfw_5fkey_5fright',['GLFW_KEY_RIGHT',['../group__keys.html#ga06ba07662e8c291a4a84535379ffc7ac',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5falt',['GLFW_KEY_RIGHT_ALT',['../group__keys.html#ga687b38009131cfdd07a8d05fff8fa446',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fbracket',['GLFW_KEY_RIGHT_BRACKET',['../group__keys.html#ga86ef225fd6a66404caae71044cdd58d8',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fcontrol',['GLFW_KEY_RIGHT_CONTROL',['../group__keys.html#gad1ca2094b2694e7251d0ab1fd34f8519',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fshift',['GLFW_KEY_RIGHT_SHIFT',['../group__keys.html#gaffca36b99c9dce1a19cb9befbadce691',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fsuper',['GLFW_KEY_RIGHT_SUPER',['../group__keys.html#gad4547a3e8e247594acb60423fe6502db',1,'glfw3.h']]], + ['glfw_5fkey_5fs',['GLFW_KEY_S',['../group__keys.html#ga1570e2ccaab036ea82bed66fc1dab2a9',1,'glfw3.h']]], + ['glfw_5fkey_5fscroll_5flock',['GLFW_KEY_SCROLL_LOCK',['../group__keys.html#gaf622b63b9537f7084c2ab649b8365630',1,'glfw3.h']]], + ['glfw_5fkey_5fsemicolon',['GLFW_KEY_SEMICOLON',['../group__keys.html#ga84233de9ee5bb3e8788a5aa07d80af7d',1,'glfw3.h']]], + ['glfw_5fkey_5fslash',['GLFW_KEY_SLASH',['../group__keys.html#gadf3d753b2d479148d711de34b83fd0db',1,'glfw3.h']]], + ['glfw_5fkey_5fspace',['GLFW_KEY_SPACE',['../group__keys.html#gaddb2c23772b97fd7e26e8ee66f1ad014',1,'glfw3.h']]], + ['glfw_5fkey_5ft',['GLFW_KEY_T',['../group__keys.html#ga90e0560422ec7a30e7f3f375bc9f37f9',1,'glfw3.h']]], + ['glfw_5fkey_5ftab',['GLFW_KEY_TAB',['../group__keys.html#ga6908a4bda9950a3e2b73f794bbe985df',1,'glfw3.h']]], + ['glfw_5fkey_5fu',['GLFW_KEY_U',['../group__keys.html#gacad52f3bf7d378fc0ffa72a76769256d',1,'glfw3.h']]], + ['glfw_5fkey_5funknown',['GLFW_KEY_UNKNOWN',['../group__keys.html#ga99aacc875b6b27a072552631e13775c7',1,'glfw3.h']]], + ['glfw_5fkey_5fup',['GLFW_KEY_UP',['../group__keys.html#ga2f3342b194020d3544c67e3506b6f144',1,'glfw3.h']]], + ['glfw_5fkey_5fv',['GLFW_KEY_V',['../group__keys.html#ga22c7763899ecf7788862e5f90eacce6b',1,'glfw3.h']]], + ['glfw_5fkey_5fw',['GLFW_KEY_W',['../group__keys.html#gaa06a712e6202661fc03da5bdb7b6e545',1,'glfw3.h']]], + ['glfw_5fkey_5fworld_5f1',['GLFW_KEY_WORLD_1',['../group__keys.html#gadc78dad3dab76bcd4b5c20114052577a',1,'glfw3.h']]], + ['glfw_5fkey_5fworld_5f2',['GLFW_KEY_WORLD_2',['../group__keys.html#ga20494bfebf0bb4fc9503afca18ab2c5e',1,'glfw3.h']]], + ['glfw_5fkey_5fx',['GLFW_KEY_X',['../group__keys.html#gac1c42c0bf4192cea713c55598b06b744',1,'glfw3.h']]], + ['glfw_5fkey_5fy',['GLFW_KEY_Y',['../group__keys.html#gafd9f115a549effdf8e372a787c360313',1,'glfw3.h']]], + ['glfw_5fkey_5fz',['GLFW_KEY_Z',['../group__keys.html#gac489e208c26afda8d4938ed88718760a',1,'glfw3.h']]], + ['glfw_5flose_5fcontext_5fon_5freset',['GLFW_LOSE_CONTEXT_ON_RESET',['../glfw3_8h.html#aec1132f245143fc915b2f0995228564c',1,'glfw3.h']]], + ['glfw_5fmod_5falt',['GLFW_MOD_ALT',['../group__mods.html#gad2acd5633463c29e07008687ea73c0f4',1,'glfw3.h']]], + ['glfw_5fmod_5fcontrol',['GLFW_MOD_CONTROL',['../group__mods.html#ga6ed94871c3208eefd85713fa929d45aa',1,'glfw3.h']]], + ['glfw_5fmod_5fshift',['GLFW_MOD_SHIFT',['../group__mods.html#ga14994d3196c290aaa347248e51740274',1,'glfw3.h']]], + ['glfw_5fmod_5fsuper',['GLFW_MOD_SUPER',['../group__mods.html#ga6b64ba10ea0227cf6f42efd0a220aba1',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f1',['GLFW_MOUSE_BUTTON_1',['../group__buttons.html#ga181a6e875251fd8671654eff00f9112e',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f2',['GLFW_MOUSE_BUTTON_2',['../group__buttons.html#ga604b39b92c88ce9bd332e97fc3f4156c',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f3',['GLFW_MOUSE_BUTTON_3',['../group__buttons.html#ga0130d505563d0236a6f85545f19e1721',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f4',['GLFW_MOUSE_BUTTON_4',['../group__buttons.html#ga53f4097bb01d5521c7d9513418c91ca9',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f5',['GLFW_MOUSE_BUTTON_5',['../group__buttons.html#gaf08c4ddecb051d3d9667db1d5e417c9c',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f6',['GLFW_MOUSE_BUTTON_6',['../group__buttons.html#gae8513e06aab8aa393b595f22c6d8257a',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f7',['GLFW_MOUSE_BUTTON_7',['../group__buttons.html#ga8b02a1ab55dde45b3a3883d54ffd7dc7',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f8',['GLFW_MOUSE_BUTTON_8',['../group__buttons.html#ga35d5c4263e0dc0d0a4731ca6c562f32c',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5flast',['GLFW_MOUSE_BUTTON_LAST',['../group__buttons.html#gab1fd86a4518a9141ec7bcde2e15a2fdf',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5fleft',['GLFW_MOUSE_BUTTON_LEFT',['../group__buttons.html#gaf37100431dcd5082d48f95ee8bc8cd56',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5fmiddle',['GLFW_MOUSE_BUTTON_MIDDLE',['../group__buttons.html#ga34a4d2a701434f763fd93a2ff842b95a',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5fright',['GLFW_MOUSE_BUTTON_RIGHT',['../group__buttons.html#ga3e2f2cf3c4942df73cc094247d275e74',1,'glfw3.h']]], + ['glfw_5fno_5fcurrent_5fcontext',['GLFW_NO_CURRENT_CONTEXT',['../group__errors.html#gaa8290386e9528ccb9e42a3a4e16fc0d0',1,'glfw3.h']]], + ['glfw_5fno_5freset_5fnotification',['GLFW_NO_RESET_NOTIFICATION',['../glfw3_8h.html#aee84a679230d205005e22487ff678a85',1,'glfw3.h']]], + ['glfw_5fno_5frobustness',['GLFW_NO_ROBUSTNESS',['../glfw3_8h.html#a8b306cb27f5bb0d6d67c7356a0e0fc34',1,'glfw3.h']]], + ['glfw_5fnot_5finitialized',['GLFW_NOT_INITIALIZED',['../group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a',1,'glfw3.h']]], + ['glfw_5fopengl_5fany_5fprofile',['GLFW_OPENGL_ANY_PROFILE',['../glfw3_8h.html#ad6f2335d6f21cc9bab96633b1c111d5f',1,'glfw3.h']]], + ['glfw_5fopengl_5fapi',['GLFW_OPENGL_API',['../glfw3_8h.html#a01b3f66db266341425e9abee6b257db2',1,'glfw3.h']]], + ['glfw_5fopengl_5fcompat_5fprofile',['GLFW_OPENGL_COMPAT_PROFILE',['../glfw3_8h.html#ac06b663d79c8fcf04669cc8fcc0b7670',1,'glfw3.h']]], + ['glfw_5fopengl_5fcore_5fprofile',['GLFW_OPENGL_CORE_PROFILE',['../glfw3_8h.html#af094bb16da76f66ebceb19ee213b3de8',1,'glfw3.h']]], + ['glfw_5fopengl_5fdebug_5fcontext',['GLFW_OPENGL_DEBUG_CONTEXT',['../glfw3_8h.html#a87ec2df0b915201e950ca42d5d0831e1',1,'glfw3.h']]], + ['glfw_5fopengl_5fes_5fapi',['GLFW_OPENGL_ES_API',['../glfw3_8h.html#a28d9b3bc6c2a522d815c8e146595051f',1,'glfw3.h']]], + ['glfw_5fopengl_5fforward_5fcompat',['GLFW_OPENGL_FORWARD_COMPAT',['../glfw3_8h.html#a13d24b12465da8b28985f46c8557925b',1,'glfw3.h']]], + ['glfw_5fopengl_5fprofile',['GLFW_OPENGL_PROFILE',['../glfw3_8h.html#a44f3a6b4261fbe351e0b950b0f372e12',1,'glfw3.h']]], + ['glfw_5fout_5fof_5fmemory',['GLFW_OUT_OF_MEMORY',['../group__errors.html#ga9023953a2bcb98c2906afd071d21ee7f',1,'glfw3.h']]], + ['glfw_5fplatform_5ferror',['GLFW_PLATFORM_ERROR',['../group__errors.html#gad44162d78100ea5e87cdd38426b8c7a1',1,'glfw3.h']]], + ['glfw_5fpress',['GLFW_PRESS',['../group__input.html#ga2485743d0b59df3791c45951c4195265',1,'glfw3.h']]], + ['glfw_5fred_5fbits',['GLFW_RED_BITS',['../glfw3_8h.html#af78ed8e417dbcc1e354906cc2708c982',1,'glfw3.h']]], + ['glfw_5frefresh_5frate',['GLFW_REFRESH_RATE',['../glfw3_8h.html#a0f20825e6e47ee8ba389024519682212',1,'glfw3.h']]], + ['glfw_5frelease',['GLFW_RELEASE',['../group__input.html#gada11d965c4da13090ad336e030e4d11f',1,'glfw3.h']]], + ['glfw_5frepeat',['GLFW_REPEAT',['../group__input.html#gac96fd3b9fc66c6f0eebaf6532595338f',1,'glfw3.h']]], + ['glfw_5fresizable',['GLFW_RESIZABLE',['../glfw3_8h.html#adba13c7a1b3aa40831eb2beedbd5bd1d',1,'glfw3.h']]], + ['glfw_5fsamples',['GLFW_SAMPLES',['../glfw3_8h.html#a2cdf86fdcb7722fb8829c4e201607535',1,'glfw3.h']]], + ['glfw_5fsrgb_5fcapable',['GLFW_SRGB_CAPABLE',['../glfw3_8h.html#a444a8f00414a63220591f9fdb7b5642b',1,'glfw3.h']]], + ['glfw_5fstencil_5fbits',['GLFW_STENCIL_BITS',['../glfw3_8h.html#a5339890a45a1fb38e93cb9fcc5fd069d',1,'glfw3.h']]], + ['glfw_5fstereo',['GLFW_STEREO',['../glfw3_8h.html#a83d991efca02537e2d69969135b77b03',1,'glfw3.h']]], + ['glfw_5fsticky_5fkeys',['GLFW_STICKY_KEYS',['../glfw3_8h.html#ae3bbe2315b7691ab088159eb6c9110fc',1,'glfw3.h']]], + ['glfw_5fsticky_5fmouse_5fbuttons',['GLFW_STICKY_MOUSE_BUTTONS',['../glfw3_8h.html#a4d7ce8ce71030c3b04e2b78145bc59d1',1,'glfw3.h']]], + ['glfw_5fversion_5fmajor',['GLFW_VERSION_MAJOR',['../group__init.html#ga6337d9ea43b22fc529b2bba066b4a576',1,'glfw3.h']]], + ['glfw_5fversion_5fminor',['GLFW_VERSION_MINOR',['../group__init.html#gaf80d40f0aea7088ff337606e9c48f7a3',1,'glfw3.h']]], + ['glfw_5fversion_5frevision',['GLFW_VERSION_REVISION',['../group__init.html#gab72ae2e2035d9ea461abc3495eac0502',1,'glfw3.h']]], + ['glfw_5fversion_5funavailable',['GLFW_VERSION_UNAVAILABLE',['../group__errors.html#gad16c5565b4a69f9c2a9ac2c0dbc89462',1,'glfw3.h']]], + ['glfw_5fvisible',['GLFW_VISIBLE',['../glfw3_8h.html#afb3cdc45297e06d8f1eb13adc69ca6c4',1,'glfw3.h']]], + ['glfwcharfun',['GLFWcharfun',['../group__input.html#gabf24451c7ceb1952bc02b17a0d5c3e5f',1,'glfw3.h']]], + ['glfwcreatewindow',['glfwCreateWindow',['../group__window.html#ga5c336fddf2cbb5b92f65f10fb6043344',1,'glfw3.h']]], + ['glfwcursorenterfun',['GLFWcursorenterfun',['../group__input.html#ga51ab436c41eeaed6db5a0c9403b1c840',1,'glfw3.h']]], + ['glfwcursorposfun',['GLFWcursorposfun',['../group__input.html#ga4cfad918fa836f09541e7b9acd36686c',1,'glfw3.h']]], + ['glfwdefaultwindowhints',['glfwDefaultWindowHints',['../group__window.html#gaa77c4898dfb83344a6b4f76aa16b9a4a',1,'glfw3.h']]], + ['glfwdestroywindow',['glfwDestroyWindow',['../group__window.html#gacdf43e51376051d2c091662e9fe3d7b2',1,'glfw3.h']]], + ['glfwerrorfun',['GLFWerrorfun',['../group__error.html#ga6b8a2639706d5c409fc1287e8f55e928',1,'glfw3.h']]], + ['glfwextensionsupported',['glfwExtensionSupported',['../group__context.html#ga87425065c011cef1ebd6aac75e059dfa',1,'glfw3.h']]], + ['glfwframebuffersizefun',['GLFWframebuffersizefun',['../group__window.html#ga3e218ef9ff826129c55a7d5f6971a285',1,'glfw3.h']]], + ['glfwgammaramp',['GLFWgammaramp',['../structGLFWgammaramp.html',1,'GLFWgammaramp'],['../group__monitor.html#gaec0bd37af673be8813592849f13e02f0',1,'GLFWgammaramp(): glfw3.h']]], + ['glfwgetclipboardstring',['glfwGetClipboardString',['../group__clipboard.html#ga5aba1d704d9ab539282b1fbe9f18bb94',1,'glfw3.h']]], + ['glfwgetcocoawindow',['glfwGetCocoaWindow',['../group__native.html#gac3ed9d495d0c2bb9652de5a50c648715',1,'glfw3native.h']]], + ['glfwgetcurrentcontext',['glfwGetCurrentContext',['../group__context.html#gac84759b1f6c2d271a4fea8ae89ec980d',1,'glfw3.h']]], + ['glfwgetcursorpos',['glfwGetCursorPos',['../group__input.html#ga01d37b6c40133676b9cea60ca1d7c0cc',1,'glfw3.h']]], + ['glfwgeteglcontext',['glfwGetEGLContext',['../group__native.html#ga671c5072becd085f4ab5771a9c8efcf1',1,'glfw3native.h']]], + ['glfwgetegldisplay',['glfwGetEGLDisplay',['../group__native.html#ga1cd8d973f47aacb5532d368147cc3138',1,'glfw3native.h']]], + ['glfwgeteglsurface',['glfwGetEGLSurface',['../group__native.html#ga2199b36117a6a695fec8441d8052eee6',1,'glfw3native.h']]], + ['glfwgetframebuffersize',['glfwGetFramebufferSize',['../group__window.html#ga0e2637a4161afb283f5300c7f94785c9',1,'glfw3.h']]], + ['glfwgetgammaramp',['glfwGetGammaRamp',['../group__monitor.html#gab7c41deb2219bde3e1eb756ddaa9ec80',1,'glfw3.h']]], + ['glfwgetglxcontext',['glfwGetGLXContext',['../group__native.html#ga62d884114b0abfcdc2930e89f20867e2',1,'glfw3native.h']]], + ['glfwgetinputmode',['glfwGetInputMode',['../group__input.html#gaf5b859dbe19bdf434e42695ea45cc5f4',1,'glfw3.h']]], + ['glfwgetjoystickaxes',['glfwGetJoystickAxes',['../group__input.html#ga6271d46a5901ec2c99601ccf4dd14731',1,'glfw3.h']]], + ['glfwgetjoystickbuttons',['glfwGetJoystickButtons',['../group__input.html#gace54cd930dcd502e118fe4021384ce1b',1,'glfw3.h']]], + ['glfwgetjoystickname',['glfwGetJoystickName',['../group__input.html#gac8d7f6107e05cfd106cfba973ab51e19',1,'glfw3.h']]], + ['glfwgetkey',['glfwGetKey',['../group__input.html#gadd341da06bc8d418b4dc3a3518af9ad2',1,'glfw3.h']]], + ['glfwgetmonitorname',['glfwGetMonitorName',['../group__monitor.html#ga79a34ee22ff080ca954a9663e4679daf',1,'glfw3.h']]], + ['glfwgetmonitorphysicalsize',['glfwGetMonitorPhysicalSize',['../group__monitor.html#gaa2d6107f4a35771b99812d1260c6056d',1,'glfw3.h']]], + ['glfwgetmonitorpos',['glfwGetMonitorPos',['../group__monitor.html#ga102f54e7acc9149edbcf0997152df8c9',1,'glfw3.h']]], + ['glfwgetmonitors',['glfwGetMonitors',['../group__monitor.html#ga3fba51c8bd36491d4712aa5bd074a537',1,'glfw3.h']]], + ['glfwgetmousebutton',['glfwGetMouseButton',['../group__input.html#gac1473feacb5996c01a7a5a33b5066704',1,'glfw3.h']]], + ['glfwgetnsglcontext',['glfwGetNSGLContext',['../group__native.html#ga559e002e3cd63c979881770cd4dc63bc',1,'glfw3native.h']]], + ['glfwgetprimarymonitor',['glfwGetPrimaryMonitor',['../group__monitor.html#ga721867d84c6d18d6790d64d2847ca0b1',1,'glfw3.h']]], + ['glfwgetprocaddress',['glfwGetProcAddress',['../group__context.html#ga35f1837e6f666781842483937612f163',1,'glfw3.h']]], + ['glfwgettime',['glfwGetTime',['../group__time.html#gaa6cf4e7a77158a3b8fd00328b1720a4a',1,'glfw3.h']]], + ['glfwgetversion',['glfwGetVersion',['../group__init.html#ga9f8ffaacf3c269cc48eafbf8b9b71197',1,'glfw3.h']]], + ['glfwgetversionstring',['glfwGetVersionString',['../group__init.html#ga23d47dc013fce2bf58036da66079a657',1,'glfw3.h']]], + ['glfwgetvideomode',['glfwGetVideoMode',['../group__monitor.html#gafc1bb972a921ad5b3bd5d63a95fc2d52',1,'glfw3.h']]], + ['glfwgetvideomodes',['glfwGetVideoModes',['../group__monitor.html#ga820b0ce9a5237d645ea7cbb4bd383458',1,'glfw3.h']]], + ['glfwgetwglcontext',['glfwGetWGLContext',['../group__native.html#gadc4010d91d9cc1134d040eeb1202a143',1,'glfw3native.h']]], + ['glfwgetwin32window',['glfwGetWin32Window',['../group__native.html#gafe5079aa79038b0079fc09d5f0a8e667',1,'glfw3native.h']]], + ['glfwgetwindowattrib',['glfwGetWindowAttrib',['../group__window.html#gacccb29947ea4b16860ebef42c2cb9337',1,'glfw3.h']]], + ['glfwgetwindowmonitor',['glfwGetWindowMonitor',['../group__window.html#gaeac25e64789974ccbe0811766bd91a16',1,'glfw3.h']]], + ['glfwgetwindowpos',['glfwGetWindowPos',['../group__window.html#ga73cb526c000876fd8ddf571570fdb634',1,'glfw3.h']]], + ['glfwgetwindowsize',['glfwGetWindowSize',['../group__window.html#gaeea7cbc03373a41fb51cfbf9f2a5d4c6',1,'glfw3.h']]], + ['glfwgetwindowuserpointer',['glfwGetWindowUserPointer',['../group__window.html#ga17807ce0f45ac3f8bb50d6dcc59a4e06',1,'glfw3.h']]], + ['glfwgetx11display',['glfwGetX11Display',['../group__native.html#ga8519b66594ea3ef6eeafaa2e3ee37406',1,'glfw3native.h']]], + ['glfwgetx11window',['glfwGetX11Window',['../group__native.html#ga90ca676322740842db446999a1b1f21d',1,'glfw3native.h']]], + ['glfwglproc',['GLFWglproc',['../group__context.html#ga3d47c2d2fbe0be9c505d0e04e91a133c',1,'glfw3.h']]], + ['glfwhidewindow',['glfwHideWindow',['../group__window.html#ga49401f82a1ba5f15db5590728314d47c',1,'glfw3.h']]], + ['glfwiconifywindow',['glfwIconifyWindow',['../group__window.html#ga1bb559c0ebaad63c5c05ad2a066779c4',1,'glfw3.h']]], + ['glfwinit',['glfwInit',['../group__init.html#ga317aac130a235ab08c6db0834907d85e',1,'glfw3.h']]], + ['glfwjoystickpresent',['glfwJoystickPresent',['../group__input.html#gaffcbd9ac8ee737fcdd25475123a3c790',1,'glfw3.h']]], + ['glfwkeyfun',['GLFWkeyfun',['../group__input.html#ga0192a232a41e4e82948217c8ba94fdfd',1,'glfw3.h']]], + ['glfwmakecontextcurrent',['glfwMakeContextCurrent',['../group__context.html#ga1c04dc242268f827290fe40aa1c91157',1,'glfw3.h']]], + ['glfwmonitor',['GLFWmonitor',['../group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3',1,'glfw3.h']]], + ['glfwmonitorfun',['GLFWmonitorfun',['../group__monitor.html#ga8a7ee579a66720f24d656526f3e44c63',1,'glfw3.h']]], + ['glfwmousebuttonfun',['GLFWmousebuttonfun',['../group__input.html#ga39893a4a7e7c3239c98d29c9e084350c',1,'glfw3.h']]], + ['glfwpollevents',['glfwPollEvents',['../group__window.html#ga37bd57223967b4211d60ca1a0bf3c832',1,'glfw3.h']]], + ['glfwrestorewindow',['glfwRestoreWindow',['../group__window.html#ga52527a5904b47d802b6b4bb519cdebc7',1,'glfw3.h']]], + ['glfwscrollfun',['GLFWscrollfun',['../group__input.html#ga4687e2199c60a18a8dd1da532e6d75c9',1,'glfw3.h']]], + ['glfwsetcharcallback',['glfwSetCharCallback',['../group__input.html#ga556239421c6a5a243c66fca28da9f742',1,'glfw3.h']]], + ['glfwsetclipboardstring',['glfwSetClipboardString',['../group__clipboard.html#gaba1f022c5eb07dfac421df34cdcd31dd',1,'glfw3.h']]], + ['glfwsetcursorentercallback',['glfwSetCursorEnterCallback',['../group__input.html#gaa299c41dd0a3d171d166354e01279e04',1,'glfw3.h']]], + ['glfwsetcursorpos',['glfwSetCursorPos',['../group__input.html#ga04b03af936d906ca123c8f4ee08b39e7',1,'glfw3.h']]], + ['glfwsetcursorposcallback',['glfwSetCursorPosCallback',['../group__input.html#ga7dad39486f2c7591af7fb25134a2501d',1,'glfw3.h']]], + ['glfwseterrorcallback',['glfwSetErrorCallback',['../group__error.html#gaa5d796c3cf7c1a7f02f845486333fb5f',1,'glfw3.h']]], + ['glfwsetframebuffersizecallback',['glfwSetFramebufferSizeCallback',['../group__window.html#ga3203461a5303bf289f2e05f854b2f7cf',1,'glfw3.h']]], + ['glfwsetgamma',['glfwSetGamma',['../group__monitor.html#ga6ac582625c990220785ddd34efa3169a',1,'glfw3.h']]], + ['glfwsetgammaramp',['glfwSetGammaRamp',['../group__monitor.html#ga583f0ffd0d29613d8cd172b996bbf0dd',1,'glfw3.h']]], + ['glfwsetinputmode',['glfwSetInputMode',['../group__input.html#gaa92336e173da9c8834558b54ee80563b',1,'glfw3.h']]], + ['glfwsetkeycallback',['glfwSetKeyCallback',['../group__input.html#ga7e496507126f35ea72f01b2e6ef6d155',1,'glfw3.h']]], + ['glfwsetmonitorcallback',['glfwSetMonitorCallback',['../group__monitor.html#gac3fe0f647f68b731f99756cd81897378',1,'glfw3.h']]], + ['glfwsetmousebuttoncallback',['glfwSetMouseButtonCallback',['../group__input.html#gaef49b72d84d615bca0a6ed65485e035d',1,'glfw3.h']]], + ['glfwsetscrollcallback',['glfwSetScrollCallback',['../group__input.html#gacf02eb10504352f16efda4593c3ce60e',1,'glfw3.h']]], + ['glfwsettime',['glfwSetTime',['../group__time.html#gaf59589ef6e8b8c8b5ad184b25afd4dc0',1,'glfw3.h']]], + ['glfwsetwindowclosecallback',['glfwSetWindowCloseCallback',['../group__window.html#gaade9264e79fae52bdb78e2df11ee8d6a',1,'glfw3.h']]], + ['glfwsetwindowfocuscallback',['glfwSetWindowFocusCallback',['../group__window.html#ga25d1c584edb375d7711c5c3548ba711f',1,'glfw3.h']]], + ['glfwsetwindowiconifycallback',['glfwSetWindowIconifyCallback',['../group__window.html#gab1ea7263081c0e073b8d5b91d6ffd367',1,'glfw3.h']]], + ['glfwsetwindowpos',['glfwSetWindowPos',['../group__window.html#ga1abb6d690e8c88e0c8cd1751356dbca8',1,'glfw3.h']]], + ['glfwsetwindowposcallback',['glfwSetWindowPosCallback',['../group__window.html#ga2837d4d240659feb4268fcb6530a6ba1',1,'glfw3.h']]], + ['glfwsetwindowrefreshcallback',['glfwSetWindowRefreshCallback',['../group__window.html#ga4569b76e8ac87c55b53199e6becd97eb',1,'glfw3.h']]], + ['glfwsetwindowshouldclose',['glfwSetWindowShouldClose',['../group__window.html#ga49c449dde2a6f87d996f4daaa09d6708',1,'glfw3.h']]], + ['glfwsetwindowsize',['glfwSetWindowSize',['../group__window.html#ga371911f12c74c504dd8d47d832d095cb',1,'glfw3.h']]], + ['glfwsetwindowsizecallback',['glfwSetWindowSizeCallback',['../group__window.html#gaa40cd24840daa8c62f36cafc847c72b6',1,'glfw3.h']]], + ['glfwsetwindowtitle',['glfwSetWindowTitle',['../group__window.html#ga5d877f09e968cef7a360b513306f17ff',1,'glfw3.h']]], + ['glfwsetwindowuserpointer',['glfwSetWindowUserPointer',['../group__window.html#ga3d2fc6026e690ab31a13f78bc9fd3651',1,'glfw3.h']]], + ['glfwshowwindow',['glfwShowWindow',['../group__window.html#ga61be47917b72536a148300f46494fc66',1,'glfw3.h']]], + ['glfwswapbuffers',['glfwSwapBuffers',['../group__context.html#ga15a5a1ee5b3c2ca6b15ca209a12efd14',1,'glfw3.h']]], + ['glfwswapinterval',['glfwSwapInterval',['../group__context.html#ga6d4e0cdf151b5e579bd67f13202994ed',1,'glfw3.h']]], + ['glfwterminate',['glfwTerminate',['../group__init.html#gaaae48c0a18607ea4a4ba951d939f0901',1,'glfw3.h']]], + ['glfwvidmode',['GLFWvidmode',['../structGLFWvidmode.html',1,'GLFWvidmode'],['../group__monitor.html#gae48aadf4ea0967e6605c8f58fa5daccb',1,'GLFWvidmode(): glfw3.h']]], + ['glfwwaitevents',['glfwWaitEvents',['../group__window.html#ga554e37d781f0a997656c26b2c56c835e',1,'glfw3.h']]], + ['glfwwindow',['GLFWwindow',['../group__window.html#ga3c96d80d363e67d13a41b5d1821f3242',1,'glfw3.h']]], + ['glfwwindowclosefun',['GLFWwindowclosefun',['../group__window.html#ga93e7c2555bd837f4ed8b20f76cada72e',1,'glfw3.h']]], + ['glfwwindowfocusfun',['GLFWwindowfocusfun',['../group__window.html#ga58be2061828dd35080bb438405d3a7e2',1,'glfw3.h']]], + ['glfwwindowhint',['glfwWindowHint',['../group__window.html#ga4fd9e504bb937e79588a0ffdca9f620b',1,'glfw3.h']]], + ['glfwwindowiconifyfun',['GLFWwindowiconifyfun',['../group__window.html#gad2d4e4c3d28b1242e742e8268b9528af',1,'glfw3.h']]], + ['glfwwindowposfun',['GLFWwindowposfun',['../group__window.html#gafd8db81fdb0e850549dc6bace5ed697a',1,'glfw3.h']]], + ['glfwwindowrefreshfun',['GLFWwindowrefreshfun',['../group__window.html#ga7a56f9e0227e2cd9470d80d919032e08',1,'glfw3.h']]], + ['glfwwindowshouldclose',['glfwWindowShouldClose',['../group__window.html#ga24e02fbfefbb81fc45320989f8140ab5',1,'glfw3.h']]], + ['glfwwindowsizefun',['GLFWwindowsizefun',['../group__window.html#gae49ee6ebc03fa2da024b89943a331355',1,'glfw3.h']]], + ['green',['green',['../structGLFWgammaramp.html#affccc6f5df47820b6562d709da3a5a3a',1,'GLFWgammaramp']]], + ['greenbits',['greenBits',['../structGLFWvidmode.html#a292fdd281f3485fb3ff102a5bda43faa',1,'GLFWvidmode']]], + ['getting_20started',['Getting started',['../quick.html',1,'']]] +]; diff --git a/docs/3.0/search/all_4.html b/docs/3.0/search/all_4.html new file mode 100644 index 0000000..6452295 --- /dev/null +++ b/docs/3.0/search/all_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/all_4.js b/docs/3.0/search/all_4.js new file mode 100644 index 0000000..c32bb7d --- /dev/null +++ b/docs/3.0/search/all_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['height',['height',['../structGLFWvidmode.html#ac65942a5f6981695517437a9d571d03c',1,'GLFWvidmode']]] +]; diff --git a/docs/3.0/search/all_5.html b/docs/3.0/search/all_5.html new file mode 100644 index 0000000..e59e1d5 --- /dev/null +++ b/docs/3.0/search/all_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/all_5.js b/docs/3.0/search/all_5.js new file mode 100644 index 0000000..d71d63a --- /dev/null +++ b/docs/3.0/search/all_5.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['initialization_20and_20version_20information',['Initialization and version information',['../group__init.html',1,'']]], + ['input_20handling',['Input handling',['../group__input.html',1,'']]] +]; diff --git a/docs/3.0/search/all_6.html b/docs/3.0/search/all_6.html new file mode 100644 index 0000000..f75a754 --- /dev/null +++ b/docs/3.0/search/all_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/all_6.js b/docs/3.0/search/all_6.js new file mode 100644 index 0000000..8a2eb27 --- /dev/null +++ b/docs/3.0/search/all_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['joysticks',['Joysticks',['../group__joysticks.html',1,'']]] +]; diff --git a/docs/3.0/search/all_7.html b/docs/3.0/search/all_7.html new file mode 100644 index 0000000..88acd94 --- /dev/null +++ b/docs/3.0/search/all_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/all_7.js b/docs/3.0/search/all_7.js new file mode 100644 index 0000000..e1f2924 --- /dev/null +++ b/docs/3.0/search/all_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['keyboard_20keys',['Keyboard keys',['../group__keys.html',1,'']]] +]; diff --git a/docs/3.0/search/all_8.html b/docs/3.0/search/all_8.html new file mode 100644 index 0000000..b74d5fd --- /dev/null +++ b/docs/3.0/search/all_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/all_8.js b/docs/3.0/search/all_8.js new file mode 100644 index 0000000..d5899bf --- /dev/null +++ b/docs/3.0/search/all_8.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['mouse_20buttons',['Mouse buttons',['../group__buttons.html',1,'']]], + ['main_2edox',['main.dox',['../main_8dox.html',1,'']]], + ['modifier_20key_20flags',['Modifier key flags',['../group__mods.html',1,'']]], + ['multi_2dmonitor_20guide',['Multi-monitor guide',['../monitor.html',1,'']]], + ['monitor_20handling',['Monitor handling',['../group__monitor.html',1,'']]], + ['monitor_2edox',['monitor.dox',['../monitor_8dox.html',1,'']]], + ['moving_20from_20glfw_202_20to_203',['Moving from GLFW 2 to 3',['../moving.html',1,'']]], + ['moving_2edox',['moving.dox',['../moving_8dox.html',1,'']]] +]; diff --git a/docs/3.0/search/all_9.html b/docs/3.0/search/all_9.html new file mode 100644 index 0000000..95e88dd --- /dev/null +++ b/docs/3.0/search/all_9.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/all_9.js b/docs/3.0/search/all_9.js new file mode 100644 index 0000000..5a77649 --- /dev/null +++ b/docs/3.0/search/all_9.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['notitle',['notitle',['../index.html',1,'']]], + ['native_20access',['Native access',['../group__native.html',1,'']]], + ['new_20features',['New features',['../news.html',1,'']]], + ['news_2edox',['news.dox',['../news_8dox.html',1,'']]] +]; diff --git a/docs/3.0/search/all_a.html b/docs/3.0/search/all_a.html new file mode 100644 index 0000000..3148a8e --- /dev/null +++ b/docs/3.0/search/all_a.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/all_a.js b/docs/3.0/search/all_a.js new file mode 100644 index 0000000..89d569c --- /dev/null +++ b/docs/3.0/search/all_a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['quick_2edox',['quick.dox',['../quick_8dox.html',1,'']]] +]; diff --git a/docs/3.0/search/all_b.html b/docs/3.0/search/all_b.html new file mode 100644 index 0000000..f2a3c8d --- /dev/null +++ b/docs/3.0/search/all_b.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/all_b.js b/docs/3.0/search/all_b.js new file mode 100644 index 0000000..b7ac9ce --- /dev/null +++ b/docs/3.0/search/all_b.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['red',['red',['../structGLFWgammaramp.html#a2cce5d968734b685623eef913e635138',1,'GLFWgammaramp']]], + ['redbits',['redBits',['../structGLFWvidmode.html#a6066c4ecd251098700062d3b735dba1b',1,'GLFWvidmode']]], + ['refreshrate',['refreshRate',['../structGLFWvidmode.html#a791bdd6c7697b09f7e9c97054bf05649',1,'GLFWvidmode']]] +]; diff --git a/docs/3.0/search/all_c.html b/docs/3.0/search/all_c.html new file mode 100644 index 0000000..6376810 --- /dev/null +++ b/docs/3.0/search/all_c.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/all_c.js b/docs/3.0/search/all_c.js new file mode 100644 index 0000000..4531d81 --- /dev/null +++ b/docs/3.0/search/all_c.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['standards_20conformance',['Standards conformance',['../compat.html',1,'']]], + ['size',['size',['../structGLFWgammaramp.html#ad620e1cffbff9a32c51bca46301b59a5',1,'GLFWgammaramp']]] +]; diff --git a/docs/3.0/search/all_d.html b/docs/3.0/search/all_d.html new file mode 100644 index 0000000..cc52c79 --- /dev/null +++ b/docs/3.0/search/all_d.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/all_d.js b/docs/3.0/search/all_d.js new file mode 100644 index 0000000..4f3de5f --- /dev/null +++ b/docs/3.0/search/all_d.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['time_20input',['Time input',['../group__time.html',1,'']]] +]; diff --git a/docs/3.0/search/all_e.html b/docs/3.0/search/all_e.html new file mode 100644 index 0000000..85b39bd --- /dev/null +++ b/docs/3.0/search/all_e.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/all_e.js b/docs/3.0/search/all_e.js new file mode 100644 index 0000000..1f0e37e --- /dev/null +++ b/docs/3.0/search/all_e.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['width',['width',['../structGLFWvidmode.html#a698dcb200562051a7249cb6ae154c71d',1,'GLFWvidmode']]], + ['window_20handling_20guide',['Window handling guide',['../window.html',1,'']]], + ['window_20handling',['Window handling',['../group__window.html',1,'']]], + ['window_2edox',['window.dox',['../window_8dox.html',1,'']]] +]; diff --git a/docs/3.0/search/classes_0.html b/docs/3.0/search/classes_0.html new file mode 100644 index 0000000..e935fdf --- /dev/null +++ b/docs/3.0/search/classes_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/classes_0.js b/docs/3.0/search/classes_0.js new file mode 100644 index 0000000..3a5c2fc --- /dev/null +++ b/docs/3.0/search/classes_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['glfwgammaramp',['GLFWgammaramp',['../structGLFWgammaramp.html',1,'']]], + ['glfwvidmode',['GLFWvidmode',['../structGLFWvidmode.html',1,'']]] +]; diff --git a/docs/3.0/search/close.png b/docs/3.0/search/close.png new file mode 100644 index 0000000000000000000000000000000000000000..9342d3dfeea7b7c4ee610987e717804b5a42ceb9 GIT binary patch literal 273 zcmV+s0q*{ZP)4(RlMby96)VwnbG{ zbe&}^BDn7x>$<{ck4zAK-=nT;=hHG)kmplIF${xqm8db3oX6wT3bvp`TE@m0cg;b) zBuSL}5?N7O(iZLdAlz@)b)Rd~DnSsSX&P5qC`XwuFwcAYLC+d2>+1(8on;wpt8QIC X2MT$R4iQDd00000NkvXXu0mjfia~GN literal 0 HcmV?d00001 diff --git a/docs/3.0/search/defines_0.html b/docs/3.0/search/defines_0.html new file mode 100644 index 0000000..3bffafa --- /dev/null +++ b/docs/3.0/search/defines_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/defines_0.js b/docs/3.0/search/defines_0.js new file mode 100644 index 0000000..6e11e85 --- /dev/null +++ b/docs/3.0/search/defines_0.js @@ -0,0 +1,47 @@ +var searchData= +[ + ['glfw_5faccum_5falpha_5fbits',['GLFW_ACCUM_ALPHA_BITS',['../glfw3_8h.html#ae829b55591c18169a40ab4067a041b1f',1,'glfw3.h']]], + ['glfw_5faccum_5fblue_5fbits',['GLFW_ACCUM_BLUE_BITS',['../glfw3_8h.html#a22bbe9104a8ce1f8b88fb4f186aa36ce',1,'glfw3.h']]], + ['glfw_5faccum_5fgreen_5fbits',['GLFW_ACCUM_GREEN_BITS',['../glfw3_8h.html#a65713cee1326f8e9d806fdf93187b471',1,'glfw3.h']]], + ['glfw_5faccum_5fred_5fbits',['GLFW_ACCUM_RED_BITS',['../glfw3_8h.html#aead34a9a683b2bc20eecf30ba738bfc6',1,'glfw3.h']]], + ['glfw_5falpha_5fbits',['GLFW_ALPHA_BITS',['../glfw3_8h.html#afed79a3f468997877da86c449bd43e8c',1,'glfw3.h']]], + ['glfw_5faux_5fbuffers',['GLFW_AUX_BUFFERS',['../glfw3_8h.html#ab05108c5029443b371112b031d1fa174',1,'glfw3.h']]], + ['glfw_5fblue_5fbits',['GLFW_BLUE_BITS',['../glfw3_8h.html#ab292ea403db6d514537b515311bf9ae3',1,'glfw3.h']]], + ['glfw_5fclient_5fapi',['GLFW_CLIENT_API',['../glfw3_8h.html#a649309cf72a3d3de5b1348ca7936c95b',1,'glfw3.h']]], + ['glfw_5fconnected',['GLFW_CONNECTED',['../glfw3_8h.html#abe11513fd1ffbee5bb9b173f06028b9e',1,'glfw3.h']]], + ['glfw_5fcontext_5frevision',['GLFW_CONTEXT_REVISION',['../glfw3_8h.html#afb9475071aa77c6fb05ca5a5c8678a08',1,'glfw3.h']]], + ['glfw_5fcontext_5frobustness',['GLFW_CONTEXT_ROBUSTNESS',['../glfw3_8h.html#ade3593916b4c507900aa2d6844810e00',1,'glfw3.h']]], + ['glfw_5fcontext_5fversion_5fmajor',['GLFW_CONTEXT_VERSION_MAJOR',['../glfw3_8h.html#afe5e4922de1f9932d7e9849bb053b0c0',1,'glfw3.h']]], + ['glfw_5fcontext_5fversion_5fminor',['GLFW_CONTEXT_VERSION_MINOR',['../glfw3_8h.html#a31aca791e4b538c4e4a771eb95cc2d07',1,'glfw3.h']]], + ['glfw_5fcursor',['GLFW_CURSOR',['../glfw3_8h.html#aade31da5b884a84a7625c6b059b9132c',1,'glfw3.h']]], + ['glfw_5fcursor_5fdisabled',['GLFW_CURSOR_DISABLED',['../glfw3_8h.html#a2315b99a329ce53e6a13a9d46fd5ca88',1,'glfw3.h']]], + ['glfw_5fcursor_5fhidden',['GLFW_CURSOR_HIDDEN',['../glfw3_8h.html#ac4d5cb9d78de8573349c58763d53bf11',1,'glfw3.h']]], + ['glfw_5fcursor_5fnormal',['GLFW_CURSOR_NORMAL',['../glfw3_8h.html#ae04dd25c8577e19fa8c97368561f6c68',1,'glfw3.h']]], + ['glfw_5fdecorated',['GLFW_DECORATED',['../glfw3_8h.html#a21b854d36314c94d65aed84405b2f25e',1,'glfw3.h']]], + ['glfw_5fdepth_5fbits',['GLFW_DEPTH_BITS',['../glfw3_8h.html#a318a55eac1fee57dfe593b6d38149d07',1,'glfw3.h']]], + ['glfw_5fdisconnected',['GLFW_DISCONNECTED',['../glfw3_8h.html#aab64b25921ef21d89252d6f0a71bfc32',1,'glfw3.h']]], + ['glfw_5ffocused',['GLFW_FOCUSED',['../glfw3_8h.html#a54ddb14825a1541a56e22afb5f832a9e',1,'glfw3.h']]], + ['glfw_5fgreen_5fbits',['GLFW_GREEN_BITS',['../glfw3_8h.html#afba3b72638c914e5fb8a237dd4c50d4d',1,'glfw3.h']]], + ['glfw_5ficonified',['GLFW_ICONIFIED',['../glfw3_8h.html#a39d44b7c056e55e581355a92d240b58a',1,'glfw3.h']]], + ['glfw_5flose_5fcontext_5fon_5freset',['GLFW_LOSE_CONTEXT_ON_RESET',['../glfw3_8h.html#aec1132f245143fc915b2f0995228564c',1,'glfw3.h']]], + ['glfw_5fno_5freset_5fnotification',['GLFW_NO_RESET_NOTIFICATION',['../glfw3_8h.html#aee84a679230d205005e22487ff678a85',1,'glfw3.h']]], + ['glfw_5fno_5frobustness',['GLFW_NO_ROBUSTNESS',['../glfw3_8h.html#a8b306cb27f5bb0d6d67c7356a0e0fc34',1,'glfw3.h']]], + ['glfw_5fopengl_5fany_5fprofile',['GLFW_OPENGL_ANY_PROFILE',['../glfw3_8h.html#ad6f2335d6f21cc9bab96633b1c111d5f',1,'glfw3.h']]], + ['glfw_5fopengl_5fapi',['GLFW_OPENGL_API',['../glfw3_8h.html#a01b3f66db266341425e9abee6b257db2',1,'glfw3.h']]], + ['glfw_5fopengl_5fcompat_5fprofile',['GLFW_OPENGL_COMPAT_PROFILE',['../glfw3_8h.html#ac06b663d79c8fcf04669cc8fcc0b7670',1,'glfw3.h']]], + ['glfw_5fopengl_5fcore_5fprofile',['GLFW_OPENGL_CORE_PROFILE',['../glfw3_8h.html#af094bb16da76f66ebceb19ee213b3de8',1,'glfw3.h']]], + ['glfw_5fopengl_5fdebug_5fcontext',['GLFW_OPENGL_DEBUG_CONTEXT',['../glfw3_8h.html#a87ec2df0b915201e950ca42d5d0831e1',1,'glfw3.h']]], + ['glfw_5fopengl_5fes_5fapi',['GLFW_OPENGL_ES_API',['../glfw3_8h.html#a28d9b3bc6c2a522d815c8e146595051f',1,'glfw3.h']]], + ['glfw_5fopengl_5fforward_5fcompat',['GLFW_OPENGL_FORWARD_COMPAT',['../glfw3_8h.html#a13d24b12465da8b28985f46c8557925b',1,'glfw3.h']]], + ['glfw_5fopengl_5fprofile',['GLFW_OPENGL_PROFILE',['../glfw3_8h.html#a44f3a6b4261fbe351e0b950b0f372e12',1,'glfw3.h']]], + ['glfw_5fred_5fbits',['GLFW_RED_BITS',['../glfw3_8h.html#af78ed8e417dbcc1e354906cc2708c982',1,'glfw3.h']]], + ['glfw_5frefresh_5frate',['GLFW_REFRESH_RATE',['../glfw3_8h.html#a0f20825e6e47ee8ba389024519682212',1,'glfw3.h']]], + ['glfw_5fresizable',['GLFW_RESIZABLE',['../glfw3_8h.html#adba13c7a1b3aa40831eb2beedbd5bd1d',1,'glfw3.h']]], + ['glfw_5fsamples',['GLFW_SAMPLES',['../glfw3_8h.html#a2cdf86fdcb7722fb8829c4e201607535',1,'glfw3.h']]], + ['glfw_5fsrgb_5fcapable',['GLFW_SRGB_CAPABLE',['../glfw3_8h.html#a444a8f00414a63220591f9fdb7b5642b',1,'glfw3.h']]], + ['glfw_5fstencil_5fbits',['GLFW_STENCIL_BITS',['../glfw3_8h.html#a5339890a45a1fb38e93cb9fcc5fd069d',1,'glfw3.h']]], + ['glfw_5fstereo',['GLFW_STEREO',['../glfw3_8h.html#a83d991efca02537e2d69969135b77b03',1,'glfw3.h']]], + ['glfw_5fsticky_5fkeys',['GLFW_STICKY_KEYS',['../glfw3_8h.html#ae3bbe2315b7691ab088159eb6c9110fc',1,'glfw3.h']]], + ['glfw_5fsticky_5fmouse_5fbuttons',['GLFW_STICKY_MOUSE_BUTTONS',['../glfw3_8h.html#a4d7ce8ce71030c3b04e2b78145bc59d1',1,'glfw3.h']]], + ['glfw_5fvisible',['GLFW_VISIBLE',['../glfw3_8h.html#afb3cdc45297e06d8f1eb13adc69ca6c4',1,'glfw3.h']]] +]; diff --git a/docs/3.0/search/files_0.html b/docs/3.0/search/files_0.html new file mode 100644 index 0000000..49606c8 --- /dev/null +++ b/docs/3.0/search/files_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/files_0.js b/docs/3.0/search/files_0.js new file mode 100644 index 0000000..c470857 --- /dev/null +++ b/docs/3.0/search/files_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['build_2edox',['build.dox',['../build_8dox.html',1,'']]] +]; diff --git a/docs/3.0/search/files_1.html b/docs/3.0/search/files_1.html new file mode 100644 index 0000000..c887174 --- /dev/null +++ b/docs/3.0/search/files_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/files_1.js b/docs/3.0/search/files_1.js new file mode 100644 index 0000000..8d34ec3 --- /dev/null +++ b/docs/3.0/search/files_1.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['compat_2edox',['compat.dox',['../compat_8dox.html',1,'']]], + ['compile_2edox',['compile.dox',['../compile_8dox.html',1,'']]], + ['context_2edox',['context.dox',['../context_8dox.html',1,'']]] +]; diff --git a/docs/3.0/search/files_2.html b/docs/3.0/search/files_2.html new file mode 100644 index 0000000..99bdf21 --- /dev/null +++ b/docs/3.0/search/files_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/files_2.js b/docs/3.0/search/files_2.js new file mode 100644 index 0000000..fdac23d --- /dev/null +++ b/docs/3.0/search/files_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['glfw3_2eh',['glfw3.h',['../glfw3_8h.html',1,'']]], + ['glfw3native_2eh',['glfw3native.h',['../glfw3native_8h.html',1,'']]] +]; diff --git a/docs/3.0/search/files_3.html b/docs/3.0/search/files_3.html new file mode 100644 index 0000000..f8e543a --- /dev/null +++ b/docs/3.0/search/files_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/files_3.js b/docs/3.0/search/files_3.js new file mode 100644 index 0000000..f3cf03f --- /dev/null +++ b/docs/3.0/search/files_3.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['main_2edox',['main.dox',['../main_8dox.html',1,'']]], + ['monitor_2edox',['monitor.dox',['../monitor_8dox.html',1,'']]], + ['moving_2edox',['moving.dox',['../moving_8dox.html',1,'']]] +]; diff --git a/docs/3.0/search/files_4.html b/docs/3.0/search/files_4.html new file mode 100644 index 0000000..2ebb46c --- /dev/null +++ b/docs/3.0/search/files_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/files_4.js b/docs/3.0/search/files_4.js new file mode 100644 index 0000000..f6c3d10 --- /dev/null +++ b/docs/3.0/search/files_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['news_2edox',['news.dox',['../news_8dox.html',1,'']]] +]; diff --git a/docs/3.0/search/files_5.html b/docs/3.0/search/files_5.html new file mode 100644 index 0000000..268b7eb --- /dev/null +++ b/docs/3.0/search/files_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/files_5.js b/docs/3.0/search/files_5.js new file mode 100644 index 0000000..89d569c --- /dev/null +++ b/docs/3.0/search/files_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['quick_2edox',['quick.dox',['../quick_8dox.html',1,'']]] +]; diff --git a/docs/3.0/search/files_6.html b/docs/3.0/search/files_6.html new file mode 100644 index 0000000..98fc666 --- /dev/null +++ b/docs/3.0/search/files_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/files_6.js b/docs/3.0/search/files_6.js new file mode 100644 index 0000000..e822451 --- /dev/null +++ b/docs/3.0/search/files_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window_2edox',['window.dox',['../window_8dox.html',1,'']]] +]; diff --git a/docs/3.0/search/functions_0.html b/docs/3.0/search/functions_0.html new file mode 100644 index 0000000..0539c8c --- /dev/null +++ b/docs/3.0/search/functions_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/functions_0.js b/docs/3.0/search/functions_0.js new file mode 100644 index 0000000..432dd9a --- /dev/null +++ b/docs/3.0/search/functions_0.js @@ -0,0 +1,84 @@ +var searchData= +[ + ['glfwcreatewindow',['glfwCreateWindow',['../group__window.html#ga5c336fddf2cbb5b92f65f10fb6043344',1,'glfw3.h']]], + ['glfwdefaultwindowhints',['glfwDefaultWindowHints',['../group__window.html#gaa77c4898dfb83344a6b4f76aa16b9a4a',1,'glfw3.h']]], + ['glfwdestroywindow',['glfwDestroyWindow',['../group__window.html#gacdf43e51376051d2c091662e9fe3d7b2',1,'glfw3.h']]], + ['glfwextensionsupported',['glfwExtensionSupported',['../group__context.html#ga87425065c011cef1ebd6aac75e059dfa',1,'glfw3.h']]], + ['glfwgetclipboardstring',['glfwGetClipboardString',['../group__clipboard.html#ga5aba1d704d9ab539282b1fbe9f18bb94',1,'glfw3.h']]], + ['glfwgetcocoawindow',['glfwGetCocoaWindow',['../group__native.html#gac3ed9d495d0c2bb9652de5a50c648715',1,'glfw3native.h']]], + ['glfwgetcurrentcontext',['glfwGetCurrentContext',['../group__context.html#gac84759b1f6c2d271a4fea8ae89ec980d',1,'glfw3.h']]], + ['glfwgetcursorpos',['glfwGetCursorPos',['../group__input.html#ga01d37b6c40133676b9cea60ca1d7c0cc',1,'glfw3.h']]], + ['glfwgeteglcontext',['glfwGetEGLContext',['../group__native.html#ga671c5072becd085f4ab5771a9c8efcf1',1,'glfw3native.h']]], + ['glfwgetegldisplay',['glfwGetEGLDisplay',['../group__native.html#ga1cd8d973f47aacb5532d368147cc3138',1,'glfw3native.h']]], + ['glfwgeteglsurface',['glfwGetEGLSurface',['../group__native.html#ga2199b36117a6a695fec8441d8052eee6',1,'glfw3native.h']]], + ['glfwgetframebuffersize',['glfwGetFramebufferSize',['../group__window.html#ga0e2637a4161afb283f5300c7f94785c9',1,'glfw3.h']]], + ['glfwgetgammaramp',['glfwGetGammaRamp',['../group__monitor.html#gab7c41deb2219bde3e1eb756ddaa9ec80',1,'glfw3.h']]], + ['glfwgetglxcontext',['glfwGetGLXContext',['../group__native.html#ga62d884114b0abfcdc2930e89f20867e2',1,'glfw3native.h']]], + ['glfwgetinputmode',['glfwGetInputMode',['../group__input.html#gaf5b859dbe19bdf434e42695ea45cc5f4',1,'glfw3.h']]], + ['glfwgetjoystickaxes',['glfwGetJoystickAxes',['../group__input.html#ga6271d46a5901ec2c99601ccf4dd14731',1,'glfw3.h']]], + ['glfwgetjoystickbuttons',['glfwGetJoystickButtons',['../group__input.html#gace54cd930dcd502e118fe4021384ce1b',1,'glfw3.h']]], + ['glfwgetjoystickname',['glfwGetJoystickName',['../group__input.html#gac8d7f6107e05cfd106cfba973ab51e19',1,'glfw3.h']]], + ['glfwgetkey',['glfwGetKey',['../group__input.html#gadd341da06bc8d418b4dc3a3518af9ad2',1,'glfw3.h']]], + ['glfwgetmonitorname',['glfwGetMonitorName',['../group__monitor.html#ga79a34ee22ff080ca954a9663e4679daf',1,'glfw3.h']]], + ['glfwgetmonitorphysicalsize',['glfwGetMonitorPhysicalSize',['../group__monitor.html#gaa2d6107f4a35771b99812d1260c6056d',1,'glfw3.h']]], + ['glfwgetmonitorpos',['glfwGetMonitorPos',['../group__monitor.html#ga102f54e7acc9149edbcf0997152df8c9',1,'glfw3.h']]], + ['glfwgetmonitors',['glfwGetMonitors',['../group__monitor.html#ga3fba51c8bd36491d4712aa5bd074a537',1,'glfw3.h']]], + ['glfwgetmousebutton',['glfwGetMouseButton',['../group__input.html#gac1473feacb5996c01a7a5a33b5066704',1,'glfw3.h']]], + ['glfwgetnsglcontext',['glfwGetNSGLContext',['../group__native.html#ga559e002e3cd63c979881770cd4dc63bc',1,'glfw3native.h']]], + ['glfwgetprimarymonitor',['glfwGetPrimaryMonitor',['../group__monitor.html#ga721867d84c6d18d6790d64d2847ca0b1',1,'glfw3.h']]], + ['glfwgetprocaddress',['glfwGetProcAddress',['../group__context.html#ga35f1837e6f666781842483937612f163',1,'glfw3.h']]], + ['glfwgettime',['glfwGetTime',['../group__time.html#gaa6cf4e7a77158a3b8fd00328b1720a4a',1,'glfw3.h']]], + ['glfwgetversion',['glfwGetVersion',['../group__init.html#ga9f8ffaacf3c269cc48eafbf8b9b71197',1,'glfw3.h']]], + ['glfwgetversionstring',['glfwGetVersionString',['../group__init.html#ga23d47dc013fce2bf58036da66079a657',1,'glfw3.h']]], + ['glfwgetvideomode',['glfwGetVideoMode',['../group__monitor.html#gafc1bb972a921ad5b3bd5d63a95fc2d52',1,'glfw3.h']]], + ['glfwgetvideomodes',['glfwGetVideoModes',['../group__monitor.html#ga820b0ce9a5237d645ea7cbb4bd383458',1,'glfw3.h']]], + ['glfwgetwglcontext',['glfwGetWGLContext',['../group__native.html#gadc4010d91d9cc1134d040eeb1202a143',1,'glfw3native.h']]], + ['glfwgetwin32window',['glfwGetWin32Window',['../group__native.html#gafe5079aa79038b0079fc09d5f0a8e667',1,'glfw3native.h']]], + ['glfwgetwindowattrib',['glfwGetWindowAttrib',['../group__window.html#gacccb29947ea4b16860ebef42c2cb9337',1,'glfw3.h']]], + ['glfwgetwindowmonitor',['glfwGetWindowMonitor',['../group__window.html#gaeac25e64789974ccbe0811766bd91a16',1,'glfw3.h']]], + ['glfwgetwindowpos',['glfwGetWindowPos',['../group__window.html#ga73cb526c000876fd8ddf571570fdb634',1,'glfw3.h']]], + ['glfwgetwindowsize',['glfwGetWindowSize',['../group__window.html#gaeea7cbc03373a41fb51cfbf9f2a5d4c6',1,'glfw3.h']]], + ['glfwgetwindowuserpointer',['glfwGetWindowUserPointer',['../group__window.html#ga17807ce0f45ac3f8bb50d6dcc59a4e06',1,'glfw3.h']]], + ['glfwgetx11display',['glfwGetX11Display',['../group__native.html#ga8519b66594ea3ef6eeafaa2e3ee37406',1,'glfw3native.h']]], + ['glfwgetx11window',['glfwGetX11Window',['../group__native.html#ga90ca676322740842db446999a1b1f21d',1,'glfw3native.h']]], + ['glfwhidewindow',['glfwHideWindow',['../group__window.html#ga49401f82a1ba5f15db5590728314d47c',1,'glfw3.h']]], + ['glfwiconifywindow',['glfwIconifyWindow',['../group__window.html#ga1bb559c0ebaad63c5c05ad2a066779c4',1,'glfw3.h']]], + ['glfwinit',['glfwInit',['../group__init.html#ga317aac130a235ab08c6db0834907d85e',1,'glfw3.h']]], + ['glfwjoystickpresent',['glfwJoystickPresent',['../group__input.html#gaffcbd9ac8ee737fcdd25475123a3c790',1,'glfw3.h']]], + ['glfwmakecontextcurrent',['glfwMakeContextCurrent',['../group__context.html#ga1c04dc242268f827290fe40aa1c91157',1,'glfw3.h']]], + ['glfwpollevents',['glfwPollEvents',['../group__window.html#ga37bd57223967b4211d60ca1a0bf3c832',1,'glfw3.h']]], + ['glfwrestorewindow',['glfwRestoreWindow',['../group__window.html#ga52527a5904b47d802b6b4bb519cdebc7',1,'glfw3.h']]], + ['glfwsetcharcallback',['glfwSetCharCallback',['../group__input.html#ga556239421c6a5a243c66fca28da9f742',1,'glfw3.h']]], + ['glfwsetclipboardstring',['glfwSetClipboardString',['../group__clipboard.html#gaba1f022c5eb07dfac421df34cdcd31dd',1,'glfw3.h']]], + ['glfwsetcursorentercallback',['glfwSetCursorEnterCallback',['../group__input.html#gaa299c41dd0a3d171d166354e01279e04',1,'glfw3.h']]], + ['glfwsetcursorpos',['glfwSetCursorPos',['../group__input.html#ga04b03af936d906ca123c8f4ee08b39e7',1,'glfw3.h']]], + ['glfwsetcursorposcallback',['glfwSetCursorPosCallback',['../group__input.html#ga7dad39486f2c7591af7fb25134a2501d',1,'glfw3.h']]], + ['glfwseterrorcallback',['glfwSetErrorCallback',['../group__error.html#gaa5d796c3cf7c1a7f02f845486333fb5f',1,'glfw3.h']]], + ['glfwsetframebuffersizecallback',['glfwSetFramebufferSizeCallback',['../group__window.html#ga3203461a5303bf289f2e05f854b2f7cf',1,'glfw3.h']]], + ['glfwsetgamma',['glfwSetGamma',['../group__monitor.html#ga6ac582625c990220785ddd34efa3169a',1,'glfw3.h']]], + ['glfwsetgammaramp',['glfwSetGammaRamp',['../group__monitor.html#ga583f0ffd0d29613d8cd172b996bbf0dd',1,'glfw3.h']]], + ['glfwsetinputmode',['glfwSetInputMode',['../group__input.html#gaa92336e173da9c8834558b54ee80563b',1,'glfw3.h']]], + ['glfwsetkeycallback',['glfwSetKeyCallback',['../group__input.html#ga7e496507126f35ea72f01b2e6ef6d155',1,'glfw3.h']]], + ['glfwsetmonitorcallback',['glfwSetMonitorCallback',['../group__monitor.html#gac3fe0f647f68b731f99756cd81897378',1,'glfw3.h']]], + ['glfwsetmousebuttoncallback',['glfwSetMouseButtonCallback',['../group__input.html#gaef49b72d84d615bca0a6ed65485e035d',1,'glfw3.h']]], + ['glfwsetscrollcallback',['glfwSetScrollCallback',['../group__input.html#gacf02eb10504352f16efda4593c3ce60e',1,'glfw3.h']]], + ['glfwsettime',['glfwSetTime',['../group__time.html#gaf59589ef6e8b8c8b5ad184b25afd4dc0',1,'glfw3.h']]], + ['glfwsetwindowclosecallback',['glfwSetWindowCloseCallback',['../group__window.html#gaade9264e79fae52bdb78e2df11ee8d6a',1,'glfw3.h']]], + ['glfwsetwindowfocuscallback',['glfwSetWindowFocusCallback',['../group__window.html#ga25d1c584edb375d7711c5c3548ba711f',1,'glfw3.h']]], + ['glfwsetwindowiconifycallback',['glfwSetWindowIconifyCallback',['../group__window.html#gab1ea7263081c0e073b8d5b91d6ffd367',1,'glfw3.h']]], + ['glfwsetwindowpos',['glfwSetWindowPos',['../group__window.html#ga1abb6d690e8c88e0c8cd1751356dbca8',1,'glfw3.h']]], + ['glfwsetwindowposcallback',['glfwSetWindowPosCallback',['../group__window.html#ga2837d4d240659feb4268fcb6530a6ba1',1,'glfw3.h']]], + ['glfwsetwindowrefreshcallback',['glfwSetWindowRefreshCallback',['../group__window.html#ga4569b76e8ac87c55b53199e6becd97eb',1,'glfw3.h']]], + ['glfwsetwindowshouldclose',['glfwSetWindowShouldClose',['../group__window.html#ga49c449dde2a6f87d996f4daaa09d6708',1,'glfw3.h']]], + ['glfwsetwindowsize',['glfwSetWindowSize',['../group__window.html#ga371911f12c74c504dd8d47d832d095cb',1,'glfw3.h']]], + ['glfwsetwindowsizecallback',['glfwSetWindowSizeCallback',['../group__window.html#gaa40cd24840daa8c62f36cafc847c72b6',1,'glfw3.h']]], + ['glfwsetwindowtitle',['glfwSetWindowTitle',['../group__window.html#ga5d877f09e968cef7a360b513306f17ff',1,'glfw3.h']]], + ['glfwsetwindowuserpointer',['glfwSetWindowUserPointer',['../group__window.html#ga3d2fc6026e690ab31a13f78bc9fd3651',1,'glfw3.h']]], + ['glfwshowwindow',['glfwShowWindow',['../group__window.html#ga61be47917b72536a148300f46494fc66',1,'glfw3.h']]], + ['glfwswapbuffers',['glfwSwapBuffers',['../group__context.html#ga15a5a1ee5b3c2ca6b15ca209a12efd14',1,'glfw3.h']]], + ['glfwswapinterval',['glfwSwapInterval',['../group__context.html#ga6d4e0cdf151b5e579bd67f13202994ed',1,'glfw3.h']]], + ['glfwterminate',['glfwTerminate',['../group__init.html#gaaae48c0a18607ea4a4ba951d939f0901',1,'glfw3.h']]], + ['glfwwaitevents',['glfwWaitEvents',['../group__window.html#ga554e37d781f0a997656c26b2c56c835e',1,'glfw3.h']]], + ['glfwwindowhint',['glfwWindowHint',['../group__window.html#ga4fd9e504bb937e79588a0ffdca9f620b',1,'glfw3.h']]], + ['glfwwindowshouldclose',['glfwWindowShouldClose',['../group__window.html#ga24e02fbfefbb81fc45320989f8140ab5',1,'glfw3.h']]] +]; diff --git a/docs/3.0/search/groups_0.html b/docs/3.0/search/groups_0.html new file mode 100644 index 0000000..f4895cb --- /dev/null +++ b/docs/3.0/search/groups_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/groups_0.js b/docs/3.0/search/groups_0.js new file mode 100644 index 0000000..17c7155 --- /dev/null +++ b/docs/3.0/search/groups_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['clipboard_20support',['Clipboard support',['../group__clipboard.html',1,'']]], + ['context_20handling',['Context handling',['../group__context.html',1,'']]] +]; diff --git a/docs/3.0/search/groups_1.html b/docs/3.0/search/groups_1.html new file mode 100644 index 0000000..3195265 --- /dev/null +++ b/docs/3.0/search/groups_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/groups_1.js b/docs/3.0/search/groups_1.js new file mode 100644 index 0000000..f45c606 --- /dev/null +++ b/docs/3.0/search/groups_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['error_20handling',['Error handling',['../group__error.html',1,'']]], + ['error_20codes',['Error codes',['../group__errors.html',1,'']]] +]; diff --git a/docs/3.0/search/groups_2.html b/docs/3.0/search/groups_2.html new file mode 100644 index 0000000..5882446 --- /dev/null +++ b/docs/3.0/search/groups_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/groups_2.js b/docs/3.0/search/groups_2.js new file mode 100644 index 0000000..d71d63a --- /dev/null +++ b/docs/3.0/search/groups_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['initialization_20and_20version_20information',['Initialization and version information',['../group__init.html',1,'']]], + ['input_20handling',['Input handling',['../group__input.html',1,'']]] +]; diff --git a/docs/3.0/search/groups_3.html b/docs/3.0/search/groups_3.html new file mode 100644 index 0000000..bd23aa6 --- /dev/null +++ b/docs/3.0/search/groups_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/groups_3.js b/docs/3.0/search/groups_3.js new file mode 100644 index 0000000..8a2eb27 --- /dev/null +++ b/docs/3.0/search/groups_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['joysticks',['Joysticks',['../group__joysticks.html',1,'']]] +]; diff --git a/docs/3.0/search/groups_4.html b/docs/3.0/search/groups_4.html new file mode 100644 index 0000000..34edffc --- /dev/null +++ b/docs/3.0/search/groups_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/groups_4.js b/docs/3.0/search/groups_4.js new file mode 100644 index 0000000..e1f2924 --- /dev/null +++ b/docs/3.0/search/groups_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['keyboard_20keys',['Keyboard keys',['../group__keys.html',1,'']]] +]; diff --git a/docs/3.0/search/groups_5.html b/docs/3.0/search/groups_5.html new file mode 100644 index 0000000..6d9adbf --- /dev/null +++ b/docs/3.0/search/groups_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/groups_5.js b/docs/3.0/search/groups_5.js new file mode 100644 index 0000000..c8e9354 --- /dev/null +++ b/docs/3.0/search/groups_5.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['mouse_20buttons',['Mouse buttons',['../group__buttons.html',1,'']]], + ['modifier_20key_20flags',['Modifier key flags',['../group__mods.html',1,'']]], + ['monitor_20handling',['Monitor handling',['../group__monitor.html',1,'']]] +]; diff --git a/docs/3.0/search/groups_6.html b/docs/3.0/search/groups_6.html new file mode 100644 index 0000000..f8f8085 --- /dev/null +++ b/docs/3.0/search/groups_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/groups_6.js b/docs/3.0/search/groups_6.js new file mode 100644 index 0000000..18b9ede --- /dev/null +++ b/docs/3.0/search/groups_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['native_20access',['Native access',['../group__native.html',1,'']]] +]; diff --git a/docs/3.0/search/groups_7.html b/docs/3.0/search/groups_7.html new file mode 100644 index 0000000..8c734ab --- /dev/null +++ b/docs/3.0/search/groups_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/groups_7.js b/docs/3.0/search/groups_7.js new file mode 100644 index 0000000..4f3de5f --- /dev/null +++ b/docs/3.0/search/groups_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['time_20input',['Time input',['../group__time.html',1,'']]] +]; diff --git a/docs/3.0/search/groups_8.html b/docs/3.0/search/groups_8.html new file mode 100644 index 0000000..2d0c65d --- /dev/null +++ b/docs/3.0/search/groups_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/groups_8.js b/docs/3.0/search/groups_8.js new file mode 100644 index 0000000..412cd0b --- /dev/null +++ b/docs/3.0/search/groups_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window_20handling',['Window handling',['../group__window.html',1,'']]] +]; diff --git a/docs/3.0/search/mag_sel.png b/docs/3.0/search/mag_sel.png new file mode 100644 index 0000000000000000000000000000000000000000..81f6040a2092402b4d98f9ffa8855d12a0d4ca17 GIT binary patch literal 563 zcmV-30?hr1P)zxx&tqG15pu7)IiiXFflOc2k;dXd>%13GZAy? zRz!q0=|E6a6vV)&ZBS~G9oe0kbqyw1*gvY`{Pop2oKq#FlzgXt@Xh-7fxh>}`Fxg> z$%N%{$!4=5nM{(;=c!aG1Ofr^Do{u%Ih{^&Fc@H2)+a-?TBXrw5DW&z%Nb6mQ!L9O zl}b@6mB?f=tX3;#vl)}ggh(Vpyh(IK z(Mb0D{l{U$FsRjP;!{($+bsaaVi8T#1c0V#qEIOCYa9@UVLV`f__E81L;?WEaRA;Y zUH;rZ;vb;mk7JX|$=i3O~&If0O@oZfLg8gfIjW=dcBsz;gI=!{-r4# z4%6v$&~;q^j7Fo67yJ(NJWuX+I~I!tj^nW3?}^9bq|<3^+vapS5sgM^x7!cs(+mMT z&y%j};&~po+YO)3hoUH4E*E;e9>?R6SS&`X)p`njycAVcg{rEb41T{~Hk(bl-7eSb zmFxA2uIqo#@R?lKm50ND`~6Nfn|-b1|L6O98vt3Tx@gKz#isxO002ovPDHLkV1kyW B_l^Jn literal 0 HcmV?d00001 diff --git a/docs/3.0/search/nomatches.html b/docs/3.0/search/nomatches.html new file mode 100644 index 0000000..b1ded27 --- /dev/null +++ b/docs/3.0/search/nomatches.html @@ -0,0 +1,12 @@ + + + + + + + +
    +
    No Matches
    +
    + + diff --git a/docs/3.0/search/pages_0.html b/docs/3.0/search/pages_0.html new file mode 100644 index 0000000..d752858 --- /dev/null +++ b/docs/3.0/search/pages_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/pages_0.js b/docs/3.0/search/pages_0.js new file mode 100644 index 0000000..e05163d --- /dev/null +++ b/docs/3.0/search/pages_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['bug_20list',['Bug List',['../bug.html',1,'']]], + ['building_20programs_20that_20use_20glfw',['Building programs that use GLFW',['../build.html',1,'']]] +]; diff --git a/docs/3.0/search/pages_1.html b/docs/3.0/search/pages_1.html new file mode 100644 index 0000000..924fb48 --- /dev/null +++ b/docs/3.0/search/pages_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/pages_1.js b/docs/3.0/search/pages_1.js new file mode 100644 index 0000000..9228f35 --- /dev/null +++ b/docs/3.0/search/pages_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['compiling_20glfw',['Compiling GLFW',['../compile.html',1,'']]], + ['context_20handling_20guide',['Context handling guide',['../context.html',1,'']]] +]; diff --git a/docs/3.0/search/pages_2.html b/docs/3.0/search/pages_2.html new file mode 100644 index 0000000..ffc6d92 --- /dev/null +++ b/docs/3.0/search/pages_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/pages_2.js b/docs/3.0/search/pages_2.js new file mode 100644 index 0000000..4b0501f --- /dev/null +++ b/docs/3.0/search/pages_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['getting_20started',['Getting started',['../quick.html',1,'']]] +]; diff --git a/docs/3.0/search/pages_3.html b/docs/3.0/search/pages_3.html new file mode 100644 index 0000000..f374624 --- /dev/null +++ b/docs/3.0/search/pages_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/pages_3.js b/docs/3.0/search/pages_3.js new file mode 100644 index 0000000..971ab5b --- /dev/null +++ b/docs/3.0/search/pages_3.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['multi_2dmonitor_20guide',['Multi-monitor guide',['../monitor.html',1,'']]], + ['moving_20from_20glfw_202_20to_203',['Moving from GLFW 2 to 3',['../moving.html',1,'']]] +]; diff --git a/docs/3.0/search/pages_4.html b/docs/3.0/search/pages_4.html new file mode 100644 index 0000000..593494e --- /dev/null +++ b/docs/3.0/search/pages_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/pages_4.js b/docs/3.0/search/pages_4.js new file mode 100644 index 0000000..683d726 --- /dev/null +++ b/docs/3.0/search/pages_4.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['notitle',['notitle',['../index.html',1,'']]], + ['new_20features',['New features',['../news.html',1,'']]] +]; diff --git a/docs/3.0/search/pages_5.html b/docs/3.0/search/pages_5.html new file mode 100644 index 0000000..7033bd6 --- /dev/null +++ b/docs/3.0/search/pages_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/pages_5.js b/docs/3.0/search/pages_5.js new file mode 100644 index 0000000..4a32814 --- /dev/null +++ b/docs/3.0/search/pages_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['standards_20conformance',['Standards conformance',['../compat.html',1,'']]] +]; diff --git a/docs/3.0/search/pages_6.html b/docs/3.0/search/pages_6.html new file mode 100644 index 0000000..9794888 --- /dev/null +++ b/docs/3.0/search/pages_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/pages_6.js b/docs/3.0/search/pages_6.js new file mode 100644 index 0000000..ee6a95e --- /dev/null +++ b/docs/3.0/search/pages_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window_20handling_20guide',['Window handling guide',['../window.html',1,'']]] +]; diff --git a/docs/3.0/search/search.css b/docs/3.0/search/search.css new file mode 100644 index 0000000..3cf9df9 --- /dev/null +++ b/docs/3.0/search/search.css @@ -0,0 +1,271 @@ +/*---------------- Search Box */ + +#FSearchBox { + float: left; +} + +#MSearchBox { + white-space : nowrap; + float: none; + margin-top: 8px; + right: 0px; + width: 170px; + height: 24px; + z-index: 102; +} + +#MSearchBox .left +{ + display:block; + position:absolute; + left:10px; + width:20px; + height:19px; + background:url('search_l.png') no-repeat; + background-position:right; +} + +#MSearchSelect { + display:block; + position:absolute; + width:20px; + height:19px; +} + +.left #MSearchSelect { + left:4px; +} + +.right #MSearchSelect { + right:5px; +} + +#MSearchField { + display:block; + position:absolute; + height:19px; + background:url('search_m.png') repeat-x; + border:none; + width:115px; + margin-left:20px; + padding-left:4px; + color: #909090; + outline: none; + font: 9pt Arial, Verdana, sans-serif; + -webkit-border-radius: 0px; +} + +#FSearchBox #MSearchField { + margin-left:15px; +} + +#MSearchBox .right { + display:block; + position:absolute; + right:10px; + top:8px; + width:20px; + height:19px; + background:url('search_r.png') no-repeat; + background-position:left; +} + +#MSearchClose { + display: none; + position: absolute; + top: 4px; + background : none; + border: none; + margin: 0px 4px 0px 0px; + padding: 0px 0px; + outline: none; +} + +.left #MSearchClose { + left: 6px; +} + +.right #MSearchClose { + right: 2px; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 10001; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; + z-index:10000; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; +} + +.SRResult { + display: none; +} + +DIV.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.searchresult { + background-color: #F0F3F8; +} + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: url("../tab_a.png"); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/docs/3.0/search/search.js b/docs/3.0/search/search.js new file mode 100644 index 0000000..a554ab9 --- /dev/null +++ b/docs/3.0/search/search.js @@ -0,0 +1,814 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var idxChar = searchValue.substr(0, 1).toLowerCase(); + if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair + { + idxChar = searchValue.substr(0, 2); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); + if (idx!=-1) + { + var hexCode=idx.toString(16); + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches.html'; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName == 'DIV' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName == 'DIV' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults() +{ + var results = document.getElementById("SRResults"); + for (var e=0; ek7RCwB~R6VQOP#AvB$vH7i{6H{96zot$7cZT<7246EF5Np6N}+$IbiG6W zg#87A+NFaX+=_^xM1#gCtshC=E{%9^uQX_%?YwXvo{#q&MnpJ8uh(O?ZRc&~_1%^SsPxG@rfElJg-?U zm!Cz-IOn(qJP3kDp-^~qt+FGbl=5jNli^Wj_xIBG{Rc0en{!oFvyoNC7{V~T8}b>| z=jL2WIReZzX(YN(_9fV;BBD$VXQIxNasAL8ATvEu822WQ%mvv4FO#qs` BFGc_W literal 0 HcmV?d00001 diff --git a/docs/3.0/search/search_r.png b/docs/3.0/search/search_r.png new file mode 100644 index 0000000000000000000000000000000000000000..97ee8b439687084201b79c6f776a41f495c6392a GIT binary patch literal 612 zcmV-q0-ODbP)PbXFRCwB?)W514K@j&X?z2*SxFI6-@HT2E2K=9X9%Pb zEK*!TBw&g(DMC;|A)uGlRkOS9vd-?zNs%bR4d$w+ox_iFnE8fvIvv7^5<(>Te12Li z7C)9srCzmK{ZcNM{YIl9j{DePFgOWiS%xG@5CnnnJa4nvY<^glbz7^|-ZY!dUkAwd z{gaTC@_>b5h~;ug#R0wRL0>o5!hxm*s0VW?8dr}O#zXTRTnrQm_Z7z1Mrnx>&p zD4qifUjzLvbVVWi?l?rUzwt^sdb~d!f_LEhsRVIXZtQ=qSxuxqm zEX#tf>$?M_Y1-LSDT)HqG?`%-%ZpY!#{N!rcNIiL;G7F0`l?)mNGTD9;f9F5Up3Kg zw}a<-JylhG&;=!>B+fZaCX+?C+kHYrP%c?X2!Zu_olK|GcS4A70HEy;vn)I0>0kLH z`jc(WIaaHc7!HS@f*^R^Znx8W=_jIl2oWJoQ*h1^$FX!>*PqR1J8k|fw}w_y}TpE>7m8DqDO<3z`OzXt$ccSejbEZCg@0000 + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/typedefs_0.js b/docs/3.0/search/typedefs_0.js new file mode 100644 index 0000000..4c32c99 --- /dev/null +++ b/docs/3.0/search/typedefs_0.js @@ -0,0 +1,23 @@ +var searchData= +[ + ['glfwcharfun',['GLFWcharfun',['../group__input.html#gabf24451c7ceb1952bc02b17a0d5c3e5f',1,'glfw3.h']]], + ['glfwcursorenterfun',['GLFWcursorenterfun',['../group__input.html#ga51ab436c41eeaed6db5a0c9403b1c840',1,'glfw3.h']]], + ['glfwcursorposfun',['GLFWcursorposfun',['../group__input.html#ga4cfad918fa836f09541e7b9acd36686c',1,'glfw3.h']]], + ['glfwerrorfun',['GLFWerrorfun',['../group__error.html#ga6b8a2639706d5c409fc1287e8f55e928',1,'glfw3.h']]], + ['glfwframebuffersizefun',['GLFWframebuffersizefun',['../group__window.html#ga3e218ef9ff826129c55a7d5f6971a285',1,'glfw3.h']]], + ['glfwgammaramp',['GLFWgammaramp',['../group__monitor.html#gaec0bd37af673be8813592849f13e02f0',1,'glfw3.h']]], + ['glfwglproc',['GLFWglproc',['../group__context.html#ga3d47c2d2fbe0be9c505d0e04e91a133c',1,'glfw3.h']]], + ['glfwkeyfun',['GLFWkeyfun',['../group__input.html#ga0192a232a41e4e82948217c8ba94fdfd',1,'glfw3.h']]], + ['glfwmonitor',['GLFWmonitor',['../group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3',1,'glfw3.h']]], + ['glfwmonitorfun',['GLFWmonitorfun',['../group__monitor.html#ga8a7ee579a66720f24d656526f3e44c63',1,'glfw3.h']]], + ['glfwmousebuttonfun',['GLFWmousebuttonfun',['../group__input.html#ga39893a4a7e7c3239c98d29c9e084350c',1,'glfw3.h']]], + ['glfwscrollfun',['GLFWscrollfun',['../group__input.html#ga4687e2199c60a18a8dd1da532e6d75c9',1,'glfw3.h']]], + ['glfwvidmode',['GLFWvidmode',['../group__monitor.html#gae48aadf4ea0967e6605c8f58fa5daccb',1,'glfw3.h']]], + ['glfwwindow',['GLFWwindow',['../group__window.html#ga3c96d80d363e67d13a41b5d1821f3242',1,'glfw3.h']]], + ['glfwwindowclosefun',['GLFWwindowclosefun',['../group__window.html#ga93e7c2555bd837f4ed8b20f76cada72e',1,'glfw3.h']]], + ['glfwwindowfocusfun',['GLFWwindowfocusfun',['../group__window.html#ga58be2061828dd35080bb438405d3a7e2',1,'glfw3.h']]], + ['glfwwindowiconifyfun',['GLFWwindowiconifyfun',['../group__window.html#gad2d4e4c3d28b1242e742e8268b9528af',1,'glfw3.h']]], + ['glfwwindowposfun',['GLFWwindowposfun',['../group__window.html#gafd8db81fdb0e850549dc6bace5ed697a',1,'glfw3.h']]], + ['glfwwindowrefreshfun',['GLFWwindowrefreshfun',['../group__window.html#ga7a56f9e0227e2cd9470d80d919032e08',1,'glfw3.h']]], + ['glfwwindowsizefun',['GLFWwindowsizefun',['../group__window.html#gae49ee6ebc03fa2da024b89943a331355',1,'glfw3.h']]] +]; diff --git a/docs/3.0/search/variables_0.html b/docs/3.0/search/variables_0.html new file mode 100644 index 0000000..51f7bd6 --- /dev/null +++ b/docs/3.0/search/variables_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/variables_0.js b/docs/3.0/search/variables_0.js new file mode 100644 index 0000000..c16aa4d --- /dev/null +++ b/docs/3.0/search/variables_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['blue',['blue',['../structGLFWgammaramp.html#acf0c836d0efe29c392fe8d1a1042744b',1,'GLFWgammaramp']]], + ['bluebits',['blueBits',['../structGLFWvidmode.html#af310977f58d2e3b188175b6e3d314047',1,'GLFWvidmode']]] +]; diff --git a/docs/3.0/search/variables_1.html b/docs/3.0/search/variables_1.html new file mode 100644 index 0000000..f46154d --- /dev/null +++ b/docs/3.0/search/variables_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/variables_1.js b/docs/3.0/search/variables_1.js new file mode 100644 index 0000000..442ea8e --- /dev/null +++ b/docs/3.0/search/variables_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['green',['green',['../structGLFWgammaramp.html#affccc6f5df47820b6562d709da3a5a3a',1,'GLFWgammaramp']]], + ['greenbits',['greenBits',['../structGLFWvidmode.html#a292fdd281f3485fb3ff102a5bda43faa',1,'GLFWvidmode']]] +]; diff --git a/docs/3.0/search/variables_2.html b/docs/3.0/search/variables_2.html new file mode 100644 index 0000000..15275b7 --- /dev/null +++ b/docs/3.0/search/variables_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/variables_2.js b/docs/3.0/search/variables_2.js new file mode 100644 index 0000000..c32bb7d --- /dev/null +++ b/docs/3.0/search/variables_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['height',['height',['../structGLFWvidmode.html#ac65942a5f6981695517437a9d571d03c',1,'GLFWvidmode']]] +]; diff --git a/docs/3.0/search/variables_3.html b/docs/3.0/search/variables_3.html new file mode 100644 index 0000000..fbc3671 --- /dev/null +++ b/docs/3.0/search/variables_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/variables_3.js b/docs/3.0/search/variables_3.js new file mode 100644 index 0000000..b7ac9ce --- /dev/null +++ b/docs/3.0/search/variables_3.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['red',['red',['../structGLFWgammaramp.html#a2cce5d968734b685623eef913e635138',1,'GLFWgammaramp']]], + ['redbits',['redBits',['../structGLFWvidmode.html#a6066c4ecd251098700062d3b735dba1b',1,'GLFWvidmode']]], + ['refreshrate',['refreshRate',['../structGLFWvidmode.html#a791bdd6c7697b09f7e9c97054bf05649',1,'GLFWvidmode']]] +]; diff --git a/docs/3.0/search/variables_4.html b/docs/3.0/search/variables_4.html new file mode 100644 index 0000000..8067e67 --- /dev/null +++ b/docs/3.0/search/variables_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/variables_4.js b/docs/3.0/search/variables_4.js new file mode 100644 index 0000000..329c6f4 --- /dev/null +++ b/docs/3.0/search/variables_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['size',['size',['../structGLFWgammaramp.html#ad620e1cffbff9a32c51bca46301b59a5',1,'GLFWgammaramp']]] +]; diff --git a/docs/3.0/search/variables_5.html b/docs/3.0/search/variables_5.html new file mode 100644 index 0000000..7e95e94 --- /dev/null +++ b/docs/3.0/search/variables_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.0/search/variables_5.js b/docs/3.0/search/variables_5.js new file mode 100644 index 0000000..a7997e8 --- /dev/null +++ b/docs/3.0/search/variables_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['width',['width',['../structGLFWvidmode.html#a698dcb200562051a7249cb6ae154c71d',1,'GLFWvidmode']]] +]; diff --git a/docs/3.0/splitbar.png b/docs/3.0/splitbar.png new file mode 100644 index 0000000000000000000000000000000000000000..fe895f2c58179b471a22d8320b39a4bd7312ec8e GIT binary patch literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T literal 0 HcmV?d00001 diff --git a/docs/3.0/structGLFWgammaramp.html b/docs/3.0/structGLFWgammaramp.html new file mode 100644 index 0000000..388f54b --- /dev/null +++ b/docs/3.0/structGLFWgammaramp.html @@ -0,0 +1,157 @@ + + + + + + +GLFW: GLFWgammaramp Struct Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    GLFWgammaramp Struct Reference
    +
    +
    + +

    Gamma ramp. + More...

    + + + + + + + + + + +

    +Data Fields

    unsigned short * red
     
    unsigned short * green
     
    unsigned short * blue
     
    unsigned int size
     
    +

    Detailed Description

    +

    This describes the gamma ramp for a monitor.

    +
    See also
    glfwGetGammaRamp glfwSetGammaRamp
    +

    Field Documentation

    + +

    ◆ blue

    + +
    +
    + + + + +
    unsigned short* GLFWgammaramp::blue
    +
    +

    An array of value describing the response of the blue channel.

    + +
    +
    + +

    ◆ green

    + +
    +
    + + + + +
    unsigned short* GLFWgammaramp::green
    +
    +

    An array of value describing the response of the green channel.

    + +
    +
    + +

    ◆ red

    + +
    +
    + + + + +
    unsigned short* GLFWgammaramp::red
    +
    +

    An array of value describing the response of the red channel.

    + +
    +
    + +

    ◆ size

    + +
    +
    + + + + +
    unsigned int GLFWgammaramp::size
    +
    +

    The number of elements in each array.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/3.0/structGLFWvidmode.html b/docs/3.0/structGLFWvidmode.html new file mode 100644 index 0000000..1bfce51 --- /dev/null +++ b/docs/3.0/structGLFWvidmode.html @@ -0,0 +1,190 @@ + + + + + + +GLFW: GLFWvidmode Struct Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    GLFWvidmode Struct Reference
    +
    +
    + +

    Video mode type. + More...

    + + + + + + + + + + + + + + +

    +Data Fields

    int width
     
    int height
     
    int redBits
     
    int greenBits
     
    int blueBits
     
    int refreshRate
     
    +

    Detailed Description

    +

    This describes a single video mode.

    +

    Field Documentation

    + +

    ◆ blueBits

    + +
    +
    + + + + +
    int GLFWvidmode::blueBits
    +
    +

    The bit depth of the blue channel of the video mode.

    + +
    +
    + +

    ◆ greenBits

    + +
    +
    + + + + +
    int GLFWvidmode::greenBits
    +
    +

    The bit depth of the green channel of the video mode.

    + +
    +
    + +

    ◆ height

    + +
    +
    + + + + +
    int GLFWvidmode::height
    +
    +

    The height, in screen coordinates, of the video mode.

    + +
    +
    + +

    ◆ redBits

    + +
    +
    + + + + +
    int GLFWvidmode::redBits
    +
    +

    The bit depth of the red channel of the video mode.

    + +
    +
    + +

    ◆ refreshRate

    + +
    +
    + + + + +
    int GLFWvidmode::refreshRate
    +
    +

    The refresh rate, in Hz, of the video mode.

    + +
    +
    + +

    ◆ width

    + +
    +
    + + + + +
    int GLFWvidmode::width
    +
    +

    The width, in screen coordinates, of the video mode.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/3.0/sync_off.png b/docs/3.0/sync_off.png new file mode 100644 index 0000000000000000000000000000000000000000..3b443fc62892114406e3d399421b2a881b897acc GIT binary patch literal 853 zcmV-b1FHOqP)oT|#XixUYy%lpuf3i8{fX!o zUyDD0jOrAiT^tq>fLSOOABs-#u{dV^F$b{L9&!2=9&RmV;;8s^x&UqB$PCj4FdKbh zoB1WTskPUPu05XzFbA}=KZ-GP1fPpAfSs>6AHb12UlR%-i&uOlTpFNS7{jm@mkU1V zh`nrXr~+^lsV-s1dkZOaI|kYyVj3WBpPCY{n~yd%u%e+d=f%`N0FItMPtdgBb@py; zq@v6NVArhyTC7)ULw-Jy8y42S1~4n(3LkrW8mW(F-4oXUP3E`e#g**YyqI7h-J2zK zK{m9##m4ri!7N>CqQqCcnI3hqo1I;Yh&QLNY4T`*ptiQGozK>FF$!$+84Z`xwmeMh zJ0WT+OH$WYFALEaGj2_l+#DC3t7_S`vHpSivNeFbP6+r50cO8iu)`7i%Z4BTPh@_m3Tk!nAm^)5Bqnr%Ov|Baunj#&RPtRuK& z4RGz|D5HNrW83-#ydk}tVKJrNmyYt-sTxLGlJY5nc&Re zU4SgHNPx8~Yxwr$bsju?4q&%T1874xxzq+_%?h8_ofw~(bld=o3iC)LUNR*BY%c0y zWd_jX{Y8`l%z+ol1$@Qa?Cy!(0CVIEeYpKZ`(9{z>3$CIe;pJDQk$m3p}$>xBm4lb zKo{4S)`wdU9Ba9jJbVJ0C=SOefZe%d$8=2r={nu<_^a3~>c#t_U6dye5)JrR(_a^E f@}b6j1K9lwFJq@>o)+Ry00000NkvXXu0mjfWa5j* literal 0 HcmV?d00001 diff --git a/docs/3.0/sync_on.png b/docs/3.0/sync_on.png new file mode 100644 index 0000000000000000000000000000000000000000..e08320fb64e6fa33b573005ed6d8fe294e19db76 GIT binary patch literal 845 zcmV-T1G4;yP)Y;xxyHF2B5Wzm| zOOGupOTn@c(JmBOl)e;XMNnZuiTJP>rM8<|Q`7I_))aP?*T)ow&n59{}X4$3Goat zgjs?*aasfbrokzG5cT4K=uG`E14xZl@z)F={P0Y^?$4t z>v!teRnNZym<6h{7sLyF1V0HsfEl+l6TrZpsfr1}luH~F7L}ktXu|*uVX^RG$L0`K zWs3j|0tIvVe(N%_?2{(iCPFGf#B6Hjy6o&}D$A%W%jfO8_W%ZO#-mh}EM$LMn7joJ z05dHr!5Y92g+31l<%i1(=L1a1pXX+OYnalY>31V4K}BjyRe3)9n#;-cCVRD_IG1fT zOKGeNY8q;TL@K{dj@D^scf&VCs*-Jb>8b>|`b*osv52-!A?BpbYtTQBns5EAU**$m zSnVSm(teh>tQi*S*A>#ySc=n;`BHz`DuG4&g4Kf8lLhca+zvZ7t7RflD6-i-mcK=M z!=^P$*u2)bkY5asG4gsss!Hn%u~>}kIW`vMs%lJLH+u*9<4PaV_c6U`KqWXQH%+Nu zTv41O(^ZVi@qhjQdG!fbZw&y+2o!iYymO^?ud3{P*HdoX83YV*Uu_HB=?U&W9%AU# z80}k1SS-CXTU7dcQlsm<^oYLxVSseqY6NO}dc`Nj?8vrhNuCdm@^{a3AQ_>6myOj+ z`1RsLUXF|dm|3k7s2jD(B{rzE>WI2scH8i1;=O5Cc9xB3^aJk%fQjqsu+kH#0=_5a z0nCE8@dbQa-|YIuUVvG0L_IwHMEhOj$Mj4Uq05 X8=0q~qBNan00000NkvXXu0mjfptF>5 literal 0 HcmV?d00001 diff --git a/docs/3.0/tab_a.png b/docs/3.0/tab_a.png new file mode 100644 index 0000000000000000000000000000000000000000..3b725c41c5a527a3a3e40097077d0e206a681247 GIT binary patch literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QlXwMjv*C{Z|8b*H5dputLHD# z=<0|*y7z(Vor?d;H&?EG&cXR}?!j-Lm&u1OOI7AIF5&c)RFE;&p0MYK>*Kl@eiymD r@|NpwKX@^z+;{u_Z~trSBfrMKa%3`zocFjEXaR$#tDnm{r-UW|TZ1%4 literal 0 HcmV?d00001 diff --git a/docs/3.0/tab_b.png b/docs/3.0/tab_b.png new file mode 100644 index 0000000000000000000000000000000000000000..e2b4a8638cb3496a016eaed9e16ffc12846dea18 GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QU#tajv*C{Z}0l@H7kg?K0Lnr z!j&C6_(~HV9oQ0Pa6x{-v0AGV_E?vLn=ZI-;YrdjIl`U`uzuDWSP?o#Dmo{%SgM#oan kX~E1%D-|#H#QbHoIja2U-MgvsK&LQxy85}Sb4q9e0Efg%P5=M^ literal 0 HcmV?d00001 diff --git a/docs/3.0/tabs.css b/docs/3.0/tabs.css new file mode 100644 index 0000000..a28614b --- /dev/null +++ b/docs/3.0/tabs.css @@ -0,0 +1 @@ +.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#doc-content{overflow:auto;display:block;padding:0;margin:0;-webkit-overflow-scrolling:touch}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace!important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0!important;-webkit-border-radius:0;border-radius:0!important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px!important;-webkit-border-radius:5px;border-radius:5px!important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0!important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px!important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file diff --git a/docs/3.0/window.html b/docs/3.0/window.html new file mode 100644 index 0000000..ab31673 --- /dev/null +++ b/docs/3.0/window.html @@ -0,0 +1,267 @@ + + + + + + +GLFW: Window handling guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Window handling guide
    +
    +
    + +

    The primary purpose of GLFW is to provide a simple interface to window management and OpenGL and OpenGL ES context creation. GLFW supports multiple windows, which can be either a normal desktop window or a full screen window.

    +

    +Window handles

    +

    The GLFWwindow object encapsulates both a window and a context. They are created with glfwCreateWindow and destroyed with glfwDestroyWindow (or glfwTerminate, if any remain). As the window and context are inseparably linked, the object pointer is used as both a context and window handle.

    +

    +Window creation

    +

    The window and its context are created with glfwCreateWindow, which returns a handle to the created window object. For example, this creates a 640 by 480 windowed mode window:

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", NULL, NULL);

    If window creation fails, NULL will be returned, so you need to check whether it did.

    +

    This handle is then passed to all window related functions, and is provided to you along with input events, so you know which window received the input.

    +

    To create a full screen window, you need to specify which monitor the window should use. In most cases, the user's primary monitor is a good choice. For more information about monitors, see the Multi-monitor guide.

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", glfwGetPrimaryMonitor(), NULL);

    Full screen windows cover the entire display area of a monitor, have no border or decorations, and change the monitor's resolution to the one most closely matching the requested window size.

    +

    For more control over how the window and its context are created, see Window creation hints below.

    +

    +Window destruction

    +

    When you are done with the window, destroy it with the glfwDestroyWindow function.

    +

    Once this function is called, no more events will be delivered for that window and its handle becomes invalid.

    +

    +Window user pointer

    +

    Each window has a user pointer that can be set with glfwSetWindowUserPointer and fetched with glfwGetWindowUserPointer. This can be used for any purpose you need and will not modified by GLFW throughout the life-time of the window.

    +

    +Window creation hints

    +

    There are a number of hints that can be set before the creation of a window and context. Some affect the window itself, others affect the framebuffer or context. These hints are set to their default values each time the library is initialized with glfwInit, can be set individually with glfwWindowHint and reset all at once to their defaults with glfwDefaultWindowHints.

    +

    Note that hints need to be set before the creation of the window and context you wish to have the specified attributes.

    +

    +Hard and soft constraints

    +

    Some window hints are hard constraints. These must match the available capabilities exactly for window and context creation to succeed. Hints that are not hard constraints are matched as closely as possible, but the resulting window and context may differ from what these hints requested. To find out the actual attributes of the created window and context, use the glfwGetWindowAttrib function.

    +

    The following hints are hard constraints:

      +
    • GLFW_STEREO
    • +
    • GLFW_CLIENT_API
    • +
    +

    The following additional hints are hard constraints if requesting an OpenGL context:

      +
    • GLFW_OPENGL_FORWARD_COMPAT
    • +
    • GLFW_OPENGL_PROFILE
    • +
    +

    Hints that do not apply to a given type of window or context are ignored.

    +

    +Window related hints

    +

    The GLFW_RESIZABLE hint specifies whether the window will be resizable by the user. The window will still be resizable using the glfwSetWindowSize function. This hint is ignored for full screen windows.

    +

    The GLFW_VISIBLE hint specifies whether the window will be initially visible. This hint is ignored for full screen windows.

    +

    The GLFW_DECORATED hint specifies whether the window will have window decorations such as a border, a close widget, etc. This hint is ignored for full screen windows. Note that even though a window may lack a close widget, it is usually still possible for the user to generate close events.

    +

    +Framebuffer related hints

    +

    The GLFW_RED_BITS, GLFW_GREEN_BITS, GLFW_BLUE_BITS, GLFW_ALPHA_BITS, GLFW_DEPTH_BITS and GLFW_STENCIL_BITS hints specify the desired bit depths of the various components of the default framebuffer.

    +

    The GLFW_ACCUM_RED_BITS, GLFW_ACCUM_GREEN_BITS, GLFW_ACCUM_BLUE_BITS and GLFW_ACCUM_ALPHA_BITS hints specify the desired bit depths of the various components of the accumulation buffer.

    +

    The GLFW_AUX_BUFFERS hint specifies the desired number of auxiliary buffers.

    +

    The GLFW_STEREO hint specifies whether to use stereoscopic rendering.

    +

    The GLFW_SAMPLES hint specifies the desired number of samples to use for multisampling. Zero disables multisampling.

    +

    The GLFW_SRGB_CAPABLE hint specifies whether the framebuffer should be sRGB capable.

    +

    The GLFW_REFRESH_RATE hint specifies the desired refresh rate for full screen windows. If set to zero, the highest available refresh rate will be used. This hint is ignored for windowed mode windows.

    +

    +Context related hints

    +

    The GLFW_CLIENT_API hint specifies which client API to create the context for. Possible values are GLFW_OPENGL_API and GLFW_OPENGL_ES_API.

    +

    The GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints specify the client API version that the created context must be compatible with.

    +

    For OpenGL, these hints are not hard constraints, as they don't have to match exactly, but glfwCreateWindow will still fail if the resulting OpenGL version is less than the one requested. It is therefore perfectly safe to use the default of version 1.0 for legacy code and you may still get backwards-compatible contexts of version 3.0 and above when available.

    +

    While there is no way to ask the driver for a context of the highest supported version, most drivers provide this when you ask GLFW for a version 1.0 context.

    +

    For OpenGL ES, these hints are hard constraints.

    +

    If an OpenGL context is requested, the GLFW_OPENGL_FORWARD_COMPAT hint specifies whether the OpenGL context should be forward-compatible, i.e. one where all functionality deprecated in the requested version of OpenGL is removed. This may only be used if the requested OpenGL version is 3.0 or above. If another client API is requested, this hint is ignored.

    +

    If an OpenGL context is requested, the GLFW_OPENGL_DEBUG_CONTEXT hint specifies whether to create a debug OpenGL context, which may have additional error and performance issue reporting functionality. If another client API is requested, this hint is ignored.

    +

    If an OpenGL context is requested, the GLFW_OPENGL_PROFILE hint specifies which OpenGL profile to create the context for. Possible values are one of GLFW_OPENGL_CORE_PROFILE or GLFW_OPENGL_COMPAT_PROFILE, or GLFW_OPENGL_ANY_PROFILE to not request a specific profile. If requesting an OpenGL version below 3.2, GLFW_OPENGL_ANY_PROFILE must be used. If another client API is requested, this hint is ignored.

    +

    The GLFW_CONTEXT_ROBUSTNESS hint specifies the robustness strategy to be used by the context. This can be one of GLFW_NO_RESET_NOTIFICATION or GLFW_LOSE_CONTEXT_ON_RESET, or GLFW_NO_ROBUSTNESS to not request a robustness strategy.

    +

    +Supported and default values

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Name Default value Supported values
    GLFW_RESIZABLE GL_TRUE GL_TRUE or GL_FALSE
    GLFW_VISIBLE GL_TRUE GL_TRUE or GL_FALSE
    GLFW_DECORATED GL_TRUE GL_TRUE or GL_FALSE
    GLFW_RED_BITS 8 0 to INT_MAX
    GLFW_GREEN_BITS 8 0 to INT_MAX
    GLFW_BLUE_BITS 8 0 to INT_MAX
    GLFW_ALPHA_BITS 8 0 to INT_MAX
    GLFW_DEPTH_BITS 24 0 to INT_MAX
    GLFW_STENCIL_BITS 8 0 to INT_MAX
    GLFW_ACCUM_RED_BITS 0 0 to INT_MAX
    GLFW_ACCUM_GREEN_BITS 0 0 to INT_MAX
    GLFW_ACCUM_BLUE_BITS 0 0 to INT_MAX
    GLFW_ACCUM_ALPHA_BITS 0 0 to INT_MAX
    GLFW_AUX_BUFFERS 0 0 to INT_MAX
    GLFW_SAMPLES 0 0 to INT_MAX
    GLFW_REFRESH_RATE 0 0 to INT_MAX
    GLFW_STEREO GL_FALSE GL_TRUE or GL_FALSE
    GLFW_SRGB_CAPABLE GL_FALSE GL_TRUE or GL_FALSE
    GLFW_CLIENT_API GLFW_OPENGL_API GLFW_OPENGL_API or GLFW_OPENGL_ES_API
    GLFW_CONTEXT_VERSION_MAJOR 1 Any valid major version number of the chosen client API
    GLFW_CONTEXT_VERSION_MINOR 0 Any valid minor version number of the chosen client API
    GLFW_CONTEXT_ROBUSTNESS GLFW_NO_ROBUSTNESS GLFW_NO_ROBUSTNESS, GLFW_NO_RESET_NOTIFICATION or GLFW_LOSE_CONTEXT_ON_RESET
    GLFW_OPENGL_FORWARD_COMPAT GL_FALSE GL_TRUE or GL_FALSE
    GLFW_OPENGL_DEBUG_CONTEXT GL_FALSE GL_TRUE or GL_FALSE
    GLFW_OPENGL_PROFILE GLFW_OPENGL_ANY_PROFILE GLFW_OPENGL_ANY_PROFILE, GLFW_OPENGL_COMPAT_PROFILE or GLFW_OPENGL_CORE_PROFILE
    +

    +Window close flag

    +

    When the user attempts to close the window, for example by clicking the close widget or using a key chord like Alt+F4, the close flag of the window is set. The window is however not actually destroyed and, unless you watch for this state change, nothing further happens.

    +

    The current state of the close flag is returned by glfwWindowShouldClose and can be set or cleared directly with glfwSetWindowShouldClose. A common pattern is to use the close flag as a main loop condition.

    +
    while (!glfwWindowShouldClose(window))
    {
    render(window);
    glfwSwapBuffers(window);
    }

    If you wish to be notified when the user attempts to close a window, you can set the close callback with glfwSetWindowCloseCallback. This callback is called directly after the close flag has been set.

    +
    glfwSetWindowCloseCallback(window, window_close_callback);

    The callback function can be used for example to filter close requests and clear the close flag again unless certain conditions are met.

    +
    void window_close_callback(GLFWwindow* window)
    {
    if (!time_to_close)
    glfwSetWindowShouldClose(window, GL_FALSE);
    }

    +Window size

    +

    The size of a window can be changed with glfwSetWindowSize. For windowed mode windows, this resizes the specified window so that its client area has the specified size. Note that the window system may put limitations on size. For full screen windows, it selects and sets the video mode most closely matching the specified size.

    +
    void glfwSetWindowSize(window, 640, 480);

    If you wish to be notified when a window is resized, whether by the user or the system, you can set the size callback with glfwSetWindowSizeCallback.

    +
    glfwSetWindowSizeCallback(window, window_size_callback);

    The callback function receives the new size of the client area of the window.

    +
    void window_size_callback(GLFWwindow* window, int width, int height)
    {
    }

    There is also glfwGetWindowSize for directly retrieving the current size of a window.

    +
    int width, height;
    glfwGetWindowSize(window, &width, &height);

    +Window framebuffer size

    +

    While the size of a window is measured in screen coordinates, OpenGL works with pixels. The size you pass into glViewport, for example, should be in pixels and not screen coordinates. On some platforms screen coordinates and pixels are the same, but this is not the case on all platforms supported by GLFW. There is a second set of functions to retrieve the size in pixels of the framebuffer of a window.

    +

    If you wish to be notified when the framebuffer of a window is resized, whether by the user or the system, you can set the size callback with glfwSetFramebufferSizeCallback.

    +
    glfwSetFramebufferSizeCallback(window, framebuffer_size_callback);

    The callback function receives the new size of the client area of the window, which can for example be used to update the OpenGL viewport.

    +
    void framebuffer_size_callback(GLFWwindow* window, int width, int height)
    {
    glViewport(0, 0, width, height);
    }

    There is also glfwGetFramebufferSize for directly retrieving the current size of the framebuffer of a window.

    +
    int width, height;
    glfwGetFramebufferSize(window, &width, &height);
    glViewport(0, 0, width, height);

    Note that the size of a framebuffer may change independently of the size of a window, for example if the window is dragged between a regular monitor and a high-DPI one.

    +

    +Window position

    +

    The position of a windowed-mode window can be changed with glfwSetWindowPos. This moves the window so that the upper-left corner of its client area has the specified screen coordinates. Note that the window system may put limitations on placement.

    +
    glfwSetWindowPos(window, 100, 100);

    If you wish to be notified when a window is moved, whether by the user or the system, you can set the position callback with glfwSetWindowPosCallback.

    +
    glfwSetWindowPosCallback(window, window_pos_callback);

    The callback function receives the new position of the upper-left corner of its client area.

    +
    void window_size_callback(GLFWwindow* window, int xpos, int ypos)
    {
    }

    There is also glfwGetWindowPos for directly retrieving the current position of the client area of the window.

    +
    int xpos, ypos;
    glfwGetWindowPos(window, &xpos, &ypos);

    +Window title

    +

    All GLFW windows have a title, although undecorated or full screen windows may not display it or only display it in a task bar or similar interface. To change the title of a window, use glfwSetWindowTitle.

    +
    glfwSetWindowTitle(window, "My Window");

    The window title is a regular C string using the UTF-8 encoding. This means for example that, as long as your source file is encoded as UTF-8, you can use any Unicode characters.

    +
    glfwSetWindowTitle(window, "さよなら絶望先生");

    +Window attributes

    +

    Windows have a number of attributes that can be returned using glfwGetWindowAttrib. Some reflect state that may change during the lifetime of the window, while others reflect the corresponding hints and are fixed at the time of creation.

    +
    {
    // window has input focus
    }

    +Window attributes

    +

    The GLFW_FOCUSED attribute indicates whether the specified window currently has input focus.

    +

    The GLFW_ICONIFIED attribute indicates whether the specified window is currently iconified, whether by the user or with glfwIconifyWindow.

    +

    The GLFW_VISIBLE attribute indicates whether the specified window is currently visible. Window visibility can be controlled with glfwShowWindow and glfwHideWindow and initial visibility is controlled by the window hint with the same name.
    + The GLFW_RESIZABLE attribute indicates whether the specified window is resizable by the user. This is controlled by the window hint with the same name.

    +

    The GLFW_DECORATED attribute indicates whether the specified window has decorations such as a border, a close widget, etc. This is controlled by the window hint with the same name.

    +

    +Context attributes

    +

    The GLFW_CLIENT_API attribute indicates the client API provided by the window's context; either GLFW_OPENGL_API or GLFW_OPENGL_ES_API.

    +

    The GLFW_CONTEXT_VERSION_MAJOR, GLFW_CONTEXT_VERSION_MINOR and GLFW_CONTEXT_REVISION attributes indicate the client API version of the window's context.

    +

    The GLFW_OPENGL_FORWARD_COMPAT attribute is GL_TRUE if the window's context is an OpenGL forward-compatible one, or GL_FALSE otherwise.

    +

    The GLFW_OPENGL_DEBUG_CONTEXT attribute is GL_TRUE if the window's context is an OpenGL debug context, or GL_FALSE otherwise.

    +

    The GLFW_OPENGL_PROFILE attribute indicates the OpenGL profile used by the context. This is GLFW_OPENGL_CORE_PROFILE or GLFW_OPENGL_COMPAT_PROFILE if the context uses a known profile, or GLFW_OPENGL_ANY_PROFILE if the OpenGL profile is unknown or the context is for another client API. Note that the returned profile may not match the profile bits of the context flags, as GLFW will try other means of detecting the profile when no bits are set.

    +

    The GLFW_CONTEXT_ROBUSTNESS attribute indicates the robustness strategy used by the context. This is GLFW_LOSE_CONTEXT_ON_RESET or GLFW_NO_RESET_NOTIFICATION if the window's context supports robustness, or GLFW_NO_ROBUSTNESS otherwise.

    +

    +Swapping buffers

    +

    GLFW windows are always double buffered. That means that you have two rendering buffers; a front buffer and a back buffer. The front buffer is the one being displayed and the back buffer the one you render to.

    +

    When the entire frame has been rendered, it is time to swap the back and the front buffers in order to display what has been rendered and begin rendering a new frame. This is done with glfwSwapBuffers.

    +

    Sometimes it can be useful to select when the buffer swap will occur. With the function glfwSwapInterval it is possible to select the minimum number of monitor refreshes the driver should wait before swapping the buffers:

    +

    If the interval is zero, the swap will take place immediately when glfwSwapBuffers is called without waiting for a refresh. Otherwise at least interval retraces will pass between each buffer swap. Using a swap interval of zero can be useful for benchmarking purposes, when it is not desirable to measure the time it takes to wait for the vertical retrace. However, a swap interval of one lets you avoid tearing.

    +

    Note that this may not work on all machines, as some drivers have user-controlled settings that override any swap interval the application requests. It is also by default disabled on Windows Vista and later when using DWM (Aero), as using it there sometimes leads to severe jitter. You can forcibly enable it for machines using DWM using Windows specific CMake options.

    +
    + + + diff --git a/docs/3.0/window_8dox.html b/docs/3.0/window_8dox.html new file mode 100644 index 0000000..acd348c --- /dev/null +++ b/docs/3.0/window_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: window.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    window.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.1.1 b/docs/3.1.1 new file mode 120000 index 0000000..06a4457 --- /dev/null +++ b/docs/3.1.1 @@ -0,0 +1 @@ +3.1 \ No newline at end of file diff --git a/docs/3.1.2 b/docs/3.1.2 new file mode 120000 index 0000000..06a4457 --- /dev/null +++ b/docs/3.1.2 @@ -0,0 +1 @@ +3.1 \ No newline at end of file diff --git a/docs/3.1/annotated.html b/docs/3.1/annotated.html new file mode 100644 index 0000000..2ddaabc --- /dev/null +++ b/docs/3.1/annotated.html @@ -0,0 +1,80 @@ + + + + + + +GLFW: Data Structures + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Data Structures
    +
    +
    +
    Here are the data structures with brief descriptions:
    + + + + +
     CGLFWgammarampGamma ramp
     CGLFWimageImage data
     CGLFWvidmodeVideo mode type
    +
    +
    + + + diff --git a/docs/3.1/bc_s.png b/docs/3.1/bc_s.png new file mode 100644 index 0000000000000000000000000000000000000000..224b29aa9847d5a4b3902efd602b7ddf7d33e6c2 GIT binary patch literal 676 zcmV;V0$crwP)y__>=_9%My z{n931IS})GlGUF8K#6VIbs%684A^L3@%PlP2>_sk`UWPq@f;rU*V%rPy_ekbhXT&s z(GN{DxFv}*vZp`F>S!r||M`I*nOwwKX+BC~3P5N3-)Y{65c;ywYiAh-1*hZcToLHK ztpl1xomJ+Yb}K(cfbJr2=GNOnT!UFA7Vy~fBz8?J>XHsbZoDad^8PxfSa0GDgENZS zuLCEqzb*xWX2CG*b&5IiO#NzrW*;`VC9455M`o1NBh+(k8~`XCEEoC1Ybwf;vr4K3 zg|EB<07?SOqHp9DhLpS&bzgo70I+ghB_#)K7H%AMU3v}xuyQq9&Bm~++VYhF09a+U zl7>n7Jjm$K#b*FONz~fj;I->Bf;ule1prFN9FovcDGBkpg>)O*-}eLnC{6oZHZ$o% zXKW$;0_{8hxHQ>l;_*HATI(`7t#^{$(zLe}h*mqwOc*nRY9=?Sx4OOeVIfI|0V(V2 zBrW#G7Ss9wvzr@>H*`r>zE z+e8bOBgqIgldUJlG(YUDviMB`9+DH8n-s9SXRLyJHO1!=wY^79WYZMTa(wiZ!zP66 zA~!21vmF3H2{ngD;+`6j#~6j;$*f*G_2ZD1E;9(yaw7d-QnSCpK(cR1zU3qU0000< KMNUMnLSTYoA~SLT literal 0 HcmV?d00001 diff --git a/docs/3.1/bdwn.png b/docs/3.1/bdwn.png new file mode 100644 index 0000000000000000000000000000000000000000..940a0b950443a0bb1b216ac03c45b8a16c955452 GIT binary patch literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^>_E)H!3HEvS)PKZC{Gv1kP61Pb5HX&C2wk~_T + + + + + +GLFW: Bug List + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Bug List
    +
    +
    +
    +
    Global glfwSetMonitorCallback (GLFWmonitorfun cbfun)
    +
    X11: This callback is not yet called on monitor configuration changes.
    +
    +
    + + + diff --git a/docs/3.1/build.html b/docs/3.1/build.html new file mode 100644 index 0000000..830aa4b --- /dev/null +++ b/docs/3.1/build.html @@ -0,0 +1,165 @@ + + + + + + +GLFW: Building applications + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Building applications
    +
    +
    + +

    This is about compiling and linking applications that use GLFW. For information on how to write such applications, start with the introductory tutorial. For information on how to compile the GLFW library itself, see the Compiling GLFW guide.

    +

    This is not a tutorial on compilation or linking. It assumes basic understanding of how to compile and link a C program as well as how to use the specific compiler of your chosen development environment. The compilation and linking process should be explained in your C programming material and in the documentation for your development environment.

    +

    +Including the GLFW header file

    +

    In the source files of your application where you use OpenGL or GLFW, you should include the GLFW header file, i.e.:

    +
    #include <GLFW/glfw3.h>

    The GLFW header declares the GLFW API and by default also includes the OpenGL header of your development environment, which in turn defines all the constants, types and function prototypes of the OpenGL API.

    +

    The GLFW header also defines everything necessary for your OpenGL header to function. For example, under Windows you are normally required to include windows.h before the OpenGL header, which would pollute your code namespace with the entire Win32 API.

    +

    Instead, the GLFW header takes care of this for you, not by including windows.h, but by duplicating only the very few necessary parts of it. It does this only when needed, so if windows.h is included, the GLFW header does not try to redefine those symbols. The reverse is not true, i.e. windows.h cannot cope if any of its symbols have already been defined.

    +

    In other words:

    +
      +
    • Do not include the OpenGL headers yourself, as GLFW does this for you
    • +
    • Do not include windows.h or other platform-specific headers unless you plan on using those APIs directly
    • +
    • If you do need to include such headers, do it before including the GLFW header and it will handle this
    • +
    +

    If you are using an OpenGL extension loading library such as glad, the extension loader header should either be included before the GLFW one, or the GLFW_INCLUDE_NONE macro (described below) should be defined.

    +

    +GLFW header option macros

    +

    These macros may be defined before the inclusion of the GLFW header and affect its behavior.

    +

    GLFW_DLL is required on Windows when using the GLFW DLL, to tell the compiler that the GLFW functions are defined in a DLL.

    +

    The following macros control which OpenGL or OpenGL ES API header is included. Only one of these may be defined at a time.

    +

    GLFW_INCLUDE_GLCOREARB makes the GLFW header include the modern GL/glcorearb.h header (OpenGL/gl3.h on OS X) instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES1 makes the GLFW header include the OpenGL ES 1.x GLES/gl.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES2 makes the GLFW header include the OpenGL ES 2.0 GLES2/gl2.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES3 makes the GLFW header include the OpenGL ES 3.0 GLES3/gl3.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES31 makes the GLFW header include the OpenGL ES 3.1 GLES3/gl31.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_NONE makes the GLFW header not include any OpenGL or OpenGL ES API header. This is useful in combination with an extension loading library.

    +

    If none of the above inclusion macros are defined, the standard OpenGL GL/gl.h header (OpenGL/gl.h on OS X) is included.

    +

    The following macros control the inclusion of additional API headers. Any number of these may be defined simultaneously, and/or together with one of the above macros.

    +

    GLFW_INCLUDE_GLEXT makes the GLFW header include the appropriate extension header for the OpenGL or OpenGL ES header selected above after and in addition to that header.

    +

    GLFW_INCLUDE_GLU makes the header include the GLU header in addition to the header selected above. This should only be used with the standard OpenGL header and only for compatibility with legacy code. GLU has been deprecated and should not be used in new code.

    +
    Note
    GLFW does not provide any of the API headers mentioned above. They must be provided by your development environment or your OpenGL or OpenGL ES SDK.
    +
    +None of these macros may be defined during the compilation of GLFW itself. If your build includes GLFW and you define any these in your build files, make sure they are not applied to the GLFW sources.
    +

    +Link with the right libraries

    +

    GLFW is essentially a wrapper of various platform-specific APIs and therefore needs to link against many different system libraries. If you are using GLFW as a shared library / dynamic library / DLL then it takes care of these links. However, if you are using GLFW as a static library then your executable will need to link against these libraries.

    +

    On Windows and OS X, the list of system libraries is static and can be hard-coded into your build environment. See the section for your development environment below. On Linux and other Unix-like operating systems, the list varies but can be retrieved in various ways as described below.

    +

    A good general introduction to linking is Beginner's Guide to Linkers by David Drysdale.

    +

    +With MinGW or Visual C++ on Windows

    +

    The static version of the GLFW library is named glfw3. When using this version, it is also necessary to link with some libraries that GLFW uses.

    +

    When linking an application under Windows that uses the static version of GLFW, you must link with opengl32. On some versions of MinGW, you must also explicitly link with gdi32, while other versions of MinGW include it in the set of default libraries along with other dependencies like user32 and kernel32. If you are using GLU, you must also link with glu32.

    +

    The link library for the GLFW DLL is named glfw3dll. When compiling an application that uses the DLL version of GLFW, you need to define the GLFW_DLL macro before any inclusion of the GLFW header. This can be done either with a compiler switch or by defining it in your source code.

    +

    An application using the GLFW DLL does not need to link against any of its dependencies, but you still have to link against opengl32 if your application uses OpenGL and glu32 if it uses GLU.

    +

    +With CMake and GLFW source

    +

    With just a few changes to your CMakeLists.txt you can have the GLFW source tree built along with your application.

    +

    Firstly, add the root directory of the GLFW source tree to your project. This will add the glfw target and the necessary cache variables to your project.

    +
    add_subdirectory(path/to/glfw)

    To be able to include the GLFW header from your code, you need to tell the compiler where to find it.

    +
    include_directories(path/to/glfw/include)

    Once GLFW has been added to the project, the GLFW_LIBRARIES cache variable contains all link-time dependencies of GLFW as it is currently configured. To link against GLFW, link against them and the glfw target.

    +
    target_link_libraries(myapp glfw ${GLFW_LIBRARIES})

    Note that GLFW_LIBRARIES does not include GLU, as GLFW does not use it. If your application needs GLU, you can add it to the list of dependencies with the OPENGL_glu_LIBRARY cache variable, which is implicitly created when the GLFW CMake files look for OpenGL.

    +
    target_link_libraries(myapp glfw ${OPENGL_glu_LIBRARY} ${GLFW_LIBRARIES})

    +With CMake on Unix and installed GLFW binaries

    +

    CMake can import settings from pkg-config, which GLFW supports. When you installed GLFW, the pkg-config file glfw3.pc was installed along with it.

    +

    First you need to find the PkgConfig package. If this fails, you may need to install the pkg-config package for your distribution.

    +
    find_package(PkgConfig REQUIRED)

    This creates the CMake commands to find pkg-config packages. Then you need to find the GLFW package.

    +
    pkg_search_module(GLFW REQUIRED glfw3)

    This creates the CMake variables you need to use GLFW. To be able to include the GLFW header, you need to tell your compiler where it is.

    +
    include_directories(${GLFW_INCLUDE_DIRS})

    You also need to link against the correct libraries. If you are using the shared library version of GLFW, use the GLFW_LIBRARIES variable.

    +
    target_link_libraries(simple ${GLFW_LIBRARIES})

    If you are using the static library version of GLFW, use the GLFW_STATIC_LIBRARIES variable instead.

    +
    target_link_libraries(simple ${GLFW_STATIC_LIBRARIES})

    +With pkg-config on OS X or other Unix

    +

    GLFW supports pkg-config, and the glfw3.pc pkf-config file is generated when the GLFW library is built and is installed along with it. A pkg-config file describes all necessary compile-time and link-time flags and dependencies needed to use a library. When they are updated or if they differ between systems, you will get the correct ones automatically.

    +

    A typical compile and link command-line when using the static version of the GLFW library may look like this:

    +
    cc `pkg-config --cflags glfw3` -o myprog myprog.c `pkg-config --static --libs glfw3`

    If you are using the shared version of the GLFW library, simply omit the --static flag.

    +
    cc `pkg-config --cflags glfw3` -o myprog myprog.c `pkg-config --libs glfw3`

    You can also use the glfw3.pc file without installing it first, by using the PKG_CONFIG_PATH environment variable.

    +
    env PKG_CONFIG_PATH=path/to/glfw/src cc `pkg-config --cflags glfw3` -o myprog myprog.c `pkg-config --libs glfw3`

    The dependencies do not include GLU, as GLFW does not use it. On OS X, GLU is built into the OpenGL framework, so if you need GLU you don't need to do anything extra. If you need GLU and are using Linux or BSD, you should add the glu pkg-config module.

    +
    cc `pkg-config --cflags glfw3 glu` -o myprog myprog.c `pkg-config --libs glfw3 glu`

    If you are using the static version of the GLFW library, make sure you don't link statically against GLU.

    +
    cc `pkg-config --cflags glfw3 glu` -o myprog myprog.c `pkg-config --static --libs glfw3` `pkg-config --libs glu`

    +With Xcode on OS X

    +

    If you are using the dynamic library version of GLFW, simply add it to the project dependencies.

    +

    If you are using the static library version of GLFW, add it and the Cocoa, OpenGL, IOKit and CoreVideo frameworks to the project as dependencies. They can all be found in /System/Library/Frameworks.

    +

    +With command-line on OS X

    +

    It is recommended that you use pkg-config when building from the command line on OS X. That way you will get any new dependencies added automatically. If you still wish to build manually, you need to add the required frameworks and libraries to your command-line yourself using the -l and -framework switches.

    +

    If you are using the dynamic GLFW library, which is named libglfw.3.dylib, do:

    +
    cc -o myprog myprog.c -lglfw -framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo

    If you are using the static library, named libglfw3.a, substitute -lglfw3 for -lglfw.

    +

    Note that you do not add the .framework extension to a framework when linking against it from the command-line.

    +

    The OpenGL framework contains both the OpenGL and GLU APIs, so there is nothing special to do when using GLU. Also note that even though your machine may have libGL-style OpenGL libraries, they are for use with the X Window System and will not work with the OS X native version of GLFW.

    +
    + + + diff --git a/docs/3.1/build_8dox.html b/docs/3.1/build_8dox.html new file mode 100644 index 0000000..02de4fe --- /dev/null +++ b/docs/3.1/build_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: build.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    build.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.1/classes.html b/docs/3.1/classes.html new file mode 100644 index 0000000..85cd03a --- /dev/null +++ b/docs/3.1/classes.html @@ -0,0 +1,82 @@ + + + + + + +GLFW: Data Structure Index + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Data Structure Index
    +
    +
    + + + + + + +
      g  
    +
    GLFWimage   GLFWvidmode   
    GLFWgammaramp   
    + +
    + + + diff --git a/docs/3.1/closed.png b/docs/3.1/closed.png new file mode 100644 index 0000000000000000000000000000000000000000..98cc2c909da37a6df914fbf67780eebd99c597f5 GIT binary patch literal 132 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{V-kvUwAr*{o@8{^CZMh(5KoB^r_<4^zF@3)Cp&&t3hdujKf f*?bjBoY!V+E))@{xMcbjXe@)LtDnm{r-UW|*e5JT literal 0 HcmV?d00001 diff --git a/docs/3.1/compat.html b/docs/3.1/compat.html new file mode 100644 index 0000000..d03a4f5 --- /dev/null +++ b/docs/3.1/compat.html @@ -0,0 +1,121 @@ + + + + + + +GLFW: Standards conformance + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Standards conformance
    +
    +
    + +

    This guide describes the various API extensions used by this version of GLFW. It lists what are essentially implementation details, but which are nonetheless vital knowledge for developers intending to deploy their applications on a wide range of machines.

    +

    The information in this guide is not a part of GLFW API, but merely preconditions for some parts of the library to function on a given machine. Any part of this information may change in future versions of GLFW and that will not be considered a breaking API change.

    +

    +X11 extensions, protocols and IPC standards

    +

    As GLFW uses Xlib directly, without any intervening toolkit library, it has sole responsibility for interacting well with the many and varied window managers in use on Unix-like systems. In order for applications and window managers to work well together, a number of standards and conventions have been developed that regulate behavior outside the scope of the X11 API; most importantly the Inter-Client Communication Conventions Manual (ICCCM) and Extended Window Manager Hints (EWMH) standards.

    +

    GLFW uses the _MOTIF_WM_HINTS window property to support borderless windows. If the running window manager does not support this property, the GLFW_DECORATED hint will have no effect.

    +

    GLFW uses the ICCCM WM_DELETE_WINDOW protocol to intercept the user attempting to close the GLFW window. If the running window manager does not support this protocol, the close callback will never be called.

    +

    GLFW uses the EWMH _NET_WM_PING protocol, allowing the window manager notify the user when the application has stopped responding, i.e. when it has ceased to process events. If the running window manager does not support this protocol, the user will not be notified if the application locks up.

    +

    GLFW uses the EWMH _NET_WM_STATE_FULLSCREEN window state to tell the window manager to make the GLFW window full screen. If the running window manager does not support this state, full screen windows may not work properly. GLFW has a fallback code path in case this state is unavailable, but every window manager behaves slightly differently in this regard.

    +

    GLFW uses the EWMH _NET_WM_BYPASS_COMPOSITOR window property to tell a compositing window manager to un-redirect full screen GLFW windows. If the running window manager uses compositing but does not support this property then additional copying may be performed for each buffer swap of full screen windows.

    +

    GLFW uses the clipboard manager protocol to push a clipboard string (i.e. selection) owned by a GLFW window about to be destroyed to the clipboard manager. If there is no running clipboard manager, the clipboard string will be unavailable once the window has been destroyed.

    +

    GLFW uses the X drag-and-drop protocol to provide file drop events. If the application originating the drag does not support this protocol, drag and drop will not work.

    +

    GLFW uses the XInput 2 extension to provide sub-pixel cursor motion events. If the running X server does not support this version of this extension, cursor motion will be snapped to the pixel grid.

    +

    GLFW uses the XRandR 1.3 extension to provide multi-monitor support. If the running X server does not support this version of this extension, multi-monitor support will not function and only a single, desktop-spanning monitor will be reported.

    +

    GLFW uses the XRandR 1.3 and Xf86vidmode extensions to provide gamma ramp support. If the running X server does not support either or both of these extensions, gamma ramp support will not function.

    +

    GLFW uses the Xkb extension and detectable auto-repeat to provide keyboard input. If the running X server does not support this extension, a non-Xkb fallback path is used.

    +

    +GLX extensions

    +

    The GLX API is the default API used to create OpenGL contexts on Unix-like systems using the X Window System.

    +

    GLFW uses the GLX 1.3 GLXFBConfig functions to enumerate and select framebuffer pixel formats. If GLX 1.3 is not supported, glfwInit will fail.

    +

    GLFW uses the GLX_MESA_swap_control, GLX_EXT_swap_control and GLX_SGI_swap_control extensions to provide vertical retrace synchronization (or vsync), in that order of preference. Where none of these extension are available, calling glfwSwapInterval will have no effect.

    +

    GLFW uses the GLX_ARB_multisample extension to create contexts with multisampling anti-aliasing. Where this extension is unavailable, the GLFW_SAMPLES hint will have no effect.

    +

    GLFW uses the GLX_ARB_create_context extension when available, even when creating OpenGL contexts of version 2.1 and below. Where this extension is unavailable, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will only be partially supported, the GLFW_OPENGL_DEBUG_CONTEXT hint will have no effect, and setting the GLFW_OPENGL_PROFILE or GLFW_OPENGL_FORWARD_COMPAT hints to GL_TRUE will cause glfwCreateWindow to fail.

    +

    GLFW uses the GLX_ARB_create_context_profile extension to provide support for context profiles. Where this extension is unavailable, setting the GLFW_OPENGL_PROFILE hint to anything but GLFW_OPENGL_ANY_PROFILE, or setting GLFW_CLIENT_API to anything but GLFW_OPENGL_API will cause glfwCreateWindow to fail.

    +

    GLFW uses the GLX_ARB_context_flush_control extension to provide control over whether a context is flushed when it is released (made non-current). Where this extension is unavailable, the GLFW_CONTEXT_RELEASE_BEHAVIOR hint will have no effect and the context will always be flushed when released.

    +

    GLFW uses the GLX_ARB_framebuffer_sRGB and GLX_EXT_framebuffer_sRGB extensions to provide support for sRGB framebuffers. Where both of these extensions are unavailable, the GLFW_SRGB_CAPABLE hint will have no effect.

    +

    +WGL extensions

    +

    The WGL API is used to create OpenGL contexts on Microsoft Windows and other implementations of the Win32 API, such as Wine.

    +

    GLFW uses either the WGL_EXT_extension_string or the WGL_ARB_extension_string extension to check for the presence of all other WGL extensions listed below. If both are available, the EXT one is preferred. If neither is available, no other extensions are used and many GLFW features related to context creation will have no effect or cause errors when used.

    +

    GLFW uses the WGL_EXT_swap_control extension to provide vertical retrace synchronization (or vsync). Where this extension is unavailable, calling glfwSwapInterval will have no effect.

    +

    GLFW uses the WGL_ARB_pixel_format and WGL_ARB_multisample extensions to create contexts with multisampling anti-aliasing. Where these extensions are unavailable, the GLFW_SAMPLES hint will have no effect.

    +

    GLFW uses the WGL_ARB_create_context extension when available, even when creating OpenGL contexts of version 2.1 and below. Where this extension is unavailable, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will only be partially supported, the GLFW_OPENGL_DEBUG_CONTEXT hint will have no effect, and setting the GLFW_OPENGL_PROFILE or GLFW_OPENGL_FORWARD_COMPAT hints to GL_TRUE will cause glfwCreateWindow to fail.

    +

    GLFW uses the WGL_ARB_create_context_profile extension to provide support for context profiles. Where this extension is unavailable, setting the GLFW_OPENGL_PROFILE hint to anything but GLFW_OPENGL_ANY_PROFILE will cause glfwCreateWindow to fail.

    +

    GLFW uses the WGL_ARB_context_flush_control extension to provide control over whether a context is flushed when it is released (made non-current). Where this extension is unavailable, the GLFW_CONTEXT_RELEASE_BEHAVIOR hint will have no effect and the context will always be flushed when released.

    +

    GLFW uses the WGL_ARB_framebuffer_sRGB and WGL_EXT_framebuffer_sRGB extensions to provide support for sRGB framebuffers. Where both of these extension are unavailable, the GLFW_SRGB_CAPABLE hint will have no effect.

    +

    +OpenGL 3.2 and later on OS X

    +

    Support for OpenGL 3.2 and above was introduced with OS X 10.7 and even then only forward-compatible, core profile contexts are supported. Support for OpenGL 4.1 was introduced with OS X 10.9, also limited to forward-compatible, core profile contexts. There is also still no mechanism for requesting debug contexts. Versions of Mac OS X earlier than 10.7 support at most OpenGL version 2.1.

    +

    Because of this, on OS X 10.7 and later, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will cause glfwCreateWindow to fail if given version 3.0 or 3.1, the GLFW_OPENGL_FORWARD_COMPAT hint must be set to GL_TRUE and the GLFW_OPENGL_PROFILE hint must be set to GLFW_OPENGL_CORE_PROFILE when creating OpenGL 3.2 and later contexts and the GLFW_OPENGL_DEBUG_CONTEXT hint is ignored.

    +

    Also, on Mac OS X 10.6 and below, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will fail if given a version above 2.1, setting the GLFW_OPENGL_PROFILE or GLFW_OPENGL_FORWARD_COMPAT hints to a non-default value will cause glfwCreateWindow to fail and the GLFW_OPENGL_DEBUG_CONTEXT hint is ignored.

    +
    + + + diff --git a/docs/3.1/compat_8dox.html b/docs/3.1/compat_8dox.html new file mode 100644 index 0000000..4636962 --- /dev/null +++ b/docs/3.1/compat_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: compat.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    compat.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.1/compile.html b/docs/3.1/compile.html new file mode 100644 index 0000000..2faf158 --- /dev/null +++ b/docs/3.1/compile.html @@ -0,0 +1,210 @@ + + + + + + +GLFW: Compiling GLFW + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Compiling GLFW
    +
    +
    + +

    This is about compiling the GLFW library itself. For information on how to build applications that use GLFW, see the Building applications guide.

    +

    +Using CMake

    +

    GLFW uses CMake to generate project files or makefiles for a particular development environment. If you are on a Unix-like system such as Linux or FreeBSD or have a package system like Fink, MacPorts, Cygwin or Homebrew, you can simply install its CMake package. If not, you can download installers for Windows and OS X from the CMake website.

    +
    Note
    CMake only generates project files or makefiles. It does not compile the actual GLFW library. To compile GLFW, first generate these files for your chosen development environment and then use them to compile the actual GLFW library.
    +

    +Dependencies

    +

    Once you have installed CMake, make sure that all other dependencies are available. On some platforms, GLFW needs a few additional packages to be installed. See the section for your chosen platform and development environment below.

    +

    +Dependencies for Visual C++ on Windows

    +

    The Microsoft Platform SDK that is installed along with Visual C++ already contains all the necessary headers, link libraries and tools except for CMake. Move on to Generating build files with CMake.

    +

    +Dependencies for MinGW or MinGW-w64 on Windows

    +

    Both the MinGW and the MinGW-w64 packages already contain all the necessary headers, link libraries and tools except for CMake. Move on to Generating build files with CMake.

    +

    +Dependencies for MinGW or MinGW-w64 cross-compilation

    +

    Both Cygwin and many Linux distributions have MinGW or MinGW-w64 packages. For example, Cygwin has the mingw64-i686-gcc and mingw64-x86_64-gcc packages for 32- and 64-bit version of MinGW-w64, while Debian GNU/Linux and derivatives like Ubuntu have the mingw-w64 package for both.

    +

    GLFW has CMake toolchain files in the CMake/ directory that allow for easy cross-compilation of Windows binaries. To use these files you need to add a special parameter when generating the project files or makefiles:

    +
    cmake -DCMAKE_TOOLCHAIN_FILE=<toolchain-file> .

    The exact toolchain file to use depends on the prefix used by the MinGW or MinGW-w64 binaries on your system. You can usually see this in the /usr directory. For example, both the Debian/Ubuntu and Cygwin MinGW-w64 packages have /usr/x86_64-w64-mingw32 for the 64-bit compilers, so the correct invocation would be:

    +
    cmake -DCMAKE_TOOLCHAIN_FILE=CMake/x86_64-w64-mingw32.cmake .

    For more details see the article CMake Cross Compiling on the CMake wiki.

    +

    Once you have this set up, move on to Generating build files with CMake.

    +

    +Dependencies for Xcode on OS X

    +

    Xcode comes with all necessary tools except for CMake. The required headers and libraries are included in the core OS X frameworks. Xcode can be downloaded from the Mac App Store or from the ADC Member Center.

    +

    Once you have Xcode installed, move on to Generating build files with CMake.

    +

    +Dependencies for Linux and X11

    +

    To compile GLFW for X11, you need to have the X11 and OpenGL header packages installed, as well as the basic development tools like GCC and make. For example, on Ubuntu and other distributions based on Debian GNU/Linux, you need to install the xorg-dev and libgl1-mesa-dev packages. The former pulls in all X.org header packages and the latter pulls in the Mesa OpenGL development packages. Note that using header files and libraries from Mesa during compilation will not tie your binaries to the Mesa implementation of OpenGL.

    +

    Once you have installed the necessary packages, move on to Generating build files with CMake.

    +

    +Generating build files with CMake

    +

    Once you have all necessary dependencies it is time to generate the project files or makefiles for your development environment. CMake needs to know two paths for this: the path to the root directory of the GLFW source tree (i.e. not the src subdirectory) and the target path for the generated files and compiled binaries. If these are the same, it is called an in-tree build, otherwise it is called an out-of-tree build.

    +

    One of several advantages of out-of-tree builds is that you can generate files and compile for different development environments using a single source tree.

    +
    Note
    This section is about generating the project files or makefiles necessary to compile the GLFW library, not about compiling the actual library.
    +

    +Generating files with the CMake command-line tool

    +

    To make an in-tree build, enter the root directory of the GLFW source tree (i.e. not the src subdirectory) and run CMake. The current directory is used as target path, while the path provided as an argument is used to find the source tree.

    +
    cd <glfw-root-dir>
    cmake .

    To make an out-of-tree build, make a directory outside of the source tree, enter it and run CMake with the (relative or absolute) path to the root of the source tree as an argument.

    +
    mkdir glfw-build
    cd glfw-build
    cmake <glfw-root-dir>

    Once you have generated the project files or makefiles for your chosen development environment, move on to Compiling the library.

    +

    +Generating files with the CMake GUI

    +

    If you are using the GUI version, choose the root of the GLFW source tree as source location and the same directory or another, empty directory as the destination for binaries. Choose Configure, change any options you wish to, Configure again to let the changes take effect and then Generate.

    +

    Once you have generated the project files or makefiles for your chosen development environment, move on to Compiling the library.

    +

    +Compiling the library

    +

    You should now have all required dependencies and the project files or makefiles necessary to compile GLFW. Go ahead and compile the actual GLFW library with these files, as you would with any other project.

    +

    Once the GLFW library is compiled, you are ready to build your applications, linking it to the GLFW library. See the Building applications guide for more information.

    +

    +CMake options

    +

    The CMake files for GLFW provide a number of options, although not all are available on all supported platforms. Some of these are de facto standards among projects using CMake and so have no GLFW_ prefix.

    +

    If you are using the GUI version of CMake, these are listed and can be changed from there. If you are using the command-line version, use the ccmake tool. Some package systems like Ubuntu and other distributions based on Debian GNU/Linux have this tool in a separate cmake-curses-gui package.

    +

    +Shared CMake options

    +

    BUILD_SHARED_LIBS determines whether GLFW is built as a static library or as a DLL / shared library / dynamic library.

    +

    LIB_SUFFIX affects where the GLFW shared /dynamic library is installed. If it is empty, it is installed to ${CMAKE_INSTALL_PREFIX}/lib. If it is set to 64, it is installed to ${CMAKE_INSTALL_PREFIX}/lib64.

    +

    GLFW_CLIENT_LIBRARY determines which client API library to use. If set to opengl the OpenGL library is used, if set to glesv1 for the OpenGL ES 1.x library is used, or if set to glesv2 the OpenGL ES 2.0 library is used. The selected library and its header files must be present on the system for this to work.

    +

    GLFW_BUILD_EXAMPLES determines whether the GLFW examples are built along with the library.

    +

    GLFW_BUILD_TESTS determines whether the GLFW test programs are built along with the library.

    +

    GLFW_BUILD_DOCS determines whether the GLFW documentation is built along with the library.

    +

    +OS X specific CMake options

    +

    GLFW_USE_CHDIR determines whether glfwInit changes the current directory of bundled applications to the Contents/Resources directory.

    +

    GLFW_USE_MENUBAR determines whether the first call to glfwCreateWindow sets up a minimal menu bar.

    +

    GLFW_USE_RETINA determines whether windows will use the full resolution of Retina displays.

    +

    GLFW_BUILD_UNIVERSAL determines whether to build Universal Binaries.

    +

    +Windows specific CMake options

    +

    USE_MSVC_RUNTIME_LIBRARY_DLL determines whether to use the DLL version or the static library version of the Visual C++ runtime library. If set to ON, the DLL version of the Visual C++ library is used. It is recommended to set this to ON, as this keeps the executable smaller and benefits from security and bug fix updates of the Visual C++ runtime.

    +

    GLFW_USE_HYBRID_HPG determines whether to export the NvOptimusEnablement and AmdPowerXpressRequestHighPerformance symbols, which force the use of the high-performance GPU on Nvidia Optimus and AMD PowerXpress systems. These symbols need to be exported by the EXE to be detected by the driver, so the override will not work if GLFW is built as a DLL.

    +

    +EGL specific CMake options

    +

    GLFW_USE_EGL determines whether to use EGL instead of the platform-specific context creation API. Note that EGL is not yet provided on all supported platforms.

    +

    +Compiling GLFW manually

    +

    If you wish to compile GLFW without its CMake build environment then you will have to do at least some of the platform detection yourself. GLFW needs a number of configuration macros to be defined in order to know what it's being compiled for and has many optional, platform-specific ones for various features.

    +

    When building with CMake, the glfw_config.h configuration header is generated based on the current platform and CMake options. The GLFW CMake environment defines _GLFW_USE_CONFIG_H, which causes this header to be included by internal.h. Without this macro, GLFW will expect the necessary configuration macros to be defined on the command-line.

    +

    Three macros must be defined when compiling GLFW: one selecting the window creation API, one selecting the context creation API and one client library. Exactly one of each kind must be defined for GLFW to compile and link.

    +

    The window creation API is used to create windows, handle input, monitors, gamma ramps and clipboard. The options are:

    +
      +
    • _GLFW_COCOA to use the Cocoa frameworks
    • +
    • _GLFW_WIN32 to use the Win32 API
    • +
    • _GLFW_X11 to use the X Window System
    • +
    • _GLFW_WAYLAND to use the Wayland API (experimental and incomplete)
    • +
    • _GLFW_MIR to use the Mir API (experimental and incomplete)
    • +
    +

    The context creation API is used to enumerate pixel formats / framebuffer configurations and to create contexts. The options are:

    +
      +
    • _GLFW_NSGL to use the Cocoa OpenGL framework
    • +
    • _GLFW_WGL to use the Win32 WGL API
    • +
    • _GLFW_GLX to use the X11 GLX API
    • +
    • _GLFW_EGL to use the EGL API
    • +
    +

    Wayland and Mir both require the EGL backend.

    +

    The client library is the one providing the OpenGL or OpenGL ES API, which is used by GLFW to probe the created context. This is not the same thing as the client API, as many desktop OpenGL client libraries now expose the OpenGL ES API through extensions. The options are:

    +
      +
    • _GLFW_USE_OPENGL for the desktop OpenGL (opengl32.dll, libGL.so or OpenGL.framework)
    • +
    • _GLFW_USE_GLESV1 for OpenGL ES 1.x (experimental)
    • +
    • _GLFW_USE_GLESV2 for OpenGL ES 2.x (experimental)
    • +
    +

    Note that _GLFW_USE_GLESV1 and _GLFW_USE_GLESV2 may only be used with EGL, as the other context creation APIs do not interface with OpenGL ES client libraries.

    +

    If you are building GLFW as a shared library / dynamic library / DLL then you must also define _GLFW_BUILD_DLL. Otherwise, you may not define it.

    +

    If you are using the X11 window creation API, support for the following X11 extensions can be enabled:

    +
      +
    • _GLFW_HAS_XINPUT to use XInput2 for high-resolution cursor motion (recommended)
    • +
    • _GLFW_HAS_XF86VM to use Xxf86vm as a fallback when RandR gamma is broken (recommended)
    • +
    +

    If you are using the Cocoa window creation API, the following options are available:

    +
      +
    • _GLFW_USE_CHDIR to chdir to the Resources subdirectory of the application bundle during glfwInit (recommended)
    • +
    • _GLFW_USE_MENUBAR to create and populate the menu bar when the first window is created (recommended)
    • +
    • _GLFW_USE_RETINA to have windows use the full resolution of Retina displays (recommended)
    • +
    +
    Note
    None of the GLFW header option macros may be defined during the compilation of GLFW. If you define any of these in your build files, make sure they are not applied to the GLFW sources.
    +
    + + + diff --git a/docs/3.1/compile_8dox.html b/docs/3.1/compile_8dox.html new file mode 100644 index 0000000..3c51b37 --- /dev/null +++ b/docs/3.1/compile_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: compile.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    compile.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.1/context.html b/docs/3.1/context.html new file mode 100644 index 0000000..76781ee --- /dev/null +++ b/docs/3.1/context.html @@ -0,0 +1,171 @@ + + + + + + +GLFW: Context guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Context guide
    +
    +
    + +

    This guide introduces the OpenGL and OpenGL ES context related functions of GLFW. There are also guides for the other areas of the GLFW API.

    + +

    +Context objects

    +

    A window object encapsulates both a top-level window and an OpenGL or OpenGL ES context. It is created with glfwCreateWindow and destroyed with glfwDestroyWindow or glfwTerminate. See Window creation for more information.

    +

    As the window and context are inseparably linked, the window object also serves as the context handle.

    +

    To test the creation of various kinds of contexts and see their properties, run the glfwinfo test program.

    +

    +Context creation hints

    +

    There are a number of hints, specified using glfwWindowHint, related to what kind of context is created. See context related hints in the window guide.

    +

    +Context object sharing

    +

    When creating a window and its OpenGL or OpenGL ES context with glfwCreateWindow, you can specify another window whose context the new one should share its objects (textures, vertex and element buffers, etc.) with.

    +
    GLFWwindow* second_window = glfwCreateWindow(640, 480, "Second Window", NULL, first_window);

    Object sharing is implemented by the operating system and graphics driver. On platforms where it is possible to choose which types of objects are shared, GLFW requests that all types are shared.

    +

    See the relevant chapter of the OpenGL or OpenGL ES reference documents for more information. The name and number of this chapter unfortunately varies between versions and APIs, but has at times been named Shared Objects and Multiple Contexts.

    +

    GLFW comes with a simple object sharing test program called sharing.

    +

    +Offscreen contexts

    +

    GLFW doesn't support creating contexts without an associated window. However, contexts with hidden windows can be created with the GLFW_VISIBLE window hint.

    +
    GLFWwindow* offscreen_context = glfwCreateWindow(640, 480, "", NULL, NULL);

    The window never needs to be shown and its context can be used as a plain offscreen context. Depending on the window manager, the size of a hidden window's framebuffer may not be usable or modifiable, so framebuffer objects are recommended for rendering with such contexts.

    +

    OS X: The first time a window is created the menu bar is populated with common commands like Hide, Quit and About. This is not desirable for example when writing a command-line only application. The menu bar setup can be disabled with a compile-time option.

    +

    +Current context

    +

    Before you can make OpenGL or OpenGL ES calls, you need to have a current context of the correct type. A context can only be current for a single thread at a time, and a thread can only have a single context current at a time.

    +

    The context of a window is made current with glfwMakeContextCurrent.

    +

    The window of the current context is returned by glfwGetCurrentContext.

    +

    The following GLFW functions require a context to be current. Calling any these functions without a current context will generate a GLFW_NO_CURRENT_CONTEXT error.

    + +

    +Buffer swapping

    +

    Buffer swapping is part of the window and framebuffer, not the context. See Buffer swapping.

    +

    +OpenGL and OpenGL ES extensions

    +

    One of the benefits of OpenGL and OpenGL ES are their extensibility. Hardware vendors may include extensions in their implementations that extend the API before that functionality is included in a new version of the OpenGL or OpenGL ES specification, and some extensions are never included and remain as extensions until they become obsolete.

    +

    An extension is defined by:

    +
      +
    • An extension name (e.g. GL_ARB_debug_output)
    • +
    • New OpenGL tokens (e.g. GL_DEBUG_SEVERITY_HIGH_ARB)
    • +
    • New OpenGL functions (e.g. glGetDebugMessageLogARB)
    • +
    +

    Note the ARB affix, which stands for Architecture Review Board and is used for official extensions. The extension above was created by the ARB, but there are many different affixes, like NV for Nvidia and AMD for, well, AMD. Any group may also use the generic EXT affix. Lists of extensions, together with their specifications, can be found at the OpenGL Registry and OpenGL ES Registry.

    +

    +Loading extension with a loader library

    +

    An extension loader library is the easiest and best way to access both OpenGL and OpenGL ES extensions and modern versions of the core OpenGL or OpenGL ES APIs. They will take care of all the details of declaring and loading everything you need. One such library is glad and there are several others.
    + The following example will use glad but all extension loader libraries work similarly.

    +

    First you need to generate the source files using the glad Python script. This example generates a loader for any version of OpenGL, which is the default for both GLFW and glad, but loaders for OpenGL ES, as well as loaders for specific API versions and extension sets can be generated. The generated files are written to the output directory.

    +
    python main.py --generator c --no-loader --out-path output

    The --no-loader option is added because GLFW already provides a function for loading OpenGL and OpenGL ES function pointers and glad can call this instead of having to implement its own. There are several other command-line options as well. See the glad documentation for details.

    +

    Add the generated output/src/glad.c, output/include/glad/glad.h and output/include/KHR/khrplatform.h files to your build. Then you need to include the glad header file, which will replace the OpenGL header of your development environment. By including the glad header before the GLFW header, it suppresses the development environment's OpenGL or OpenGL ES header.

    +
    #include <glad/glad.h>
    #include <GLFW/glfw3.h>

    Finally you need to initialize glad once you have a suitable current context.

    +
    window = glfwCreateWindow(640, 480, "My Window", NULL, NULL);
    if (!window)
    {
    ...
    }
    gladLoadGLLoader((GLADloadproc) glfwGetProcAddress);

    Once glad has been loaded, you have access to all OpenGL core and extension functions supported by both the context you created and the glad loader you generated and you are ready to start rendering.

    +

    You can specify a minimum required OpenGL or OpenGL ES version with context hints. If your needs are more complex, you can check the actual OpenGL or OpenGL ES version with context attributes, or you can check whether a specific version is supported by the current context with the GLAD_GL_VERSION_x_x booleans.

    +
    if (GLAD_GL_VERSION_3_2)
    {
    // Call OpenGL 3.2+ specific code
    }

    To check whether a specific extension is supported, use the GLAD_GL_xxx booleans.

    +
    if (GLAD_GL_ARB_debug_output)
    {
    // Use GL_ARB_debug_output
    }

    +Loading extensions manually

    +

    Do not use this technique unless it is absolutely necessary. An extension loader library will save you a ton of tedious, repetitive, error prone work.

    +

    To use a certain extension, you must first check whether the context supports that extension and then, if it introduces new functions, retrieve the pointers to those functions. GLFW provides glfwExtensionSupported and glfwGetProcAddress for manual loading of extensions and new API functions.

    +

    This section will demonstrate manual loading of OpenGL extensions. The loading of OpenGL ES extensions is identical except for the name of the extension header.

    +

    +The glext.h header

    +

    The glext.h extension header is a continually updated file that defines the interfaces for all OpenGL extensions. The latest version of this can always be found at the OpenGL Registry. There are also extension headers for the various versions of OpenGL ES at the OpenGL ES Registry. It it strongly recommended that you use your own copy of the extension header, as the one included in your development environment may be several years out of date and may not include the extensions you wish to use.

    +

    The header defines function pointer types for all functions of all extensions it supports. These have names like PFNGLGETDEBUGMESSAGELOGARBPROC (for glGetDebugMessageLogARB), i.e. the name is made uppercase and PFN (pointer to function) and PROC (procedure) are added to the ends.

    +

    To include the extension header, define GLFW_INCLUDE_GLEXT before including the GLFW header.

    +
    #define GLFW_INCLUDE_GLEXT
    #include <GLFW/glfw3.h>

    +Checking for extensions

    +

    A given machine may not actually support the extension (it may have older drivers or a graphics card that lacks the necessary hardware features), so it is necessary to check at run-time whether the context supports the extension. This is done with glfwExtensionSupported.

    +
    if (glfwExtensionSupported("GL_ARB_debug_output"))
    {
    // The extension is supported by the current context
    }

    The argument is a null terminated ASCII string with the extension name. If the extension is supported, glfwExtensionSupported returns GL_TRUE, otherwise it returns GL_FALSE.

    +

    +Fetching function pointers

    +

    Many extensions, though not all, require the use of new OpenGL functions. These functions often do not have entry points in the client API libraries of your operating system, making it necessary to fetch them at run time. You can retrieve pointers to these functions with glfwGetProcAddress.

    +
    PFNGLGETDEBUGMESSAGELOGARBPROC pfnGetDebugMessageLog = glfwGetProcAddress("glGetDebugMessageLogARB");

    In general, you should avoid giving the function pointer variables the (exact) same name as the function, as this may confuse your linker. Instead, you can use a different prefix, like above, or some other naming scheme.

    +

    Now that all the pieces have been introduced, here is what they might look like when used together.

    +
    #define GLFW_INCLUDE_GLEXT
    #include <GLFW/glfw3.h>
    #define glGetDebugMessageLogARB pfnGetDebugMessageLog
    PFNGLGETDEBUGMESSAGELOGARBPROC pfnGetDebugMessageLog;
    // Flag indicating whether the extension is supported
    int has_ARB_debug_output = 0;
    void load_extensions(void)
    {
    if (glfwExtensionSupported("GL_ARB_debug_output"))
    {
    pfnGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGARBPROC)
    glfwGetProcAddress("glGetDebugMessageLogARB");
    has_ARB_debug_output = 1;
    }
    }
    void some_function(void)
    {
    if (has_ARB_debug_output)
    {
    // Now the extension function can be called as usual
    glGetDebugMessageLogARB(...);
    }
    }
    + + + diff --git a/docs/3.1/context_8dox.html b/docs/3.1/context_8dox.html new file mode 100644 index 0000000..4dbdfbf --- /dev/null +++ b/docs/3.1/context_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: context.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    context.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.1/dir_7d046523570a4bf058ddf3b10b545b6c.html b/docs/3.1/dir_7d046523570a4bf058ddf3b10b545b6c.html new file mode 100644 index 0000000..3ae160b --- /dev/null +++ b/docs/3.1/dir_7d046523570a4bf058ddf3b10b545b6c.html @@ -0,0 +1,85 @@ + + + + + + +GLFW: GLFW Directory Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    GLFW Directory Reference
    +
    +
    + + + + + + +

    +Files

    file  glfw3.h [code]
     
    file  glfw3native.h [code]
     
    +
    + + + diff --git a/docs/3.1/dir_d44c64559bbebec7f509842c48db8b23.html b/docs/3.1/dir_d44c64559bbebec7f509842c48db8b23.html new file mode 100644 index 0000000..46ebadd --- /dev/null +++ b/docs/3.1/dir_d44c64559bbebec7f509842c48db8b23.html @@ -0,0 +1,83 @@ + + + + + + +GLFW: include Directory Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    include Directory Reference
    +
    +
    + + + + +

    +Directories

    directory  GLFW
     
    +
    + + + diff --git a/docs/3.1/doc.png b/docs/3.1/doc.png new file mode 100644 index 0000000000000000000000000000000000000000..17edabff95f7b8da13c9516a04efe05493c29501 GIT binary patch literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t literal 0 HcmV?d00001 diff --git a/docs/3.1/doxygen.css b/docs/3.1/doxygen.css new file mode 100644 index 0000000..266c8b3 --- /dev/null +++ b/docs/3.1/doxygen.css @@ -0,0 +1,1596 @@ +/* The standard CSS for doxygen 1.8.14 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +p.reference, p.definition { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #ffffff; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 0px; + margin: 4px 8px 4px 2px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line:after { + content:"\000A"; + white-space: pre; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +.lineno { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +div.ah, span.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtitle { + padding: 8px; + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + border-top-right-radius: 4px; + border-top-left-radius: 4px; + margin-bottom: -1px; + background-image: url('nav_f.png'); + background-repeat: repeat-x; + background-color: #E2E8F2; + line-height: 1.25; + font-weight: 300; + float:left; +} + +.permalink +{ + font-size: 65%; + display: inline-block; + vertical-align: middle; +} + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: 400; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-color: #DFE5F1; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + +} + +.overload { + font-family: "courier new",courier,monospace; + font-size: 65%; +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #9CAFD4; + border-bottom: 1px solid #9CAFD4; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +.arrow { + color: #9CAFD4; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: Arial, Helvetica; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: #728DC1; + color: white; + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderopen.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderclosed.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('doc.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +table.directory { + font: 400 14px Roboto,sans-serif; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable caption { + caption-side: top; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + font-weight: 400; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +table.classindex +{ + margin: 10px; + white-space: nowrap; + margin-left: 3%; + margin-right: 3%; + width: 94%; + border: 0; + border-spacing: 0; + padding: 0; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +dl +{ + padding: 0 0 0 10px; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ +dl.section +{ + margin-left: 0px; + padding-left: 0px; +} + +dl.note +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00D000; +} + +dl.deprecated +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #505050; +} + +dl.todo +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00C0E0; +} + +dl.test +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #3030E0; +} + +dl.bug +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectalign +{ + vertical-align: middle; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.plantumlgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 8px 10px 10px; + width: 200px; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + white-space: nowrap; + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + +/* @group Markdown */ + +/* +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTableHead tr { +} + +table.markdownTableBodyLeft td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft { + text-align: left +} + +th.markdownTableHeadRight { + text-align: right +} + +th.markdownTableHeadCenter { + text-align: center +} +*/ + +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTable tr { +} + +th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft, td.markdownTableBodyLeft { + text-align: left +} + +th.markdownTableHeadRight, td.markdownTableBodyRight { + text-align: right +} + +th.markdownTableHeadCenter, td.markdownTableBodyCenter { + text-align: center +} + + +/* @end */ diff --git a/docs/3.1/doxygen.png b/docs/3.1/doxygen.png new file mode 100644 index 0000000000000000000000000000000000000000..3ff17d807fd8aa003bed8bb2a69e8f0909592fd1 GIT binary patch literal 3779 zcmV;!4m|ORP)tMIv#Q0*~7*`IBSO7_x;@a8#Zk6_PeKR_s92J&)(m+);m9Iz3blw)z#Gi zP!9lj4$%+*>Hz@HCmM9L9|8c+0u=!H$O3?R0Kgx|#WP<6fKfC8fM-CQZT|_r@`>VO zX^Hgb|9cJqpdJA5$MCEK`F_2@2Y@s>^+;pF`~jdI0Pvr|vl4`=C)EH@1IFe7pdJ8F zH(qGi004~QnF)Ggga~8v08kGAs2hKTATxr7pwfNk|4#_AaT>w8P6TV+R2kbS$v==} zAjf`s0g#V8lB+b3)5oEI*q+{Yt$MZDruD2^;$+(_%Qn+%v0X-bJO=;@kiJ^ygLBnC z?1OVv_%aex1M@jKU|Z~$eI?PoF4Vj>fDzyo zAiLfpXY*a^Sj-S5D0S3@#V$sRW)g)_1e#$%8xdM>Jm7?!h zu0P2X=xoN>^!4DoPRgph2(2va07yfpXF+WH7EOg1GY%Zn z7~1A<(z7Q$ktEXhW_?GMpHp9l_UL18F3KOsxu81pqoBiNbFSGsof-W z6~eloMoz=4?OOnl2J268x5rOY`dCk0us(uS#Ud4yqOr@?=Q57a}tit|BhY>}~frH1sP`ScHS_d)oqH^lYy zZ%VP`#10MlE~P?cE(%(#(AUSv_T{+;t@$U}El}(1ig`vZo`Rm;+5&(AYzJ^Ae=h2X z@Re%vHwZU>|f0NI&%$*4eJweC5OROQrpPMA@*w|o z()A==l}(@bv^&>H1Ob3C=<^|hob?0+xJ?QQ3-ueQC}zy&JQNib!OqSO@-=>XzxlSF zAZ^U*1l6EEmg3r};_HY>&Jo_{dOPEFTWPmt=U&F#+0(O59^UIlHbNX+eF8UzyDR*T z(=5X$VF3!gm@RooS-&iiUYGG^`hMR(07zr_xP`d!^BH?uD>Phl8Rdifx3Af^Zr`Ku ztL+~HkVeL#bJ)7;`=>;{KNRvjmc}1}c58Sr#Treq=4{xo!ATy|c>iRSp4`dzMMVd@ zL8?uwXDY}Wqgh4mH`|$BTXpUIu6A1-cSq%hJw;@^Zr8TP=GMh*p(m(tN7@!^D~sl$ zz^tf4II4|};+irE$Fnm4NTc5%p{PRA`%}Zk`CE5?#h3|xcyQsS#iONZ z6H(@^i9td!$z~bZiJLTax$o>r(p}3o@< zyD7%(>ZYvy=6$U3e!F{Z`uSaYy`xQyl?b{}eg|G3&fz*`QH@mDUn)1%#5u`0m$%D} z?;tZ0u(mWeMV0QtzjgN!lT*pNRj;6510Wwx?Yi_=tYw|J#7@(Xe7ifDzXuK;JB;QO z#bg~K$cgm$@{QiL_3yr}y&~wuv=P=#O&Tj=Sr)aCUlYmZMcw?)T?c%0rUe1cS+o!qs_ zQ6Gp)-{)V!;=q}llyK3|^WeLKyjf%y;xHku;9(vM!j|~<7w1c*Mk-;P{T&yG) z@C-8E?QPynNQ<8f01D`2qexcVEIOU?y}MG)TAE6&VT5`rK8s(4PE;uQ92LTXUQ<>^ ztyQ@=@kRdh@ebUG^Z6NWWIL;_IGJ2ST>$t!$m$qvtj0Qmw8moN6GUV^!QKNK zHBXCtUH8)RY9++gH_TUV4^=-j$t}dD3qsN7GclJ^Zc&(j6&a_!$jCf}%c5ey`pm~1)@{yI3 zTdWyB+*X{JFw#z;PwRr5evb2!ueWF;v`B0HoUu4-(~aL=z;OXUUEtG`_$)Oxw6FKg zEzY`CyKaSBK3xt#8gA|r_|Kehn_HYVBMpEwbn9-fI*!u*eTA1ef8Mkl1=!jV4oYwWYM}i`A>_F4nhmlCIC6WLa zY%;4&@AlnaG11ejl61Jev21|r*m+?Kru3;1tFDl}#!OzUp6c>go4{C|^erwpG*&h6bspUPJag}oOkN2912Y3I?(eRc@U9>z#HPBHC?nps7H5!zP``90!Q1n80jo+B3TWXp!8Pe zwuKuLLI6l3Gv@+QH*Y}2wPLPQ1^EZhT#+Ed8q8Wo z1pTmIBxv14-{l&QVKxAyQF#8Q@NeJwWdKk>?cpiJLkJr+aZ!Me+Cfp!?FWSRf^j2k z73BRR{WSKaMkJ>1Nbx5dan5hg^_}O{Tj6u%iV%#QGz0Q@j{R^Ik)Z*+(YvY2ziBG)?AmJa|JV%4UT$k`hcOg5r9R?5>?o~JzK zJCrj&{i#hG>N7!B4kNX(%igb%kDj0fOQThC-8mtfap82PNRXr1D>lbgg)dYTQ(kbx z`Ee5kXG~Bh+BHQBf|kJEy6(ga%WfhvdQNDuOfQoe377l#ht&DrMGeIsI5C<&ai zWG$|hop2@@q5YDa)_-A?B02W;#fH!%k`daQLEItaJJ8Yf1L%8x;kg?)k)00P-lH+w z)5$QNV6r2$YtnV(4o=0^3{kmaXn*Dm0F*fU(@o)yVVjk|ln8ea6BMy%vZAhW9|wvA z8RoDkVoMEz1d>|5(k0Nw>22ZT){V<3$^C-cN+|~hKt2)){+l-?3m@-$c?-dlzQ)q- zZ)j%n^gerV{|+t}9m1_&&Ly!9$rtG4XX|WQ8`xYzGC~U@nYh~g(z9)bdAl#xH)xd5a=@|qql z|FzEil{P5(@gy!4ek05i$>`E^G~{;pnf6ftpLh$h#W?^#4UkPfa;;?bsIe&kz!+40 zI|6`F2n020)-r`pFaZ38F!S-lJM-o&inOw|66=GMeP@xQU5ghQH{~5Uh~TMTd;I9` z>YhVB`e^EVj*S7JF39ZgNf}A-0DwOcTT63ydN$I3b?yBQtUI*_fae~kPvzoD$zjX3 zoqBe#>12im4WzZ=f^4+u=!lA|#r%1`WB0-6*3BL#at`47#ebPpR|D1b)3BjT34nYY z%Ds%d?5$|{LgOIaRO{{oC&RK`O91$fqwM0(C_TALcozu*fWHb%%q&p-q{_8*2Zsi^ zh1ZCnr^UYa;4vQEtHk{~zi>wwMC5o{S=$P0X681y`SXwFH?Ewn{x-MOZynmc)JT5v zuHLwh;tLfxRrr%|k370}GofLl7thg>ACWWY&msqaVu&ry+`7+Ss>NL^%T1|z{IGMA zW-SKl=V-^{(f!Kf^#3(|T2W47d(%JVCI4JgRrT1pNz>+ietmFToNv^`gzC@&O-)+i zPQ~RwK8%C_vf%;%e>NyTp~dM5;!C|N0Q^6|CEb7Bw=Vz~$1#FA;Z*?mKSC)Hl-20s t8QyHj(g6VK0RYbl8UjE)0O0w=e*@m04r>stuEhWV002ovPDHLkV1hl;dM*F} literal 0 HcmV?d00001 diff --git a/docs/3.1/dynsections.js b/docs/3.1/dynsections.js new file mode 100644 index 0000000..c1ce122 --- /dev/null +++ b/docs/3.1/dynsections.js @@ -0,0 +1,120 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} + +function toggleLevel(level) +{ + $('table.directory tr').each(function() { + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (l + + + + + +GLFW: File List + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    File List
    +
    +
    +
    Here is a list of all files with brief descriptions:
    + + + +
     glfw3.h
     glfw3native.h
    +
    +
    + + + diff --git a/docs/3.1/folderclosed.png b/docs/3.1/folderclosed.png new file mode 100644 index 0000000000000000000000000000000000000000..bb8ab35edce8e97554e360005ee9fc5bffb36e66 GIT binary patch literal 616 zcmV-u0+;=XP)a9#ETzayK)T~Jw&MMH>OIr#&;dC}is*2Mqdf&akCc=O@`qC+4i z5Iu3w#1M@KqXCz8TIZd1wli&kkl2HVcAiZ8PUn5z_kG@-y;?yK06=cA0U%H0PH+kU zl6dp}OR(|r8-RG+YLu`zbI}5TlOU6ToR41{9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6` zBLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XUdOZN~c=dLt_h_k!dbxm_*ibDM zlFX`g{k$X}yIe%$N)cn1LNu=q9_CS)*>A zsX_mM4L@`(cSNQKMFc$RtYbx{79#j-J7hk*>*+ZZhM4Hw?I?rsXCi#mRWJ=-0LGV5a-WR0Qgt<|Nqf)C-@80`5gIz45^_20000IqP)X=#(TiCT&PiIIVc55T}TU}EUh*{q$|`3@{d>{Tc9Bo>e= zfmF3!f>fbI9#GoEHh0f`i5)wkLpva0ztf%HpZneK?w-7AK@b4Itw{y|Zd3k!fH?q2 zlhckHd_V2M_X7+)U&_Xcfvtw60l;--DgZmLSw-Y?S>)zIqMyJ1#FwLU*%bl38ok+! zh78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5jDplgxd44}9;IRqUH1YHH|@6oFe%z( zo4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=|)Rz|V`sGfHNrJ)0gJb8xx+SBmRf@1l zvuzt=vGfI)<-F9!o&3l?>9~0QbUDT(wFdnQPv%xdD)m*g%!20>Bc9iYmGAp<9YAa( z0QgYgTWqf1qN++Gqp z8@AYPTB3E|6s=WLG?xw0tm|U!o=&zd+H0oRYE;Dbx+Na9s^STqX|Gnq%H8s(nGDGJ j8vwW|`Ts`)fSK|Kx=IK@RG@g200000NkvXXu0mjfauFEA literal 0 HcmV?d00001 diff --git a/docs/3.1/functions.html b/docs/3.1/functions.html new file mode 100644 index 0000000..0d2b2fc --- /dev/null +++ b/docs/3.1/functions.html @@ -0,0 +1,106 @@ + + + + + + +GLFW: Data Fields + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all struct and union fields with links to the structures/unions they belong to:
    +
    + + + diff --git a/docs/3.1/functions_vars.html b/docs/3.1/functions_vars.html new file mode 100644 index 0000000..18bfcfb --- /dev/null +++ b/docs/3.1/functions_vars.html @@ -0,0 +1,106 @@ + + + + + + +GLFW: Data Fields - Variables + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    + + + diff --git a/docs/3.1/glfw3_8h.html b/docs/3.1/glfw3_8h.html new file mode 100644 index 0000000..5cc47b0 --- /dev/null +++ b/docs/3.1/glfw3_8h.html @@ -0,0 +1,1657 @@ + + + + + + +GLFW: glfw3.h File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    + +
    +
    glfw3.h File Reference
    +
    +
    + +

    Go to the source code of this file.

    + + + + + + + + + + + +

    +Data Structures

    struct  GLFWvidmode
     Video mode type. More...
     
    struct  GLFWgammaramp
     Gamma ramp. More...
     
    struct  GLFWimage
     Image data. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_KEY_UNKNOWN   -1
     
    #define GLFW_KEY_SPACE   32
     
    #define GLFW_KEY_APOSTROPHE   39 /* ' */
     
    #define GLFW_KEY_COMMA   44 /* , */
     
    #define GLFW_KEY_MINUS   45 /* - */
     
    #define GLFW_KEY_PERIOD   46 /* . */
     
    #define GLFW_KEY_SLASH   47 /* / */
     
    #define GLFW_KEY_0   48
     
    #define GLFW_KEY_1   49
     
    #define GLFW_KEY_2   50
     
    #define GLFW_KEY_3   51
     
    #define GLFW_KEY_4   52
     
    #define GLFW_KEY_5   53
     
    #define GLFW_KEY_6   54
     
    #define GLFW_KEY_7   55
     
    #define GLFW_KEY_8   56
     
    #define GLFW_KEY_9   57
     
    #define GLFW_KEY_SEMICOLON   59 /* ; */
     
    #define GLFW_KEY_EQUAL   61 /* = */
     
    #define GLFW_KEY_A   65
     
    #define GLFW_KEY_B   66
     
    #define GLFW_KEY_C   67
     
    #define GLFW_KEY_D   68
     
    #define GLFW_KEY_E   69
     
    #define GLFW_KEY_F   70
     
    #define GLFW_KEY_G   71
     
    #define GLFW_KEY_H   72
     
    #define GLFW_KEY_I   73
     
    #define GLFW_KEY_J   74
     
    #define GLFW_KEY_K   75
     
    #define GLFW_KEY_L   76
     
    #define GLFW_KEY_M   77
     
    #define GLFW_KEY_N   78
     
    #define GLFW_KEY_O   79
     
    #define GLFW_KEY_P   80
     
    #define GLFW_KEY_Q   81
     
    #define GLFW_KEY_R   82
     
    #define GLFW_KEY_S   83
     
    #define GLFW_KEY_T   84
     
    #define GLFW_KEY_U   85
     
    #define GLFW_KEY_V   86
     
    #define GLFW_KEY_W   87
     
    #define GLFW_KEY_X   88
     
    #define GLFW_KEY_Y   89
     
    #define GLFW_KEY_Z   90
     
    #define GLFW_KEY_LEFT_BRACKET   91 /* [ */
     
    #define GLFW_KEY_BACKSLASH   92 /* \ */
     
    #define GLFW_KEY_RIGHT_BRACKET   93 /* ] */
     
    #define GLFW_KEY_GRAVE_ACCENT   96 /* ` */
     
    #define GLFW_KEY_WORLD_1   161 /* non-US #1 */
     
    #define GLFW_KEY_WORLD_2   162 /* non-US #2 */
     
    #define GLFW_KEY_ESCAPE   256
     
    #define GLFW_KEY_ENTER   257
     
    #define GLFW_KEY_TAB   258
     
    #define GLFW_KEY_BACKSPACE   259
     
    #define GLFW_KEY_INSERT   260
     
    #define GLFW_KEY_DELETE   261
     
    #define GLFW_KEY_RIGHT   262
     
    #define GLFW_KEY_LEFT   263
     
    #define GLFW_KEY_DOWN   264
     
    #define GLFW_KEY_UP   265
     
    #define GLFW_KEY_PAGE_UP   266
     
    #define GLFW_KEY_PAGE_DOWN   267
     
    #define GLFW_KEY_HOME   268
     
    #define GLFW_KEY_END   269
     
    #define GLFW_KEY_CAPS_LOCK   280
     
    #define GLFW_KEY_SCROLL_LOCK   281
     
    #define GLFW_KEY_NUM_LOCK   282
     
    #define GLFW_KEY_PRINT_SCREEN   283
     
    #define GLFW_KEY_PAUSE   284
     
    #define GLFW_KEY_F1   290
     
    #define GLFW_KEY_F2   291
     
    #define GLFW_KEY_F3   292
     
    #define GLFW_KEY_F4   293
     
    #define GLFW_KEY_F5   294
     
    #define GLFW_KEY_F6   295
     
    #define GLFW_KEY_F7   296
     
    #define GLFW_KEY_F8   297
     
    #define GLFW_KEY_F9   298
     
    #define GLFW_KEY_F10   299
     
    #define GLFW_KEY_F11   300
     
    #define GLFW_KEY_F12   301
     
    #define GLFW_KEY_F13   302
     
    #define GLFW_KEY_F14   303
     
    #define GLFW_KEY_F15   304
     
    #define GLFW_KEY_F16   305
     
    #define GLFW_KEY_F17   306
     
    #define GLFW_KEY_F18   307
     
    #define GLFW_KEY_F19   308
     
    #define GLFW_KEY_F20   309
     
    #define GLFW_KEY_F21   310
     
    #define GLFW_KEY_F22   311
     
    #define GLFW_KEY_F23   312
     
    #define GLFW_KEY_F24   313
     
    #define GLFW_KEY_F25   314
     
    #define GLFW_KEY_KP_0   320
     
    #define GLFW_KEY_KP_1   321
     
    #define GLFW_KEY_KP_2   322
     
    #define GLFW_KEY_KP_3   323
     
    #define GLFW_KEY_KP_4   324
     
    #define GLFW_KEY_KP_5   325
     
    #define GLFW_KEY_KP_6   326
     
    #define GLFW_KEY_KP_7   327
     
    #define GLFW_KEY_KP_8   328
     
    #define GLFW_KEY_KP_9   329
     
    #define GLFW_KEY_KP_DECIMAL   330
     
    #define GLFW_KEY_KP_DIVIDE   331
     
    #define GLFW_KEY_KP_MULTIPLY   332
     
    #define GLFW_KEY_KP_SUBTRACT   333
     
    #define GLFW_KEY_KP_ADD   334
     
    #define GLFW_KEY_KP_ENTER   335
     
    #define GLFW_KEY_KP_EQUAL   336
     
    #define GLFW_KEY_LEFT_SHIFT   340
     
    #define GLFW_KEY_LEFT_CONTROL   341
     
    #define GLFW_KEY_LEFT_ALT   342
     
    #define GLFW_KEY_LEFT_SUPER   343
     
    #define GLFW_KEY_RIGHT_SHIFT   344
     
    #define GLFW_KEY_RIGHT_CONTROL   345
     
    #define GLFW_KEY_RIGHT_ALT   346
     
    #define GLFW_KEY_RIGHT_SUPER   347
     
    #define GLFW_KEY_MENU   348
     
    #define GLFW_KEY_LAST   GLFW_KEY_MENU
     
    #define GLFW_MOD_SHIFT   0x0001
     If this bit is set one or more Shift keys were held down. More...
     
    #define GLFW_MOD_CONTROL   0x0002
     If this bit is set one or more Control keys were held down. More...
     
    #define GLFW_MOD_ALT   0x0004
     If this bit is set one or more Alt keys were held down. More...
     
    #define GLFW_MOD_SUPER   0x0008
     If this bit is set one or more Super keys were held down. More...
     
    #define GLFW_MOUSE_BUTTON_1   0
     
    #define GLFW_MOUSE_BUTTON_2   1
     
    #define GLFW_MOUSE_BUTTON_3   2
     
    #define GLFW_MOUSE_BUTTON_4   3
     
    #define GLFW_MOUSE_BUTTON_5   4
     
    #define GLFW_MOUSE_BUTTON_6   5
     
    #define GLFW_MOUSE_BUTTON_7   6
     
    #define GLFW_MOUSE_BUTTON_8   7
     
    #define GLFW_MOUSE_BUTTON_LAST   GLFW_MOUSE_BUTTON_8
     
    #define GLFW_MOUSE_BUTTON_LEFT   GLFW_MOUSE_BUTTON_1
     
    #define GLFW_MOUSE_BUTTON_RIGHT   GLFW_MOUSE_BUTTON_2
     
    #define GLFW_MOUSE_BUTTON_MIDDLE   GLFW_MOUSE_BUTTON_3
     
    #define GLFW_JOYSTICK_1   0
     
    #define GLFW_JOYSTICK_2   1
     
    #define GLFW_JOYSTICK_3   2
     
    #define GLFW_JOYSTICK_4   3
     
    #define GLFW_JOYSTICK_5   4
     
    #define GLFW_JOYSTICK_6   5
     
    #define GLFW_JOYSTICK_7   6
     
    #define GLFW_JOYSTICK_8   7
     
    #define GLFW_JOYSTICK_9   8
     
    #define GLFW_JOYSTICK_10   9
     
    #define GLFW_JOYSTICK_11   10
     
    #define GLFW_JOYSTICK_12   11
     
    #define GLFW_JOYSTICK_13   12
     
    #define GLFW_JOYSTICK_14   13
     
    #define GLFW_JOYSTICK_15   14
     
    #define GLFW_JOYSTICK_16   15
     
    #define GLFW_JOYSTICK_LAST   GLFW_JOYSTICK_16
     
    #define GLFW_NOT_INITIALIZED   0x00010001
     GLFW has not been initialized. More...
     
    #define GLFW_NO_CURRENT_CONTEXT   0x00010002
     No context is current for this thread. More...
     
    #define GLFW_INVALID_ENUM   0x00010003
     One of the arguments to the function was an invalid enum value. More...
     
    #define GLFW_INVALID_VALUE   0x00010004
     One of the arguments to the function was an invalid value. More...
     
    #define GLFW_OUT_OF_MEMORY   0x00010005
     A memory allocation failed. More...
     
    #define GLFW_API_UNAVAILABLE   0x00010006
     GLFW could not find support for the requested client API on the system. More...
     
    #define GLFW_VERSION_UNAVAILABLE   0x00010007
     The requested OpenGL or OpenGL ES version is not available. More...
     
    #define GLFW_PLATFORM_ERROR   0x00010008
     A platform-specific error occurred that does not match any of the more specific categories. More...
     
    #define GLFW_FORMAT_UNAVAILABLE   0x00010009
     The requested format is not supported or available. More...
     
    #define GLFW_FOCUSED   0x00020001
     
    #define GLFW_ICONIFIED   0x00020002
     
    #define GLFW_RESIZABLE   0x00020003
     
    #define GLFW_VISIBLE   0x00020004
     
    #define GLFW_DECORATED   0x00020005
     
    #define GLFW_AUTO_ICONIFY   0x00020006
     
    #define GLFW_FLOATING   0x00020007
     
    #define GLFW_RED_BITS   0x00021001
     
    #define GLFW_GREEN_BITS   0x00021002
     
    #define GLFW_BLUE_BITS   0x00021003
     
    #define GLFW_ALPHA_BITS   0x00021004
     
    #define GLFW_DEPTH_BITS   0x00021005
     
    #define GLFW_STENCIL_BITS   0x00021006
     
    #define GLFW_ACCUM_RED_BITS   0x00021007
     
    #define GLFW_ACCUM_GREEN_BITS   0x00021008
     
    #define GLFW_ACCUM_BLUE_BITS   0x00021009
     
    #define GLFW_ACCUM_ALPHA_BITS   0x0002100A
     
    #define GLFW_AUX_BUFFERS   0x0002100B
     
    #define GLFW_STEREO   0x0002100C
     
    #define GLFW_SAMPLES   0x0002100D
     
    #define GLFW_SRGB_CAPABLE   0x0002100E
     
    #define GLFW_REFRESH_RATE   0x0002100F
     
    #define GLFW_DOUBLEBUFFER   0x00021010
     
    #define GLFW_CLIENT_API   0x00022001
     
    #define GLFW_CONTEXT_VERSION_MAJOR   0x00022002
     
    #define GLFW_CONTEXT_VERSION_MINOR   0x00022003
     
    #define GLFW_CONTEXT_REVISION   0x00022004
     
    #define GLFW_CONTEXT_ROBUSTNESS   0x00022005
     
    #define GLFW_OPENGL_FORWARD_COMPAT   0x00022006
     
    #define GLFW_OPENGL_DEBUG_CONTEXT   0x00022007
     
    #define GLFW_OPENGL_PROFILE   0x00022008
     
    #define GLFW_CONTEXT_RELEASE_BEHAVIOR   0x00022009
     
    #define GLFW_OPENGL_API   0x00030001
     
    #define GLFW_OPENGL_ES_API   0x00030002
     
    #define GLFW_NO_ROBUSTNESS   0
     
    #define GLFW_NO_RESET_NOTIFICATION   0x00031001
     
    #define GLFW_LOSE_CONTEXT_ON_RESET   0x00031002
     
    #define GLFW_OPENGL_ANY_PROFILE   0
     
    #define GLFW_OPENGL_CORE_PROFILE   0x00032001
     
    #define GLFW_OPENGL_COMPAT_PROFILE   0x00032002
     
    #define GLFW_CURSOR   0x00033001
     
    #define GLFW_STICKY_KEYS   0x00033002
     
    #define GLFW_STICKY_MOUSE_BUTTONS   0x00033003
     
    #define GLFW_CURSOR_NORMAL   0x00034001
     
    #define GLFW_CURSOR_HIDDEN   0x00034002
     
    #define GLFW_CURSOR_DISABLED   0x00034003
     
    #define GLFW_ANY_RELEASE_BEHAVIOR   0
     
    #define GLFW_RELEASE_BEHAVIOR_FLUSH   0x00035001
     
    #define GLFW_RELEASE_BEHAVIOR_NONE   0x00035002
     
    #define GLFW_ARROW_CURSOR   0x00036001
     The regular arrow cursor shape. More...
     
    #define GLFW_IBEAM_CURSOR   0x00036002
     The text input I-beam cursor shape. More...
     
    #define GLFW_CROSSHAIR_CURSOR   0x00036003
     The crosshair shape. More...
     
    #define GLFW_HAND_CURSOR   0x00036004
     The hand shape. More...
     
    #define GLFW_HRESIZE_CURSOR   0x00036005
     The horizontal resize arrow shape. More...
     
    #define GLFW_VRESIZE_CURSOR   0x00036006
     The vertical resize arrow shape. More...
     
    #define GLFW_CONNECTED   0x00040001
     
    #define GLFW_DISCONNECTED   0x00040002
     
    #define GLFW_DONT_CARE   -1
     
    GLFW version macros
    #define GLFW_VERSION_MAJOR   3
     The major version number of the GLFW library. More...
     
    #define GLFW_VERSION_MINOR   1
     The minor version number of the GLFW library. More...
     
    #define GLFW_VERSION_REVISION   2
     The revision number of the GLFW library. More...
     
    Key and button actions
    #define GLFW_RELEASE   0
     The key or mouse button was released. More...
     
    #define GLFW_PRESS   1
     The key or mouse button was pressed. More...
     
    #define GLFW_REPEAT   2
     The key was held down until it repeated. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Typedefs

    typedef void(* GLFWglproc) (void)
     Client API function pointer type. More...
     
    typedef struct GLFWmonitor GLFWmonitor
     Opaque monitor object. More...
     
    typedef struct GLFWwindow GLFWwindow
     Opaque window object. More...
     
    typedef struct GLFWcursor GLFWcursor
     Opaque cursor object. More...
     
    typedef void(* GLFWerrorfun) (int, const char *)
     The function signature for error callbacks. More...
     
    typedef void(* GLFWwindowposfun) (GLFWwindow *, int, int)
     The function signature for window position callbacks. More...
     
    typedef void(* GLFWwindowsizefun) (GLFWwindow *, int, int)
     The function signature for window resize callbacks. More...
     
    typedef void(* GLFWwindowclosefun) (GLFWwindow *)
     The function signature for window close callbacks. More...
     
    typedef void(* GLFWwindowrefreshfun) (GLFWwindow *)
     The function signature for window content refresh callbacks. More...
     
    typedef void(* GLFWwindowfocusfun) (GLFWwindow *, int)
     The function signature for window focus/defocus callbacks. More...
     
    typedef void(* GLFWwindowiconifyfun) (GLFWwindow *, int)
     The function signature for window iconify/restore callbacks. More...
     
    typedef void(* GLFWframebuffersizefun) (GLFWwindow *, int, int)
     The function signature for framebuffer resize callbacks. More...
     
    typedef void(* GLFWmousebuttonfun) (GLFWwindow *, int, int, int)
     The function signature for mouse button callbacks. More...
     
    typedef void(* GLFWcursorposfun) (GLFWwindow *, double, double)
     The function signature for cursor position callbacks. More...
     
    typedef void(* GLFWcursorenterfun) (GLFWwindow *, int)
     The function signature for cursor enter/leave callbacks. More...
     
    typedef void(* GLFWscrollfun) (GLFWwindow *, double, double)
     The function signature for scroll callbacks. More...
     
    typedef void(* GLFWkeyfun) (GLFWwindow *, int, int, int, int)
     The function signature for keyboard key callbacks. More...
     
    typedef void(* GLFWcharfun) (GLFWwindow *, unsigned int)
     The function signature for Unicode character callbacks. More...
     
    typedef void(* GLFWcharmodsfun) (GLFWwindow *, unsigned int, int)
     The function signature for Unicode character with modifiers callbacks. More...
     
    typedef void(* GLFWdropfun) (GLFWwindow *, int, const char **)
     The function signature for file drop callbacks. More...
     
    typedef void(* GLFWmonitorfun) (GLFWmonitor *, int)
     The function signature for monitor configuration callbacks. More...
     
    typedef struct GLFWvidmode GLFWvidmode
     Video mode type. More...
     
    typedef struct GLFWgammaramp GLFWgammaramp
     Gamma ramp. More...
     
    typedef struct GLFWimage GLFWimage
     Image data. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    int glfwInit (void)
     Initializes the GLFW library. More...
     
    void glfwTerminate (void)
     Terminates the GLFW library. More...
     
    void glfwGetVersion (int *major, int *minor, int *rev)
     Retrieves the version of the GLFW library. More...
     
    const char * glfwGetVersionString (void)
     Returns a string describing the compile-time configuration. More...
     
    GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun cbfun)
     Sets the error callback. More...
     
    GLFWmonitor ** glfwGetMonitors (int *count)
     Returns the currently connected monitors. More...
     
    GLFWmonitorglfwGetPrimaryMonitor (void)
     Returns the primary monitor. More...
     
    void glfwGetMonitorPos (GLFWmonitor *monitor, int *xpos, int *ypos)
     Returns the position of the monitor's viewport on the virtual screen. More...
     
    void glfwGetMonitorPhysicalSize (GLFWmonitor *monitor, int *widthMM, int *heightMM)
     Returns the physical size of the monitor. More...
     
    const char * glfwGetMonitorName (GLFWmonitor *monitor)
     Returns the name of the specified monitor. More...
     
    GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun cbfun)
     Sets the monitor configuration callback. More...
     
    const GLFWvidmodeglfwGetVideoModes (GLFWmonitor *monitor, int *count)
     Returns the available video modes for the specified monitor. More...
     
    const GLFWvidmodeglfwGetVideoMode (GLFWmonitor *monitor)
     Returns the current mode of the specified monitor. More...
     
    void glfwSetGamma (GLFWmonitor *monitor, float gamma)
     Generates a gamma ramp and sets it for the specified monitor. More...
     
    const GLFWgammarampglfwGetGammaRamp (GLFWmonitor *monitor)
     Returns the current gamma ramp for the specified monitor. More...
     
    void glfwSetGammaRamp (GLFWmonitor *monitor, const GLFWgammaramp *ramp)
     Sets the current gamma ramp for the specified monitor. More...
     
    void glfwDefaultWindowHints (void)
     Resets all window hints to their default values. More...
     
    void glfwWindowHint (int target, int hint)
     Sets the specified window hint to the desired value. More...
     
    GLFWwindowglfwCreateWindow (int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
     Creates a window and its associated context. More...
     
    void glfwDestroyWindow (GLFWwindow *window)
     Destroys the specified window and its context. More...
     
    int glfwWindowShouldClose (GLFWwindow *window)
     Checks the close flag of the specified window. More...
     
    void glfwSetWindowShouldClose (GLFWwindow *window, int value)
     Sets the close flag of the specified window. More...
     
    void glfwSetWindowTitle (GLFWwindow *window, const char *title)
     Sets the title of the specified window. More...
     
    void glfwGetWindowPos (GLFWwindow *window, int *xpos, int *ypos)
     Retrieves the position of the client area of the specified window. More...
     
    void glfwSetWindowPos (GLFWwindow *window, int xpos, int ypos)
     Sets the position of the client area of the specified window. More...
     
    void glfwGetWindowSize (GLFWwindow *window, int *width, int *height)
     Retrieves the size of the client area of the specified window. More...
     
    void glfwSetWindowSize (GLFWwindow *window, int width, int height)
     Sets the size of the client area of the specified window. More...
     
    void glfwGetFramebufferSize (GLFWwindow *window, int *width, int *height)
     Retrieves the size of the framebuffer of the specified window. More...
     
    void glfwGetWindowFrameSize (GLFWwindow *window, int *left, int *top, int *right, int *bottom)
     Retrieves the size of the frame of the window. More...
     
    void glfwIconifyWindow (GLFWwindow *window)
     Iconifies the specified window. More...
     
    void glfwRestoreWindow (GLFWwindow *window)
     Restores the specified window. More...
     
    void glfwShowWindow (GLFWwindow *window)
     Makes the specified window visible. More...
     
    void glfwHideWindow (GLFWwindow *window)
     Hides the specified window. More...
     
    GLFWmonitorglfwGetWindowMonitor (GLFWwindow *window)
     Returns the monitor that the window uses for full screen mode. More...
     
    int glfwGetWindowAttrib (GLFWwindow *window, int attrib)
     Returns an attribute of the specified window. More...
     
    void glfwSetWindowUserPointer (GLFWwindow *window, void *pointer)
     Sets the user pointer of the specified window. More...
     
    void * glfwGetWindowUserPointer (GLFWwindow *window)
     Returns the user pointer of the specified window. More...
     
    GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindow *window, GLFWwindowposfun cbfun)
     Sets the position callback for the specified window. More...
     
    GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindow *window, GLFWwindowsizefun cbfun)
     Sets the size callback for the specified window. More...
     
    GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindow *window, GLFWwindowclosefun cbfun)
     Sets the close callback for the specified window. More...
     
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindow *window, GLFWwindowrefreshfun cbfun)
     Sets the refresh callback for the specified window. More...
     
    GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindow *window, GLFWwindowfocusfun cbfun)
     Sets the focus callback for the specified window. More...
     
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindow *window, GLFWwindowiconifyfun cbfun)
     Sets the iconify callback for the specified window. More...
     
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindow *window, GLFWframebuffersizefun cbfun)
     Sets the framebuffer resize callback for the specified window. More...
     
    void glfwPollEvents (void)
     Processes all pending events. More...
     
    void glfwWaitEvents (void)
     Waits until events are queued and processes them. More...
     
    void glfwPostEmptyEvent (void)
     Posts an empty event to the event queue. More...
     
    int glfwGetInputMode (GLFWwindow *window, int mode)
     Returns the value of an input option for the specified window. More...
     
    void glfwSetInputMode (GLFWwindow *window, int mode, int value)
     Sets an input option for the specified window. More...
     
    int glfwGetKey (GLFWwindow *window, int key)
     Returns the last reported state of a keyboard key for the specified window. More...
     
    int glfwGetMouseButton (GLFWwindow *window, int button)
     Returns the last reported state of a mouse button for the specified window. More...
     
    void glfwGetCursorPos (GLFWwindow *window, double *xpos, double *ypos)
     Retrieves the position of the cursor relative to the client area of the window. More...
     
    void glfwSetCursorPos (GLFWwindow *window, double xpos, double ypos)
     Sets the position of the cursor, relative to the client area of the window. More...
     
    GLFWcursorglfwCreateCursor (const GLFWimage *image, int xhot, int yhot)
     Creates a custom cursor. More...
     
    GLFWcursorglfwCreateStandardCursor (int shape)
     Creates a cursor with a standard shape. More...
     
    void glfwDestroyCursor (GLFWcursor *cursor)
     Destroys a cursor. More...
     
    void glfwSetCursor (GLFWwindow *window, GLFWcursor *cursor)
     Sets the cursor for the window. More...
     
    GLFWkeyfun glfwSetKeyCallback (GLFWwindow *window, GLFWkeyfun cbfun)
     Sets the key callback. More...
     
    GLFWcharfun glfwSetCharCallback (GLFWwindow *window, GLFWcharfun cbfun)
     Sets the Unicode character callback. More...
     
    GLFWcharmodsfun glfwSetCharModsCallback (GLFWwindow *window, GLFWcharmodsfun cbfun)
     Sets the Unicode character with modifiers callback. More...
     
    GLFWmousebuttonfun glfwSetMouseButtonCallback (GLFWwindow *window, GLFWmousebuttonfun cbfun)
     Sets the mouse button callback. More...
     
    GLFWcursorposfun glfwSetCursorPosCallback (GLFWwindow *window, GLFWcursorposfun cbfun)
     Sets the cursor position callback. More...
     
    GLFWcursorenterfun glfwSetCursorEnterCallback (GLFWwindow *window, GLFWcursorenterfun cbfun)
     Sets the cursor enter/exit callback. More...
     
    GLFWscrollfun glfwSetScrollCallback (GLFWwindow *window, GLFWscrollfun cbfun)
     Sets the scroll callback. More...
     
    GLFWdropfun glfwSetDropCallback (GLFWwindow *window, GLFWdropfun cbfun)
     Sets the file drop callback. More...
     
    int glfwJoystickPresent (int joy)
     Returns whether the specified joystick is present. More...
     
    const float * glfwGetJoystickAxes (int joy, int *count)
     Returns the values of all axes of the specified joystick. More...
     
    const unsigned char * glfwGetJoystickButtons (int joy, int *count)
     Returns the state of all buttons of the specified joystick. More...
     
    const char * glfwGetJoystickName (int joy)
     Returns the name of the specified joystick. More...
     
    void glfwSetClipboardString (GLFWwindow *window, const char *string)
     Sets the clipboard to the specified string. More...
     
    const char * glfwGetClipboardString (GLFWwindow *window)
     Returns the contents of the clipboard as a string. More...
     
    double glfwGetTime (void)
     Returns the value of the GLFW timer. More...
     
    void glfwSetTime (double time)
     Sets the GLFW timer. More...
     
    void glfwMakeContextCurrent (GLFWwindow *window)
     Makes the context of the specified window current for the calling thread. More...
     
    GLFWwindowglfwGetCurrentContext (void)
     Returns the window whose context is current on the calling thread. More...
     
    void glfwSwapBuffers (GLFWwindow *window)
     Swaps the front and back buffers of the specified window. More...
     
    void glfwSwapInterval (int interval)
     Sets the swap interval for the current context. More...
     
    int glfwExtensionSupported (const char *extension)
     Returns whether the specified extension is available. More...
     
    GLFWglproc glfwGetProcAddress (const char *procname)
     Returns the address of the specified function for the current context. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_ACCUM_ALPHA_BITS

    + +
    +
    + + + + +
    #define GLFW_ACCUM_ALPHA_BITS   0x0002100A
    +
    + +
    +
    + +

    ◆ GLFW_ACCUM_BLUE_BITS

    + +
    +
    + + + + +
    #define GLFW_ACCUM_BLUE_BITS   0x00021009
    +
    + +
    +
    + +

    ◆ GLFW_ACCUM_GREEN_BITS

    + +
    +
    + + + + +
    #define GLFW_ACCUM_GREEN_BITS   0x00021008
    +
    + +
    +
    + +

    ◆ GLFW_ACCUM_RED_BITS

    + +
    +
    + + + + +
    #define GLFW_ACCUM_RED_BITS   0x00021007
    +
    + +
    +
    + +

    ◆ GLFW_ALPHA_BITS

    + +
    +
    + + + + +
    #define GLFW_ALPHA_BITS   0x00021004
    +
    + +
    +
    + +

    ◆ GLFW_ANY_RELEASE_BEHAVIOR

    + +
    +
    + + + + +
    #define GLFW_ANY_RELEASE_BEHAVIOR   0
    +
    + +
    +
    + +

    ◆ GLFW_AUTO_ICONIFY

    + +
    +
    + + + + +
    #define GLFW_AUTO_ICONIFY   0x00020006
    +
    + +
    +
    + +

    ◆ GLFW_AUX_BUFFERS

    + +
    +
    + + + + +
    #define GLFW_AUX_BUFFERS   0x0002100B
    +
    + +
    +
    + +

    ◆ GLFW_BLUE_BITS

    + +
    +
    + + + + +
    #define GLFW_BLUE_BITS   0x00021003
    +
    + +
    +
    + +

    ◆ GLFW_CLIENT_API

    + +
    +
    + + + + +
    #define GLFW_CLIENT_API   0x00022001
    +
    + +
    +
    + +

    ◆ GLFW_CONNECTED

    + +
    +
    + + + + +
    #define GLFW_CONNECTED   0x00040001
    +
    + +
    +
    + +

    ◆ GLFW_CONTEXT_RELEASE_BEHAVIOR

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_RELEASE_BEHAVIOR   0x00022009
    +
    + +
    +
    + +

    ◆ GLFW_CONTEXT_REVISION

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_REVISION   0x00022004
    +
    + +
    +
    + +

    ◆ GLFW_CONTEXT_ROBUSTNESS

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_ROBUSTNESS   0x00022005
    +
    + +
    +
    + +

    ◆ GLFW_CONTEXT_VERSION_MAJOR

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_VERSION_MAJOR   0x00022002
    +
    + +
    +
    + +

    ◆ GLFW_CONTEXT_VERSION_MINOR

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_VERSION_MINOR   0x00022003
    +
    + +
    +
    + +

    ◆ GLFW_CURSOR

    + +
    +
    + + + + +
    #define GLFW_CURSOR   0x00033001
    +
    + +
    +
    + +

    ◆ GLFW_CURSOR_DISABLED

    + +
    +
    + + + + +
    #define GLFW_CURSOR_DISABLED   0x00034003
    +
    + +
    +
    + +

    ◆ GLFW_CURSOR_HIDDEN

    + +
    +
    + + + + +
    #define GLFW_CURSOR_HIDDEN   0x00034002
    +
    + +
    +
    + +

    ◆ GLFW_CURSOR_NORMAL

    + +
    +
    + + + + +
    #define GLFW_CURSOR_NORMAL   0x00034001
    +
    + +
    +
    + +

    ◆ GLFW_DECORATED

    + +
    +
    + + + + +
    #define GLFW_DECORATED   0x00020005
    +
    + +
    +
    + +

    ◆ GLFW_DEPTH_BITS

    + +
    +
    + + + + +
    #define GLFW_DEPTH_BITS   0x00021005
    +
    + +
    +
    + +

    ◆ GLFW_DISCONNECTED

    + +
    +
    + + + + +
    #define GLFW_DISCONNECTED   0x00040002
    +
    + +
    +
    + +

    ◆ GLFW_DONT_CARE

    + +
    +
    + + + + +
    #define GLFW_DONT_CARE   -1
    +
    + +
    +
    + +

    ◆ GLFW_DOUBLEBUFFER

    + +
    +
    + + + + +
    #define GLFW_DOUBLEBUFFER   0x00021010
    +
    + +
    +
    + +

    ◆ GLFW_FLOATING

    + +
    +
    + + + + +
    #define GLFW_FLOATING   0x00020007
    +
    + +
    +
    + +

    ◆ GLFW_FOCUSED

    + +
    +
    + + + + +
    #define GLFW_FOCUSED   0x00020001
    +
    + +
    +
    + +

    ◆ GLFW_GREEN_BITS

    + +
    +
    + + + + +
    #define GLFW_GREEN_BITS   0x00021002
    +
    + +
    +
    + +

    ◆ GLFW_ICONIFIED

    + +
    +
    + + + + +
    #define GLFW_ICONIFIED   0x00020002
    +
    + +
    +
    + +

    ◆ GLFW_LOSE_CONTEXT_ON_RESET

    + +
    +
    + + + + +
    #define GLFW_LOSE_CONTEXT_ON_RESET   0x00031002
    +
    + +
    +
    + +

    ◆ GLFW_NO_RESET_NOTIFICATION

    + +
    +
    + + + + +
    #define GLFW_NO_RESET_NOTIFICATION   0x00031001
    +
    + +
    +
    + +

    ◆ GLFW_NO_ROBUSTNESS

    + +
    +
    + + + + +
    #define GLFW_NO_ROBUSTNESS   0
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_ANY_PROFILE

    + +
    +
    + + + + +
    #define GLFW_OPENGL_ANY_PROFILE   0
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_API

    + +
    +
    + + + + +
    #define GLFW_OPENGL_API   0x00030001
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_COMPAT_PROFILE

    + +
    +
    + + + + +
    #define GLFW_OPENGL_COMPAT_PROFILE   0x00032002
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_CORE_PROFILE

    + +
    +
    + + + + +
    #define GLFW_OPENGL_CORE_PROFILE   0x00032001
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_DEBUG_CONTEXT

    + +
    +
    + + + + +
    #define GLFW_OPENGL_DEBUG_CONTEXT   0x00022007
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_ES_API

    + +
    +
    + + + + +
    #define GLFW_OPENGL_ES_API   0x00030002
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_FORWARD_COMPAT

    + +
    +
    + + + + +
    #define GLFW_OPENGL_FORWARD_COMPAT   0x00022006
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_PROFILE

    + +
    +
    + + + + +
    #define GLFW_OPENGL_PROFILE   0x00022008
    +
    + +
    +
    + +

    ◆ GLFW_RED_BITS

    + +
    +
    + + + + +
    #define GLFW_RED_BITS   0x00021001
    +
    + +
    +
    + +

    ◆ GLFW_REFRESH_RATE

    + +
    +
    + + + + +
    #define GLFW_REFRESH_RATE   0x0002100F
    +
    + +
    +
    + +

    ◆ GLFW_RELEASE_BEHAVIOR_FLUSH

    + +
    +
    + + + + +
    #define GLFW_RELEASE_BEHAVIOR_FLUSH   0x00035001
    +
    + +
    +
    + +

    ◆ GLFW_RELEASE_BEHAVIOR_NONE

    + +
    +
    + + + + +
    #define GLFW_RELEASE_BEHAVIOR_NONE   0x00035002
    +
    + +
    +
    + +

    ◆ GLFW_RESIZABLE

    + +
    +
    + + + + +
    #define GLFW_RESIZABLE   0x00020003
    +
    + +
    +
    + +

    ◆ GLFW_SAMPLES

    + +
    +
    + + + + +
    #define GLFW_SAMPLES   0x0002100D
    +
    + +
    +
    + +

    ◆ GLFW_SRGB_CAPABLE

    + +
    +
    + + + + +
    #define GLFW_SRGB_CAPABLE   0x0002100E
    +
    + +
    +
    + +

    ◆ GLFW_STENCIL_BITS

    + +
    +
    + + + + +
    #define GLFW_STENCIL_BITS   0x00021006
    +
    + +
    +
    + +

    ◆ GLFW_STEREO

    + +
    +
    + + + + +
    #define GLFW_STEREO   0x0002100C
    +
    + +
    +
    + +

    ◆ GLFW_STICKY_KEYS

    + +
    +
    + + + + +
    #define GLFW_STICKY_KEYS   0x00033002
    +
    + +
    +
    + +

    ◆ GLFW_STICKY_MOUSE_BUTTONS

    + +
    +
    + + + + +
    #define GLFW_STICKY_MOUSE_BUTTONS   0x00033003
    +
    + +
    +
    + +

    ◆ GLFW_VISIBLE

    + +
    +
    + + + + +
    #define GLFW_VISIBLE   0x00020004
    +
    + +
    +
    +

    Typedef Documentation

    + +

    ◆ GLFWcursor

    + +
    +
    + + + + +
    typedef struct GLFWcursor GLFWcursor
    +
    +

    Opaque cursor object.

    + +
    +
    + +

    ◆ GLFWimage

    + +
    +
    + + + + +
    typedef struct GLFWimage GLFWimage
    +
    + +
    +
    +
    + + + diff --git a/docs/3.1/glfw3_8h_source.html b/docs/3.1/glfw3_8h_source.html new file mode 100644 index 0000000..f22b67e --- /dev/null +++ b/docs/3.1/glfw3_8h_source.html @@ -0,0 +1,196 @@ + + + + + + +GLFW: glfw3.h Source File + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    glfw3.h
    +
    +
    +Go to the documentation of this file.
    1 /*************************************************************************
    2  * GLFW 3.1 - www.glfw.org
    3  * A library for OpenGL, window and input
    4  *------------------------------------------------------------------------
    5  * Copyright (c) 2002-2006 Marcus Geelnard
    6  * Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
    7  *
    8  * This software is provided 'as-is', without any express or implied
    9  * warranty. In no event will the authors be held liable for any damages
    10  * arising from the use of this software.
    11  *
    12  * Permission is granted to anyone to use this software for any purpose,
    13  * including commercial applications, and to alter it and redistribute it
    14  * freely, subject to the following restrictions:
    15  *
    16  * 1. The origin of this software must not be misrepresented; you must not
    17  * claim that you wrote the original software. If you use this software
    18  * in a product, an acknowledgment in the product documentation would
    19  * be appreciated but is not required.
    20  *
    21  * 2. Altered source versions must be plainly marked as such, and must not
    22  * be misrepresented as being the original software.
    23  *
    24  * 3. This notice may not be removed or altered from any source
    25  * distribution.
    26  *
    27  *************************************************************************/
    28 
    29 #ifndef _glfw3_h_
    30 #define _glfw3_h_
    31 
    32 #ifdef __cplusplus
    33 extern "C" {
    34 #endif
    35 
    36 
    37 /*************************************************************************
    38  * Doxygen documentation
    39  *************************************************************************/
    40 
    70 /*************************************************************************
    71  * Compiler- and platform-specific preprocessor work
    72  *************************************************************************/
    73 
    74 /* If we are we on Windows, we want a single define for it.
    75  */
    76 #if !defined(_WIN32) && (defined(__WIN32__) || defined(WIN32) || defined(__MINGW32__))
    77  #define _WIN32
    78 #endif /* _WIN32 */
    79 
    80 /* It is customary to use APIENTRY for OpenGL function pointer declarations on
    81  * all platforms. Additionally, the Windows OpenGL header needs APIENTRY.
    82  */
    83 #ifndef APIENTRY
    84  #ifdef _WIN32
    85  #define APIENTRY __stdcall
    86  #else
    87  #define APIENTRY
    88  #endif
    89 #endif /* APIENTRY */
    90 
    91 /* Some Windows OpenGL headers need this.
    92  */
    93 #if !defined(WINGDIAPI) && defined(_WIN32)
    94  #define WINGDIAPI __declspec(dllimport)
    95  #define GLFW_WINGDIAPI_DEFINED
    96 #endif /* WINGDIAPI */
    97 
    98 /* Some Windows GLU headers need this.
    99  */
    100 #if !defined(CALLBACK) && defined(_WIN32)
    101  #define CALLBACK __stdcall
    102  #define GLFW_CALLBACK_DEFINED
    103 #endif /* CALLBACK */
    104 
    105 /* Most Windows GLU headers need wchar_t.
    106  * The OS X OpenGL header blocks the definition of ptrdiff_t by glext.h.
    107  */
    108 #if !defined(GLFW_INCLUDE_NONE)
    109  #include <stddef.h>
    110 #endif
    111 
    112 /* Include the chosen client API headers.
    113  */
    114 #if defined(__APPLE_CC__)
    115  #if defined(GLFW_INCLUDE_GLCOREARB)
    116  #include <OpenGL/gl3.h>
    117  #if defined(GLFW_INCLUDE_GLEXT)
    118  #include <OpenGL/gl3ext.h>
    119  #endif
    120  #elif !defined(GLFW_INCLUDE_NONE)
    121  #if !defined(GLFW_INCLUDE_GLEXT)
    122  #define GL_GLEXT_LEGACY
    123  #endif
    124  #include <OpenGL/gl.h>
    125  #endif
    126  #if defined(GLFW_INCLUDE_GLU)
    127  #include <OpenGL/glu.h>
    128  #endif
    129 #else
    130  #if defined(GLFW_INCLUDE_GLCOREARB)
    131  #include <GL/glcorearb.h>
    132  #elif defined(GLFW_INCLUDE_ES1)
    133  #include <GLES/gl.h>
    134  #if defined(GLFW_INCLUDE_GLEXT)
    135  #include <GLES/glext.h>
    136  #endif
    137  #elif defined(GLFW_INCLUDE_ES2)
    138  #include <GLES2/gl2.h>
    139  #if defined(GLFW_INCLUDE_GLEXT)
    140  #include <GLES2/gl2ext.h>
    141  #endif
    142  #elif defined(GLFW_INCLUDE_ES3)
    143  #include <GLES3/gl3.h>
    144  #if defined(GLFW_INCLUDE_GLEXT)
    145  #include <GLES3/gl2ext.h>
    146  #endif
    147  #elif defined(GLFW_INCLUDE_ES31)
    148  #include <GLES3/gl31.h>
    149  #if defined(GLFW_INCLUDE_GLEXT)
    150  #include <GLES3/gl2ext.h>
    151  #endif
    152  #elif !defined(GLFW_INCLUDE_NONE)
    153  #include <GL/gl.h>
    154  #if defined(GLFW_INCLUDE_GLEXT)
    155  #include <GL/glext.h>
    156  #endif
    157  #endif
    158  #if defined(GLFW_INCLUDE_GLU)
    159  #include <GL/glu.h>
    160  #endif
    161 #endif
    162 
    163 #if defined(GLFW_DLL) && defined(_GLFW_BUILD_DLL)
    164  /* GLFW_DLL must be defined by applications that are linking against the DLL
    165  * version of the GLFW library. _GLFW_BUILD_DLL is defined by the GLFW
    166  * configuration header when compiling the DLL version of the library.
    167  */
    168  #error "You may not have both GLFW_DLL and _GLFW_BUILD_DLL defined"
    169 #endif
    170 
    171 /* GLFWAPI is used to declare public API functions for export
    172  * from the DLL / shared library / dynamic library.
    173  */
    174 #if defined(_WIN32) && defined(_GLFW_BUILD_DLL)
    175  /* We are building GLFW as a Win32 DLL */
    176  #define GLFWAPI __declspec(dllexport)
    177 #elif defined(_WIN32) && defined(GLFW_DLL)
    178  /* We are calling GLFW as a Win32 DLL */
    179  #define GLFWAPI __declspec(dllimport)
    180 #elif defined(__GNUC__) && defined(_GLFW_BUILD_DLL)
    181  /* We are building GLFW as a shared / dynamic library */
    182  #define GLFWAPI __attribute__((visibility("default")))
    183 #else
    184  /* We are building or calling GLFW as a static library */
    185  #define GLFWAPI
    186 #endif
    187 
    188 
    189 /*************************************************************************
    190  * GLFW API tokens
    191  *************************************************************************/
    192 
    200 #define GLFW_VERSION_MAJOR 3
    201 
    207 #define GLFW_VERSION_MINOR 1
    208 
    214 #define GLFW_VERSION_REVISION 2
    215 
    225 #define GLFW_RELEASE 0
    226 
    232 #define GLFW_PRESS 1
    233 
    239 #define GLFW_REPEAT 2
    240 
    265 /* The unknown key */
    266 #define GLFW_KEY_UNKNOWN -1
    267 
    268 /* Printable keys */
    269 #define GLFW_KEY_SPACE 32
    270 #define GLFW_KEY_APOSTROPHE 39 /* ' */
    271 #define GLFW_KEY_COMMA 44 /* , */
    272 #define GLFW_KEY_MINUS 45 /* - */
    273 #define GLFW_KEY_PERIOD 46 /* . */
    274 #define GLFW_KEY_SLASH 47 /* / */
    275 #define GLFW_KEY_0 48
    276 #define GLFW_KEY_1 49
    277 #define GLFW_KEY_2 50
    278 #define GLFW_KEY_3 51
    279 #define GLFW_KEY_4 52
    280 #define GLFW_KEY_5 53
    281 #define GLFW_KEY_6 54
    282 #define GLFW_KEY_7 55
    283 #define GLFW_KEY_8 56
    284 #define GLFW_KEY_9 57
    285 #define GLFW_KEY_SEMICOLON 59 /* ; */
    286 #define GLFW_KEY_EQUAL 61 /* = */
    287 #define GLFW_KEY_A 65
    288 #define GLFW_KEY_B 66
    289 #define GLFW_KEY_C 67
    290 #define GLFW_KEY_D 68
    291 #define GLFW_KEY_E 69
    292 #define GLFW_KEY_F 70
    293 #define GLFW_KEY_G 71
    294 #define GLFW_KEY_H 72
    295 #define GLFW_KEY_I 73
    296 #define GLFW_KEY_J 74
    297 #define GLFW_KEY_K 75
    298 #define GLFW_KEY_L 76
    299 #define GLFW_KEY_M 77
    300 #define GLFW_KEY_N 78
    301 #define GLFW_KEY_O 79
    302 #define GLFW_KEY_P 80
    303 #define GLFW_KEY_Q 81
    304 #define GLFW_KEY_R 82
    305 #define GLFW_KEY_S 83
    306 #define GLFW_KEY_T 84
    307 #define GLFW_KEY_U 85
    308 #define GLFW_KEY_V 86
    309 #define GLFW_KEY_W 87
    310 #define GLFW_KEY_X 88
    311 #define GLFW_KEY_Y 89
    312 #define GLFW_KEY_Z 90
    313 #define GLFW_KEY_LEFT_BRACKET 91 /* [ */
    314 #define GLFW_KEY_BACKSLASH 92 /* \ */
    315 #define GLFW_KEY_RIGHT_BRACKET 93 /* ] */
    316 #define GLFW_KEY_GRAVE_ACCENT 96 /* ` */
    317 #define GLFW_KEY_WORLD_1 161 /* non-US #1 */
    318 #define GLFW_KEY_WORLD_2 162 /* non-US #2 */
    319 
    320 /* Function keys */
    321 #define GLFW_KEY_ESCAPE 256
    322 #define GLFW_KEY_ENTER 257
    323 #define GLFW_KEY_TAB 258
    324 #define GLFW_KEY_BACKSPACE 259
    325 #define GLFW_KEY_INSERT 260
    326 #define GLFW_KEY_DELETE 261
    327 #define GLFW_KEY_RIGHT 262
    328 #define GLFW_KEY_LEFT 263
    329 #define GLFW_KEY_DOWN 264
    330 #define GLFW_KEY_UP 265
    331 #define GLFW_KEY_PAGE_UP 266
    332 #define GLFW_KEY_PAGE_DOWN 267
    333 #define GLFW_KEY_HOME 268
    334 #define GLFW_KEY_END 269
    335 #define GLFW_KEY_CAPS_LOCK 280
    336 #define GLFW_KEY_SCROLL_LOCK 281
    337 #define GLFW_KEY_NUM_LOCK 282
    338 #define GLFW_KEY_PRINT_SCREEN 283
    339 #define GLFW_KEY_PAUSE 284
    340 #define GLFW_KEY_F1 290
    341 #define GLFW_KEY_F2 291
    342 #define GLFW_KEY_F3 292
    343 #define GLFW_KEY_F4 293
    344 #define GLFW_KEY_F5 294
    345 #define GLFW_KEY_F6 295
    346 #define GLFW_KEY_F7 296
    347 #define GLFW_KEY_F8 297
    348 #define GLFW_KEY_F9 298
    349 #define GLFW_KEY_F10 299
    350 #define GLFW_KEY_F11 300
    351 #define GLFW_KEY_F12 301
    352 #define GLFW_KEY_F13 302
    353 #define GLFW_KEY_F14 303
    354 #define GLFW_KEY_F15 304
    355 #define GLFW_KEY_F16 305
    356 #define GLFW_KEY_F17 306
    357 #define GLFW_KEY_F18 307
    358 #define GLFW_KEY_F19 308
    359 #define GLFW_KEY_F20 309
    360 #define GLFW_KEY_F21 310
    361 #define GLFW_KEY_F22 311
    362 #define GLFW_KEY_F23 312
    363 #define GLFW_KEY_F24 313
    364 #define GLFW_KEY_F25 314
    365 #define GLFW_KEY_KP_0 320
    366 #define GLFW_KEY_KP_1 321
    367 #define GLFW_KEY_KP_2 322
    368 #define GLFW_KEY_KP_3 323
    369 #define GLFW_KEY_KP_4 324
    370 #define GLFW_KEY_KP_5 325
    371 #define GLFW_KEY_KP_6 326
    372 #define GLFW_KEY_KP_7 327
    373 #define GLFW_KEY_KP_8 328
    374 #define GLFW_KEY_KP_9 329
    375 #define GLFW_KEY_KP_DECIMAL 330
    376 #define GLFW_KEY_KP_DIVIDE 331
    377 #define GLFW_KEY_KP_MULTIPLY 332
    378 #define GLFW_KEY_KP_SUBTRACT 333
    379 #define GLFW_KEY_KP_ADD 334
    380 #define GLFW_KEY_KP_ENTER 335
    381 #define GLFW_KEY_KP_EQUAL 336
    382 #define GLFW_KEY_LEFT_SHIFT 340
    383 #define GLFW_KEY_LEFT_CONTROL 341
    384 #define GLFW_KEY_LEFT_ALT 342
    385 #define GLFW_KEY_LEFT_SUPER 343
    386 #define GLFW_KEY_RIGHT_SHIFT 344
    387 #define GLFW_KEY_RIGHT_CONTROL 345
    388 #define GLFW_KEY_RIGHT_ALT 346
    389 #define GLFW_KEY_RIGHT_SUPER 347
    390 #define GLFW_KEY_MENU 348
    391 #define GLFW_KEY_LAST GLFW_KEY_MENU
    392 
    404 #define GLFW_MOD_SHIFT 0x0001
    405 
    407 #define GLFW_MOD_CONTROL 0x0002
    408 
    410 #define GLFW_MOD_ALT 0x0004
    411 
    413 #define GLFW_MOD_SUPER 0x0008
    414 
    423 #define GLFW_MOUSE_BUTTON_1 0
    424 #define GLFW_MOUSE_BUTTON_2 1
    425 #define GLFW_MOUSE_BUTTON_3 2
    426 #define GLFW_MOUSE_BUTTON_4 3
    427 #define GLFW_MOUSE_BUTTON_5 4
    428 #define GLFW_MOUSE_BUTTON_6 5
    429 #define GLFW_MOUSE_BUTTON_7 6
    430 #define GLFW_MOUSE_BUTTON_8 7
    431 #define GLFW_MOUSE_BUTTON_LAST GLFW_MOUSE_BUTTON_8
    432 #define GLFW_MOUSE_BUTTON_LEFT GLFW_MOUSE_BUTTON_1
    433 #define GLFW_MOUSE_BUTTON_RIGHT GLFW_MOUSE_BUTTON_2
    434 #define GLFW_MOUSE_BUTTON_MIDDLE GLFW_MOUSE_BUTTON_3
    435 
    443 #define GLFW_JOYSTICK_1 0
    444 #define GLFW_JOYSTICK_2 1
    445 #define GLFW_JOYSTICK_3 2
    446 #define GLFW_JOYSTICK_4 3
    447 #define GLFW_JOYSTICK_5 4
    448 #define GLFW_JOYSTICK_6 5
    449 #define GLFW_JOYSTICK_7 6
    450 #define GLFW_JOYSTICK_8 7
    451 #define GLFW_JOYSTICK_9 8
    452 #define GLFW_JOYSTICK_10 9
    453 #define GLFW_JOYSTICK_11 10
    454 #define GLFW_JOYSTICK_12 11
    455 #define GLFW_JOYSTICK_13 12
    456 #define GLFW_JOYSTICK_14 13
    457 #define GLFW_JOYSTICK_15 14
    458 #define GLFW_JOYSTICK_16 15
    459 #define GLFW_JOYSTICK_LAST GLFW_JOYSTICK_16
    460 
    477 #define GLFW_NOT_INITIALIZED 0x00010001
    478 
    488 #define GLFW_NO_CURRENT_CONTEXT 0x00010002
    489 
    498 #define GLFW_INVALID_ENUM 0x00010003
    499 
    510 #define GLFW_INVALID_VALUE 0x00010004
    511 
    519 #define GLFW_OUT_OF_MEMORY 0x00010005
    520 
    539 #define GLFW_API_UNAVAILABLE 0x00010006
    540 
    557 #define GLFW_VERSION_UNAVAILABLE 0x00010007
    558 
    569 #define GLFW_PLATFORM_ERROR 0x00010008
    570 
    589 #define GLFW_FORMAT_UNAVAILABLE 0x00010009
    590 
    592 #define GLFW_FOCUSED 0x00020001
    593 #define GLFW_ICONIFIED 0x00020002
    594 #define GLFW_RESIZABLE 0x00020003
    595 #define GLFW_VISIBLE 0x00020004
    596 #define GLFW_DECORATED 0x00020005
    597 #define GLFW_AUTO_ICONIFY 0x00020006
    598 #define GLFW_FLOATING 0x00020007
    599 
    600 #define GLFW_RED_BITS 0x00021001
    601 #define GLFW_GREEN_BITS 0x00021002
    602 #define GLFW_BLUE_BITS 0x00021003
    603 #define GLFW_ALPHA_BITS 0x00021004
    604 #define GLFW_DEPTH_BITS 0x00021005
    605 #define GLFW_STENCIL_BITS 0x00021006
    606 #define GLFW_ACCUM_RED_BITS 0x00021007
    607 #define GLFW_ACCUM_GREEN_BITS 0x00021008
    608 #define GLFW_ACCUM_BLUE_BITS 0x00021009
    609 #define GLFW_ACCUM_ALPHA_BITS 0x0002100A
    610 #define GLFW_AUX_BUFFERS 0x0002100B
    611 #define GLFW_STEREO 0x0002100C
    612 #define GLFW_SAMPLES 0x0002100D
    613 #define GLFW_SRGB_CAPABLE 0x0002100E
    614 #define GLFW_REFRESH_RATE 0x0002100F
    615 #define GLFW_DOUBLEBUFFER 0x00021010
    616 
    617 #define GLFW_CLIENT_API 0x00022001
    618 #define GLFW_CONTEXT_VERSION_MAJOR 0x00022002
    619 #define GLFW_CONTEXT_VERSION_MINOR 0x00022003
    620 #define GLFW_CONTEXT_REVISION 0x00022004
    621 #define GLFW_CONTEXT_ROBUSTNESS 0x00022005
    622 #define GLFW_OPENGL_FORWARD_COMPAT 0x00022006
    623 #define GLFW_OPENGL_DEBUG_CONTEXT 0x00022007
    624 #define GLFW_OPENGL_PROFILE 0x00022008
    625 #define GLFW_CONTEXT_RELEASE_BEHAVIOR 0x00022009
    626 
    627 #define GLFW_OPENGL_API 0x00030001
    628 #define GLFW_OPENGL_ES_API 0x00030002
    629 
    630 #define GLFW_NO_ROBUSTNESS 0
    631 #define GLFW_NO_RESET_NOTIFICATION 0x00031001
    632 #define GLFW_LOSE_CONTEXT_ON_RESET 0x00031002
    633 
    634 #define GLFW_OPENGL_ANY_PROFILE 0
    635 #define GLFW_OPENGL_CORE_PROFILE 0x00032001
    636 #define GLFW_OPENGL_COMPAT_PROFILE 0x00032002
    637 
    638 #define GLFW_CURSOR 0x00033001
    639 #define GLFW_STICKY_KEYS 0x00033002
    640 #define GLFW_STICKY_MOUSE_BUTTONS 0x00033003
    641 
    642 #define GLFW_CURSOR_NORMAL 0x00034001
    643 #define GLFW_CURSOR_HIDDEN 0x00034002
    644 #define GLFW_CURSOR_DISABLED 0x00034003
    645 
    646 #define GLFW_ANY_RELEASE_BEHAVIOR 0
    647 #define GLFW_RELEASE_BEHAVIOR_FLUSH 0x00035001
    648 #define GLFW_RELEASE_BEHAVIOR_NONE 0x00035002
    649 
    661 #define GLFW_ARROW_CURSOR 0x00036001
    662 
    666 #define GLFW_IBEAM_CURSOR 0x00036002
    667 
    671 #define GLFW_CROSSHAIR_CURSOR 0x00036003
    672 
    676 #define GLFW_HAND_CURSOR 0x00036004
    677 
    681 #define GLFW_HRESIZE_CURSOR 0x00036005
    682 
    686 #define GLFW_VRESIZE_CURSOR 0x00036006
    687 
    689 #define GLFW_CONNECTED 0x00040001
    690 #define GLFW_DISCONNECTED 0x00040002
    691 
    692 #define GLFW_DONT_CARE -1
    693 
    694 
    695 /*************************************************************************
    696  * GLFW API types
    697  *************************************************************************/
    698 
    706 typedef void (*GLFWglproc)(void);
    707 
    714 typedef struct GLFWmonitor GLFWmonitor;
    715 
    722 typedef struct GLFWwindow GLFWwindow;
    723 
    730 typedef struct GLFWcursor GLFWcursor;
    731 
    743 typedef void (* GLFWerrorfun)(int,const char*);
    744 
    759 typedef void (* GLFWwindowposfun)(GLFWwindow*,int,int);
    760 
    773 typedef void (* GLFWwindowsizefun)(GLFWwindow*,int,int);
    774 
    785 typedef void (* GLFWwindowclosefun)(GLFWwindow*);
    786 
    797 typedef void (* GLFWwindowrefreshfun)(GLFWwindow*);
    798 
    811 typedef void (* GLFWwindowfocusfun)(GLFWwindow*,int);
    812 
    826 typedef void (* GLFWwindowiconifyfun)(GLFWwindow*,int);
    827 
    841 typedef void (* GLFWframebuffersizefun)(GLFWwindow*,int,int);
    842 
    858 typedef void (* GLFWmousebuttonfun)(GLFWwindow*,int,int,int);
    859 
    872 typedef void (* GLFWcursorposfun)(GLFWwindow*,double,double);
    873 
    886 typedef void (* GLFWcursorenterfun)(GLFWwindow*,int);
    887 
    900 typedef void (* GLFWscrollfun)(GLFWwindow*,double,double);
    901 
    917 typedef void (* GLFWkeyfun)(GLFWwindow*,int,int,int,int);
    918 
    930 typedef void (* GLFWcharfun)(GLFWwindow*,unsigned int);
    931 
    948 typedef void (* GLFWcharmodsfun)(GLFWwindow*,unsigned int,int);
    949 
    962 typedef void (* GLFWdropfun)(GLFWwindow*,int,const char**);
    963 
    975 typedef void (* GLFWmonitorfun)(GLFWmonitor*,int);
    976 
    983 typedef struct GLFWvidmode
    984 {
    987  int width;
    990  int height;
    993  int redBits;
    999  int blueBits;
    1003 } GLFWvidmode;
    1004 
    1013 typedef struct GLFWgammaramp
    1014 {
    1017  unsigned short* red;
    1020  unsigned short* green;
    1023  unsigned short* blue;
    1026  unsigned int size;
    1027 } GLFWgammaramp;
    1028 
    1031 typedef struct GLFWimage
    1032 {
    1035  int width;
    1038  int height;
    1041  unsigned char* pixels;
    1042 } GLFWimage;
    1043 
    1044 
    1045 /*************************************************************************
    1046  * GLFW API functions
    1047  *************************************************************************/
    1048 
    1080 GLFWAPI int glfwInit(void);
    1081 
    1112 GLFWAPI void glfwTerminate(void);
    1113 
    1139 GLFWAPI void glfwGetVersion(int* major, int* minor, int* rev);
    1140 
    1171 GLFWAPI const char* glfwGetVersionString(void);
    1172 
    1205 
    1233 GLFWAPI GLFWmonitor** glfwGetMonitors(int* count);
    1234 
    1256 GLFWAPI GLFWmonitor* glfwGetPrimaryMonitor(void);
    1257 
    1279 GLFWAPI void glfwGetMonitorPos(GLFWmonitor* monitor, int* xpos, int* ypos);
    1280 
    1312 GLFWAPI void glfwGetMonitorPhysicalSize(GLFWmonitor* monitor, int* widthMM, int* heightMM);
    1313 
    1338 GLFWAPI const char* glfwGetMonitorName(GLFWmonitor* monitor);
    1339 
    1364 
    1396 GLFWAPI const GLFWvidmode* glfwGetVideoModes(GLFWmonitor* monitor, int* count);
    1397 
    1423 GLFWAPI const GLFWvidmode* glfwGetVideoMode(GLFWmonitor* monitor);
    1424 
    1443 GLFWAPI void glfwSetGamma(GLFWmonitor* monitor, float gamma);
    1444 
    1468 GLFWAPI const GLFWgammaramp* glfwGetGammaRamp(GLFWmonitor* monitor);
    1469 
    1496 GLFWAPI void glfwSetGammaRamp(GLFWmonitor* monitor, const GLFWgammaramp* ramp);
    1497 
    1513 GLFWAPI void glfwDefaultWindowHints(void);
    1514 
    1535 GLFWAPI void glfwWindowHint(int target, int hint);
    1536 
    1650 GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height, const char* title, GLFWmonitor* monitor, GLFWwindow* share);
    1651 
    1678 GLFWAPI void glfwDestroyWindow(GLFWwindow* window);
    1679 
    1696 GLFWAPI int glfwWindowShouldClose(GLFWwindow* window);
    1697 
    1716 GLFWAPI void glfwSetWindowShouldClose(GLFWwindow* window, int value);
    1717 
    1741 GLFWAPI void glfwSetWindowTitle(GLFWwindow* window, const char* title);
    1742 
    1767 GLFWAPI void glfwGetWindowPos(GLFWwindow* window, int* xpos, int* ypos);
    1768 
    1798 GLFWAPI void glfwSetWindowPos(GLFWwindow* window, int xpos, int ypos);
    1799 
    1828 GLFWAPI void glfwGetWindowSize(GLFWwindow* window, int* width, int* height);
    1829 
    1860 GLFWAPI void glfwSetWindowSize(GLFWwindow* window, int width, int height);
    1861 
    1887 GLFWAPI void glfwGetFramebufferSize(GLFWwindow* window, int* width, int* height);
    1888 
    1922 GLFWAPI void glfwGetWindowFrameSize(GLFWwindow* window, int* left, int* top, int* right, int* bottom);
    1923 
    1948 GLFWAPI void glfwIconifyWindow(GLFWwindow* window);
    1949 
    1973 GLFWAPI void glfwRestoreWindow(GLFWwindow* window);
    1974 
    1993 GLFWAPI void glfwShowWindow(GLFWwindow* window);
    1994 
    2013 GLFWAPI void glfwHideWindow(GLFWwindow* window);
    2014 
    2033 GLFWAPI GLFWmonitor* glfwGetWindowMonitor(GLFWwindow* window);
    2034 
    2064 GLFWAPI int glfwGetWindowAttrib(GLFWwindow* window, int attrib);
    2065 
    2085 GLFWAPI void glfwSetWindowUserPointer(GLFWwindow* window, void* pointer);
    2086 
    2104 GLFWAPI void* glfwGetWindowUserPointer(GLFWwindow* window);
    2105 
    2128 
    2154 
    2188 
    2218 
    2245 
    2267 
    2289 
    2321 GLFWAPI void glfwPollEvents(void);
    2322 
    2364 GLFWAPI void glfwWaitEvents(void);
    2365 
    2385 GLFWAPI void glfwPostEmptyEvent(void);
    2386 
    2406 GLFWAPI int glfwGetInputMode(GLFWwindow* window, int mode);
    2407 
    2452 GLFWAPI void glfwSetInputMode(GLFWwindow* window, int mode, int value);
    2453 
    2490 GLFWAPI int glfwGetKey(GLFWwindow* window, int key);
    2491 
    2519 GLFWAPI int glfwGetMouseButton(GLFWwindow* window, int button);
    2520 
    2555 GLFWAPI void glfwGetCursorPos(GLFWwindow* window, double* xpos, double* ypos);
    2556 
    2594 GLFWAPI void glfwSetCursorPos(GLFWwindow* window, double xpos, double ypos);
    2595 
    2634 GLFWAPI GLFWcursor* glfwCreateCursor(const GLFWimage* image, int xhot, int yhot);
    2635 
    2659 GLFWAPI GLFWcursor* glfwCreateStandardCursor(int shape);
    2660 
    2682 GLFWAPI void glfwDestroyCursor(GLFWcursor* cursor);
    2683 
    2707 GLFWAPI void glfwSetCursor(GLFWwindow* window, GLFWcursor* cursor);
    2708 
    2751 GLFWAPI GLFWkeyfun glfwSetKeyCallback(GLFWwindow* window, GLFWkeyfun cbfun);
    2752 
    2790 GLFWAPI GLFWcharfun glfwSetCharCallback(GLFWwindow* window, GLFWcharfun cbfun);
    2791 
    2823 
    2854 
    2878 
    2901 
    2927 
    2953 GLFWAPI GLFWdropfun glfwSetDropCallback(GLFWwindow* window, GLFWdropfun cbfun);
    2954 
    2971 GLFWAPI int glfwJoystickPresent(int joy);
    2972 
    2997 GLFWAPI const float* glfwGetJoystickAxes(int joy, int* count);
    2998 
    3026 GLFWAPI const unsigned char* glfwGetJoystickButtons(int joy, int* count);
    3027 
    3052 GLFWAPI const char* glfwGetJoystickName(int joy);
    3053 
    3075 GLFWAPI void glfwSetClipboardString(GLFWwindow* window, const char* string);
    3076 
    3104 GLFWAPI const char* glfwGetClipboardString(GLFWwindow* window);
    3105 
    3128 GLFWAPI double glfwGetTime(void);
    3129 
    3151 GLFWAPI void glfwSetTime(double time);
    3152 
    3179 GLFWAPI void glfwMakeContextCurrent(GLFWwindow* window);
    3180 
    3199 GLFWAPI GLFWwindow* glfwGetCurrentContext(void);
    3200 
    3222 GLFWAPI void glfwSwapBuffers(GLFWwindow* window);
    3223 
    3264 GLFWAPI void glfwSwapInterval(int interval);
    3265 
    3294 GLFWAPI int glfwExtensionSupported(const char* extension);
    3295 
    3331 GLFWAPI GLFWglproc glfwGetProcAddress(const char* procname);
    3332 
    3333 
    3334 /*************************************************************************
    3335  * Global definition cleanup
    3336  *************************************************************************/
    3337 
    3338 /* ------------------- BEGIN SYSTEM/COMPILER SPECIFIC -------------------- */
    3339 
    3340 #ifdef GLFW_WINGDIAPI_DEFINED
    3341  #undef WINGDIAPI
    3342  #undef GLFW_WINGDIAPI_DEFINED
    3343 #endif
    3344 
    3345 #ifdef GLFW_CALLBACK_DEFINED
    3346  #undef CALLBACK
    3347  #undef GLFW_CALLBACK_DEFINED
    3348 #endif
    3349 
    3350 /* -------------------- END SYSTEM/COMPILER SPECIFIC --------------------- */
    3351 
    3352 
    3353 #ifdef __cplusplus
    3354 }
    3355 #endif
    3356 
    3357 #endif /* _glfw3_h_ */
    3358 
    void glfwGetVersion(int *major, int *minor, int *rev)
    Retrieves the version of the GLFW library.
    +
    int redBits
    Definition: glfw3.h:993
    +
    void glfwGetWindowSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the client area of the specified window.
    +
    void(* GLFWwindowiconifyfun)(GLFWwindow *, int)
    The function signature for window iconify/restore callbacks.
    Definition: glfw3.h:826
    +
    int glfwGetInputMode(GLFWwindow *window, int mode)
    Returns the value of an input option for the specified window.
    +
    int height
    Definition: glfw3.h:990
    +
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback(GLFWwindow *window, GLFWwindowrefreshfun cbfun)
    Sets the refresh callback for the specified window.
    +
    GLFWwindowposfun glfwSetWindowPosCallback(GLFWwindow *window, GLFWwindowposfun cbfun)
    Sets the position callback for the specified window.
    +
    void glfwGetWindowPos(GLFWwindow *window, int *xpos, int *ypos)
    Retrieves the position of the client area of the specified window.
    +
    void(* GLFWcharmodsfun)(GLFWwindow *, unsigned int, int)
    The function signature for Unicode character with modifiers callbacks.
    Definition: glfw3.h:948
    +
    int blueBits
    Definition: glfw3.h:999
    +
    unsigned char * pixels
    Definition: glfw3.h:1041
    +
    void(* GLFWmonitorfun)(GLFWmonitor *, int)
    The function signature for monitor configuration callbacks.
    Definition: glfw3.h:975
    +
    void * glfwGetWindowUserPointer(GLFWwindow *window)
    Returns the user pointer of the specified window.
    +
    const GLFWvidmode * glfwGetVideoModes(GLFWmonitor *monitor, int *count)
    Returns the available video modes for the specified monitor.
    +
    const GLFWgammaramp * glfwGetGammaRamp(GLFWmonitor *monitor)
    Returns the current gamma ramp for the specified monitor.
    +
    struct GLFWcursor GLFWcursor
    Opaque cursor object.
    Definition: glfw3.h:730
    +
    void glfwIconifyWindow(GLFWwindow *window)
    Iconifies the specified window.
    +
    GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun cbfun)
    Sets the error callback.
    +
    double glfwGetTime(void)
    Returns the value of the GLFW timer.
    +
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback(GLFWwindow *window, GLFWwindowiconifyfun cbfun)
    Sets the iconify callback for the specified window.
    +
    void glfwSetCursorPos(GLFWwindow *window, double xpos, double ypos)
    Sets the position of the cursor, relative to the client area of the window.
    +
    int width
    Definition: glfw3.h:987
    +
    const char * glfwGetVersionString(void)
    Returns a string describing the compile-time configuration.
    +
    GLFWwindowsizefun glfwSetWindowSizeCallback(GLFWwindow *window, GLFWwindowsizefun cbfun)
    Sets the size callback for the specified window.
    +
    const char * glfwGetJoystickName(int joy)
    Returns the name of the specified joystick.
    +
    void glfwWaitEvents(void)
    Waits until events are queued and processes them.
    +
    int height
    Definition: glfw3.h:1038
    +
    GLFWkeyfun glfwSetKeyCallback(GLFWwindow *window, GLFWkeyfun cbfun)
    Sets the key callback.
    +
    const char * glfwGetClipboardString(GLFWwindow *window)
    Returns the contents of the clipboard as a string.
    +
    void(* GLFWdropfun)(GLFWwindow *, int, const char **)
    The function signature for file drop callbacks.
    Definition: glfw3.h:962
    +
    GLFWglproc glfwGetProcAddress(const char *procname)
    Returns the address of the specified function for the current context.
    +
    void glfwGetCursorPos(GLFWwindow *window, double *xpos, double *ypos)
    Retrieves the position of the cursor relative to the client area of the window.
    +
    void(* GLFWkeyfun)(GLFWwindow *, int, int, int, int)
    The function signature for keyboard key callbacks.
    Definition: glfw3.h:917
    +
    int refreshRate
    Definition: glfw3.h:1002
    +
    unsigned short * red
    Definition: glfw3.h:1017
    +
    void(* GLFWmousebuttonfun)(GLFWwindow *, int, int, int)
    The function signature for mouse button callbacks.
    Definition: glfw3.h:858
    +
    GLFWdropfun glfwSetDropCallback(GLFWwindow *window, GLFWdropfun cbfun)
    Sets the file drop callback.
    +
    void(* GLFWcharfun)(GLFWwindow *, unsigned int)
    The function signature for Unicode character callbacks.
    Definition: glfw3.h:930
    +
    void glfwSetCursor(GLFWwindow *window, GLFWcursor *cursor)
    Sets the cursor for the window.
    +
    const unsigned char * glfwGetJoystickButtons(int joy, int *count)
    Returns the state of all buttons of the specified joystick.
    +
    GLFWmonitor ** glfwGetMonitors(int *count)
    Returns the currently connected monitors.
    +
    void glfwDestroyWindow(GLFWwindow *window)
    Destroys the specified window and its context.
    +
    GLFWcursorposfun glfwSetCursorPosCallback(GLFWwindow *window, GLFWcursorposfun cbfun)
    Sets the cursor position callback.
    +
    unsigned short * green
    Definition: glfw3.h:1020
    +
    GLFWcharfun glfwSetCharCallback(GLFWwindow *window, GLFWcharfun cbfun)
    Sets the Unicode character callback.
    +
    void glfwSetWindowTitle(GLFWwindow *window, const char *title)
    Sets the title of the specified window.
    +
    struct GLFWmonitor GLFWmonitor
    Opaque monitor object.
    Definition: glfw3.h:714
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:722
    +
    void glfwGetMonitorPhysicalSize(GLFWmonitor *monitor, int *widthMM, int *heightMM)
    Returns the physical size of the monitor.
    +
    void glfwShowWindow(GLFWwindow *window)
    Makes the specified window visible.
    +
    void glfwSetWindowSize(GLFWwindow *window, int width, int height)
    Sets the size of the client area of the specified window.
    +
    int greenBits
    Definition: glfw3.h:996
    +
    const float * glfwGetJoystickAxes(int joy, int *count)
    Returns the values of all axes of the specified joystick.
    +
    GLFWcursor * glfwCreateCursor(const GLFWimage *image, int xhot, int yhot)
    Creates a custom cursor.
    +
    void glfwDestroyCursor(GLFWcursor *cursor)
    Destroys a cursor.
    +
    void glfwSwapBuffers(GLFWwindow *window)
    Swaps the front and back buffers of the specified window.
    +
    void glfwSetGamma(GLFWmonitor *monitor, float gamma)
    Generates a gamma ramp and sets it for the specified monitor.
    +
    void glfwSetInputMode(GLFWwindow *window, int mode, int value)
    Sets an input option for the specified window.
    +
    const GLFWvidmode * glfwGetVideoMode(GLFWmonitor *monitor)
    Returns the current mode of the specified monitor.
    +
    void glfwSetClipboardString(GLFWwindow *window, const char *string)
    Sets the clipboard to the specified string.
    +
    void glfwGetWindowFrameSize(GLFWwindow *window, int *left, int *top, int *right, int *bottom)
    Retrieves the size of the frame of the window.
    +
    void(* GLFWcursorposfun)(GLFWwindow *, double, double)
    The function signature for cursor position callbacks.
    Definition: glfw3.h:872
    +
    void glfwRestoreWindow(GLFWwindow *window)
    Restores the specified window.
    +
    int glfwGetMouseButton(GLFWwindow *window, int button)
    Returns the last reported state of a mouse button for the specified window.
    +
    void(* GLFWwindowsizefun)(GLFWwindow *, int, int)
    The function signature for window resize callbacks.
    Definition: glfw3.h:773
    +
    void glfwSetTime(double time)
    Sets the GLFW timer.
    +
    struct GLFWgammaramp GLFWgammaramp
    Gamma ramp.
    +
    GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
    Creates a window and its associated context.
    +
    unsigned int size
    Definition: glfw3.h:1026
    +
    void glfwSetWindowUserPointer(GLFWwindow *window, void *pointer)
    Sets the user pointer of the specified window.
    +
    void glfwSetWindowShouldClose(GLFWwindow *window, int value)
    Sets the close flag of the specified window.
    +
    void glfwPostEmptyEvent(void)
    Posts an empty event to the event queue.
    +
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback(GLFWwindow *window, GLFWframebuffersizefun cbfun)
    Sets the framebuffer resize callback for the specified window.
    +
    void(* GLFWframebuffersizefun)(GLFWwindow *, int, int)
    The function signature for framebuffer resize callbacks.
    Definition: glfw3.h:841
    +
    int glfwJoystickPresent(int joy)
    Returns whether the specified joystick is present.
    +
    void glfwWindowHint(int target, int hint)
    Sets the specified window hint to the desired value.
    +
    void(* GLFWwindowposfun)(GLFWwindow *, int, int)
    The function signature for window position callbacks.
    Definition: glfw3.h:759
    +
    void glfwPollEvents(void)
    Processes all pending events.
    +
    void glfwHideWindow(GLFWwindow *window)
    Hides the specified window.
    +
    GLFWwindow * glfwGetCurrentContext(void)
    Returns the window whose context is current on the calling thread.
    +
    void glfwSetGammaRamp(GLFWmonitor *monitor, const GLFWgammaramp *ramp)
    Sets the current gamma ramp for the specified monitor.
    +
    GLFWcursorenterfun glfwSetCursorEnterCallback(GLFWwindow *window, GLFWcursorenterfun cbfun)
    Sets the cursor enter/exit callback.
    +
    int width
    Definition: glfw3.h:1035
    +
    GLFWmonitor * glfwGetWindowMonitor(GLFWwindow *window)
    Returns the monitor that the window uses for full screen mode.
    +
    GLFWmousebuttonfun glfwSetMouseButtonCallback(GLFWwindow *window, GLFWmousebuttonfun cbfun)
    Sets the mouse button callback.
    +
    GLFWmonitor * glfwGetPrimaryMonitor(void)
    Returns the primary monitor.
    +
    int glfwGetKey(GLFWwindow *window, int key)
    Returns the last reported state of a keyboard key for the specified window.
    +
    void glfwMakeContextCurrent(GLFWwindow *window)
    Makes the context of the specified window current for the calling thread.
    +
    Gamma ramp.
    Definition: glfw3.h:1013
    +
    GLFWwindowclosefun glfwSetWindowCloseCallback(GLFWwindow *window, GLFWwindowclosefun cbfun)
    Sets the close callback for the specified window.
    +
    GLFWscrollfun glfwSetScrollCallback(GLFWwindow *window, GLFWscrollfun cbfun)
    Sets the scroll callback.
    +
    unsigned short * blue
    Definition: glfw3.h:1023
    +
    Video mode type.
    Definition: glfw3.h:983
    +
    void glfwSetWindowPos(GLFWwindow *window, int xpos, int ypos)
    Sets the position of the client area of the specified window.
    +
    int glfwExtensionSupported(const char *extension)
    Returns whether the specified extension is available.
    +
    void glfwGetFramebufferSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the framebuffer of the specified window.
    +
    void(* GLFWwindowclosefun)(GLFWwindow *)
    The function signature for window close callbacks.
    Definition: glfw3.h:785
    +
    GLFWcursor * glfwCreateStandardCursor(int shape)
    Creates a cursor with a standard shape.
    +
    void glfwSwapInterval(int interval)
    Sets the swap interval for the current context.
    +
    GLFWcharmodsfun glfwSetCharModsCallback(GLFWwindow *window, GLFWcharmodsfun cbfun)
    Sets the Unicode character with modifiers callback.
    +
    void(* GLFWcursorenterfun)(GLFWwindow *, int)
    The function signature for cursor enter/leave callbacks.
    Definition: glfw3.h:886
    +
    int glfwInit(void)
    Initializes the GLFW library.
    +
    Image data.
    Definition: glfw3.h:1031
    +
    void(* GLFWscrollfun)(GLFWwindow *, double, double)
    The function signature for scroll callbacks.
    Definition: glfw3.h:900
    +
    void glfwGetMonitorPos(GLFWmonitor *monitor, int *xpos, int *ypos)
    Returns the position of the monitor&#39;s viewport on the virtual screen.
    +
    struct GLFWvidmode GLFWvidmode
    Video mode type.
    +
    void glfwDefaultWindowHints(void)
    Resets all window hints to their default values.
    +
    GLFWwindowfocusfun glfwSetWindowFocusCallback(GLFWwindow *window, GLFWwindowfocusfun cbfun)
    Sets the focus callback for the specified window.
    +
    void glfwTerminate(void)
    Terminates the GLFW library.
    +
    struct GLFWimage GLFWimage
    Image data.
    +
    GLFWmonitorfun glfwSetMonitorCallback(GLFWmonitorfun cbfun)
    Sets the monitor configuration callback.
    +
    void(* GLFWwindowrefreshfun)(GLFWwindow *)
    The function signature for window content refresh callbacks.
    Definition: glfw3.h:797
    +
    void(* GLFWglproc)(void)
    Client API function pointer type.
    Definition: glfw3.h:706
    +
    const char * glfwGetMonitorName(GLFWmonitor *monitor)
    Returns the name of the specified monitor.
    +
    void(* GLFWerrorfun)(int, const char *)
    The function signature for error callbacks.
    Definition: glfw3.h:743
    +
    int glfwWindowShouldClose(GLFWwindow *window)
    Checks the close flag of the specified window.
    +
    int glfwGetWindowAttrib(GLFWwindow *window, int attrib)
    Returns an attribute of the specified window.
    +
    void(* GLFWwindowfocusfun)(GLFWwindow *, int)
    The function signature for window focus/defocus callbacks.
    Definition: glfw3.h:811
    +
    + + + diff --git a/docs/3.1/glfw3native_8h.html b/docs/3.1/glfw3native_8h.html new file mode 100644 index 0000000..b820de2 --- /dev/null +++ b/docs/3.1/glfw3native_8h.html @@ -0,0 +1,130 @@ + + + + + + +GLFW: glfw3native.h File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    + +
    +
    glfw3native.h File Reference
    +
    +
    + +

    Go to the source code of this file.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    const char * glfwGetWin32Adapter (GLFWmonitor *monitor)
     Returns the adapter device name of the specified monitor. More...
     
    const char * glfwGetWin32Monitor (GLFWmonitor *monitor)
     Returns the display device name of the specified monitor. More...
     
    HWND glfwGetWin32Window (GLFWwindow *window)
     Returns the HWND of the specified window. More...
     
    HGLRC glfwGetWGLContext (GLFWwindow *window)
     Returns the HGLRC of the specified window. More...
     
    CGDirectDisplayID glfwGetCocoaMonitor (GLFWmonitor *monitor)
     Returns the CGDirectDisplayID of the specified monitor. More...
     
    id glfwGetCocoaWindow (GLFWwindow *window)
     Returns the NSWindow of the specified window. More...
     
    id glfwGetNSGLContext (GLFWwindow *window)
     Returns the NSOpenGLContext of the specified window. More...
     
    Display * glfwGetX11Display (void)
     Returns the Display used by GLFW. More...
     
    RRCrtc glfwGetX11Adapter (GLFWmonitor *monitor)
     Returns the RRCrtc of the specified monitor. More...
     
    RROutput glfwGetX11Monitor (GLFWmonitor *monitor)
     Returns the RROutput of the specified monitor. More...
     
    Window glfwGetX11Window (GLFWwindow *window)
     Returns the Window of the specified window. More...
     
    GLXContext glfwGetGLXContext (GLFWwindow *window)
     Returns the GLXContext of the specified window. More...
     
    EGLDisplay glfwGetEGLDisplay (void)
     Returns the EGLDisplay used by GLFW. More...
     
    EGLContext glfwGetEGLContext (GLFWwindow *window)
     Returns the EGLContext of the specified window. More...
     
    EGLSurface glfwGetEGLSurface (GLFWwindow *window)
     Returns the EGLSurface of the specified window. More...
     
    +
    + + + diff --git a/docs/3.1/glfw3native_8h_source.html b/docs/3.1/glfw3native_8h_source.html new file mode 100644 index 0000000..b17997e --- /dev/null +++ b/docs/3.1/glfw3native_8h_source.html @@ -0,0 +1,94 @@ + + + + + + +GLFW: glfw3native.h Source File + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    glfw3native.h
    +
    +
    +Go to the documentation of this file.
    1 /*************************************************************************
    2  * GLFW 3.1 - www.glfw.org
    3  * A library for OpenGL, window and input
    4  *------------------------------------------------------------------------
    5  * Copyright (c) 2002-2006 Marcus Geelnard
    6  * Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
    7  *
    8  * This software is provided 'as-is', without any express or implied
    9  * warranty. In no event will the authors be held liable for any damages
    10  * arising from the use of this software.
    11  *
    12  * Permission is granted to anyone to use this software for any purpose,
    13  * including commercial applications, and to alter it and redistribute it
    14  * freely, subject to the following restrictions:
    15  *
    16  * 1. The origin of this software must not be misrepresented; you must not
    17  * claim that you wrote the original software. If you use this software
    18  * in a product, an acknowledgment in the product documentation would
    19  * be appreciated but is not required.
    20  *
    21  * 2. Altered source versions must be plainly marked as such, and must not
    22  * be misrepresented as being the original software.
    23  *
    24  * 3. This notice may not be removed or altered from any source
    25  * distribution.
    26  *
    27  *************************************************************************/
    28 
    29 #ifndef _glfw3_native_h_
    30 #define _glfw3_native_h_
    31 
    32 #ifdef __cplusplus
    33 extern "C" {
    34 #endif
    35 
    36 
    37 /*************************************************************************
    38  * Doxygen documentation
    39  *************************************************************************/
    40 
    69 /*************************************************************************
    70  * System headers and types
    71  *************************************************************************/
    72 
    73 #if defined(GLFW_EXPOSE_NATIVE_WIN32)
    74  // This is a workaround for the fact that glfw3.h needs to export APIENTRY (for
    75  // example to allow applications to correctly declare a GL_ARB_debug_output
    76  // callback) but windows.h assumes no one will define APIENTRY before it does
    77  #undef APIENTRY
    78  #include <windows.h>
    79 #elif defined(GLFW_EXPOSE_NATIVE_COCOA)
    80  #include <ApplicationServices/ApplicationServices.h>
    81  #if defined(__OBJC__)
    82  #import <Cocoa/Cocoa.h>
    83  #else
    84  typedef void* id;
    85  #endif
    86 #elif defined(GLFW_EXPOSE_NATIVE_X11)
    87  #include <X11/Xlib.h>
    88  #include <X11/extensions/Xrandr.h>
    89 #else
    90  #error "No window API selected"
    91 #endif
    92 
    93 #if defined(GLFW_EXPOSE_NATIVE_WGL)
    94  /* WGL is declared by windows.h */
    95 #elif defined(GLFW_EXPOSE_NATIVE_NSGL)
    96  /* NSGL is declared by Cocoa.h */
    97 #elif defined(GLFW_EXPOSE_NATIVE_GLX)
    98  #include <GL/glx.h>
    99 #elif defined(GLFW_EXPOSE_NATIVE_EGL)
    100  #include <EGL/egl.h>
    101 #else
    102  #error "No context API selected"
    103 #endif
    104 
    105 
    106 /*************************************************************************
    107  * Functions
    108  *************************************************************************/
    109 
    110 #if defined(GLFW_EXPOSE_NATIVE_WIN32)
    111 
    125 GLFWAPI const char* glfwGetWin32Adapter(GLFWmonitor* monitor);
    126 
    141 GLFWAPI const char* glfwGetWin32Monitor(GLFWmonitor* monitor);
    142 
    156 GLFWAPI HWND glfwGetWin32Window(GLFWwindow* window);
    157 #endif
    158 
    159 #if defined(GLFW_EXPOSE_NATIVE_WGL)
    160 
    173 GLFWAPI HGLRC glfwGetWGLContext(GLFWwindow* window);
    174 #endif
    175 
    176 #if defined(GLFW_EXPOSE_NATIVE_COCOA)
    177 
    190 GLFWAPI CGDirectDisplayID glfwGetCocoaMonitor(GLFWmonitor* monitor);
    191 
    205 GLFWAPI id glfwGetCocoaWindow(GLFWwindow* window);
    206 #endif
    207 
    208 #if defined(GLFW_EXPOSE_NATIVE_NSGL)
    209 
    222 GLFWAPI id glfwGetNSGLContext(GLFWwindow* window);
    223 #endif
    224 
    225 #if defined(GLFW_EXPOSE_NATIVE_X11)
    226 
    239 GLFWAPI Display* glfwGetX11Display(void);
    240 
    254 GLFWAPI RRCrtc glfwGetX11Adapter(GLFWmonitor* monitor);
    255 
    269 GLFWAPI RROutput glfwGetX11Monitor(GLFWmonitor* monitor);
    270 
    284 GLFWAPI Window glfwGetX11Window(GLFWwindow* window);
    285 #endif
    286 
    287 #if defined(GLFW_EXPOSE_NATIVE_GLX)
    288 
    301 GLFWAPI GLXContext glfwGetGLXContext(GLFWwindow* window);
    302 #endif
    303 
    304 #if defined(GLFW_EXPOSE_NATIVE_EGL)
    305 
    318 GLFWAPI EGLDisplay glfwGetEGLDisplay(void);
    319 
    333 GLFWAPI EGLContext glfwGetEGLContext(GLFWwindow* window);
    334 
    348 GLFWAPI EGLSurface glfwGetEGLSurface(GLFWwindow* window);
    349 #endif
    350 
    351 #ifdef __cplusplus
    352 }
    353 #endif
    354 
    355 #endif /* _glfw3_native_h_ */
    356 
    HGLRC glfwGetWGLContext(GLFWwindow *window)
    Returns the HGLRC of the specified window.
    +
    id glfwGetCocoaWindow(GLFWwindow *window)
    Returns the NSWindow of the specified window.
    +
    EGLSurface glfwGetEGLSurface(GLFWwindow *window)
    Returns the EGLSurface of the specified window.
    +
    const char * glfwGetWin32Monitor(GLFWmonitor *monitor)
    Returns the display device name of the specified monitor.
    +
    CGDirectDisplayID glfwGetCocoaMonitor(GLFWmonitor *monitor)
    Returns the CGDirectDisplayID of the specified monitor.
    +
    RRCrtc glfwGetX11Adapter(GLFWmonitor *monitor)
    Returns the RRCrtc of the specified monitor.
    +
    HWND glfwGetWin32Window(GLFWwindow *window)
    Returns the HWND of the specified window.
    +
    id glfwGetNSGLContext(GLFWwindow *window)
    Returns the NSOpenGLContext of the specified window.
    +
    EGLDisplay glfwGetEGLDisplay(void)
    Returns the EGLDisplay used by GLFW.
    +
    Window glfwGetX11Window(GLFWwindow *window)
    Returns the Window of the specified window.
    +
    struct GLFWmonitor GLFWmonitor
    Opaque monitor object.
    Definition: glfw3.h:714
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:722
    +
    Display * glfwGetX11Display(void)
    Returns the Display used by GLFW.
    +
    GLXContext glfwGetGLXContext(GLFWwindow *window)
    Returns the GLXContext of the specified window.
    +
    EGLContext glfwGetEGLContext(GLFWwindow *window)
    Returns the EGLContext of the specified window.
    +
    const char * glfwGetWin32Adapter(GLFWmonitor *monitor)
    Returns the adapter device name of the specified monitor.
    +
    RROutput glfwGetX11Monitor(GLFWmonitor *monitor)
    Returns the RROutput of the specified monitor.
    +
    + + + diff --git a/docs/3.1/globals.html b/docs/3.1/globals.html new file mode 100644 index 0000000..05ddaac --- /dev/null +++ b/docs/3.1/globals.html @@ -0,0 +1,103 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - a -

    +
    + + + diff --git a/docs/3.1/globals_b.html b/docs/3.1/globals_b.html new file mode 100644 index 0000000..098ba0f --- /dev/null +++ b/docs/3.1/globals_b.html @@ -0,0 +1,76 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - b -

    +
    + + + diff --git a/docs/3.1/globals_c.html b/docs/3.1/globals_c.html new file mode 100644 index 0000000..ddb50a5 --- /dev/null +++ b/docs/3.1/globals_c.html @@ -0,0 +1,118 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - c -

      +
    • GLFW_CLIENT_API +: glfw3.h +
    • +
    • GLFW_CONNECTED +: glfw3.h +
    • +
    • GLFW_CONTEXT_RELEASE_BEHAVIOR +: glfw3.h +
    • +
    • GLFW_CONTEXT_REVISION +: glfw3.h +
    • +
    • GLFW_CONTEXT_ROBUSTNESS +: glfw3.h +
    • +
    • GLFW_CONTEXT_VERSION_MAJOR +: glfw3.h +
    • +
    • GLFW_CONTEXT_VERSION_MINOR +: glfw3.h +
    • +
    • GLFW_CROSSHAIR_CURSOR +: glfw3.h +
    • +
    • GLFW_CURSOR +: glfw3.h +
    • +
    • GLFW_CURSOR_DISABLED +: glfw3.h +
    • +
    • GLFW_CURSOR_HIDDEN +: glfw3.h +
    • +
    • GLFW_CURSOR_NORMAL +: glfw3.h +
    • +
    • glfwCreateCursor() +: glfw3.h +
    • +
    • glfwCreateStandardCursor() +: glfw3.h +
    • +
    • glfwCreateWindow() +: glfw3.h +
    • +
    +
    + + + diff --git a/docs/3.1/globals_d.html b/docs/3.1/globals_d.html new file mode 100644 index 0000000..d11c7d1 --- /dev/null +++ b/docs/3.1/globals_d.html @@ -0,0 +1,97 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - d -

    +
    + + + diff --git a/docs/3.1/globals_defs.html b/docs/3.1/globals_defs.html new file mode 100644 index 0000000..0a21e03 --- /dev/null +++ b/docs/3.1/globals_defs.html @@ -0,0 +1,103 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - a -

    +
    + + + diff --git a/docs/3.1/globals_defs_b.html b/docs/3.1/globals_defs_b.html new file mode 100644 index 0000000..83a3242 --- /dev/null +++ b/docs/3.1/globals_defs_b.html @@ -0,0 +1,76 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - b -

    +
    + + + diff --git a/docs/3.1/globals_defs_c.html b/docs/3.1/globals_defs_c.html new file mode 100644 index 0000000..461fdf3 --- /dev/null +++ b/docs/3.1/globals_defs_c.html @@ -0,0 +1,109 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - c -

      +
    • GLFW_CLIENT_API +: glfw3.h +
    • +
    • GLFW_CONNECTED +: glfw3.h +
    • +
    • GLFW_CONTEXT_RELEASE_BEHAVIOR +: glfw3.h +
    • +
    • GLFW_CONTEXT_REVISION +: glfw3.h +
    • +
    • GLFW_CONTEXT_ROBUSTNESS +: glfw3.h +
    • +
    • GLFW_CONTEXT_VERSION_MAJOR +: glfw3.h +
    • +
    • GLFW_CONTEXT_VERSION_MINOR +: glfw3.h +
    • +
    • GLFW_CROSSHAIR_CURSOR +: glfw3.h +
    • +
    • GLFW_CURSOR +: glfw3.h +
    • +
    • GLFW_CURSOR_DISABLED +: glfw3.h +
    • +
    • GLFW_CURSOR_HIDDEN +: glfw3.h +
    • +
    • GLFW_CURSOR_NORMAL +: glfw3.h +
    • +
    +
    + + + diff --git a/docs/3.1/globals_defs_d.html b/docs/3.1/globals_defs_d.html new file mode 100644 index 0000000..87d64ad --- /dev/null +++ b/docs/3.1/globals_defs_d.html @@ -0,0 +1,88 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - d -

    +
    + + + diff --git a/docs/3.1/globals_defs_f.html b/docs/3.1/globals_defs_f.html new file mode 100644 index 0000000..0ffe21b --- /dev/null +++ b/docs/3.1/globals_defs_f.html @@ -0,0 +1,82 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - f -

    +
    + + + diff --git a/docs/3.1/globals_defs_g.html b/docs/3.1/globals_defs_g.html new file mode 100644 index 0000000..dddab60 --- /dev/null +++ b/docs/3.1/globals_defs_g.html @@ -0,0 +1,76 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - g -

    +
    + + + diff --git a/docs/3.1/globals_defs_h.html b/docs/3.1/globals_defs_h.html new file mode 100644 index 0000000..9d7397a --- /dev/null +++ b/docs/3.1/globals_defs_h.html @@ -0,0 +1,79 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - h -

    +
    + + + diff --git a/docs/3.1/globals_defs_i.html b/docs/3.1/globals_defs_i.html new file mode 100644 index 0000000..69532ff --- /dev/null +++ b/docs/3.1/globals_defs_i.html @@ -0,0 +1,85 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - i -

    +
    + + + diff --git a/docs/3.1/globals_defs_j.html b/docs/3.1/globals_defs_j.html new file mode 100644 index 0000000..6554cdc --- /dev/null +++ b/docs/3.1/globals_defs_j.html @@ -0,0 +1,124 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - j -

    +
    + + + diff --git a/docs/3.1/globals_defs_k.html b/docs/3.1/globals_defs_k.html new file mode 100644 index 0000000..8f1d252 --- /dev/null +++ b/docs/3.1/globals_defs_k.html @@ -0,0 +1,439 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - k -

    +
    + + + diff --git a/docs/3.1/globals_defs_l.html b/docs/3.1/globals_defs_l.html new file mode 100644 index 0000000..b56d41c --- /dev/null +++ b/docs/3.1/globals_defs_l.html @@ -0,0 +1,76 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - l -

      +
    • GLFW_LOSE_CONTEXT_ON_RESET +: glfw3.h +
    • +
    +
    + + + diff --git a/docs/3.1/globals_defs_m.html b/docs/3.1/globals_defs_m.html new file mode 100644 index 0000000..581c93f --- /dev/null +++ b/docs/3.1/globals_defs_m.html @@ -0,0 +1,121 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - m -

    +
    + + + diff --git a/docs/3.1/globals_defs_n.html b/docs/3.1/globals_defs_n.html new file mode 100644 index 0000000..373e1c2 --- /dev/null +++ b/docs/3.1/globals_defs_n.html @@ -0,0 +1,85 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - n -

      +
    • GLFW_NO_CURRENT_CONTEXT +: glfw3.h +
    • +
    • GLFW_NO_RESET_NOTIFICATION +: glfw3.h +
    • +
    • GLFW_NO_ROBUSTNESS +: glfw3.h +
    • +
    • GLFW_NOT_INITIALIZED +: glfw3.h +
    • +
    +
    + + + diff --git a/docs/3.1/globals_defs_o.html b/docs/3.1/globals_defs_o.html new file mode 100644 index 0000000..1c11560 --- /dev/null +++ b/docs/3.1/globals_defs_o.html @@ -0,0 +1,100 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - o -

      +
    • GLFW_OPENGL_ANY_PROFILE +: glfw3.h +
    • +
    • GLFW_OPENGL_API +: glfw3.h +
    • +
    • GLFW_OPENGL_COMPAT_PROFILE +: glfw3.h +
    • +
    • GLFW_OPENGL_CORE_PROFILE +: glfw3.h +
    • +
    • GLFW_OPENGL_DEBUG_CONTEXT +: glfw3.h +
    • +
    • GLFW_OPENGL_ES_API +: glfw3.h +
    • +
    • GLFW_OPENGL_FORWARD_COMPAT +: glfw3.h +
    • +
    • GLFW_OPENGL_PROFILE +: glfw3.h +
    • +
    • GLFW_OUT_OF_MEMORY +: glfw3.h +
    • +
    +
    + + + diff --git a/docs/3.1/globals_defs_p.html b/docs/3.1/globals_defs_p.html new file mode 100644 index 0000000..1e9f684 --- /dev/null +++ b/docs/3.1/globals_defs_p.html @@ -0,0 +1,79 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - p -

    +
    + + + diff --git a/docs/3.1/globals_defs_r.html b/docs/3.1/globals_defs_r.html new file mode 100644 index 0000000..3124cb8 --- /dev/null +++ b/docs/3.1/globals_defs_r.html @@ -0,0 +1,94 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - r -

    +
    + + + diff --git a/docs/3.1/globals_defs_s.html b/docs/3.1/globals_defs_s.html new file mode 100644 index 0000000..e73cdc4 --- /dev/null +++ b/docs/3.1/globals_defs_s.html @@ -0,0 +1,91 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - s -

    +
    + + + diff --git a/docs/3.1/globals_defs_v.html b/docs/3.1/globals_defs_v.html new file mode 100644 index 0000000..a6087d3 --- /dev/null +++ b/docs/3.1/globals_defs_v.html @@ -0,0 +1,91 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - v -

    +
    + + + diff --git a/docs/3.1/globals_e.html b/docs/3.1/globals_e.html new file mode 100644 index 0000000..b669248 --- /dev/null +++ b/docs/3.1/globals_e.html @@ -0,0 +1,76 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - e -

      +
    • glfwExtensionSupported() +: glfw3.h +
    • +
    +
    + + + diff --git a/docs/3.1/globals_f.html b/docs/3.1/globals_f.html new file mode 100644 index 0000000..aae0153 --- /dev/null +++ b/docs/3.1/globals_f.html @@ -0,0 +1,82 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - f -

    +
    + + + diff --git a/docs/3.1/globals_func.html b/docs/3.1/globals_func.html new file mode 100644 index 0000000..56c1995 --- /dev/null +++ b/docs/3.1/globals_func.html @@ -0,0 +1,403 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - c -

      +
    • glfwCreateCursor() +: glfw3.h +
    • +
    • glfwCreateStandardCursor() +: glfw3.h +
    • +
    • glfwCreateWindow() +: glfw3.h +
    • +
    + + +

    - d -

      +
    • glfwDefaultWindowHints() +: glfw3.h +
    • +
    • glfwDestroyCursor() +: glfw3.h +
    • +
    • glfwDestroyWindow() +: glfw3.h +
    • +
    + + +

    - e -

      +
    • glfwExtensionSupported() +: glfw3.h +
    • +
    + + +

    - g -

    + + +

    - h -

    + + +

    - i -

    + + +

    - j -

      +
    • glfwJoystickPresent() +: glfw3.h +
    • +
    + + +

    - m -

      +
    • glfwMakeContextCurrent() +: glfw3.h +
    • +
    + + +

    - p -

    + + +

    - r -

      +
    • glfwRestoreWindow() +: glfw3.h +
    • +
    + + +

    - s -

      +
    • glfwSetCharCallback() +: glfw3.h +
    • +
    • glfwSetCharModsCallback() +: glfw3.h +
    • +
    • glfwSetClipboardString() +: glfw3.h +
    • +
    • glfwSetCursor() +: glfw3.h +
    • +
    • glfwSetCursorEnterCallback() +: glfw3.h +
    • +
    • glfwSetCursorPos() +: glfw3.h +
    • +
    • glfwSetCursorPosCallback() +: glfw3.h +
    • +
    • glfwSetDropCallback() +: glfw3.h +
    • +
    • glfwSetErrorCallback() +: glfw3.h +
    • +
    • glfwSetFramebufferSizeCallback() +: glfw3.h +
    • +
    • glfwSetGamma() +: glfw3.h +
    • +
    • glfwSetGammaRamp() +: glfw3.h +
    • +
    • glfwSetInputMode() +: glfw3.h +
    • +
    • glfwSetKeyCallback() +: glfw3.h +
    • +
    • glfwSetMonitorCallback() +: glfw3.h +
    • +
    • glfwSetMouseButtonCallback() +: glfw3.h +
    • +
    • glfwSetScrollCallback() +: glfw3.h +
    • +
    • glfwSetTime() +: glfw3.h +
    • +
    • glfwSetWindowCloseCallback() +: glfw3.h +
    • +
    • glfwSetWindowFocusCallback() +: glfw3.h +
    • +
    • glfwSetWindowIconifyCallback() +: glfw3.h +
    • +
    • glfwSetWindowPos() +: glfw3.h +
    • +
    • glfwSetWindowPosCallback() +: glfw3.h +
    • +
    • glfwSetWindowRefreshCallback() +: glfw3.h +
    • +
    • glfwSetWindowShouldClose() +: glfw3.h +
    • +
    • glfwSetWindowSize() +: glfw3.h +
    • +
    • glfwSetWindowSizeCallback() +: glfw3.h +
    • +
    • glfwSetWindowTitle() +: glfw3.h +
    • +
    • glfwSetWindowUserPointer() +: glfw3.h +
    • +
    • glfwShowWindow() +: glfw3.h +
    • +
    • glfwSwapBuffers() +: glfw3.h +
    • +
    • glfwSwapInterval() +: glfw3.h +
    • +
    + + +

    - t -

    + + +

    - w -

    +
    + + + diff --git a/docs/3.1/globals_g.html b/docs/3.1/globals_g.html new file mode 100644 index 0000000..2f58ea7 --- /dev/null +++ b/docs/3.1/globals_g.html @@ -0,0 +1,277 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - g -

    +
    + + + diff --git a/docs/3.1/globals_h.html b/docs/3.1/globals_h.html new file mode 100644 index 0000000..b906a02 --- /dev/null +++ b/docs/3.1/globals_h.html @@ -0,0 +1,82 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - h -

    +
    + + + diff --git a/docs/3.1/globals_i.html b/docs/3.1/globals_i.html new file mode 100644 index 0000000..64fcc12 --- /dev/null +++ b/docs/3.1/globals_i.html @@ -0,0 +1,91 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - i -

    +
    + + + diff --git a/docs/3.1/globals_j.html b/docs/3.1/globals_j.html new file mode 100644 index 0000000..303b563 --- /dev/null +++ b/docs/3.1/globals_j.html @@ -0,0 +1,127 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - j -

    +
    + + + diff --git a/docs/3.1/globals_k.html b/docs/3.1/globals_k.html new file mode 100644 index 0000000..7b96318 --- /dev/null +++ b/docs/3.1/globals_k.html @@ -0,0 +1,439 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - k -

    +
    + + + diff --git a/docs/3.1/globals_l.html b/docs/3.1/globals_l.html new file mode 100644 index 0000000..7209ddf --- /dev/null +++ b/docs/3.1/globals_l.html @@ -0,0 +1,76 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - l -

      +
    • GLFW_LOSE_CONTEXT_ON_RESET +: glfw3.h +
    • +
    +
    + + + diff --git a/docs/3.1/globals_m.html b/docs/3.1/globals_m.html new file mode 100644 index 0000000..2d3e58d --- /dev/null +++ b/docs/3.1/globals_m.html @@ -0,0 +1,124 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - m -

    +
    + + + diff --git a/docs/3.1/globals_n.html b/docs/3.1/globals_n.html new file mode 100644 index 0000000..9ace06d --- /dev/null +++ b/docs/3.1/globals_n.html @@ -0,0 +1,85 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - n -

      +
    • GLFW_NO_CURRENT_CONTEXT +: glfw3.h +
    • +
    • GLFW_NO_RESET_NOTIFICATION +: glfw3.h +
    • +
    • GLFW_NO_ROBUSTNESS +: glfw3.h +
    • +
    • GLFW_NOT_INITIALIZED +: glfw3.h +
    • +
    +
    + + + diff --git a/docs/3.1/globals_o.html b/docs/3.1/globals_o.html new file mode 100644 index 0000000..40d2d04 --- /dev/null +++ b/docs/3.1/globals_o.html @@ -0,0 +1,100 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - o -

      +
    • GLFW_OPENGL_ANY_PROFILE +: glfw3.h +
    • +
    • GLFW_OPENGL_API +: glfw3.h +
    • +
    • GLFW_OPENGL_COMPAT_PROFILE +: glfw3.h +
    • +
    • GLFW_OPENGL_CORE_PROFILE +: glfw3.h +
    • +
    • GLFW_OPENGL_DEBUG_CONTEXT +: glfw3.h +
    • +
    • GLFW_OPENGL_ES_API +: glfw3.h +
    • +
    • GLFW_OPENGL_FORWARD_COMPAT +: glfw3.h +
    • +
    • GLFW_OPENGL_PROFILE +: glfw3.h +
    • +
    • GLFW_OUT_OF_MEMORY +: glfw3.h +
    • +
    +
    + + + diff --git a/docs/3.1/globals_p.html b/docs/3.1/globals_p.html new file mode 100644 index 0000000..4d45b0e --- /dev/null +++ b/docs/3.1/globals_p.html @@ -0,0 +1,85 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - p -

    +
    + + + diff --git a/docs/3.1/globals_r.html b/docs/3.1/globals_r.html new file mode 100644 index 0000000..2b6a999 --- /dev/null +++ b/docs/3.1/globals_r.html @@ -0,0 +1,97 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - r -

    +
    + + + diff --git a/docs/3.1/globals_s.html b/docs/3.1/globals_s.html new file mode 100644 index 0000000..c1db601 --- /dev/null +++ b/docs/3.1/globals_s.html @@ -0,0 +1,187 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - s -

      +
    • GLFW_SAMPLES +: glfw3.h +
    • +
    • GLFW_SRGB_CAPABLE +: glfw3.h +
    • +
    • GLFW_STENCIL_BITS +: glfw3.h +
    • +
    • GLFW_STEREO +: glfw3.h +
    • +
    • GLFW_STICKY_KEYS +: glfw3.h +
    • +
    • GLFW_STICKY_MOUSE_BUTTONS +: glfw3.h +
    • +
    • glfwSetCharCallback() +: glfw3.h +
    • +
    • glfwSetCharModsCallback() +: glfw3.h +
    • +
    • glfwSetClipboardString() +: glfw3.h +
    • +
    • glfwSetCursor() +: glfw3.h +
    • +
    • glfwSetCursorEnterCallback() +: glfw3.h +
    • +
    • glfwSetCursorPos() +: glfw3.h +
    • +
    • glfwSetCursorPosCallback() +: glfw3.h +
    • +
    • glfwSetDropCallback() +: glfw3.h +
    • +
    • glfwSetErrorCallback() +: glfw3.h +
    • +
    • glfwSetFramebufferSizeCallback() +: glfw3.h +
    • +
    • glfwSetGamma() +: glfw3.h +
    • +
    • glfwSetGammaRamp() +: glfw3.h +
    • +
    • glfwSetInputMode() +: glfw3.h +
    • +
    • glfwSetKeyCallback() +: glfw3.h +
    • +
    • glfwSetMonitorCallback() +: glfw3.h +
    • +
    • glfwSetMouseButtonCallback() +: glfw3.h +
    • +
    • glfwSetScrollCallback() +: glfw3.h +
    • +
    • glfwSetTime() +: glfw3.h +
    • +
    • glfwSetWindowCloseCallback() +: glfw3.h +
    • +
    • glfwSetWindowFocusCallback() +: glfw3.h +
    • +
    • glfwSetWindowIconifyCallback() +: glfw3.h +
    • +
    • glfwSetWindowPos() +: glfw3.h +
    • +
    • glfwSetWindowPosCallback() +: glfw3.h +
    • +
    • glfwSetWindowRefreshCallback() +: glfw3.h +
    • +
    • glfwSetWindowShouldClose() +: glfw3.h +
    • +
    • glfwSetWindowSize() +: glfw3.h +
    • +
    • glfwSetWindowSizeCallback() +: glfw3.h +
    • +
    • glfwSetWindowTitle() +: glfw3.h +
    • +
    • glfwSetWindowUserPointer() +: glfw3.h +
    • +
    • glfwShowWindow() +: glfw3.h +
    • +
    • glfwSwapBuffers() +: glfw3.h +
    • +
    • glfwSwapInterval() +: glfw3.h +
    • +
    +
    + + + diff --git a/docs/3.1/globals_t.html b/docs/3.1/globals_t.html new file mode 100644 index 0000000..c654634 --- /dev/null +++ b/docs/3.1/globals_t.html @@ -0,0 +1,76 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - t -

    +
    + + + diff --git a/docs/3.1/globals_type.html b/docs/3.1/globals_type.html new file mode 100644 index 0000000..688d12c --- /dev/null +++ b/docs/3.1/globals_type.html @@ -0,0 +1,143 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    + + + diff --git a/docs/3.1/globals_v.html b/docs/3.1/globals_v.html new file mode 100644 index 0000000..a4cabcf --- /dev/null +++ b/docs/3.1/globals_v.html @@ -0,0 +1,91 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - v -

    +
    + + + diff --git a/docs/3.1/globals_w.html b/docs/3.1/globals_w.html new file mode 100644 index 0000000..ae55fd8 --- /dev/null +++ b/docs/3.1/globals_w.html @@ -0,0 +1,82 @@ + + + + + + +GLFW: Globals + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
    + +

    - w -

    +
    + + + diff --git a/docs/3.1/group__buttons.html b/docs/3.1/group__buttons.html new file mode 100644 index 0000000..d5cf34f --- /dev/null +++ b/docs/3.1/group__buttons.html @@ -0,0 +1,274 @@ + + + + + + +GLFW: Mouse buttons + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Mouse buttons
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_MOUSE_BUTTON_1   0
     
    #define GLFW_MOUSE_BUTTON_2   1
     
    #define GLFW_MOUSE_BUTTON_3   2
     
    #define GLFW_MOUSE_BUTTON_4   3
     
    #define GLFW_MOUSE_BUTTON_5   4
     
    #define GLFW_MOUSE_BUTTON_6   5
     
    #define GLFW_MOUSE_BUTTON_7   6
     
    #define GLFW_MOUSE_BUTTON_8   7
     
    #define GLFW_MOUSE_BUTTON_LAST   GLFW_MOUSE_BUTTON_8
     
    #define GLFW_MOUSE_BUTTON_LEFT   GLFW_MOUSE_BUTTON_1
     
    #define GLFW_MOUSE_BUTTON_RIGHT   GLFW_MOUSE_BUTTON_2
     
    #define GLFW_MOUSE_BUTTON_MIDDLE   GLFW_MOUSE_BUTTON_3
     
    +

    Detailed Description

    +

    See mouse button input for how these are used.

    +

    Macro Definition Documentation

    + +

    ◆ GLFW_MOUSE_BUTTON_1

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_1   0
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_2

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_2   1
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_3

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_3   2
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_4

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_4   3
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_5

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_5   4
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_6

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_6   5
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_7

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_7   6
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_8

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_8   7
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_LAST

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_LAST   GLFW_MOUSE_BUTTON_8
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_LEFT

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_LEFT   GLFW_MOUSE_BUTTON_1
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_MIDDLE

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_MIDDLE   GLFW_MOUSE_BUTTON_3
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_RIGHT

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_RIGHT   GLFW_MOUSE_BUTTON_2
    +
    + +
    +
    +
    + + + diff --git a/docs/3.1/group__context.html b/docs/3.1/group__context.html new file mode 100644 index 0000000..8a9ffe2 --- /dev/null +++ b/docs/3.1/group__context.html @@ -0,0 +1,280 @@ + + + + + + +GLFW: Context handling + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Context handling
    +
    +
    + + + + + +

    +Typedefs

    typedef void(* GLFWglproc) (void)
     Client API function pointer type. More...
     
    + + + + + + + + + + + + + + + + +

    +Functions

    void glfwMakeContextCurrent (GLFWwindow *window)
     Makes the context of the specified window current for the calling thread. More...
     
    GLFWwindowglfwGetCurrentContext (void)
     Returns the window whose context is current on the calling thread. More...
     
    void glfwSwapInterval (int interval)
     Sets the swap interval for the current context. More...
     
    int glfwExtensionSupported (const char *extension)
     Returns whether the specified extension is available. More...
     
    GLFWglproc glfwGetProcAddress (const char *procname)
     Returns the address of the specified function for the current context. More...
     
    +

    Detailed Description

    +

    This is the reference documentation for context related functions. For more information, see the Context guide.

    +

    Typedef Documentation

    + +

    ◆ GLFWglproc

    + +
    +
    + + + + +
    typedef void(* GLFWglproc) (void)
    +
    +

    Generic function pointer used for returning client API function pointers without forcing a cast from a regular pointer.

    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwExtensionSupported()

    + +
    +
    + + + + + + + + +
    int glfwExtensionSupported (const char * extension)
    +
    +

    This function returns whether the specified client API extension is supported by the current OpenGL or OpenGL ES context. It searches both for OpenGL and OpenGL ES extension and platform-specific context creation API extensions.

    +

    A context must be current on the calling thread. Calling this function without a current context will cause a GLFW_NO_CURRENT_CONTEXT error.

    +

    As this functions retrieves and searches one or more extension strings each call, it is recommended that you cache its results if it is going to be used frequently. The extension strings will not change during the lifetime of a context, so there is no danger in doing this.

    +
    Parameters
    + + +
    [in]extensionThe ASCII encoded name of the extension.
    +
    +
    +
    Returns
    GL_TRUE if the extension is available, or GL_FALSE otherwise.
    +
    Thread Safety
    This function may be called from any thread.
    +
    See also
    OpenGL and OpenGL ES extensions
    +
    +glfwGetProcAddress
    +
    Since
    Added in GLFW 1.0.
    + +
    +
    + +

    ◆ glfwGetCurrentContext()

    + +
    +
    + + + + + + + + +
    GLFWwindow* glfwGetCurrentContext (void )
    +
    +

    This function returns the window whose OpenGL or OpenGL ES context is current on the calling thread.

    +
    Returns
    The window whose context is current, or NULL if no window's context is current.
    +
    Thread Safety
    This function may be called from any thread.
    +
    See also
    Current context
    +
    +glfwMakeContextCurrent
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetProcAddress()

    + +
    +
    + + + + + + + + +
    GLFWglproc glfwGetProcAddress (const char * procname)
    +
    +

    This function returns the address of the specified core or extension function, if it is supported by the current context.

    +

    A context must be current on the calling thread. Calling this function without a current context will cause a GLFW_NO_CURRENT_CONTEXT error.

    +
    Parameters
    + + +
    [in]procnameThe ASCII encoded name of the function.
    +
    +
    +
    Returns
    The address of the function, or NULL if an [error](Error handling) occurred.
    +
    Remarks
    The address of a given function is not guaranteed to be the same between contexts.
    +
    +This function may return a non-NULL address despite the associated version or extension not being available. Always check the context version or extension string first.
    +
    Pointer Lifetime
    The returned function pointer is valid until the context is destroyed or the library is terminated.
    +
    Thread Safety
    This function may be called from any thread.
    +
    See also
    OpenGL and OpenGL ES extensions
    +
    +glfwExtensionSupported
    +
    Since
    Added in GLFW 1.0.
    + +
    +
    + +

    ◆ glfwMakeContextCurrent()

    + +
    +
    + + + + + + + + +
    void glfwMakeContextCurrent (GLFWwindowwindow)
    +
    +

    This function makes the OpenGL or OpenGL ES context of the specified window current on the calling thread. A context can only be made current on a single thread at a time and each thread can have only a single current context at a time.

    +

    By default, making a context non-current implicitly forces a pipeline flush. On machines that support GL_KHR_context_flush_control, you can control whether a context performs this flush by setting the GLFW_CONTEXT_RELEASE_BEHAVIOR window hint.

    +
    Parameters
    + + +
    [in]windowThe window whose context to make current, or NULL to detach the current context.
    +
    +
    +
    Thread Safety
    This function may be called from any thread.
    +
    See also
    Current context
    +
    +glfwGetCurrentContext
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwSwapInterval()

    + +
    +
    + + + + + + + + +
    void glfwSwapInterval (int interval)
    +
    +

    This function sets the swap interval for the current context, i.e. the number of screen updates to wait from the time glfwSwapBuffers was called before swapping the buffers and returning. This is sometimes called vertical synchronization, vertical retrace synchronization or just vsync.

    +

    Contexts that support either of the WGL_EXT_swap_control_tear and GLX_EXT_swap_control_tear extensions also accept negative swap intervals, which allow the driver to swap even if a frame arrives a little bit late. You can check for the presence of these extensions using glfwExtensionSupported. For more information about swap tearing, see the extension specifications.

    +

    A context must be current on the calling thread. Calling this function without a current context will cause a GLFW_NO_CURRENT_CONTEXT error.

    +
    Parameters
    + + +
    [in]intervalThe minimum number of screen updates to wait for until the buffers are swapped by glfwSwapBuffers.
    +
    +
    +
    Remarks
    This function is not called during context creation, leaving the swap interval set to whatever is the default on that platform. This is done because some swap interval extensions used by GLFW do not allow the swap interval to be reset to zero once it has been set to a non-zero value.
    +
    +Some GPU drivers do not honor the requested swap interval, either because of a user setting that overrides the application's request or due to bugs in the driver.
    +
    Thread Safety
    This function may be called from any thread.
    +
    See also
    Buffer swapping
    +
    +glfwSwapBuffers
    +
    Since
    Added in GLFW 1.0.
    + +
    +
    +
    + + + diff --git a/docs/3.1/group__errors.html b/docs/3.1/group__errors.html new file mode 100644 index 0000000..ff21c53 --- /dev/null +++ b/docs/3.1/group__errors.html @@ -0,0 +1,258 @@ + + + + + + +GLFW: Error codes + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_NOT_INITIALIZED   0x00010001
     GLFW has not been initialized. More...
     
    #define GLFW_NO_CURRENT_CONTEXT   0x00010002
     No context is current for this thread. More...
     
    #define GLFW_INVALID_ENUM   0x00010003
     One of the arguments to the function was an invalid enum value. More...
     
    #define GLFW_INVALID_VALUE   0x00010004
     One of the arguments to the function was an invalid value. More...
     
    #define GLFW_OUT_OF_MEMORY   0x00010005
     A memory allocation failed. More...
     
    #define GLFW_API_UNAVAILABLE   0x00010006
     GLFW could not find support for the requested client API on the system. More...
     
    #define GLFW_VERSION_UNAVAILABLE   0x00010007
     The requested OpenGL or OpenGL ES version is not available. More...
     
    #define GLFW_PLATFORM_ERROR   0x00010008
     A platform-specific error occurred that does not match any of the more specific categories. More...
     
    #define GLFW_FORMAT_UNAVAILABLE   0x00010009
     The requested format is not supported or available. More...
     
    +

    Detailed Description

    +

    See error handling for how these are used.

    +

    Macro Definition Documentation

    + +

    ◆ GLFW_API_UNAVAILABLE

    + +
    +
    + + + + +
    #define GLFW_API_UNAVAILABLE   0x00010006
    +
    +

    GLFW could not find support for the requested client API on the system. If emitted by functions other than glfwCreateWindow, no supported client API was found.

    +
    Analysis
    The installed graphics driver does not support the requested client API, or does not support it via the chosen context creation backend. Below are a few examples.
    +
    Some pre-installed Windows graphics drivers do not support OpenGL. AMD only supports OpenGL ES via EGL, while Nvidia and Intel only support it via a WGL or GLX extension. OS X does not provide OpenGL ES at all. The Mesa EGL, OpenGL and OpenGL ES libraries do not interface with the Nvidia binary driver.
    + +
    +
    + +

    ◆ GLFW_FORMAT_UNAVAILABLE

    + +
    +
    + + + + +
    #define GLFW_FORMAT_UNAVAILABLE   0x00010009
    +
    +

    If emitted during window creation, the requested pixel format is not supported.

    +

    If emitted when querying the clipboard, the contents of the clipboard could not be converted to the requested format.

    +
    Analysis
    If emitted during window creation, one or more hard constraints did not match any of the available pixel formats. If your application is sufficiently flexible, downgrade your requirements and try again. Otherwise, inform the user that their machine does not match your requirements.
    +
    If emitted when querying the clipboard, ignore the error or report it to the user, as appropriate.
    + +
    +
    + +

    ◆ GLFW_INVALID_ENUM

    + +
    +
    + + + + +
    #define GLFW_INVALID_ENUM   0x00010003
    +
    +

    One of the arguments to the function was an invalid enum value, for example requesting GLFW_RED_BITS with glfwGetWindowAttrib.

    +
    Analysis
    Application programmer error. Fix the offending call.
    + +
    +
    + +

    ◆ GLFW_INVALID_VALUE

    + +
    +
    + + + + +
    #define GLFW_INVALID_VALUE   0x00010004
    +
    +

    One of the arguments to the function was an invalid value, for example requesting a non-existent OpenGL or OpenGL ES version like 2.7.

    +

    Requesting a valid but unavailable OpenGL or OpenGL ES version will instead result in a GLFW_VERSION_UNAVAILABLE error.

    +
    Analysis
    Application programmer error. Fix the offending call.
    + +
    +
    + +

    ◆ GLFW_NO_CURRENT_CONTEXT

    + +
    +
    + + + + +
    #define GLFW_NO_CURRENT_CONTEXT   0x00010002
    +
    +

    This occurs if a GLFW function was called that needs and operates on the current OpenGL or OpenGL ES context but no context is current on the calling thread. One such function is glfwSwapInterval.

    +
    Analysis
    Application programmer error. Ensure a context is current before calling functions that require a current context.
    + +
    +
    + +

    ◆ GLFW_NOT_INITIALIZED

    + +
    +
    + + + + +
    #define GLFW_NOT_INITIALIZED   0x00010001
    +
    +

    This occurs if a GLFW function was called that may not be called unless the library is initialized.

    +
    Analysis
    Application programmer error. Initialize GLFW before calling any function that requires initialization.
    + +
    +
    + +

    ◆ GLFW_OUT_OF_MEMORY

    + +
    +
    + + + + +
    #define GLFW_OUT_OF_MEMORY   0x00010005
    +
    +

    A memory allocation failed.

    +
    Analysis
    A bug in GLFW or the underlying operating system. Report the bug to our issue tracker.
    + +
    +
    + +

    ◆ GLFW_PLATFORM_ERROR

    + +
    +
    + + + + +
    #define GLFW_PLATFORM_ERROR   0x00010008
    +
    +

    A platform-specific error occurred that does not match any of the more specific categories.

    +
    Analysis
    A bug or configuration error in GLFW, the underlying operating system or its drivers, or a lack of required resources. Report the issue to our issue tracker.
    + +
    +
    + +

    ◆ GLFW_VERSION_UNAVAILABLE

    + +
    +
    + + + + +
    #define GLFW_VERSION_UNAVAILABLE   0x00010007
    +
    +

    The requested OpenGL or OpenGL ES version (including any requested context or framebuffer hints) is not available on this machine.

    +
    Analysis
    The machine does not support your requirements. If your application is sufficiently flexible, downgrade your requirements and try again. Otherwise, inform the user that their machine does not match your requirements.
    +
    Future invalid OpenGL and OpenGL ES versions, for example OpenGL 4.8 if 5.0 comes out before the 4.x series gets that far, also fail with this error and not GLFW_INVALID_VALUE, because GLFW cannot know what future versions will exist.
    + +
    +
    +
    + + + diff --git a/docs/3.1/group__init.html b/docs/3.1/group__init.html new file mode 100644 index 0000000..39a8ebd --- /dev/null +++ b/docs/3.1/group__init.html @@ -0,0 +1,360 @@ + + + + + + +GLFW: Initialization, version and errors + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Initialization, version and errors
    +
    +
    + + + + +

    +Modules

     Error codes
     
    + + + + +

    +Typedefs

    typedef void(* GLFWerrorfun) (int, const char *)
     The function signature for error callbacks. More...
     
    + + + + + + + + + + + + + + + + +

    +Functions

    int glfwInit (void)
     Initializes the GLFW library. More...
     
    void glfwTerminate (void)
     Terminates the GLFW library. More...
     
    void glfwGetVersion (int *major, int *minor, int *rev)
     Retrieves the version of the GLFW library. More...
     
    const char * glfwGetVersionString (void)
     Returns a string describing the compile-time configuration. More...
     
    GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun cbfun)
     Sets the error callback. More...
     
    + + + + + + + + + + +

    +GLFW version macros

    #define GLFW_VERSION_MAJOR   3
     The major version number of the GLFW library. More...
     
    #define GLFW_VERSION_MINOR   1
     The minor version number of the GLFW library. More...
     
    #define GLFW_VERSION_REVISION   2
     The revision number of the GLFW library. More...
     
    +

    Detailed Description

    +

    This is the reference documentation for initialization and termination of the library, version management and error handling. For more information, see the Introduction to the API.

    +

    Macro Definition Documentation

    + +

    ◆ GLFW_VERSION_MAJOR

    + +
    +
    + + + + +
    #define GLFW_VERSION_MAJOR   3
    +
    +

    This is incremented when the API is changed in non-compatible ways.

    + +
    +
    + +

    ◆ GLFW_VERSION_MINOR

    + +
    +
    + + + + +
    #define GLFW_VERSION_MINOR   1
    +
    +

    This is incremented when features are added to the API but it remains backward-compatible.

    + +
    +
    + +

    ◆ GLFW_VERSION_REVISION

    + +
    +
    + + + + +
    #define GLFW_VERSION_REVISION   2
    +
    +

    This is incremented when a bug fix release is made that does not contain any API changes.

    + +
    +
    +

    Typedef Documentation

    + +

    ◆ GLFWerrorfun

    + +
    +
    + + + + +
    typedef void(* GLFWerrorfun) (int, const char *)
    +
    +

    This is the function signature for error callback functions.

    +
    Parameters
    + + + +
    [in]errorAn error code.
    [in]descriptionA UTF-8 encoded string describing the error.
    +
    +
    +
    See also
    glfwSetErrorCallback
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwGetVersion()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetVersion (int * major,
    int * minor,
    int * rev 
    )
    +
    +

    This function retrieves the major, minor and revision numbers of the GLFW library. It is intended for when you are using GLFW as a shared library and want to ensure that you are using the minimum required version.

    +

    Any or all of the version arguments may be NULL. This function always succeeds.

    +
    Parameters
    + + + + +
    [out]majorWhere to store the major version number, or NULL.
    [out]minorWhere to store the minor version number, or NULL.
    [out]revWhere to store the revision number, or NULL.
    +
    +
    +
    Remarks
    This function may be called before glfwInit.
    +
    Thread Safety
    This function may be called from any thread.
    +
    See also
    Version management
    +
    +glfwGetVersionString
    +
    Since
    Added in GLFW 1.0.
    + +
    +
    + +

    ◆ glfwGetVersionString()

    + +
    +
    + + + + + + + + +
    const char* glfwGetVersionString (void )
    +
    +

    This function returns the compile-time generated version string of the GLFW library binary. It describes the version, platform, compiler and any platform-specific compile-time options.

    +

    Do not use the version string to parse the GLFW library version. The glfwGetVersion function already provides the version of the running library binary.

    +

    This function always succeeds.

    +
    Returns
    The GLFW version string.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Pointer Lifetime
    The returned string is static and compile-time generated.
    +
    Thread Safety
    This function may be called from any thread.
    +
    See also
    Version management
    +
    +glfwGetVersion
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwInit()

    + +
    +
    + + + + + + + + +
    int glfwInit (void )
    +
    +

    This function initializes the GLFW library. Before most GLFW functions can be used, GLFW must be initialized, and before an application terminates GLFW should be terminated in order to free any resources allocated during or after initialization.

    +

    If this function fails, it calls glfwTerminate before returning. If it succeeds, you should call glfwTerminate before the application exits.

    +

    Additional calls to this function after successful initialization but before termination will return GL_TRUE immediately.

    +
    Returns
    GL_TRUE if successful, or GL_FALSE if an error occurred.
    +
    Remarks
    OS X: This function will change the current directory of the application to the Contents/Resources subdirectory of the application's bundle, if present. This can be disabled with a compile-time option.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Initialization and termination
    +
    +glfwTerminate
    +
    Since
    Added in GLFW 1.0.
    + +
    +
    + +

    ◆ glfwSetErrorCallback()

    + +
    +
    + + + + + + + + +
    GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun cbfun)
    +
    +

    This function sets the error callback, which is called with an error code and a human-readable description each time a GLFW error occurs.

    +

    The error callback is called on the thread where the error occurred. If you are using GLFW from multiple threads, your error callback needs to be written accordingly.

    +

    Because the description string may have been generated specifically for that error, it is not guaranteed to be valid after the callback has returned. If you wish to use it after the callback returns, you need to make a copy.

    +

    Once set, the error callback remains set even after the library has been terminated.

    +
    Parameters
    + + +
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Error handling
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwTerminate()

    + +
    +
    + + + + + + + + +
    void glfwTerminate (void )
    +
    +

    This function destroys all remaining windows and cursors, restores any modified gamma ramps and frees any other allocated resources. Once this function is called, you must again call glfwInit successfully before you will be able to use most GLFW functions.

    +

    If GLFW has been successfully initialized, this function should be called before the application exits. If initialization fails, there is no need to call this function, as it is called by glfwInit before it returns failure.

    +
    Remarks
    This function may be called before glfwInit.
    +
    Warning
    No window's context may be current on another thread when this function is called.
    +
    Reentrancy
    This function may not be called from a callback.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Initialization and termination
    +
    +glfwInit
    +
    Since
    Added in GLFW 1.0.
    + +
    +
    +
    + + + diff --git a/docs/3.1/group__input.html b/docs/3.1/group__input.html new file mode 100644 index 0000000..4263e8f --- /dev/null +++ b/docs/3.1/group__input.html @@ -0,0 +1,1494 @@ + + + + + + +GLFW: Input handling + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Input handling
    +
    +
    + + + + + + + + + + + + +

    +Modules

     Joysticks
     
     Keyboard keys
     
     Modifier key flags
     
     Mouse buttons
     
     Standard cursor shapes
     
    + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Typedefs

    typedef void(* GLFWmousebuttonfun) (GLFWwindow *, int, int, int)
     The function signature for mouse button callbacks. More...
     
    typedef void(* GLFWcursorposfun) (GLFWwindow *, double, double)
     The function signature for cursor position callbacks. More...
     
    typedef void(* GLFWcursorenterfun) (GLFWwindow *, int)
     The function signature for cursor enter/leave callbacks. More...
     
    typedef void(* GLFWscrollfun) (GLFWwindow *, double, double)
     The function signature for scroll callbacks. More...
     
    typedef void(* GLFWkeyfun) (GLFWwindow *, int, int, int, int)
     The function signature for keyboard key callbacks. More...
     
    typedef void(* GLFWcharfun) (GLFWwindow *, unsigned int)
     The function signature for Unicode character callbacks. More...
     
    typedef void(* GLFWcharmodsfun) (GLFWwindow *, unsigned int, int)
     The function signature for Unicode character with modifiers callbacks. More...
     
    typedef void(* GLFWdropfun) (GLFWwindow *, int, const char **)
     The function signature for file drop callbacks. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    int glfwGetInputMode (GLFWwindow *window, int mode)
     Returns the value of an input option for the specified window. More...
     
    void glfwSetInputMode (GLFWwindow *window, int mode, int value)
     Sets an input option for the specified window. More...
     
    int glfwGetKey (GLFWwindow *window, int key)
     Returns the last reported state of a keyboard key for the specified window. More...
     
    int glfwGetMouseButton (GLFWwindow *window, int button)
     Returns the last reported state of a mouse button for the specified window. More...
     
    void glfwGetCursorPos (GLFWwindow *window, double *xpos, double *ypos)
     Retrieves the position of the cursor relative to the client area of the window. More...
     
    void glfwSetCursorPos (GLFWwindow *window, double xpos, double ypos)
     Sets the position of the cursor, relative to the client area of the window. More...
     
    GLFWcursorglfwCreateCursor (const GLFWimage *image, int xhot, int yhot)
     Creates a custom cursor. More...
     
    GLFWcursorglfwCreateStandardCursor (int shape)
     Creates a cursor with a standard shape. More...
     
    void glfwDestroyCursor (GLFWcursor *cursor)
     Destroys a cursor. More...
     
    void glfwSetCursor (GLFWwindow *window, GLFWcursor *cursor)
     Sets the cursor for the window. More...
     
    GLFWkeyfun glfwSetKeyCallback (GLFWwindow *window, GLFWkeyfun cbfun)
     Sets the key callback. More...
     
    GLFWcharfun glfwSetCharCallback (GLFWwindow *window, GLFWcharfun cbfun)
     Sets the Unicode character callback. More...
     
    GLFWcharmodsfun glfwSetCharModsCallback (GLFWwindow *window, GLFWcharmodsfun cbfun)
     Sets the Unicode character with modifiers callback. More...
     
    GLFWmousebuttonfun glfwSetMouseButtonCallback (GLFWwindow *window, GLFWmousebuttonfun cbfun)
     Sets the mouse button callback. More...
     
    GLFWcursorposfun glfwSetCursorPosCallback (GLFWwindow *window, GLFWcursorposfun cbfun)
     Sets the cursor position callback. More...
     
    GLFWcursorenterfun glfwSetCursorEnterCallback (GLFWwindow *window, GLFWcursorenterfun cbfun)
     Sets the cursor enter/exit callback. More...
     
    GLFWscrollfun glfwSetScrollCallback (GLFWwindow *window, GLFWscrollfun cbfun)
     Sets the scroll callback. More...
     
    GLFWdropfun glfwSetDropCallback (GLFWwindow *window, GLFWdropfun cbfun)
     Sets the file drop callback. More...
     
    int glfwJoystickPresent (int joy)
     Returns whether the specified joystick is present. More...
     
    const float * glfwGetJoystickAxes (int joy, int *count)
     Returns the values of all axes of the specified joystick. More...
     
    const unsigned char * glfwGetJoystickButtons (int joy, int *count)
     Returns the state of all buttons of the specified joystick. More...
     
    const char * glfwGetJoystickName (int joy)
     Returns the name of the specified joystick. More...
     
    void glfwSetClipboardString (GLFWwindow *window, const char *string)
     Sets the clipboard to the specified string. More...
     
    const char * glfwGetClipboardString (GLFWwindow *window)
     Returns the contents of the clipboard as a string. More...
     
    double glfwGetTime (void)
     Returns the value of the GLFW timer. More...
     
    void glfwSetTime (double time)
     Sets the GLFW timer. More...
     
    + + + + + + + + + + +

    +Key and button actions

    #define GLFW_RELEASE   0
     The key or mouse button was released. More...
     
    #define GLFW_PRESS   1
     The key or mouse button was pressed. More...
     
    #define GLFW_REPEAT   2
     The key was held down until it repeated. More...
     
    +

    Detailed Description

    +

    This is the reference documentation for input related functions and types. For more information, see the Input guide.

    +

    Macro Definition Documentation

    + +

    ◆ GLFW_PRESS

    + +
    +
    + + + + +
    #define GLFW_PRESS   1
    +
    +

    The key or mouse button was pressed.

    + +
    +
    + +

    ◆ GLFW_RELEASE

    + +
    +
    + + + + +
    #define GLFW_RELEASE   0
    +
    +

    The key or mouse button was released.

    + +
    +
    + +

    ◆ GLFW_REPEAT

    + +
    +
    + + + + +
    #define GLFW_REPEAT   2
    +
    +

    The key was held down until it repeated.

    + +
    +
    +

    Typedef Documentation

    + +

    ◆ GLFWcharfun

    + +
    +
    + + + + +
    typedef void(* GLFWcharfun) (GLFWwindow *, unsigned int)
    +
    +

    This is the function signature for Unicode character callback functions.

    +
    Parameters
    + + + +
    [in]windowThe window that received the event.
    [in]codepointThe Unicode code point of the character.
    +
    +
    +
    See also
    glfwSetCharCallback
    + +
    +
    + +

    ◆ GLFWcharmodsfun

    + +
    +
    + + + + +
    typedef void(* GLFWcharmodsfun) (GLFWwindow *, unsigned int, int)
    +
    +

    This is the function signature for Unicode character with modifiers callback functions. It is called for each input character, regardless of what modifier keys are held down.

    +
    Parameters
    + + + + +
    [in]windowThe window that received the event.
    [in]codepointThe Unicode code point of the character.
    [in]modsBit field describing which modifier keys were held down.
    +
    +
    +
    See also
    glfwSetCharModsCallback
    + +
    +
    + +

    ◆ GLFWcursorenterfun

    + +
    +
    + + + + +
    typedef void(* GLFWcursorenterfun) (GLFWwindow *, int)
    +
    +

    This is the function signature for cursor enter/leave callback functions.

    +
    Parameters
    + + + +
    [in]windowThe window that received the event.
    [in]enteredGL_TRUE if the cursor entered the window's client area, or GL_FALSE if it left it.
    +
    +
    +
    See also
    glfwSetCursorEnterCallback
    + +
    +
    + +

    ◆ GLFWcursorposfun

    + +
    +
    + + + + +
    typedef void(* GLFWcursorposfun) (GLFWwindow *, double, double)
    +
    +

    This is the function signature for cursor position callback functions.

    +
    Parameters
    + + + + +
    [in]windowThe window that received the event.
    [in]xposThe new x-coordinate, in screen coordinates, of the cursor.
    [in]yposThe new y-coordinate, in screen coordinates, of the cursor.
    +
    +
    +
    See also
    glfwSetCursorPosCallback
    + +
    +
    + +

    ◆ GLFWdropfun

    + +
    +
    + + + + +
    typedef void(* GLFWdropfun) (GLFWwindow *, int, const char **)
    +
    +

    This is the function signature for file drop callbacks.

    +
    Parameters
    + + + + +
    [in]windowThe window that received the event.
    [in]countThe number of dropped files.
    [in]pathsThe UTF-8 encoded file and/or directory path names.
    +
    +
    +
    See also
    glfwSetDropCallback
    + +
    +
    + +

    ◆ GLFWkeyfun

    + +
    +
    + + + + +
    typedef void(* GLFWkeyfun) (GLFWwindow *, int, int, int, int)
    +
    +

    This is the function signature for keyboard key callback functions.

    +
    Parameters
    + + + + + + +
    [in]windowThe window that received the event.
    [in]keyThe keyboard key that was pressed or released.
    [in]scancodeThe system-specific scancode of the key.
    [in]actionGLFW_PRESS, GLFW_RELEASE or GLFW_REPEAT.
    [in]modsBit field describing which modifier keys were held down.
    +
    +
    +
    See also
    glfwSetKeyCallback
    + +
    +
    + +

    ◆ GLFWmousebuttonfun

    + +
    +
    + + + + +
    typedef void(* GLFWmousebuttonfun) (GLFWwindow *, int, int, int)
    +
    +

    This is the function signature for mouse button callback functions.

    +
    Parameters
    + + + + + +
    [in]windowThe window that received the event.
    [in]buttonThe mouse button that was pressed or released.
    [in]actionOne of GLFW_PRESS or GLFW_RELEASE.
    [in]modsBit field describing which modifier keys were held down.
    +
    +
    +
    See also
    glfwSetMouseButtonCallback
    + +
    +
    + +

    ◆ GLFWscrollfun

    + +
    +
    + + + + +
    typedef void(* GLFWscrollfun) (GLFWwindow *, double, double)
    +
    +

    This is the function signature for scroll callback functions.

    +
    Parameters
    + + + + +
    [in]windowThe window that received the event.
    [in]xoffsetThe scroll offset along the x-axis.
    [in]yoffsetThe scroll offset along the y-axis.
    +
    +
    +
    See also
    glfwSetScrollCallback
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwCreateCursor()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFWcursor* glfwCreateCursor (const GLFWimageimage,
    int xhot,
    int yhot 
    )
    +
    +

    Creates a new custom cursor image that can be set for a window with glfwSetCursor. The cursor can be destroyed with glfwDestroyCursor. Any remaining cursors are destroyed by glfwTerminate.

    +

    The pixels are 32-bit, little-endian, non-premultiplied RGBA, i.e. eight bits per channel. They are arranged canonically as packed sequential rows, starting from the top-left corner.

    +

    The cursor hotspot is specified in pixels, relative to the upper-left corner of the cursor image. Like all other coordinate systems in GLFW, the X-axis points to the right and the Y-axis points down.

    +
    Parameters
    + + + + +
    [in]imageThe desired cursor image.
    [in]xhotThe desired x-coordinate, in pixels, of the cursor hotspot.
    [in]yhotThe desired y-coordinate, in pixels, of the cursor hotspot.
    +
    +
    +
    Returns
    The handle of the created cursor, or NULL if an error occurred.
    +
    Pointer Lifetime
    The specified image data is copied before this function returns.
    +
    Reentrancy
    This function may not be called from a callback.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Cursor objects
    +
    +glfwDestroyCursor
    +
    +glfwCreateStandardCursor
    +
    Since
    Added in GLFW 3.1.
    + +
    +
    + +

    ◆ glfwCreateStandardCursor()

    + +
    +
    + + + + + + + + +
    GLFWcursor* glfwCreateStandardCursor (int shape)
    +
    +

    Returns a cursor with a standard shape, that can be set for a window with glfwSetCursor.

    +
    Parameters
    + + +
    [in]shapeOne of the standard shapes.
    +
    +
    +
    Returns
    A new cursor ready to use or NULL if an error occurred.
    +
    Reentrancy
    This function may not be called from a callback.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Cursor objects
    +
    +glfwCreateCursor
    +
    Since
    Added in GLFW 3.1.
    + +
    +
    + +

    ◆ glfwDestroyCursor()

    + +
    +
    + + + + + + + + +
    void glfwDestroyCursor (GLFWcursorcursor)
    +
    +

    This function destroys a cursor previously created with glfwCreateCursor. Any remaining cursors will be destroyed by glfwTerminate.

    +
    Parameters
    + + +
    [in]cursorThe cursor object to destroy.
    +
    +
    +
    Reentrancy
    This function may not be called from a callback.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Cursor objects
    +
    +glfwCreateCursor
    +
    Since
    Added in GLFW 3.1.
    + +
    +
    + +

    ◆ glfwGetClipboardString()

    + +
    +
    + + + + + + + + +
    const char* glfwGetClipboardString (GLFWwindowwindow)
    +
    +

    This function returns the contents of the system clipboard, if it contains or is convertible to a UTF-8 encoded string. If the clipboard is empty or if its contents cannot be converted, NULL is returned and a GLFW_FORMAT_UNAVAILABLE error is generated.

    +
    Parameters
    + + +
    [in]windowThe window that will request the clipboard contents.
    +
    +
    +
    Returns
    The contents of the clipboard as a UTF-8 encoded string, or NULL if an error occurred.
    +
    Pointer Lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the next call to glfwGetClipboardString or glfwSetClipboardString, or until the library is terminated.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Clipboard input and output
    +
    +glfwSetClipboardString
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetCursorPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetCursorPos (GLFWwindowwindow,
    double * xpos,
    double * ypos 
    )
    +
    +

    This function returns the position of the cursor, in screen coordinates, relative to the upper-left corner of the client area of the specified window.

    +

    If the cursor is disabled (with GLFW_CURSOR_DISABLED) then the cursor position is unbounded and limited only by the minimum and maximum values of a double.

    +

    The coordinate can be converted to their integer equivalents with the floor function. Casting directly to an integer type works for positive coordinates, but fails for negative ones.

    +

    Any or all of the position arguments may be NULL. If an error occurs, all non-NULL position arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]windowThe desired window.
    [out]xposWhere to store the cursor x-coordinate, relative to the left edge of the client area, or NULL.
    [out]yposWhere to store the cursor y-coordinate, relative to the to top edge of the client area, or NULL.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Cursor position
    +
    +glfwSetCursorPos
    +
    Since
    Added in GLFW 3.0. Replaces glfwGetMousePos.
    + +
    +
    + +

    ◆ glfwGetInputMode()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetInputMode (GLFWwindowwindow,
    int mode 
    )
    +
    +

    This function returns the value of an input option for the specified window. The mode must be one of GLFW_CURSOR, GLFW_STICKY_KEYS or GLFW_STICKY_MOUSE_BUTTONS.

    +
    Parameters
    + + + +
    [in]windowThe window to query.
    [in]modeOne of GLFW_CURSOR, GLFW_STICKY_KEYS or GLFW_STICKY_MOUSE_BUTTONS.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    glfwSetInputMode
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetJoystickAxes()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const float* glfwGetJoystickAxes (int joy,
    int * count 
    )
    +
    +

    This function returns the values of all axes of the specified joystick. Each element in the array is a value between -1.0 and 1.0.

    +
    Parameters
    + + + +
    [in]joyThe joystick to query.
    [out]countWhere to store the number of axis values in the returned array. This is set to zero if an error occurred.
    +
    +
    +
    Returns
    An array of axis values, or NULL if the joystick is not present.
    +
    Pointer Lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected, this function is called again for that joystick or the library is terminated.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Joystick axis states
    +
    Since
    Added in GLFW 3.0. Replaces glfwGetJoystickPos.
    + +
    +
    + +

    ◆ glfwGetJoystickButtons()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const unsigned char* glfwGetJoystickButtons (int joy,
    int * count 
    )
    +
    +

    This function returns the state of all buttons of the specified joystick. Each element in the array is either GLFW_PRESS or GLFW_RELEASE.

    +
    Parameters
    + + + +
    [in]joyThe joystick to query.
    [out]countWhere to store the number of button states in the returned array. This is set to zero if an error occurred.
    +
    +
    +
    Returns
    An array of button states, or NULL if the joystick is not present.
    +
    Pointer Lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected, this function is called again for that joystick or the library is terminated.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Joystick button states
    +
    Since
    Added in GLFW 2.2.
    +
    GLFW 3: Changed to return a dynamic array.
    + +
    +
    + +

    ◆ glfwGetJoystickName()

    + +
    +
    + + + + + + + + +
    const char* glfwGetJoystickName (int joy)
    +
    +

    This function returns the name, encoded as UTF-8, of the specified joystick. The returned string is allocated and freed by GLFW. You should not free it yourself.

    +
    Parameters
    + + +
    [in]joyThe joystick to query.
    +
    +
    +
    Returns
    The UTF-8 encoded name of the joystick, or NULL if the joystick is not present.
    +
    Pointer Lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected, this function is called again for that joystick or the library is terminated.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Joystick name
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetKey()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetKey (GLFWwindowwindow,
    int key 
    )
    +
    +

    This function returns the last state reported for the specified key to the specified window. The returned state is one of GLFW_PRESS or GLFW_RELEASE. The higher-level action GLFW_REPEAT is only reported to the key callback.

    +

    If the GLFW_STICKY_KEYS input mode is enabled, this function returns GLFW_PRESS the first time you call it for a key that was pressed, even if that key has already been released.

    +

    The key functions deal with physical keys, with key tokens named after their use on the standard US keyboard layout. If you want to input text, use the Unicode character callback instead.

    +

    The modifier key bit masks are not key tokens and cannot be used with this function.

    +
    Parameters
    + + + +
    [in]windowThe desired window.
    [in]keyThe desired keyboard key. GLFW_KEY_UNKNOWN is not a valid key for this function.
    +
    +
    +
    Returns
    One of GLFW_PRESS or GLFW_RELEASE.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Key input
    +
    Since
    Added in GLFW 1.0.
    +
    GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwGetMouseButton()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetMouseButton (GLFWwindowwindow,
    int button 
    )
    +
    +

    This function returns the last state reported for the specified mouse button to the specified window. The returned state is one of GLFW_PRESS or GLFW_RELEASE.

    +

    If the GLFW_STICKY_MOUSE_BUTTONS input mode is enabled, this function GLFW_PRESS the first time you call it for a mouse button that was pressed, even if that mouse button has already been released.

    +
    Parameters
    + + + +
    [in]windowThe desired window.
    [in]buttonThe desired mouse button.
    +
    +
    +
    Returns
    One of GLFW_PRESS or GLFW_RELEASE.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Mouse button input
    +
    Since
    Added in GLFW 1.0.
    +
    GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwGetTime()

    + +
    +
    + + + + + + + + +
    double glfwGetTime (void )
    +
    +

    This function returns the value of the GLFW timer. Unless the timer has been set using glfwSetTime, the timer measures time elapsed since GLFW was initialized.

    +

    The resolution of the timer is system dependent, but is usually on the order of a few micro- or nanoseconds. It uses the highest-resolution monotonic time source on each supported platform.

    +
    Returns
    The current value, in seconds, or zero if an error occurred.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    Time input
    +
    Since
    Added in GLFW 1.0.
    + +
    +
    + +

    ◆ glfwJoystickPresent()

    + +
    +
    + + + + + + + + +
    int glfwJoystickPresent (int joy)
    +
    +

    This function returns whether the specified joystick is present.

    +
    Parameters
    + + +
    [in]joyThe joystick to query.
    +
    +
    +
    Returns
    GL_TRUE if the joystick is present, or GL_FALSE otherwise.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Joystick input
    +
    Since
    Added in GLFW 3.0. Replaces glfwGetJoystickParam.
    + +
    +
    + +

    ◆ glfwSetCharCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWcharfun glfwSetCharCallback (GLFWwindowwindow,
    GLFWcharfun cbfun 
    )
    +
    +

    This function sets the character callback of the specified window, which is called when a Unicode character is input.

    +

    The character callback is intended for Unicode text input. As it deals with characters, it is keyboard layout dependent, whereas the key callback is not. Characters do not map 1:1 to physical keys, as a key may produce zero, one or more characters. If you want to know whether a specific physical key was pressed or released, see the key callback instead.

    +

    The character callback behaves as system text input normally does and will not be called if modifier keys are held down that would prevent normal text input on that platform, for example a Super (Command) key on OS X or Alt key on Windows. There is a character with modifiers callback that receives these events.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Text input
    +
    Since
    Added in GLFW 2.4.
    +
    GLFW 3: Added window handle parameter. Updated callback signature.
    + +
    +
    + +

    ◆ glfwSetCharModsCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWcharmodsfun glfwSetCharModsCallback (GLFWwindowwindow,
    GLFWcharmodsfun cbfun 
    )
    +
    +

    This function sets the character with modifiers callback of the specified window, which is called when a Unicode character is input regardless of what modifier keys are used.

    +

    The character with modifiers callback is intended for implementing custom Unicode character input. For regular Unicode text input, see the character callback. Like the character callback, the character with modifiers callback deals with characters and is keyboard layout dependent. Characters do not map 1:1 to physical keys, as a key may produce zero, one or more characters. If you want to know whether a specific physical key was pressed or released, see the key callback instead.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or an error occurred.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Text input
    +
    Since
    Added in GLFW 3.1.
    + +
    +
    + +

    ◆ glfwSetClipboardString()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetClipboardString (GLFWwindowwindow,
    const char * string 
    )
    +
    +

    This function sets the system clipboard to the specified, UTF-8 encoded string.

    +
    Parameters
    + + + +
    [in]windowThe window that will own the clipboard contents.
    [in]stringA UTF-8 encoded string.
    +
    +
    +
    Pointer Lifetime
    The specified string is copied before this function returns.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Clipboard input and output
    +
    +glfwGetClipboardString
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwSetCursor()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetCursor (GLFWwindowwindow,
    GLFWcursorcursor 
    )
    +
    +

    This function sets the cursor image to be used when the cursor is over the client area of the specified window. The set cursor will only be visible when the cursor mode of the window is GLFW_CURSOR_NORMAL.

    +

    On some platforms, the set cursor may not be visible unless the window also has input focus.

    +
    Parameters
    + + + +
    [in]windowThe window to set the cursor for.
    [in]cursorThe cursor to set, or NULL to switch back to the default arrow cursor.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Cursor objects
    +
    Since
    Added in GLFW 3.1.
    + +
    +
    + +

    ◆ glfwSetCursorEnterCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWcursorenterfun glfwSetCursorEnterCallback (GLFWwindowwindow,
    GLFWcursorenterfun cbfun 
    )
    +
    +

    This function sets the cursor boundary crossing callback of the specified window, which is called when the cursor enters or leaves the client area of the window.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Cursor enter/leave events
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwSetCursorPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetCursorPos (GLFWwindowwindow,
    double xpos,
    double ypos 
    )
    +
    +

    This function sets the position, in screen coordinates, of the cursor relative to the upper-left corner of the client area of the specified window. The window must have input focus. If the window does not have input focus when this function is called, it fails silently.

    +

    Do not use this function to implement things like camera controls. GLFW already provides the GLFW_CURSOR_DISABLED cursor mode that hides the cursor, transparently re-centers it and provides unconstrained cursor motion. See glfwSetInputMode for more information.

    +

    If the cursor mode is GLFW_CURSOR_DISABLED then the cursor position is unconstrained and limited only by the minimum and maximum values of a double.

    +
    Parameters
    + + + + +
    [in]windowThe desired window.
    [in]xposThe desired x-coordinate, relative to the left edge of the client area.
    [in]yposThe desired y-coordinate, relative to the top edge of the client area.
    +
    +
    +
    Remarks
    X11: Due to the asynchronous nature of X11, it may take a moment for the window focus event to arrive. This means you may not be able to set the cursor position directly after window creation.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Cursor position
    +
    +glfwGetCursorPos
    +
    Since
    Added in GLFW 3.0. Replaces glfwSetMousePos.
    + +
    +
    + +

    ◆ glfwSetCursorPosCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWcursorposfun glfwSetCursorPosCallback (GLFWwindowwindow,
    GLFWcursorposfun cbfun 
    )
    +
    +

    This function sets the cursor position callback of the specified window, which is called when the cursor is moved. The callback is provided with the position, in screen coordinates, relative to the upper-left corner of the client area of the window.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Cursor position
    +
    Since
    Added in GLFW 3.0. Replaces glfwSetMousePosCallback.
    + +
    +
    + +

    ◆ glfwSetDropCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWdropfun glfwSetDropCallback (GLFWwindowwindow,
    GLFWdropfun cbfun 
    )
    +
    +

    This function sets the file drop callback of the specified window, which is called when one or more dragged files are dropped on the window.

    +

    Because the path array and its strings may have been generated specifically for that event, they are not guaranteed to be valid after the callback has returned. If you wish to use them after the callback returns, you need to make a deep copy.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new file drop callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Path drop input
    +
    Since
    Added in GLFW 3.1.
    + +
    +
    + +

    ◆ glfwSetInputMode()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetInputMode (GLFWwindowwindow,
    int mode,
    int value 
    )
    +
    +

    This function sets an input mode option for the specified window. The mode must be one of GLFW_CURSOR, GLFW_STICKY_KEYS or GLFW_STICKY_MOUSE_BUTTONS.

    +

    If the mode is GLFW_CURSOR, the value must be one of the following cursor modes:

      +
    • GLFW_CURSOR_NORMAL makes the cursor visible and behaving normally.
    • +
    • GLFW_CURSOR_HIDDEN makes the cursor invisible when it is over the client area of the window but does not restrict the cursor from leaving.
    • +
    • GLFW_CURSOR_DISABLED hides and grabs the cursor, providing virtual and unlimited cursor movement. This is useful for implementing for example 3D camera controls.
    • +
    +

    If the mode is GLFW_STICKY_KEYS, the value must be either GL_TRUE to enable sticky keys, or GL_FALSE to disable it. If sticky keys are enabled, a key press will ensure that glfwGetKey returns GLFW_PRESS the next time it is called even if the key had been released before the call. This is useful when you are only interested in whether keys have been pressed but not when or in which order.

    +

    If the mode is GLFW_STICKY_MOUSE_BUTTONS, the value must be either GL_TRUE to enable sticky mouse buttons, or GL_FALSE to disable it. If sticky mouse buttons are enabled, a mouse button press will ensure that glfwGetMouseButton returns GLFW_PRESS the next time it is called even if the mouse button had been released before the call. This is useful when you are only interested in whether mouse buttons have been pressed but not when or in which order.

    +
    Parameters
    + + + + +
    [in]windowThe window whose input mode to set.
    [in]modeOne of GLFW_CURSOR, GLFW_STICKY_KEYS or GLFW_STICKY_MOUSE_BUTTONS.
    [in]valueThe new value of the specified input mode.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    glfwGetInputMode
    +
    Since
    Added in GLFW 3.0. Replaces glfwEnable and glfwDisable.
    + +
    +
    + +

    ◆ glfwSetKeyCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWkeyfun glfwSetKeyCallback (GLFWwindowwindow,
    GLFWkeyfun cbfun 
    )
    +
    +

    This function sets the key callback of the specified window, which is called when a key is pressed, repeated or released.

    +

    The key functions deal with physical keys, with layout independent key tokens named after their values in the standard US keyboard layout. If you want to input text, use the character callback instead.

    +

    When a window loses input focus, it will generate synthetic key release events for all pressed keys. You can tell these events from user-generated events by the fact that the synthetic ones are generated after the focus loss event has been processed, i.e. after the window focus callback has been called.

    +

    The scancode of a key is specific to that platform or sometimes even to that machine. Scancodes are intended to allow users to bind keys that don't have a GLFW key token. Such keys have key set to GLFW_KEY_UNKNOWN, their state is not saved and so it cannot be queried with glfwGetKey.

    +

    Sometimes GLFW needs to generate synthetic key events, in which case the scancode may be zero.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new key callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Key input
    +
    Since
    Added in GLFW 1.0.
    +
    GLFW 3: Added window handle parameter. Updated callback signature.
    + +
    +
    + +

    ◆ glfwSetMouseButtonCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWmousebuttonfun glfwSetMouseButtonCallback (GLFWwindowwindow,
    GLFWmousebuttonfun cbfun 
    )
    +
    +

    This function sets the mouse button callback of the specified window, which is called when a mouse button is pressed or released.

    +

    When a window loses input focus, it will generate synthetic mouse button release events for all pressed mouse buttons. You can tell these events from user-generated events by the fact that the synthetic ones are generated after the focus loss event has been processed, i.e. after the window focus callback has been called.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Mouse button input
    +
    Since
    Added in GLFW 1.0.
    +
    GLFW 3: Added window handle parameter. Updated callback signature.
    + +
    +
    + +

    ◆ glfwSetScrollCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWscrollfun glfwSetScrollCallback (GLFWwindowwindow,
    GLFWscrollfun cbfun 
    )
    +
    +

    This function sets the scroll callback of the specified window, which is called when a scrolling device is used, such as a mouse wheel or scrolling area of a touchpad.

    +

    The scroll callback receives all scrolling input, like that from a mouse wheel or a touchpad scrolling area.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new scroll callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Scroll input
    +
    Since
    Added in GLFW 3.0. Replaces glfwSetMouseWheelCallback.
    + +
    +
    + +

    ◆ glfwSetTime()

    + +
    +
    + + + + + + + + +
    void glfwSetTime (double time)
    +
    +

    This function sets the value of the GLFW timer. It then continues to count up from that value. The value must be a positive finite number less than or equal to 18446744073.0, which is approximately 584.5 years.

    +
    Parameters
    + + +
    [in]timeThe new value, in seconds.
    +
    +
    +
    Remarks
    The upper limit of the timer is calculated as floor((264 - 1) / 109) and is due to implementations storing nanoseconds in 64 bits. The limit may be increased in the future.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Time input
    +
    Since
    Added in GLFW 2.2.
    + +
    +
    +
    + + + diff --git a/docs/3.1/group__joysticks.html b/docs/3.1/group__joysticks.html new file mode 100644 index 0000000..c2d0cca --- /dev/null +++ b/docs/3.1/group__joysticks.html @@ -0,0 +1,354 @@ + + + + + + +GLFW: Joysticks + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_JOYSTICK_1   0
     
    #define GLFW_JOYSTICK_2   1
     
    #define GLFW_JOYSTICK_3   2
     
    #define GLFW_JOYSTICK_4   3
     
    #define GLFW_JOYSTICK_5   4
     
    #define GLFW_JOYSTICK_6   5
     
    #define GLFW_JOYSTICK_7   6
     
    #define GLFW_JOYSTICK_8   7
     
    #define GLFW_JOYSTICK_9   8
     
    #define GLFW_JOYSTICK_10   9
     
    #define GLFW_JOYSTICK_11   10
     
    #define GLFW_JOYSTICK_12   11
     
    #define GLFW_JOYSTICK_13   12
     
    #define GLFW_JOYSTICK_14   13
     
    #define GLFW_JOYSTICK_15   14
     
    #define GLFW_JOYSTICK_16   15
     
    #define GLFW_JOYSTICK_LAST   GLFW_JOYSTICK_16
     
    +

    Detailed Description

    +

    See joystick input for how these are used.

    +

    Macro Definition Documentation

    + +

    ◆ GLFW_JOYSTICK_1

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_1   0
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_10

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_10   9
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_11

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_11   10
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_12

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_12   11
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_13

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_13   12
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_14

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_14   13
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_15

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_15   14
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_16

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_16   15
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_2

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_2   1
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_3

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_3   2
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_4

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_4   3
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_5

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_5   4
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_6

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_6   5
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_7

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_7   6
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_8

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_8   7
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_9

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_9   8
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_LAST

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_LAST   GLFW_JOYSTICK_16
    +
    + +
    +
    +
    + + + diff --git a/docs/3.1/group__keys.html b/docs/3.1/group__keys.html new file mode 100644 index 0000000..0454d28 --- /dev/null +++ b/docs/3.1/group__keys.html @@ -0,0 +1,2042 @@ + + + + + + +GLFW: Keyboard keys + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Keyboard keys
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_KEY_UNKNOWN   -1
     
    #define GLFW_KEY_SPACE   32
     
    #define GLFW_KEY_APOSTROPHE   39 /* ' */
     
    #define GLFW_KEY_COMMA   44 /* , */
     
    #define GLFW_KEY_MINUS   45 /* - */
     
    #define GLFW_KEY_PERIOD   46 /* . */
     
    #define GLFW_KEY_SLASH   47 /* / */
     
    #define GLFW_KEY_0   48
     
    #define GLFW_KEY_1   49
     
    #define GLFW_KEY_2   50
     
    #define GLFW_KEY_3   51
     
    #define GLFW_KEY_4   52
     
    #define GLFW_KEY_5   53
     
    #define GLFW_KEY_6   54
     
    #define GLFW_KEY_7   55
     
    #define GLFW_KEY_8   56
     
    #define GLFW_KEY_9   57
     
    #define GLFW_KEY_SEMICOLON   59 /* ; */
     
    #define GLFW_KEY_EQUAL   61 /* = */
     
    #define GLFW_KEY_A   65
     
    #define GLFW_KEY_B   66
     
    #define GLFW_KEY_C   67
     
    #define GLFW_KEY_D   68
     
    #define GLFW_KEY_E   69
     
    #define GLFW_KEY_F   70
     
    #define GLFW_KEY_G   71
     
    #define GLFW_KEY_H   72
     
    #define GLFW_KEY_I   73
     
    #define GLFW_KEY_J   74
     
    #define GLFW_KEY_K   75
     
    #define GLFW_KEY_L   76
     
    #define GLFW_KEY_M   77
     
    #define GLFW_KEY_N   78
     
    #define GLFW_KEY_O   79
     
    #define GLFW_KEY_P   80
     
    #define GLFW_KEY_Q   81
     
    #define GLFW_KEY_R   82
     
    #define GLFW_KEY_S   83
     
    #define GLFW_KEY_T   84
     
    #define GLFW_KEY_U   85
     
    #define GLFW_KEY_V   86
     
    #define GLFW_KEY_W   87
     
    #define GLFW_KEY_X   88
     
    #define GLFW_KEY_Y   89
     
    #define GLFW_KEY_Z   90
     
    #define GLFW_KEY_LEFT_BRACKET   91 /* [ */
     
    #define GLFW_KEY_BACKSLASH   92 /* \ */
     
    #define GLFW_KEY_RIGHT_BRACKET   93 /* ] */
     
    #define GLFW_KEY_GRAVE_ACCENT   96 /* ` */
     
    #define GLFW_KEY_WORLD_1   161 /* non-US #1 */
     
    #define GLFW_KEY_WORLD_2   162 /* non-US #2 */
     
    #define GLFW_KEY_ESCAPE   256
     
    #define GLFW_KEY_ENTER   257
     
    #define GLFW_KEY_TAB   258
     
    #define GLFW_KEY_BACKSPACE   259
     
    #define GLFW_KEY_INSERT   260
     
    #define GLFW_KEY_DELETE   261
     
    #define GLFW_KEY_RIGHT   262
     
    #define GLFW_KEY_LEFT   263
     
    #define GLFW_KEY_DOWN   264
     
    #define GLFW_KEY_UP   265
     
    #define GLFW_KEY_PAGE_UP   266
     
    #define GLFW_KEY_PAGE_DOWN   267
     
    #define GLFW_KEY_HOME   268
     
    #define GLFW_KEY_END   269
     
    #define GLFW_KEY_CAPS_LOCK   280
     
    #define GLFW_KEY_SCROLL_LOCK   281
     
    #define GLFW_KEY_NUM_LOCK   282
     
    #define GLFW_KEY_PRINT_SCREEN   283
     
    #define GLFW_KEY_PAUSE   284
     
    #define GLFW_KEY_F1   290
     
    #define GLFW_KEY_F2   291
     
    #define GLFW_KEY_F3   292
     
    #define GLFW_KEY_F4   293
     
    #define GLFW_KEY_F5   294
     
    #define GLFW_KEY_F6   295
     
    #define GLFW_KEY_F7   296
     
    #define GLFW_KEY_F8   297
     
    #define GLFW_KEY_F9   298
     
    #define GLFW_KEY_F10   299
     
    #define GLFW_KEY_F11   300
     
    #define GLFW_KEY_F12   301
     
    #define GLFW_KEY_F13   302
     
    #define GLFW_KEY_F14   303
     
    #define GLFW_KEY_F15   304
     
    #define GLFW_KEY_F16   305
     
    #define GLFW_KEY_F17   306
     
    #define GLFW_KEY_F18   307
     
    #define GLFW_KEY_F19   308
     
    #define GLFW_KEY_F20   309
     
    #define GLFW_KEY_F21   310
     
    #define GLFW_KEY_F22   311
     
    #define GLFW_KEY_F23   312
     
    #define GLFW_KEY_F24   313
     
    #define GLFW_KEY_F25   314
     
    #define GLFW_KEY_KP_0   320
     
    #define GLFW_KEY_KP_1   321
     
    #define GLFW_KEY_KP_2   322
     
    #define GLFW_KEY_KP_3   323
     
    #define GLFW_KEY_KP_4   324
     
    #define GLFW_KEY_KP_5   325
     
    #define GLFW_KEY_KP_6   326
     
    #define GLFW_KEY_KP_7   327
     
    #define GLFW_KEY_KP_8   328
     
    #define GLFW_KEY_KP_9   329
     
    #define GLFW_KEY_KP_DECIMAL   330
     
    #define GLFW_KEY_KP_DIVIDE   331
     
    #define GLFW_KEY_KP_MULTIPLY   332
     
    #define GLFW_KEY_KP_SUBTRACT   333
     
    #define GLFW_KEY_KP_ADD   334
     
    #define GLFW_KEY_KP_ENTER   335
     
    #define GLFW_KEY_KP_EQUAL   336
     
    #define GLFW_KEY_LEFT_SHIFT   340
     
    #define GLFW_KEY_LEFT_CONTROL   341
     
    #define GLFW_KEY_LEFT_ALT   342
     
    #define GLFW_KEY_LEFT_SUPER   343
     
    #define GLFW_KEY_RIGHT_SHIFT   344
     
    #define GLFW_KEY_RIGHT_CONTROL   345
     
    #define GLFW_KEY_RIGHT_ALT   346
     
    #define GLFW_KEY_RIGHT_SUPER   347
     
    #define GLFW_KEY_MENU   348
     
    #define GLFW_KEY_LAST   GLFW_KEY_MENU
     
    +

    Detailed Description

    +

    See key input for how these are used.

    +

    These key codes are inspired by the USB HID Usage Tables v1.12 (p. 53-60), but re-arranged to map to 7-bit ASCII for printable keys (function keys are put in the 256+ range).

    +

    The naming of the key codes follow these rules:

      +
    • The US keyboard layout is used
    • +
    • Names of printable alpha-numeric characters are used (e.g. "A", "R", "3", etc.)
    • +
    • For non-alphanumeric characters, Unicode:ish names are used (e.g. "COMMA", "LEFT_SQUARE_BRACKET", etc.). Note that some names do not correspond to the Unicode standard (usually for brevity)
    • +
    • Keys that lack a clear US mapping are named "WORLD_x"
    • +
    • For non-printable keys, custom names are used (e.g. "F4", "BACKSPACE", etc.)
    • +
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_KEY_0

    + +
    +
    + + + + +
    #define GLFW_KEY_0   48
    +
    + +
    +
    + +

    ◆ GLFW_KEY_1

    + +
    +
    + + + + +
    #define GLFW_KEY_1   49
    +
    + +
    +
    + +

    ◆ GLFW_KEY_2

    + +
    +
    + + + + +
    #define GLFW_KEY_2   50
    +
    + +
    +
    + +

    ◆ GLFW_KEY_3

    + +
    +
    + + + + +
    #define GLFW_KEY_3   51
    +
    + +
    +
    + +

    ◆ GLFW_KEY_4

    + +
    +
    + + + + +
    #define GLFW_KEY_4   52
    +
    + +
    +
    + +

    ◆ GLFW_KEY_5

    + +
    +
    + + + + +
    #define GLFW_KEY_5   53
    +
    + +
    +
    + +

    ◆ GLFW_KEY_6

    + +
    +
    + + + + +
    #define GLFW_KEY_6   54
    +
    + +
    +
    + +

    ◆ GLFW_KEY_7

    + +
    +
    + + + + +
    #define GLFW_KEY_7   55
    +
    + +
    +
    + +

    ◆ GLFW_KEY_8

    + +
    +
    + + + + +
    #define GLFW_KEY_8   56
    +
    + +
    +
    + +

    ◆ GLFW_KEY_9

    + +
    +
    + + + + +
    #define GLFW_KEY_9   57
    +
    + +
    +
    + +

    ◆ GLFW_KEY_A

    + +
    +
    + + + + +
    #define GLFW_KEY_A   65
    +
    + +
    +
    + +

    ◆ GLFW_KEY_APOSTROPHE

    + +
    +
    + + + + +
    #define GLFW_KEY_APOSTROPHE   39 /* ' */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_B

    + +
    +
    + + + + +
    #define GLFW_KEY_B   66
    +
    + +
    +
    + +

    ◆ GLFW_KEY_BACKSLASH

    + +
    +
    + + + + +
    #define GLFW_KEY_BACKSLASH   92 /* \ */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_BACKSPACE

    + +
    +
    + + + + +
    #define GLFW_KEY_BACKSPACE   259
    +
    + +
    +
    + +

    ◆ GLFW_KEY_C

    + +
    +
    + + + + +
    #define GLFW_KEY_C   67
    +
    + +
    +
    + +

    ◆ GLFW_KEY_CAPS_LOCK

    + +
    +
    + + + + +
    #define GLFW_KEY_CAPS_LOCK   280
    +
    + +
    +
    + +

    ◆ GLFW_KEY_COMMA

    + +
    +
    + + + + +
    #define GLFW_KEY_COMMA   44 /* , */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_D

    + +
    +
    + + + + +
    #define GLFW_KEY_D   68
    +
    + +
    +
    + +

    ◆ GLFW_KEY_DELETE

    + +
    +
    + + + + +
    #define GLFW_KEY_DELETE   261
    +
    + +
    +
    + +

    ◆ GLFW_KEY_DOWN

    + +
    +
    + + + + +
    #define GLFW_KEY_DOWN   264
    +
    + +
    +
    + +

    ◆ GLFW_KEY_E

    + +
    +
    + + + + +
    #define GLFW_KEY_E   69
    +
    + +
    +
    + +

    ◆ GLFW_KEY_END

    + +
    +
    + + + + +
    #define GLFW_KEY_END   269
    +
    + +
    +
    + +

    ◆ GLFW_KEY_ENTER

    + +
    +
    + + + + +
    #define GLFW_KEY_ENTER   257
    +
    + +
    +
    + +

    ◆ GLFW_KEY_EQUAL

    + +
    +
    + + + + +
    #define GLFW_KEY_EQUAL   61 /* = */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_ESCAPE

    + +
    +
    + + + + +
    #define GLFW_KEY_ESCAPE   256
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F

    + +
    +
    + + + + +
    #define GLFW_KEY_F   70
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F1

    + +
    +
    + + + + +
    #define GLFW_KEY_F1   290
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F10

    + +
    +
    + + + + +
    #define GLFW_KEY_F10   299
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F11

    + +
    +
    + + + + +
    #define GLFW_KEY_F11   300
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F12

    + +
    +
    + + + + +
    #define GLFW_KEY_F12   301
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F13

    + +
    +
    + + + + +
    #define GLFW_KEY_F13   302
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F14

    + +
    +
    + + + + +
    #define GLFW_KEY_F14   303
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F15

    + +
    +
    + + + + +
    #define GLFW_KEY_F15   304
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F16

    + +
    +
    + + + + +
    #define GLFW_KEY_F16   305
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F17

    + +
    +
    + + + + +
    #define GLFW_KEY_F17   306
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F18

    + +
    +
    + + + + +
    #define GLFW_KEY_F18   307
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F19

    + +
    +
    + + + + +
    #define GLFW_KEY_F19   308
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F2

    + +
    +
    + + + + +
    #define GLFW_KEY_F2   291
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F20

    + +
    +
    + + + + +
    #define GLFW_KEY_F20   309
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F21

    + +
    +
    + + + + +
    #define GLFW_KEY_F21   310
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F22

    + +
    +
    + + + + +
    #define GLFW_KEY_F22   311
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F23

    + +
    +
    + + + + +
    #define GLFW_KEY_F23   312
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F24

    + +
    +
    + + + + +
    #define GLFW_KEY_F24   313
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F25

    + +
    +
    + + + + +
    #define GLFW_KEY_F25   314
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F3

    + +
    +
    + + + + +
    #define GLFW_KEY_F3   292
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F4

    + +
    +
    + + + + +
    #define GLFW_KEY_F4   293
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F5

    + +
    +
    + + + + +
    #define GLFW_KEY_F5   294
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F6

    + +
    +
    + + + + +
    #define GLFW_KEY_F6   295
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F7

    + +
    +
    + + + + +
    #define GLFW_KEY_F7   296
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F8

    + +
    +
    + + + + +
    #define GLFW_KEY_F8   297
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F9

    + +
    +
    + + + + +
    #define GLFW_KEY_F9   298
    +
    + +
    +
    + +

    ◆ GLFW_KEY_G

    + +
    +
    + + + + +
    #define GLFW_KEY_G   71
    +
    + +
    +
    + +

    ◆ GLFW_KEY_GRAVE_ACCENT

    + +
    +
    + + + + +
    #define GLFW_KEY_GRAVE_ACCENT   96 /* ` */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_H

    + +
    +
    + + + + +
    #define GLFW_KEY_H   72
    +
    + +
    +
    + +

    ◆ GLFW_KEY_HOME

    + +
    +
    + + + + +
    #define GLFW_KEY_HOME   268
    +
    + +
    +
    + +

    ◆ GLFW_KEY_I

    + +
    +
    + + + + +
    #define GLFW_KEY_I   73
    +
    + +
    +
    + +

    ◆ GLFW_KEY_INSERT

    + +
    +
    + + + + +
    #define GLFW_KEY_INSERT   260
    +
    + +
    +
    + +

    ◆ GLFW_KEY_J

    + +
    +
    + + + + +
    #define GLFW_KEY_J   74
    +
    + +
    +
    + +

    ◆ GLFW_KEY_K

    + +
    +
    + + + + +
    #define GLFW_KEY_K   75
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_0

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_0   320
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_1

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_1   321
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_2

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_2   322
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_3

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_3   323
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_4

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_4   324
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_5

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_5   325
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_6

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_6   326
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_7

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_7   327
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_8

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_8   328
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_9

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_9   329
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_ADD

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_ADD   334
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_DECIMAL

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_DECIMAL   330
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_DIVIDE

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_DIVIDE   331
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_ENTER

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_ENTER   335
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_EQUAL

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_EQUAL   336
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_MULTIPLY

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_MULTIPLY   332
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_SUBTRACT

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_SUBTRACT   333
    +
    + +
    +
    + +

    ◆ GLFW_KEY_L

    + +
    +
    + + + + +
    #define GLFW_KEY_L   76
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LAST

    + +
    +
    + + + + +
    #define GLFW_KEY_LAST   GLFW_KEY_MENU
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT   263
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_ALT

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_ALT   342
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_BRACKET

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_BRACKET   91 /* [ */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_CONTROL

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_CONTROL   341
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_SHIFT

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_SHIFT   340
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_SUPER

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_SUPER   343
    +
    + +
    +
    + +

    ◆ GLFW_KEY_M

    + +
    +
    + + + + +
    #define GLFW_KEY_M   77
    +
    + +
    +
    + +

    ◆ GLFW_KEY_MENU

    + +
    +
    + + + + +
    #define GLFW_KEY_MENU   348
    +
    + +
    +
    + +

    ◆ GLFW_KEY_MINUS

    + +
    +
    + + + + +
    #define GLFW_KEY_MINUS   45 /* - */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_N

    + +
    +
    + + + + +
    #define GLFW_KEY_N   78
    +
    + +
    +
    + +

    ◆ GLFW_KEY_NUM_LOCK

    + +
    +
    + + + + +
    #define GLFW_KEY_NUM_LOCK   282
    +
    + +
    +
    + +

    ◆ GLFW_KEY_O

    + +
    +
    + + + + +
    #define GLFW_KEY_O   79
    +
    + +
    +
    + +

    ◆ GLFW_KEY_P

    + +
    +
    + + + + +
    #define GLFW_KEY_P   80
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PAGE_DOWN

    + +
    +
    + + + + +
    #define GLFW_KEY_PAGE_DOWN   267
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PAGE_UP

    + +
    +
    + + + + +
    #define GLFW_KEY_PAGE_UP   266
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PAUSE

    + +
    +
    + + + + +
    #define GLFW_KEY_PAUSE   284
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PERIOD

    + +
    +
    + + + + +
    #define GLFW_KEY_PERIOD   46 /* . */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PRINT_SCREEN

    + +
    +
    + + + + +
    #define GLFW_KEY_PRINT_SCREEN   283
    +
    + +
    +
    + +

    ◆ GLFW_KEY_Q

    + +
    +
    + + + + +
    #define GLFW_KEY_Q   81
    +
    + +
    +
    + +

    ◆ GLFW_KEY_R

    + +
    +
    + + + + +
    #define GLFW_KEY_R   82
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT   262
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_ALT

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_ALT   346
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_BRACKET

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_BRACKET   93 /* ] */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_CONTROL

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_CONTROL   345
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_SHIFT

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_SHIFT   344
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_SUPER

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_SUPER   347
    +
    + +
    +
    + +

    ◆ GLFW_KEY_S

    + +
    +
    + + + + +
    #define GLFW_KEY_S   83
    +
    + +
    +
    + +

    ◆ GLFW_KEY_SCROLL_LOCK

    + +
    +
    + + + + +
    #define GLFW_KEY_SCROLL_LOCK   281
    +
    + +
    +
    + +

    ◆ GLFW_KEY_SEMICOLON

    + +
    +
    + + + + +
    #define GLFW_KEY_SEMICOLON   59 /* ; */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_SLASH

    + +
    +
    + + + + +
    #define GLFW_KEY_SLASH   47 /* / */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_SPACE

    + +
    +
    + + + + +
    #define GLFW_KEY_SPACE   32
    +
    + +
    +
    + +

    ◆ GLFW_KEY_T

    + +
    +
    + + + + +
    #define GLFW_KEY_T   84
    +
    + +
    +
    + +

    ◆ GLFW_KEY_TAB

    + +
    +
    + + + + +
    #define GLFW_KEY_TAB   258
    +
    + +
    +
    + +

    ◆ GLFW_KEY_U

    + +
    +
    + + + + +
    #define GLFW_KEY_U   85
    +
    + +
    +
    + +

    ◆ GLFW_KEY_UNKNOWN

    + +
    +
    + + + + +
    #define GLFW_KEY_UNKNOWN   -1
    +
    + +
    +
    + +

    ◆ GLFW_KEY_UP

    + +
    +
    + + + + +
    #define GLFW_KEY_UP   265
    +
    + +
    +
    + +

    ◆ GLFW_KEY_V

    + +
    +
    + + + + +
    #define GLFW_KEY_V   86
    +
    + +
    +
    + +

    ◆ GLFW_KEY_W

    + +
    +
    + + + + +
    #define GLFW_KEY_W   87
    +
    + +
    +
    + +

    ◆ GLFW_KEY_WORLD_1

    + +
    +
    + + + + +
    #define GLFW_KEY_WORLD_1   161 /* non-US #1 */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_WORLD_2

    + +
    +
    + + + + +
    #define GLFW_KEY_WORLD_2   162 /* non-US #2 */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_X

    + +
    +
    + + + + +
    #define GLFW_KEY_X   88
    +
    + +
    +
    + +

    ◆ GLFW_KEY_Y

    + +
    +
    + + + + +
    #define GLFW_KEY_Y   89
    +
    + +
    +
    + +

    ◆ GLFW_KEY_Z

    + +
    +
    + + + + +
    #define GLFW_KEY_Z   90
    +
    + +
    +
    +
    + + + diff --git a/docs/3.1/group__mods.html b/docs/3.1/group__mods.html new file mode 100644 index 0000000..f769787 --- /dev/null +++ b/docs/3.1/group__mods.html @@ -0,0 +1,150 @@ + + + + + + +GLFW: Modifier key flags + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Modifier key flags
    +
    +
    + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_MOD_SHIFT   0x0001
     If this bit is set one or more Shift keys were held down. More...
     
    #define GLFW_MOD_CONTROL   0x0002
     If this bit is set one or more Control keys were held down. More...
     
    #define GLFW_MOD_ALT   0x0004
     If this bit is set one or more Alt keys were held down. More...
     
    #define GLFW_MOD_SUPER   0x0008
     If this bit is set one or more Super keys were held down. More...
     
    +

    Detailed Description

    +

    See key input for how these are used.

    +

    Macro Definition Documentation

    + +

    ◆ GLFW_MOD_ALT

    + +
    +
    + + + + +
    #define GLFW_MOD_ALT   0x0004
    +
    + +
    +
    + +

    ◆ GLFW_MOD_CONTROL

    + +
    +
    + + + + +
    #define GLFW_MOD_CONTROL   0x0002
    +
    + +
    +
    + +

    ◆ GLFW_MOD_SHIFT

    + +
    +
    + + + + +
    #define GLFW_MOD_SHIFT   0x0001
    +
    + +
    +
    + +

    ◆ GLFW_MOD_SUPER

    + +
    +
    + + + + +
    #define GLFW_MOD_SUPER   0x0008
    +
    + +
    +
    +
    + + + diff --git a/docs/3.1/group__monitor.html b/docs/3.1/group__monitor.html new file mode 100644 index 0000000..b05222e --- /dev/null +++ b/docs/3.1/group__monitor.html @@ -0,0 +1,615 @@ + + + + + + +GLFW: Monitor handling + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Monitor handling
    +
    +
    + + + + + + + + +

    +Data Structures

    struct  GLFWvidmode
     Video mode type. More...
     
    struct  GLFWgammaramp
     Gamma ramp. More...
     
    + + + + + + + + + + + + + +

    +Typedefs

    typedef struct GLFWmonitor GLFWmonitor
     Opaque monitor object. More...
     
    typedef void(* GLFWmonitorfun) (GLFWmonitor *, int)
     The function signature for monitor configuration callbacks. More...
     
    typedef struct GLFWvidmode GLFWvidmode
     Video mode type. More...
     
    typedef struct GLFWgammaramp GLFWgammaramp
     Gamma ramp. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    GLFWmonitor ** glfwGetMonitors (int *count)
     Returns the currently connected monitors. More...
     
    GLFWmonitorglfwGetPrimaryMonitor (void)
     Returns the primary monitor. More...
     
    void glfwGetMonitorPos (GLFWmonitor *monitor, int *xpos, int *ypos)
     Returns the position of the monitor's viewport on the virtual screen. More...
     
    void glfwGetMonitorPhysicalSize (GLFWmonitor *monitor, int *widthMM, int *heightMM)
     Returns the physical size of the monitor. More...
     
    const char * glfwGetMonitorName (GLFWmonitor *monitor)
     Returns the name of the specified monitor. More...
     
    GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun cbfun)
     Sets the monitor configuration callback. More...
     
    const GLFWvidmodeglfwGetVideoModes (GLFWmonitor *monitor, int *count)
     Returns the available video modes for the specified monitor. More...
     
    const GLFWvidmodeglfwGetVideoMode (GLFWmonitor *monitor)
     Returns the current mode of the specified monitor. More...
     
    void glfwSetGamma (GLFWmonitor *monitor, float gamma)
     Generates a gamma ramp and sets it for the specified monitor. More...
     
    const GLFWgammarampglfwGetGammaRamp (GLFWmonitor *monitor)
     Returns the current gamma ramp for the specified monitor. More...
     
    void glfwSetGammaRamp (GLFWmonitor *monitor, const GLFWgammaramp *ramp)
     Sets the current gamma ramp for the specified monitor. More...
     
    +

    Detailed Description

    +

    This is the reference documentation for monitor related functions and types. For more information, see the Monitor guide.

    +

    Typedef Documentation

    + +

    ◆ GLFWgammaramp

    + +
    +
    + + + + +
    typedef struct GLFWgammaramp GLFWgammaramp
    +
    +

    This describes the gamma ramp for a monitor.

    +
    See also
    glfwGetGammaRamp glfwSetGammaRamp
    + +
    +
    + +

    ◆ GLFWmonitor

    + +
    +
    + + + + +
    typedef struct GLFWmonitor GLFWmonitor
    +
    +

    Opaque monitor object.

    + +
    +
    + +

    ◆ GLFWmonitorfun

    + +
    +
    + + + + +
    typedef void(* GLFWmonitorfun) (GLFWmonitor *, int)
    +
    +

    This is the function signature for monitor configuration callback functions.

    +
    Parameters
    + + + +
    [in]monitorThe monitor that was connected or disconnected.
    [in]eventOne of GLFW_CONNECTED or GLFW_DISCONNECTED.
    +
    +
    +
    See also
    glfwSetMonitorCallback
    + +
    +
    + +

    ◆ GLFWvidmode

    + +
    +
    + + + + +
    typedef struct GLFWvidmode GLFWvidmode
    +
    +

    This describes a single video mode.

    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwGetGammaRamp()

    + +
    +
    + + + + + + + + +
    const GLFWgammaramp* glfwGetGammaRamp (GLFWmonitormonitor)
    +
    +

    This function returns the current gamma ramp of the specified monitor.

    +
    Parameters
    + + +
    [in]monitorThe monitor to query.
    +
    +
    +
    Returns
    The current gamma ramp, or NULL if an error occurred.
    +
    Pointer Lifetime
    The returned structure and its arrays are allocated and freed by GLFW. You should not free them yourself. They are valid until the specified monitor is disconnected, this function is called again for that monitor or the library is terminated.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Gamma ramp
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetMonitorName()

    + +
    +
    + + + + + + + + +
    const char* glfwGetMonitorName (GLFWmonitormonitor)
    +
    +

    This function returns a human-readable name, encoded as UTF-8, of the specified monitor. The name typically reflects the make and model of the monitor and is not guaranteed to be unique among the connected monitors.

    +
    Parameters
    + + +
    [in]monitorThe monitor to query.
    +
    +
    +
    Returns
    The UTF-8 encoded name of the monitor, or NULL if an error occurred.
    +
    Pointer Lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified monitor is disconnected or the library is terminated.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Monitor properties
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetMonitorPhysicalSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetMonitorPhysicalSize (GLFWmonitormonitor,
    int * widthMM,
    int * heightMM 
    )
    +
    +

    This function returns the size, in millimetres, of the display area of the specified monitor.

    +

    Some systems do not provide accurate monitor size information, either because the monitor EDID data is incorrect or because the driver does not report it accurately.

    +

    Any or all of the size arguments may be NULL. If an error occurs, all non-NULL size arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]monitorThe monitor to query.
    [out]widthMMWhere to store the width, in millimetres, of the monitor's display area, or NULL.
    [out]heightMMWhere to store the height, in millimetres, of the monitor's display area, or NULL.
    +
    +
    +
    Remarks
    Windows: The OS calculates the returned physical size from the current resolution and system DPI instead of querying the monitor EDID data.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Monitor properties
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetMonitorPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetMonitorPos (GLFWmonitormonitor,
    int * xpos,
    int * ypos 
    )
    +
    +

    This function returns the position, in screen coordinates, of the upper-left corner of the specified monitor.

    +

    Any or all of the position arguments may be NULL. If an error occurs, all non-NULL position arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]monitorThe monitor to query.
    [out]xposWhere to store the monitor x-coordinate, or NULL.
    [out]yposWhere to store the monitor y-coordinate, or NULL.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Monitor properties
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetMonitors()

    + +
    +
    + + + + + + + + +
    GLFWmonitor** glfwGetMonitors (int * count)
    +
    +

    This function returns an array of handles for all currently connected monitors. The primary monitor is always first in the returned array. If no monitors were found, this function returns NULL.

    +
    Parameters
    + + +
    [out]countWhere to store the number of monitors in the returned array. This is set to zero if an error occurred.
    +
    +
    +
    Returns
    An array of monitor handles, or NULL if no monitors were found or if an error occurred.
    +
    Pointer Lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is guaranteed to be valid only until the monitor configuration changes or the library is terminated.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Retrieving monitors
    +
    +Monitor configuration changes
    +
    +glfwGetPrimaryMonitor
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetPrimaryMonitor()

    + +
    +
    + + + + + + + + +
    GLFWmonitor* glfwGetPrimaryMonitor (void )
    +
    +

    This function returns the primary monitor. This is usually the monitor where elements like the task bar or global menu bar are located.

    +
    Returns
    The primary monitor, or NULL if no monitors were found or if an error occurred.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    Remarks
    The primary monitor is always first in the array returned by glfwGetMonitors.
    +
    See also
    Retrieving monitors
    +
    +glfwGetMonitors
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetVideoMode()

    + +
    +
    + + + + + + + + +
    const GLFWvidmode* glfwGetVideoMode (GLFWmonitormonitor)
    +
    +

    This function returns the current video mode of the specified monitor. If you have created a full screen window for that monitor, the return value will depend on whether that window is iconified.

    +
    Parameters
    + + +
    [in]monitorThe monitor to query.
    +
    +
    +
    Returns
    The current mode of the monitor, or NULL if an error occurred.
    +
    Pointer Lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified monitor is disconnected or the library is terminated.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Video modes
    +
    +glfwGetVideoModes
    +
    Since
    Added in GLFW 3.0. Replaces glfwGetDesktopMode.
    + +
    +
    + +

    ◆ glfwGetVideoModes()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const GLFWvidmode* glfwGetVideoModes (GLFWmonitormonitor,
    int * count 
    )
    +
    +

    This function returns an array of all video modes supported by the specified monitor. The returned array is sorted in ascending order, first by color bit depth (the sum of all channel depths) and then by resolution area (the product of width and height).

    +
    Parameters
    + + + +
    [in]monitorThe monitor to query.
    [out]countWhere to store the number of video modes in the returned array. This is set to zero if an error occurred.
    +
    +
    +
    Returns
    An array of video modes, or NULL if an error occurred.
    +
    Pointer Lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified monitor is disconnected, this function is called again for that monitor or the library is terminated.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Video modes
    +
    +glfwGetVideoMode
    +
    Since
    Added in GLFW 1.0.
    +
    GLFW 3: Changed to return an array of modes for a specific monitor.
    + +
    +
    + +

    ◆ glfwSetGamma()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetGamma (GLFWmonitormonitor,
    float gamma 
    )
    +
    +

    This function generates a 256-element gamma ramp from the specified exponent and then calls glfwSetGammaRamp with it. The value must be a finite number greater than zero.

    +
    Parameters
    + + + +
    [in]monitorThe monitor whose gamma ramp to set.
    [in]gammaThe desired exponent.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Gamma ramp
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwSetGammaRamp()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetGammaRamp (GLFWmonitormonitor,
    const GLFWgammarampramp 
    )
    +
    +

    This function sets the current gamma ramp for the specified monitor. The original gamma ramp for that monitor is saved by GLFW the first time this function is called and is restored by glfwTerminate.

    +
    Parameters
    + + + +
    [in]monitorThe monitor whose gamma ramp to set.
    [in]rampThe gamma ramp to use.
    +
    +
    +
    Remarks
    Gamma ramp sizes other than 256 are not supported by all platforms or graphics hardware.
    +
    +Windows: The gamma ramp size must be 256.
    +
    Pointer Lifetime
    The specified gamma ramp is copied before this function returns.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Gamma ramp
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwSetMonitorCallback()

    + +
    +
    + + + + + + + + +
    GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun cbfun)
    +
    +

    This function sets the monitor configuration callback, or removes the currently set callback. This is called when a monitor is connected to or disconnected from the system.

    +
    Parameters
    + + +
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Bug:
    X11: This callback is not yet called on monitor configuration changes.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Monitor configuration changes
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    +
    + + + diff --git a/docs/3.1/group__native.html b/docs/3.1/group__native.html new file mode 100644 index 0000000..b0cf4fa --- /dev/null +++ b/docs/3.1/group__native.html @@ -0,0 +1,455 @@ + + + + + + +GLFW: Native access + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Native access
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    const char * glfwGetWin32Adapter (GLFWmonitor *monitor)
     Returns the adapter device name of the specified monitor. More...
     
    const char * glfwGetWin32Monitor (GLFWmonitor *monitor)
     Returns the display device name of the specified monitor. More...
     
    HWND glfwGetWin32Window (GLFWwindow *window)
     Returns the HWND of the specified window. More...
     
    HGLRC glfwGetWGLContext (GLFWwindow *window)
     Returns the HGLRC of the specified window. More...
     
    CGDirectDisplayID glfwGetCocoaMonitor (GLFWmonitor *monitor)
     Returns the CGDirectDisplayID of the specified monitor. More...
     
    id glfwGetCocoaWindow (GLFWwindow *window)
     Returns the NSWindow of the specified window. More...
     
    id glfwGetNSGLContext (GLFWwindow *window)
     Returns the NSOpenGLContext of the specified window. More...
     
    Display * glfwGetX11Display (void)
     Returns the Display used by GLFW. More...
     
    RRCrtc glfwGetX11Adapter (GLFWmonitor *monitor)
     Returns the RRCrtc of the specified monitor. More...
     
    RROutput glfwGetX11Monitor (GLFWmonitor *monitor)
     Returns the RROutput of the specified monitor. More...
     
    Window glfwGetX11Window (GLFWwindow *window)
     Returns the Window of the specified window. More...
     
    GLXContext glfwGetGLXContext (GLFWwindow *window)
     Returns the GLXContext of the specified window. More...
     
    EGLDisplay glfwGetEGLDisplay (void)
     Returns the EGLDisplay used by GLFW. More...
     
    EGLContext glfwGetEGLContext (GLFWwindow *window)
     Returns the EGLContext of the specified window. More...
     
    EGLSurface glfwGetEGLSurface (GLFWwindow *window)
     Returns the EGLSurface of the specified window. More...
     
    +

    Detailed Description

    +

    By using the native access functions you assert that you know what you're doing and how to fix problems caused by using them. If you don't, you shouldn't be using them.

    +

    Before the inclusion of glfw3native.h, you must define exactly one window system API macro and exactly one context creation API macro. Failure to do this will cause a compile-time error.

    +

    The available window API macros are:

      +
    • GLFW_EXPOSE_NATIVE_WIN32
    • +
    • GLFW_EXPOSE_NATIVE_COCOA
    • +
    • GLFW_EXPOSE_NATIVE_X11
    • +
    +

    The available context API macros are:

      +
    • GLFW_EXPOSE_NATIVE_WGL
    • +
    • GLFW_EXPOSE_NATIVE_NSGL
    • +
    • GLFW_EXPOSE_NATIVE_GLX
    • +
    • GLFW_EXPOSE_NATIVE_EGL
    • +
    +

    These macros select which of the native access functions that are declared and which platform-specific headers to include. It is then up your (by definition platform-specific) code to handle which of these should be defined.

    +

    Function Documentation

    + +

    ◆ glfwGetCocoaMonitor()

    + +
    +
    + + + + + + + + +
    CGDirectDisplayID glfwGetCocoaMonitor (GLFWmonitormonitor)
    +
    +
    Returns
    The CGDirectDisplayID of the specified monitor, or kCGNullDirectDisplay if an error occurred.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    History
    Added in GLFW 3.1.
    + +
    +
    + +

    ◆ glfwGetCocoaWindow()

    + +
    +
    + + + + + + + + +
    id glfwGetCocoaWindow (GLFWwindowwindow)
    +
    +
    Returns
    The NSWindow of the specified window, or nil if an error occurred.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    History
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetEGLContext()

    + +
    +
    + + + + + + + + +
    EGLContext glfwGetEGLContext (GLFWwindowwindow)
    +
    +
    Returns
    The EGLContext of the specified window, or EGL_NO_CONTEXT if an error occurred.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    History
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetEGLDisplay()

    + +
    +
    + + + + + + + + +
    EGLDisplay glfwGetEGLDisplay (void )
    +
    +
    Returns
    The EGLDisplay used by GLFW, or EGL_NO_DISPLAY if an error occurred.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    History
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetEGLSurface()

    + +
    +
    + + + + + + + + +
    EGLSurface glfwGetEGLSurface (GLFWwindowwindow)
    +
    +
    Returns
    The EGLSurface of the specified window, or EGL_NO_SURFACE if an error occurred.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    History
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetGLXContext()

    + +
    +
    + + + + + + + + +
    GLXContext glfwGetGLXContext (GLFWwindowwindow)
    +
    +
    Returns
    The GLXContext of the specified window, or NULL if an error occurred.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    History
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetNSGLContext()

    + +
    +
    + + + + + + + + +
    id glfwGetNSGLContext (GLFWwindowwindow)
    +
    +
    Returns
    The NSOpenGLContext of the specified window, or nil if an error occurred.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    History
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetWGLContext()

    + +
    +
    + + + + + + + + +
    HGLRC glfwGetWGLContext (GLFWwindowwindow)
    +
    +
    Returns
    The HGLRC of the specified window, or NULL if an error occurred.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    History
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetWin32Adapter()

    + +
    +
    + + + + + + + + +
    const char* glfwGetWin32Adapter (GLFWmonitormonitor)
    +
    +
    Returns
    The UTF-8 encoded adapter device name (for example \\.\DISPLAY1) of the specified monitor, or NULL if an error occurred.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    History
    Added in GLFW 3.1.
    + +
    +
    + +

    ◆ glfwGetWin32Monitor()

    + +
    +
    + + + + + + + + +
    const char* glfwGetWin32Monitor (GLFWmonitormonitor)
    +
    +
    Returns
    The UTF-8 encoded display device name (for example \\.\DISPLAY1\Monitor0) of the specified monitor, or NULL if an error occurred.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    History
    Added in GLFW 3.1.
    + +
    +
    + +

    ◆ glfwGetWin32Window()

    + +
    +
    + + + + + + + + +
    HWND glfwGetWin32Window (GLFWwindowwindow)
    +
    +
    Returns
    The HWND of the specified window, or NULL if an error occurred.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    History
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetX11Adapter()

    + +
    +
    + + + + + + + + +
    RRCrtc glfwGetX11Adapter (GLFWmonitormonitor)
    +
    +
    Returns
    The RRCrtc of the specified monitor, or None if an error occurred.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    History
    Added in GLFW 3.1.
    + +
    +
    + +

    ◆ glfwGetX11Display()

    + +
    +
    + + + + + + + + +
    Display* glfwGetX11Display (void )
    +
    +
    Returns
    The Display used by GLFW, or NULL if an error occurred.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    History
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetX11Monitor()

    + +
    +
    + + + + + + + + +
    RROutput glfwGetX11Monitor (GLFWmonitormonitor)
    +
    +
    Returns
    The RROutput of the specified monitor, or None if an error occurred.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    History
    Added in GLFW 3.1.
    + +
    +
    + +

    ◆ glfwGetX11Window()

    + +
    +
    + + + + + + + + +
    Window glfwGetX11Window (GLFWwindowwindow)
    +
    +
    Returns
    The Window of the specified window, or None if an error occurred.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    History
    Added in GLFW 3.0.
    + +
    +
    +
    + + + diff --git a/docs/3.1/group__shapes.html b/docs/3.1/group__shapes.html new file mode 100644 index 0000000..8cef970 --- /dev/null +++ b/docs/3.1/group__shapes.html @@ -0,0 +1,190 @@ + + + + + + +GLFW: Standard cursor shapes + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Standard cursor shapes
    +
    +
    + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_ARROW_CURSOR   0x00036001
     The regular arrow cursor shape. More...
     
    #define GLFW_IBEAM_CURSOR   0x00036002
     The text input I-beam cursor shape. More...
     
    #define GLFW_CROSSHAIR_CURSOR   0x00036003
     The crosshair shape. More...
     
    #define GLFW_HAND_CURSOR   0x00036004
     The hand shape. More...
     
    #define GLFW_HRESIZE_CURSOR   0x00036005
     The horizontal resize arrow shape. More...
     
    #define GLFW_VRESIZE_CURSOR   0x00036006
     The vertical resize arrow shape. More...
     
    +

    Detailed Description

    +

    See standard cursor creation for how these are used.

    +

    Macro Definition Documentation

    + +

    ◆ GLFW_ARROW_CURSOR

    + +
    +
    + + + + +
    #define GLFW_ARROW_CURSOR   0x00036001
    +
    +

    The regular arrow cursor.

    + +
    +
    + +

    ◆ GLFW_CROSSHAIR_CURSOR

    + +
    +
    + + + + +
    #define GLFW_CROSSHAIR_CURSOR   0x00036003
    +
    +

    The crosshair shape.

    + +
    +
    + +

    ◆ GLFW_HAND_CURSOR

    + +
    +
    + + + + +
    #define GLFW_HAND_CURSOR   0x00036004
    +
    +

    The hand shape.

    + +
    +
    + +

    ◆ GLFW_HRESIZE_CURSOR

    + +
    +
    + + + + +
    #define GLFW_HRESIZE_CURSOR   0x00036005
    +
    +

    The horizontal resize arrow shape.

    + +
    +
    + +

    ◆ GLFW_IBEAM_CURSOR

    + +
    +
    + + + + +
    #define GLFW_IBEAM_CURSOR   0x00036002
    +
    +

    The text input I-beam cursor shape.

    + +
    +
    + +

    ◆ GLFW_VRESIZE_CURSOR

    + +
    +
    + + + + +
    #define GLFW_VRESIZE_CURSOR   0x00036006
    +
    +

    The vertical resize arrow shape.

    + +
    +
    +
    + + + diff --git a/docs/3.1/group__window.html b/docs/3.1/group__window.html new file mode 100644 index 0000000..f0196ab --- /dev/null +++ b/docs/3.1/group__window.html @@ -0,0 +1,1661 @@ + + + + + + +GLFW: Window handling + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Window handling
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Typedefs

    typedef struct GLFWwindow GLFWwindow
     Opaque window object. More...
     
    typedef void(* GLFWwindowposfun) (GLFWwindow *, int, int)
     The function signature for window position callbacks. More...
     
    typedef void(* GLFWwindowsizefun) (GLFWwindow *, int, int)
     The function signature for window resize callbacks. More...
     
    typedef void(* GLFWwindowclosefun) (GLFWwindow *)
     The function signature for window close callbacks. More...
     
    typedef void(* GLFWwindowrefreshfun) (GLFWwindow *)
     The function signature for window content refresh callbacks. More...
     
    typedef void(* GLFWwindowfocusfun) (GLFWwindow *, int)
     The function signature for window focus/defocus callbacks. More...
     
    typedef void(* GLFWwindowiconifyfun) (GLFWwindow *, int)
     The function signature for window iconify/restore callbacks. More...
     
    typedef void(* GLFWframebuffersizefun) (GLFWwindow *, int, int)
     The function signature for framebuffer resize callbacks. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    void glfwDefaultWindowHints (void)
     Resets all window hints to their default values. More...
     
    void glfwWindowHint (int target, int hint)
     Sets the specified window hint to the desired value. More...
     
    GLFWwindowglfwCreateWindow (int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
     Creates a window and its associated context. More...
     
    void glfwDestroyWindow (GLFWwindow *window)
     Destroys the specified window and its context. More...
     
    int glfwWindowShouldClose (GLFWwindow *window)
     Checks the close flag of the specified window. More...
     
    void glfwSetWindowShouldClose (GLFWwindow *window, int value)
     Sets the close flag of the specified window. More...
     
    void glfwSetWindowTitle (GLFWwindow *window, const char *title)
     Sets the title of the specified window. More...
     
    void glfwGetWindowPos (GLFWwindow *window, int *xpos, int *ypos)
     Retrieves the position of the client area of the specified window. More...
     
    void glfwSetWindowPos (GLFWwindow *window, int xpos, int ypos)
     Sets the position of the client area of the specified window. More...
     
    void glfwGetWindowSize (GLFWwindow *window, int *width, int *height)
     Retrieves the size of the client area of the specified window. More...
     
    void glfwSetWindowSize (GLFWwindow *window, int width, int height)
     Sets the size of the client area of the specified window. More...
     
    void glfwGetFramebufferSize (GLFWwindow *window, int *width, int *height)
     Retrieves the size of the framebuffer of the specified window. More...
     
    void glfwGetWindowFrameSize (GLFWwindow *window, int *left, int *top, int *right, int *bottom)
     Retrieves the size of the frame of the window. More...
     
    void glfwIconifyWindow (GLFWwindow *window)
     Iconifies the specified window. More...
     
    void glfwRestoreWindow (GLFWwindow *window)
     Restores the specified window. More...
     
    void glfwShowWindow (GLFWwindow *window)
     Makes the specified window visible. More...
     
    void glfwHideWindow (GLFWwindow *window)
     Hides the specified window. More...
     
    GLFWmonitorglfwGetWindowMonitor (GLFWwindow *window)
     Returns the monitor that the window uses for full screen mode. More...
     
    int glfwGetWindowAttrib (GLFWwindow *window, int attrib)
     Returns an attribute of the specified window. More...
     
    void glfwSetWindowUserPointer (GLFWwindow *window, void *pointer)
     Sets the user pointer of the specified window. More...
     
    void * glfwGetWindowUserPointer (GLFWwindow *window)
     Returns the user pointer of the specified window. More...
     
    GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindow *window, GLFWwindowposfun cbfun)
     Sets the position callback for the specified window. More...
     
    GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindow *window, GLFWwindowsizefun cbfun)
     Sets the size callback for the specified window. More...
     
    GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindow *window, GLFWwindowclosefun cbfun)
     Sets the close callback for the specified window. More...
     
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindow *window, GLFWwindowrefreshfun cbfun)
     Sets the refresh callback for the specified window. More...
     
    GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindow *window, GLFWwindowfocusfun cbfun)
     Sets the focus callback for the specified window. More...
     
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindow *window, GLFWwindowiconifyfun cbfun)
     Sets the iconify callback for the specified window. More...
     
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindow *window, GLFWframebuffersizefun cbfun)
     Sets the framebuffer resize callback for the specified window. More...
     
    void glfwPollEvents (void)
     Processes all pending events. More...
     
    void glfwWaitEvents (void)
     Waits until events are queued and processes them. More...
     
    void glfwPostEmptyEvent (void)
     Posts an empty event to the event queue. More...
     
    void glfwSwapBuffers (GLFWwindow *window)
     Swaps the front and back buffers of the specified window. More...
     
    +

    Detailed Description

    +

    This is the reference documentation for window related functions and types, including creation, deletion and event polling. For more information, see the Window guide.

    +

    Typedef Documentation

    + +

    ◆ GLFWframebuffersizefun

    + +
    +
    + + + + +
    typedef void(* GLFWframebuffersizefun) (GLFWwindow *, int, int)
    +
    +

    This is the function signature for framebuffer resize callback functions.

    +
    Parameters
    + + + + +
    [in]windowThe window whose framebuffer was resized.
    [in]widthThe new width, in pixels, of the framebuffer.
    [in]heightThe new height, in pixels, of the framebuffer.
    +
    +
    +
    See also
    glfwSetFramebufferSizeCallback
    + +
    +
    + +

    ◆ GLFWwindow

    + +
    +
    + + + + +
    typedef struct GLFWwindow GLFWwindow
    +
    +

    Opaque window object.

    + +
    +
    + +

    ◆ GLFWwindowclosefun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowclosefun) (GLFWwindow *)
    +
    +

    This is the function signature for window close callback functions.

    +
    Parameters
    + + +
    [in]windowThe window that the user attempted to close.
    +
    +
    +
    See also
    glfwSetWindowCloseCallback
    + +
    +
    + +

    ◆ GLFWwindowfocusfun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowfocusfun) (GLFWwindow *, int)
    +
    +

    This is the function signature for window focus callback functions.

    +
    Parameters
    + + + +
    [in]windowThe window that gained or lost input focus.
    [in]focusedGL_TRUE if the window was given input focus, or GL_FALSE if it lost it.
    +
    +
    +
    See also
    glfwSetWindowFocusCallback
    + +
    +
    + +

    ◆ GLFWwindowiconifyfun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowiconifyfun) (GLFWwindow *, int)
    +
    +

    This is the function signature for window iconify/restore callback functions.

    +
    Parameters
    + + + +
    [in]windowThe window that was iconified or restored.
    [in]iconifiedGL_TRUE if the window was iconified, or GL_FALSE if it was restored.
    +
    +
    +
    See also
    glfwSetWindowIconifyCallback
    + +
    +
    + +

    ◆ GLFWwindowposfun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowposfun) (GLFWwindow *, int, int)
    +
    +

    This is the function signature for window position callback functions.

    +
    Parameters
    + + + + +
    [in]windowThe window that was moved.
    [in]xposThe new x-coordinate, in screen coordinates, of the upper-left corner of the client area of the window.
    [in]yposThe new y-coordinate, in screen coordinates, of the upper-left corner of the client area of the window.
    +
    +
    +
    See also
    glfwSetWindowPosCallback
    + +
    +
    + +

    ◆ GLFWwindowrefreshfun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowrefreshfun) (GLFWwindow *)
    +
    +

    This is the function signature for window refresh callback functions.

    +
    Parameters
    + + +
    [in]windowThe window whose content needs to be refreshed.
    +
    +
    +
    See also
    glfwSetWindowRefreshCallback
    + +
    +
    + +

    ◆ GLFWwindowsizefun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowsizefun) (GLFWwindow *, int, int)
    +
    +

    This is the function signature for window size callback functions.

    +
    Parameters
    + + + + +
    [in]windowThe window that was resized.
    [in]widthThe new width, in screen coordinates, of the window.
    [in]heightThe new height, in screen coordinates, of the window.
    +
    +
    +
    See also
    glfwSetWindowSizeCallback
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwCreateWindow()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFWwindow* glfwCreateWindow (int width,
    int height,
    const char * title,
    GLFWmonitormonitor,
    GLFWwindowshare 
    )
    +
    +

    This function creates a window and its associated OpenGL or OpenGL ES context. Most of the options controlling how the window and its context should be created are specified with window hints.

    +

    Successful creation does not change which context is current. Before you can use the newly created context, you need to make it current. For information about the share parameter, see Context object sharing.

    +

    The created window, framebuffer and context may differ from what you requested, as not all parameters and hints are hard constraints. This includes the size of the window, especially for full screen windows. To query the actual attributes of the created window, framebuffer and context, see glfwGetWindowAttrib, glfwGetWindowSize and glfwGetFramebufferSize.

    +

    To create a full screen window, you need to specify the monitor the window will cover. If no monitor is specified, windowed mode will be used. Unless you have a way for the user to choose a specific monitor, it is recommended that you pick the primary monitor. For more information on how to query connected monitors, see Retrieving monitors.

    +

    For full screen windows, the specified size becomes the resolution of the window's desired video mode. As long as a full screen window has input focus, the supported video mode most closely matching the desired video mode is set for the specified monitor. For more information about full screen windows, including the creation of so called windowed full screen or borderless full screen windows, see "Windowed full screen" windows.

    +

    By default, newly created windows use the placement recommended by the window system. To create the window at a specific position, make it initially invisible using the GLFW_VISIBLE window hint, set its position and then show it.

    +

    If a full screen window has input focus, the screensaver is prohibited from starting.

    +

    Window systems put limits on window sizes. Very large or very small window dimensions may be overridden by the window system on creation. Check the actual size after creation.

    +

    The swap interval is not set during window creation and the initial value may vary depending on driver settings and defaults.

    +
    Parameters
    + + + + + + +
    [in]widthThe desired width, in screen coordinates, of the window. This must be greater than zero.
    [in]heightThe desired height, in screen coordinates, of the window. This must be greater than zero.
    [in]titleThe initial, UTF-8 encoded window title.
    [in]monitorThe monitor to use for full screen mode, or NULL to use windowed mode.
    [in]shareThe window whose context to share resources with, or NULL to not share resources.
    +
    +
    +
    Returns
    The handle of the created window, or NULL if an error occurred.
    +
    Remarks
    Windows: Window creation will fail if the Microsoft GDI software OpenGL implementation is the only one available.
    +
    +Windows: If the executable has an icon resource named GLFW_ICON, it will be set as the icon for the window. If no such icon is present, the IDI_WINLOGO icon will be used instead.
    +
    +Windows: The context to share resources with may not be current on any other thread.
    +
    +OS X: The GLFW window has no icon, as it is not a document window, but the dock icon will be the same as the application bundle's icon. For more information on bundles, see the Bundle Programming Guide in the Mac Developer Library.
    +
    +OS X: The first time a window is created the menu bar is populated with common commands like Hide, Quit and About. The About entry opens a minimal about dialog with information from the application's bundle. The menu bar can be disabled with a compile-time option.
    +
    +OS X: On OS X 10.10 and later the window frame will not be rendered at full resolution on Retina displays unless the NSHighResolutionCapable key is enabled in the application bundle's Info.plist. For more information, see High Resolution Guidelines for OS X in the Mac Developer Library. The GLFW test and example programs use a custom Info.plist template for this, which can be found as CMake/MacOSXBundleInfo.plist.in in the source tree.
    +
    +X11: There is no mechanism for setting the window icon yet.
    +
    +X11: Some window managers will not respect the placement of initially hidden windows.
    +
    +X11: Due to the asynchronous nature of X11, it may take a moment for a window to reach its requested state. This means you may not be able to query the final size, position or other attributes directly after window creation.
    +
    Reentrancy
    This function may not be called from a callback.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window creation
    +
    +glfwDestroyWindow
    +
    Since
    Added in GLFW 3.0. Replaces glfwOpenWindow.
    + +
    +
    + +

    ◆ glfwDefaultWindowHints()

    + +
    +
    + + + + + + + + +
    void glfwDefaultWindowHints (void )
    +
    +

    This function resets all window hints to their default values.

    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window creation hints
    +
    +glfwWindowHint
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwDestroyWindow()

    + +
    +
    + + + + + + + + +
    void glfwDestroyWindow (GLFWwindowwindow)
    +
    +

    This function destroys the specified window and its context. On calling this function, no further callbacks will be called for that window.

    +

    If the context of the specified window is current on the main thread, it is detached before being destroyed.

    +
    Parameters
    + + +
    [in]windowThe window to destroy.
    +
    +
    +
    Note
    The context of the specified window must not be current on any other thread when this function is called.
    +
    Reentrancy
    This function may not be called from a callback.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window creation
    +
    +glfwCreateWindow
    +
    Since
    Added in GLFW 3.0. Replaces glfwCloseWindow.
    + +
    +
    + +

    ◆ glfwGetFramebufferSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetFramebufferSize (GLFWwindowwindow,
    int * width,
    int * height 
    )
    +
    +

    This function retrieves the size, in pixels, of the framebuffer of the specified window. If you wish to retrieve the size of the window in screen coordinates, see glfwGetWindowSize.

    +

    Any or all of the size arguments may be NULL. If an error occurs, all non-NULL size arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]windowThe window whose framebuffer to query.
    [out]widthWhere to store the width, in pixels, of the framebuffer, or NULL.
    [out]heightWhere to store the height, in pixels, of the framebuffer, or NULL.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Framebuffer size
    +
    +glfwSetFramebufferSizeCallback
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetWindowAttrib()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetWindowAttrib (GLFWwindowwindow,
    int attrib 
    )
    +
    +

    This function returns the value of an attribute of the specified window or its OpenGL or OpenGL ES context.

    +
    Parameters
    + + + +
    [in]windowThe window to query.
    [in]attribThe window attribute whose value to return.
    +
    +
    +
    Returns
    The value of the attribute, or zero if an error occurred.
    +
    Remarks
    Framebuffer related hints are not window attributes. See Framebuffer related attributes for more information.
    +
    +Zero is a valid value for many window and context related attributes so you cannot use a return value of zero as an indication of errors. However, this function should not fail as long as it is passed valid arguments and the library has been initialized.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window attributes
    +
    Since
    Added in GLFW 3.0. Replaces glfwGetWindowParam and glfwGetGLVersion.
    + +
    +
    + +

    ◆ glfwGetWindowFrameSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetWindowFrameSize (GLFWwindowwindow,
    int * left,
    int * top,
    int * right,
    int * bottom 
    )
    +
    +

    This function retrieves the size, in screen coordinates, of each edge of the frame of the specified window. This size includes the title bar, if the window has one. The size of the frame may vary depending on the window-related hints used to create it.

    +

    Because this function retrieves the size of each window frame edge and not the offset along a particular coordinate axis, the retrieved values will always be zero or positive.

    +

    Any or all of the size arguments may be NULL. If an error occurs, all non-NULL size arguments will be set to zero.

    +
    Parameters
    + + + + + + +
    [in]windowThe window whose frame size to query.
    [out]leftWhere to store the size, in screen coordinates, of the left edge of the window frame, or NULL.
    [out]topWhere to store the size, in screen coordinates, of the top edge of the window frame, or NULL.
    [out]rightWhere to store the size, in screen coordinates, of the right edge of the window frame, or NULL.
    [out]bottomWhere to store the size, in screen coordinates, of the bottom edge of the window frame, or NULL.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window size
    +
    Since
    Added in GLFW 3.1.
    + +
    +
    + +

    ◆ glfwGetWindowMonitor()

    + +
    +
    + + + + + + + + +
    GLFWmonitor* glfwGetWindowMonitor (GLFWwindowwindow)
    +
    +

    This function returns the handle of the monitor that the specified window is in full screen on.

    +
    Parameters
    + + +
    [in]windowThe window to query.
    +
    +
    +
    Returns
    The monitor, or NULL if the window is in windowed mode or an error occurred.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window monitor
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetWindowPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetWindowPos (GLFWwindowwindow,
    int * xpos,
    int * ypos 
    )
    +
    +

    This function retrieves the position, in screen coordinates, of the upper-left corner of the client area of the specified window.

    +

    Any or all of the position arguments may be NULL. If an error occurs, all non-NULL position arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]windowThe window to query.
    [out]xposWhere to store the x-coordinate of the upper-left corner of the client area, or NULL.
    [out]yposWhere to store the y-coordinate of the upper-left corner of the client area, or NULL.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window position
    +
    +glfwSetWindowPos
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwGetWindowSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetWindowSize (GLFWwindowwindow,
    int * width,
    int * height 
    )
    +
    +

    This function retrieves the size, in screen coordinates, of the client area of the specified window. If you wish to retrieve the size of the framebuffer of the window in pixels, see glfwGetFramebufferSize.

    +

    Any or all of the size arguments may be NULL. If an error occurs, all non-NULL size arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]windowThe window whose size to retrieve.
    [out]widthWhere to store the width, in screen coordinates, of the client area, or NULL.
    [out]heightWhere to store the height, in screen coordinates, of the client area, or NULL.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window size
    +
    +glfwSetWindowSize
    +
    Since
    Added in GLFW 1.0.
    +
    GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwGetWindowUserPointer()

    + +
    +
    + + + + + + + + +
    void* glfwGetWindowUserPointer (GLFWwindowwindow)
    +
    +

    This function returns the current value of the user-defined pointer of the specified window. The initial value is NULL.

    +
    Parameters
    + + +
    [in]windowThe window whose pointer to return.
    +
    +
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    User pointer
    +
    +glfwSetWindowUserPointer
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwHideWindow()

    + +
    +
    + + + + + + + + +
    void glfwHideWindow (GLFWwindowwindow)
    +
    +

    This function hides the specified window if it was previously visible. If the window is already hidden or is in full screen mode, this function does nothing.

    +
    Parameters
    + + +
    [in]windowThe window to hide.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window visibility
    +
    +glfwShowWindow
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwIconifyWindow()

    + +
    +
    + + + + + + + + +
    void glfwIconifyWindow (GLFWwindowwindow)
    +
    +

    This function iconifies (minimizes) the specified window if it was previously restored. If the window is already iconified, this function does nothing.

    +

    If the specified window is a full screen window, the original monitor resolution is restored until the window is restored.

    +
    Parameters
    + + +
    [in]windowThe window to iconify.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window iconification
    +
    +glfwRestoreWindow
    +
    Since
    Added in GLFW 2.1.
    +
    GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwPollEvents()

    + +
    +
    + + + + + + + + +
    void glfwPollEvents (void )
    +
    +

    This function processes only those events that are already in the event queue and then returns immediately. Processing events will cause the window and input callbacks associated with those events to be called.

    +

    On some platforms, a window move, resize or menu operation will cause event processing to block. This is due to how event processing is designed on those platforms. You can use the window refresh callback to redraw the contents of your window when necessary during such operations.

    +

    On some platforms, certain events are sent directly to the application without going through the event queue, causing callbacks to be called outside of a call to one of the event processing functions.

    +

    Event processing is not required for joystick input to work.

    +
    Reentrancy
    This function may not be called from a callback.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Event processing
    +
    +glfwWaitEvents
    +
    Since
    Added in GLFW 1.0.
    + +
    +
    + +

    ◆ glfwPostEmptyEvent()

    + +
    +
    + + + + + + + + +
    void glfwPostEmptyEvent (void )
    +
    +

    This function posts an empty event from the current thread to the event queue, causing glfwWaitEvents to return.

    +

    If no windows exist, this function returns immediately. For synchronization of threads in applications that do not create windows, use your threading library of choice.

    +
    Thread Safety
    This function may be called from any thread.
    +
    See also
    Event processing
    +
    +glfwWaitEvents
    +
    Since
    Added in GLFW 3.1.
    + +
    +
    + +

    ◆ glfwRestoreWindow()

    + +
    +
    + + + + + + + + +
    void glfwRestoreWindow (GLFWwindowwindow)
    +
    +

    This function restores the specified window if it was previously iconified (minimized). If the window is already restored, this function does nothing.

    +

    If the specified window is a full screen window, the resolution chosen for the window is restored on the selected monitor.

    +
    Parameters
    + + +
    [in]windowThe window to restore.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window iconification
    +
    +glfwIconifyWindow
    +
    Since
    Added in GLFW 2.1.
    +
    GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwSetFramebufferSizeCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindowwindow,
    GLFWframebuffersizefun cbfun 
    )
    +
    +

    This function sets the framebuffer resize callback of the specified window, which is called when the framebuffer of the specified window is resized.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Framebuffer size
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowCloseCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindowwindow,
    GLFWwindowclosefun cbfun 
    )
    +
    +

    This function sets the close callback of the specified window, which is called when the user attempts to close the window, for example by clicking the close widget in the title bar.

    +

    The close flag is set before this callback is called, but you can modify it at any time with glfwSetWindowShouldClose.

    +

    The close callback is not triggered by glfwDestroyWindow.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Remarks
    OS X: Selecting Quit from the application menu will trigger the close callback for all windows.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window closing and close flag
    +
    Since
    Added in GLFW 2.5.
    +
    GLFW 3: Added window handle parameter. Updated callback signature.
    + +
    +
    + +

    ◆ glfwSetWindowFocusCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindowwindow,
    GLFWwindowfocusfun cbfun 
    )
    +
    +

    This function sets the focus callback of the specified window, which is called when the window gains or loses input focus.

    +

    After the focus callback is called for a window that lost input focus, synthetic key and mouse button release events will be generated for all such that had been pressed. For more information, see glfwSetKeyCallback and glfwSetMouseButtonCallback.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window input focus
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowIconifyCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindowwindow,
    GLFWwindowiconifyfun cbfun 
    )
    +
    +

    This function sets the iconification callback of the specified window, which is called when the window is iconified or restored.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window iconification
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowPos (GLFWwindowwindow,
    int xpos,
    int ypos 
    )
    +
    +

    This function sets the position, in screen coordinates, of the upper-left corner of the client area of the specified windowed mode window. If the window is a full screen window, this function does nothing.

    +

    Do not use this function to move an already visible window unless you have very good reasons for doing so, as it will confuse and annoy the user.

    +

    The window manager may put limits on what positions are allowed. GLFW cannot and should not override these limits.

    +
    Parameters
    + + + + +
    [in]windowThe window to query.
    [in]xposThe x-coordinate of the upper-left corner of the client area.
    [in]yposThe y-coordinate of the upper-left corner of the client area.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window position
    +
    +glfwGetWindowPos
    +
    Since
    Added in GLFW 1.0.
    +
    GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwSetWindowPosCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindowwindow,
    GLFWwindowposfun cbfun 
    )
    +
    +

    This function sets the position callback of the specified window, which is called when the window is moved. The callback is provided with the screen position of the upper-left corner of the client area of the window.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window position
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowRefreshCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindowwindow,
    GLFWwindowrefreshfun cbfun 
    )
    +
    +

    This function sets the refresh callback of the specified window, which is called when the client area of the window needs to be redrawn, for example if the window has been exposed after having been covered by another window.

    +

    On compositing window systems such as Aero, Compiz or Aqua, where the window contents are saved off-screen, this callback may be called only very infrequently or never at all.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window damage and refresh
    +
    Since
    Added in GLFW 2.5.
    +
    GLFW 3: Added window handle parameter. Updated callback signature.
    + +
    +
    + +

    ◆ glfwSetWindowShouldClose()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowShouldClose (GLFWwindowwindow,
    int value 
    )
    +
    +

    This function sets the value of the close flag of the specified window. This can be used to override the user's attempt to close the window, or to signal that it should be closed.

    +
    Parameters
    + + + +
    [in]windowThe window whose flag to change.
    [in]valueThe new value.
    +
    +
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    Window closing and close flag
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowSize (GLFWwindowwindow,
    int width,
    int height 
    )
    +
    +

    This function sets the size, in screen coordinates, of the client area of the specified window.

    +

    For full screen windows, this function selects and switches to the resolution closest to the specified size, without affecting the window's context. As the context is unaffected, the bit depths of the framebuffer remain unchanged.

    +

    The window manager may put limits on what sizes are allowed. GLFW cannot and should not override these limits.

    +
    Parameters
    + + + + +
    [in]windowThe window to resize.
    [in]widthThe desired width of the specified window.
    [in]heightThe desired height of the specified window.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window size
    +
    +glfwGetWindowSize
    +
    Since
    Added in GLFW 1.0.
    +
    GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwSetWindowSizeCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindowwindow,
    GLFWwindowsizefun cbfun 
    )
    +
    +

    This function sets the size callback of the specified window, which is called when the window is resized. The callback is provided with the size, in screen coordinates, of the client area of the window.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window size
    +
    Since
    Added in GLFW 1.0.
    +
    GLFW 3: Added window handle parameter. Updated callback signature.
    + +
    +
    + +

    ◆ glfwSetWindowTitle()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowTitle (GLFWwindowwindow,
    const char * title 
    )
    +
    +

    This function sets the window title, encoded as UTF-8, of the specified window.

    +
    Parameters
    + + + +
    [in]windowThe window whose title to change.
    [in]titleThe UTF-8 encoded window title.
    +
    +
    +
    Remarks
    OS X: The window title will not be updated until the next time you process events.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window title
    +
    Since
    Added in GLFW 1.0.
    +
    GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwSetWindowUserPointer()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowUserPointer (GLFWwindowwindow,
    void * pointer 
    )
    +
    +

    This function sets the user-defined pointer of the specified window. The current value is retained until the window is destroyed. The initial value is NULL.

    +
    Parameters
    + + + +
    [in]windowThe window whose pointer to set.
    [in]pointerThe new value.
    +
    +
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    User pointer
    +
    +glfwGetWindowUserPointer
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwShowWindow()

    + +
    +
    + + + + + + + + +
    void glfwShowWindow (GLFWwindowwindow)
    +
    +

    This function makes the specified window visible if it was previously hidden. If the window is already visible or is in full screen mode, this function does nothing.

    +
    Parameters
    + + +
    [in]windowThe window to make visible.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window visibility
    +
    +glfwHideWindow
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    + +

    ◆ glfwSwapBuffers()

    + +
    +
    + + + + + + + + +
    void glfwSwapBuffers (GLFWwindowwindow)
    +
    +

    This function swaps the front and back buffers of the specified window. If the swap interval is greater than zero, the GPU driver waits the specified number of screen updates before swapping the buffers.

    +
    Parameters
    + + +
    [in]windowThe window whose buffers to swap.
    +
    +
    +
    Thread Safety
    This function may be called from any thread.
    +
    See also
    Buffer swapping
    +
    +glfwSwapInterval
    +
    Since
    Added in GLFW 1.0.
    +
    GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwWaitEvents()

    + +
    +
    + + + + + + + + +
    void glfwWaitEvents (void )
    +
    +

    This function puts the calling thread to sleep until at least one event is available in the event queue. Once one or more events are available, it behaves exactly like glfwPollEvents, i.e. the events in the queue are processed and the function then returns immediately. Processing events will cause the window and input callbacks associated with those events to be called.

    +

    Since not all events are associated with callbacks, this function may return without a callback having been called even if you are monitoring all callbacks.

    +

    On some platforms, a window move, resize or menu operation will cause event processing to block. This is due to how event processing is designed on those platforms. You can use the window refresh callback to redraw the contents of your window when necessary during such operations.

    +

    On some platforms, certain callbacks may be called outside of a call to one of the event processing functions.

    +

    If no windows exist, this function returns immediately. For synchronization of threads in applications that do not create windows, use your threading library of choice.

    +

    Event processing is not required for joystick input to work.

    +
    Reentrancy
    This function may not be called from a callback.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Event processing
    +
    +glfwPollEvents
    +
    Since
    Added in GLFW 2.5.
    + +
    +
    + +

    ◆ glfwWindowHint()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwWindowHint (int target,
    int hint 
    )
    +
    +

    This function sets hints for the next call to glfwCreateWindow. The hints, once set, retain their values until changed by a call to glfwWindowHint or glfwDefaultWindowHints, or until the library is terminated.

    +
    Parameters
    + + + +
    [in]targetThe window hint to set.
    [in]hintThe new value of the window hint.
    +
    +
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window creation hints
    +
    +glfwDefaultWindowHints
    +
    Since
    Added in GLFW 3.0. Replaces glfwOpenWindowHint.
    + +
    +
    + +

    ◆ glfwWindowShouldClose()

    + +
    +
    + + + + + + + + +
    int glfwWindowShouldClose (GLFWwindowwindow)
    +
    +

    This function returns the value of the close flag of the specified window.

    +
    Parameters
    + + +
    [in]windowThe window to query.
    +
    +
    +
    Returns
    The value of the close flag.
    +
    Thread Safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    Window closing and close flag
    +
    Since
    Added in GLFW 3.0.
    + +
    +
    +
    + + + diff --git a/docs/3.1/index.html b/docs/3.1/index.html new file mode 100644 index 0000000..d61fdcd --- /dev/null +++ b/docs/3.1/index.html @@ -0,0 +1,89 @@ + + + + + + +GLFW: Main Page + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +

    +Introduction

    +

    GLFW is a free, Open Source, multi-platform library for creating windows with OpenGL or OpenGL ES contexts and receiving many kinds of input. It is easy to integrate into existing applications and does not lay claim to the main loop.

    +

    See New features in 3.1 for release highlights or the version history for details.

    +

    Getting started is a guide for those new to GLFW. It takes you through how to write a small but complete program. For people coming from GLFW 2, the Moving from GLFW 2 to 3 guide explains what has changed and how to update existing code to use the new API.

    +

    There are guides for each of the various areas of the API.

    + +

    Once you have written a program, see the Compiling GLFW and Building applications guides.
    + The reference documentation provides more detailed information about specific functions.

    +

    There is a section on Guarantees and limitations for pointer lifetimes, reentrancy, thread safety, event order and backward and forward compatibility.

    +

    The Oculus Rift guide fills in the gaps for how to use LibOVR with GLFW.

    +

    The FAQ answers many common questions about the design, implementation and use of GLFW.

    +

    Finally, the Standards conformance guide explains what APIs, standards and protocols GLFW uses and what happens when they are not present on a given machine.

    +

    This documentation was generated with Doxygen. The sources for it are available in both the source distribution and GitHub repository.

    +
    + + + diff --git a/docs/3.1/input.html b/docs/3.1/input.html new file mode 100644 index 0000000..de4b2a9 --- /dev/null +++ b/docs/3.1/input.html @@ -0,0 +1,239 @@ + + + + + + +GLFW: Input guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Input guide
    +
    +
    + +

    This guide introduces the input related functions of GLFW. There are also guides for the other areas of GLFW.

    + +

    GLFW provides many kinds of input. While some can only be polled, like time, or only received via callbacks, like scrolling, there are those that provide both callbacks and polling. Where a callback is provided, that is the recommended way to receive that kind of input. The more you can use callbacks the less time your users' machines will need to spend polling.

    +

    All input callbacks receive a window handle. By using the window user pointer, you can access non-global structures or objects from your callbacks.

    +

    To get a better feel for how the various events callbacks behave, run the events test program. It register every callback supported by GLFW and prints out all arguments provided for every event, along with time and sequence information.

    +

    +Event processing

    +

    GLFW needs to communicate regularly with the window system both in order to receive events and to show that the application hasn't locked up. Event processing must be done regularly while you have visible windows and is normally done each frame after buffer swapping.

    +

    There are two functions for processing pending events. glfwPollEvents, processes only those events that have already been received and then returns immediately.

    +

    This is the best choice when rendering continually, like most games do.

    +

    If you only need to update the contents of the window when you receive new input, glfwWaitEvents is a better choice.

    +

    It puts the thread to sleep until at least one event has been received and then processes all received events. This saves a great deal of CPU cycles and is useful for, for example, editing tools. There must be at least one GLFW window for this function to sleep.

    +

    If the main thread is sleeping in glfwWaitEvents, you can wake it from another thread by posting an empty event to the event queue with glfwPostEmptyEvent.

    +

    Do not assume that callbacks will only be called through either of the above functions. While it is necessary to process events in the event queue, some window systems will send some events directly to the application, which in turn causes callbacks to be called outside of regular event processing.

    +

    +Keyboard input

    +

    GLFW divides keyboard input into two categories; key events and character events. Key events relate to actual physical keyboard keys, whereas character events relate to the Unicode code points generated by pressing some of them.

    +

    Keys and characters do not map 1:1. A single key press may produce several characters, and a single character may require several keys to produce. This may not be the case on your machine, but your users are likely not all using the same keyboard layout, input method or even operating system as you.

    +

    +Key input

    +

    If you wish to be notified when a physical key is pressed or released or when it repeats, set a key callback.

    +
    glfwSetKeyCallback(window, key_callback);

    The callback function receives the keyboard key, platform-specific scancode, key action and modifier bits.

    +
    void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
    {
    if (key == GLFW_KEY_E && action == GLFW_PRESS)
    activate_airship();
    }

    The action is one of GLFW_PRESS, GLFW_REPEAT or GLFW_RELEASE. The key will be GLFW_KEY_UNKNOWN if GLFW lacks a key token for it, for example E-mail and Play keys.

    +

    The scancode is unique for every key, regardless of whether it has a key token. Scancodes are platform-specific but consistent over time, so keys will have different scancodes depending on the platform but they are safe to save to disk.

    +

    Key states for named keys are also saved in per-window state arrays that can be polled with glfwGetKey.

    +
    int state = glfwGetKey(window, GLFW_KEY_E);
    if (state == GLFW_PRESS)
    activate_airship();

    The returned state is one of GLFW_PRESS or GLFW_RELEASE.

    +

    This function only returns cached key event state. It does not poll the system for the current state of the key.

    +

    Whenever you poll state, you risk missing the state change you are looking for. If a pressed key is released again before you poll its state, you will have missed the key press. The recommended solution for this is to use a key callback, but there is also the GLFW_STICKY_KEYS input mode.

    +

    When sticky keys mode is enabled, the pollable state of a key will remain GLFW_PRESS until the state of that key is polled with glfwGetKey. Once it has been polled, if a key release event had been processed in the meantime, the state will reset to GLFW_RELEASE, otherwise it will remain GLFW_PRESS.

    +

    The GLFW_KEY_LAST constant holds the highest value of any named key.

    +

    +Text input

    +

    GLFW supports text input in the form of a stream of Unicode code points, as produced by the operating system text input system. Unlike key input, text input obeys keyboard layouts and modifier keys and supports composing characters using dead keys. Once received, you can encode the code points into UTF-8 or any other encoding you prefer.

    +

    Because an unsigned int is 32 bits long on all platforms supported by GLFW, you can treat the code point argument as native endian UTF-32.

    +

    There are two callbacks for receiving Unicode code points. If you wish to offer regular text input, set a character callback.

    +
    glfwSetCharCallback(window, character_callback);

    The callback function receives Unicode code points for key events that would have led to regular text input and generally behaves as a standard text field on that platform.

    +
    void character_callback(GLFWwindow* window, unsigned int codepoint)
    {
    }

    If you wish to receive even those Unicode code points generated with modifier key combinations that a plain text field would ignore, or just want to know exactly what modifier keys were used, set a character with modifiers callback.

    +
    glfwSetCharModsCallback(window, charmods_callback);

    The callback function receives Unicode code points and modifier bits.

    +
    void charmods_callback(GLFWwindow* window, unsigned int codepoint, int mods)
    {
    }

    +Mouse input

    +

    Mouse input comes in many forms, including cursor motion, button presses and scrolling offsets. The cursor appearance can also be changed, either to a custom image or a standard cursor shape from the system theme.

    +

    +Cursor position

    +

    If you wish to be notified when the cursor moves over the window, set a cursor position callback.

    +
    glfwSetCursorPosCallback(window, cursor_pos_callback);

    The callback functions receives the cursor position. On platforms that provide it, the full sub-pixel cursor position is passed on.

    +
    static void cursor_position_callback(GLFWwindow* window, double xpos, double ypos)
    {
    }

    The cursor position is also saved per-window and can be polled with glfwGetCursorPos.

    +
    double xpos, ypos;
    glfwGetCursorPos(window, &xpos, &ypos);

    +Cursor modes

    +

    The GLFW_CURSOR input mode provides several cursor modes for special forms of mouse motion input. By default, the cursor mode is GLFW_CURSOR_NORMAL, meaning the regular arrow cursor (or another cursor set with glfwSetCursor) is used and cursor motion is not limited.

    +

    If you wish to implement mouse motion based camera controls or other input schemes that require unlimited mouse movement, set the cursor mode to GLFW_CURSOR_DISABLED.

    +

    This will hide the cursor and lock it to the specified window. GLFW will then take care of all the details of cursor re-centering and offset calculation and providing the application with a virtual cursor position. This virtual position is provided normally via both the cursor position callback and through polling.

    +
    Note
    You should not implement your own version of this functionality using other features of GLFW. It is not supported and will not work as robustly as GLFW_CURSOR_DISABLED.
    +

    If you just wish the cursor to become hidden when it is over a window, set the cursor mode to GLFW_CURSOR_HIDDEN.

    +

    This mode puts no limit on the motion of the cursor.

    +

    To exit out of either of these special modes, restore the GLFW_CURSOR_NORMAL cursor mode.

    +

    +Cursor objects

    +

    GLFW supports creating both custom and system theme cursor images, encapsulated as GLFWcursor objects. They are created with glfwCreateCursor or glfwCreateStandardCursor and destroyed with glfwDestroyCursor, or glfwTerminate, if any remain.

    +

    +Custom cursor creation

    +

    A custom cursor is created with glfwCreateCursor, which returns a handle to the created cursor object. For example, this creates a 16x16 white square cursor with the hot-spot in the upper-left corner:

    +
    unsigned char pixels[16 * 16 * 4];
    memset(pixels, 0xff, sizeof(pixels));
    GLFWimage image;
    image.width = 16;
    image.height = 16;
    image.pixels = pixels;
    GLFWcursor* cursor = glfwCreateCursor(&image, 0, 0);

    If cursor creation fails, NULL will be returned, so it is necessary to check the return value.

    +

    The image data is 32-bit, little-endian, non-premultiplied RGBA, i.e. eight bits per channel. The pixels are arranged canonically as sequential rows, starting from the top-left corner.

    +

    +Standard cursor creation

    +

    A cursor with a standard shape from the current system cursor theme can be can be created with glfwCreateStandardCursor.

    +

    These cursor objects behave in the exact same way as those created with glfwCreateCursor except that the system cursor theme provides the actual image.

    +

    +Cursor destruction

    +

    When a cursor is no longer needed, destroy it with glfwDestroyCursor.

    +

    Cursor destruction always succeeds. All cursors remaining when glfwTerminate is called are destroyed as well.

    +

    +Cursor setting

    +

    A cursor can be set as current for a window with glfwSetCursor.

    +
    glfwSetCursor(window, cursor);

    Once set, the cursor image will be used as long as the system cursor is over the client area of the window and the cursor mode is set to GLFW_CURSOR_NORMAL.

    +

    A single cursor may be set for any number of windows.

    +

    To remove a cursor from a window, set the cursor of that window to NULL.

    +
    glfwSetCursor(window, NULL);

    When a cursor is destroyed, it is removed from any window where it is set. This does not affect the cursor modes of those windows.

    +

    +Cursor enter/leave events

    +

    If you wish to be notified when the cursor enters or leaves the client area of a window, set a cursor enter/leave callback.

    +
    glfwSetCursorEnterCallback(window, cursor_enter_callback);

    The callback function receives the new classification of the cursor.

    +
    void cursor_enter_callback(GLFWwindow* window, int entered)
    {
    if (entered)
    {
    // The cursor entered the client area of the window
    }
    else
    {
    // The cursor left the client area of the window
    }
    }

    +Mouse button input

    +

    If you wish to be notified when a mouse button is pressed or released, set a mouse button callback.

    +
    glfwSetMouseButtonCallback(window, mouse_button_callback);

    The callback function receives the mouse button, button action and modifier bits.

    +
    void mouse_button_callback(GLFWwindow* window, int button, int action, int mods)
    {
    if (button == GLFW_MOUSE_BUTTON_RIGHT && action == GLFW_PRESS)
    popup_menu();
    }

    The action is one of GLFW_PRESS or GLFW_RELEASE.

    +

    Mouse button states for named buttons are also saved in per-window state arrays that can be polled with glfwGetMouseButton.

    +
    if (state == GLFW_PRESS)
    upgrade_cow();

    The returned state is one of GLFW_PRESS or GLFW_RELEASE.

    +

    This function only returns cached mouse button event state. It does not poll the system for the current state of the mouse button.

    +

    Whenever you poll state, you risk missing the state change you are looking for. If a pressed mouse button is released again before you poll its state, you will have missed the button press. The recommended solution for this is to use a mouse button callback, but there is also the GLFW_STICKY_MOUSE_BUTTONS input mode.

    +

    When sticky mouse buttons mode is enabled, the pollable state of a mouse button will remain GLFW_PRESS until the state of that button is polled with glfwGetMouseButton. Once it has been polled, if a mouse button release event had been processed in the meantime, the state will reset to GLFW_RELEASE, otherwise it will remain GLFW_PRESS.

    +

    The GLFW_MOUSE_BUTTON_LAST constant holds the highest value of any named button.

    +

    +Scroll input

    +

    If you wish to be notified when the user scrolls, whether with a mouse wheel or touchpad gesture, set a scroll callback.

    +
    glfwSetScrollCallback(window, scroll_callback);

    The callback function receives two-dimensional scroll offsets.

    +
    void scroll_callback(GLFWwindow* window, double xoffset, double yoffset)
    {
    }

    A simple mouse wheel, being vertical, provides offsets along the Y-axis.

    +

    +Joystick input

    +

    The joystick functions expose connected joysticks and controllers, with both referred to as joysticks. It supports up to sixteen joysticks, ranging from GLFW_JOYSTICK_1, GLFW_JOYSTICK_2 up to GLFW_JOYSTICK_LAST. You can test whether a joystick is present with glfwJoystickPresent.

    +

    When GLFW is initialized, detected joysticks are added to to the beginning of the array, starting with GLFW_JOYSTICK_1. Once a joystick is detected, it keeps its assigned index until it is disconnected, so as joysticks are connected and disconnected, they will become spread out.

    +

    Joystick state is updated as needed when a joystick function is called and does not require a window to be created or glfwPollEvents or glfwWaitEvents to be called.

    +

    +Joystick axis states

    +

    The positions of all axes of a joystick are returned by glfwGetJoystickAxes. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    const float* axes = glfwGetJoystickAxes(GLFW_JOYSTICK_1, &count);

    Each element in the returned array is a value between -1.0 and 1.0.

    +

    +Joystick button states

    +

    The states of all buttons of a joystick are returned by glfwGetJoystickButtons. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    const unsigned char* axes = glfwGetJoystickButtons(GLFW_JOYSTICK_1, &count);

    Each element in the returned array is either GLFW_PRESS or GLFW_RELEASE.

    +

    +Joystick name

    +

    The human-readable, UTF-8 encoded name of a joystick is returned by glfwGetJoystickName. See the reference documentation for the lifetime of the returned string.
    +

    Joystick names are not guaranteed to be unique. Two joysticks of the same model and make may have the same name. Only the joystick token is guaranteed to be unique, and only until that joystick is disconnected.

    +

    +Time input

    +

    GLFW provides high-resolution time input, in seconds, with glfwGetTime.

    +
    double seconds = glfwGetTime();

    It returns the number of seconds since the timer was started when the library was initialized with glfwInit. The platform-specific time sources used usually have micro- or nanosecond resolution.

    +

    You can modify the reference time with glfwSetTime.

    +

    This sets the timer to the specified time, in seconds.

    +

    +Clipboard input and output

    +

    If the system clipboard contains a UTF-8 encoded string or if it can be converted to one, you can retrieve it with glfwGetClipboardString. See the reference documentation for the lifetime of the returned string.

    +
    const char* text = glfwGetClipboardString(window);
    if (text)
    insert_text(text);

    If the clipboard is empty or if its contents could not be converted, NULL is returned.

    +

    The contents of the system clipboard can be set to a UTF-8 encoded string with glfwSetClipboardString.

    +
    glfwSetClipboardString(window, "A string with words in it");

    The clipboard functions take a window handle argument because some window systems require a window to communicate with the system clipboard. Any valid window may be used.

    +

    +Path drop input

    +

    If you wish to receive the paths of files and/or directories dropped on a window, set a file drop callback.

    +
    glfwSetDropCallback(window, drop_callback);

    The callback function receives an array of paths encoded as UTF-8.

    +
    void drop_callback(GLFWwindow* window, int count, const char** paths)
    {
    int i;
    for (i = 0; i < count; i++)
    handle_dropped_file(paths[i]);
    }

    The path array and its strings are only valid until the file drop callback returns, as they may have been generated specifically for that event. You need to make a deep copy of the array if you want to keep the paths.

    +
    + + + diff --git a/docs/3.1/input_8dox.html b/docs/3.1/input_8dox.html new file mode 100644 index 0000000..a663e62 --- /dev/null +++ b/docs/3.1/input_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: input.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    input.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.1/intro.html b/docs/3.1/intro.html new file mode 100644 index 0000000..215c036 --- /dev/null +++ b/docs/3.1/intro.html @@ -0,0 +1,230 @@ + + + + + + +GLFW: Introduction to the API + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Introduction to the API
    +
    +
    + +

    This guide introduces the basic concepts of GLFW and describes initialization, error handling and API guarantees and limitations. For a broad but shallow tutorial, see Getting started instead. There are also guides for the other areas of GLFW.

    + +

    +Initialization and termination

    +

    Before most GLFW functions may be called, the library must be initialized. This initialization checks what features are available on the machine, enumerates monitors and joysticks, initializes the timer and performs any required platform-specific initialization.

    +

    Only the following functions may be called before the library has been successfully initialized, and only from the main thread.

    + +

    Calling any other function before that time will cause a GLFW_NOT_INITIALIZED error.

    +

    +Initializing GLFW

    +

    The library is initialized with glfwInit, which returns GL_FALSE if an error occurred.

    +
    if (!glfwInit())
    {
    // Handle initialization failure
    }

    If any part of initialization fails, all remaining bits are terminated as if glfwTerminate was called. The library only needs to be initialized once and additional calls to an already initialized library will simply return GL_TRUE immediately.

    +

    Once the library has been successfully initialized, it should be terminated before the application exits.

    +

    +Terminating GLFW

    +

    Before your application exits, you should terminate the GLFW library if it has been initialized. This is done with glfwTerminate.

    +

    This will destroy any remaining window, monitor and cursor objects, restore any modified gamma ramps, re-enable the screensaver if it had been disabled and free any resources allocated by GLFW.

    +

    Once the library is terminated, it is as if it had never been initialized and you will need to initialize it again before being able to use GLFW. If the library was not initialized or had already been terminated, it return immediately.

    +

    +Error handling

    +

    Some GLFW functions have return values that indicate an error, but this is often not very helpful when trying to figure out why the error occurred. Some functions also return otherwise valid values on error. Finally, far from all GLFW functions have return values.

    +

    This is where the error callback comes in. This callback is called whenever an error occurs. It is set with glfwSetErrorCallback, a function that may be called regardless of whether GLFW is initialized.

    +
    glfwSetErrorCallback(error_callback);

    The error callback receives a human-readable description of the error and (when possible) its cause. The description encoded as UTF-8. The callback is also provided with an error code.

    +
    void error_callback(int error, const char* description)
    {
    puts(description);
    }

    The error code indicates the general category of the error. Some error codes, such as GLFW_NOT_INITIALIZED has only a single meaning, whereas others like GLFW_PLATFORM_ERROR are used for many different errors.

    +

    The description string is only valid until the error callback returns, as it may have been generated specifically for that error. This lets GLFW provide much more specific error descriptions but means you must make a copy if you want to keep the description string.

    +
    Note
    Relying on erroneous behavior is not forward compatible. In other words, do not rely on a currently invalid call to generate a specific error, as that same call may in future versions generate a different error or become valid.
    +

    +Coordinate systems

    +

    GLFW has two primary coordinate systems: the virtual screen and the window client area or content area. Both use the same unit: virtual screen coordinates, or just screen coordinates, which don't necessarily correspond to pixels.

    +
    + +
    +

    Both the virtual screen and the client area coordinate systems have the X-axis pointing to the right and the Y-axis pointing down.

    +

    Window and monitor positions are specified as the position of the upper-left corners of their content areas relative to the virtual screen, while cursor positions are specified relative to a window's client area.

    +

    Because the origin of the window's client area coordinate system is also the point from which the window position is specified, you can translate client area coordinates to the virtual screen by adding the window position. The window frame, when present, extends out from the client area but does not affect the window position.

    +

    Almost all positions and sizes in GLFW are measured in screen coordinates relative to one of the two origins above. This includes cursor positions, window positions and sizes, window frame sizes, monitor positions and video mode resolutions.

    +

    Two exceptions are the monitor physical size, which is measured in millimetres, and framebuffer size, which is measured in pixels.

    +

    Pixels and screen coordinates may map 1:1 on your machine, but they won't on every other machine, for example on a Mac with a Retina display. The ratio between screen coordinates and pixels may also change at run-time depending on which monitor the window is currently considered to be on.

    +

    +Guarantees and limitations

    +

    This section describes the conditions under which GLFW can be expected to function, barring bugs in the operating system or drivers. Use of GLFW outside of these limits may work on some platforms, or on some machines, or some of the time, or on some versions of GLFW, but it may break at any time and this will not be considered a bug.

    +

    +Pointer lifetimes

    +

    GLFW will never free any pointer you provide to it and you must never free any pointer it provides to you.

    +

    Many GLFW functions return pointers to dynamically allocated structures, strings or arrays, and some callbacks are provided with strings or arrays. These are always managed by GLFW and should never be freed by the application. The lifetime of these pointers is documented for each GLFW function and callback. If you need to keep this data, you must copy it before its lifetime expires.

    +

    Many GLFW functions accept pointers to structures or strings allocated by the application. These are never freed by GLFW and are always the responsibility of the application. If GLFW needs to keep the data in these structures or strings, it is copied before the function returns.

    +

    Pointer lifetimes are guaranteed not to be shortened in future minor or patch releases.

    +

    +Reentrancy

    +

    GLFW event processing and object creation and destruction are not reentrant. This means that the following functions may not be called from any callback function:

    + +

    These functions may be made reentrant in future minor or patch releases, but functions not on this list will not be made non-reentrant.

    +

    +Thread safety

    +

    Most GLFW functions may only be called from the main thread, but some may be called from any thread. However, no GLFW function may be called from any other thread until GLFW has been successfully initialized on the main thread, including functions that may called before initialization.

    +

    The reference documentation for every GLFW function states whether it is limited to the main thread.
    + Initialization and termination, event processing and the creation and destruction of windows, contexts and cursors are all limited to the main thread due to limitations of one or several platforms.

    +

    Because event processing must be performed on the main thread, all callbacks except for the error callback will only be called on that thread. The error callback may be called on any thread, as any GLFW function may generate errors.

    +

    The posting of empty events may be done from any thread. The window user pointer and close flag may also be accessed and modified from any thread, but this is not synchronized by GLFW. The following window related functions may be called from any thread:

    + +

    Rendering may be done on any thread. The following context related functions may be called from any thread:

    + +

    The timer may be accessed from any thread, but this is not synchronized by GLFW. The following timer related functions may be called from any thread:
    +

    +

    Library version information may be queried from any thread. The following version related functions may be called from any thread:

    + +

    GLFW uses no synchronization objects internally except for thread-local storage to keep track of the current context for each thread. Synchronization is left to the application.

    +

    Functions that may currently be called from any thread will always remain so, but functions that are currently limited to the main may be updated to allow calls from any thread in future releases.

    +

    +Version compatibility

    +

    GLFW guarantees binary backward compatibility with earlier minor versions of the API. This means that you can drop in a newer version of the GLFW DLL / shared library / dynamic library and existing applications will continue to run.

    +

    Once a function or constant has been added, the signature of that function or value of that constant will remain unchanged until the next major version of GLFW. No compatibility of any kind is guaranteed between major versions.

    +

    Undocumented behavior, i.e. behavior that is not described in the documentation, may change at any time until it is documented.

    +

    If the reference documentation and the implementation differ, the reference documentation is correct and the implementation will be fixed in the next release.

    +

    +Event order

    +

    The order of arrival of related events is not guaranteed to be consistent across platforms. The exception is synthetic key and mouse button release events, which are always delivered after the window defocus event.

    +

    +Version management

    +

    GLFW provides mechanisms for identifying what version of GLFW your application was compiled against as well as what version it is currently running against. If you are loading GLFW dynamically (not just linking dynamically), you can use this to verify that the library binary is compatible with your application.

    +

    +Compile-time version

    +

    The compile-time version of GLFW is provided by the GLFW header with the GLFW_VERSION_MAJOR, GLFW_VERSION_MINOR and GLFW_VERSION_REVISION macros.

    +
    printf("Compiled against GLFW %i.%i.%i\n",

    +Run-time version

    +

    The run-time version can be retrieved with glfwGetVersion, a function that may be called regardless of whether GLFW is initialized.

    +
    int major, minor, revision;
    glfwGetVersion(&major, &minor, &revision);
    printf("Running against GLFW %i.%i.%i\n", major, minor, revision);

    +Version string

    +

    GLFW 3 also provides a compile-time generated version string that describes the version, platform, compiler and any platform-specific compile-time options. This is primarily intended for submitting bug reports, to allow developers to see which code paths are enabled in a binary.

    +

    The version string is returned by glfwGetVersionString, a function that may be called regardless of whether GLFW is initialized.

    +

    Do not use the version string to parse the GLFW library version. The glfwGetVersion function already provides the version of the running library binary.

    +

    The format of the string is as follows:

      +
    • The version of GLFW
    • +
    • The name of the window system API
    • +
    • The name of the context creation API
    • +
    • Any additional options or APIs
    • +
    +

    For example, when compiling GLFW 3.0 with MinGW using the Win32 and WGL back ends, the version string may look something like this:

    +
    3.0.0 Win32 WGL MinGW
    + + + diff --git a/docs/3.1/intro_8dox.html b/docs/3.1/intro_8dox.html new file mode 100644 index 0000000..67b39e5 --- /dev/null +++ b/docs/3.1/intro_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: intro.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    intro.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.1/jquery.js b/docs/3.1/jquery.js new file mode 100644 index 0000000..2771c74 --- /dev/null +++ b/docs/3.1/jquery.js @@ -0,0 +1,115 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +/*! + * jQuery JavaScript Library v1.7.1 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Mon Nov 21 21:11:03 2011 -0500 + */ +(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
    a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
    ";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
    t
    ";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
    ";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); +/*! + * Sizzle CSS Selector Engine + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

    ";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
    ";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/",""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
    ","
    "]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
    ").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/*! + * jQuery UI 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI + */ +(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/*! + * jQuery UI Widget 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Widget + */ +(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/*! + * jQuery UI Mouse 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Mouse + * + * Depends: + * jquery.ui.widget.js + */ +(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
    ');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*! + * jQuery hashchange event - v1.3 - 7/21/2010 + * http://benalman.com/projects/jquery-hashchange-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$(' + + + +
    +
    +
    main.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.1/menu.js b/docs/3.1/menu.js new file mode 100644 index 0000000..89aaf57 --- /dev/null +++ b/docs/3.1/menu.js @@ -0,0 +1,50 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { + function makeTree(data,relPath) { + var result=''; + if ('children' in data) { + result+=''; + } + return result; + } + + $('#main-nav').append(makeTree(menudata,relPath)); + $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); + if (searchEnabled) { + if (serverSide) { + $('#main-menu').append('
  • '); + } else { + $('#main-menu').append('
  • '); + } + } + $('#main-menu').smartmenus(); +} +/* @license-end */ diff --git a/docs/3.1/menudata.js b/docs/3.1/menudata.js new file mode 100644 index 0000000..3a64946 --- /dev/null +++ b/docs/3.1/menudata.js @@ -0,0 +1,92 @@ +/* +@ @licstart The following is the entire license notice for the +JavaScript code in this file. + +Copyright (C) 1997-2017 by Dimitri van Heesch + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +@licend The above is the entire license notice +for the JavaScript code in this file +*/ +var menudata={children:[ +{text:"Main Page",url:"index.html"}, +{text:"Related Pages",url:"pages.html"}, +{text:"Modules",url:"modules.html"}, +{text:"Data Structures",url:"annotated.html",children:[ +{text:"Data Structures",url:"annotated.html"}, +{text:"Data Structure Index",url:"classes.html"}, +{text:"Data Fields",url:"functions.html",children:[ +{text:"All",url:"functions.html"}, +{text:"Variables",url:"functions_vars.html"}]}]}, +{text:"Files",url:"files.html",children:[ +{text:"File List",url:"files.html"}, +{text:"Globals",url:"globals.html",children:[ +{text:"All",url:"globals.html",children:[ +{text:"a",url:"globals.html#index_a"}, +{text:"b",url:"globals_b.html#index_b"}, +{text:"c",url:"globals_c.html#index_c"}, +{text:"d",url:"globals_d.html#index_d"}, +{text:"e",url:"globals_e.html#index_e"}, +{text:"f",url:"globals_f.html#index_f"}, +{text:"g",url:"globals_g.html#index_g"}, +{text:"h",url:"globals_h.html#index_h"}, +{text:"i",url:"globals_i.html#index_i"}, +{text:"j",url:"globals_j.html#index_j"}, +{text:"k",url:"globals_k.html#index_k"}, +{text:"l",url:"globals_l.html#index_l"}, +{text:"m",url:"globals_m.html#index_m"}, +{text:"n",url:"globals_n.html#index_n"}, +{text:"o",url:"globals_o.html#index_o"}, +{text:"p",url:"globals_p.html#index_p"}, +{text:"r",url:"globals_r.html#index_r"}, +{text:"s",url:"globals_s.html#index_s"}, +{text:"t",url:"globals_t.html#index_t"}, +{text:"v",url:"globals_v.html#index_v"}, +{text:"w",url:"globals_w.html#index_w"}]}, +{text:"Functions",url:"globals_func.html",children:[ +{text:"c",url:"globals_func.html#index_c"}, +{text:"d",url:"globals_func.html#index_d"}, +{text:"e",url:"globals_func.html#index_e"}, +{text:"g",url:"globals_func.html#index_g"}, +{text:"h",url:"globals_func.html#index_h"}, +{text:"i",url:"globals_func.html#index_i"}, +{text:"j",url:"globals_func.html#index_j"}, +{text:"m",url:"globals_func.html#index_m"}, +{text:"p",url:"globals_func.html#index_p"}, +{text:"r",url:"globals_func.html#index_r"}, +{text:"s",url:"globals_func.html#index_s"}, +{text:"t",url:"globals_func.html#index_t"}, +{text:"w",url:"globals_func.html#index_w"}]}, +{text:"Typedefs",url:"globals_type.html"}, +{text:"Macros",url:"globals_defs.html",children:[ +{text:"a",url:"globals_defs.html#index_a"}, +{text:"b",url:"globals_defs_b.html#index_b"}, +{text:"c",url:"globals_defs_c.html#index_c"}, +{text:"d",url:"globals_defs_d.html#index_d"}, +{text:"f",url:"globals_defs_f.html#index_f"}, +{text:"g",url:"globals_defs_g.html#index_g"}, +{text:"h",url:"globals_defs_h.html#index_h"}, +{text:"i",url:"globals_defs_i.html#index_i"}, +{text:"j",url:"globals_defs_j.html#index_j"}, +{text:"k",url:"globals_defs_k.html#index_k"}, +{text:"l",url:"globals_defs_l.html#index_l"}, +{text:"m",url:"globals_defs_m.html#index_m"}, +{text:"n",url:"globals_defs_n.html#index_n"}, +{text:"o",url:"globals_defs_o.html#index_o"}, +{text:"p",url:"globals_defs_p.html#index_p"}, +{text:"r",url:"globals_defs_r.html#index_r"}, +{text:"s",url:"globals_defs_s.html#index_s"}, +{text:"v",url:"globals_defs_v.html#index_v"}]}]}]}]} diff --git a/docs/3.1/modules.html b/docs/3.1/modules.html new file mode 100644 index 0000000..d24e870 --- /dev/null +++ b/docs/3.1/modules.html @@ -0,0 +1,89 @@ + + + + + + +GLFW: Modules + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Modules
    +
    +
    +
    Here is a list of all modules:
    +
    [detail level 12]
    + + + + + + + + + + + + +
     Context handling
     Initialization, version and errors
     Error codes
     Input handling
     Joysticks
     Keyboard keys
     Modifier key flags
     Mouse buttons
     Standard cursor shapes
     Monitor handling
     Native access
     Window handling
    + + + + + diff --git a/docs/3.1/monitor.html b/docs/3.1/monitor.html new file mode 100644 index 0000000..9f1ec71 --- /dev/null +++ b/docs/3.1/monitor.html @@ -0,0 +1,137 @@ + + + + + + +GLFW: Monitor guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Monitor guide
    +
    +
    + +

    This guide introduces the monitor related functions of GLFW. There are also guides for the other areas of GLFW.

    + +

    +Monitor objects

    +

    A monitor object represents a currently connected monitor and is represented as a pointer to the opaque type GLFWmonitor. 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 terminated.

    +

    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.

    +

    The virtual position of a monitor is in screen coordinates and, together with the current video mode, describes the viewports that the connected monitors provide into the virtual desktop that spans them.

    +

    To see how GLFW views your monitor setup and its available video modes, run the monitors test program.

    +

    +Retrieving monitors

    +

    The primary monitor is returned by glfwGetPrimaryMonitor. It is the user's preferred monitor and is usually the one with global UI elements like task bar or menu bar.

    +

    You can retrieve all currently connected monitors with glfwGetMonitors. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    GLFWmonitor** monitors = glfwGetMonitors(&count);

    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.

    +

    +Monitor configuration changes

    +

    If you wish to be notified when a monitor is connected or disconnected, set a monitor callback.

    +
    glfwSetMonitorCallback(monitor_callback);

    The callback function receives the handle for the monitor that has been connected or disconnected and a monitor action.

    +
    void monitor_callback(GLFWmonitor* monitor, int event)
    {
    }

    The action is one of GLFW_CONNECTED or GLFW_DISCONNECTED.

    +

    +Monitor properties

    +

    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.

    +

    +Video modes

    +

    GLFW generally does a good job selecting a suitable video mode when you create a full screen window, but it is sometimes useful to know exactly which video modes are supported.

    +

    Video modes are represented as GLFWvidmode structures. You can get an array of the video modes supported by a monitor with glfwGetVideoModes. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    GLFWvidmode* modes = glfwGetVideoModes(monitor, &count);

    To get the current video mode of a monitor call glfwGetVideoMode. See the reference documentation for the lifetime of the returned pointer.

    +
    const GLFWvidmode* mode = glfwGetVideoMode(monitor);

    The resolution of a video mode is specified in screen coordinates, not pixels.

    +

    +Physical size

    +

    The physical size of a monitor in millimetres, or an estimation of it, can be retrieved with glfwGetMonitorPhysicalSize. This has no relation to its current resolution, i.e. the width and height of its current video mode.

    +
    int widthMM, heightMM;
    glfwGetMonitorPhysicalSize(monitor, &widthMM, &heightMM);

    This can, for example, be used together with the current video mode to calculate the DPI of a monitor.

    +
    const double dpi = mode->width / (widthMM / 25.4);

    +Virtual position

    +

    The position of the monitor on the virtual desktop, in screen coordinates, can be retrieved with glfwGetMonitorPos.

    +
    int xpos, ypos;
    glfwGetMonitorPos(monitor, &xpos, &ypos);

    +Human-readable name

    +

    The human-readable, UTF-8 encoded name of a monitor is returned by glfwGetMonitorName. See the reference documentation for the lifetime of the returned string.

    +
    const char* name = glfwGetMonitorName(monitor);

    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.

    +

    +Gamma ramp

    +

    The gamma ramp of a monitor can be set with glfwSetGammaRamp, which accepts a monitor handle and a pointer to a GLFWgammaramp structure.

    +
    unsigned short red[256], green[256], blue[256];
    ramp.size = 256;
    ramp.red = red;
    ramp.green = green;
    ramp.blue = blue;
    for (i = 0; i < ramp.size; i++)
    {
    // Fill out gamma ramp arrays as desired
    }
    glfwSetGammaRamp(monitor, &ramp);

    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.

    +
    Note
    It is recommended to use gamma ramps of size 256, as that is the size supported by all graphics cards on all platforms.
    +

    The current gamma ramp for a monitor is returned by glfwGetGammaRamp. See the reference documentation for the lifetime of the returned structure.

    +
    const GLFWgammaramp* ramp = glfwGetGammaRamp(monitor);

    If you wish to set a regular gamma ramp, you can have GLFW calculate it for you from the desired exponent with glfwSetGamma, which in turn calls glfwSetGammaRamp with the resulting ramp.

    +
    glfwSetGamma(monitor, 1.0);
    + + + diff --git a/docs/3.1/monitor_8dox.html b/docs/3.1/monitor_8dox.html new file mode 100644 index 0000000..5f4e123 --- /dev/null +++ b/docs/3.1/monitor_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: monitor.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    monitor.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.1/moving.html b/docs/3.1/moving.html new file mode 100644 index 0000000..fbe4712 --- /dev/null +++ b/docs/3.1/moving.html @@ -0,0 +1,300 @@ + + + + + + +GLFW: Moving from GLFW 2 to 3 + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Moving from GLFW 2 to 3
    +
    +
    + +

    This is a transition guide for moving from GLFW 2 to 3. It describes what has changed or been removed, but does not include new features unless they are required when moving an existing code base onto the new API. For example, the new multi-monitor functions are required to create full screen windows with GLFW 3.

    +

    +Changed and removed features

    +

    +Renamed library and header file

    +

    The GLFW 3 header is named glfw3.h and moved to the GLFW directory, to avoid collisions with the headers of other major versions. Similarly, the GLFW 3 library is named glfw3, except when it's installed as a shared library on Unix-like systems, where it uses the soname libglfw.so.3.

    +
    Old syntax
    #include <GL/glfw.h>
    +
    New syntax
    #include <GLFW/glfw3.h>
    +

    +Removal of threading functions

    +

    The threading functions have been removed, including the per-thread sleep function. They were fairly primitive, under-used, poorly integrated and took time away from the focus of GLFW (i.e. context, input and window). There are better threading libraries available and native threading support is available in both C++11 and C11, both of which are gaining traction.

    +

    If you wish to use the C++11 or C11 facilities but your compiler doesn't yet support them, see the TinyThread++ and TinyCThread projects created by the original author of GLFW. These libraries implement a usable subset of the threading APIs in C++11 and C11, and in fact some GLFW 3 test programs use TinyCThread.

    +

    However, GLFW 3 has better support for use from multiple threads than GLFW 2 had. Contexts can be made current on any thread, although only a single thread at a time, and the documentation explicitly states which functions may be used from any thread and which may only be used from the main thread.

    +
    Removed functions
    glfwSleep, glfwCreateThread, glfwDestroyThread, glfwWaitThread, glfwGetThreadID, glfwCreateMutex, glfwDestroyMutex, glfwLockMutex, glfwUnlockMutex, glfwCreateCond, glfwDestroyCond, glfwWaitCond, glfwSignalCond, glfwBroadcastCond and glfwGetNumberOfProcessors.
    +

    +Removal of image and texture loading

    +

    The image and texture loading functions have been removed. They only supported the Targa image format, making them mostly useful for beginner level examples. To become of sufficiently high quality to warrant keeping them in GLFW 3, they would need not only to support other formats, but also modern extensions to OpenGL texturing. This would either add a number of external dependencies (libjpeg, libpng, etc.), or force GLFW to ship with inline versions of these libraries.

    +

    As there already are libraries doing this, it is unnecessary both to duplicate the work and to tie the duplicate to GLFW. The resulting library would also be platform-independent, as both OpenGL and stdio are available wherever GLFW is.

    +
    Removed functions
    glfwReadImage, glfwReadMemoryImage, glfwFreeImage, glfwLoadTexture2D, glfwLoadMemoryTexture2D and glfwLoadTextureImage2D.
    +

    +Removal of GLFWCALL macro

    +

    The GLFWCALL macro, which made callback functions use __stdcall on Windows, has been removed. GLFW is written in C, not Pascal. Removing this macro means there's one less thing for application programmers to remember, i.e. the requirement to mark all callback functions with GLFWCALL. It also simplifies the creation of DLLs and DLL link libraries, as there's no need to explicitly disable @n entry point suffixes.

    +
    Old syntax
    void GLFWCALL callback_function(...);
    +
    New syntax
    void callback_function(...);
    +

    +Window handle parameters

    +

    Because GLFW 3 supports multiple windows, window handle parameters have been added to all window-related GLFW functions and callbacks. The handle of a newly created window is returned by glfwCreateWindow (formerly glfwOpenWindow). Window handles are pointers to the opaque type GLFWwindow.

    +
    Old syntax
    glfwSetWindowTitle("New Window Title");
    +
    New syntax
    glfwSetWindowTitle(window, "New Window Title");
    +

    +Explicit monitor selection

    +

    GLFW 3 provides support for multiple monitors. To request a full screen mode window, instead of passing GLFW_FULLSCREEN you specify which monitor you wish the window to use. The glfwGetPrimaryMonitor function returns the monitor that GLFW 2 would have selected, but there are many other monitor functions. Monitor handles are pointers to the opaque type GLFWmonitor.

    +
    Old basic full screen
    glfwOpenWindow(640, 480, 8, 8, 8, 0, 24, 0, GLFW_FULLSCREEN);
    +
    New basic full screen
    window = glfwCreateWindow(640, 480, "My Window", glfwGetPrimaryMonitor(), NULL);
    +
    Note
    The framebuffer bit depth parameters of glfwOpenWindow have been turned into window hints, but as they have been given sane defaults you rarely need to set these hints.
    +

    +Removal of automatic event polling

    +

    GLFW 3 does not automatically poll for events in glfwSwapBuffers, meaning you need to call glfwPollEvents or glfwWaitEvents yourself. Unlike buffer swap, which acts on a single window, the event processing functions act on all windows at once.

    +
    Old basic main loop
    while (...)
    {
    // Process input
    // Render output
    }
    +
    New basic main loop
    while (...)
    {
    // Process input
    // Render output
    glfwSwapBuffers(window);
    }
    +

    +Explicit context management

    +

    Each GLFW 3 window has its own OpenGL context and only you, the application programmer, can know which context should be current on which thread at any given time. Therefore, GLFW 3 leaves that decision to you.

    +

    This means that you need to call glfwMakeContextCurrent after creating a window before you can call any OpenGL functions.

    +

    +Separation of window and framebuffer sizes

    +

    Window positions and sizes now use screen coordinates, which may not be the same as pixels on machines with high-DPI monitors. This is important as OpenGL uses pixels, not screen coordinates. For example, the rectangle specified with glViewport needs to use pixels. Therefore, framebuffer size functions have been added. You can retrieve the size of the framebuffer of a window with glfwGetFramebufferSize function. A framebuffer size callback has also been added, which can be set with glfwSetFramebufferSizeCallback.

    +
    Old basic viewport setup
    glfwGetWindowSize(&width, &height);
    glViewport(0, 0, width, height);
    +
    New basic viewport setup
    glfwGetFramebufferSize(window, &width, &height);
    glViewport(0, 0, width, height);
    +

    +Window closing changes

    +

    The GLFW_OPENED window parameter has been removed. As long as the window has not been destroyed, whether through glfwDestroyWindow or glfwTerminate, the window is "open".

    +

    A user attempting to close a window is now just an event like any other. Unlike GLFW 2, windows and contexts created with GLFW 3 will never be destroyed unless you choose them to be. Each window now has a close flag that is set to GL_TRUE when the user attempts to close that window. By default, nothing else happens and the window stays visible. It is then up to you to either destroy the window, take some other action or simply ignore the request.

    +

    You can query the close flag at any time with glfwWindowShouldClose and set it at any time with glfwSetWindowShouldClose.

    +
    Old basic main loop
    while (glfwGetWindowParam(GLFW_OPENED))
    {
    ...
    }
    +
    New basic main loop
    while (!glfwWindowShouldClose(window))
    {
    ...
    }
    +

    The close callback no longer returns a value. Instead, it is called after the close flag has been set so it can override its value, if it chooses to, before event processing completes. You may however not call glfwDestroyWindow from the close callback (or any other window related callback).

    +
    Old syntax
    int GLFWCALL window_close_callback(void);
    +
    New syntax
    void window_close_callback(GLFWwindow* window);
    +
    Note
    GLFW never clears the close flag to GL_FALSE, meaning you can use it for other reasons to close the window as well, for example the user choosing Quit from an in-game menu.
    +

    +Persistent window hints

    +

    The glfwOpenWindowHint function has been renamed to glfwWindowHint.

    +

    Window hints are no longer reset to their default values on window creation, but instead retain their values until modified by glfwWindowHint or glfwDefaultWindowHints, or until the library is terminated and re-initialized.

    +

    +Video mode enumeration

    +

    Video mode enumeration is now per-monitor. The glfwGetVideoModes function now returns all available modes for a specific monitor instead of requiring you to guess how large an array you need. The glfwGetDesktopMode function, which had poorly defined behavior, has been replaced by glfwGetVideoMode, which returns the current mode of a monitor.

    +

    +Removal of character actions

    +

    The action parameter of the character callback has been removed. This was an artefact of the origin of GLFW, i.e. being developed in English by a Swede. However, many keyboard layouts require more than one key to produce characters with diacritical marks. Even the Swedish keyboard layout requires this for uncommon cases like ü.

    +
    Old syntax
    void GLFWCALL character_callback(int character, int action);
    +
    New syntax
    void character_callback(GLFWwindow* window, int character);
    +

    +Cursor position changes

    +

    The glfwGetMousePos function has been renamed to glfwGetCursorPos, glfwSetMousePos to glfwSetCursorPos and glfwSetMousePosCallback to glfwSetCursorPosCallback.

    +

    The cursor position is now double instead of int, both for the direct functions and for the callback. Some platforms can provide sub-pixel cursor movement and this data is now passed on to the application where available. On platforms where this is not provided, the decimal part is zero.

    +

    GLFW 3 only allows you to position the cursor within a window using glfwSetCursorPos (formerly glfwSetMousePos) when that window is active. Unless the window is active, the function fails silently.

    +

    +Wheel position replaced by scroll offsets

    +

    The glfwGetMouseWheel function has been removed. Scrolling is the input of offsets and has no absolute position. The mouse wheel callback has been replaced by a scroll callback that receives two-dimensional floating point scroll offsets. This allows you to receive precise scroll data from for example modern touchpads.

    +
    Old syntax
    void GLFWCALL mouse_wheel_callback(int position);
    +
    New syntax
    void scroll_callback(GLFWwindow* window, double xoffset, double yoffset);
    +
    Removed functions
    glfwGetMouseWheel
    +

    +Key repeat action

    +

    The GLFW_KEY_REPEAT enable has been removed and key repeat is always enabled for both keys and characters. A new key action, GLFW_REPEAT, has been added to allow the key callback to distinguish an initial key press from a repeat. Note that glfwGetKey still returns only GLFW_PRESS or GLFW_RELEASE.

    +

    +Physical key input

    +

    GLFW 3 key tokens map to physical keys, unlike in GLFW 2 where they mapped to the values generated by the current keyboard layout. The tokens are named according to the values they would have using the standard US layout, but this is only a convenience, as most programmers are assumed to know that layout. This means that (for example) GLFW_KEY_LEFT_BRACKET is always a single key and is the same key in the same place regardless of what keyboard layouts the users of your program has.

    +

    The key input facility was never meant for text input, although using it that way worked slightly better in GLFW 2. If you were using it to input text, you should be using the character callback instead, on both GLFW 2 and 3. This will give you the characters being input, as opposed to the keys being pressed.

    +

    GLFW 3 has key tokens for all keys on a standard 105 key keyboard, so instead of having to remember whether to check for ‘'a’or'A', you now check for GLFW_KEY_A`.

    +

    +Joystick function changes

    +

    The glfwGetJoystickPos function has been renamed to glfwGetJoystickAxes.

    +

    The glfwGetJoystickParam function and the GLFW_PRESENT, GLFW_AXES and GLFW_BUTTONS tokens have been replaced by the glfwJoystickPresent function as well as axis and button counts returned by the glfwGetJoystickAxes and glfwGetJoystickButtons functions.

    +

    +Win32 MBCS support

    +

    The Win32 port of GLFW 3 will not compile in MBCS mode. However, because the use of the Unicode version of the Win32 API doesn't affect the process as a whole, but only those windows created using it, it's perfectly possible to call MBCS functions from other parts of the same application. Therefore, even if an application using GLFW has MBCS mode code, there's no need for GLFW itself to support it.

    +

    +Support for versions of Windows older than XP

    +

    All explicit support for version of Windows older than XP has been removed. There is no code that actively prevents GLFW 3 from running on these earlier versions, but it uses Win32 functions that those versions lack.

    +

    Windows XP was released in 2001, and by now (January 2015) it has not only replaced almost all earlier versions of Windows, but is itself rapidly being replaced by Windows 7 and 8. The MSDN library doesn't even provide documentation for version older than Windows 2000, making it difficult to maintain compatibility with these versions even if it was deemed worth the effort.

    +

    The Win32 API has also not stood still, and GLFW 3 uses many functions only present on Windows XP or later. Even supporting an OS as new as XP (new from the perspective of GLFW 2, which still supports Windows 95) requires runtime checking for a number of functions that are present only on modern version of Windows.

    +

    +Capture of system-wide hotkeys

    +

    The ability to disable and capture system-wide hotkeys like Alt+Tab has been removed. Modern applications, whether they're games, scientific visualisations or something else, are nowadays expected to be good desktop citizens and allow these hotkeys to function even when running in full screen mode.

    +

    +Automatic termination

    +

    GLFW 3 does not register glfwTerminate with atexit at initialization, because exit calls registered functions from the calling thread and while it is permitted to call exit from any thread, glfwTerminate may only be called from the main thread.

    +

    To release all resources allocated by GLFW, you should call glfwTerminate yourself, from the main thread, before the program terminates. Note that this destroys all windows not already destroyed with glfwDestroyWindow, invalidating any window handles you may still have.

    +

    +GLU header inclusion

    +

    GLFW 3 does not by default include the GLU header and GLU itself has been deprecated by Khronos. New projects should not use GLU, but if you need it for legacy code that has been moved to GLFW 3, you can request that the GLFW header includes it by defining GLFW_INCLUDE_GLU before the inclusion of the GLFW header.

    +
    Old syntax
    #include <GL/glfw.h>
    +
    New syntax
    #define GLFW_INCLUDE_GLU
    #include <GLFW/glfw3.h>
    +

    +Name change tables

    +

    +Renamed functions

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFW 2 GLFW 3 Notes
    glfwOpenWindow glfwCreateWindow All channel bit depths are now hints
    glfwCloseWindow glfwDestroyWindow
    glfwOpenWindowHint glfwWindowHint Now accepts all GLFW_*_BITS tokens
    glfwEnable glfwSetInputMode
    glfwDisable glfwSetInputMode
    glfwGetMousePos glfwGetCursorPos
    glfwSetMousePos glfwSetCursorPos
    glfwSetMousePosCallback glfwSetCursorPosCallback
    glfwSetMouseWheelCallback glfwSetScrollCallback Accepts two-dimensional scroll offsets as doubles
    glfwGetJoystickPos glfwGetJoystickAxes
    glfwGetWindowParam glfwGetWindowAttrib
    glfwGetGLVersion glfwGetWindowAttrib Use GLFW_CONTEXT_VERSION_MAJOR, GLFW_CONTEXT_VERSION_MINOR and GLFW_CONTEXT_REVISION
    glfwGetDesktopMode glfwGetVideoMode Returns the current mode of a monitor
    glfwGetJoystickParam glfwJoystickPresent The axis and button counts are provided by glfwGetJoystickAxes and glfwGetJoystickButtons
    +

    +Renamed tokens

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFW 2 GLFW 3 Notes
    GLFW_OPENGL_VERSION_MAJOR GLFW_CONTEXT_VERSION_MAJOR Renamed as it applies to OpenGL ES as well
    GLFW_OPENGL_VERSION_MINOR GLFW_CONTEXT_VERSION_MINOR Renamed as it applies to OpenGL ES as well
    GLFW_FSAA_SAMPLES GLFW_SAMPLES Renamed to match the OpenGL API
    GLFW_ACTIVE GLFW_FOCUSED Renamed to match the window focus callback
    GLFW_WINDOW_NO_RESIZE GLFW_RESIZABLE The default has been inverted
    GLFW_MOUSE_CURSOR GLFW_CURSOR Used with glfwSetInputMode
    GLFW_KEY_ESC GLFW_KEY_ESCAPE
    GLFW_KEY_DEL GLFW_KEY_DELETE
    GLFW_KEY_PAGEUP GLFW_KEY_PAGE_UP
    GLFW_KEY_PAGEDOWN GLFW_KEY_PAGE_DOWN
    GLFW_KEY_KP_NUM_LOCK GLFW_KEY_NUM_LOCK
    GLFW_KEY_LCTRL GLFW_KEY_LEFT_CONTROL
    GLFW_KEY_LSHIFT GLFW_KEY_LEFT_SHIFT
    GLFW_KEY_LALT GLFW_KEY_LEFT_ALT
    GLFW_KEY_LSUPER GLFW_KEY_LEFT_SUPER
    GLFW_KEY_RCTRL GLFW_KEY_RIGHT_CONTROL
    GLFW_KEY_RSHIFT GLFW_KEY_RIGHT_SHIFT
    GLFW_KEY_RALT GLFW_KEY_RIGHT_ALT
    GLFW_KEY_RSUPER GLFW_KEY_RIGHT_SUPER
    +
    + + + diff --git a/docs/3.1/moving_8dox.html b/docs/3.1/moving_8dox.html new file mode 100644 index 0000000..5533cd8 --- /dev/null +++ b/docs/3.1/moving_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: moving.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    moving.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.1/nav_f.png b/docs/3.1/nav_f.png new file mode 100644 index 0000000000000000000000000000000000000000..72a58a529ed3a9ed6aa0c51a79cf207e026deee2 GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQVE_ejv*C{Z|{2ZH7M}7UYxc) zn!W8uqtnIQ>_z8U literal 0 HcmV?d00001 diff --git a/docs/3.1/nav_g.png b/docs/3.1/nav_g.png new file mode 100644 index 0000000000000000000000000000000000000000..2093a237a94f6c83e19ec6e5fd42f7ddabdafa81 GIT binary patch literal 95 zcmeAS@N?(olHy`uVBq!ia0vp^j6lrB!3HFm1ilyoDK$?Q$B+ufw|5PB85lU25BhtE tr?otc=hd~V+ws&_A@j8Fiv!KF$B+ufw|5=67#uj90@pIL wZ=Q8~_Ju`#59=RjDrmm`tMD@M=!-l18IR?&vFVdQ&MBb@0HFXL + + + + + +GLFW: New features + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    New features
    +
    +
    +

    +New features in 3.1

    +

    These are the release highlights. For a full list of changes see the version history.

    +

    +Custom mouse cursor images

    +

    GLFW now supports creating and setting both custom cursor images and standard cursor shapes. They are created with glfwCreateCursor or glfwCreateStandardCursor, set with glfwSetCursor and destroyed with glfwDestroyCursor.

    +
    See also
    Cursor objects
    +

    +Path drop event

    +

    GLFW now provides a callback for receiving the paths of files and directories dropped onto GLFW windows. The callback is set with glfwSetDropCallback.

    +
    See also
    Path drop input
    +

    +Main thread wake-up

    +

    GLFW now provides the glfwPostEmptyEvent function for posting an empty event from another thread to the main thread event queue, causing glfwWaitEvents to return.

    +
    See also
    Event processing
    +

    +Window frame size query

    +

    GLFW now supports querying the size, on each side, of the frame around the client area of a window, with glfwGetWindowFrameSize.

    +
    See also
    Window size
    +

    +Simultaneous multi-monitor rendering

    +

    GLFW now supports disabling auto-iconification of full screen windows with the GLFW_AUTO_ICONIFY window hint. This is intended for people building multi-monitor installations, where you need windows to stay in full screen despite losing input focus.

    +

    +Floating windows

    +

    GLFW now supports floating windows, also called topmost or always on top, for easier debugging with the GLFW_FLOATING window hint.

    +

    +Initially unfocused windows

    +

    GLFW now supports preventing a windowed mode window from gaining input focus on creation, with the GLFW_FOCUSED window hint.

    +

    +Direct access for window attributes and cursor position

    +

    GLFW now queries the window input focus, visibility and iconification attributes and the cursor position directly instead of returning cached data.

    +

    +Better interoperability with Oculus Rift

    +

    GLFW now provides native access functions for the OS level handles corresponding to monitor objects, as well as a brief guide. It is also regularly tested for compatibility with the latest version of LibOVR (0.4.4 on release).

    +

    +Character with modifiers callback

    +

    GLFW now provides a callback for character events with modifier key bits. The callback is set with glfwSetCharModsCallback. Unlike the regular character callback, this will report character events that will not result in a character being input, for example if the Control key is held down.

    +
    See also
    Text input
    +

    +Single buffered framebuffers

    +

    GLFW now supports the creation of single buffered windows, with the GLFW_DOUBLEBUFFER window hint.

    +

    +Macro for including extension header

    +

    GLFW now includes the extension header appropriate for the chosen OpenGL or OpenGL ES header when GLFW_INCLUDE_GLEXT is defined. GLFW does not provide these headers. They must be provided by your development environment or your OpenGL or OpenGL ES SDK.

    +

    +Context release behaviors

    +

    GLFW now supports controlling whether the pipeline is flushed when a context is made non-current, with the GLFW_CONTEXT_RELEASE_BEHAVIOR window hint, provided the machine supports the GL_KHR_context_flush_control extension.

    +

    +(Experimental) Wayland support

    +

    GLFW now has an experimental Wayland display protocol backend that can be selected on Linux with a CMake option.

    +

    +(Experimental) Mir support

    +

    GLFW now has an experimental Mir display server backend that can be selected on Linux with a CMake option.

    +

    +New features in 3.0

    +

    These are the release highlights. For a full list of changes see the version history.

    +

    +CMake build system

    +

    GLFW now uses the CMake build system instead of the various makefiles and project files used by earlier versions. CMake is available for all platforms supported by GLFW, is present in most package systems and can generate makefiles and/or project files for most popular development environments.

    +

    For more information on how to use CMake, see the CMake manual.

    +

    +Multi-window support

    +

    GLFW now supports the creation of multiple windows, each with their own OpenGL or OpenGL ES context, and all window functions now take a window handle. Event callbacks are now per-window and are provided with the handle of the window that received the event. The glfwMakeContextCurrent function has been added to select which context is current on a given thread.

    +

    +Multi-monitor support

    +

    GLFW now explicitly supports multiple monitors. They can be enumerated with glfwGetMonitors, queried with glfwGetVideoModes, glfwGetMonitorPos, glfwGetMonitorName and glfwGetMonitorPhysicalSize, and specified at window creation to make the newly created window full screen on that specific monitor.

    +

    +Unicode support

    +

    All string arguments to GLFW functions and all strings returned by GLFW now use the UTF-8 encoding. This includes the window title, error string, clipboard text, monitor and joystick names as well as the extension function arguments (as ASCII is a subset of UTF-8).

    +

    +Clipboard text I/O

    +

    GLFW now supports reading and writing plain text to and from the system clipboard, with the glfwGetClipboardString and glfwSetClipboardString functions.

    +

    +Gamma ramp support

    +

    GLFW now supports setting and reading back the gamma ramp of monitors, with the glfwGetGammaRamp and glfwSetGammaRamp functions. There is also glfwSetGamma, which generates a ramp from a gamma value and then sets it.

    +

    +OpenGL ES support

    +

    GLFW now supports the creation of OpenGL ES contexts, by setting the GLFW_CLIENT_API window hint to GLFW_OPENGL_ES_API, where creation of such contexts are supported. Note that GLFW does not implement OpenGL ES, so your driver must provide support in a way usable by GLFW. Modern Nvidia and Intel drivers support creation of OpenGL ES context using the GLX and WGL APIs, while AMD provides an EGL implementation instead.

    +

    +(Experimental) EGL support

    +

    GLFW now has an experimental EGL context creation back end that can be selected through CMake options.

    +

    +High-DPI support

    +

    GLFW now supports high-DPI monitors on both Windows and OS X, giving windows full resolution framebuffers where other UI elements are scaled up. To achieve this, glfwGetFramebufferSize and glfwSetFramebufferSizeCallback have been added. These work with pixels, while the rest of the GLFW API works with screen coordinates. This is important as OpenGL uses pixels, not screen coordinates.

    +

    +Error callback

    +

    GLFW now has an error callback, which can provide your application with much more detailed diagnostics than was previously possible. The callback is passed an error code and a description string.

    +

    +Per-window user pointer

    +

    Each window now has a user-defined pointer, retrieved with glfwGetWindowUserPointer and set with glfwSetWindowUserPointer, to make it easier to integrate GLFW into C++ code.

    +

    +Window iconification callback

    +

    Each window now has a callback for iconification and restoration events, which is set with glfwSetWindowIconifyCallback.

    +

    +Window position callback

    +

    Each window now has a callback for position events, which is set with glfwSetWindowPosCallback.

    +

    +Window position query

    +

    The position of a window can now be retrieved using glfwGetWindowPos.

    +

    +Window focus callback

    +

    Each windows now has a callback for focus events, which is set with glfwSetWindowFocusCallback.

    +

    +Cursor enter/leave callback

    +

    Each window now has a callback for when the mouse cursor enters or leaves its client area, which is set with glfwSetCursorEnterCallback.

    +

    +Initial window title

    +

    The title of a window is now specified at creation time, as one of the arguments to glfwCreateWindow.

    +

    +Hidden windows

    +

    Windows can now be hidden with glfwHideWindow, shown using glfwShowWindow and created initially hidden with the GLFW_VISIBLE window hint. This allows for off-screen rendering in a way compatible with most drivers, as well as moving a window to a specific position before showing it.

    +

    +Undecorated windows

    +

    Windowed mode windows can now be created without decorations, i.e. things like a frame, a title bar, with the GLFW_DECORATED window hint. This allows for the creation of things like splash screens.

    +

    +Modifier key bit masks

    +

    Modifier key bit mask parameters have been added to the mouse button and key callbacks.

    +

    +Platform-specific scancodes

    +

    A scancode parameter has been added to the key callback. Keys that don't have a key token still get passed on with the key parameter set to GLFW_KEY_UNKNOWN. These scancodes will vary between machines and are intended to be used for key bindings.

    +

    +Joystick names

    +

    The name of a joystick can now be retrieved using glfwGetJoystickName.

    +

    +Doxygen documentation

    +

    You are reading it.

    +
    + + + diff --git a/docs/3.1/news_8dox.html b/docs/3.1/news_8dox.html new file mode 100644 index 0000000..4496be3 --- /dev/null +++ b/docs/3.1/news_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: news.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    news.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.1/open.png b/docs/3.1/open.png new file mode 100644 index 0000000000000000000000000000000000000000..30f75c7efe2dd0c9e956e35b69777a02751f048b GIT binary patch literal 123 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{VPM$7~Ar*{o?;hlAFyLXmaDC0y znK1_#cQqJWPES%4Uujug^TE?jMft$}Eq^WaR~)%f)vSNs&gek&x%A9X9sM + + + + + +GLFW: Related Pages + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Related Pages
    +
    + + + + diff --git a/docs/3.1/quick.html b/docs/3.1/quick.html new file mode 100644 index 0000000..41fb3c5 --- /dev/null +++ b/docs/3.1/quick.html @@ -0,0 +1,176 @@ + + + + + + +GLFW: Getting started + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Getting started
    +
    +
    + +

    This guide takes you through writing a simple application using GLFW 3. The application will create a window and OpenGL context, render a rotating triangle and exit when the user closes the window or presses Escape. This guide will introduce a few of the most commonly used functions, but there are many more.

    +

    This guide assumes no experience with earlier versions of GLFW. If you have used GLFW 2 in the past, read the Moving from GLFW 2 to 3 guide, as some functions behave differently in GLFW 3.

    +

    +Step by step

    +

    +Including the GLFW header

    +

    In the source files of your application where you use OpenGL or GLFW, you need to include the GLFW 3 header file.

    +
    #include <GLFW/glfw3.h>

    This defines all the constants, types and function prototypes of the GLFW API. It also includes the OpenGL header, and defines all the constants and types necessary for it to work on your platform.

    +

    For example, under Windows you are normally required to include windows.h before including GL/gl.h. This would make your source file tied to Windows and pollute your code's namespace with the whole Win32 API.

    +

    Instead, the GLFW header takes care of this for you, not by including windows.h, but rather by itself duplicating only the necessary parts of it. It does this only where needed, so if windows.h is included, the GLFW header does not try to redefine those symbols.

    +

    In other words:

    +
      +
    • Do not include the OpenGL headers yourself, as GLFW does this for you
    • +
    • Do not include windows.h or other platform-specific headers unless you plan on using those APIs directly
    • +
    • If you do need to include such headers, do it before including the GLFW one and it will detect this
    • +
    +

    Starting with version 3.0, the GLU header glu.h is no longer included by default. GLU is deprecated and should not be used in new code. If you need to include it for legacy code, define GLFW_INCLUDE_GLU before the inclusion of the GLFW header.

    +
    #define GLFW_INCLUDE_GLU
    #include <GLFW/glfw3.h>

    +Initializing and terminating GLFW

    +

    Before you can use most GLFW functions, the library must be initialized. On successful initialization, GL_TRUE is returned. If an error occurred, GL_FALSE is returned.

    +
    if (!glfwInit())
    exit(EXIT_FAILURE);

    When you are done using GLFW, typically just before the application exits, you need to terminate GLFW.

    +

    This destroys any remaining windows and releases any other resources allocated by GLFW. After this call, you must initialize GLFW again before using any GLFW functions that require it.

    +

    +Setting an error callback

    +

    Most events are reported through callbacks, whether it's a key being pressed, a GLFW window being moved, or an error occurring. Callbacks are simply C functions (or C++ static methods) that are called by GLFW with arguments describing the event.

    +

    In case a GLFW function fails, an error is reported to the GLFW error callback. You can receive these reports with an error callback. This function must have the signature below. This simple error callback just prints the error description to stderr.

    +
    void error_callback(int error, const char* description)
    {
    fputs(description, stderr);
    }

    Callback functions must be set, so GLFW knows to call them. The function to set the error callback is one of the few GLFW functions that may be called before initialization, which lets you be notified of errors both during and after initialization.

    +
    glfwSetErrorCallback(error_callback);

    +Creating a window and context

    +

    The window and its OpenGL context are created with a single call, which returns a handle to the created combined window and context object. For example, this creates a 640 by 480 windowed mode window with an OpenGL context:

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", NULL, NULL);

    If window or context creation fails, NULL will be returned, so it is necessary to check the return value.

    +
    if (!window)
    {
    exit(EXIT_FAILURE);
    }

    The window handle is passed to all window related functions and is provided to along to all window related callbacks, so they can tell which window received the event.

    +

    When a window is no longer needed, destroy it.

    +

    Once this function is called, no more events will be delivered for that window and its handle becomes invalid.

    +

    +Making the OpenGL context current

    +

    Before you can use the OpenGL API, you must have a current OpenGL context.

    +

    The context will remain current until you make another context current or until the window owning the current context is destroyed.

    +

    +Checking the window close flag

    +

    Each window has a flag indicating whether the window should be closed.

    +

    When the user attempts to close the window, either by pressing the close widget in the title bar or using a key combination like Alt+F4, this flag is set to 1. Note that the window isn't actually closed, so you are expected to monitor this flag and either destroy the window or give some kind of feedback to the user.

    +
    while (!glfwWindowShouldClose(window))
    {
    // Keep running
    }

    You can be notified when the user is attempting to close the window by setting a close callback with glfwSetWindowCloseCallback. The callback will be called immediately after the close flag has been set.

    +

    You can also set it yourself with glfwSetWindowShouldClose. This can be useful if you want to interpret other kinds of input as closing the window, like for example pressing the escape key.

    +

    +Receiving input events

    +

    Each window has a large number of callbacks that can be set to receive all the various kinds of events. To receive key press and release events, create a key callback function.

    +
    static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
    {
    if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS)
    glfwSetWindowShouldClose(window, GL_TRUE);
    }

    The key callback, like other window related callbacks, are set per-window.

    +
    glfwSetKeyCallback(window, key_callback);

    In order for event callbacks to be called when events occur, you need to process events as described below.

    +

    +Rendering with OpenGL

    +

    Once you have a current OpenGL context, you can use OpenGL normally. In this tutorial, a multi-colored rotating triangle will be rendered. The framebuffer size needs to be retrieved for glViewport.

    +
    int width, height;
    glfwGetFramebufferSize(window, &width, &height);
    glViewport(0, 0, width, height);

    You can also set a framebuffer size callback using glfwSetFramebufferSizeCallback and call glViewport from there.

    +

    +Reading the timer

    +

    To create smooth animation, a time source is needed. GLFW provides a timer that returns the number of seconds since initialization. The time source used is the most accurate on each platform and generally has micro- or nanosecond resolution.

    +
    double time = glfwGetTime();

    +Swapping buffers

    +

    GLFW windows by default use double buffering. That means that each window has two rendering buffers; a front buffer and a back buffer. The front buffer is the one being displayed and the back buffer the one you render to.

    +

    When the entire frame has been rendered, the buffers need to be swapped with one another, so the back buffer becomes the front buffer and vice versa.

    +

    The swap interval indicates how many frames to wait until swapping the buffers, commonly known as vsync. By default, the swap interval is zero, meaning buffer swapping will occur immediately. On fast machines, many of those frames will never be seen, as the screen is still only updated typically 60-75 times per second, so this wastes a lot of CPU and GPU cycles.

    +

    Also, because the buffers will be swapped in the middle the screen update, leading to screen tearing.

    +

    For these reasons, applications will typically want to set the swap interval to one. It can be set to higher values, but this is usually not recommended, because of the input latency it leads to.

    +

    This function acts on the current context and will fail unless a context is current.

    +

    +Processing events

    +

    GLFW needs to communicate regularly with the window system both in order to receive events and to show that the application hasn't locked up. Event processing must be done regularly while you have visible windows and is normally done each frame after buffer swapping.

    +

    There are two methods for processing pending events; polling and waiting. This example will use event polling, which processes only those events that have already been received and then returns immediately.
    +

    This is the best choice when rendering continually, like most games do. If instead you only need to update your rendering once you have received new input, glfwWaitEvents is a better choice. It waits until at least one event has been received, putting the thread to sleep in the meantime, and then processes all received events. This saves a great deal of CPU cycles and is useful for, for example, many kinds of editing tools.

    +

    +Putting it together

    +

    Now that you know how to initialize GLFW, create a window and poll for keyboard input, it's possible to create a simple program.

    +
    #include <GLFW/glfw3.h>
    #include <stdlib.h>
    #include <stdio.h>
    static void error_callback(int error, const char* description)
    {
    fputs(description, stderr);
    }
    static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
    {
    if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS)
    glfwSetWindowShouldClose(window, GL_TRUE);
    }
    int main(void)
    {
    GLFWwindow* window;
    glfwSetErrorCallback(error_callback);
    if (!glfwInit())
    exit(EXIT_FAILURE);
    window = glfwCreateWindow(640, 480, "Simple example", NULL, NULL);
    if (!window)
    {
    exit(EXIT_FAILURE);
    }
    glfwSetKeyCallback(window, key_callback);
    while (!glfwWindowShouldClose(window))
    {
    float ratio;
    int width, height;
    glfwGetFramebufferSize(window, &width, &height);
    ratio = width / (float) height;
    glViewport(0, 0, width, height);
    glClear(GL_COLOR_BUFFER_BIT);
    glMatrixMode(GL_PROJECTION);
    glLoadIdentity();
    glOrtho(-ratio, ratio, -1.f, 1.f, 1.f, -1.f);
    glMatrixMode(GL_MODELVIEW);
    glLoadIdentity();
    glRotatef((float) glfwGetTime() * 50.f, 0.f, 0.f, 1.f);
    glBegin(GL_TRIANGLES);
    glColor3f(1.f, 0.f, 0.f);
    glVertex3f(-0.6f, -0.4f, 0.f);
    glColor3f(0.f, 1.f, 0.f);
    glVertex3f(0.6f, -0.4f, 0.f);
    glColor3f(0.f, 0.f, 1.f);
    glVertex3f(0.f, 0.6f, 0.f);
    glEnd();
    glfwSwapBuffers(window);
    }
    exit(EXIT_SUCCESS);
    }

    This program creates a 640 by 480 windowed mode window and starts a loop that clears the screen, renders a triangle and processes events until the user either presses Escape or closes the window.

    +

    This program uses only a few of the many functions GLFW provides. There are guides for each of the areas covered by GLFW. Each guide will introduce all the functions for that category.

    + +

    +Compiling and linking the program

    +

    The complete program above can be found in the source distribution as examples/simple.c and is compiled along with all other examples when you build GLFW. That is, if you have compiled GLFW then you have already built this as simple.exe on Windows, simple on Linux or simple.app on OS X.

    +

    This tutorial ends here. Once you have written a program that uses GLFW, you will need to compile and link it. How to do that depends on the development environment you are using and is best explained by the documentation for that environment. To learn about the details that are specific to GLFW, see Building applications.

    +
    + + + diff --git a/docs/3.1/quick_8dox.html b/docs/3.1/quick_8dox.html new file mode 100644 index 0000000..3414dda --- /dev/null +++ b/docs/3.1/quick_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: quick.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    quick.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.1/rift.html b/docs/3.1/rift.html new file mode 100644 index 0000000..e2c4468 --- /dev/null +++ b/docs/3.1/rift.html @@ -0,0 +1,133 @@ + + + + + + +GLFW: Oculus Rift guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Oculus Rift guide
    +
    +
    + +

    This guide is intended to fill in the gaps between the Oculus PC SDK documentation and the rest of the GLFW documentation and is not a replacement for either. It requires you to use native access and assumes a certain level of proficiency with LibOVR, platform specific APIs and your chosen development environment.

    +

    While GLFW has no explicit support for LibOVR, it is tested with and tries to interoperate well with it.

    +
    Note
    Because of the speed of development of the Oculus SDK, this guide may become outdated before the next release. If this is a local copy of the documentation, you may want to check the GLFW website for updates. This revision of the guide is written against version 0.4.4 of the SDK.
    +

    +Including the LibOVR and GLFW header files

    +

    Both the OpenGL LibOVR header and the GLFW native header need macros telling them what OS you are building for. Because LibOVR only supports three major desktop platforms, this can be solved with canonical predefined macros.

    +
    #if defined(_WIN32)
    #define GLFW_EXPOSE_NATIVE_WIN32
    #define GLFW_EXPOSE_NATIVE_WGL
    #define OVR_OS_WIN32
    #elif defined(__APPLE__)
    #define GLFW_EXPOSE_NATIVE_COCOA
    #define GLFW_EXPOSE_NATIVE_NSGL
    #define OVR_OS_MAC
    #elif defined(__linux__)
    #define GLFW_EXPOSE_NATIVE_X11
    #define GLFW_EXPOSE_NATIVE_GLX
    #define OVR_OS_LINUX
    #endif
    #include <GLFW/glfw3.h>
    #include <OVR_CAPI_GL.h>

    Both the GLFW and LibOVR headers by default attempt to include the standard OpenGL GL/gl.h header (OpenGL/gl.h on OS X). If you wish to use a different standard header or an extension loading library, include that header before these.

    +

    +Initializing LibOVR and GLFW

    +

    LibOVR needs to be initialized before GLFW. This means calling at least ovr_Initialize, ovrHmd_Create and ovrHmd_ConfigureTracking before glfwInit. Similarly, LibOVR must be shut down after GLFW. This means calling ovrHmd_Destroy and ovr_Shutdown after glfwTerminate.

    +

    +Direct HMD mode

    +

    Direct HMD mode is the recommended display mode for new applications, but the Oculus Rift runtime currently (January 2015) only supports this mode on Windows. In direct mode the HMD is not detectable as a GLFW monitor.

    +

    +Creating a window and context

    +

    If the HMD is in direct mode you can use either a full screen or a windowed mode window, but full screen is only recommended if there is a monitor that supports the resolution of the HMD. Due to limitations in LibOVR, the size of the client area of the window must equal the resolution of the HMD.

    +

    If the resolution of the HMD is much larger than the regular monitor, the window may be resized by the window manager on creation. One way to avoid this is to make it undecorated with the GLFW_DECORATED window hint.

    +

    +Attaching the window to the HMD

    +

    Once you have created the window and context, you need to attach the native handle of the GLFW window to the HMD.

    +
    ovrHmd_AttachToWindow(hmd, glfwGetWin32Window(window), NULL, NULL);

    +Extend Desktop mode

    +

    Extend desktop mode is a legacy display mode, but is still (January 2015) the only available mode on OS X and Linux, as well as on Windows machines that for technical reasons do not yet support direct HMD mode.

    +

    +Detecting a HMD with GLFW

    +

    If the HMD is in extend desktop mode you can deduce which GLFW monitor it corresponds to and create a full screen window on that monitor.

    +

    On Windows, the native display device name of a GLFW monitor corresponds to the display device name of the detected HMD as stored, in the DisplayDeviceName member of ovrHmdDesc.

    +

    On OS X, the native display ID of a GLFW monitor corresponds to the display ID of the detected HMD, as stored in the DisplayId member of ovrHmdDesc.

    +

    At the time of writing (January 2015), the Oculus SDK does not support detecting which monitor corresponds to the HMD in any sane fashion, but as long as the HMD is set up and rotated properly it can be found via the screen position and resolution provided by LibOVR. This method may instead find another monitor that is mirroring the HMD, but this only matters if you intend to change its video mode.

    +
    int i, count;
    GLFWmonitor** monitors = glfwGetMonitors(&count);
    for (i = 0; i < count; i++)
    {
    #if defined(_WIN32)
    if (strcmp(glfwGetWin32Monitor(monitors[i]), hmd->DisplayDeviceName) == 0)
    return monitors[i];
    #elif defined(__APPLE__)
    if (glfwGetCocoaMonitor(monitors[i]) == hmd->DisplayId)
    return monitors[i];
    #elif defined(__linux__)
    int xpos, ypos;
    const GLFWvidmode* mode = glfwGetVideoMode(monitors[i]);
    glfwGetMonitorPos(monitors[i], &xpos, &ypos);
    if (hmd->WindowsPos.x == xpos &&
    hmd->WindowsPos.y == ypos &&
    hmd->Resolution.w == mode->width &&
    hmd->Resolution.h == mode->height)
    {
    return monitors[i];
    }
    #endif
    }

    +Creating a window and context

    +

    The window is created as a regular full screen window on the found monitor. It is usually a good idea to create a windowed full screen window, as the HMD will very likely already be set to the correct video mode. However, in extend desktop mode it behaves like a regular monitor and any supported video mode can be requested.

    +

    If other monitors are mirroring the HMD and you request a different video mode, all monitors in the mirroring set will get the new video mode.

    +

    +Rendering to the HMD

    +

    +SDK distortion rendering

    +

    If you wish to use SDK distortion rendering you will need some information from GLFW to configure the renderer. Below are the parts of the ovrGLConfig union that need to be filled with from GLFW. Note that there are other fields that also need to be filled for ovrHmd_ConfigureRendering to succeed.

    +

    Before configuring SDK distortion rendering you should make your context current.

    +
    int width, height;
    union ovrGLConfig config;
    glfwGetFramebufferSize(window, &width, &height);
    config.OGL.Header.BackBufferSize.w = width;
    config.OGL.Header.BackBufferSize.h = height;
    #if defined(_WIN32)
    config.OGL.Window = glfwGetWin32Window(window);
    #elif defined(__APPLE__)
    #elif defined(__linux__)
    config.OGL.Disp = glfwGetX11Display();
    #endif

    When using SDK distortion rendering you should not swap the buffers yourself, as the HMD is updated by ovrHmd_EndFrame.

    +

    +Client distortion rendering

    +

    With client distortion rendering you are in full control of the contents of the HMD and should render and swap the buffers normally.

    +
    + + + diff --git a/docs/3.1/rift_8dox.html b/docs/3.1/rift_8dox.html new file mode 100644 index 0000000..56eeba4 --- /dev/null +++ b/docs/3.1/rift_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: rift.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    rift.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.1/search/all_0.html b/docs/3.1/search/all_0.html new file mode 100644 index 0000000..5125b94 --- /dev/null +++ b/docs/3.1/search/all_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/all_0.js b/docs/3.1/search/all_0.js new file mode 100644 index 0000000..a280b52 --- /dev/null +++ b/docs/3.1/search/all_0.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['blue',['blue',['../structGLFWgammaramp.html#acf0c836d0efe29c392fe8d1a1042744b',1,'GLFWgammaramp']]], + ['bluebits',['blueBits',['../structGLFWvidmode.html#af310977f58d2e3b188175b6e3d314047',1,'GLFWvidmode']]], + ['bug_20list',['Bug List',['../bug.html',1,'']]], + ['building_20applications',['Building applications',['../build.html',1,'']]], + ['build_2edox',['build.dox',['../build_8dox.html',1,'']]] +]; diff --git a/docs/3.1/search/all_1.html b/docs/3.1/search/all_1.html new file mode 100644 index 0000000..b8ff871 --- /dev/null +++ b/docs/3.1/search/all_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/all_1.js b/docs/3.1/search/all_1.js new file mode 100644 index 0000000..2d83e0f --- /dev/null +++ b/docs/3.1/search/all_1.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['compat_2edox',['compat.dox',['../compat_8dox.html',1,'']]], + ['compiling_20glfw',['Compiling GLFW',['../compile.html',1,'']]], + ['compile_2edox',['compile.dox',['../compile_8dox.html',1,'']]], + ['context_20handling',['Context handling',['../group__context.html',1,'']]], + ['context_20guide',['Context guide',['../context.html',1,'']]], + ['context_2edox',['context.dox',['../context_8dox.html',1,'']]] +]; diff --git a/docs/3.1/search/all_2.html b/docs/3.1/search/all_2.html new file mode 100644 index 0000000..2f17735 --- /dev/null +++ b/docs/3.1/search/all_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/all_2.js b/docs/3.1/search/all_2.js new file mode 100644 index 0000000..4cec4ce --- /dev/null +++ b/docs/3.1/search/all_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['error_20codes',['Error codes',['../group__errors.html',1,'']]] +]; diff --git a/docs/3.1/search/all_3.html b/docs/3.1/search/all_3.html new file mode 100644 index 0000000..a3e6f7d --- /dev/null +++ b/docs/3.1/search/all_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/all_3.js b/docs/3.1/search/all_3.js new file mode 100644 index 0000000..0e37605 --- /dev/null +++ b/docs/3.1/search/all_3.js @@ -0,0 +1,354 @@ +var searchData= +[ + ['glfw3_2eh',['glfw3.h',['../glfw3_8h.html',1,'']]], + ['glfw3native_2eh',['glfw3native.h',['../glfw3native_8h.html',1,'']]], + ['glfw_5faccum_5falpha_5fbits',['GLFW_ACCUM_ALPHA_BITS',['../glfw3_8h.html#ae829b55591c18169a40ab4067a041b1f',1,'glfw3.h']]], + ['glfw_5faccum_5fblue_5fbits',['GLFW_ACCUM_BLUE_BITS',['../glfw3_8h.html#a22bbe9104a8ce1f8b88fb4f186aa36ce',1,'glfw3.h']]], + ['glfw_5faccum_5fgreen_5fbits',['GLFW_ACCUM_GREEN_BITS',['../glfw3_8h.html#a65713cee1326f8e9d806fdf93187b471',1,'glfw3.h']]], + ['glfw_5faccum_5fred_5fbits',['GLFW_ACCUM_RED_BITS',['../glfw3_8h.html#aead34a9a683b2bc20eecf30ba738bfc6',1,'glfw3.h']]], + ['glfw_5falpha_5fbits',['GLFW_ALPHA_BITS',['../glfw3_8h.html#afed79a3f468997877da86c449bd43e8c',1,'glfw3.h']]], + ['glfw_5fany_5frelease_5fbehavior',['GLFW_ANY_RELEASE_BEHAVIOR',['../glfw3_8h.html#a6b47d806f285efe9bfd7aeec667297ee',1,'glfw3.h']]], + ['glfw_5fapi_5funavailable',['GLFW_API_UNAVAILABLE',['../group__errors.html#ga56882b290db23261cc6c053c40c2d08e',1,'glfw3.h']]], + ['glfw_5farrow_5fcursor',['GLFW_ARROW_CURSOR',['../group__shapes.html#ga8ab0e717245b85506cb0eaefdea39d0a',1,'glfw3.h']]], + ['glfw_5fauto_5ficonify',['GLFW_AUTO_ICONIFY',['../glfw3_8h.html#a9d9874fc928200136a6dcdad726aa252',1,'glfw3.h']]], + ['glfw_5faux_5fbuffers',['GLFW_AUX_BUFFERS',['../glfw3_8h.html#ab05108c5029443b371112b031d1fa174',1,'glfw3.h']]], + ['glfw_5fblue_5fbits',['GLFW_BLUE_BITS',['../glfw3_8h.html#ab292ea403db6d514537b515311bf9ae3',1,'glfw3.h']]], + ['glfw_5fclient_5fapi',['GLFW_CLIENT_API',['../glfw3_8h.html#a649309cf72a3d3de5b1348ca7936c95b',1,'glfw3.h']]], + ['glfw_5fconnected',['GLFW_CONNECTED',['../glfw3_8h.html#abe11513fd1ffbee5bb9b173f06028b9e',1,'glfw3.h']]], + ['glfw_5fcontext_5frelease_5fbehavior',['GLFW_CONTEXT_RELEASE_BEHAVIOR',['../glfw3_8h.html#a72b648a8378fe3310c7c7bbecc0f7be6',1,'glfw3.h']]], + ['glfw_5fcontext_5frevision',['GLFW_CONTEXT_REVISION',['../glfw3_8h.html#afb9475071aa77c6fb05ca5a5c8678a08',1,'glfw3.h']]], + ['glfw_5fcontext_5frobustness',['GLFW_CONTEXT_ROBUSTNESS',['../glfw3_8h.html#ade3593916b4c507900aa2d6844810e00',1,'glfw3.h']]], + ['glfw_5fcontext_5fversion_5fmajor',['GLFW_CONTEXT_VERSION_MAJOR',['../glfw3_8h.html#afe5e4922de1f9932d7e9849bb053b0c0',1,'glfw3.h']]], + ['glfw_5fcontext_5fversion_5fminor',['GLFW_CONTEXT_VERSION_MINOR',['../glfw3_8h.html#a31aca791e4b538c4e4a771eb95cc2d07',1,'glfw3.h']]], + ['glfw_5fcrosshair_5fcursor',['GLFW_CROSSHAIR_CURSOR',['../group__shapes.html#ga8af88c0ea05ab9e8f9ac1530e8873c22',1,'glfw3.h']]], + ['glfw_5fcursor',['GLFW_CURSOR',['../glfw3_8h.html#aade31da5b884a84a7625c6b059b9132c',1,'glfw3.h']]], + ['glfw_5fcursor_5fdisabled',['GLFW_CURSOR_DISABLED',['../glfw3_8h.html#a2315b99a329ce53e6a13a9d46fd5ca88',1,'glfw3.h']]], + ['glfw_5fcursor_5fhidden',['GLFW_CURSOR_HIDDEN',['../glfw3_8h.html#ac4d5cb9d78de8573349c58763d53bf11',1,'glfw3.h']]], + ['glfw_5fcursor_5fnormal',['GLFW_CURSOR_NORMAL',['../glfw3_8h.html#ae04dd25c8577e19fa8c97368561f6c68',1,'glfw3.h']]], + ['glfw_5fdecorated',['GLFW_DECORATED',['../glfw3_8h.html#a21b854d36314c94d65aed84405b2f25e',1,'glfw3.h']]], + ['glfw_5fdepth_5fbits',['GLFW_DEPTH_BITS',['../glfw3_8h.html#a318a55eac1fee57dfe593b6d38149d07',1,'glfw3.h']]], + ['glfw_5fdisconnected',['GLFW_DISCONNECTED',['../glfw3_8h.html#aab64b25921ef21d89252d6f0a71bfc32',1,'glfw3.h']]], + ['glfw_5fdont_5fcare',['GLFW_DONT_CARE',['../glfw3_8h.html#a7a2edf2c18446833d27d07f1b7f3d571',1,'glfw3.h']]], + ['glfw_5fdoublebuffer',['GLFW_DOUBLEBUFFER',['../glfw3_8h.html#a714a5d569e8a274ea58fdfa020955339',1,'glfw3.h']]], + ['glfw_5ffloating',['GLFW_FLOATING',['../glfw3_8h.html#a7fb0be51407783b41adbf5bec0b09d80',1,'glfw3.h']]], + ['glfw_5ffocused',['GLFW_FOCUSED',['../glfw3_8h.html#a54ddb14825a1541a56e22afb5f832a9e',1,'glfw3.h']]], + ['glfw_5fformat_5funavailable',['GLFW_FORMAT_UNAVAILABLE',['../group__errors.html#ga196e125ef261d94184e2b55c05762f14',1,'glfw3.h']]], + ['glfw_5fgreen_5fbits',['GLFW_GREEN_BITS',['../glfw3_8h.html#afba3b72638c914e5fb8a237dd4c50d4d',1,'glfw3.h']]], + ['glfw_5fhand_5fcursor',['GLFW_HAND_CURSOR',['../group__shapes.html#ga1db35e20849e0837c82e3dc1fd797263',1,'glfw3.h']]], + ['glfw_5fhresize_5fcursor',['GLFW_HRESIZE_CURSOR',['../group__shapes.html#gabb3eb0109f11bb808fc34659177ca962',1,'glfw3.h']]], + ['glfw_5fibeam_5fcursor',['GLFW_IBEAM_CURSOR',['../group__shapes.html#ga36185f4375eaada1b04e431244774c86',1,'glfw3.h']]], + ['glfw_5ficonified',['GLFW_ICONIFIED',['../glfw3_8h.html#a39d44b7c056e55e581355a92d240b58a',1,'glfw3.h']]], + ['glfw_5finvalid_5fenum',['GLFW_INVALID_ENUM',['../group__errors.html#ga76f6bb9c4eea73db675f096b404593ce',1,'glfw3.h']]], + ['glfw_5finvalid_5fvalue',['GLFW_INVALID_VALUE',['../group__errors.html#gaaf2ef9aa8202c2b82ac2d921e554c687',1,'glfw3.h']]], + ['glfw_5fjoystick_5f1',['GLFW_JOYSTICK_1',['../group__joysticks.html#ga34a0443d059e9f22272cd4669073f73d',1,'glfw3.h']]], + ['glfw_5fjoystick_5f10',['GLFW_JOYSTICK_10',['../group__joysticks.html#gaef55389ee605d6dfc31aef6fe98c54ec',1,'glfw3.h']]], + ['glfw_5fjoystick_5f11',['GLFW_JOYSTICK_11',['../group__joysticks.html#gae7d26e3df447c2c14a569fcc18516af4',1,'glfw3.h']]], + ['glfw_5fjoystick_5f12',['GLFW_JOYSTICK_12',['../group__joysticks.html#gab91bbf5b7ca6be8d3ac5c4d89ff48ac7',1,'glfw3.h']]], + ['glfw_5fjoystick_5f13',['GLFW_JOYSTICK_13',['../group__joysticks.html#ga5c84fb4e49bf661d7d7c78eb4018c508',1,'glfw3.h']]], + ['glfw_5fjoystick_5f14',['GLFW_JOYSTICK_14',['../group__joysticks.html#ga89540873278ae5a42b3e70d64164dc74',1,'glfw3.h']]], + ['glfw_5fjoystick_5f15',['GLFW_JOYSTICK_15',['../group__joysticks.html#ga7b02ab70daf7a78bcc942d5d4cc1dcf9',1,'glfw3.h']]], + ['glfw_5fjoystick_5f16',['GLFW_JOYSTICK_16',['../group__joysticks.html#ga453edeeabf350827646b6857df4f80ce',1,'glfw3.h']]], + ['glfw_5fjoystick_5f2',['GLFW_JOYSTICK_2',['../group__joysticks.html#ga6eab65ec88e65e0850ef8413504cb50c',1,'glfw3.h']]], + ['glfw_5fjoystick_5f3',['GLFW_JOYSTICK_3',['../group__joysticks.html#gae6f3eedfeb42424c2f5e3161efb0b654',1,'glfw3.h']]], + ['glfw_5fjoystick_5f4',['GLFW_JOYSTICK_4',['../group__joysticks.html#ga97ddbcad02b7f48d74fad4ddb08fff59',1,'glfw3.h']]], + ['glfw_5fjoystick_5f5',['GLFW_JOYSTICK_5',['../group__joysticks.html#gae43281bc66d3fa5089fb50c3e7a28695',1,'glfw3.h']]], + ['glfw_5fjoystick_5f6',['GLFW_JOYSTICK_6',['../group__joysticks.html#ga74771620aa53bd68a487186dea66fd77',1,'glfw3.h']]], + ['glfw_5fjoystick_5f7',['GLFW_JOYSTICK_7',['../group__joysticks.html#ga20a9f4f3aaefed9ea5e66072fc588b87',1,'glfw3.h']]], + ['glfw_5fjoystick_5f8',['GLFW_JOYSTICK_8',['../group__joysticks.html#ga21a934c940bcf25db0e4c8fe9b364bdb',1,'glfw3.h']]], + ['glfw_5fjoystick_5f9',['GLFW_JOYSTICK_9',['../group__joysticks.html#ga87689d47df0ba6f9f5fcbbcaf7b3cecf',1,'glfw3.h']]], + ['glfw_5fjoystick_5flast',['GLFW_JOYSTICK_LAST',['../group__joysticks.html#ga9ca13ebf24c331dd98df17d84a4b72c9',1,'glfw3.h']]], + ['glfw_5fkey_5f0',['GLFW_KEY_0',['../group__keys.html#ga50391730e9d7112ad4fd42d0bd1597c1',1,'glfw3.h']]], + ['glfw_5fkey_5f1',['GLFW_KEY_1',['../group__keys.html#ga05e4cae9ddb8d40cf6d82c8f11f2502f',1,'glfw3.h']]], + ['glfw_5fkey_5f2',['GLFW_KEY_2',['../group__keys.html#gadc8e66b3a4c4b5c39ad1305cf852863c',1,'glfw3.h']]], + ['glfw_5fkey_5f3',['GLFW_KEY_3',['../group__keys.html#ga812f0273fe1a981e1fa002ae73e92271',1,'glfw3.h']]], + ['glfw_5fkey_5f4',['GLFW_KEY_4',['../group__keys.html#ga9e14b6975a9cc8f66cdd5cb3d3861356',1,'glfw3.h']]], + ['glfw_5fkey_5f5',['GLFW_KEY_5',['../group__keys.html#ga4d74ddaa5d4c609993b4d4a15736c924',1,'glfw3.h']]], + ['glfw_5fkey_5f6',['GLFW_KEY_6',['../group__keys.html#ga9ea4ab80c313a227b14d0a7c6f810b5d',1,'glfw3.h']]], + ['glfw_5fkey_5f7',['GLFW_KEY_7',['../group__keys.html#gab79b1cfae7bd630cfc4604c1f263c666',1,'glfw3.h']]], + ['glfw_5fkey_5f8',['GLFW_KEY_8',['../group__keys.html#gadeaa109a0f9f5afc94fe4a108e686f6f',1,'glfw3.h']]], + ['glfw_5fkey_5f9',['GLFW_KEY_9',['../group__keys.html#ga2924cb5349ebbf97c8987f3521c44f39',1,'glfw3.h']]], + ['glfw_5fkey_5fa',['GLFW_KEY_A',['../group__keys.html#ga03e842608e1ea323370889d33b8f70ff',1,'glfw3.h']]], + ['glfw_5fkey_5fapostrophe',['GLFW_KEY_APOSTROPHE',['../group__keys.html#ga6059b0b048ba6980b6107fffbd3b4b24',1,'glfw3.h']]], + ['glfw_5fkey_5fb',['GLFW_KEY_B',['../group__keys.html#ga8e3fb647ff3aca9e8dbf14fe66332941',1,'glfw3.h']]], + ['glfw_5fkey_5fbackslash',['GLFW_KEY_BACKSLASH',['../group__keys.html#gab8155ea99d1ab27ff56f24f8dc73f8d1',1,'glfw3.h']]], + ['glfw_5fkey_5fbackspace',['GLFW_KEY_BACKSPACE',['../group__keys.html#ga6c0df1fe2f156bbd5a98c66d76ff3635',1,'glfw3.h']]], + ['glfw_5fkey_5fc',['GLFW_KEY_C',['../group__keys.html#ga00ccf3475d9ee2e679480d540d554669',1,'glfw3.h']]], + ['glfw_5fkey_5fcaps_5flock',['GLFW_KEY_CAPS_LOCK',['../group__keys.html#ga92c1d2c9d63485f3d70f94f688d48672',1,'glfw3.h']]], + ['glfw_5fkey_5fcomma',['GLFW_KEY_COMMA',['../group__keys.html#gab3d5d72e59d3055f494627b0a524926c',1,'glfw3.h']]], + ['glfw_5fkey_5fd',['GLFW_KEY_D',['../group__keys.html#ga011f7cdc9a654da984a2506479606933',1,'glfw3.h']]], + ['glfw_5fkey_5fdelete',['GLFW_KEY_DELETE',['../group__keys.html#gadb111e4df74b8a715f2c05dad58d2682',1,'glfw3.h']]], + ['glfw_5fkey_5fdown',['GLFW_KEY_DOWN',['../group__keys.html#gae2e3958c71595607416aa7bf082be2f9',1,'glfw3.h']]], + ['glfw_5fkey_5fe',['GLFW_KEY_E',['../group__keys.html#gabf48fcc3afbe69349df432b470c96ef2',1,'glfw3.h']]], + ['glfw_5fkey_5fend',['GLFW_KEY_END',['../group__keys.html#ga86587ea1df19a65978d3e3b8439bedd9',1,'glfw3.h']]], + ['glfw_5fkey_5fenter',['GLFW_KEY_ENTER',['../group__keys.html#ga9555a92ecbecdbc1f3435219c571d667',1,'glfw3.h']]], + ['glfw_5fkey_5fequal',['GLFW_KEY_EQUAL',['../group__keys.html#gae1a2de47240d6664423c204bdd91bd17',1,'glfw3.h']]], + ['glfw_5fkey_5fescape',['GLFW_KEY_ESCAPE',['../group__keys.html#gaac6596c350b635c245113b81c2123b93',1,'glfw3.h']]], + ['glfw_5fkey_5ff',['GLFW_KEY_F',['../group__keys.html#ga5df402e02aca08444240058fd9b42a55',1,'glfw3.h']]], + ['glfw_5fkey_5ff1',['GLFW_KEY_F1',['../group__keys.html#gafb8d66c573acf22e364049477dcbea30',1,'glfw3.h']]], + ['glfw_5fkey_5ff10',['GLFW_KEY_F10',['../group__keys.html#ga718d11d2f7d57471a2f6a894235995b1',1,'glfw3.h']]], + ['glfw_5fkey_5ff11',['GLFW_KEY_F11',['../group__keys.html#ga0bc04b11627e7d69339151e7306b2832',1,'glfw3.h']]], + ['glfw_5fkey_5ff12',['GLFW_KEY_F12',['../group__keys.html#gaf5908fa9b0a906ae03fc2c61ac7aa3e2',1,'glfw3.h']]], + ['glfw_5fkey_5ff13',['GLFW_KEY_F13',['../group__keys.html#gad637f4308655e1001bd6ad942bc0fd4b',1,'glfw3.h']]], + ['glfw_5fkey_5ff14',['GLFW_KEY_F14',['../group__keys.html#gaf14c66cff3396e5bd46e803c035e6c1f',1,'glfw3.h']]], + ['glfw_5fkey_5ff15',['GLFW_KEY_F15',['../group__keys.html#ga7f70970db6e8be1794da8516a6d14058',1,'glfw3.h']]], + ['glfw_5fkey_5ff16',['GLFW_KEY_F16',['../group__keys.html#gaa582dbb1d2ba2050aa1dca0838095b27',1,'glfw3.h']]], + ['glfw_5fkey_5ff17',['GLFW_KEY_F17',['../group__keys.html#ga972ce5c365e2394b36104b0e3125c748',1,'glfw3.h']]], + ['glfw_5fkey_5ff18',['GLFW_KEY_F18',['../group__keys.html#gaebf6391058d5566601e357edc5ea737c',1,'glfw3.h']]], + ['glfw_5fkey_5ff19',['GLFW_KEY_F19',['../group__keys.html#gaec011d9ba044058cb54529da710e9791',1,'glfw3.h']]], + ['glfw_5fkey_5ff2',['GLFW_KEY_F2',['../group__keys.html#ga0900750aff94889b940f5e428c07daee',1,'glfw3.h']]], + ['glfw_5fkey_5ff20',['GLFW_KEY_F20',['../group__keys.html#ga82b9c721ada04cd5ca8de767da38022f',1,'glfw3.h']]], + ['glfw_5fkey_5ff21',['GLFW_KEY_F21',['../group__keys.html#ga356afb14d3440ff2bb378f74f7ebc60f',1,'glfw3.h']]], + ['glfw_5fkey_5ff22',['GLFW_KEY_F22',['../group__keys.html#ga90960bd2a155f2b09675324d3dff1565',1,'glfw3.h']]], + ['glfw_5fkey_5ff23',['GLFW_KEY_F23',['../group__keys.html#ga43c21099aac10952d1be909a8ddee4d5',1,'glfw3.h']]], + ['glfw_5fkey_5ff24',['GLFW_KEY_F24',['../group__keys.html#ga8150374677b5bed3043408732152dea2',1,'glfw3.h']]], + ['glfw_5fkey_5ff25',['GLFW_KEY_F25',['../group__keys.html#gaa4bbd93ed73bb4c6ae7d83df880b7199',1,'glfw3.h']]], + ['glfw_5fkey_5ff3',['GLFW_KEY_F3',['../group__keys.html#gaed7cd729c0147a551bb8b7bb36c17015',1,'glfw3.h']]], + ['glfw_5fkey_5ff4',['GLFW_KEY_F4',['../group__keys.html#ga9b61ebd0c63b44b7332fda2c9763eaa6',1,'glfw3.h']]], + ['glfw_5fkey_5ff5',['GLFW_KEY_F5',['../group__keys.html#gaf258dda9947daa428377938ed577c8c2',1,'glfw3.h']]], + ['glfw_5fkey_5ff6',['GLFW_KEY_F6',['../group__keys.html#ga6dc2d3f87b9d51ffbbbe2ef0299d8e1d',1,'glfw3.h']]], + ['glfw_5fkey_5ff7',['GLFW_KEY_F7',['../group__keys.html#gacca6ef8a2162c52a0ac1d881e8d9c38a',1,'glfw3.h']]], + ['glfw_5fkey_5ff8',['GLFW_KEY_F8',['../group__keys.html#gac9d39390336ae14e4a93e295de43c7e8',1,'glfw3.h']]], + ['glfw_5fkey_5ff9',['GLFW_KEY_F9',['../group__keys.html#gae40de0de1c9f21cd26c9afa3d7050851',1,'glfw3.h']]], + ['glfw_5fkey_5fg',['GLFW_KEY_G',['../group__keys.html#gae74ecddf7cc96104ab23989b1cdab536',1,'glfw3.h']]], + ['glfw_5fkey_5fgrave_5faccent',['GLFW_KEY_GRAVE_ACCENT',['../group__keys.html#ga7a3701fb4e2a0b136ff4b568c3c8d668',1,'glfw3.h']]], + ['glfw_5fkey_5fh',['GLFW_KEY_H',['../group__keys.html#gad4cc98fc8f35f015d9e2fb94bf136076',1,'glfw3.h']]], + ['glfw_5fkey_5fhome',['GLFW_KEY_HOME',['../group__keys.html#ga41452c7287195d481e43207318c126a7',1,'glfw3.h']]], + ['glfw_5fkey_5fi',['GLFW_KEY_I',['../group__keys.html#ga274655c8bfe39742684ca393cf8ed093',1,'glfw3.h']]], + ['glfw_5fkey_5finsert',['GLFW_KEY_INSERT',['../group__keys.html#ga373ac7365435d6b0eb1068f470e34f47',1,'glfw3.h']]], + ['glfw_5fkey_5fj',['GLFW_KEY_J',['../group__keys.html#ga65ff2aedb129a3149ad9cb3e4159a75f',1,'glfw3.h']]], + ['glfw_5fkey_5fk',['GLFW_KEY_K',['../group__keys.html#ga4ae8debadf6d2a691badae0b53ea3ba0',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f0',['GLFW_KEY_KP_0',['../group__keys.html#ga10515dafc55b71e7683f5b4fedd1c70d',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f1',['GLFW_KEY_KP_1',['../group__keys.html#gaf3a29a334402c5eaf0b3439edf5587c3',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f2',['GLFW_KEY_KP_2',['../group__keys.html#gaf82d5a802ab8213c72653d7480c16f13',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f3',['GLFW_KEY_KP_3',['../group__keys.html#ga7e25ff30d56cd512828c1d4ae8d54ef2',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f4',['GLFW_KEY_KP_4',['../group__keys.html#gada7ec86778b85e0b4de0beea72234aea',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f5',['GLFW_KEY_KP_5',['../group__keys.html#ga9a5be274434866c51738cafbb6d26b45',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f6',['GLFW_KEY_KP_6',['../group__keys.html#gafc141b0f8450519084c01092a3157faa',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f7',['GLFW_KEY_KP_7',['../group__keys.html#ga8882f411f05d04ec77a9563974bbfa53',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f8',['GLFW_KEY_KP_8',['../group__keys.html#gab2ea2e6a12f89d315045af520ac78cec',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f9',['GLFW_KEY_KP_9',['../group__keys.html#gafb21426b630ed4fcc084868699ba74c1',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fadd',['GLFW_KEY_KP_ADD',['../group__keys.html#gad09c7c98acc79e89aa6a0a91275becac',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fdecimal',['GLFW_KEY_KP_DECIMAL',['../group__keys.html#ga4e231d968796331a9ea0dbfb98d4005b',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fdivide',['GLFW_KEY_KP_DIVIDE',['../group__keys.html#gabca1733780a273d549129ad0f250d1e5',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fenter',['GLFW_KEY_KP_ENTER',['../group__keys.html#ga4f728f8738f2986bd63eedd3d412e8cf',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fequal',['GLFW_KEY_KP_EQUAL',['../group__keys.html#gaebdc76d4a808191e6d21b7e4ad2acd97',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fmultiply',['GLFW_KEY_KP_MULTIPLY',['../group__keys.html#ga9ada267eb0e78ed2ada8701dd24a56ef',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fsubtract',['GLFW_KEY_KP_SUBTRACT',['../group__keys.html#gaa3dbd60782ff93d6082a124bce1fa236',1,'glfw3.h']]], + ['glfw_5fkey_5fl',['GLFW_KEY_L',['../group__keys.html#gaaa8b54a13f6b1eed85ac86f82d550db2',1,'glfw3.h']]], + ['glfw_5fkey_5flast',['GLFW_KEY_LAST',['../group__keys.html#ga442cbaef7bfb9a4ba13594dd7fbf2789',1,'glfw3.h']]], + ['glfw_5fkey_5fleft',['GLFW_KEY_LEFT',['../group__keys.html#gae12a010d33c309a67ab9460c51eb2462',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5falt',['GLFW_KEY_LEFT_ALT',['../group__keys.html#ga7f27dabf63a7789daa31e1c96790219b',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fbracket',['GLFW_KEY_LEFT_BRACKET',['../group__keys.html#gad1c8d9adac53925276ecb1d592511d8a',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fcontrol',['GLFW_KEY_LEFT_CONTROL',['../group__keys.html#ga9f97b743e81460ac4b2deddecd10a464',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fshift',['GLFW_KEY_LEFT_SHIFT',['../group__keys.html#ga8a530a28a65c44ab5d00b759b756d3f6',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fsuper',['GLFW_KEY_LEFT_SUPER',['../group__keys.html#gafb1207c91997fc295afd1835fbc5641a',1,'glfw3.h']]], + ['glfw_5fkey_5fm',['GLFW_KEY_M',['../group__keys.html#ga4d7f0260c82e4ea3d6ebc7a21d6e3716',1,'glfw3.h']]], + ['glfw_5fkey_5fmenu',['GLFW_KEY_MENU',['../group__keys.html#ga9845be48a745fc232045c9ec174d8820',1,'glfw3.h']]], + ['glfw_5fkey_5fminus',['GLFW_KEY_MINUS',['../group__keys.html#gac556b360f7f6fca4b70ba0aecf313fd4',1,'glfw3.h']]], + ['glfw_5fkey_5fn',['GLFW_KEY_N',['../group__keys.html#gae00856dfeb5d13aafebf59d44de5cdda',1,'glfw3.h']]], + ['glfw_5fkey_5fnum_5flock',['GLFW_KEY_NUM_LOCK',['../group__keys.html#ga3946edc362aeff213b2be6304296cf43',1,'glfw3.h']]], + ['glfw_5fkey_5fo',['GLFW_KEY_O',['../group__keys.html#gaecbbb79130df419d58dd7f09a169efe9',1,'glfw3.h']]], + ['glfw_5fkey_5fp',['GLFW_KEY_P',['../group__keys.html#ga8fc15819c1094fb2afa01d84546b33e1',1,'glfw3.h']]], + ['glfw_5fkey_5fpage_5fdown',['GLFW_KEY_PAGE_DOWN',['../group__keys.html#gaee0a8fa442001cc2147812f84b59041c',1,'glfw3.h']]], + ['glfw_5fkey_5fpage_5fup',['GLFW_KEY_PAGE_UP',['../group__keys.html#ga3ab731f9622f0db280178a5f3cc6d586',1,'glfw3.h']]], + ['glfw_5fkey_5fpause',['GLFW_KEY_PAUSE',['../group__keys.html#ga8116b9692d87382afb5849b6d8907f18',1,'glfw3.h']]], + ['glfw_5fkey_5fperiod',['GLFW_KEY_PERIOD',['../group__keys.html#ga37e296b650eab419fc474ff69033d927',1,'glfw3.h']]], + ['glfw_5fkey_5fprint_5fscreen',['GLFW_KEY_PRINT_SCREEN',['../group__keys.html#gaf964c2e65e97d0cf785a5636ee8df642',1,'glfw3.h']]], + ['glfw_5fkey_5fq',['GLFW_KEY_Q',['../group__keys.html#gafdd01e38b120d67cf51e348bb47f3964',1,'glfw3.h']]], + ['glfw_5fkey_5fr',['GLFW_KEY_R',['../group__keys.html#ga4ce6c70a0c98c50b3fe4ab9a728d4d36',1,'glfw3.h']]], + ['glfw_5fkey_5fright',['GLFW_KEY_RIGHT',['../group__keys.html#ga06ba07662e8c291a4a84535379ffc7ac',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5falt',['GLFW_KEY_RIGHT_ALT',['../group__keys.html#ga687b38009131cfdd07a8d05fff8fa446',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fbracket',['GLFW_KEY_RIGHT_BRACKET',['../group__keys.html#ga86ef225fd6a66404caae71044cdd58d8',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fcontrol',['GLFW_KEY_RIGHT_CONTROL',['../group__keys.html#gad1ca2094b2694e7251d0ab1fd34f8519',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fshift',['GLFW_KEY_RIGHT_SHIFT',['../group__keys.html#gaffca36b99c9dce1a19cb9befbadce691',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fsuper',['GLFW_KEY_RIGHT_SUPER',['../group__keys.html#gad4547a3e8e247594acb60423fe6502db',1,'glfw3.h']]], + ['glfw_5fkey_5fs',['GLFW_KEY_S',['../group__keys.html#ga1570e2ccaab036ea82bed66fc1dab2a9',1,'glfw3.h']]], + ['glfw_5fkey_5fscroll_5flock',['GLFW_KEY_SCROLL_LOCK',['../group__keys.html#gaf622b63b9537f7084c2ab649b8365630',1,'glfw3.h']]], + ['glfw_5fkey_5fsemicolon',['GLFW_KEY_SEMICOLON',['../group__keys.html#ga84233de9ee5bb3e8788a5aa07d80af7d',1,'glfw3.h']]], + ['glfw_5fkey_5fslash',['GLFW_KEY_SLASH',['../group__keys.html#gadf3d753b2d479148d711de34b83fd0db',1,'glfw3.h']]], + ['glfw_5fkey_5fspace',['GLFW_KEY_SPACE',['../group__keys.html#gaddb2c23772b97fd7e26e8ee66f1ad014',1,'glfw3.h']]], + ['glfw_5fkey_5ft',['GLFW_KEY_T',['../group__keys.html#ga90e0560422ec7a30e7f3f375bc9f37f9',1,'glfw3.h']]], + ['glfw_5fkey_5ftab',['GLFW_KEY_TAB',['../group__keys.html#ga6908a4bda9950a3e2b73f794bbe985df',1,'glfw3.h']]], + ['glfw_5fkey_5fu',['GLFW_KEY_U',['../group__keys.html#gacad52f3bf7d378fc0ffa72a76769256d',1,'glfw3.h']]], + ['glfw_5fkey_5funknown',['GLFW_KEY_UNKNOWN',['../group__keys.html#ga99aacc875b6b27a072552631e13775c7',1,'glfw3.h']]], + ['glfw_5fkey_5fup',['GLFW_KEY_UP',['../group__keys.html#ga2f3342b194020d3544c67e3506b6f144',1,'glfw3.h']]], + ['glfw_5fkey_5fv',['GLFW_KEY_V',['../group__keys.html#ga22c7763899ecf7788862e5f90eacce6b',1,'glfw3.h']]], + ['glfw_5fkey_5fw',['GLFW_KEY_W',['../group__keys.html#gaa06a712e6202661fc03da5bdb7b6e545',1,'glfw3.h']]], + ['glfw_5fkey_5fworld_5f1',['GLFW_KEY_WORLD_1',['../group__keys.html#gadc78dad3dab76bcd4b5c20114052577a',1,'glfw3.h']]], + ['glfw_5fkey_5fworld_5f2',['GLFW_KEY_WORLD_2',['../group__keys.html#ga20494bfebf0bb4fc9503afca18ab2c5e',1,'glfw3.h']]], + ['glfw_5fkey_5fx',['GLFW_KEY_X',['../group__keys.html#gac1c42c0bf4192cea713c55598b06b744',1,'glfw3.h']]], + ['glfw_5fkey_5fy',['GLFW_KEY_Y',['../group__keys.html#gafd9f115a549effdf8e372a787c360313',1,'glfw3.h']]], + ['glfw_5fkey_5fz',['GLFW_KEY_Z',['../group__keys.html#gac489e208c26afda8d4938ed88718760a',1,'glfw3.h']]], + ['glfw_5flose_5fcontext_5fon_5freset',['GLFW_LOSE_CONTEXT_ON_RESET',['../glfw3_8h.html#aec1132f245143fc915b2f0995228564c',1,'glfw3.h']]], + ['glfw_5fmod_5falt',['GLFW_MOD_ALT',['../group__mods.html#gad2acd5633463c29e07008687ea73c0f4',1,'glfw3.h']]], + ['glfw_5fmod_5fcontrol',['GLFW_MOD_CONTROL',['../group__mods.html#ga6ed94871c3208eefd85713fa929d45aa',1,'glfw3.h']]], + ['glfw_5fmod_5fshift',['GLFW_MOD_SHIFT',['../group__mods.html#ga14994d3196c290aaa347248e51740274',1,'glfw3.h']]], + ['glfw_5fmod_5fsuper',['GLFW_MOD_SUPER',['../group__mods.html#ga6b64ba10ea0227cf6f42efd0a220aba1',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f1',['GLFW_MOUSE_BUTTON_1',['../group__buttons.html#ga181a6e875251fd8671654eff00f9112e',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f2',['GLFW_MOUSE_BUTTON_2',['../group__buttons.html#ga604b39b92c88ce9bd332e97fc3f4156c',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f3',['GLFW_MOUSE_BUTTON_3',['../group__buttons.html#ga0130d505563d0236a6f85545f19e1721',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f4',['GLFW_MOUSE_BUTTON_4',['../group__buttons.html#ga53f4097bb01d5521c7d9513418c91ca9',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f5',['GLFW_MOUSE_BUTTON_5',['../group__buttons.html#gaf08c4ddecb051d3d9667db1d5e417c9c',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f6',['GLFW_MOUSE_BUTTON_6',['../group__buttons.html#gae8513e06aab8aa393b595f22c6d8257a',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f7',['GLFW_MOUSE_BUTTON_7',['../group__buttons.html#ga8b02a1ab55dde45b3a3883d54ffd7dc7',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f8',['GLFW_MOUSE_BUTTON_8',['../group__buttons.html#ga35d5c4263e0dc0d0a4731ca6c562f32c',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5flast',['GLFW_MOUSE_BUTTON_LAST',['../group__buttons.html#gab1fd86a4518a9141ec7bcde2e15a2fdf',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5fleft',['GLFW_MOUSE_BUTTON_LEFT',['../group__buttons.html#gaf37100431dcd5082d48f95ee8bc8cd56',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5fmiddle',['GLFW_MOUSE_BUTTON_MIDDLE',['../group__buttons.html#ga34a4d2a701434f763fd93a2ff842b95a',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5fright',['GLFW_MOUSE_BUTTON_RIGHT',['../group__buttons.html#ga3e2f2cf3c4942df73cc094247d275e74',1,'glfw3.h']]], + ['glfw_5fno_5fcurrent_5fcontext',['GLFW_NO_CURRENT_CONTEXT',['../group__errors.html#gaa8290386e9528ccb9e42a3a4e16fc0d0',1,'glfw3.h']]], + ['glfw_5fno_5freset_5fnotification',['GLFW_NO_RESET_NOTIFICATION',['../glfw3_8h.html#aee84a679230d205005e22487ff678a85',1,'glfw3.h']]], + ['glfw_5fno_5frobustness',['GLFW_NO_ROBUSTNESS',['../glfw3_8h.html#a8b306cb27f5bb0d6d67c7356a0e0fc34',1,'glfw3.h']]], + ['glfw_5fnot_5finitialized',['GLFW_NOT_INITIALIZED',['../group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a',1,'glfw3.h']]], + ['glfw_5fopengl_5fany_5fprofile',['GLFW_OPENGL_ANY_PROFILE',['../glfw3_8h.html#ad6f2335d6f21cc9bab96633b1c111d5f',1,'glfw3.h']]], + ['glfw_5fopengl_5fapi',['GLFW_OPENGL_API',['../glfw3_8h.html#a01b3f66db266341425e9abee6b257db2',1,'glfw3.h']]], + ['glfw_5fopengl_5fcompat_5fprofile',['GLFW_OPENGL_COMPAT_PROFILE',['../glfw3_8h.html#ac06b663d79c8fcf04669cc8fcc0b7670',1,'glfw3.h']]], + ['glfw_5fopengl_5fcore_5fprofile',['GLFW_OPENGL_CORE_PROFILE',['../glfw3_8h.html#af094bb16da76f66ebceb19ee213b3de8',1,'glfw3.h']]], + ['glfw_5fopengl_5fdebug_5fcontext',['GLFW_OPENGL_DEBUG_CONTEXT',['../glfw3_8h.html#a87ec2df0b915201e950ca42d5d0831e1',1,'glfw3.h']]], + ['glfw_5fopengl_5fes_5fapi',['GLFW_OPENGL_ES_API',['../glfw3_8h.html#a28d9b3bc6c2a522d815c8e146595051f',1,'glfw3.h']]], + ['glfw_5fopengl_5fforward_5fcompat',['GLFW_OPENGL_FORWARD_COMPAT',['../glfw3_8h.html#a13d24b12465da8b28985f46c8557925b',1,'glfw3.h']]], + ['glfw_5fopengl_5fprofile',['GLFW_OPENGL_PROFILE',['../glfw3_8h.html#a44f3a6b4261fbe351e0b950b0f372e12',1,'glfw3.h']]], + ['glfw_5fout_5fof_5fmemory',['GLFW_OUT_OF_MEMORY',['../group__errors.html#ga9023953a2bcb98c2906afd071d21ee7f',1,'glfw3.h']]], + ['glfw_5fplatform_5ferror',['GLFW_PLATFORM_ERROR',['../group__errors.html#gad44162d78100ea5e87cdd38426b8c7a1',1,'glfw3.h']]], + ['glfw_5fpress',['GLFW_PRESS',['../group__input.html#ga2485743d0b59df3791c45951c4195265',1,'glfw3.h']]], + ['glfw_5fred_5fbits',['GLFW_RED_BITS',['../glfw3_8h.html#af78ed8e417dbcc1e354906cc2708c982',1,'glfw3.h']]], + ['glfw_5frefresh_5frate',['GLFW_REFRESH_RATE',['../glfw3_8h.html#a0f20825e6e47ee8ba389024519682212',1,'glfw3.h']]], + ['glfw_5frelease',['GLFW_RELEASE',['../group__input.html#gada11d965c4da13090ad336e030e4d11f',1,'glfw3.h']]], + ['glfw_5frelease_5fbehavior_5fflush',['GLFW_RELEASE_BEHAVIOR_FLUSH',['../glfw3_8h.html#a999961d391db49cb4f949c1dece0e13b',1,'glfw3.h']]], + ['glfw_5frelease_5fbehavior_5fnone',['GLFW_RELEASE_BEHAVIOR_NONE',['../glfw3_8h.html#afca09088eccacdce4b59036cfae349c5',1,'glfw3.h']]], + ['glfw_5frepeat',['GLFW_REPEAT',['../group__input.html#gac96fd3b9fc66c6f0eebaf6532595338f',1,'glfw3.h']]], + ['glfw_5fresizable',['GLFW_RESIZABLE',['../glfw3_8h.html#adba13c7a1b3aa40831eb2beedbd5bd1d',1,'glfw3.h']]], + ['glfw_5fsamples',['GLFW_SAMPLES',['../glfw3_8h.html#a2cdf86fdcb7722fb8829c4e201607535',1,'glfw3.h']]], + ['glfw_5fsrgb_5fcapable',['GLFW_SRGB_CAPABLE',['../glfw3_8h.html#a444a8f00414a63220591f9fdb7b5642b',1,'glfw3.h']]], + ['glfw_5fstencil_5fbits',['GLFW_STENCIL_BITS',['../glfw3_8h.html#a5339890a45a1fb38e93cb9fcc5fd069d',1,'glfw3.h']]], + ['glfw_5fstereo',['GLFW_STEREO',['../glfw3_8h.html#a83d991efca02537e2d69969135b77b03',1,'glfw3.h']]], + ['glfw_5fsticky_5fkeys',['GLFW_STICKY_KEYS',['../glfw3_8h.html#ae3bbe2315b7691ab088159eb6c9110fc',1,'glfw3.h']]], + ['glfw_5fsticky_5fmouse_5fbuttons',['GLFW_STICKY_MOUSE_BUTTONS',['../glfw3_8h.html#a4d7ce8ce71030c3b04e2b78145bc59d1',1,'glfw3.h']]], + ['glfw_5fversion_5fmajor',['GLFW_VERSION_MAJOR',['../group__init.html#ga6337d9ea43b22fc529b2bba066b4a576',1,'glfw3.h']]], + ['glfw_5fversion_5fminor',['GLFW_VERSION_MINOR',['../group__init.html#gaf80d40f0aea7088ff337606e9c48f7a3',1,'glfw3.h']]], + ['glfw_5fversion_5frevision',['GLFW_VERSION_REVISION',['../group__init.html#gab72ae2e2035d9ea461abc3495eac0502',1,'glfw3.h']]], + ['glfw_5fversion_5funavailable',['GLFW_VERSION_UNAVAILABLE',['../group__errors.html#gad16c5565b4a69f9c2a9ac2c0dbc89462',1,'glfw3.h']]], + ['glfw_5fvisible',['GLFW_VISIBLE',['../glfw3_8h.html#afb3cdc45297e06d8f1eb13adc69ca6c4',1,'glfw3.h']]], + ['glfw_5fvresize_5fcursor',['GLFW_VRESIZE_CURSOR',['../group__shapes.html#gaf024f0e1ff8366fb2b5c260509a1fce5',1,'glfw3.h']]], + ['glfwcharfun',['GLFWcharfun',['../group__input.html#gabf24451c7ceb1952bc02b17a0d5c3e5f',1,'glfw3.h']]], + ['glfwcharmodsfun',['GLFWcharmodsfun',['../group__input.html#gae36fb6897d2b7df9b128900c8ce9c507',1,'glfw3.h']]], + ['glfwcreatecursor',['glfwCreateCursor',['../group__input.html#gafca356935e10135016aa49ffa464c355',1,'glfw3.h']]], + ['glfwcreatestandardcursor',['glfwCreateStandardCursor',['../group__input.html#gaa65f416d03ebbbb5b8db71a489fcb894',1,'glfw3.h']]], + ['glfwcreatewindow',['glfwCreateWindow',['../group__window.html#ga5c336fddf2cbb5b92f65f10fb6043344',1,'glfw3.h']]], + ['glfwcursor',['GLFWcursor',['../glfw3_8h.html#a89261ae18c75e863aaf2656ecdd238f4',1,'glfw3.h']]], + ['glfwcursorenterfun',['GLFWcursorenterfun',['../group__input.html#ga51ab436c41eeaed6db5a0c9403b1c840',1,'glfw3.h']]], + ['glfwcursorposfun',['GLFWcursorposfun',['../group__input.html#ga4cfad918fa836f09541e7b9acd36686c',1,'glfw3.h']]], + ['glfwdefaultwindowhints',['glfwDefaultWindowHints',['../group__window.html#gaa77c4898dfb83344a6b4f76aa16b9a4a',1,'glfw3.h']]], + ['glfwdestroycursor',['glfwDestroyCursor',['../group__input.html#ga81b952cd1764274d0db7fb3c5a79ba6a',1,'glfw3.h']]], + ['glfwdestroywindow',['glfwDestroyWindow',['../group__window.html#gacdf43e51376051d2c091662e9fe3d7b2',1,'glfw3.h']]], + ['glfwdropfun',['GLFWdropfun',['../group__input.html#gab71f4ca80b651462852e601caf308c4a',1,'glfw3.h']]], + ['glfwerrorfun',['GLFWerrorfun',['../group__init.html#ga6b8a2639706d5c409fc1287e8f55e928',1,'glfw3.h']]], + ['glfwextensionsupported',['glfwExtensionSupported',['../group__context.html#ga87425065c011cef1ebd6aac75e059dfa',1,'glfw3.h']]], + ['glfwframebuffersizefun',['GLFWframebuffersizefun',['../group__window.html#ga3e218ef9ff826129c55a7d5f6971a285',1,'glfw3.h']]], + ['glfwgammaramp',['GLFWgammaramp',['../structGLFWgammaramp.html',1,'GLFWgammaramp'],['../group__monitor.html#gaec0bd37af673be8813592849f13e02f0',1,'GLFWgammaramp(): glfw3.h']]], + ['glfwgetclipboardstring',['glfwGetClipboardString',['../group__input.html#ga5aba1d704d9ab539282b1fbe9f18bb94',1,'glfw3.h']]], + ['glfwgetcocoamonitor',['glfwGetCocoaMonitor',['../group__native.html#gaf22f429aec4b1aab316142d66d9be3e6',1,'glfw3native.h']]], + ['glfwgetcocoawindow',['glfwGetCocoaWindow',['../group__native.html#gac3ed9d495d0c2bb9652de5a50c648715',1,'glfw3native.h']]], + ['glfwgetcurrentcontext',['glfwGetCurrentContext',['../group__context.html#gac84759b1f6c2d271a4fea8ae89ec980d',1,'glfw3.h']]], + ['glfwgetcursorpos',['glfwGetCursorPos',['../group__input.html#ga01d37b6c40133676b9cea60ca1d7c0cc',1,'glfw3.h']]], + ['glfwgeteglcontext',['glfwGetEGLContext',['../group__native.html#ga671c5072becd085f4ab5771a9c8efcf1',1,'glfw3native.h']]], + ['glfwgetegldisplay',['glfwGetEGLDisplay',['../group__native.html#ga1cd8d973f47aacb5532d368147cc3138',1,'glfw3native.h']]], + ['glfwgeteglsurface',['glfwGetEGLSurface',['../group__native.html#ga2199b36117a6a695fec8441d8052eee6',1,'glfw3native.h']]], + ['glfwgetframebuffersize',['glfwGetFramebufferSize',['../group__window.html#ga0e2637a4161afb283f5300c7f94785c9',1,'glfw3.h']]], + ['glfwgetgammaramp',['glfwGetGammaRamp',['../group__monitor.html#gab7c41deb2219bde3e1eb756ddaa9ec80',1,'glfw3.h']]], + ['glfwgetglxcontext',['glfwGetGLXContext',['../group__native.html#ga62d884114b0abfcdc2930e89f20867e2',1,'glfw3native.h']]], + ['glfwgetinputmode',['glfwGetInputMode',['../group__input.html#gaf5b859dbe19bdf434e42695ea45cc5f4',1,'glfw3.h']]], + ['glfwgetjoystickaxes',['glfwGetJoystickAxes',['../group__input.html#ga6271d46a5901ec2c99601ccf4dd14731',1,'glfw3.h']]], + ['glfwgetjoystickbuttons',['glfwGetJoystickButtons',['../group__input.html#gace54cd930dcd502e118fe4021384ce1b',1,'glfw3.h']]], + ['glfwgetjoystickname',['glfwGetJoystickName',['../group__input.html#gac8d7f6107e05cfd106cfba973ab51e19',1,'glfw3.h']]], + ['glfwgetkey',['glfwGetKey',['../group__input.html#gadd341da06bc8d418b4dc3a3518af9ad2',1,'glfw3.h']]], + ['glfwgetmonitorname',['glfwGetMonitorName',['../group__monitor.html#ga79a34ee22ff080ca954a9663e4679daf',1,'glfw3.h']]], + ['glfwgetmonitorphysicalsize',['glfwGetMonitorPhysicalSize',['../group__monitor.html#ga7d8bffc6c55539286a6bd20d32a8d7ea',1,'glfw3.h']]], + ['glfwgetmonitorpos',['glfwGetMonitorPos',['../group__monitor.html#ga102f54e7acc9149edbcf0997152df8c9',1,'glfw3.h']]], + ['glfwgetmonitors',['glfwGetMonitors',['../group__monitor.html#ga3fba51c8bd36491d4712aa5bd074a537',1,'glfw3.h']]], + ['glfwgetmousebutton',['glfwGetMouseButton',['../group__input.html#gac1473feacb5996c01a7a5a33b5066704',1,'glfw3.h']]], + ['glfwgetnsglcontext',['glfwGetNSGLContext',['../group__native.html#ga559e002e3cd63c979881770cd4dc63bc',1,'glfw3native.h']]], + ['glfwgetprimarymonitor',['glfwGetPrimaryMonitor',['../group__monitor.html#ga721867d84c6d18d6790d64d2847ca0b1',1,'glfw3.h']]], + ['glfwgetprocaddress',['glfwGetProcAddress',['../group__context.html#ga35f1837e6f666781842483937612f163',1,'glfw3.h']]], + ['glfwgettime',['glfwGetTime',['../group__input.html#gaa6cf4e7a77158a3b8fd00328b1720a4a',1,'glfw3.h']]], + ['glfwgetversion',['glfwGetVersion',['../group__init.html#ga9f8ffaacf3c269cc48eafbf8b9b71197',1,'glfw3.h']]], + ['glfwgetversionstring',['glfwGetVersionString',['../group__init.html#ga23d47dc013fce2bf58036da66079a657',1,'glfw3.h']]], + ['glfwgetvideomode',['glfwGetVideoMode',['../group__monitor.html#gafc1bb972a921ad5b3bd5d63a95fc2d52',1,'glfw3.h']]], + ['glfwgetvideomodes',['glfwGetVideoModes',['../group__monitor.html#ga820b0ce9a5237d645ea7cbb4bd383458',1,'glfw3.h']]], + ['glfwgetwglcontext',['glfwGetWGLContext',['../group__native.html#gadc4010d91d9cc1134d040eeb1202a143',1,'glfw3native.h']]], + ['glfwgetwin32adapter',['glfwGetWin32Adapter',['../group__native.html#gac84f63a3f9db145b9435e5e0dbc4183d',1,'glfw3native.h']]], + ['glfwgetwin32monitor',['glfwGetWin32Monitor',['../group__native.html#gac408b09a330749402d5d1fa1f5894dd9',1,'glfw3native.h']]], + ['glfwgetwin32window',['glfwGetWin32Window',['../group__native.html#gafe5079aa79038b0079fc09d5f0a8e667',1,'glfw3native.h']]], + ['glfwgetwindowattrib',['glfwGetWindowAttrib',['../group__window.html#gacccb29947ea4b16860ebef42c2cb9337',1,'glfw3.h']]], + ['glfwgetwindowframesize',['glfwGetWindowFrameSize',['../group__window.html#ga1a9fd382058c53101b21cf211898f1f1',1,'glfw3.h']]], + ['glfwgetwindowmonitor',['glfwGetWindowMonitor',['../group__window.html#gaeac25e64789974ccbe0811766bd91a16',1,'glfw3.h']]], + ['glfwgetwindowpos',['glfwGetWindowPos',['../group__window.html#ga73cb526c000876fd8ddf571570fdb634',1,'glfw3.h']]], + ['glfwgetwindowsize',['glfwGetWindowSize',['../group__window.html#gaeea7cbc03373a41fb51cfbf9f2a5d4c6',1,'glfw3.h']]], + ['glfwgetwindowuserpointer',['glfwGetWindowUserPointer',['../group__window.html#ga17807ce0f45ac3f8bb50d6dcc59a4e06',1,'glfw3.h']]], + ['glfwgetx11adapter',['glfwGetX11Adapter',['../group__native.html#ga088fbfa80f50569402b41be71ad66e40',1,'glfw3native.h']]], + ['glfwgetx11display',['glfwGetX11Display',['../group__native.html#ga8519b66594ea3ef6eeafaa2e3ee37406',1,'glfw3native.h']]], + ['glfwgetx11monitor',['glfwGetX11Monitor',['../group__native.html#gab2f8cc043905e9fa9b12bfdbbcfe874c',1,'glfw3native.h']]], + ['glfwgetx11window',['glfwGetX11Window',['../group__native.html#ga90ca676322740842db446999a1b1f21d',1,'glfw3native.h']]], + ['glfwglproc',['GLFWglproc',['../group__context.html#ga3d47c2d2fbe0be9c505d0e04e91a133c',1,'glfw3.h']]], + ['glfwhidewindow',['glfwHideWindow',['../group__window.html#ga49401f82a1ba5f15db5590728314d47c',1,'glfw3.h']]], + ['glfwiconifywindow',['glfwIconifyWindow',['../group__window.html#ga1bb559c0ebaad63c5c05ad2a066779c4',1,'glfw3.h']]], + ['glfwimage',['GLFWimage',['../structGLFWimage.html',1,'GLFWimage'],['../glfw3_8h.html#ac81c32f4437de7b3aa58ab62c3d9e5b1',1,'GLFWimage(): glfw3.h']]], + ['glfwinit',['glfwInit',['../group__init.html#ga317aac130a235ab08c6db0834907d85e',1,'glfw3.h']]], + ['glfwjoystickpresent',['glfwJoystickPresent',['../group__input.html#gaffcbd9ac8ee737fcdd25475123a3c790',1,'glfw3.h']]], + ['glfwkeyfun',['GLFWkeyfun',['../group__input.html#ga0192a232a41e4e82948217c8ba94fdfd',1,'glfw3.h']]], + ['glfwmakecontextcurrent',['glfwMakeContextCurrent',['../group__context.html#ga1c04dc242268f827290fe40aa1c91157',1,'glfw3.h']]], + ['glfwmonitor',['GLFWmonitor',['../group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3',1,'glfw3.h']]], + ['glfwmonitorfun',['GLFWmonitorfun',['../group__monitor.html#ga8a7ee579a66720f24d656526f3e44c63',1,'glfw3.h']]], + ['glfwmousebuttonfun',['GLFWmousebuttonfun',['../group__input.html#ga39893a4a7e7c3239c98d29c9e084350c',1,'glfw3.h']]], + ['glfwpollevents',['glfwPollEvents',['../group__window.html#ga37bd57223967b4211d60ca1a0bf3c832',1,'glfw3.h']]], + ['glfwpostemptyevent',['glfwPostEmptyEvent',['../group__window.html#gab5997a25187e9fd5c6f2ecbbc8dfd7e9',1,'glfw3.h']]], + ['glfwrestorewindow',['glfwRestoreWindow',['../group__window.html#ga52527a5904b47d802b6b4bb519cdebc7',1,'glfw3.h']]], + ['glfwscrollfun',['GLFWscrollfun',['../group__input.html#ga4687e2199c60a18a8dd1da532e6d75c9',1,'glfw3.h']]], + ['glfwsetcharcallback',['glfwSetCharCallback',['../group__input.html#ga556239421c6a5a243c66fca28da9f742',1,'glfw3.h']]], + ['glfwsetcharmodscallback',['glfwSetCharModsCallback',['../group__input.html#ga3f55ef5dc03a374e567f068b13c94afc',1,'glfw3.h']]], + ['glfwsetclipboardstring',['glfwSetClipboardString',['../group__input.html#gaba1f022c5eb07dfac421df34cdcd31dd',1,'glfw3.h']]], + ['glfwsetcursor',['glfwSetCursor',['../group__input.html#gad3b4f38c8d5dae036bc8fa959e18343e',1,'glfw3.h']]], + ['glfwsetcursorentercallback',['glfwSetCursorEnterCallback',['../group__input.html#gaa299c41dd0a3d171d166354e01279e04',1,'glfw3.h']]], + ['glfwsetcursorpos',['glfwSetCursorPos',['../group__input.html#ga04b03af936d906ca123c8f4ee08b39e7',1,'glfw3.h']]], + ['glfwsetcursorposcallback',['glfwSetCursorPosCallback',['../group__input.html#ga7dad39486f2c7591af7fb25134a2501d',1,'glfw3.h']]], + ['glfwsetdropcallback',['glfwSetDropCallback',['../group__input.html#ga41291bf15dd3ff564b3143aa6dc74a4b',1,'glfw3.h']]], + ['glfwseterrorcallback',['glfwSetErrorCallback',['../group__init.html#gaa5d796c3cf7c1a7f02f845486333fb5f',1,'glfw3.h']]], + ['glfwsetframebuffersizecallback',['glfwSetFramebufferSizeCallback',['../group__window.html#ga3203461a5303bf289f2e05f854b2f7cf',1,'glfw3.h']]], + ['glfwsetgamma',['glfwSetGamma',['../group__monitor.html#ga6ac582625c990220785ddd34efa3169a',1,'glfw3.h']]], + ['glfwsetgammaramp',['glfwSetGammaRamp',['../group__monitor.html#ga583f0ffd0d29613d8cd172b996bbf0dd',1,'glfw3.h']]], + ['glfwsetinputmode',['glfwSetInputMode',['../group__input.html#gaa92336e173da9c8834558b54ee80563b',1,'glfw3.h']]], + ['glfwsetkeycallback',['glfwSetKeyCallback',['../group__input.html#ga7e496507126f35ea72f01b2e6ef6d155',1,'glfw3.h']]], + ['glfwsetmonitorcallback',['glfwSetMonitorCallback',['../group__monitor.html#gac3fe0f647f68b731f99756cd81897378',1,'glfw3.h']]], + ['glfwsetmousebuttoncallback',['glfwSetMouseButtonCallback',['../group__input.html#gaef49b72d84d615bca0a6ed65485e035d',1,'glfw3.h']]], + ['glfwsetscrollcallback',['glfwSetScrollCallback',['../group__input.html#gacf02eb10504352f16efda4593c3ce60e',1,'glfw3.h']]], + ['glfwsettime',['glfwSetTime',['../group__input.html#gaf59589ef6e8b8c8b5ad184b25afd4dc0',1,'glfw3.h']]], + ['glfwsetwindowclosecallback',['glfwSetWindowCloseCallback',['../group__window.html#gaade9264e79fae52bdb78e2df11ee8d6a',1,'glfw3.h']]], + ['glfwsetwindowfocuscallback',['glfwSetWindowFocusCallback',['../group__window.html#ga25d1c584edb375d7711c5c3548ba711f',1,'glfw3.h']]], + ['glfwsetwindowiconifycallback',['glfwSetWindowIconifyCallback',['../group__window.html#gab1ea7263081c0e073b8d5b91d6ffd367',1,'glfw3.h']]], + ['glfwsetwindowpos',['glfwSetWindowPos',['../group__window.html#ga1abb6d690e8c88e0c8cd1751356dbca8',1,'glfw3.h']]], + ['glfwsetwindowposcallback',['glfwSetWindowPosCallback',['../group__window.html#ga2837d4d240659feb4268fcb6530a6ba1',1,'glfw3.h']]], + ['glfwsetwindowrefreshcallback',['glfwSetWindowRefreshCallback',['../group__window.html#ga4569b76e8ac87c55b53199e6becd97eb',1,'glfw3.h']]], + ['glfwsetwindowshouldclose',['glfwSetWindowShouldClose',['../group__window.html#ga49c449dde2a6f87d996f4daaa09d6708',1,'glfw3.h']]], + ['glfwsetwindowsize',['glfwSetWindowSize',['../group__window.html#ga371911f12c74c504dd8d47d832d095cb',1,'glfw3.h']]], + ['glfwsetwindowsizecallback',['glfwSetWindowSizeCallback',['../group__window.html#gaa40cd24840daa8c62f36cafc847c72b6',1,'glfw3.h']]], + ['glfwsetwindowtitle',['glfwSetWindowTitle',['../group__window.html#ga5d877f09e968cef7a360b513306f17ff',1,'glfw3.h']]], + ['glfwsetwindowuserpointer',['glfwSetWindowUserPointer',['../group__window.html#ga3d2fc6026e690ab31a13f78bc9fd3651',1,'glfw3.h']]], + ['glfwshowwindow',['glfwShowWindow',['../group__window.html#ga61be47917b72536a148300f46494fc66',1,'glfw3.h']]], + ['glfwswapbuffers',['glfwSwapBuffers',['../group__window.html#ga15a5a1ee5b3c2ca6b15ca209a12efd14',1,'glfw3.h']]], + ['glfwswapinterval',['glfwSwapInterval',['../group__context.html#ga6d4e0cdf151b5e579bd67f13202994ed',1,'glfw3.h']]], + ['glfwterminate',['glfwTerminate',['../group__init.html#gaaae48c0a18607ea4a4ba951d939f0901',1,'glfw3.h']]], + ['glfwvidmode',['GLFWvidmode',['../structGLFWvidmode.html',1,'GLFWvidmode'],['../group__monitor.html#gae48aadf4ea0967e6605c8f58fa5daccb',1,'GLFWvidmode(): glfw3.h']]], + ['glfwwaitevents',['glfwWaitEvents',['../group__window.html#ga554e37d781f0a997656c26b2c56c835e',1,'glfw3.h']]], + ['glfwwindow',['GLFWwindow',['../group__window.html#ga3c96d80d363e67d13a41b5d1821f3242',1,'glfw3.h']]], + ['glfwwindowclosefun',['GLFWwindowclosefun',['../group__window.html#ga93e7c2555bd837f4ed8b20f76cada72e',1,'glfw3.h']]], + ['glfwwindowfocusfun',['GLFWwindowfocusfun',['../group__window.html#ga58be2061828dd35080bb438405d3a7e2',1,'glfw3.h']]], + ['glfwwindowhint',['glfwWindowHint',['../group__window.html#ga4fd9e504bb937e79588a0ffdca9f620b',1,'glfw3.h']]], + ['glfwwindowiconifyfun',['GLFWwindowiconifyfun',['../group__window.html#gad2d4e4c3d28b1242e742e8268b9528af',1,'glfw3.h']]], + ['glfwwindowposfun',['GLFWwindowposfun',['../group__window.html#gafd8db81fdb0e850549dc6bace5ed697a',1,'glfw3.h']]], + ['glfwwindowrefreshfun',['GLFWwindowrefreshfun',['../group__window.html#ga7a56f9e0227e2cd9470d80d919032e08',1,'glfw3.h']]], + ['glfwwindowshouldclose',['glfwWindowShouldClose',['../group__window.html#ga24e02fbfefbb81fc45320989f8140ab5',1,'glfw3.h']]], + ['glfwwindowsizefun',['GLFWwindowsizefun',['../group__window.html#gae49ee6ebc03fa2da024b89943a331355',1,'glfw3.h']]], + ['green',['green',['../structGLFWgammaramp.html#affccc6f5df47820b6562d709da3a5a3a',1,'GLFWgammaramp']]], + ['greenbits',['greenBits',['../structGLFWvidmode.html#a292fdd281f3485fb3ff102a5bda43faa',1,'GLFWvidmode']]], + ['getting_20started',['Getting started',['../quick.html',1,'']]] +]; diff --git a/docs/3.1/search/all_4.html b/docs/3.1/search/all_4.html new file mode 100644 index 0000000..6452295 --- /dev/null +++ b/docs/3.1/search/all_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/all_4.js b/docs/3.1/search/all_4.js new file mode 100644 index 0000000..b620f27 --- /dev/null +++ b/docs/3.1/search/all_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['height',['height',['../structGLFWvidmode.html#ac65942a5f6981695517437a9d571d03c',1,'GLFWvidmode::height()'],['../structGLFWimage.html#a0b7d95368f0c80d5e5c9875057c7dbec',1,'GLFWimage::height()']]] +]; diff --git a/docs/3.1/search/all_5.html b/docs/3.1/search/all_5.html new file mode 100644 index 0000000..e59e1d5 --- /dev/null +++ b/docs/3.1/search/all_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/all_5.js b/docs/3.1/search/all_5.js new file mode 100644 index 0000000..e456d8a --- /dev/null +++ b/docs/3.1/search/all_5.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['initialization_2c_20version_20and_20errors',['Initialization, version and errors',['../group__init.html',1,'']]], + ['input_20handling',['Input handling',['../group__input.html',1,'']]], + ['input_20guide',['Input guide',['../input.html',1,'']]], + ['input_2edox',['input.dox',['../input_8dox.html',1,'']]], + ['introduction_20to_20the_20api',['Introduction to the API',['../intro.html',1,'']]], + ['intro_2edox',['intro.dox',['../intro_8dox.html',1,'']]] +]; diff --git a/docs/3.1/search/all_6.html b/docs/3.1/search/all_6.html new file mode 100644 index 0000000..f75a754 --- /dev/null +++ b/docs/3.1/search/all_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/all_6.js b/docs/3.1/search/all_6.js new file mode 100644 index 0000000..8a2eb27 --- /dev/null +++ b/docs/3.1/search/all_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['joysticks',['Joysticks',['../group__joysticks.html',1,'']]] +]; diff --git a/docs/3.1/search/all_7.html b/docs/3.1/search/all_7.html new file mode 100644 index 0000000..88acd94 --- /dev/null +++ b/docs/3.1/search/all_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/all_7.js b/docs/3.1/search/all_7.js new file mode 100644 index 0000000..e1f2924 --- /dev/null +++ b/docs/3.1/search/all_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['keyboard_20keys',['Keyboard keys',['../group__keys.html',1,'']]] +]; diff --git a/docs/3.1/search/all_8.html b/docs/3.1/search/all_8.html new file mode 100644 index 0000000..b74d5fd --- /dev/null +++ b/docs/3.1/search/all_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/all_8.js b/docs/3.1/search/all_8.js new file mode 100644 index 0000000..5f38414 --- /dev/null +++ b/docs/3.1/search/all_8.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['mouse_20buttons',['Mouse buttons',['../group__buttons.html',1,'']]], + ['main_2edox',['main.dox',['../main_8dox.html',1,'']]], + ['modifier_20key_20flags',['Modifier key flags',['../group__mods.html',1,'']]], + ['monitor_20guide',['Monitor guide',['../monitor.html',1,'']]], + ['monitor_20handling',['Monitor handling',['../group__monitor.html',1,'']]], + ['monitor_2edox',['monitor.dox',['../monitor_8dox.html',1,'']]], + ['moving_20from_20glfw_202_20to_203',['Moving from GLFW 2 to 3',['../moving.html',1,'']]], + ['moving_2edox',['moving.dox',['../moving_8dox.html',1,'']]] +]; diff --git a/docs/3.1/search/all_9.html b/docs/3.1/search/all_9.html new file mode 100644 index 0000000..95e88dd --- /dev/null +++ b/docs/3.1/search/all_9.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/all_9.js b/docs/3.1/search/all_9.js new file mode 100644 index 0000000..5a77649 --- /dev/null +++ b/docs/3.1/search/all_9.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['notitle',['notitle',['../index.html',1,'']]], + ['native_20access',['Native access',['../group__native.html',1,'']]], + ['new_20features',['New features',['../news.html',1,'']]], + ['news_2edox',['news.dox',['../news_8dox.html',1,'']]] +]; diff --git a/docs/3.1/search/all_a.html b/docs/3.1/search/all_a.html new file mode 100644 index 0000000..3148a8e --- /dev/null +++ b/docs/3.1/search/all_a.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/all_a.js b/docs/3.1/search/all_a.js new file mode 100644 index 0000000..8e3d6f2 --- /dev/null +++ b/docs/3.1/search/all_a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['oculus_20rift_20guide',['Oculus Rift guide',['../rift.html',1,'']]] +]; diff --git a/docs/3.1/search/all_b.html b/docs/3.1/search/all_b.html new file mode 100644 index 0000000..f2a3c8d --- /dev/null +++ b/docs/3.1/search/all_b.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/all_b.js b/docs/3.1/search/all_b.js new file mode 100644 index 0000000..3616d8e --- /dev/null +++ b/docs/3.1/search/all_b.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['pixels',['pixels',['../structGLFWimage.html#a0c532a5c2bb715555279b7817daba0fb',1,'GLFWimage']]] +]; diff --git a/docs/3.1/search/all_c.html b/docs/3.1/search/all_c.html new file mode 100644 index 0000000..6376810 --- /dev/null +++ b/docs/3.1/search/all_c.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/all_c.js b/docs/3.1/search/all_c.js new file mode 100644 index 0000000..89d569c --- /dev/null +++ b/docs/3.1/search/all_c.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['quick_2edox',['quick.dox',['../quick_8dox.html',1,'']]] +]; diff --git a/docs/3.1/search/all_d.html b/docs/3.1/search/all_d.html new file mode 100644 index 0000000..cc52c79 --- /dev/null +++ b/docs/3.1/search/all_d.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/all_d.js b/docs/3.1/search/all_d.js new file mode 100644 index 0000000..958e0e3 --- /dev/null +++ b/docs/3.1/search/all_d.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['red',['red',['../structGLFWgammaramp.html#a2cce5d968734b685623eef913e635138',1,'GLFWgammaramp']]], + ['redbits',['redBits',['../structGLFWvidmode.html#a6066c4ecd251098700062d3b735dba1b',1,'GLFWvidmode']]], + ['refreshrate',['refreshRate',['../structGLFWvidmode.html#a791bdd6c7697b09f7e9c97054bf05649',1,'GLFWvidmode']]], + ['rift_2edox',['rift.dox',['../rift_8dox.html',1,'']]] +]; diff --git a/docs/3.1/search/all_e.html b/docs/3.1/search/all_e.html new file mode 100644 index 0000000..85b39bd --- /dev/null +++ b/docs/3.1/search/all_e.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/all_e.js b/docs/3.1/search/all_e.js new file mode 100644 index 0000000..37f444c --- /dev/null +++ b/docs/3.1/search/all_e.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['standards_20conformance',['Standards conformance',['../compat.html',1,'']]], + ['standard_20cursor_20shapes',['Standard cursor shapes',['../group__shapes.html',1,'']]], + ['size',['size',['../structGLFWgammaramp.html#ad620e1cffbff9a32c51bca46301b59a5',1,'GLFWgammaramp']]] +]; diff --git a/docs/3.1/search/all_f.html b/docs/3.1/search/all_f.html new file mode 100644 index 0000000..89fa15a --- /dev/null +++ b/docs/3.1/search/all_f.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/all_f.js b/docs/3.1/search/all_f.js new file mode 100644 index 0000000..dce8be9 --- /dev/null +++ b/docs/3.1/search/all_f.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['width',['width',['../structGLFWvidmode.html#a698dcb200562051a7249cb6ae154c71d',1,'GLFWvidmode::width()'],['../structGLFWimage.html#af6a71cc999fe6d3aea31dd7e9687d835',1,'GLFWimage::width()']]], + ['window_20guide',['Window guide',['../window.html',1,'']]], + ['window_20handling',['Window handling',['../group__window.html',1,'']]], + ['window_2edox',['window.dox',['../window_8dox.html',1,'']]] +]; diff --git a/docs/3.1/search/classes_0.html b/docs/3.1/search/classes_0.html new file mode 100644 index 0000000..e935fdf --- /dev/null +++ b/docs/3.1/search/classes_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/classes_0.js b/docs/3.1/search/classes_0.js new file mode 100644 index 0000000..09dda9f --- /dev/null +++ b/docs/3.1/search/classes_0.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['glfwgammaramp',['GLFWgammaramp',['../structGLFWgammaramp.html',1,'']]], + ['glfwimage',['GLFWimage',['../structGLFWimage.html',1,'']]], + ['glfwvidmode',['GLFWvidmode',['../structGLFWvidmode.html',1,'']]] +]; diff --git a/docs/3.1/search/close.png b/docs/3.1/search/close.png new file mode 100644 index 0000000000000000000000000000000000000000..9342d3dfeea7b7c4ee610987e717804b5a42ceb9 GIT binary patch literal 273 zcmV+s0q*{ZP)4(RlMby96)VwnbG{ zbe&}^BDn7x>$<{ck4zAK-=nT;=hHG)kmplIF${xqm8db3oX6wT3bvp`TE@m0cg;b) zBuSL}5?N7O(iZLdAlz@)b)Rd~DnSsSX&P5qC`XwuFwcAYLC+d2>+1(8on;wpt8QIC X2MT$R4iQDd00000NkvXXu0mjfia~GN literal 0 HcmV?d00001 diff --git a/docs/3.1/search/defines_0.html b/docs/3.1/search/defines_0.html new file mode 100644 index 0000000..3bffafa --- /dev/null +++ b/docs/3.1/search/defines_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/defines_0.js b/docs/3.1/search/defines_0.js new file mode 100644 index 0000000..c7b2c54 --- /dev/null +++ b/docs/3.1/search/defines_0.js @@ -0,0 +1,55 @@ +var searchData= +[ + ['glfw_5faccum_5falpha_5fbits',['GLFW_ACCUM_ALPHA_BITS',['../glfw3_8h.html#ae829b55591c18169a40ab4067a041b1f',1,'glfw3.h']]], + ['glfw_5faccum_5fblue_5fbits',['GLFW_ACCUM_BLUE_BITS',['../glfw3_8h.html#a22bbe9104a8ce1f8b88fb4f186aa36ce',1,'glfw3.h']]], + ['glfw_5faccum_5fgreen_5fbits',['GLFW_ACCUM_GREEN_BITS',['../glfw3_8h.html#a65713cee1326f8e9d806fdf93187b471',1,'glfw3.h']]], + ['glfw_5faccum_5fred_5fbits',['GLFW_ACCUM_RED_BITS',['../glfw3_8h.html#aead34a9a683b2bc20eecf30ba738bfc6',1,'glfw3.h']]], + ['glfw_5falpha_5fbits',['GLFW_ALPHA_BITS',['../glfw3_8h.html#afed79a3f468997877da86c449bd43e8c',1,'glfw3.h']]], + ['glfw_5fany_5frelease_5fbehavior',['GLFW_ANY_RELEASE_BEHAVIOR',['../glfw3_8h.html#a6b47d806f285efe9bfd7aeec667297ee',1,'glfw3.h']]], + ['glfw_5fauto_5ficonify',['GLFW_AUTO_ICONIFY',['../glfw3_8h.html#a9d9874fc928200136a6dcdad726aa252',1,'glfw3.h']]], + ['glfw_5faux_5fbuffers',['GLFW_AUX_BUFFERS',['../glfw3_8h.html#ab05108c5029443b371112b031d1fa174',1,'glfw3.h']]], + ['glfw_5fblue_5fbits',['GLFW_BLUE_BITS',['../glfw3_8h.html#ab292ea403db6d514537b515311bf9ae3',1,'glfw3.h']]], + ['glfw_5fclient_5fapi',['GLFW_CLIENT_API',['../glfw3_8h.html#a649309cf72a3d3de5b1348ca7936c95b',1,'glfw3.h']]], + ['glfw_5fconnected',['GLFW_CONNECTED',['../glfw3_8h.html#abe11513fd1ffbee5bb9b173f06028b9e',1,'glfw3.h']]], + ['glfw_5fcontext_5frelease_5fbehavior',['GLFW_CONTEXT_RELEASE_BEHAVIOR',['../glfw3_8h.html#a72b648a8378fe3310c7c7bbecc0f7be6',1,'glfw3.h']]], + ['glfw_5fcontext_5frevision',['GLFW_CONTEXT_REVISION',['../glfw3_8h.html#afb9475071aa77c6fb05ca5a5c8678a08',1,'glfw3.h']]], + ['glfw_5fcontext_5frobustness',['GLFW_CONTEXT_ROBUSTNESS',['../glfw3_8h.html#ade3593916b4c507900aa2d6844810e00',1,'glfw3.h']]], + ['glfw_5fcontext_5fversion_5fmajor',['GLFW_CONTEXT_VERSION_MAJOR',['../glfw3_8h.html#afe5e4922de1f9932d7e9849bb053b0c0',1,'glfw3.h']]], + ['glfw_5fcontext_5fversion_5fminor',['GLFW_CONTEXT_VERSION_MINOR',['../glfw3_8h.html#a31aca791e4b538c4e4a771eb95cc2d07',1,'glfw3.h']]], + ['glfw_5fcursor',['GLFW_CURSOR',['../glfw3_8h.html#aade31da5b884a84a7625c6b059b9132c',1,'glfw3.h']]], + ['glfw_5fcursor_5fdisabled',['GLFW_CURSOR_DISABLED',['../glfw3_8h.html#a2315b99a329ce53e6a13a9d46fd5ca88',1,'glfw3.h']]], + ['glfw_5fcursor_5fhidden',['GLFW_CURSOR_HIDDEN',['../glfw3_8h.html#ac4d5cb9d78de8573349c58763d53bf11',1,'glfw3.h']]], + ['glfw_5fcursor_5fnormal',['GLFW_CURSOR_NORMAL',['../glfw3_8h.html#ae04dd25c8577e19fa8c97368561f6c68',1,'glfw3.h']]], + ['glfw_5fdecorated',['GLFW_DECORATED',['../glfw3_8h.html#a21b854d36314c94d65aed84405b2f25e',1,'glfw3.h']]], + ['glfw_5fdepth_5fbits',['GLFW_DEPTH_BITS',['../glfw3_8h.html#a318a55eac1fee57dfe593b6d38149d07',1,'glfw3.h']]], + ['glfw_5fdisconnected',['GLFW_DISCONNECTED',['../glfw3_8h.html#aab64b25921ef21d89252d6f0a71bfc32',1,'glfw3.h']]], + ['glfw_5fdont_5fcare',['GLFW_DONT_CARE',['../glfw3_8h.html#a7a2edf2c18446833d27d07f1b7f3d571',1,'glfw3.h']]], + ['glfw_5fdoublebuffer',['GLFW_DOUBLEBUFFER',['../glfw3_8h.html#a714a5d569e8a274ea58fdfa020955339',1,'glfw3.h']]], + ['glfw_5ffloating',['GLFW_FLOATING',['../glfw3_8h.html#a7fb0be51407783b41adbf5bec0b09d80',1,'glfw3.h']]], + ['glfw_5ffocused',['GLFW_FOCUSED',['../glfw3_8h.html#a54ddb14825a1541a56e22afb5f832a9e',1,'glfw3.h']]], + ['glfw_5fgreen_5fbits',['GLFW_GREEN_BITS',['../glfw3_8h.html#afba3b72638c914e5fb8a237dd4c50d4d',1,'glfw3.h']]], + ['glfw_5ficonified',['GLFW_ICONIFIED',['../glfw3_8h.html#a39d44b7c056e55e581355a92d240b58a',1,'glfw3.h']]], + ['glfw_5flose_5fcontext_5fon_5freset',['GLFW_LOSE_CONTEXT_ON_RESET',['../glfw3_8h.html#aec1132f245143fc915b2f0995228564c',1,'glfw3.h']]], + ['glfw_5fno_5freset_5fnotification',['GLFW_NO_RESET_NOTIFICATION',['../glfw3_8h.html#aee84a679230d205005e22487ff678a85',1,'glfw3.h']]], + ['glfw_5fno_5frobustness',['GLFW_NO_ROBUSTNESS',['../glfw3_8h.html#a8b306cb27f5bb0d6d67c7356a0e0fc34',1,'glfw3.h']]], + ['glfw_5fopengl_5fany_5fprofile',['GLFW_OPENGL_ANY_PROFILE',['../glfw3_8h.html#ad6f2335d6f21cc9bab96633b1c111d5f',1,'glfw3.h']]], + ['glfw_5fopengl_5fapi',['GLFW_OPENGL_API',['../glfw3_8h.html#a01b3f66db266341425e9abee6b257db2',1,'glfw3.h']]], + ['glfw_5fopengl_5fcompat_5fprofile',['GLFW_OPENGL_COMPAT_PROFILE',['../glfw3_8h.html#ac06b663d79c8fcf04669cc8fcc0b7670',1,'glfw3.h']]], + ['glfw_5fopengl_5fcore_5fprofile',['GLFW_OPENGL_CORE_PROFILE',['../glfw3_8h.html#af094bb16da76f66ebceb19ee213b3de8',1,'glfw3.h']]], + ['glfw_5fopengl_5fdebug_5fcontext',['GLFW_OPENGL_DEBUG_CONTEXT',['../glfw3_8h.html#a87ec2df0b915201e950ca42d5d0831e1',1,'glfw3.h']]], + ['glfw_5fopengl_5fes_5fapi',['GLFW_OPENGL_ES_API',['../glfw3_8h.html#a28d9b3bc6c2a522d815c8e146595051f',1,'glfw3.h']]], + ['glfw_5fopengl_5fforward_5fcompat',['GLFW_OPENGL_FORWARD_COMPAT',['../glfw3_8h.html#a13d24b12465da8b28985f46c8557925b',1,'glfw3.h']]], + ['glfw_5fopengl_5fprofile',['GLFW_OPENGL_PROFILE',['../glfw3_8h.html#a44f3a6b4261fbe351e0b950b0f372e12',1,'glfw3.h']]], + ['glfw_5fred_5fbits',['GLFW_RED_BITS',['../glfw3_8h.html#af78ed8e417dbcc1e354906cc2708c982',1,'glfw3.h']]], + ['glfw_5frefresh_5frate',['GLFW_REFRESH_RATE',['../glfw3_8h.html#a0f20825e6e47ee8ba389024519682212',1,'glfw3.h']]], + ['glfw_5frelease_5fbehavior_5fflush',['GLFW_RELEASE_BEHAVIOR_FLUSH',['../glfw3_8h.html#a999961d391db49cb4f949c1dece0e13b',1,'glfw3.h']]], + ['glfw_5frelease_5fbehavior_5fnone',['GLFW_RELEASE_BEHAVIOR_NONE',['../glfw3_8h.html#afca09088eccacdce4b59036cfae349c5',1,'glfw3.h']]], + ['glfw_5fresizable',['GLFW_RESIZABLE',['../glfw3_8h.html#adba13c7a1b3aa40831eb2beedbd5bd1d',1,'glfw3.h']]], + ['glfw_5fsamples',['GLFW_SAMPLES',['../glfw3_8h.html#a2cdf86fdcb7722fb8829c4e201607535',1,'glfw3.h']]], + ['glfw_5fsrgb_5fcapable',['GLFW_SRGB_CAPABLE',['../glfw3_8h.html#a444a8f00414a63220591f9fdb7b5642b',1,'glfw3.h']]], + ['glfw_5fstencil_5fbits',['GLFW_STENCIL_BITS',['../glfw3_8h.html#a5339890a45a1fb38e93cb9fcc5fd069d',1,'glfw3.h']]], + ['glfw_5fstereo',['GLFW_STEREO',['../glfw3_8h.html#a83d991efca02537e2d69969135b77b03',1,'glfw3.h']]], + ['glfw_5fsticky_5fkeys',['GLFW_STICKY_KEYS',['../glfw3_8h.html#ae3bbe2315b7691ab088159eb6c9110fc',1,'glfw3.h']]], + ['glfw_5fsticky_5fmouse_5fbuttons',['GLFW_STICKY_MOUSE_BUTTONS',['../glfw3_8h.html#a4d7ce8ce71030c3b04e2b78145bc59d1',1,'glfw3.h']]], + ['glfw_5fvisible',['GLFW_VISIBLE',['../glfw3_8h.html#afb3cdc45297e06d8f1eb13adc69ca6c4',1,'glfw3.h']]] +]; diff --git a/docs/3.1/search/files_0.html b/docs/3.1/search/files_0.html new file mode 100644 index 0000000..49606c8 --- /dev/null +++ b/docs/3.1/search/files_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/files_0.js b/docs/3.1/search/files_0.js new file mode 100644 index 0000000..c470857 --- /dev/null +++ b/docs/3.1/search/files_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['build_2edox',['build.dox',['../build_8dox.html',1,'']]] +]; diff --git a/docs/3.1/search/files_1.html b/docs/3.1/search/files_1.html new file mode 100644 index 0000000..c887174 --- /dev/null +++ b/docs/3.1/search/files_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/files_1.js b/docs/3.1/search/files_1.js new file mode 100644 index 0000000..8d34ec3 --- /dev/null +++ b/docs/3.1/search/files_1.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['compat_2edox',['compat.dox',['../compat_8dox.html',1,'']]], + ['compile_2edox',['compile.dox',['../compile_8dox.html',1,'']]], + ['context_2edox',['context.dox',['../context_8dox.html',1,'']]] +]; diff --git a/docs/3.1/search/files_2.html b/docs/3.1/search/files_2.html new file mode 100644 index 0000000..99bdf21 --- /dev/null +++ b/docs/3.1/search/files_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/files_2.js b/docs/3.1/search/files_2.js new file mode 100644 index 0000000..fdac23d --- /dev/null +++ b/docs/3.1/search/files_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['glfw3_2eh',['glfw3.h',['../glfw3_8h.html',1,'']]], + ['glfw3native_2eh',['glfw3native.h',['../glfw3native_8h.html',1,'']]] +]; diff --git a/docs/3.1/search/files_3.html b/docs/3.1/search/files_3.html new file mode 100644 index 0000000..f8e543a --- /dev/null +++ b/docs/3.1/search/files_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/files_3.js b/docs/3.1/search/files_3.js new file mode 100644 index 0000000..7e7b592 --- /dev/null +++ b/docs/3.1/search/files_3.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['input_2edox',['input.dox',['../input_8dox.html',1,'']]], + ['intro_2edox',['intro.dox',['../intro_8dox.html',1,'']]] +]; diff --git a/docs/3.1/search/files_4.html b/docs/3.1/search/files_4.html new file mode 100644 index 0000000..2ebb46c --- /dev/null +++ b/docs/3.1/search/files_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/files_4.js b/docs/3.1/search/files_4.js new file mode 100644 index 0000000..f3cf03f --- /dev/null +++ b/docs/3.1/search/files_4.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['main_2edox',['main.dox',['../main_8dox.html',1,'']]], + ['monitor_2edox',['monitor.dox',['../monitor_8dox.html',1,'']]], + ['moving_2edox',['moving.dox',['../moving_8dox.html',1,'']]] +]; diff --git a/docs/3.1/search/files_5.html b/docs/3.1/search/files_5.html new file mode 100644 index 0000000..268b7eb --- /dev/null +++ b/docs/3.1/search/files_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/files_5.js b/docs/3.1/search/files_5.js new file mode 100644 index 0000000..f6c3d10 --- /dev/null +++ b/docs/3.1/search/files_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['news_2edox',['news.dox',['../news_8dox.html',1,'']]] +]; diff --git a/docs/3.1/search/files_6.html b/docs/3.1/search/files_6.html new file mode 100644 index 0000000..98fc666 --- /dev/null +++ b/docs/3.1/search/files_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/files_6.js b/docs/3.1/search/files_6.js new file mode 100644 index 0000000..89d569c --- /dev/null +++ b/docs/3.1/search/files_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['quick_2edox',['quick.dox',['../quick_8dox.html',1,'']]] +]; diff --git a/docs/3.1/search/files_7.html b/docs/3.1/search/files_7.html new file mode 100644 index 0000000..49507de --- /dev/null +++ b/docs/3.1/search/files_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/files_7.js b/docs/3.1/search/files_7.js new file mode 100644 index 0000000..5a754fe --- /dev/null +++ b/docs/3.1/search/files_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['rift_2edox',['rift.dox',['../rift_8dox.html',1,'']]] +]; diff --git a/docs/3.1/search/files_8.html b/docs/3.1/search/files_8.html new file mode 100644 index 0000000..12c6630 --- /dev/null +++ b/docs/3.1/search/files_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/files_8.js b/docs/3.1/search/files_8.js new file mode 100644 index 0000000..e822451 --- /dev/null +++ b/docs/3.1/search/files_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window_2edox',['window.dox',['../window_8dox.html',1,'']]] +]; diff --git a/docs/3.1/search/functions_0.html b/docs/3.1/search/functions_0.html new file mode 100644 index 0000000..0539c8c --- /dev/null +++ b/docs/3.1/search/functions_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/functions_0.js b/docs/3.1/search/functions_0.js new file mode 100644 index 0000000..385302e --- /dev/null +++ b/docs/3.1/search/functions_0.js @@ -0,0 +1,97 @@ +var searchData= +[ + ['glfwcreatecursor',['glfwCreateCursor',['../group__input.html#gafca356935e10135016aa49ffa464c355',1,'glfw3.h']]], + ['glfwcreatestandardcursor',['glfwCreateStandardCursor',['../group__input.html#gaa65f416d03ebbbb5b8db71a489fcb894',1,'glfw3.h']]], + ['glfwcreatewindow',['glfwCreateWindow',['../group__window.html#ga5c336fddf2cbb5b92f65f10fb6043344',1,'glfw3.h']]], + ['glfwdefaultwindowhints',['glfwDefaultWindowHints',['../group__window.html#gaa77c4898dfb83344a6b4f76aa16b9a4a',1,'glfw3.h']]], + ['glfwdestroycursor',['glfwDestroyCursor',['../group__input.html#ga81b952cd1764274d0db7fb3c5a79ba6a',1,'glfw3.h']]], + ['glfwdestroywindow',['glfwDestroyWindow',['../group__window.html#gacdf43e51376051d2c091662e9fe3d7b2',1,'glfw3.h']]], + ['glfwextensionsupported',['glfwExtensionSupported',['../group__context.html#ga87425065c011cef1ebd6aac75e059dfa',1,'glfw3.h']]], + ['glfwgetclipboardstring',['glfwGetClipboardString',['../group__input.html#ga5aba1d704d9ab539282b1fbe9f18bb94',1,'glfw3.h']]], + ['glfwgetcocoamonitor',['glfwGetCocoaMonitor',['../group__native.html#gaf22f429aec4b1aab316142d66d9be3e6',1,'glfw3native.h']]], + ['glfwgetcocoawindow',['glfwGetCocoaWindow',['../group__native.html#gac3ed9d495d0c2bb9652de5a50c648715',1,'glfw3native.h']]], + ['glfwgetcurrentcontext',['glfwGetCurrentContext',['../group__context.html#gac84759b1f6c2d271a4fea8ae89ec980d',1,'glfw3.h']]], + ['glfwgetcursorpos',['glfwGetCursorPos',['../group__input.html#ga01d37b6c40133676b9cea60ca1d7c0cc',1,'glfw3.h']]], + ['glfwgeteglcontext',['glfwGetEGLContext',['../group__native.html#ga671c5072becd085f4ab5771a9c8efcf1',1,'glfw3native.h']]], + ['glfwgetegldisplay',['glfwGetEGLDisplay',['../group__native.html#ga1cd8d973f47aacb5532d368147cc3138',1,'glfw3native.h']]], + ['glfwgeteglsurface',['glfwGetEGLSurface',['../group__native.html#ga2199b36117a6a695fec8441d8052eee6',1,'glfw3native.h']]], + ['glfwgetframebuffersize',['glfwGetFramebufferSize',['../group__window.html#ga0e2637a4161afb283f5300c7f94785c9',1,'glfw3.h']]], + ['glfwgetgammaramp',['glfwGetGammaRamp',['../group__monitor.html#gab7c41deb2219bde3e1eb756ddaa9ec80',1,'glfw3.h']]], + ['glfwgetglxcontext',['glfwGetGLXContext',['../group__native.html#ga62d884114b0abfcdc2930e89f20867e2',1,'glfw3native.h']]], + ['glfwgetinputmode',['glfwGetInputMode',['../group__input.html#gaf5b859dbe19bdf434e42695ea45cc5f4',1,'glfw3.h']]], + ['glfwgetjoystickaxes',['glfwGetJoystickAxes',['../group__input.html#ga6271d46a5901ec2c99601ccf4dd14731',1,'glfw3.h']]], + ['glfwgetjoystickbuttons',['glfwGetJoystickButtons',['../group__input.html#gace54cd930dcd502e118fe4021384ce1b',1,'glfw3.h']]], + ['glfwgetjoystickname',['glfwGetJoystickName',['../group__input.html#gac8d7f6107e05cfd106cfba973ab51e19',1,'glfw3.h']]], + ['glfwgetkey',['glfwGetKey',['../group__input.html#gadd341da06bc8d418b4dc3a3518af9ad2',1,'glfw3.h']]], + ['glfwgetmonitorname',['glfwGetMonitorName',['../group__monitor.html#ga79a34ee22ff080ca954a9663e4679daf',1,'glfw3.h']]], + ['glfwgetmonitorphysicalsize',['glfwGetMonitorPhysicalSize',['../group__monitor.html#ga7d8bffc6c55539286a6bd20d32a8d7ea',1,'glfw3.h']]], + ['glfwgetmonitorpos',['glfwGetMonitorPos',['../group__monitor.html#ga102f54e7acc9149edbcf0997152df8c9',1,'glfw3.h']]], + ['glfwgetmonitors',['glfwGetMonitors',['../group__monitor.html#ga3fba51c8bd36491d4712aa5bd074a537',1,'glfw3.h']]], + ['glfwgetmousebutton',['glfwGetMouseButton',['../group__input.html#gac1473feacb5996c01a7a5a33b5066704',1,'glfw3.h']]], + ['glfwgetnsglcontext',['glfwGetNSGLContext',['../group__native.html#ga559e002e3cd63c979881770cd4dc63bc',1,'glfw3native.h']]], + ['glfwgetprimarymonitor',['glfwGetPrimaryMonitor',['../group__monitor.html#ga721867d84c6d18d6790d64d2847ca0b1',1,'glfw3.h']]], + ['glfwgetprocaddress',['glfwGetProcAddress',['../group__context.html#ga35f1837e6f666781842483937612f163',1,'glfw3.h']]], + ['glfwgettime',['glfwGetTime',['../group__input.html#gaa6cf4e7a77158a3b8fd00328b1720a4a',1,'glfw3.h']]], + ['glfwgetversion',['glfwGetVersion',['../group__init.html#ga9f8ffaacf3c269cc48eafbf8b9b71197',1,'glfw3.h']]], + ['glfwgetversionstring',['glfwGetVersionString',['../group__init.html#ga23d47dc013fce2bf58036da66079a657',1,'glfw3.h']]], + ['glfwgetvideomode',['glfwGetVideoMode',['../group__monitor.html#gafc1bb972a921ad5b3bd5d63a95fc2d52',1,'glfw3.h']]], + ['glfwgetvideomodes',['glfwGetVideoModes',['../group__monitor.html#ga820b0ce9a5237d645ea7cbb4bd383458',1,'glfw3.h']]], + ['glfwgetwglcontext',['glfwGetWGLContext',['../group__native.html#gadc4010d91d9cc1134d040eeb1202a143',1,'glfw3native.h']]], + ['glfwgetwin32adapter',['glfwGetWin32Adapter',['../group__native.html#gac84f63a3f9db145b9435e5e0dbc4183d',1,'glfw3native.h']]], + ['glfwgetwin32monitor',['glfwGetWin32Monitor',['../group__native.html#gac408b09a330749402d5d1fa1f5894dd9',1,'glfw3native.h']]], + ['glfwgetwin32window',['glfwGetWin32Window',['../group__native.html#gafe5079aa79038b0079fc09d5f0a8e667',1,'glfw3native.h']]], + ['glfwgetwindowattrib',['glfwGetWindowAttrib',['../group__window.html#gacccb29947ea4b16860ebef42c2cb9337',1,'glfw3.h']]], + ['glfwgetwindowframesize',['glfwGetWindowFrameSize',['../group__window.html#ga1a9fd382058c53101b21cf211898f1f1',1,'glfw3.h']]], + ['glfwgetwindowmonitor',['glfwGetWindowMonitor',['../group__window.html#gaeac25e64789974ccbe0811766bd91a16',1,'glfw3.h']]], + ['glfwgetwindowpos',['glfwGetWindowPos',['../group__window.html#ga73cb526c000876fd8ddf571570fdb634',1,'glfw3.h']]], + ['glfwgetwindowsize',['glfwGetWindowSize',['../group__window.html#gaeea7cbc03373a41fb51cfbf9f2a5d4c6',1,'glfw3.h']]], + ['glfwgetwindowuserpointer',['glfwGetWindowUserPointer',['../group__window.html#ga17807ce0f45ac3f8bb50d6dcc59a4e06',1,'glfw3.h']]], + ['glfwgetx11adapter',['glfwGetX11Adapter',['../group__native.html#ga088fbfa80f50569402b41be71ad66e40',1,'glfw3native.h']]], + ['glfwgetx11display',['glfwGetX11Display',['../group__native.html#ga8519b66594ea3ef6eeafaa2e3ee37406',1,'glfw3native.h']]], + ['glfwgetx11monitor',['glfwGetX11Monitor',['../group__native.html#gab2f8cc043905e9fa9b12bfdbbcfe874c',1,'glfw3native.h']]], + ['glfwgetx11window',['glfwGetX11Window',['../group__native.html#ga90ca676322740842db446999a1b1f21d',1,'glfw3native.h']]], + ['glfwhidewindow',['glfwHideWindow',['../group__window.html#ga49401f82a1ba5f15db5590728314d47c',1,'glfw3.h']]], + ['glfwiconifywindow',['glfwIconifyWindow',['../group__window.html#ga1bb559c0ebaad63c5c05ad2a066779c4',1,'glfw3.h']]], + ['glfwinit',['glfwInit',['../group__init.html#ga317aac130a235ab08c6db0834907d85e',1,'glfw3.h']]], + ['glfwjoystickpresent',['glfwJoystickPresent',['../group__input.html#gaffcbd9ac8ee737fcdd25475123a3c790',1,'glfw3.h']]], + ['glfwmakecontextcurrent',['glfwMakeContextCurrent',['../group__context.html#ga1c04dc242268f827290fe40aa1c91157',1,'glfw3.h']]], + ['glfwpollevents',['glfwPollEvents',['../group__window.html#ga37bd57223967b4211d60ca1a0bf3c832',1,'glfw3.h']]], + ['glfwpostemptyevent',['glfwPostEmptyEvent',['../group__window.html#gab5997a25187e9fd5c6f2ecbbc8dfd7e9',1,'glfw3.h']]], + ['glfwrestorewindow',['glfwRestoreWindow',['../group__window.html#ga52527a5904b47d802b6b4bb519cdebc7',1,'glfw3.h']]], + ['glfwsetcharcallback',['glfwSetCharCallback',['../group__input.html#ga556239421c6a5a243c66fca28da9f742',1,'glfw3.h']]], + ['glfwsetcharmodscallback',['glfwSetCharModsCallback',['../group__input.html#ga3f55ef5dc03a374e567f068b13c94afc',1,'glfw3.h']]], + ['glfwsetclipboardstring',['glfwSetClipboardString',['../group__input.html#gaba1f022c5eb07dfac421df34cdcd31dd',1,'glfw3.h']]], + ['glfwsetcursor',['glfwSetCursor',['../group__input.html#gad3b4f38c8d5dae036bc8fa959e18343e',1,'glfw3.h']]], + ['glfwsetcursorentercallback',['glfwSetCursorEnterCallback',['../group__input.html#gaa299c41dd0a3d171d166354e01279e04',1,'glfw3.h']]], + ['glfwsetcursorpos',['glfwSetCursorPos',['../group__input.html#ga04b03af936d906ca123c8f4ee08b39e7',1,'glfw3.h']]], + ['glfwsetcursorposcallback',['glfwSetCursorPosCallback',['../group__input.html#ga7dad39486f2c7591af7fb25134a2501d',1,'glfw3.h']]], + ['glfwsetdropcallback',['glfwSetDropCallback',['../group__input.html#ga41291bf15dd3ff564b3143aa6dc74a4b',1,'glfw3.h']]], + ['glfwseterrorcallback',['glfwSetErrorCallback',['../group__init.html#gaa5d796c3cf7c1a7f02f845486333fb5f',1,'glfw3.h']]], + ['glfwsetframebuffersizecallback',['glfwSetFramebufferSizeCallback',['../group__window.html#ga3203461a5303bf289f2e05f854b2f7cf',1,'glfw3.h']]], + ['glfwsetgamma',['glfwSetGamma',['../group__monitor.html#ga6ac582625c990220785ddd34efa3169a',1,'glfw3.h']]], + ['glfwsetgammaramp',['glfwSetGammaRamp',['../group__monitor.html#ga583f0ffd0d29613d8cd172b996bbf0dd',1,'glfw3.h']]], + ['glfwsetinputmode',['glfwSetInputMode',['../group__input.html#gaa92336e173da9c8834558b54ee80563b',1,'glfw3.h']]], + ['glfwsetkeycallback',['glfwSetKeyCallback',['../group__input.html#ga7e496507126f35ea72f01b2e6ef6d155',1,'glfw3.h']]], + ['glfwsetmonitorcallback',['glfwSetMonitorCallback',['../group__monitor.html#gac3fe0f647f68b731f99756cd81897378',1,'glfw3.h']]], + ['glfwsetmousebuttoncallback',['glfwSetMouseButtonCallback',['../group__input.html#gaef49b72d84d615bca0a6ed65485e035d',1,'glfw3.h']]], + ['glfwsetscrollcallback',['glfwSetScrollCallback',['../group__input.html#gacf02eb10504352f16efda4593c3ce60e',1,'glfw3.h']]], + ['glfwsettime',['glfwSetTime',['../group__input.html#gaf59589ef6e8b8c8b5ad184b25afd4dc0',1,'glfw3.h']]], + ['glfwsetwindowclosecallback',['glfwSetWindowCloseCallback',['../group__window.html#gaade9264e79fae52bdb78e2df11ee8d6a',1,'glfw3.h']]], + ['glfwsetwindowfocuscallback',['glfwSetWindowFocusCallback',['../group__window.html#ga25d1c584edb375d7711c5c3548ba711f',1,'glfw3.h']]], + ['glfwsetwindowiconifycallback',['glfwSetWindowIconifyCallback',['../group__window.html#gab1ea7263081c0e073b8d5b91d6ffd367',1,'glfw3.h']]], + ['glfwsetwindowpos',['glfwSetWindowPos',['../group__window.html#ga1abb6d690e8c88e0c8cd1751356dbca8',1,'glfw3.h']]], + ['glfwsetwindowposcallback',['glfwSetWindowPosCallback',['../group__window.html#ga2837d4d240659feb4268fcb6530a6ba1',1,'glfw3.h']]], + ['glfwsetwindowrefreshcallback',['glfwSetWindowRefreshCallback',['../group__window.html#ga4569b76e8ac87c55b53199e6becd97eb',1,'glfw3.h']]], + ['glfwsetwindowshouldclose',['glfwSetWindowShouldClose',['../group__window.html#ga49c449dde2a6f87d996f4daaa09d6708',1,'glfw3.h']]], + ['glfwsetwindowsize',['glfwSetWindowSize',['../group__window.html#ga371911f12c74c504dd8d47d832d095cb',1,'glfw3.h']]], + ['glfwsetwindowsizecallback',['glfwSetWindowSizeCallback',['../group__window.html#gaa40cd24840daa8c62f36cafc847c72b6',1,'glfw3.h']]], + ['glfwsetwindowtitle',['glfwSetWindowTitle',['../group__window.html#ga5d877f09e968cef7a360b513306f17ff',1,'glfw3.h']]], + ['glfwsetwindowuserpointer',['glfwSetWindowUserPointer',['../group__window.html#ga3d2fc6026e690ab31a13f78bc9fd3651',1,'glfw3.h']]], + ['glfwshowwindow',['glfwShowWindow',['../group__window.html#ga61be47917b72536a148300f46494fc66',1,'glfw3.h']]], + ['glfwswapbuffers',['glfwSwapBuffers',['../group__window.html#ga15a5a1ee5b3c2ca6b15ca209a12efd14',1,'glfw3.h']]], + ['glfwswapinterval',['glfwSwapInterval',['../group__context.html#ga6d4e0cdf151b5e579bd67f13202994ed',1,'glfw3.h']]], + ['glfwterminate',['glfwTerminate',['../group__init.html#gaaae48c0a18607ea4a4ba951d939f0901',1,'glfw3.h']]], + ['glfwwaitevents',['glfwWaitEvents',['../group__window.html#ga554e37d781f0a997656c26b2c56c835e',1,'glfw3.h']]], + ['glfwwindowhint',['glfwWindowHint',['../group__window.html#ga4fd9e504bb937e79588a0ffdca9f620b',1,'glfw3.h']]], + ['glfwwindowshouldclose',['glfwWindowShouldClose',['../group__window.html#ga24e02fbfefbb81fc45320989f8140ab5',1,'glfw3.h']]] +]; diff --git a/docs/3.1/search/groups_0.html b/docs/3.1/search/groups_0.html new file mode 100644 index 0000000..f4895cb --- /dev/null +++ b/docs/3.1/search/groups_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/groups_0.js b/docs/3.1/search/groups_0.js new file mode 100644 index 0000000..f198051 --- /dev/null +++ b/docs/3.1/search/groups_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['context_20handling',['Context handling',['../group__context.html',1,'']]] +]; diff --git a/docs/3.1/search/groups_1.html b/docs/3.1/search/groups_1.html new file mode 100644 index 0000000..3195265 --- /dev/null +++ b/docs/3.1/search/groups_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/groups_1.js b/docs/3.1/search/groups_1.js new file mode 100644 index 0000000..4cec4ce --- /dev/null +++ b/docs/3.1/search/groups_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['error_20codes',['Error codes',['../group__errors.html',1,'']]] +]; diff --git a/docs/3.1/search/groups_2.html b/docs/3.1/search/groups_2.html new file mode 100644 index 0000000..5882446 --- /dev/null +++ b/docs/3.1/search/groups_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/groups_2.js b/docs/3.1/search/groups_2.js new file mode 100644 index 0000000..ffcf5eb --- /dev/null +++ b/docs/3.1/search/groups_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['initialization_2c_20version_20and_20errors',['Initialization, version and errors',['../group__init.html',1,'']]], + ['input_20handling',['Input handling',['../group__input.html',1,'']]] +]; diff --git a/docs/3.1/search/groups_3.html b/docs/3.1/search/groups_3.html new file mode 100644 index 0000000..bd23aa6 --- /dev/null +++ b/docs/3.1/search/groups_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/groups_3.js b/docs/3.1/search/groups_3.js new file mode 100644 index 0000000..8a2eb27 --- /dev/null +++ b/docs/3.1/search/groups_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['joysticks',['Joysticks',['../group__joysticks.html',1,'']]] +]; diff --git a/docs/3.1/search/groups_4.html b/docs/3.1/search/groups_4.html new file mode 100644 index 0000000..34edffc --- /dev/null +++ b/docs/3.1/search/groups_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/groups_4.js b/docs/3.1/search/groups_4.js new file mode 100644 index 0000000..e1f2924 --- /dev/null +++ b/docs/3.1/search/groups_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['keyboard_20keys',['Keyboard keys',['../group__keys.html',1,'']]] +]; diff --git a/docs/3.1/search/groups_5.html b/docs/3.1/search/groups_5.html new file mode 100644 index 0000000..6d9adbf --- /dev/null +++ b/docs/3.1/search/groups_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/groups_5.js b/docs/3.1/search/groups_5.js new file mode 100644 index 0000000..c8e9354 --- /dev/null +++ b/docs/3.1/search/groups_5.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['mouse_20buttons',['Mouse buttons',['../group__buttons.html',1,'']]], + ['modifier_20key_20flags',['Modifier key flags',['../group__mods.html',1,'']]], + ['monitor_20handling',['Monitor handling',['../group__monitor.html',1,'']]] +]; diff --git a/docs/3.1/search/groups_6.html b/docs/3.1/search/groups_6.html new file mode 100644 index 0000000..f8f8085 --- /dev/null +++ b/docs/3.1/search/groups_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/groups_6.js b/docs/3.1/search/groups_6.js new file mode 100644 index 0000000..18b9ede --- /dev/null +++ b/docs/3.1/search/groups_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['native_20access',['Native access',['../group__native.html',1,'']]] +]; diff --git a/docs/3.1/search/groups_7.html b/docs/3.1/search/groups_7.html new file mode 100644 index 0000000..8c734ab --- /dev/null +++ b/docs/3.1/search/groups_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/groups_7.js b/docs/3.1/search/groups_7.js new file mode 100644 index 0000000..1525284 --- /dev/null +++ b/docs/3.1/search/groups_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['standard_20cursor_20shapes',['Standard cursor shapes',['../group__shapes.html',1,'']]] +]; diff --git a/docs/3.1/search/groups_8.html b/docs/3.1/search/groups_8.html new file mode 100644 index 0000000..2d0c65d --- /dev/null +++ b/docs/3.1/search/groups_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/groups_8.js b/docs/3.1/search/groups_8.js new file mode 100644 index 0000000..412cd0b --- /dev/null +++ b/docs/3.1/search/groups_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window_20handling',['Window handling',['../group__window.html',1,'']]] +]; diff --git a/docs/3.1/search/mag_sel.png b/docs/3.1/search/mag_sel.png new file mode 100644 index 0000000000000000000000000000000000000000..81f6040a2092402b4d98f9ffa8855d12a0d4ca17 GIT binary patch literal 563 zcmV-30?hr1P)zxx&tqG15pu7)IiiXFflOc2k;dXd>%13GZAy? zRz!q0=|E6a6vV)&ZBS~G9oe0kbqyw1*gvY`{Pop2oKq#FlzgXt@Xh-7fxh>}`Fxg> z$%N%{$!4=5nM{(;=c!aG1Ofr^Do{u%Ih{^&Fc@H2)+a-?TBXrw5DW&z%Nb6mQ!L9O zl}b@6mB?f=tX3;#vl)}ggh(Vpyh(IK z(Mb0D{l{U$FsRjP;!{($+bsaaVi8T#1c0V#qEIOCYa9@UVLV`f__E81L;?WEaRA;Y zUH;rZ;vb;mk7JX|$=i3O~&If0O@oZfLg8gfIjW=dcBsz;gI=!{-r4# z4%6v$&~;q^j7Fo67yJ(NJWuX+I~I!tj^nW3?}^9bq|<3^+vapS5sgM^x7!cs(+mMT z&y%j};&~po+YO)3hoUH4E*E;e9>?R6SS&`X)p`njycAVcg{rEb41T{~Hk(bl-7eSb zmFxA2uIqo#@R?lKm50ND`~6Nfn|-b1|L6O98vt3Tx@gKz#isxO002ovPDHLkV1kyW B_l^Jn literal 0 HcmV?d00001 diff --git a/docs/3.1/search/nomatches.html b/docs/3.1/search/nomatches.html new file mode 100644 index 0000000..b1ded27 --- /dev/null +++ b/docs/3.1/search/nomatches.html @@ -0,0 +1,12 @@ + + + + + + + +
    +
    No Matches
    +
    + + diff --git a/docs/3.1/search/pages_0.html b/docs/3.1/search/pages_0.html new file mode 100644 index 0000000..d752858 --- /dev/null +++ b/docs/3.1/search/pages_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/pages_0.js b/docs/3.1/search/pages_0.js new file mode 100644 index 0000000..47fcca6 --- /dev/null +++ b/docs/3.1/search/pages_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['bug_20list',['Bug List',['../bug.html',1,'']]], + ['building_20applications',['Building applications',['../build.html',1,'']]] +]; diff --git a/docs/3.1/search/pages_1.html b/docs/3.1/search/pages_1.html new file mode 100644 index 0000000..924fb48 --- /dev/null +++ b/docs/3.1/search/pages_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/pages_1.js b/docs/3.1/search/pages_1.js new file mode 100644 index 0000000..91664d5 --- /dev/null +++ b/docs/3.1/search/pages_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['compiling_20glfw',['Compiling GLFW',['../compile.html',1,'']]], + ['context_20guide',['Context guide',['../context.html',1,'']]] +]; diff --git a/docs/3.1/search/pages_2.html b/docs/3.1/search/pages_2.html new file mode 100644 index 0000000..ffc6d92 --- /dev/null +++ b/docs/3.1/search/pages_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/pages_2.js b/docs/3.1/search/pages_2.js new file mode 100644 index 0000000..4b0501f --- /dev/null +++ b/docs/3.1/search/pages_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['getting_20started',['Getting started',['../quick.html',1,'']]] +]; diff --git a/docs/3.1/search/pages_3.html b/docs/3.1/search/pages_3.html new file mode 100644 index 0000000..f374624 --- /dev/null +++ b/docs/3.1/search/pages_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/pages_3.js b/docs/3.1/search/pages_3.js new file mode 100644 index 0000000..532f790 --- /dev/null +++ b/docs/3.1/search/pages_3.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['input_20guide',['Input guide',['../input.html',1,'']]], + ['introduction_20to_20the_20api',['Introduction to the API',['../intro.html',1,'']]] +]; diff --git a/docs/3.1/search/pages_4.html b/docs/3.1/search/pages_4.html new file mode 100644 index 0000000..593494e --- /dev/null +++ b/docs/3.1/search/pages_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/pages_4.js b/docs/3.1/search/pages_4.js new file mode 100644 index 0000000..cc4d73d --- /dev/null +++ b/docs/3.1/search/pages_4.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['monitor_20guide',['Monitor guide',['../monitor.html',1,'']]], + ['moving_20from_20glfw_202_20to_203',['Moving from GLFW 2 to 3',['../moving.html',1,'']]] +]; diff --git a/docs/3.1/search/pages_5.html b/docs/3.1/search/pages_5.html new file mode 100644 index 0000000..7033bd6 --- /dev/null +++ b/docs/3.1/search/pages_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/pages_5.js b/docs/3.1/search/pages_5.js new file mode 100644 index 0000000..683d726 --- /dev/null +++ b/docs/3.1/search/pages_5.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['notitle',['notitle',['../index.html',1,'']]], + ['new_20features',['New features',['../news.html',1,'']]] +]; diff --git a/docs/3.1/search/pages_6.html b/docs/3.1/search/pages_6.html new file mode 100644 index 0000000..9794888 --- /dev/null +++ b/docs/3.1/search/pages_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/pages_6.js b/docs/3.1/search/pages_6.js new file mode 100644 index 0000000..8e3d6f2 --- /dev/null +++ b/docs/3.1/search/pages_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['oculus_20rift_20guide',['Oculus Rift guide',['../rift.html',1,'']]] +]; diff --git a/docs/3.1/search/pages_7.html b/docs/3.1/search/pages_7.html new file mode 100644 index 0000000..a449a30 --- /dev/null +++ b/docs/3.1/search/pages_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/pages_7.js b/docs/3.1/search/pages_7.js new file mode 100644 index 0000000..4a32814 --- /dev/null +++ b/docs/3.1/search/pages_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['standards_20conformance',['Standards conformance',['../compat.html',1,'']]] +]; diff --git a/docs/3.1/search/pages_8.html b/docs/3.1/search/pages_8.html new file mode 100644 index 0000000..0e0205a --- /dev/null +++ b/docs/3.1/search/pages_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/pages_8.js b/docs/3.1/search/pages_8.js new file mode 100644 index 0000000..cc89b6c --- /dev/null +++ b/docs/3.1/search/pages_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window_20guide',['Window guide',['../window.html',1,'']]] +]; diff --git a/docs/3.1/search/search.css b/docs/3.1/search/search.css new file mode 100644 index 0000000..3cf9df9 --- /dev/null +++ b/docs/3.1/search/search.css @@ -0,0 +1,271 @@ +/*---------------- Search Box */ + +#FSearchBox { + float: left; +} + +#MSearchBox { + white-space : nowrap; + float: none; + margin-top: 8px; + right: 0px; + width: 170px; + height: 24px; + z-index: 102; +} + +#MSearchBox .left +{ + display:block; + position:absolute; + left:10px; + width:20px; + height:19px; + background:url('search_l.png') no-repeat; + background-position:right; +} + +#MSearchSelect { + display:block; + position:absolute; + width:20px; + height:19px; +} + +.left #MSearchSelect { + left:4px; +} + +.right #MSearchSelect { + right:5px; +} + +#MSearchField { + display:block; + position:absolute; + height:19px; + background:url('search_m.png') repeat-x; + border:none; + width:115px; + margin-left:20px; + padding-left:4px; + color: #909090; + outline: none; + font: 9pt Arial, Verdana, sans-serif; + -webkit-border-radius: 0px; +} + +#FSearchBox #MSearchField { + margin-left:15px; +} + +#MSearchBox .right { + display:block; + position:absolute; + right:10px; + top:8px; + width:20px; + height:19px; + background:url('search_r.png') no-repeat; + background-position:left; +} + +#MSearchClose { + display: none; + position: absolute; + top: 4px; + background : none; + border: none; + margin: 0px 4px 0px 0px; + padding: 0px 0px; + outline: none; +} + +.left #MSearchClose { + left: 6px; +} + +.right #MSearchClose { + right: 2px; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 10001; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; + z-index:10000; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; +} + +.SRResult { + display: none; +} + +DIV.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.searchresult { + background-color: #F0F3F8; +} + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: url("../tab_a.png"); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/docs/3.1/search/search.js b/docs/3.1/search/search.js new file mode 100644 index 0000000..a554ab9 --- /dev/null +++ b/docs/3.1/search/search.js @@ -0,0 +1,814 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var idxChar = searchValue.substr(0, 1).toLowerCase(); + if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair + { + idxChar = searchValue.substr(0, 2); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); + if (idx!=-1) + { + var hexCode=idx.toString(16); + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches.html'; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName == 'DIV' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName == 'DIV' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults() +{ + var results = document.getElementById("SRResults"); + for (var e=0; ek7RCwB~R6VQOP#AvB$vH7i{6H{96zot$7cZT<7246EF5Np6N}+$IbiG6W zg#87A+NFaX+=_^xM1#gCtshC=E{%9^uQX_%?YwXvo{#q&MnpJ8uh(O?ZRc&~_1%^SsPxG@rfElJg-?U zm!Cz-IOn(qJP3kDp-^~qt+FGbl=5jNli^Wj_xIBG{Rc0en{!oFvyoNC7{V~T8}b>| z=jL2WIReZzX(YN(_9fV;BBD$VXQIxNasAL8ATvEu822WQ%mvv4FO#qs` BFGc_W literal 0 HcmV?d00001 diff --git a/docs/3.1/search/search_r.png b/docs/3.1/search/search_r.png new file mode 100644 index 0000000000000000000000000000000000000000..97ee8b439687084201b79c6f776a41f495c6392a GIT binary patch literal 612 zcmV-q0-ODbP)PbXFRCwB?)W514K@j&X?z2*SxFI6-@HT2E2K=9X9%Pb zEK*!TBw&g(DMC;|A)uGlRkOS9vd-?zNs%bR4d$w+ox_iFnE8fvIvv7^5<(>Te12Li z7C)9srCzmK{ZcNM{YIl9j{DePFgOWiS%xG@5CnnnJa4nvY<^glbz7^|-ZY!dUkAwd z{gaTC@_>b5h~;ug#R0wRL0>o5!hxm*s0VW?8dr}O#zXTRTnrQm_Z7z1Mrnx>&p zD4qifUjzLvbVVWi?l?rUzwt^sdb~d!f_LEhsRVIXZtQ=qSxuxqm zEX#tf>$?M_Y1-LSDT)HqG?`%-%ZpY!#{N!rcNIiL;G7F0`l?)mNGTD9;f9F5Up3Kg zw}a<-JylhG&;=!>B+fZaCX+?C+kHYrP%c?X2!Zu_olK|GcS4A70HEy;vn)I0>0kLH z`jc(WIaaHc7!HS@f*^R^Znx8W=_jIl2oWJoQ*h1^$FX!>*PqR1J8k|fw}w_y}TpE>7m8DqDO<3z`OzXt$ccSejbEZCg@0000 + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/typedefs_0.js b/docs/3.1/search/typedefs_0.js new file mode 100644 index 0000000..6f468f9 --- /dev/null +++ b/docs/3.1/search/typedefs_0.js @@ -0,0 +1,27 @@ +var searchData= +[ + ['glfwcharfun',['GLFWcharfun',['../group__input.html#gabf24451c7ceb1952bc02b17a0d5c3e5f',1,'glfw3.h']]], + ['glfwcharmodsfun',['GLFWcharmodsfun',['../group__input.html#gae36fb6897d2b7df9b128900c8ce9c507',1,'glfw3.h']]], + ['glfwcursor',['GLFWcursor',['../glfw3_8h.html#a89261ae18c75e863aaf2656ecdd238f4',1,'glfw3.h']]], + ['glfwcursorenterfun',['GLFWcursorenterfun',['../group__input.html#ga51ab436c41eeaed6db5a0c9403b1c840',1,'glfw3.h']]], + ['glfwcursorposfun',['GLFWcursorposfun',['../group__input.html#ga4cfad918fa836f09541e7b9acd36686c',1,'glfw3.h']]], + ['glfwdropfun',['GLFWdropfun',['../group__input.html#gab71f4ca80b651462852e601caf308c4a',1,'glfw3.h']]], + ['glfwerrorfun',['GLFWerrorfun',['../group__init.html#ga6b8a2639706d5c409fc1287e8f55e928',1,'glfw3.h']]], + ['glfwframebuffersizefun',['GLFWframebuffersizefun',['../group__window.html#ga3e218ef9ff826129c55a7d5f6971a285',1,'glfw3.h']]], + ['glfwgammaramp',['GLFWgammaramp',['../group__monitor.html#gaec0bd37af673be8813592849f13e02f0',1,'glfw3.h']]], + ['glfwglproc',['GLFWglproc',['../group__context.html#ga3d47c2d2fbe0be9c505d0e04e91a133c',1,'glfw3.h']]], + ['glfwimage',['GLFWimage',['../glfw3_8h.html#ac81c32f4437de7b3aa58ab62c3d9e5b1',1,'glfw3.h']]], + ['glfwkeyfun',['GLFWkeyfun',['../group__input.html#ga0192a232a41e4e82948217c8ba94fdfd',1,'glfw3.h']]], + ['glfwmonitor',['GLFWmonitor',['../group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3',1,'glfw3.h']]], + ['glfwmonitorfun',['GLFWmonitorfun',['../group__monitor.html#ga8a7ee579a66720f24d656526f3e44c63',1,'glfw3.h']]], + ['glfwmousebuttonfun',['GLFWmousebuttonfun',['../group__input.html#ga39893a4a7e7c3239c98d29c9e084350c',1,'glfw3.h']]], + ['glfwscrollfun',['GLFWscrollfun',['../group__input.html#ga4687e2199c60a18a8dd1da532e6d75c9',1,'glfw3.h']]], + ['glfwvidmode',['GLFWvidmode',['../group__monitor.html#gae48aadf4ea0967e6605c8f58fa5daccb',1,'glfw3.h']]], + ['glfwwindow',['GLFWwindow',['../group__window.html#ga3c96d80d363e67d13a41b5d1821f3242',1,'glfw3.h']]], + ['glfwwindowclosefun',['GLFWwindowclosefun',['../group__window.html#ga93e7c2555bd837f4ed8b20f76cada72e',1,'glfw3.h']]], + ['glfwwindowfocusfun',['GLFWwindowfocusfun',['../group__window.html#ga58be2061828dd35080bb438405d3a7e2',1,'glfw3.h']]], + ['glfwwindowiconifyfun',['GLFWwindowiconifyfun',['../group__window.html#gad2d4e4c3d28b1242e742e8268b9528af',1,'glfw3.h']]], + ['glfwwindowposfun',['GLFWwindowposfun',['../group__window.html#gafd8db81fdb0e850549dc6bace5ed697a',1,'glfw3.h']]], + ['glfwwindowrefreshfun',['GLFWwindowrefreshfun',['../group__window.html#ga7a56f9e0227e2cd9470d80d919032e08',1,'glfw3.h']]], + ['glfwwindowsizefun',['GLFWwindowsizefun',['../group__window.html#gae49ee6ebc03fa2da024b89943a331355',1,'glfw3.h']]] +]; diff --git a/docs/3.1/search/variables_0.html b/docs/3.1/search/variables_0.html new file mode 100644 index 0000000..51f7bd6 --- /dev/null +++ b/docs/3.1/search/variables_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/variables_0.js b/docs/3.1/search/variables_0.js new file mode 100644 index 0000000..c16aa4d --- /dev/null +++ b/docs/3.1/search/variables_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['blue',['blue',['../structGLFWgammaramp.html#acf0c836d0efe29c392fe8d1a1042744b',1,'GLFWgammaramp']]], + ['bluebits',['blueBits',['../structGLFWvidmode.html#af310977f58d2e3b188175b6e3d314047',1,'GLFWvidmode']]] +]; diff --git a/docs/3.1/search/variables_1.html b/docs/3.1/search/variables_1.html new file mode 100644 index 0000000..f46154d --- /dev/null +++ b/docs/3.1/search/variables_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/variables_1.js b/docs/3.1/search/variables_1.js new file mode 100644 index 0000000..442ea8e --- /dev/null +++ b/docs/3.1/search/variables_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['green',['green',['../structGLFWgammaramp.html#affccc6f5df47820b6562d709da3a5a3a',1,'GLFWgammaramp']]], + ['greenbits',['greenBits',['../structGLFWvidmode.html#a292fdd281f3485fb3ff102a5bda43faa',1,'GLFWvidmode']]] +]; diff --git a/docs/3.1/search/variables_2.html b/docs/3.1/search/variables_2.html new file mode 100644 index 0000000..15275b7 --- /dev/null +++ b/docs/3.1/search/variables_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/variables_2.js b/docs/3.1/search/variables_2.js new file mode 100644 index 0000000..b620f27 --- /dev/null +++ b/docs/3.1/search/variables_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['height',['height',['../structGLFWvidmode.html#ac65942a5f6981695517437a9d571d03c',1,'GLFWvidmode::height()'],['../structGLFWimage.html#a0b7d95368f0c80d5e5c9875057c7dbec',1,'GLFWimage::height()']]] +]; diff --git a/docs/3.1/search/variables_3.html b/docs/3.1/search/variables_3.html new file mode 100644 index 0000000..fbc3671 --- /dev/null +++ b/docs/3.1/search/variables_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/variables_3.js b/docs/3.1/search/variables_3.js new file mode 100644 index 0000000..3616d8e --- /dev/null +++ b/docs/3.1/search/variables_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['pixels',['pixels',['../structGLFWimage.html#a0c532a5c2bb715555279b7817daba0fb',1,'GLFWimage']]] +]; diff --git a/docs/3.1/search/variables_4.html b/docs/3.1/search/variables_4.html new file mode 100644 index 0000000..8067e67 --- /dev/null +++ b/docs/3.1/search/variables_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/variables_4.js b/docs/3.1/search/variables_4.js new file mode 100644 index 0000000..b7ac9ce --- /dev/null +++ b/docs/3.1/search/variables_4.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['red',['red',['../structGLFWgammaramp.html#a2cce5d968734b685623eef913e635138',1,'GLFWgammaramp']]], + ['redbits',['redBits',['../structGLFWvidmode.html#a6066c4ecd251098700062d3b735dba1b',1,'GLFWvidmode']]], + ['refreshrate',['refreshRate',['../structGLFWvidmode.html#a791bdd6c7697b09f7e9c97054bf05649',1,'GLFWvidmode']]] +]; diff --git a/docs/3.1/search/variables_5.html b/docs/3.1/search/variables_5.html new file mode 100644 index 0000000..7e95e94 --- /dev/null +++ b/docs/3.1/search/variables_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/variables_5.js b/docs/3.1/search/variables_5.js new file mode 100644 index 0000000..329c6f4 --- /dev/null +++ b/docs/3.1/search/variables_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['size',['size',['../structGLFWgammaramp.html#ad620e1cffbff9a32c51bca46301b59a5',1,'GLFWgammaramp']]] +]; diff --git a/docs/3.1/search/variables_6.html b/docs/3.1/search/variables_6.html new file mode 100644 index 0000000..3d398e6 --- /dev/null +++ b/docs/3.1/search/variables_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.1/search/variables_6.js b/docs/3.1/search/variables_6.js new file mode 100644 index 0000000..aaa6316 --- /dev/null +++ b/docs/3.1/search/variables_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['width',['width',['../structGLFWvidmode.html#a698dcb200562051a7249cb6ae154c71d',1,'GLFWvidmode::width()'],['../structGLFWimage.html#af6a71cc999fe6d3aea31dd7e9687d835',1,'GLFWimage::width()']]] +]; diff --git a/docs/3.1/spaces.svg b/docs/3.1/spaces.svg new file mode 100644 index 0000000..562fa8b --- /dev/null +++ b/docs/3.1/spaces.svg @@ -0,0 +1,872 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/3.1/splitbar.png b/docs/3.1/splitbar.png new file mode 100644 index 0000000000000000000000000000000000000000..fe895f2c58179b471a22d8320b39a4bd7312ec8e GIT binary patch literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T literal 0 HcmV?d00001 diff --git a/docs/3.1/structGLFWgammaramp.html b/docs/3.1/structGLFWgammaramp.html new file mode 100644 index 0000000..57622e7 --- /dev/null +++ b/docs/3.1/structGLFWgammaramp.html @@ -0,0 +1,157 @@ + + + + + + +GLFW: GLFWgammaramp Struct Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    GLFWgammaramp Struct Reference
    +
    +
    + +

    Gamma ramp. + More...

    + + + + + + + + + + +

    +Data Fields

    unsigned short * red
     
    unsigned short * green
     
    unsigned short * blue
     
    unsigned int size
     
    +

    Detailed Description

    +

    This describes the gamma ramp for a monitor.

    +
    See also
    glfwGetGammaRamp glfwSetGammaRamp
    +

    Field Documentation

    + +

    ◆ blue

    + +
    +
    + + + + +
    unsigned short* GLFWgammaramp::blue
    +
    +

    An array of value describing the response of the blue channel.

    + +
    +
    + +

    ◆ green

    + +
    +
    + + + + +
    unsigned short* GLFWgammaramp::green
    +
    +

    An array of value describing the response of the green channel.

    + +
    +
    + +

    ◆ red

    + +
    +
    + + + + +
    unsigned short* GLFWgammaramp::red
    +
    +

    An array of value describing the response of the red channel.

    + +
    +
    + +

    ◆ size

    + +
    +
    + + + + +
    unsigned int GLFWgammaramp::size
    +
    +

    The number of elements in each array.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/3.1/structGLFWimage.html b/docs/3.1/structGLFWimage.html new file mode 100644 index 0000000..7229f25 --- /dev/null +++ b/docs/3.1/structGLFWimage.html @@ -0,0 +1,137 @@ + + + + + + +GLFW: GLFWimage Struct Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    GLFWimage Struct Reference
    +
    +
    + +

    Image data. +

    + + + + + + + + +

    +Data Fields

    int width
     
    int height
     
    unsigned char * pixels
     
    +

    Field Documentation

    + +

    ◆ height

    + +
    +
    + + + + +
    int GLFWimage::height
    +
    +

    The height, in pixels, of this image.

    + +
    +
    + +

    ◆ pixels

    + +
    +
    + + + + +
    unsigned char* GLFWimage::pixels
    +
    +

    The pixel data of this image, arranged left-to-right, top-to-bottom.

    + +
    +
    + +

    ◆ width

    + +
    +
    + + + + +
    int GLFWimage::width
    +
    +

    The width, in pixels, of this image.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/3.1/structGLFWvidmode.html b/docs/3.1/structGLFWvidmode.html new file mode 100644 index 0000000..306dc77 --- /dev/null +++ b/docs/3.1/structGLFWvidmode.html @@ -0,0 +1,190 @@ + + + + + + +GLFW: GLFWvidmode Struct Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    GLFWvidmode Struct Reference
    +
    +
    + +

    Video mode type. + More...

    + + + + + + + + + + + + + + +

    +Data Fields

    int width
     
    int height
     
    int redBits
     
    int greenBits
     
    int blueBits
     
    int refreshRate
     
    +

    Detailed Description

    +

    This describes a single video mode.

    +

    Field Documentation

    + +

    ◆ blueBits

    + +
    +
    + + + + +
    int GLFWvidmode::blueBits
    +
    +

    The bit depth of the blue channel of the video mode.

    + +
    +
    + +

    ◆ greenBits

    + +
    +
    + + + + +
    int GLFWvidmode::greenBits
    +
    +

    The bit depth of the green channel of the video mode.

    + +
    +
    + +

    ◆ height

    + +
    +
    + + + + +
    int GLFWvidmode::height
    +
    +

    The height, in screen coordinates, of the video mode.

    + +
    +
    + +

    ◆ redBits

    + +
    +
    + + + + +
    int GLFWvidmode::redBits
    +
    +

    The bit depth of the red channel of the video mode.

    + +
    +
    + +

    ◆ refreshRate

    + +
    +
    + + + + +
    int GLFWvidmode::refreshRate
    +
    +

    The refresh rate, in Hz, of the video mode.

    + +
    +
    + +

    ◆ width

    + +
    +
    + + + + +
    int GLFWvidmode::width
    +
    +

    The width, in screen coordinates, of the video mode.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/3.1/sync_off.png b/docs/3.1/sync_off.png new file mode 100644 index 0000000000000000000000000000000000000000..3b443fc62892114406e3d399421b2a881b897acc GIT binary patch literal 853 zcmV-b1FHOqP)oT|#XixUYy%lpuf3i8{fX!o zUyDD0jOrAiT^tq>fLSOOABs-#u{dV^F$b{L9&!2=9&RmV;;8s^x&UqB$PCj4FdKbh zoB1WTskPUPu05XzFbA}=KZ-GP1fPpAfSs>6AHb12UlR%-i&uOlTpFNS7{jm@mkU1V zh`nrXr~+^lsV-s1dkZOaI|kYyVj3WBpPCY{n~yd%u%e+d=f%`N0FItMPtdgBb@py; zq@v6NVArhyTC7)ULw-Jy8y42S1~4n(3LkrW8mW(F-4oXUP3E`e#g**YyqI7h-J2zK zK{m9##m4ri!7N>CqQqCcnI3hqo1I;Yh&QLNY4T`*ptiQGozK>FF$!$+84Z`xwmeMh zJ0WT+OH$WYFALEaGj2_l+#DC3t7_S`vHpSivNeFbP6+r50cO8iu)`7i%Z4BTPh@_m3Tk!nAm^)5Bqnr%Ov|Baunj#&RPtRuK& z4RGz|D5HNrW83-#ydk}tVKJrNmyYt-sTxLGlJY5nc&Re zU4SgHNPx8~Yxwr$bsju?4q&%T1874xxzq+_%?h8_ofw~(bld=o3iC)LUNR*BY%c0y zWd_jX{Y8`l%z+ol1$@Qa?Cy!(0CVIEeYpKZ`(9{z>3$CIe;pJDQk$m3p}$>xBm4lb zKo{4S)`wdU9Ba9jJbVJ0C=SOefZe%d$8=2r={nu<_^a3~>c#t_U6dye5)JrR(_a^E f@}b6j1K9lwFJq@>o)+Ry00000NkvXXu0mjfWa5j* literal 0 HcmV?d00001 diff --git a/docs/3.1/sync_on.png b/docs/3.1/sync_on.png new file mode 100644 index 0000000000000000000000000000000000000000..e08320fb64e6fa33b573005ed6d8fe294e19db76 GIT binary patch literal 845 zcmV-T1G4;yP)Y;xxyHF2B5Wzm| zOOGupOTn@c(JmBOl)e;XMNnZuiTJP>rM8<|Q`7I_))aP?*T)ow&n59{}X4$3Goat zgjs?*aasfbrokzG5cT4K=uG`E14xZl@z)F={P0Y^?$4t z>v!teRnNZym<6h{7sLyF1V0HsfEl+l6TrZpsfr1}luH~F7L}ktXu|*uVX^RG$L0`K zWs3j|0tIvVe(N%_?2{(iCPFGf#B6Hjy6o&}D$A%W%jfO8_W%ZO#-mh}EM$LMn7joJ z05dHr!5Y92g+31l<%i1(=L1a1pXX+OYnalY>31V4K}BjyRe3)9n#;-cCVRD_IG1fT zOKGeNY8q;TL@K{dj@D^scf&VCs*-Jb>8b>|`b*osv52-!A?BpbYtTQBns5EAU**$m zSnVSm(teh>tQi*S*A>#ySc=n;`BHz`DuG4&g4Kf8lLhca+zvZ7t7RflD6-i-mcK=M z!=^P$*u2)bkY5asG4gsss!Hn%u~>}kIW`vMs%lJLH+u*9<4PaV_c6U`KqWXQH%+Nu zTv41O(^ZVi@qhjQdG!fbZw&y+2o!iYymO^?ud3{P*HdoX83YV*Uu_HB=?U&W9%AU# z80}k1SS-CXTU7dcQlsm<^oYLxVSseqY6NO}dc`Nj?8vrhNuCdm@^{a3AQ_>6myOj+ z`1RsLUXF|dm|3k7s2jD(B{rzE>WI2scH8i1;=O5Cc9xB3^aJk%fQjqsu+kH#0=_5a z0nCE8@dbQa-|YIuUVvG0L_IwHMEhOj$Mj4Uq05 X8=0q~qBNan00000NkvXXu0mjfptF>5 literal 0 HcmV?d00001 diff --git a/docs/3.1/tab_a.png b/docs/3.1/tab_a.png new file mode 100644 index 0000000000000000000000000000000000000000..3b725c41c5a527a3a3e40097077d0e206a681247 GIT binary patch literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QlXwMjv*C{Z|8b*H5dputLHD# z=<0|*y7z(Vor?d;H&?EG&cXR}?!j-Lm&u1OOI7AIF5&c)RFE;&p0MYK>*Kl@eiymD r@|NpwKX@^z+;{u_Z~trSBfrMKa%3`zocFjEXaR$#tDnm{r-UW|TZ1%4 literal 0 HcmV?d00001 diff --git a/docs/3.1/tab_b.png b/docs/3.1/tab_b.png new file mode 100644 index 0000000000000000000000000000000000000000..e2b4a8638cb3496a016eaed9e16ffc12846dea18 GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QU#tajv*C{Z}0l@H7kg?K0Lnr z!j&C6_(~HV9oQ0Pa6x{-v0AGV_E?vLn=ZI-;YrdjIl`U`uzuDWSP?o#Dmo{%SgM#oan kX~E1%D-|#H#QbHoIja2U-MgvsK&LQxy85}Sb4q9e0Efg%P5=M^ literal 0 HcmV?d00001 diff --git a/docs/3.1/tabs.css b/docs/3.1/tabs.css new file mode 100644 index 0000000..a28614b --- /dev/null +++ b/docs/3.1/tabs.css @@ -0,0 +1 @@ +.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#doc-content{overflow:auto;display:block;padding:0;margin:0;-webkit-overflow-scrolling:touch}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace!important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0!important;-webkit-border-radius:0;border-radius:0!important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px!important;-webkit-border-radius:5px;border-radius:5px!important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0!important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px!important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file diff --git a/docs/3.1/window.html b/docs/3.1/window.html new file mode 100644 index 0000000..2a6880f --- /dev/null +++ b/docs/3.1/window.html @@ -0,0 +1,401 @@ + + + + + + +GLFW: Window guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Window guide
    +
    +
    + +

    This guide introduces the window related functions of GLFW. There are also guides for the other areas of GLFW.

    + +

    +Window objects

    +

    The GLFWwindow object encapsulates both a window and a context. They are created with glfwCreateWindow and destroyed with glfwDestroyWindow, or glfwTerminate, if any remain. As the window and context are inseparably linked, the object pointer is used as both a context and window handle.

    +

    To see the event stream provided to the various window related callbacks, run the events test program.

    +

    +Window creation

    +

    A window and its OpenGL or OpenGL ES context are created with glfwCreateWindow, which returns a handle to the created window object. For example, this creates a 640 by 480 windowed mode window:

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", NULL, NULL);

    If window creation fails, NULL will be returned, so it is necessary to check the return value.

    +

    The window handle is passed to all window related functions and is provided to along with all input events, so event handlers can tell which window received the event.

    +

    +Full screen windows

    +

    To create a full screen window, you need to specify which monitor the window should use. In most cases, the user's primary monitor is a good choice. For more information about retrieving monitors, see Retrieving monitors.

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", glfwGetPrimaryMonitor(), NULL);

    Full screen windows cover the entire display area of a monitor, have no border or decorations.

    +

    Each field of the GLFWvidmode structure corresponds to a function parameter or window hint and combine to form the desired video mode for that window. The supported video mode most closely matching the desired video mode will be set for the chosen monitor as long as the window has input focus. For more information about retrieving video modes, see Video modes.

    + + + + + + + + + + + + + + + +
    Video mode field Corresponds to ------—
    GLFWvidmode.width width parameter
    GLFWvidmode.height height parameter
    GLFWvidmode.redBits GLFW_RED_BITS hint
    GLFWvidmode.greenBits GLFW_GREEN_BITS hint
    GLFWvidmode.blueBits GLFW_BLUE_BITS hint
    GLFWvidmode.refreshRate GLFW_REFRESH_RATE hint
    +

    Once you have a full screen window, you can change its resolution with glfwSetWindowSize. The new video mode will be selected and set the same way as the video mode chosen by glfwCreateWindow.

    +

    By default, the original video mode of the monitor will be restored and the window iconified if it loses input focus, to allow the user to switch back to the desktop. This behavior can be disabled with the GLFW_AUTO_ICONIFY window hint, for example if you wish to simultaneously cover multiple windows with full screen windows.

    +

    +"Windowed full screen" windows

    +

    If the closest match for the desired video mode is the current one, the video mode will not be changed, making window creation faster and application switching much smoother. This is sometimes called windowed full screen or borderless full screen window and counts as a full screen window. To create such a window, simply request the current video mode.

    +

    +Window destruction

    +

    When a window is no longer needed, destroy it with glfwDestroyWindow.

    +

    Window destruction always succeeds. Before the actual destruction, all callbacks are removed so no further events will be delivered for the window. All windows remaining when glfwTerminate is called are destroyed as well.

    +

    When a full screen window is destroyed, the original video mode of its monitor is restored, but the gamma ramp is left untouched.

    +

    +Window creation hints

    +

    There are a number of hints that can be set before the creation of a window and context. Some affect the window itself, others affect the framebuffer or context. These hints are set to their default values each time the library is initialized with glfwInit, can be set individually with glfwWindowHint and reset all at once to their defaults with glfwDefaultWindowHints.

    +

    Note that hints need to be set before the creation of the window and context you wish to have the specified attributes.

    +

    +Hard and soft constraints

    +

    Some window hints are hard constraints. These must match the available capabilities exactly for window and context creation to succeed. Hints that are not hard constraints are matched as closely as possible, but the resulting context and framebuffer may differ from what these hints requested.

    +

    The following hints are always hard constraints:

      +
    • GLFW_STEREO
    • +
    • GLFW_DOUBLEBUFFER
    • +
    • GLFW_CLIENT_API
    • +
    +

    The following additional hints are hard constraints when requesting an OpenGL context, but are ignored when requesting an OpenGL ES context:

      +
    • GLFW_OPENGL_FORWARD_COMPAT
    • +
    • GLFW_OPENGL_PROFILE
    • +
    +

    +Window related hints

    +

    GLFW_RESIZABLE specifies whether the windowed mode window will be resizable by the user. The window will still be resizable using the glfwSetWindowSize function. This hint is ignored for full screen windows.

    +

    GLFW_VISIBLE specifies whether the windowed mode window will be initially visible. This hint is ignored for full screen windows.

    +

    GLFW_DECORATED specifies whether the windowed mode window will have window decorations such as a border, a close widget, etc. An undecorated window may still allow the user to generate close events on some platforms. This hint is ignored for full screen windows.

    +

    GLFW_FOCUSED specifies whether the windowed mode window will be given input focus when created. This hint is ignored for full screen and initially hidden windows.

    +

    GLFW_AUTO_ICONIFY specifies whether the full screen window will automatically iconify and restore the previous video mode on input focus loss. This hint is ignored for windowed mode windows.

    +

    GLFW_FLOATING specifies whether the windowed mode window will be floating above other regular windows, also called topmost or always-on-top. This is intended primarily for debugging purposes and cannot be used to implement proper full screen windows. This hint is ignored for full screen windows.

    +

    +Framebuffer related hints

    +

    GLFW_RED_BITS, GLFW_GREEN_BITS, GLFW_BLUE_BITS, GLFW_ALPHA_BITS, GLFW_DEPTH_BITS and GLFW_STENCIL_BITS specify the desired bit depths of the various components of the default framebuffer. GLFW_DONT_CARE means the application has no preference.

    +

    GLFW_ACCUM_RED_BITS, GLFW_ACCUM_GREEN_BITS, GLFW_ACCUM_BLUE_BITS and GLFW_ACCUM_ALPHA_BITS specify the desired bit depths of the various components of the accumulation buffer. GLFW_DONT_CARE means the application has no preference.

    +
    Accumulation buffers are a legacy OpenGL feature and should not be used in new code.
    +

    GLFW_AUX_BUFFERS specifies the desired number of auxiliary buffers. GLFW_DONT_CARE means the application has no preference.

    +
    Auxiliary buffers are a legacy OpenGL feature and should not be used in new code.
    +

    GLFW_STEREO specifies whether to use stereoscopic rendering. This is a hard constraint.

    +

    GLFW_SAMPLES specifies the desired number of samples to use for multisampling. Zero disables multisampling. GLFW_DONT_CARE means the application has no preference.

    +

    GLFW_SRGB_CAPABLE specifies whether the framebuffer should be sRGB capable. If supported, the created context will provide GL_ARB_framebuffer_sRGB or GL_EXT_framebuffer_sRGB.

    +

    GLFW_DOUBLEBUFFER specifies whether the framebuffer should be double buffered. You nearly always want to use double buffering. This is a hard constraint.

    +

    +Monitor related hints

    +

    GLFW_REFRESH_RATE specifies the desired refresh rate for full screen windows. If set to GLFW_DONT_CARE, the highest available refresh rate will be used. This hint is ignored for windowed mode windows.

    +

    +Context related hints

    +

    GLFW_CLIENT_API specifies which client API to create the context for. Possible values are GLFW_OPENGL_API and GLFW_OPENGL_ES_API. This is a hard constraint.

    +

    GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR specify the client API version that the created context must be compatible with. The exact behavior of these hints depend on the requested client API.

    +
    OpenGL: GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR are not hard constraints, but creation will fail if the OpenGL version of the created context is less than the one requested. It is therefore perfectly safe to use the default of version 1.0 for legacy code and you may still get backwards-compatible contexts of version 3.0 and above when available.
    +
    While there is no way to ask the driver for a context of the highest supported version, GLFW will attempt to provide this when you ask for a version 1.0 context, which is the default for these hints.
    +
    OpenGL ES: GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR are not hard constraints, but creation will fail if the OpenGL ES version of the created context is less than the one requested. Additionally, OpenGL ES 1.x cannot be returned if 2.0 or later was requested, and vice versa. This is because OpenGL ES 3.x is backward compatible with 2.0, but OpenGL ES 2.0 is not backward compatible with 1.x.
    +

    GLFW_OPENGL_FORWARD_COMPAT specifies whether the OpenGL context should be forward-compatible, i.e. one where all functionality deprecated in the requested version of OpenGL is removed. This may only be used if the requested OpenGL version is 3.0 or above. If OpenGL ES is requested, this hint is ignored.

    +
    Forward-compatibility is described in detail in the OpenGL Reference Manual.
    +

    GLFW_OPENGL_DEBUG_CONTEXT specifies whether to create a debug OpenGL context, which may have additional error and performance issue reporting functionality. If OpenGL ES is requested, this hint is ignored.

    +

    GLFW_OPENGL_PROFILE specifies which OpenGL profile to create the context for. Possible values are one of GLFW_OPENGL_CORE_PROFILE or GLFW_OPENGL_COMPAT_PROFILE, or GLFW_OPENGL_ANY_PROFILE to not request a specific profile. If requesting an OpenGL version below 3.2, GLFW_OPENGL_ANY_PROFILE must be used. If OpenGL ES is requested, this hint is ignored.

    +
    OpenGL profiles are described in detail in the OpenGL Reference Manual.
    +

    GLFW_CONTEXT_ROBUSTNESS specifies the robustness strategy to be used by the context. This can be one of GLFW_NO_RESET_NOTIFICATION or GLFW_LOSE_CONTEXT_ON_RESET, or GLFW_NO_ROBUSTNESS to not request a robustness strategy.

    +

    GLFW_CONTEXT_RELEASE_BEHAVIOR specifies the release behavior to be used by the context. Possible values are one of GLFW_ANY_RELEASE_BEHAVIOR, GLFW_RELEASE_BEHAVIOR_FLUSH or GLFW_RELEASE_BEHAVIOR_NONE. If the behavior is GLFW_ANY_RELEASE_BEHAVIOR, the default behavior of the context creation API will be used. If the behavior is GLFW_RELEASE_BEHAVIOR_FLUSH, the pipeline will be flushed whenever the context is released from being the current one. If the behavior is GLFW_RELEASE_BEHAVIOR_NONE, the pipeline will not be flushed on release.

    +
    Context release behaviors are described in detail by the GL_KHR_context_flush_control extension.
    +

    +Supported and default values

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Window hint Default value Supported values
    GLFW_RESIZABLE GL_TRUE GL_TRUE or GL_FALSE
    GLFW_VISIBLE GL_TRUE GL_TRUE or GL_FALSE
    GLFW_DECORATED GL_TRUE GL_TRUE or GL_FALSE
    GLFW_FOCUSED GL_TRUE GL_TRUE or GL_FALSE
    GLFW_AUTO_ICONIFY GL_TRUE GL_TRUE or GL_FALSE
    GLFW_FLOATING GL_FALSE GL_TRUE or GL_FALSE
    GLFW_RED_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_GREEN_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_BLUE_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ALPHA_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_DEPTH_BITS 24 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_STENCIL_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ACCUM_RED_BITS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ACCUM_GREEN_BITS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ACCUM_BLUE_BITS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ACCUM_ALPHA_BITS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_AUX_BUFFERS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_SAMPLES 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_REFRESH_RATE GLFW_DONT_CARE 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_STEREO GL_FALSE GL_TRUE or GL_FALSE
    GLFW_SRGB_CAPABLE GL_FALSE GL_TRUE or GL_FALSE
    GLFW_DOUBLEBUFFER GL_TRUE GL_TRUE or GL_FALSE
    GLFW_CLIENT_API GLFW_OPENGL_API GLFW_OPENGL_API or GLFW_OPENGL_ES_API
    GLFW_CONTEXT_VERSION_MAJOR 1 Any valid major version number of the chosen client API
    GLFW_CONTEXT_VERSION_MINOR 0 Any valid minor version number of the chosen client API
    GLFW_CONTEXT_ROBUSTNESS GLFW_NO_ROBUSTNESS GLFW_NO_ROBUSTNESS, GLFW_NO_RESET_NOTIFICATION or GLFW_LOSE_CONTEXT_ON_RESET
    GLFW_CONTEXT_RELEASE_BEHAVIOR GLFW_ANY_RELEASE_BEHAVIOR GLFW_ANY_RELEASE_BEHAVIOR, GLFW_RELEASE_BEHAVIOR_FLUSH or GLFW_RELEASE_BEHAVIOR_NONE
    GLFW_OPENGL_FORWARD_COMPAT GL_FALSE GL_TRUE or GL_FALSE
    GLFW_OPENGL_DEBUG_CONTEXT GL_FALSE GL_TRUE or GL_FALSE
    GLFW_OPENGL_PROFILE GLFW_OPENGL_ANY_PROFILE GLFW_OPENGL_ANY_PROFILE, GLFW_OPENGL_COMPAT_PROFILE or GLFW_OPENGL_CORE_PROFILE
    +

    +Window event processing

    +

    See Event processing.

    +

    +Window properties and events

    +

    +User pointer

    +

    Each window has a user pointer that can be set with glfwSetWindowUserPointer and fetched with glfwGetWindowUserPointer. This can be used for any purpose you need and will not be modified by GLFW throughout the life-time of the window.

    +

    The initial value of the pointer is NULL.

    +

    +Window closing and close flag

    +

    When the user attempts to close the window, for example by clicking the close widget or using a key chord like Alt+F4, the close flag of the window is set. The window is however not actually destroyed and, unless you watch for this state change, nothing further happens.

    +

    The current state of the close flag is returned by glfwWindowShouldClose and can be set or cleared directly with glfwSetWindowShouldClose. A common pattern is to use the close flag as a main loop condition.

    +
    while (!glfwWindowShouldClose(window))
    {
    render(window);
    glfwSwapBuffers(window);
    }

    If you wish to be notified when the user attempts to close a window, set a close callback.

    +
    glfwSetWindowCloseCallback(window, window_close_callback);

    The callback function is called directly after the close flag has been set. It can be used for example to filter close requests and clear the close flag again unless certain conditions are met.

    +
    void window_close_callback(GLFWwindow* window)
    {
    if (!time_to_close)
    glfwSetWindowShouldClose(window, GL_FALSE);
    }

    +Window size

    +

    The size of a window can be changed with glfwSetWindowSize. For windowed mode windows, this sets the size, in screen coordinates of the client area or content area of the window. The window system may impose limits on window size.

    +
    glfwSetWindowSize(window, 640, 480);

    For full screen windows, the specified size becomes the new resolution of the window's desired video mode. The video mode most closely matching the new desired video mode is set immediately. The window is resized to fit the resolution of the set video mode.

    +

    If you wish to be notified when a window is resized, whether by the user or the system, set a size callback.

    +
    glfwSetWindowSizeCallback(window, window_size_callback);

    The callback function receives the new size, in screen coordinates, of the client area of the window when it is resized.

    +
    void window_size_callback(GLFWwindow* window, int width, int height)
    {
    }

    There is also glfwGetWindowSize for directly retrieving the current size of a window.

    +
    int width, height;
    glfwGetWindowSize(window, &width, &height);
    Note
    Do not pass the window size to glViewport or other pixel-based OpenGL calls. The window size is in screen coordinates, not pixels. Use the framebuffer size, which is in pixels, for pixel-based calls.
    +

    The above functions work with the size of the client area, but decorated windows typically have title bars and window frames around this rectangle. You can retrieve the extents of these with glfwGetWindowFrameSize.

    +
    int left, top, right, bottom;
    glfwGetWindowFrameSize(window, &left, &top, &right, &bottom);

    The returned values are the distances, in screen coordinates, from the edges of the client area to the corresponding edges of the full window. As they are distances and not coordinates, they are always zero or positive.

    +

    +Framebuffer size

    +

    While the size of a window is measured in screen coordinates, OpenGL works with pixels. The size you pass into glViewport, for example, should be in pixels. On some machines screen coordinates and pixels are the same, but on others they will not be. There is a second set of functions to retrieve the size, in pixels, of the framebuffer of a window.

    +

    If you wish to be notified when the framebuffer of a window is resized, whether by the user or the system, set a size callback.

    +
    glfwSetFramebufferSizeCallback(window, framebuffer_size_callback);

    The callback function receives the new size of the framebuffer when it is resized, which can for example be used to update the OpenGL viewport.

    +
    void framebuffer_size_callback(GLFWwindow* window, int width, int height)
    {
    glViewport(0, 0, width, height);
    }

    There is also glfwGetFramebufferSize for directly retrieving the current size of the framebuffer of a window.

    +
    int width, height;
    glfwGetFramebufferSize(window, &width, &height);
    glViewport(0, 0, width, height);

    The size of a framebuffer may change independently of the size of a window, for example if the window is dragged between a regular monitor and a high-DPI one.

    +

    +Window position

    +

    The position of a windowed-mode window can be changed with glfwSetWindowPos. This moves the window so that the upper-left corner of its client area has the specified screen coordinates. The window system may put limitations on window placement.

    +
    glfwSetWindowPos(window, 100, 100);

    If you wish to be notified when a window is moved, whether by the user, system or your own code, set a position callback.

    +
    glfwSetWindowPosCallback(window, window_pos_callback);

    The callback function receives the new position of the upper-left corner of the client area when the window is moved.

    +
    void window_pos_callback(GLFWwindow* window, int xpos, int ypos)
    {
    }

    There is also glfwGetWindowPos for directly retrieving the current position of the client area of the window.

    +
    int xpos, ypos;
    glfwGetWindowPos(window, &xpos, &ypos);

    +Window title

    +

    All GLFW windows have a title, although undecorated or full screen windows may not display it or only display it in a task bar or similar interface. You can set a UTF-8 encoded window title with glfwSetWindowTitle.

    +
    glfwSetWindowTitle(window, "My Window");

    The specified string is copied before the function returns, so there is no need to keep it around.

    +

    As long as your source file is encoded as UTF-8, you can use any Unicode characters directly in the source.

    +
    glfwSetWindowTitle(window, "プラネテス");

    +Window monitor

    +

    Full screen windows are associated with a specific monitor. You can get the handle for this monitor with glfwGetWindowMonitor.

    +
    GLFWmonitor* monitor = glfwGetWindowMonitor(window);

    This monitor handle is one of those returned by glfwGetMonitors.

    +

    For windowed mode windows, this function returns NULL. This is the recommended way to tell full screen windows from windowed mode windows.

    +

    +Window iconification

    +

    Windows can be iconified (i.e. minimized) with glfwIconifyWindow.

    +

    When a full screen window is iconified, the original video mode of its monitor is restored until the user or application restores the window.

    +

    Iconified windows can be restored with glfwRestoreWindow.

    +

    When a full screen window is restored, the desired video mode is restored to its monitor as well.

    +

    If you wish to be notified when a window is iconified or restored, whether by the user, system or your own code, set a iconify callback.

    +
    glfwSetWindowIconifyCallback(window, window_iconify_callback);

    The callback function receives changes in the iconification state of the window.

    +
    void window_iconify_callback(GLFWwindow* window, int iconified)
    {
    if (iconified)
    {
    // The window was iconified
    }
    else
    {
    // The window was restored
    }
    }

    You can also get the current iconification state with glfwGetWindowAttrib.

    +
    int iconified = glfwGetWindowAttrib(window, GLFW_ICONIFIED);

    +Window visibility

    +

    Windowed mode windows can be hidden with glfwHideWindow.

    +

    This makes the window completely invisible to the user, including removing it from the task bar, dock or window list. Full screen windows cannot be hidden and calling glfwHideWindow on a full screen window does nothing.

    +

    Hidden windows can be shown with glfwShowWindow.

    +

    Windowed mode windows can be created initially hidden with the GLFW_VISIBLE window hint. Windows created hidden are completely invisible to the user until shown. This can be useful if you need to set up your window further before showing it, for example moving it to a specific location.

    +

    You can also get the current visibility state with glfwGetWindowAttrib.

    +
    int visible = glfwGetWindowAttrib(window, GLFW_VISIBLE);

    +Window input focus

    +

    If you wish to be notified when a window gains or loses input focus, whether by the user, system or your own code, set a focus callback.

    +
    glfwSetWindowFocusCallback(window, window_focus_callback);

    The callback function receives changes in the input focus state of the window.

    +
    void window_focus_callback(GLFWwindow* window, int focused)
    {
    if (focused)
    {
    // The window gained input focus
    }
    else
    {
    // The window lost input focus
    }
    }

    You can also get the current input focus state with glfwGetWindowAttrib.

    +
    int focused = glfwGetWindowAttrib(window, GLFW_FOCUSED);

    +Window damage and refresh

    +

    If you wish to be notified when the contents of a window is damaged and needs to be refreshed, set a window refresh callback.

    +
    glfwSetWindowRefreshCallback(m_handle, window_refresh_callback);

    The callback function is called when the contents of the window needs to be refreshed.

    +
    void window_refresh_callback(GLFWwindow* window)
    {
    draw_editor_ui(window);
    glfwSwapBuffers(window);
    }
    Note
    On compositing window systems such as Aero, Compiz or Aqua, where the window contents are saved off-screen, this callback might only be called when the window or framebuffer is resized.
    +

    +Window attributes

    +

    Windows have a number of attributes that can be returned using glfwGetWindowAttrib. Some reflect state that may change during the lifetime of the window, while others reflect the corresponding hints and are fixed at the time of creation. Some are related to the actual window and others to its context.

    +
    {
    // window has input focus
    }

    +Window related attributes

    +

    GLFW_FOCUSED indicates whether the specified window has input focus. Initial input focus is controlled by the window hint with the same name.
    + GLFW_ICONIFIED indicates whether the specified window is iconified, whether by the user or with glfwIconifyWindow.

    +

    GLFW_VISIBLE indicates whether the specified window is visible. Window visibility can be controlled with glfwShowWindow and glfwHideWindow and initial visibility is controlled by the window hint with the same name.
    + GLFW_RESIZABLE indicates whether the specified window is resizable by the user. This is set on creation with the window hint with the same name.

    +

    GLFW_DECORATED indicates whether the specified window has decorations such as a border, a close widget, etc. This is set on creation with the window hint with the same name.

    +

    GLFW_FLOATING indicates whether the specified window is floating, also called topmost or always-on-top. This is controlled by the window hint with the same name.

    +

    +Context related attributes

    +

    GLFW_CLIENT_API indicates the client API provided by the window's context; either GLFW_OPENGL_API or GLFW_OPENGL_ES_API.

    +

    GLFW_CONTEXT_VERSION_MAJOR, GLFW_CONTEXT_VERSION_MINOR and GLFW_CONTEXT_REVISION indicate the client API version of the window's context.

    +

    GLFW_OPENGL_FORWARD_COMPAT is GL_TRUE if the window's context is an OpenGL forward-compatible one, or GL_FALSE otherwise.

    +

    GLFW_OPENGL_DEBUG_CONTEXT is GL_TRUE if the window's context is an OpenGL debug context, or GL_FALSE otherwise.

    +

    GLFW_OPENGL_PROFILE indicates the OpenGL profile used by the context. This is GLFW_OPENGL_CORE_PROFILE or GLFW_OPENGL_COMPAT_PROFILE if the context uses a known profile, or GLFW_OPENGL_ANY_PROFILE if the OpenGL profile is unknown or the context is an OpenGL ES context. Note that the returned profile may not match the profile bits of the context flags, as GLFW will try other means of detecting the profile when no bits are set.

    +

    GLFW_CONTEXT_ROBUSTNESS indicates the robustness strategy used by the context. This is GLFW_LOSE_CONTEXT_ON_RESET or GLFW_NO_RESET_NOTIFICATION if the window's context supports robustness, or GLFW_NO_ROBUSTNESS otherwise.

    +

    +Framebuffer related attributes

    +

    The attributes of the default framebuffer (i.e. the framebuffer attached to the window) are not provided by this function but can be queried with both OpenGL and OpenGL ES.

    +

    If you are using version 3.0 or later of OpenGL or OpenGL ES, the glGetFramebufferAttachmentParameteriv function can be used to retrieve the number of bits for the red, green, blue, alpha, depth and stencil buffer channels. Otherwise, the glGetIntegerv function can be used.

    +

    The number of MSAA samples are always retrieved with glGetIntegerv. For contexts supporting framebuffer objects, the number of samples of the currently bound framebuffer is returned.

    + + + + + + + + + + + + + + + + + +
    Attribute glGetIntegerv glGetFramebufferAttachmentParameteriv
    Red bits GL_RED_BITS GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE
    Green bits GL_GREEN_BITS GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE
    Blue bits GL_BLUE_BITS GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE
    Alpha bits GL_ALPHA_BITS GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE
    Depth bits GL_DEPTH_BITS GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE
    Stencil bits GL_STENCIL_BITS GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE
    MSAA samples GL_SAMPLES Not provided by this function
    +

    When calling glGetFramebufferAttachmentParameteriv, the red, green, blue and alpha sizes can be queried from the GL_BACK_LEFT, while the depth and stencil sizes can be queried from the GL_DEPTH and GL_STENCIL attachments, respectively.

    +

    +Buffer swapping

    +

    GLFW windows are by default double buffered. That means that you have two rendering buffers; a front buffer and a back buffer. The front buffer is the one being displayed and the back buffer the one you render to.

    +

    When the entire frame has been rendered, it is time to swap the back and the front buffers in order to display what has been rendered and begin rendering a new frame. This is done with glfwSwapBuffers.

    +

    Sometimes it can be useful to select when the buffer swap will occur. With the function glfwSwapInterval it is possible to select the minimum number of monitor refreshes the driver wait should from the time glfwSwapBuffers was called before swapping the buffers:

    +

    If the interval is zero, the swap will take place immediately when glfwSwapBuffers is called without waiting for a refresh. Otherwise at least interval retraces will pass between each buffer swap. Using a swap interval of zero can be useful for benchmarking purposes, when it is not desirable to measure the time it takes to wait for the vertical retrace. However, a swap interval of one lets you avoid tearing.

    +

    Note that this may not work on all machines, as some drivers have user-controlled settings that override any swap interval the application requests.

    +
    + + + diff --git a/docs/3.1/window_8dox.html b/docs/3.1/window_8dox.html new file mode 100644 index 0000000..bf5effb --- /dev/null +++ b/docs/3.1/window_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: window.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    window.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.2.1 b/docs/3.2.1 new file mode 120000 index 0000000..4fe5631 --- /dev/null +++ b/docs/3.2.1 @@ -0,0 +1 @@ +3.2 \ No newline at end of file diff --git a/docs/3.2/bc_s.png b/docs/3.2/bc_s.png new file mode 100644 index 0000000000000000000000000000000000000000..224b29aa9847d5a4b3902efd602b7ddf7d33e6c2 GIT binary patch literal 676 zcmV;V0$crwP)y__>=_9%My z{n931IS})GlGUF8K#6VIbs%684A^L3@%PlP2>_sk`UWPq@f;rU*V%rPy_ekbhXT&s z(GN{DxFv}*vZp`F>S!r||M`I*nOwwKX+BC~3P5N3-)Y{65c;ywYiAh-1*hZcToLHK ztpl1xomJ+Yb}K(cfbJr2=GNOnT!UFA7Vy~fBz8?J>XHsbZoDad^8PxfSa0GDgENZS zuLCEqzb*xWX2CG*b&5IiO#NzrW*;`VC9455M`o1NBh+(k8~`XCEEoC1Ybwf;vr4K3 zg|EB<07?SOqHp9DhLpS&bzgo70I+ghB_#)K7H%AMU3v}xuyQq9&Bm~++VYhF09a+U zl7>n7Jjm$K#b*FONz~fj;I->Bf;ule1prFN9FovcDGBkpg>)O*-}eLnC{6oZHZ$o% zXKW$;0_{8hxHQ>l;_*HATI(`7t#^{$(zLe}h*mqwOc*nRY9=?Sx4OOeVIfI|0V(V2 zBrW#G7Ss9wvzr@>H*`r>zE z+e8bOBgqIgldUJlG(YUDviMB`9+DH8n-s9SXRLyJHO1!=wY^79WYZMTa(wiZ!zP66 zA~!21vmF3H2{ngD;+`6j#~6j;$*f*G_2ZD1E;9(yaw7d-QnSCpK(cR1zU3qU0000< KMNUMnLSTYoA~SLT literal 0 HcmV?d00001 diff --git a/docs/3.2/bdwn.png b/docs/3.2/bdwn.png new file mode 100644 index 0000000000000000000000000000000000000000..940a0b950443a0bb1b216ac03c45b8a16c955452 GIT binary patch literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^>_E)H!3HEvS)PKZC{Gv1kP61Pb5HX&C2wk~_T + + + + + +GLFW: Bug List + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Bug List
    +
    +
    +
    +
    Page Window guide
    +
    On some Linux systems, creating contexts via both the native and EGL APIs in a single process will cause the application to segfault. Stick to one API or the other on Linux for now.
    +
    +
    + + + diff --git a/docs/3.2/build.html b/docs/3.2/build.html new file mode 120000 index 0000000..c7922c8 --- /dev/null +++ b/docs/3.2/build.html @@ -0,0 +1 @@ +build_guide.html \ No newline at end of file diff --git a/docs/3.2/build_8dox.html b/docs/3.2/build_8dox.html new file mode 100644 index 0000000..28afb40 --- /dev/null +++ b/docs/3.2/build_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: build.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    build.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.2/build_guide.html b/docs/3.2/build_guide.html new file mode 100644 index 0000000..ebafb21 --- /dev/null +++ b/docs/3.2/build_guide.html @@ -0,0 +1,171 @@ + + + + + + +GLFW: Building applications + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Building applications
    +
    +
    + +

    This is about compiling and linking applications that use GLFW. For information on how to write such applications, start with the introductory tutorial. For information on how to compile the GLFW library itself, see Compiling GLFW.

    +

    This is not a tutorial on compilation or linking. It assumes basic understanding of how to compile and link a C program as well as how to use the specific compiler of your chosen development environment. The compilation and linking process should be explained in your C programming material and in the documentation for your development environment.

    +

    +Including the GLFW header file

    +

    In the source files of your application where you use OpenGL or GLFW, you should include the GLFW header file, i.e.:

    +
    #include <GLFW/glfw3.h>

    The GLFW header declares the GLFW API and by default also includes the OpenGL header of your development environment, which in turn defines all the constants, types and function prototypes of the OpenGL API.

    +

    The GLFW header also defines everything necessary for your OpenGL header to function. For example, under Windows you are normally required to include windows.h before the OpenGL header, which would pollute your code namespace with the entire Win32 API.

    +

    Instead, the GLFW header takes care of this for you, not by including windows.h, but by duplicating only the very few necessary parts of it. It does this only when needed, so if windows.h is included, the GLFW header does not try to redefine those symbols. The reverse is not true, i.e. windows.h cannot cope if any of its symbols have already been defined.

    +

    In other words:

    +
      +
    • Do not include the OpenGL headers yourself, as GLFW does this for you
    • +
    • Do not include windows.h or other platform-specific headers unless you plan on using those APIs directly
    • +
    • If you do need to include such headers, do it before including the GLFW header and it will handle this
    • +
    +

    If you are using an OpenGL extension loading library such as glad, the extension loader header should either be included before the GLFW one, or the GLFW_INCLUDE_NONE macro (described below) should be defined.

    +

    +GLFW header option macros

    +

    These macros may be defined before the inclusion of the GLFW header and affect its behavior.

    +

    GLFW_DLL is required on Windows when using the GLFW DLL, to tell the compiler that the GLFW functions are defined in a DLL.

    +

    The following macros control which OpenGL or OpenGL ES API header is included. Only one of these may be defined at a time.

    +

    GLFW_INCLUDE_GLCOREARB makes the GLFW header include the modern GL/glcorearb.h header (OpenGL/gl3.h on OS X) instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES1 makes the GLFW header include the OpenGL ES 1.x GLES/gl.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES2 makes the GLFW header include the OpenGL ES 2.0 GLES2/gl2.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES3 makes the GLFW header include the OpenGL ES 3.0 GLES3/gl3.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES31 makes the GLFW header include the OpenGL ES 3.1 GLES3/gl31.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_VULKAN makes the GLFW header include the Vulkan vulkan/vulkan.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_NONE makes the GLFW header not include any OpenGL or OpenGL ES API header. This is useful in combination with an extension loading library.

    +

    If none of the above inclusion macros are defined, the standard OpenGL GL/gl.h header (OpenGL/gl.h on OS X) is included.

    +

    The following macros control the inclusion of additional API headers. Any number of these may be defined simultaneously, and/or together with one of the above macros.

    +

    GLFW_INCLUDE_GLEXT makes the GLFW header include the appropriate extension header for the OpenGL or OpenGL ES header selected above after and in addition to that header.

    +

    GLFW_INCLUDE_GLU makes the header include the GLU header in addition to the header selected above. This should only be used with the standard OpenGL header and only for compatibility with legacy code. GLU has been deprecated and should not be used in new code.

    +
    Note
    GLFW does not provide any of the API headers mentioned above. They must be provided by your development environment or your OpenGL, OpenGL ES or Vulkan SDK.
    +
    +None of these macros may be defined during the compilation of GLFW itself. If your build includes GLFW and you define any these in your build files, make sure they are not applied to the GLFW sources.
    +

    +Link with the right libraries

    +

    GLFW is essentially a wrapper of various platform-specific APIs and therefore needs to link against many different system libraries. If you are using GLFW as a shared library / dynamic library / DLL then it takes care of these links. However, if you are using GLFW as a static library then your executable will need to link against these libraries.

    +

    On Windows and OS X, the list of system libraries is static and can be hard-coded into your build environment. See the section for your development environment below. On Linux and other Unix-like operating systems, the list varies but can be retrieved in various ways as described below.

    +

    A good general introduction to linking is Beginner's Guide to Linkers by David Drysdale.

    +

    +With MinGW or Visual C++ on Windows

    +

    The static version of the GLFW library is named glfw3. When using this version, it is also necessary to link with some libraries that GLFW uses.

    +

    When linking an application under Windows that uses the static version of GLFW, you must link with opengl32. On some versions of MinGW, you must also explicitly link with gdi32, while other versions of MinGW include it in the set of default libraries along with other dependencies like user32 and kernel32. If you are using GLU, you must also link with glu32.

    +

    The link library for the GLFW DLL is named glfw3dll. When compiling an application that uses the DLL version of GLFW, you need to define the GLFW_DLL macro before any inclusion of the GLFW header. This can be done either with a compiler switch or by defining it in your source code.

    +

    An application using the GLFW DLL does not need to link against any of its dependencies, but you still have to link against opengl32 if your application uses OpenGL and glu32 if it uses GLU.

    +

    +With CMake and GLFW source

    +

    This section is about using CMake to compile and link GLFW along with your application. If you want to use an installed binary instead, see With CMake and installed GLFW binaries.

    +

    With just a few changes to your CMakeLists.txt you can have the GLFW source tree built along with your application.

    +

    When including GLFW as part of your build, you probably don't want to build the GLFW tests, examples and documentation. To disable these, set the corresponding cache variables before adding the GLFW source tree.

    +
    set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE)
    set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
    set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)

    Then add the root directory of the GLFW source tree to your project. This will add the glfw target and the necessary cache variables to your project.

    +
    add_subdirectory(path/to/glfw)

    Once GLFW has been added to the project, link against it with the glfw target. This adds all link-time dependencies of GLFW as it is currently configured, the include directory for the GLFW header and, when applicable, the GLFW_DLL macro.

    +
    target_link_libraries(myapp glfw)

    Note that the dependencies do not include OpenGL or GLU, as GLFW loads any OpenGL, OpenGL ES or Vulkan libraries it needs at runtime and does not use GLU. If your application calls OpenGL directly, instead of using a modern extension loader library you can find it by requiring the OpenGL package.

    +
    find_package(OpenGL REQUIRED)

    If OpenGL is found, the OPENGL_FOUND variable is true and the OPENGL_INCLUDE_DIR and OPENGL_gl_LIBRARY cache variables can be used.

    +
    target_include_directories(myapp ${OPENGL_INCLUDE_DIR})
    target_link_libraries(myapp ${OPENGL_gl_LIBRARY})

    The OpenGL CMake package also looks for GLU. If GLU is found, the OPENGL_GLU_FOUND variable is true and the OPENGL_INCLUDE_DIR and OPENGL_glu_LIBRARY cache variables can be used.

    +
    target_link_libraries(myapp ${OPENGL_glu_LIBRARY})
    Note
    GLU has been deprecated and should not be used in new code, but some legacy code requires it.
    +

    +With CMake and installed GLFW binaries

    +

    This section is about using CMake to link GLFW after it has been built and installed. If you want to build it along with your application instead, see With CMake and GLFW source.

    +

    With just a few changes to your CMakeLists.txt, you can locate the package and target files generated when GLFW is installed.

    +
    find_package(glfw3 3.2 REQUIRED)

    Note that the dependencies do not include OpenGL or GLU, as GLFW loads any OpenGL, OpenGL ES or Vulkan libraries it needs at runtime and does not use GLU. If your application calls OpenGL directly, instead of using a modern extension loader library you can find it by requiring the OpenGL package.

    +
    find_package(OpenGL REQUIRED)

    If OpenGL is found, the OPENGL_FOUND variable is true and the OPENGL_INCLUDE_DIR and OPENGL_gl_LIBRARY cache variables can be used.

    +
    target_include_directories(myapp ${OPENGL_INCLUDE_DIR})
    target_link_libraries(myapp ${OPENGL_gl_LIBRARY})

    The OpenGL CMake package also looks for GLU. If GLU is found, the OPENGL_GLU_FOUND variable is true and the OPENGL_INCLUDE_DIR and OPENGL_glu_LIBRARY cache variables can be used.

    +
    target_link_libraries(myapp ${OPENGL_glu_LIBRARY})
    Note
    GLU has been deprecated and should not be used in new code, but some legacy code requires it.
    +

    +With makefiles and pkg-config on Unix

    +

    GLFW supports pkg-config, and the glfw3.pc pkg-config file is generated when the GLFW library is built and is installed along with it. A pkg-config file describes all necessary compile-time and link-time flags and dependencies needed to use a library. When they are updated or if they differ between systems, you will get the correct ones automatically.

    +

    A typical compile and link command-line when using the static version of the GLFW library may look like this:

    +
    cc `pkg-config --cflags glfw3` -o myprog myprog.c `pkg-config --static --libs glfw3`

    If you are using the shared version of the GLFW library, simply omit the --static flag.

    +
    cc `pkg-config --cflags glfw3` -o myprog myprog.c `pkg-config --libs glfw3`

    You can also use the glfw3.pc file without installing it first, by using the PKG_CONFIG_PATH environment variable.

    +
    env PKG_CONFIG_PATH=path/to/glfw/src cc `pkg-config --cflags glfw3` -o myprog myprog.c `pkg-config --libs glfw3`

    The dependencies do not include OpenGL or GLU, as GLFW loads any OpenGL, OpenGL ES or Vulkan libraries it needs at runtime and does not use GLU. On OS X, GLU is built into the OpenGL framework, so if you need GLU you don't need to do anything extra. If you need GLU and are using Linux or BSD, you should add the glu pkg-config package.

    +
    cc `pkg-config --cflags glfw3 glu` -o myprog myprog.c `pkg-config --libs glfw3 glu`
    Note
    GLU has been deprecated and should not be used in new code, but some legacy code requires it.
    +

    If you are using the static version of the GLFW library, make sure you don't link statically against GLU.

    +
    cc `pkg-config --cflags glfw3 glu` -o myprog myprog.c `pkg-config --static --libs glfw3` `pkg-config --libs glu`

    +With Xcode on OS X

    +

    If you are using the dynamic library version of GLFW, simply add it to the project dependencies.

    +

    If you are using the static library version of GLFW, add it and the Cocoa, OpenGL, IOKit and CoreVideo frameworks to the project as dependencies. They can all be found in /System/Library/Frameworks.

    +

    +With command-line on OS X

    +

    It is recommended that you use pkg-config when building from the command line on OS X. That way you will get any new dependencies added automatically. If you still wish to build manually, you need to add the required frameworks and libraries to your command-line yourself using the -l and -framework switches.

    +

    If you are using the dynamic GLFW library, which is named libglfw.3.dylib, do:

    +
    cc -o myprog myprog.c -lglfw -framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo

    If you are using the static library, named libglfw3.a, substitute -lglfw3 for -lglfw.

    +

    Note that you do not add the .framework extension to a framework when linking against it from the command-line.

    +

    The OpenGL framework contains both the OpenGL and GLU APIs, so there is nothing special to do when using GLU. Also note that even though your machine may have libGL-style OpenGL libraries, they are for use with the X Window System and will not work with the OS X native version of GLFW.

    +
    + + + diff --git a/docs/3.2/closed.png b/docs/3.2/closed.png new file mode 100644 index 0000000000000000000000000000000000000000..98cc2c909da37a6df914fbf67780eebd99c597f5 GIT binary patch literal 132 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{V-kvUwAr*{o@8{^CZMh(5KoB^r_<4^zF@3)Cp&&t3hdujKf f*?bjBoY!V+E))@{xMcbjXe@)LtDnm{r-UW|*e5JT literal 0 HcmV?d00001 diff --git a/docs/3.2/compat.html b/docs/3.2/compat.html new file mode 120000 index 0000000..59cff9e --- /dev/null +++ b/docs/3.2/compat.html @@ -0,0 +1 @@ +compat_guide.html \ No newline at end of file diff --git a/docs/3.2/compat_8dox.html b/docs/3.2/compat_8dox.html new file mode 100644 index 0000000..d7a6ff4 --- /dev/null +++ b/docs/3.2/compat_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: compat.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    compat.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.2/compat_guide.html b/docs/3.2/compat_guide.html new file mode 100644 index 0000000..e1b210a --- /dev/null +++ b/docs/3.2/compat_guide.html @@ -0,0 +1,133 @@ + + + + + + +GLFW: Standards conformance + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Standards conformance
    +
    +
    + +

    This guide describes the various API extensions used by this version of GLFW. It lists what are essentially implementation details, but which are nonetheless vital knowledge for developers intending to deploy their applications on a wide range of machines.

    +

    The information in this guide is not a part of GLFW API, but merely preconditions for some parts of the library to function on a given machine. Any part of this information may change in future versions of GLFW and that will not be considered a breaking API change.

    +

    +X11 extensions, protocols and IPC standards

    +

    As GLFW uses Xlib directly, without any intervening toolkit library, it has sole responsibility for interacting well with the many and varied window managers in use on Unix-like systems. In order for applications and window managers to work well together, a number of standards and conventions have been developed that regulate behavior outside the scope of the X11 API; most importantly the Inter-Client Communication Conventions Manual (ICCCM) and Extended Window Manager Hints (EWMH) standards.

    +

    GLFW uses the _MOTIF_WM_HINTS window property to support borderless windows. If the running window manager does not support this property, the GLFW_DECORATED hint will have no effect.

    +

    GLFW uses the ICCCM WM_DELETE_WINDOW protocol to intercept the user attempting to close the GLFW window. If the running window manager does not support this protocol, the close callback will never be called.

    +

    GLFW uses the EWMH _NET_WM_PING protocol, allowing the window manager notify the user when the application has stopped responding, i.e. when it has ceased to process events. If the running window manager does not support this protocol, the user will not be notified if the application locks up.

    +

    GLFW uses the EWMH _NET_WM_STATE_FULLSCREEN window state to tell the window manager to make the GLFW window full screen. If the running window manager does not support this state, full screen windows may not work properly. GLFW has a fallback code path in case this state is unavailable, but every window manager behaves slightly differently in this regard.

    +

    GLFW uses the EWMH _NET_WM_BYPASS_COMPOSITOR window property to tell a compositing window manager to un-redirect full screen GLFW windows. If the running window manager uses compositing but does not support this property then additional copying may be performed for each buffer swap of full screen windows.

    +

    GLFW uses the clipboard manager protocol to push a clipboard string (i.e. selection) owned by a GLFW window about to be destroyed to the clipboard manager. If there is no running clipboard manager, the clipboard string will be unavailable once the window has been destroyed.

    +

    GLFW uses the X drag-and-drop protocol to provide file drop events. If the application originating the drag does not support this protocol, drag and drop will not work.

    +

    GLFW uses the XRandR 1.3 extension to provide multi-monitor support. If the running X server does not support this version of this extension, multi-monitor support will not function and only a single, desktop-spanning monitor will be reported.

    +

    GLFW uses the XRandR 1.3 and Xf86vidmode extensions to provide gamma ramp support. If the running X server does not support either or both of these extensions, gamma ramp support will not function.

    +

    GLFW uses the Xkb extension and detectable auto-repeat to provide keyboard input. If the running X server does not support this extension, a non-Xkb fallback path is used.

    +

    +GLX extensions

    +

    The GLX API is the default API used to create OpenGL contexts on Unix-like systems using the X Window System.

    +

    GLFW uses the GLX 1.3 GLXFBConfig functions to enumerate and select framebuffer pixel formats. If GLX 1.3 is not supported, glfwInit will fail.

    +

    GLFW uses the GLX_MESA_swap_control, GLX_EXT_swap_control and GLX_SGI_swap_control extensions to provide vertical retrace synchronization (or vsync), in that order of preference. Where none of these extension are available, calling glfwSwapInterval will have no effect.

    +

    GLFW uses the GLX_ARB_multisample extension to create contexts with multisampling anti-aliasing. Where this extension is unavailable, the GLFW_SAMPLES hint will have no effect.

    +

    GLFW uses the GLX_ARB_create_context extension when available, even when creating OpenGL contexts of version 2.1 and below. Where this extension is unavailable, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will only be partially supported, the GLFW_OPENGL_DEBUG_CONTEXT hint will have no effect, and setting the GLFW_OPENGL_PROFILE or GLFW_OPENGL_FORWARD_COMPAT hints to GLFW_TRUE will cause glfwCreateWindow to fail.

    +

    GLFW uses the GLX_ARB_create_context_profile extension to provide support for context profiles. Where this extension is unavailable, setting the GLFW_OPENGL_PROFILE hint to anything but GLFW_OPENGL_ANY_PROFILE, or setting GLFW_CLIENT_API to anything but GLFW_OPENGL_API or GLFW_NO_API will cause glfwCreateWindow to fail.

    +

    GLFW uses the GLX_ARB_context_flush_control extension to provide control over whether a context is flushed when it is released (made non-current). Where this extension is unavailable, the GLFW_CONTEXT_RELEASE_BEHAVIOR hint will have no effect and the context will always be flushed when released.

    +

    GLFW uses the GLX_ARB_framebuffer_sRGB and GLX_EXT_framebuffer_sRGB extensions to provide support for sRGB framebuffers. Where both of these extensions are unavailable, the GLFW_SRGB_CAPABLE hint will have no effect.

    +

    +WGL extensions

    +

    The WGL API is used to create OpenGL contexts on Microsoft Windows and other implementations of the Win32 API, such as Wine.

    +

    GLFW uses either the WGL_EXT_extension_string or the WGL_ARB_extension_string extension to check for the presence of all other WGL extensions listed below. If both are available, the EXT one is preferred. If neither is available, no other extensions are used and many GLFW features related to context creation will have no effect or cause errors when used.

    +

    GLFW uses the WGL_EXT_swap_control extension to provide vertical retrace synchronization (or vsync). Where this extension is unavailable, calling glfwSwapInterval will have no effect.

    +

    GLFW uses the WGL_ARB_pixel_format and WGL_ARB_multisample extensions to create contexts with multisampling anti-aliasing. Where these extensions are unavailable, the GLFW_SAMPLES hint will have no effect.

    +

    GLFW uses the WGL_ARB_create_context extension when available, even when creating OpenGL contexts of version 2.1 and below. Where this extension is unavailable, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will only be partially supported, the GLFW_OPENGL_DEBUG_CONTEXT hint will have no effect, and setting the GLFW_OPENGL_PROFILE or GLFW_OPENGL_FORWARD_COMPAT hints to GLFW_TRUE will cause glfwCreateWindow to fail.

    +

    GLFW uses the WGL_ARB_create_context_profile extension to provide support for context profiles. Where this extension is unavailable, setting the GLFW_OPENGL_PROFILE hint to anything but GLFW_OPENGL_ANY_PROFILE will cause glfwCreateWindow to fail.

    +

    GLFW uses the WGL_ARB_context_flush_control extension to provide control over whether a context is flushed when it is released (made non-current). Where this extension is unavailable, the GLFW_CONTEXT_RELEASE_BEHAVIOR hint will have no effect and the context will always be flushed when released.

    +

    GLFW uses the WGL_ARB_framebuffer_sRGB and WGL_EXT_framebuffer_sRGB extensions to provide support for sRGB framebuffers. Where both of these extension are unavailable, the GLFW_SRGB_CAPABLE hint will have no effect.

    +

    +OpenGL 3.2 and later on OS X

    +

    Support for OpenGL 3.2 and above was introduced with OS X 10.7 and even then only forward-compatible, core profile contexts are supported. Support for OpenGL 4.1 was introduced with OS X 10.9, also limited to forward-compatible, core profile contexts. There is also still no mechanism for requesting debug contexts. Versions of Mac OS X earlier than 10.7 support at most OpenGL version 2.1.

    +

    Because of this, on OS X 10.7 and later, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will cause glfwCreateWindow to fail if given version 3.0 or 3.1, the GLFW_OPENGL_FORWARD_COMPAT hint must be set to GLFW_TRUE and the GLFW_OPENGL_PROFILE hint must be set to GLFW_OPENGL_CORE_PROFILE when creating OpenGL 3.2 and later contexts and the GLFW_OPENGL_DEBUG_CONTEXT hint is ignored.

    +

    Also, on Mac OS X 10.6 and below, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will fail if given a version above 2.1, setting the GLFW_OPENGL_PROFILE or GLFW_OPENGL_FORWARD_COMPAT hints to a non-default value will cause glfwCreateWindow to fail and the GLFW_OPENGL_DEBUG_CONTEXT hint is ignored.

    +

    +Vulkan loader and API

    +

    GLFW uses the standard system-wide Vulkan loader to access the Vulkan API. This should be installed by graphics drivers and Vulkan SDKs. If this is not available, glfwVulkanSupported will return GLFW_FALSE and all other Vulkan-related functions will fail with an GLFW_API_UNAVAILABLE error.

    +

    +Vulkan WSI extensions

    +

    The Vulkan WSI extensions are used to create Vulkan surfaces for GLFW windows on all supported platforms.

    +

    GLFW uses the VK_KHR_surface and VK_KHR_win32_surface extensions to create surfaces on Microsoft Windows. If any of these extensions are not available, glfwGetRequiredInstanceExtensions will return an empty list and window surface creation will fail.

    +

    GLFW uses the VK_KHR_surface and either the VK_KHR_xlib_surface or VK_KHR_xcb_surface extensions to create surfaces on X11. If VK_KHR_surface or both VK_KHR_xlib_surface and VK_KHR_xcb_surface are not available, glfwGetRequiredInstanceExtensions will return an empty list and window surface creation will fail.

    +

    GLFW uses the VK_KHR_surface and VK_KHR_wayland_surface extensions to create surfaces on Wayland. If any of these extensions are not available, glfwGetRequiredInstanceExtensions will return an empty list and window surface creation will fail.

    +

    GLFW uses the VK_KHR_surface and VK_KHR_mir_surface extensions to create surfaces on Mir. If any of these extensions are not available, glfwGetRequiredInstanceExtensions will return an empty list and window surface creation will fail.

    +

    GLFW does not support any extensions for window surface creation on OS X, meaningglfwGetRequiredInstanceExtensions will return an empty list and window surface creation will fail.

    +
    + + + diff --git a/docs/3.2/compile.html b/docs/3.2/compile.html new file mode 120000 index 0000000..356831f --- /dev/null +++ b/docs/3.2/compile.html @@ -0,0 +1 @@ +compile_guide.html \ No newline at end of file diff --git a/docs/3.2/compile_8dox.html b/docs/3.2/compile_8dox.html new file mode 100644 index 0000000..d177c5f --- /dev/null +++ b/docs/3.2/compile_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: compile.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    compile.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.2/compile_guide.html b/docs/3.2/compile_guide.html new file mode 100644 index 0000000..c0e0fe0 --- /dev/null +++ b/docs/3.2/compile_guide.html @@ -0,0 +1,194 @@ + + + + + + +GLFW: Compiling GLFW + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Compiling GLFW
    +
    +
    + +

    This is about compiling the GLFW library itself. For information on how to build applications that use GLFW, see Building applications.

    +

    +Using CMake

    +

    GLFW uses CMake to generate project files or makefiles for a particular development environment. If you are on a Unix-like system such as Linux or FreeBSD or have a package system like Fink, MacPorts, Cygwin or Homebrew, you can simply install its CMake package. If not, you can download installers for Windows and OS X from the CMake website.

    +
    Note
    CMake only generates project files or makefiles. It does not compile the actual GLFW library. To compile GLFW, first generate these files for your chosen development environment and then use them to compile the actual GLFW library.
    +

    +Dependencies

    +

    Once you have installed CMake, make sure that all other dependencies are available. On some platforms, GLFW needs a few additional packages to be installed. See the section for your chosen platform and development environment below.

    +

    +Dependencies for Visual C++ on Windows

    +

    The Microsoft Platform SDK that is installed along with Visual C++ already contains all the necessary headers, link libraries and tools except for CMake. Move on to Generating build files with CMake.

    +

    +Dependencies for MinGW or MinGW-w64 on Windows

    +

    Both the MinGW and the MinGW-w64 packages already contain all the necessary headers, link libraries and tools except for CMake. Move on to Generating build files with CMake.

    +

    +Dependencies for MinGW or MinGW-w64 cross-compilation

    +

    Both Cygwin and many Linux distributions have MinGW or MinGW-w64 packages. For example, Cygwin has the mingw64-i686-gcc and mingw64-x86_64-gcc packages for 32- and 64-bit version of MinGW-w64, while Debian GNU/Linux and derivatives like Ubuntu have the mingw-w64 package for both.

    +

    GLFW has CMake toolchain files in the CMake/ directory that allow for easy cross-compilation of Windows binaries. To use these files you need to add a special parameter when generating the project files or makefiles:

    +
    cmake -DCMAKE_TOOLCHAIN_FILE=<toolchain-file> .

    The exact toolchain file to use depends on the prefix used by the MinGW or MinGW-w64 binaries on your system. You can usually see this in the /usr directory. For example, both the Debian/Ubuntu and Cygwin MinGW-w64 packages have /usr/x86_64-w64-mingw32 for the 64-bit compilers, so the correct invocation would be:

    +
    cmake -DCMAKE_TOOLCHAIN_FILE=CMake/x86_64-w64-mingw32.cmake .

    For more details see the article CMake Cross Compiling on the CMake wiki.

    +

    Once you have this set up, move on to Generating build files with CMake.

    +

    +Dependencies for Xcode on OS X

    +

    Xcode comes with all necessary tools except for CMake. The required headers and libraries are included in the core OS X frameworks. Xcode can be downloaded from the Mac App Store or from the ADC Member Center.

    +

    Once you have Xcode installed, move on to Generating build files with CMake.

    +

    +Dependencies for Linux and X11

    +

    To compile GLFW for X11, you need to have the X11 packages installed, as well as the basic development tools like GCC and make. For example, on Ubuntu and other distributions based on Debian GNU/Linux, you need to install the xorg-dev package, which pulls in all X.org header packages.

    +

    Once you have installed the necessary packages, move on to Generating build files with CMake.

    +

    +Generating build files with CMake

    +

    Once you have all necessary dependencies it is time to generate the project files or makefiles for your development environment. CMake needs to know two paths for this: the path to the root directory of the GLFW source tree (i.e. not the src subdirectory) and the target path for the generated files and compiled binaries. If these are the same, it is called an in-tree build, otherwise it is called an out-of-tree build.

    +

    One of several advantages of out-of-tree builds is that you can generate files and compile for different development environments using a single source tree.

    +
    Note
    This section is about generating the project files or makefiles necessary to compile the GLFW library, not about compiling the actual library.
    +

    +Generating files with the CMake command-line tool

    +

    To make an in-tree build, enter the root directory of the GLFW source tree (i.e. not the src subdirectory) and run CMake. The current directory is used as target path, while the path provided as an argument is used to find the source tree.

    +
    cd <glfw-root-dir>
    cmake .

    To make an out-of-tree build, make a directory outside of the source tree, enter it and run CMake with the (relative or absolute) path to the root of the source tree as an argument.

    +
    mkdir glfw-build
    cd glfw-build
    cmake <glfw-root-dir>

    Once you have generated the project files or makefiles for your chosen development environment, move on to Compiling the library.

    +

    +Generating files with the CMake GUI

    +

    If you are using the GUI version, choose the root of the GLFW source tree as source location and the same directory or another, empty directory as the destination for binaries. Choose Configure, change any options you wish to, Configure again to let the changes take effect and then Generate.

    +

    Once you have generated the project files or makefiles for your chosen development environment, move on to Compiling the library.

    +

    +Compiling the library

    +

    You should now have all required dependencies and the project files or makefiles necessary to compile GLFW. Go ahead and compile the actual GLFW library with these files, as you would with any other project.

    +

    Once the GLFW library is compiled, you are ready to build your applications, linking it to the GLFW library. See Building applications for more information.

    +

    +CMake options

    +

    The CMake files for GLFW provide a number of options, although not all are available on all supported platforms. Some of these are de facto standards among projects using CMake and so have no GLFW_ prefix.

    +

    If you are using the GUI version of CMake, these are listed and can be changed from there. If you are using the command-line version of CMake you can use the ccmake ncurses GUI to set options. Some package systems like Ubuntu and other distributions based on Debian GNU/Linux have this tool in a separate cmake-curses-gui package.

    +

    Finally, if you don't want to use any GUI, you can set options from the cmake command-line with the -D flag.

    +
    cmake -DBUILD_SHARED_LIBS=ON .

    +Shared CMake options

    +

    BUILD_SHARED_LIBS determines whether GLFW is built as a static library or as a DLL / shared library / dynamic library.

    +

    LIB_SUFFIX affects where the GLFW shared /dynamic library is installed. If it is empty, it is installed to ${CMAKE_INSTALL_PREFIX}/lib. If it is set to 64, it is installed to ${CMAKE_INSTALL_PREFIX}/lib64.

    +

    GLFW_BUILD_EXAMPLES determines whether the GLFW examples are built along with the library.

    +

    GLFW_BUILD_TESTS determines whether the GLFW test programs are built along with the library.

    +

    GLFW_BUILD_DOCS determines whether the GLFW documentation is built along with the library.

    +

    GLFW_VULKAN_STATIC determines whether to use the Vulkan loader linked statically into the application.

    +

    +OS X specific CMake options

    +

    GLFW_USE_CHDIR determines whether glfwInit changes the current directory of bundled applications to the Contents/Resources directory.

    +

    GLFW_USE_MENUBAR determines whether the first call to glfwCreateWindow sets up a minimal menu bar.

    +

    GLFW_USE_RETINA determines whether windows will use the full resolution of Retina displays.

    +

    +Windows specific CMake options

    +

    USE_MSVC_RUNTIME_LIBRARY_DLL determines whether to use the DLL version or the static library version of the Visual C++ runtime library. If set to ON, the DLL version of the Visual C++ library is used.

    +

    GLFW_USE_HYBRID_HPG determines whether to export the NvOptimusEnablement and AmdPowerXpressRequestHighPerformance symbols, which force the use of the high-performance GPU on Nvidia Optimus and AMD PowerXpress systems. These symbols need to be exported by the EXE to be detected by the driver, so the override will not work if GLFW is built as a DLL.

    +

    +Compiling GLFW manually

    +

    If you wish to compile GLFW without its CMake build environment then you will have to do at least some of the platform detection yourself. GLFW needs a configuration macro to be defined in order to know what window system it's being compiled for and also has optional, platform-specific ones for various features.

    +

    When building with CMake, the glfw_config.h configuration header is generated based on the current platform and CMake options. The GLFW CMake environment defines _GLFW_USE_CONFIG_H, which causes this header to be included by internal.h. Without this macro, GLFW will expect the necessary configuration macros to be defined on the command-line.

    +

    The window creation API is used to create windows, handle input, monitors, gamma ramps and clipboard. The options are:

    +
      +
    • _GLFW_COCOA to use the Cocoa frameworks
    • +
    • _GLFW_WIN32 to use the Win32 API
    • +
    • _GLFW_X11 to use the X Window System
    • +
    • _GLFW_WAYLAND to use the Wayland API (experimental and incomplete)
    • +
    • _GLFW_MIR to use the Mir API (experimental and incomplete)
    • +
    +

    If you are building GLFW as a shared library / dynamic library / DLL then you must also define _GLFW_BUILD_DLL. Otherwise, you must not define it.

    +

    If you are linking the Vulkan loader statically into your application then you must also define _GLFW_VULKAN_STATIC. Otherwise, GLFW will attempt to use the external version.

    +

    For the EGL context creation API, the following options are available:

    +
      +
    • _GLFW_USE_EGLPLATFORM_H to use EGL/eglplatform.h for native handle definitions (fallback)
    • +
    +

    If you are using the X11 window creation API, support for the following X11 extensions can be enabled:

    +
      +
    • _GLFW_HAS_XF86VM to use Xxf86vm as a fallback when RandR gamma is broken (recommended)
    • +
    +

    If you are using the Cocoa window creation API, the following options are available:

    +
      +
    • _GLFW_USE_CHDIR to chdir to the Resources subdirectory of the application bundle during glfwInit (recommended)
    • +
    • _GLFW_USE_MENUBAR to create and populate the menu bar when the first window is created (recommended)
    • +
    • _GLFW_USE_RETINA to have windows use the full resolution of Retina displays (recommended)
    • +
    +
    Note
    None of the GLFW header option macros may be defined during the compilation of GLFW. If you define any of these in your build files, make sure they are not applied to the GLFW sources.
    +
    + + + diff --git a/docs/3.2/context.html b/docs/3.2/context.html new file mode 120000 index 0000000..e4f5d8e --- /dev/null +++ b/docs/3.2/context.html @@ -0,0 +1 @@ +context_guide.html \ No newline at end of file diff --git a/docs/3.2/context_8dox.html b/docs/3.2/context_8dox.html new file mode 100644 index 0000000..d28db5a --- /dev/null +++ b/docs/3.2/context_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: context.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    context.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.2/context_guide.html b/docs/3.2/context_guide.html new file mode 100644 index 0000000..98ae7a8 --- /dev/null +++ b/docs/3.2/context_guide.html @@ -0,0 +1,178 @@ + + + + + + +GLFW: Context guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Context guide
    +
    +
    + +

    This guide introduces the OpenGL and OpenGL ES context related functions of GLFW. For details on a specific function in this category, see the Context reference. There are also guides for the other areas of the GLFW API.

    + +

    +Context objects

    +

    A window object encapsulates both a top-level window and an OpenGL or OpenGL ES context. It is created with glfwCreateWindow and destroyed with glfwDestroyWindow or glfwTerminate. See Window creation for more information.

    +

    As the window and context are inseparably linked, the window object also serves as the context handle.

    +

    To test the creation of various kinds of contexts and see their properties, run the glfwinfo test program.

    +
    Note
    Vulkan does not have a context and the Vulkan instance is created via the Vulkan API itself. If you will be using Vulkan to render to a window, disable context creation by setting the GLFW_CLIENT_API hint to GLFW_NO_API. For more information, see the Vulkan guide.
    +

    +Context creation hints

    +

    There are a number of hints, specified using glfwWindowHint, related to what kind of context is created. See context related hints in the window guide.

    +

    +Context object sharing

    +

    When creating a window and its OpenGL or OpenGL ES context with glfwCreateWindow, you can specify another window whose context the new one should share its objects (textures, vertex and element buffers, etc.) with.

    +
    GLFWwindow* second_window = glfwCreateWindow(640, 480, "Second Window", NULL, first_window);

    Object sharing is implemented by the operating system and graphics driver. On platforms where it is possible to choose which types of objects are shared, GLFW requests that all types are shared.

    +

    See the relevant chapter of the OpenGL or OpenGL ES reference documents for more information. The name and number of this chapter unfortunately varies between versions and APIs, but has at times been named Shared Objects and Multiple Contexts.

    +

    GLFW comes with a simple object sharing test program called sharing.

    +

    +Offscreen contexts

    +

    GLFW doesn't support creating contexts without an associated window. However, contexts with hidden windows can be created with the GLFW_VISIBLE window hint.

    +
    GLFWwindow* offscreen_context = glfwCreateWindow(640, 480, "", NULL, NULL);

    The window never needs to be shown and its context can be used as a plain offscreen context. Depending on the window manager, the size of a hidden window's framebuffer may not be usable or modifiable, so framebuffer objects are recommended for rendering with such contexts.

    +

    You should still process events as long as you have at least one window, even if none of them are visible.

    +

    OS X: The first time a window is created the menu bar is populated with common commands like Hide, Quit and About. This is not desirable for example when writing a command-line only application. The menu bar setup can be disabled with a compile-time option.

    +

    +Windows without contexts

    +

    You can disable context creation by setting the GLFW_CLIENT_API hint to GLFW_NO_API. Windows without contexts must not be passed to glfwMakeContextCurrent or glfwSwapBuffers.

    +

    +Current context

    +

    Before you can make OpenGL or OpenGL ES calls, you need to have a current context of the correct type. A context can only be current for a single thread at a time, and a thread can only have a single context current at a time.

    +

    The context of a window is made current with glfwMakeContextCurrent.

    +

    The window of the current context is returned by glfwGetCurrentContext.

    +

    The following GLFW functions require a context to be current. Calling any these functions without a current context will generate a GLFW_NO_CURRENT_CONTEXT error.

    + +

    +Buffer swapping

    +

    Buffer swapping is part of the window and framebuffer, not the context. See Buffer swapping.

    +

    +OpenGL and OpenGL ES extensions

    +

    One of the benefits of OpenGL and OpenGL ES is their extensibility. Hardware vendors may include extensions in their implementations that extend the API before that functionality is included in a new version of the OpenGL or OpenGL ES specification, and some extensions are never included and remain as extensions until they become obsolete.

    +

    An extension is defined by:

    +
      +
    • An extension name (e.g. GL_ARB_debug_output)
    • +
    • New OpenGL tokens (e.g. GL_DEBUG_SEVERITY_HIGH_ARB)
    • +
    • New OpenGL functions (e.g. glGetDebugMessageLogARB)
    • +
    +

    Note the ARB affix, which stands for Architecture Review Board and is used for official extensions. The extension above was created by the ARB, but there are many different affixes, like NV for Nvidia and AMD for, well, AMD. Any group may also use the generic EXT affix. Lists of extensions, together with their specifications, can be found at the OpenGL Registry and OpenGL ES Registry.

    +

    +Loading extension with a loader library

    +

    An extension loader library is the easiest and best way to access both OpenGL and OpenGL ES extensions and modern versions of the core OpenGL or OpenGL ES APIs. They will take care of all the details of declaring and loading everything you need. One such library is glad and there are several others.
    + The following example will use glad but all extension loader libraries work similarly.

    +

    First you need to generate the source files using the glad Python script. This example generates a loader for any version of OpenGL, which is the default for both GLFW and glad, but loaders for OpenGL ES, as well as loaders for specific API versions and extension sets can be generated. The generated files are written to the output directory.

    +
    python main.py --generator c --no-loader --out-path output

    The --no-loader option is added because GLFW already provides a function for loading OpenGL and OpenGL ES function pointers, one that automatically uses the selected context creation API, and glad can call this instead of having to implement its own. There are several other command-line options as well. See the glad documentation for details.

    +

    Add the generated output/src/glad.c, output/include/glad/glad.h and output/include/KHR/khrplatform.h files to your build. Then you need to include the glad header file, which will replace the OpenGL header of your development environment. By including the glad header before the GLFW header, it suppresses the development environment's OpenGL or OpenGL ES header.

    +
    #include <glad/glad.h>
    #include <GLFW/glfw3.h>

    Finally you need to initialize glad once you have a suitable current context.

    +
    window = glfwCreateWindow(640, 480, "My Window", NULL, NULL);
    if (!window)
    {
    ...
    }
    gladLoadGLLoader((GLADloadproc) glfwGetProcAddress);

    Once glad has been loaded, you have access to all OpenGL core and extension functions supported by both the context you created and the glad loader you generated and you are ready to start rendering.

    +

    You can specify a minimum required OpenGL or OpenGL ES version with context hints. If your needs are more complex, you can check the actual OpenGL or OpenGL ES version with context attributes, or you can check whether a specific version is supported by the current context with the GLAD_GL_VERSION_x_x booleans.

    +
    if (GLAD_GL_VERSION_3_2)
    {
    // Call OpenGL 3.2+ specific code
    }

    To check whether a specific extension is supported, use the GLAD_GL_xxx booleans.

    +
    if (GLAD_GL_ARB_debug_output)
    {
    // Use GL_ARB_debug_output
    }

    +Loading extensions manually

    +

    Do not use this technique unless it is absolutely necessary. An extension loader library will save you a ton of tedious, repetitive, error prone work.

    +

    To use a certain extension, you must first check whether the context supports that extension and then, if it introduces new functions, retrieve the pointers to those functions. GLFW provides glfwExtensionSupported and glfwGetProcAddress for manual loading of extensions and new API functions.

    +

    This section will demonstrate manual loading of OpenGL extensions. The loading of OpenGL ES extensions is identical except for the name of the extension header.

    +

    +The glext.h header

    +

    The glext.h extension header is a continually updated file that defines the interfaces for all OpenGL extensions. The latest version of this can always be found at the OpenGL Registry. There are also extension headers for the various versions of OpenGL ES at the OpenGL ES Registry. It it strongly recommended that you use your own copy of the extension header, as the one included in your development environment may be several years out of date and may not include the extensions you wish to use.

    +

    The header defines function pointer types for all functions of all extensions it supports. These have names like PFNGLGETDEBUGMESSAGELOGARBPROC (for glGetDebugMessageLogARB), i.e. the name is made uppercase and PFN (pointer to function) and PROC (procedure) are added to the ends.

    +

    To include the extension header, define GLFW_INCLUDE_GLEXT before including the GLFW header.

    +
    #define GLFW_INCLUDE_GLEXT
    #include <GLFW/glfw3.h>

    +Checking for extensions

    +

    A given machine may not actually support the extension (it may have older drivers or a graphics card that lacks the necessary hardware features), so it is necessary to check at run-time whether the context supports the extension. This is done with glfwExtensionSupported.

    +
    if (glfwExtensionSupported("GL_ARB_debug_output"))
    {
    // The extension is supported by the current context
    }

    The argument is a null terminated ASCII string with the extension name. If the extension is supported, glfwExtensionSupported returns GLFW_TRUE, otherwise it returns GLFW_FALSE.

    +

    +Fetching function pointers

    +

    Many extensions, though not all, require the use of new OpenGL functions. These functions often do not have entry points in the client API libraries of your operating system, making it necessary to fetch them at run time. You can retrieve pointers to these functions with glfwGetProcAddress.

    +
    PFNGLGETDEBUGMESSAGELOGARBPROC pfnGetDebugMessageLog = glfwGetProcAddress("glGetDebugMessageLogARB");

    In general, you should avoid giving the function pointer variables the (exact) same name as the function, as this may confuse your linker. Instead, you can use a different prefix, like above, or some other naming scheme.

    +

    Now that all the pieces have been introduced, here is what they might look like when used together.

    +
    #define GLFW_INCLUDE_GLEXT
    #include <GLFW/glfw3.h>
    #define glGetDebugMessageLogARB pfnGetDebugMessageLog
    PFNGLGETDEBUGMESSAGELOGARBPROC pfnGetDebugMessageLog;
    // Flag indicating whether the extension is supported
    int has_ARB_debug_output = 0;
    void load_extensions(void)
    {
    if (glfwExtensionSupported("GL_ARB_debug_output"))
    {
    pfnGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGARBPROC)
    glfwGetProcAddress("glGetDebugMessageLogARB");
    has_ARB_debug_output = 1;
    }
    }
    void some_function(void)
    {
    if (has_ARB_debug_output)
    {
    // Now the extension function can be called as usual
    glGetDebugMessageLogARB(...);
    }
    }
    + + + diff --git a/docs/3.2/dir_7d046523570a4bf058ddf3b10b545b6c.html b/docs/3.2/dir_7d046523570a4bf058ddf3b10b545b6c.html new file mode 100644 index 0000000..c85825a --- /dev/null +++ b/docs/3.2/dir_7d046523570a4bf058ddf3b10b545b6c.html @@ -0,0 +1,87 @@ + + + + + + +GLFW: GLFW Directory Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    GLFW Directory Reference
    +
    +
    + + + + + + + + +

    +Files

    file  glfw3.h [code]
     The header of the GLFW 3 API.
     
    file  glfw3native.h [code]
     The header of the native access functions.
     
    +
    + + + diff --git a/docs/3.2/dir_d44c64559bbebec7f509842c48db8b23.html b/docs/3.2/dir_d44c64559bbebec7f509842c48db8b23.html new file mode 100644 index 0000000..2d8ffba --- /dev/null +++ b/docs/3.2/dir_d44c64559bbebec7f509842c48db8b23.html @@ -0,0 +1,83 @@ + + + + + + +GLFW: include Directory Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    include Directory Reference
    +
    +
    + + + + +

    +Directories

    directory  GLFW
     
    +
    + + + diff --git a/docs/3.2/doc.png b/docs/3.2/doc.png new file mode 100644 index 0000000000000000000000000000000000000000..17edabff95f7b8da13c9516a04efe05493c29501 GIT binary patch literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t literal 0 HcmV?d00001 diff --git a/docs/3.2/doxygen.css b/docs/3.2/doxygen.css new file mode 100644 index 0000000..266c8b3 --- /dev/null +++ b/docs/3.2/doxygen.css @@ -0,0 +1,1596 @@ +/* The standard CSS for doxygen 1.8.14 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +p.reference, p.definition { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #ffffff; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 0px; + margin: 4px 8px 4px 2px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line:after { + content:"\000A"; + white-space: pre; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +.lineno { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +div.ah, span.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtitle { + padding: 8px; + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + border-top-right-radius: 4px; + border-top-left-radius: 4px; + margin-bottom: -1px; + background-image: url('nav_f.png'); + background-repeat: repeat-x; + background-color: #E2E8F2; + line-height: 1.25; + font-weight: 300; + float:left; +} + +.permalink +{ + font-size: 65%; + display: inline-block; + vertical-align: middle; +} + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: 400; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-color: #DFE5F1; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + +} + +.overload { + font-family: "courier new",courier,monospace; + font-size: 65%; +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #9CAFD4; + border-bottom: 1px solid #9CAFD4; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +.arrow { + color: #9CAFD4; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: Arial, Helvetica; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: #728DC1; + color: white; + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderopen.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderclosed.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('doc.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +table.directory { + font: 400 14px Roboto,sans-serif; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable caption { + caption-side: top; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + font-weight: 400; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +table.classindex +{ + margin: 10px; + white-space: nowrap; + margin-left: 3%; + margin-right: 3%; + width: 94%; + border: 0; + border-spacing: 0; + padding: 0; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +dl +{ + padding: 0 0 0 10px; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ +dl.section +{ + margin-left: 0px; + padding-left: 0px; +} + +dl.note +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00D000; +} + +dl.deprecated +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #505050; +} + +dl.todo +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00C0E0; +} + +dl.test +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #3030E0; +} + +dl.bug +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectalign +{ + vertical-align: middle; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.plantumlgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 8px 10px 10px; + width: 200px; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + white-space: nowrap; + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + +/* @group Markdown */ + +/* +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTableHead tr { +} + +table.markdownTableBodyLeft td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft { + text-align: left +} + +th.markdownTableHeadRight { + text-align: right +} + +th.markdownTableHeadCenter { + text-align: center +} +*/ + +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTable tr { +} + +th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft, td.markdownTableBodyLeft { + text-align: left +} + +th.markdownTableHeadRight, td.markdownTableBodyRight { + text-align: right +} + +th.markdownTableHeadCenter, td.markdownTableBodyCenter { + text-align: center +} + + +/* @end */ diff --git a/docs/3.2/doxygen.png b/docs/3.2/doxygen.png new file mode 100644 index 0000000000000000000000000000000000000000..3ff17d807fd8aa003bed8bb2a69e8f0909592fd1 GIT binary patch literal 3779 zcmV;!4m|ORP)tMIv#Q0*~7*`IBSO7_x;@a8#Zk6_PeKR_s92J&)(m+);m9Iz3blw)z#Gi zP!9lj4$%+*>Hz@HCmM9L9|8c+0u=!H$O3?R0Kgx|#WP<6fKfC8fM-CQZT|_r@`>VO zX^Hgb|9cJqpdJA5$MCEK`F_2@2Y@s>^+;pF`~jdI0Pvr|vl4`=C)EH@1IFe7pdJ8F zH(qGi004~QnF)Ggga~8v08kGAs2hKTATxr7pwfNk|4#_AaT>w8P6TV+R2kbS$v==} zAjf`s0g#V8lB+b3)5oEI*q+{Yt$MZDruD2^;$+(_%Qn+%v0X-bJO=;@kiJ^ygLBnC z?1OVv_%aex1M@jKU|Z~$eI?PoF4Vj>fDzyo zAiLfpXY*a^Sj-S5D0S3@#V$sRW)g)_1e#$%8xdM>Jm7?!h zu0P2X=xoN>^!4DoPRgph2(2va07yfpXF+WH7EOg1GY%Zn z7~1A<(z7Q$ktEXhW_?GMpHp9l_UL18F3KOsxu81pqoBiNbFSGsof-W z6~eloMoz=4?OOnl2J268x5rOY`dCk0us(uS#Ud4yqOr@?=Q57a}tit|BhY>}~frH1sP`ScHS_d)oqH^lYy zZ%VP`#10MlE~P?cE(%(#(AUSv_T{+;t@$U}El}(1ig`vZo`Rm;+5&(AYzJ^Ae=h2X z@Re%vHwZU>|f0NI&%$*4eJweC5OROQrpPMA@*w|o z()A==l}(@bv^&>H1Ob3C=<^|hob?0+xJ?QQ3-ueQC}zy&JQNib!OqSO@-=>XzxlSF zAZ^U*1l6EEmg3r};_HY>&Jo_{dOPEFTWPmt=U&F#+0(O59^UIlHbNX+eF8UzyDR*T z(=5X$VF3!gm@RooS-&iiUYGG^`hMR(07zr_xP`d!^BH?uD>Phl8Rdifx3Af^Zr`Ku ztL+~HkVeL#bJ)7;`=>;{KNRvjmc}1}c58Sr#Treq=4{xo!ATy|c>iRSp4`dzMMVd@ zL8?uwXDY}Wqgh4mH`|$BTXpUIu6A1-cSq%hJw;@^Zr8TP=GMh*p(m(tN7@!^D~sl$ zz^tf4II4|};+irE$Fnm4NTc5%p{PRA`%}Zk`CE5?#h3|xcyQsS#iONZ z6H(@^i9td!$z~bZiJLTax$o>r(p}3o@< zyD7%(>ZYvy=6$U3e!F{Z`uSaYy`xQyl?b{}eg|G3&fz*`QH@mDUn)1%#5u`0m$%D} z?;tZ0u(mWeMV0QtzjgN!lT*pNRj;6510Wwx?Yi_=tYw|J#7@(Xe7ifDzXuK;JB;QO z#bg~K$cgm$@{QiL_3yr}y&~wuv=P=#O&Tj=Sr)aCUlYmZMcw?)T?c%0rUe1cS+o!qs_ zQ6Gp)-{)V!;=q}llyK3|^WeLKyjf%y;xHku;9(vM!j|~<7w1c*Mk-;P{T&yG) z@C-8E?QPynNQ<8f01D`2qexcVEIOU?y}MG)TAE6&VT5`rK8s(4PE;uQ92LTXUQ<>^ ztyQ@=@kRdh@ebUG^Z6NWWIL;_IGJ2ST>$t!$m$qvtj0Qmw8moN6GUV^!QKNK zHBXCtUH8)RY9++gH_TUV4^=-j$t}dD3qsN7GclJ^Zc&(j6&a_!$jCf}%c5ey`pm~1)@{yI3 zTdWyB+*X{JFw#z;PwRr5evb2!ueWF;v`B0HoUu4-(~aL=z;OXUUEtG`_$)Oxw6FKg zEzY`CyKaSBK3xt#8gA|r_|Kehn_HYVBMpEwbn9-fI*!u*eTA1ef8Mkl1=!jV4oYwWYM}i`A>_F4nhmlCIC6WLa zY%;4&@AlnaG11ejl61Jev21|r*m+?Kru3;1tFDl}#!OzUp6c>go4{C|^erwpG*&h6bspUPJag}oOkN2912Y3I?(eRc@U9>z#HPBHC?nps7H5!zP``90!Q1n80jo+B3TWXp!8Pe zwuKuLLI6l3Gv@+QH*Y}2wPLPQ1^EZhT#+Ed8q8Wo z1pTmIBxv14-{l&QVKxAyQF#8Q@NeJwWdKk>?cpiJLkJr+aZ!Me+Cfp!?FWSRf^j2k z73BRR{WSKaMkJ>1Nbx5dan5hg^_}O{Tj6u%iV%#QGz0Q@j{R^Ik)Z*+(YvY2ziBG)?AmJa|JV%4UT$k`hcOg5r9R?5>?o~JzK zJCrj&{i#hG>N7!B4kNX(%igb%kDj0fOQThC-8mtfap82PNRXr1D>lbgg)dYTQ(kbx z`Ee5kXG~Bh+BHQBf|kJEy6(ga%WfhvdQNDuOfQoe377l#ht&DrMGeIsI5C<&ai zWG$|hop2@@q5YDa)_-A?B02W;#fH!%k`daQLEItaJJ8Yf1L%8x;kg?)k)00P-lH+w z)5$QNV6r2$YtnV(4o=0^3{kmaXn*Dm0F*fU(@o)yVVjk|ln8ea6BMy%vZAhW9|wvA z8RoDkVoMEz1d>|5(k0Nw>22ZT){V<3$^C-cN+|~hKt2)){+l-?3m@-$c?-dlzQ)q- zZ)j%n^gerV{|+t}9m1_&&Ly!9$rtG4XX|WQ8`xYzGC~U@nYh~g(z9)bdAl#xH)xd5a=@|qql z|FzEil{P5(@gy!4ek05i$>`E^G~{;pnf6ftpLh$h#W?^#4UkPfa;;?bsIe&kz!+40 zI|6`F2n020)-r`pFaZ38F!S-lJM-o&inOw|66=GMeP@xQU5ghQH{~5Uh~TMTd;I9` z>YhVB`e^EVj*S7JF39ZgNf}A-0DwOcTT63ydN$I3b?yBQtUI*_fae~kPvzoD$zjX3 zoqBe#>12im4WzZ=f^4+u=!lA|#r%1`WB0-6*3BL#at`47#ebPpR|D1b)3BjT34nYY z%Ds%d?5$|{LgOIaRO{{oC&RK`O91$fqwM0(C_TALcozu*fWHb%%q&p-q{_8*2Zsi^ zh1ZCnr^UYa;4vQEtHk{~zi>wwMC5o{S=$P0X681y`SXwFH?Ewn{x-MOZynmc)JT5v zuHLwh;tLfxRrr%|k370}GofLl7thg>ACWWY&msqaVu&ry+`7+Ss>NL^%T1|z{IGMA zW-SKl=V-^{(f!Kf^#3(|T2W47d(%JVCI4JgRrT1pNz>+ietmFToNv^`gzC@&O-)+i zPQ~RwK8%C_vf%;%e>NyTp~dM5;!C|N0Q^6|CEb7Bw=Vz~$1#FA;Z*?mKSC)Hl-20s t8QyHj(g6VK0RYbl8UjE)0O0w=e*@m04r>stuEhWV002ovPDHLkV1hl;dM*F} literal 0 HcmV?d00001 diff --git a/docs/3.2/dynsections.js b/docs/3.2/dynsections.js new file mode 100644 index 0000000..c1ce122 --- /dev/null +++ b/docs/3.2/dynsections.js @@ -0,0 +1,120 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} + +function toggleLevel(level) +{ + $('table.directory tr').each(function() { + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (l + + + + + +GLFW: Files + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Files
    +
    +
    +
    Here is a list of all files with brief descriptions:
    + + + +
     glfw3.hThe header of the GLFW 3 API
     glfw3native.hThe header of the native access functions
    +
    +
    + + + diff --git a/docs/3.2/folderclosed.png b/docs/3.2/folderclosed.png new file mode 100644 index 0000000000000000000000000000000000000000..bb8ab35edce8e97554e360005ee9fc5bffb36e66 GIT binary patch literal 616 zcmV-u0+;=XP)a9#ETzayK)T~Jw&MMH>OIr#&;dC}is*2Mqdf&akCc=O@`qC+4i z5Iu3w#1M@KqXCz8TIZd1wli&kkl2HVcAiZ8PUn5z_kG@-y;?yK06=cA0U%H0PH+kU zl6dp}OR(|r8-RG+YLu`zbI}5TlOU6ToR41{9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6` zBLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XUdOZN~c=dLt_h_k!dbxm_*ibDM zlFX`g{k$X}yIe%$N)cn1LNu=q9_CS)*>A zsX_mM4L@`(cSNQKMFc$RtYbx{79#j-J7hk*>*+ZZhM4Hw?I?rsXCi#mRWJ=-0LGV5a-WR0Qgt<|Nqf)C-@80`5gIz45^_20000IqP)X=#(TiCT&PiIIVc55T}TU}EUh*{q$|`3@{d>{Tc9Bo>e= zfmF3!f>fbI9#GoEHh0f`i5)wkLpva0ztf%HpZneK?w-7AK@b4Itw{y|Zd3k!fH?q2 zlhckHd_V2M_X7+)U&_Xcfvtw60l;--DgZmLSw-Y?S>)zIqMyJ1#FwLU*%bl38ok+! zh78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5jDplgxd44}9;IRqUH1YHH|@6oFe%z( zo4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=|)Rz|V`sGfHNrJ)0gJb8xx+SBmRf@1l zvuzt=vGfI)<-F9!o&3l?>9~0QbUDT(wFdnQPv%xdD)m*g%!20>Bc9iYmGAp<9YAa( z0QgYgTWqf1qN++Gqp z8@AYPTB3E|6s=WLG?xw0tm|U!o=&zd+H0oRYE;Dbx+Na9s^STqX|Gnq%H8s(nGDGJ j8vwW|`Ts`)fSK|Kx=IK@RG@g200000NkvXXu0mjfauFEA literal 0 HcmV?d00001 diff --git a/docs/3.2/glfw3_8h.html b/docs/3.2/glfw3_8h.html new file mode 100644 index 0000000..cb3f7b2 --- /dev/null +++ b/docs/3.2/glfw3_8h.html @@ -0,0 +1,1843 @@ + + + + + + +GLFW: glfw3.h File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    + +
    +
    glfw3.h File Reference
    +
    +
    +

    Description

    +

    This is the header file of the GLFW 3 API. It defines all its types and declares all its functions.

    +

    For more information about how to use this file, see Including the GLFW header file.

    +
    +

    Go to the source code of this file.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_KEY_UNKNOWN   -1
     
    #define GLFW_KEY_SPACE   32
     
    #define GLFW_KEY_APOSTROPHE   39 /* ' */
     
    #define GLFW_KEY_COMMA   44 /* , */
     
    #define GLFW_KEY_MINUS   45 /* - */
     
    #define GLFW_KEY_PERIOD   46 /* . */
     
    #define GLFW_KEY_SLASH   47 /* / */
     
    #define GLFW_KEY_0   48
     
    #define GLFW_KEY_1   49
     
    #define GLFW_KEY_2   50
     
    #define GLFW_KEY_3   51
     
    #define GLFW_KEY_4   52
     
    #define GLFW_KEY_5   53
     
    #define GLFW_KEY_6   54
     
    #define GLFW_KEY_7   55
     
    #define GLFW_KEY_8   56
     
    #define GLFW_KEY_9   57
     
    #define GLFW_KEY_SEMICOLON   59 /* ; */
     
    #define GLFW_KEY_EQUAL   61 /* = */
     
    #define GLFW_KEY_A   65
     
    #define GLFW_KEY_B   66
     
    #define GLFW_KEY_C   67
     
    #define GLFW_KEY_D   68
     
    #define GLFW_KEY_E   69
     
    #define GLFW_KEY_F   70
     
    #define GLFW_KEY_G   71
     
    #define GLFW_KEY_H   72
     
    #define GLFW_KEY_I   73
     
    #define GLFW_KEY_J   74
     
    #define GLFW_KEY_K   75
     
    #define GLFW_KEY_L   76
     
    #define GLFW_KEY_M   77
     
    #define GLFW_KEY_N   78
     
    #define GLFW_KEY_O   79
     
    #define GLFW_KEY_P   80
     
    #define GLFW_KEY_Q   81
     
    #define GLFW_KEY_R   82
     
    #define GLFW_KEY_S   83
     
    #define GLFW_KEY_T   84
     
    #define GLFW_KEY_U   85
     
    #define GLFW_KEY_V   86
     
    #define GLFW_KEY_W   87
     
    #define GLFW_KEY_X   88
     
    #define GLFW_KEY_Y   89
     
    #define GLFW_KEY_Z   90
     
    #define GLFW_KEY_LEFT_BRACKET   91 /* [ */
     
    #define GLFW_KEY_BACKSLASH   92 /* \ */
     
    #define GLFW_KEY_RIGHT_BRACKET   93 /* ] */
     
    #define GLFW_KEY_GRAVE_ACCENT   96 /* ` */
     
    #define GLFW_KEY_WORLD_1   161 /* non-US #1 */
     
    #define GLFW_KEY_WORLD_2   162 /* non-US #2 */
     
    #define GLFW_KEY_ESCAPE   256
     
    #define GLFW_KEY_ENTER   257
     
    #define GLFW_KEY_TAB   258
     
    #define GLFW_KEY_BACKSPACE   259
     
    #define GLFW_KEY_INSERT   260
     
    #define GLFW_KEY_DELETE   261
     
    #define GLFW_KEY_RIGHT   262
     
    #define GLFW_KEY_LEFT   263
     
    #define GLFW_KEY_DOWN   264
     
    #define GLFW_KEY_UP   265
     
    #define GLFW_KEY_PAGE_UP   266
     
    #define GLFW_KEY_PAGE_DOWN   267
     
    #define GLFW_KEY_HOME   268
     
    #define GLFW_KEY_END   269
     
    #define GLFW_KEY_CAPS_LOCK   280
     
    #define GLFW_KEY_SCROLL_LOCK   281
     
    #define GLFW_KEY_NUM_LOCK   282
     
    #define GLFW_KEY_PRINT_SCREEN   283
     
    #define GLFW_KEY_PAUSE   284
     
    #define GLFW_KEY_F1   290
     
    #define GLFW_KEY_F2   291
     
    #define GLFW_KEY_F3   292
     
    #define GLFW_KEY_F4   293
     
    #define GLFW_KEY_F5   294
     
    #define GLFW_KEY_F6   295
     
    #define GLFW_KEY_F7   296
     
    #define GLFW_KEY_F8   297
     
    #define GLFW_KEY_F9   298
     
    #define GLFW_KEY_F10   299
     
    #define GLFW_KEY_F11   300
     
    #define GLFW_KEY_F12   301
     
    #define GLFW_KEY_F13   302
     
    #define GLFW_KEY_F14   303
     
    #define GLFW_KEY_F15   304
     
    #define GLFW_KEY_F16   305
     
    #define GLFW_KEY_F17   306
     
    #define GLFW_KEY_F18   307
     
    #define GLFW_KEY_F19   308
     
    #define GLFW_KEY_F20   309
     
    #define GLFW_KEY_F21   310
     
    #define GLFW_KEY_F22   311
     
    #define GLFW_KEY_F23   312
     
    #define GLFW_KEY_F24   313
     
    #define GLFW_KEY_F25   314
     
    #define GLFW_KEY_KP_0   320
     
    #define GLFW_KEY_KP_1   321
     
    #define GLFW_KEY_KP_2   322
     
    #define GLFW_KEY_KP_3   323
     
    #define GLFW_KEY_KP_4   324
     
    #define GLFW_KEY_KP_5   325
     
    #define GLFW_KEY_KP_6   326
     
    #define GLFW_KEY_KP_7   327
     
    #define GLFW_KEY_KP_8   328
     
    #define GLFW_KEY_KP_9   329
     
    #define GLFW_KEY_KP_DECIMAL   330
     
    #define GLFW_KEY_KP_DIVIDE   331
     
    #define GLFW_KEY_KP_MULTIPLY   332
     
    #define GLFW_KEY_KP_SUBTRACT   333
     
    #define GLFW_KEY_KP_ADD   334
     
    #define GLFW_KEY_KP_ENTER   335
     
    #define GLFW_KEY_KP_EQUAL   336
     
    #define GLFW_KEY_LEFT_SHIFT   340
     
    #define GLFW_KEY_LEFT_CONTROL   341
     
    #define GLFW_KEY_LEFT_ALT   342
     
    #define GLFW_KEY_LEFT_SUPER   343
     
    #define GLFW_KEY_RIGHT_SHIFT   344
     
    #define GLFW_KEY_RIGHT_CONTROL   345
     
    #define GLFW_KEY_RIGHT_ALT   346
     
    #define GLFW_KEY_RIGHT_SUPER   347
     
    #define GLFW_KEY_MENU   348
     
    #define GLFW_KEY_LAST   GLFW_KEY_MENU
     
    #define GLFW_MOD_SHIFT   0x0001
     If this bit is set one or more Shift keys were held down. More...
     
    #define GLFW_MOD_CONTROL   0x0002
     If this bit is set one or more Control keys were held down. More...
     
    #define GLFW_MOD_ALT   0x0004
     If this bit is set one or more Alt keys were held down. More...
     
    #define GLFW_MOD_SUPER   0x0008
     If this bit is set one or more Super keys were held down. More...
     
    #define GLFW_MOUSE_BUTTON_1   0
     
    #define GLFW_MOUSE_BUTTON_2   1
     
    #define GLFW_MOUSE_BUTTON_3   2
     
    #define GLFW_MOUSE_BUTTON_4   3
     
    #define GLFW_MOUSE_BUTTON_5   4
     
    #define GLFW_MOUSE_BUTTON_6   5
     
    #define GLFW_MOUSE_BUTTON_7   6
     
    #define GLFW_MOUSE_BUTTON_8   7
     
    #define GLFW_MOUSE_BUTTON_LAST   GLFW_MOUSE_BUTTON_8
     
    #define GLFW_MOUSE_BUTTON_LEFT   GLFW_MOUSE_BUTTON_1
     
    #define GLFW_MOUSE_BUTTON_RIGHT   GLFW_MOUSE_BUTTON_2
     
    #define GLFW_MOUSE_BUTTON_MIDDLE   GLFW_MOUSE_BUTTON_3
     
    #define GLFW_JOYSTICK_1   0
     
    #define GLFW_JOYSTICK_2   1
     
    #define GLFW_JOYSTICK_3   2
     
    #define GLFW_JOYSTICK_4   3
     
    #define GLFW_JOYSTICK_5   4
     
    #define GLFW_JOYSTICK_6   5
     
    #define GLFW_JOYSTICK_7   6
     
    #define GLFW_JOYSTICK_8   7
     
    #define GLFW_JOYSTICK_9   8
     
    #define GLFW_JOYSTICK_10   9
     
    #define GLFW_JOYSTICK_11   10
     
    #define GLFW_JOYSTICK_12   11
     
    #define GLFW_JOYSTICK_13   12
     
    #define GLFW_JOYSTICK_14   13
     
    #define GLFW_JOYSTICK_15   14
     
    #define GLFW_JOYSTICK_16   15
     
    #define GLFW_JOYSTICK_LAST   GLFW_JOYSTICK_16
     
    #define GLFW_NOT_INITIALIZED   0x00010001
     GLFW has not been initialized. More...
     
    #define GLFW_NO_CURRENT_CONTEXT   0x00010002
     No context is current for this thread. More...
     
    #define GLFW_INVALID_ENUM   0x00010003
     One of the arguments to the function was an invalid enum value. More...
     
    #define GLFW_INVALID_VALUE   0x00010004
     One of the arguments to the function was an invalid value. More...
     
    #define GLFW_OUT_OF_MEMORY   0x00010005
     A memory allocation failed. More...
     
    #define GLFW_API_UNAVAILABLE   0x00010006
     GLFW could not find support for the requested API on the system. More...
     
    #define GLFW_VERSION_UNAVAILABLE   0x00010007
     The requested OpenGL or OpenGL ES version is not available. More...
     
    #define GLFW_PLATFORM_ERROR   0x00010008
     A platform-specific error occurred that does not match any of the more specific categories. More...
     
    #define GLFW_FORMAT_UNAVAILABLE   0x00010009
     The requested format is not supported or available. More...
     
    #define GLFW_NO_WINDOW_CONTEXT   0x0001000A
     The specified window does not have an OpenGL or OpenGL ES context. More...
     
    #define GLFW_FOCUSED   0x00020001
     
    #define GLFW_ICONIFIED   0x00020002
     
    #define GLFW_RESIZABLE   0x00020003
     
    #define GLFW_VISIBLE   0x00020004
     
    #define GLFW_DECORATED   0x00020005
     
    #define GLFW_AUTO_ICONIFY   0x00020006
     
    #define GLFW_FLOATING   0x00020007
     
    #define GLFW_MAXIMIZED   0x00020008
     
    #define GLFW_RED_BITS   0x00021001
     
    #define GLFW_GREEN_BITS   0x00021002
     
    #define GLFW_BLUE_BITS   0x00021003
     
    #define GLFW_ALPHA_BITS   0x00021004
     
    #define GLFW_DEPTH_BITS   0x00021005
     
    #define GLFW_STENCIL_BITS   0x00021006
     
    #define GLFW_ACCUM_RED_BITS   0x00021007
     
    #define GLFW_ACCUM_GREEN_BITS   0x00021008
     
    #define GLFW_ACCUM_BLUE_BITS   0x00021009
     
    #define GLFW_ACCUM_ALPHA_BITS   0x0002100A
     
    #define GLFW_AUX_BUFFERS   0x0002100B
     
    #define GLFW_STEREO   0x0002100C
     
    #define GLFW_SAMPLES   0x0002100D
     
    #define GLFW_SRGB_CAPABLE   0x0002100E
     
    #define GLFW_REFRESH_RATE   0x0002100F
     
    #define GLFW_DOUBLEBUFFER   0x00021010
     
    #define GLFW_CLIENT_API   0x00022001
     
    #define GLFW_CONTEXT_VERSION_MAJOR   0x00022002
     
    #define GLFW_CONTEXT_VERSION_MINOR   0x00022003
     
    #define GLFW_CONTEXT_REVISION   0x00022004
     
    #define GLFW_CONTEXT_ROBUSTNESS   0x00022005
     
    #define GLFW_OPENGL_FORWARD_COMPAT   0x00022006
     
    #define GLFW_OPENGL_DEBUG_CONTEXT   0x00022007
     
    #define GLFW_OPENGL_PROFILE   0x00022008
     
    #define GLFW_CONTEXT_RELEASE_BEHAVIOR   0x00022009
     
    #define GLFW_CONTEXT_NO_ERROR   0x0002200A
     
    #define GLFW_CONTEXT_CREATION_API   0x0002200B
     
    #define GLFW_NO_API   0
     
    #define GLFW_OPENGL_API   0x00030001
     
    #define GLFW_OPENGL_ES_API   0x00030002
     
    #define GLFW_NO_ROBUSTNESS   0
     
    #define GLFW_NO_RESET_NOTIFICATION   0x00031001
     
    #define GLFW_LOSE_CONTEXT_ON_RESET   0x00031002
     
    #define GLFW_OPENGL_ANY_PROFILE   0
     
    #define GLFW_OPENGL_CORE_PROFILE   0x00032001
     
    #define GLFW_OPENGL_COMPAT_PROFILE   0x00032002
     
    #define GLFW_CURSOR   0x00033001
     
    #define GLFW_STICKY_KEYS   0x00033002
     
    #define GLFW_STICKY_MOUSE_BUTTONS   0x00033003
     
    #define GLFW_CURSOR_NORMAL   0x00034001
     
    #define GLFW_CURSOR_HIDDEN   0x00034002
     
    #define GLFW_CURSOR_DISABLED   0x00034003
     
    #define GLFW_ANY_RELEASE_BEHAVIOR   0
     
    #define GLFW_RELEASE_BEHAVIOR_FLUSH   0x00035001
     
    #define GLFW_RELEASE_BEHAVIOR_NONE   0x00035002
     
    #define GLFW_NATIVE_CONTEXT_API   0x00036001
     
    #define GLFW_EGL_CONTEXT_API   0x00036002
     
    #define GLFW_ARROW_CURSOR   0x00036001
     The regular arrow cursor shape. More...
     
    #define GLFW_IBEAM_CURSOR   0x00036002
     The text input I-beam cursor shape. More...
     
    #define GLFW_CROSSHAIR_CURSOR   0x00036003
     The crosshair shape. More...
     
    #define GLFW_HAND_CURSOR   0x00036004
     The hand shape. More...
     
    #define GLFW_HRESIZE_CURSOR   0x00036005
     The horizontal resize arrow shape. More...
     
    #define GLFW_VRESIZE_CURSOR   0x00036006
     The vertical resize arrow shape. More...
     
    #define GLFW_CONNECTED   0x00040001
     
    #define GLFW_DISCONNECTED   0x00040002
     
    #define GLFW_DONT_CARE   -1
     
    GLFW version macros
    #define GLFW_VERSION_MAJOR   3
     The major version number of the GLFW library. More...
     
    #define GLFW_VERSION_MINOR   2
     The minor version number of the GLFW library. More...
     
    #define GLFW_VERSION_REVISION   1
     The revision number of the GLFW library. More...
     
    Boolean values
    #define GLFW_TRUE   1
     One. More...
     
    #define GLFW_FALSE   0
     Zero. More...
     
    Key and button actions
    #define GLFW_RELEASE   0
     The key or mouse button was released. More...
     
    #define GLFW_PRESS   1
     The key or mouse button was pressed. More...
     
    #define GLFW_REPEAT   2
     The key was held down until it repeated. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Typedefs

    typedef void(* GLFWglproc) (void)
     Client API function pointer type. More...
     
    typedef void(* GLFWvkproc) (void)
     Vulkan API function pointer type. More...
     
    typedef struct GLFWmonitor GLFWmonitor
     Opaque monitor object. More...
     
    typedef struct GLFWwindow GLFWwindow
     Opaque window object. More...
     
    typedef struct GLFWcursor GLFWcursor
     Opaque cursor object. More...
     
    typedef void(* GLFWerrorfun) (int, const char *)
     The function signature for error callbacks. More...
     
    typedef void(* GLFWwindowposfun) (GLFWwindow *, int, int)
     The function signature for window position callbacks. More...
     
    typedef void(* GLFWwindowsizefun) (GLFWwindow *, int, int)
     The function signature for window resize callbacks. More...
     
    typedef void(* GLFWwindowclosefun) (GLFWwindow *)
     The function signature for window close callbacks. More...
     
    typedef void(* GLFWwindowrefreshfun) (GLFWwindow *)
     The function signature for window content refresh callbacks. More...
     
    typedef void(* GLFWwindowfocusfun) (GLFWwindow *, int)
     The function signature for window focus/defocus callbacks. More...
     
    typedef void(* GLFWwindowiconifyfun) (GLFWwindow *, int)
     The function signature for window iconify/restore callbacks. More...
     
    typedef void(* GLFWframebuffersizefun) (GLFWwindow *, int, int)
     The function signature for framebuffer resize callbacks. More...
     
    typedef void(* GLFWmousebuttonfun) (GLFWwindow *, int, int, int)
     The function signature for mouse button callbacks. More...
     
    typedef void(* GLFWcursorposfun) (GLFWwindow *, double, double)
     The function signature for cursor position callbacks. More...
     
    typedef void(* GLFWcursorenterfun) (GLFWwindow *, int)
     The function signature for cursor enter/leave callbacks. More...
     
    typedef void(* GLFWscrollfun) (GLFWwindow *, double, double)
     The function signature for scroll callbacks. More...
     
    typedef void(* GLFWkeyfun) (GLFWwindow *, int, int, int, int)
     The function signature for keyboard key callbacks. More...
     
    typedef void(* GLFWcharfun) (GLFWwindow *, unsigned int)
     The function signature for Unicode character callbacks. More...
     
    typedef void(* GLFWcharmodsfun) (GLFWwindow *, unsigned int, int)
     The function signature for Unicode character with modifiers callbacks. More...
     
    typedef void(* GLFWdropfun) (GLFWwindow *, int, const char **)
     The function signature for file drop callbacks. More...
     
    typedef void(* GLFWmonitorfun) (GLFWmonitor *, int)
     The function signature for monitor configuration callbacks. More...
     
    typedef void(* GLFWjoystickfun) (int, int)
     The function signature for joystick configuration callbacks. More...
     
    typedef struct GLFWvidmode GLFWvidmode
     Video mode type. More...
     
    typedef struct GLFWgammaramp GLFWgammaramp
     Gamma ramp. More...
     
    typedef struct GLFWimage GLFWimage
     Image data. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    int glfwInit (void)
     Initializes the GLFW library. More...
     
    void glfwTerminate (void)
     Terminates the GLFW library. More...
     
    void glfwGetVersion (int *major, int *minor, int *rev)
     Retrieves the version of the GLFW library. More...
     
    const char * glfwGetVersionString (void)
     Returns a string describing the compile-time configuration. More...
     
    GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun cbfun)
     Sets the error callback. More...
     
    GLFWmonitor ** glfwGetMonitors (int *count)
     Returns the currently connected monitors. More...
     
    GLFWmonitorglfwGetPrimaryMonitor (void)
     Returns the primary monitor. More...
     
    void glfwGetMonitorPos (GLFWmonitor *monitor, int *xpos, int *ypos)
     Returns the position of the monitor's viewport on the virtual screen. More...
     
    void glfwGetMonitorPhysicalSize (GLFWmonitor *monitor, int *widthMM, int *heightMM)
     Returns the physical size of the monitor. More...
     
    const char * glfwGetMonitorName (GLFWmonitor *monitor)
     Returns the name of the specified monitor. More...
     
    GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun cbfun)
     Sets the monitor configuration callback. More...
     
    const GLFWvidmodeglfwGetVideoModes (GLFWmonitor *monitor, int *count)
     Returns the available video modes for the specified monitor. More...
     
    const GLFWvidmodeglfwGetVideoMode (GLFWmonitor *monitor)
     Returns the current mode of the specified monitor. More...
     
    void glfwSetGamma (GLFWmonitor *monitor, float gamma)
     Generates a gamma ramp and sets it for the specified monitor. More...
     
    const GLFWgammarampglfwGetGammaRamp (GLFWmonitor *monitor)
     Returns the current gamma ramp for the specified monitor. More...
     
    void glfwSetGammaRamp (GLFWmonitor *monitor, const GLFWgammaramp *ramp)
     Sets the current gamma ramp for the specified monitor. More...
     
    void glfwDefaultWindowHints (void)
     Resets all window hints to their default values. More...
     
    void glfwWindowHint (int hint, int value)
     Sets the specified window hint to the desired value. More...
     
    GLFWwindowglfwCreateWindow (int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
     Creates a window and its associated context. More...
     
    void glfwDestroyWindow (GLFWwindow *window)
     Destroys the specified window and its context. More...
     
    int glfwWindowShouldClose (GLFWwindow *window)
     Checks the close flag of the specified window. More...
     
    void glfwSetWindowShouldClose (GLFWwindow *window, int value)
     Sets the close flag of the specified window. More...
     
    void glfwSetWindowTitle (GLFWwindow *window, const char *title)
     Sets the title of the specified window. More...
     
    void glfwSetWindowIcon (GLFWwindow *window, int count, const GLFWimage *images)
     Sets the icon for the specified window. More...
     
    void glfwGetWindowPos (GLFWwindow *window, int *xpos, int *ypos)
     Retrieves the position of the client area of the specified window. More...
     
    void glfwSetWindowPos (GLFWwindow *window, int xpos, int ypos)
     Sets the position of the client area of the specified window. More...
     
    void glfwGetWindowSize (GLFWwindow *window, int *width, int *height)
     Retrieves the size of the client area of the specified window. More...
     
    void glfwSetWindowSizeLimits (GLFWwindow *window, int minwidth, int minheight, int maxwidth, int maxheight)
     Sets the size limits of the specified window. More...
     
    void glfwSetWindowAspectRatio (GLFWwindow *window, int numer, int denom)
     Sets the aspect ratio of the specified window. More...
     
    void glfwSetWindowSize (GLFWwindow *window, int width, int height)
     Sets the size of the client area of the specified window. More...
     
    void glfwGetFramebufferSize (GLFWwindow *window, int *width, int *height)
     Retrieves the size of the framebuffer of the specified window. More...
     
    void glfwGetWindowFrameSize (GLFWwindow *window, int *left, int *top, int *right, int *bottom)
     Retrieves the size of the frame of the window. More...
     
    void glfwIconifyWindow (GLFWwindow *window)
     Iconifies the specified window. More...
     
    void glfwRestoreWindow (GLFWwindow *window)
     Restores the specified window. More...
     
    void glfwMaximizeWindow (GLFWwindow *window)
     Maximizes the specified window. More...
     
    void glfwShowWindow (GLFWwindow *window)
     Makes the specified window visible. More...
     
    void glfwHideWindow (GLFWwindow *window)
     Hides the specified window. More...
     
    void glfwFocusWindow (GLFWwindow *window)
     Brings the specified window to front and sets input focus. More...
     
    GLFWmonitorglfwGetWindowMonitor (GLFWwindow *window)
     Returns the monitor that the window uses for full screen mode. More...
     
    void glfwSetWindowMonitor (GLFWwindow *window, GLFWmonitor *monitor, int xpos, int ypos, int width, int height, int refreshRate)
     Sets the mode, monitor, video mode and placement of a window. More...
     
    int glfwGetWindowAttrib (GLFWwindow *window, int attrib)
     Returns an attribute of the specified window. More...
     
    void glfwSetWindowUserPointer (GLFWwindow *window, void *pointer)
     Sets the user pointer of the specified window. More...
     
    void * glfwGetWindowUserPointer (GLFWwindow *window)
     Returns the user pointer of the specified window. More...
     
    GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindow *window, GLFWwindowposfun cbfun)
     Sets the position callback for the specified window. More...
     
    GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindow *window, GLFWwindowsizefun cbfun)
     Sets the size callback for the specified window. More...
     
    GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindow *window, GLFWwindowclosefun cbfun)
     Sets the close callback for the specified window. More...
     
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindow *window, GLFWwindowrefreshfun cbfun)
     Sets the refresh callback for the specified window. More...
     
    GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindow *window, GLFWwindowfocusfun cbfun)
     Sets the focus callback for the specified window. More...
     
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindow *window, GLFWwindowiconifyfun cbfun)
     Sets the iconify callback for the specified window. More...
     
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindow *window, GLFWframebuffersizefun cbfun)
     Sets the framebuffer resize callback for the specified window. More...
     
    void glfwPollEvents (void)
     Processes all pending events. More...
     
    void glfwWaitEvents (void)
     Waits until events are queued and processes them. More...
     
    void glfwWaitEventsTimeout (double timeout)
     Waits with timeout until events are queued and processes them. More...
     
    void glfwPostEmptyEvent (void)
     Posts an empty event to the event queue. More...
     
    int glfwGetInputMode (GLFWwindow *window, int mode)
     Returns the value of an input option for the specified window. More...
     
    void glfwSetInputMode (GLFWwindow *window, int mode, int value)
     Sets an input option for the specified window. More...
     
    const char * glfwGetKeyName (int key, int scancode)
     Returns the localized name of the specified printable key. More...
     
    int glfwGetKey (GLFWwindow *window, int key)
     Returns the last reported state of a keyboard key for the specified window. More...
     
    int glfwGetMouseButton (GLFWwindow *window, int button)
     Returns the last reported state of a mouse button for the specified window. More...
     
    void glfwGetCursorPos (GLFWwindow *window, double *xpos, double *ypos)
     Retrieves the position of the cursor relative to the client area of the window. More...
     
    void glfwSetCursorPos (GLFWwindow *window, double xpos, double ypos)
     Sets the position of the cursor, relative to the client area of the window. More...
     
    GLFWcursorglfwCreateCursor (const GLFWimage *image, int xhot, int yhot)
     Creates a custom cursor. More...
     
    GLFWcursorglfwCreateStandardCursor (int shape)
     Creates a cursor with a standard shape. More...
     
    void glfwDestroyCursor (GLFWcursor *cursor)
     Destroys a cursor. More...
     
    void glfwSetCursor (GLFWwindow *window, GLFWcursor *cursor)
     Sets the cursor for the window. More...
     
    GLFWkeyfun glfwSetKeyCallback (GLFWwindow *window, GLFWkeyfun cbfun)
     Sets the key callback. More...
     
    GLFWcharfun glfwSetCharCallback (GLFWwindow *window, GLFWcharfun cbfun)
     Sets the Unicode character callback. More...
     
    GLFWcharmodsfun glfwSetCharModsCallback (GLFWwindow *window, GLFWcharmodsfun cbfun)
     Sets the Unicode character with modifiers callback. More...
     
    GLFWmousebuttonfun glfwSetMouseButtonCallback (GLFWwindow *window, GLFWmousebuttonfun cbfun)
     Sets the mouse button callback. More...
     
    GLFWcursorposfun glfwSetCursorPosCallback (GLFWwindow *window, GLFWcursorposfun cbfun)
     Sets the cursor position callback. More...
     
    GLFWcursorenterfun glfwSetCursorEnterCallback (GLFWwindow *window, GLFWcursorenterfun cbfun)
     Sets the cursor enter/exit callback. More...
     
    GLFWscrollfun glfwSetScrollCallback (GLFWwindow *window, GLFWscrollfun cbfun)
     Sets the scroll callback. More...
     
    GLFWdropfun glfwSetDropCallback (GLFWwindow *window, GLFWdropfun cbfun)
     Sets the file drop callback. More...
     
    int glfwJoystickPresent (int joy)
     Returns whether the specified joystick is present. More...
     
    const float * glfwGetJoystickAxes (int joy, int *count)
     Returns the values of all axes of the specified joystick. More...
     
    const unsigned char * glfwGetJoystickButtons (int joy, int *count)
     Returns the state of all buttons of the specified joystick. More...
     
    const char * glfwGetJoystickName (int joy)
     Returns the name of the specified joystick. More...
     
    GLFWjoystickfun glfwSetJoystickCallback (GLFWjoystickfun cbfun)
     Sets the joystick configuration callback. More...
     
    void glfwSetClipboardString (GLFWwindow *window, const char *string)
     Sets the clipboard to the specified string. More...
     
    const char * glfwGetClipboardString (GLFWwindow *window)
     Returns the contents of the clipboard as a string. More...
     
    double glfwGetTime (void)
     Returns the value of the GLFW timer. More...
     
    void glfwSetTime (double time)
     Sets the GLFW timer. More...
     
    uint64_t glfwGetTimerValue (void)
     Returns the current value of the raw timer. More...
     
    uint64_t glfwGetTimerFrequency (void)
     Returns the frequency, in Hz, of the raw timer. More...
     
    void glfwMakeContextCurrent (GLFWwindow *window)
     Makes the context of the specified window current for the calling thread. More...
     
    GLFWwindowglfwGetCurrentContext (void)
     Returns the window whose context is current on the calling thread. More...
     
    void glfwSwapBuffers (GLFWwindow *window)
     Swaps the front and back buffers of the specified window. More...
     
    void glfwSwapInterval (int interval)
     Sets the swap interval for the current context. More...
     
    int glfwExtensionSupported (const char *extension)
     Returns whether the specified extension is available. More...
     
    GLFWglproc glfwGetProcAddress (const char *procname)
     Returns the address of the specified function for the current context. More...
     
    int glfwVulkanSupported (void)
     Returns whether the Vulkan loader has been found. More...
     
    const char ** glfwGetRequiredInstanceExtensions (uint32_t *count)
     Returns the Vulkan instance extensions required by GLFW. More...
     
    GLFWvkproc glfwGetInstanceProcAddress (VkInstance instance, const char *procname)
     Returns the address of the specified Vulkan instance function. More...
     
    int glfwGetPhysicalDevicePresentationSupport (VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily)
     Returns whether the specified queue family can present images. More...
     
    VkResult glfwCreateWindowSurface (VkInstance instance, GLFWwindow *window, const VkAllocationCallbacks *allocator, VkSurfaceKHR *surface)
     Creates a Vulkan surface for the specified window. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_ACCUM_ALPHA_BITS

    + +
    +
    + + + + +
    #define GLFW_ACCUM_ALPHA_BITS   0x0002100A
    +
    + +
    +
    + +

    ◆ GLFW_ACCUM_BLUE_BITS

    + +
    +
    + + + + +
    #define GLFW_ACCUM_BLUE_BITS   0x00021009
    +
    + +
    +
    + +

    ◆ GLFW_ACCUM_GREEN_BITS

    + +
    +
    + + + + +
    #define GLFW_ACCUM_GREEN_BITS   0x00021008
    +
    + +
    +
    + +

    ◆ GLFW_ACCUM_RED_BITS

    + +
    +
    + + + + +
    #define GLFW_ACCUM_RED_BITS   0x00021007
    +
    + +
    +
    + +

    ◆ GLFW_ALPHA_BITS

    + +
    +
    + + + + +
    #define GLFW_ALPHA_BITS   0x00021004
    +
    + +
    +
    + +

    ◆ GLFW_ANY_RELEASE_BEHAVIOR

    + +
    +
    + + + + +
    #define GLFW_ANY_RELEASE_BEHAVIOR   0
    +
    + +
    +
    + +

    ◆ GLFW_AUTO_ICONIFY

    + +
    +
    + + + + +
    #define GLFW_AUTO_ICONIFY   0x00020006
    +
    + +
    +
    + +

    ◆ GLFW_AUX_BUFFERS

    + +
    +
    + + + + +
    #define GLFW_AUX_BUFFERS   0x0002100B
    +
    + +
    +
    + +

    ◆ GLFW_BLUE_BITS

    + +
    +
    + + + + +
    #define GLFW_BLUE_BITS   0x00021003
    +
    + +
    +
    + +

    ◆ GLFW_CLIENT_API

    + +
    +
    + + + + +
    #define GLFW_CLIENT_API   0x00022001
    +
    + +
    +
    + +

    ◆ GLFW_CONNECTED

    + +
    +
    + + + + +
    #define GLFW_CONNECTED   0x00040001
    +
    + +
    +
    + +

    ◆ GLFW_CONTEXT_CREATION_API

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_CREATION_API   0x0002200B
    +
    + +
    +
    + +

    ◆ GLFW_CONTEXT_NO_ERROR

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_NO_ERROR   0x0002200A
    +
    + +
    +
    + +

    ◆ GLFW_CONTEXT_RELEASE_BEHAVIOR

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_RELEASE_BEHAVIOR   0x00022009
    +
    + +
    +
    + +

    ◆ GLFW_CONTEXT_REVISION

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_REVISION   0x00022004
    +
    + +
    +
    + +

    ◆ GLFW_CONTEXT_ROBUSTNESS

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_ROBUSTNESS   0x00022005
    +
    + +
    +
    + +

    ◆ GLFW_CONTEXT_VERSION_MAJOR

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_VERSION_MAJOR   0x00022002
    +
    + +
    +
    + +

    ◆ GLFW_CONTEXT_VERSION_MINOR

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_VERSION_MINOR   0x00022003
    +
    + +
    +
    + +

    ◆ GLFW_CURSOR

    + +
    +
    + + + + +
    #define GLFW_CURSOR   0x00033001
    +
    + +
    +
    + +

    ◆ GLFW_CURSOR_DISABLED

    + +
    +
    + + + + +
    #define GLFW_CURSOR_DISABLED   0x00034003
    +
    + +
    +
    + +

    ◆ GLFW_CURSOR_HIDDEN

    + +
    +
    + + + + +
    #define GLFW_CURSOR_HIDDEN   0x00034002
    +
    + +
    +
    + +

    ◆ GLFW_CURSOR_NORMAL

    + +
    +
    + + + + +
    #define GLFW_CURSOR_NORMAL   0x00034001
    +
    + +
    +
    + +

    ◆ GLFW_DECORATED

    + +
    +
    + + + + +
    #define GLFW_DECORATED   0x00020005
    +
    + +
    +
    + +

    ◆ GLFW_DEPTH_BITS

    + +
    +
    + + + + +
    #define GLFW_DEPTH_BITS   0x00021005
    +
    + +
    +
    + +

    ◆ GLFW_DISCONNECTED

    + +
    +
    + + + + +
    #define GLFW_DISCONNECTED   0x00040002
    +
    + +
    +
    + +

    ◆ GLFW_DONT_CARE

    + +
    +
    + + + + +
    #define GLFW_DONT_CARE   -1
    +
    + +
    +
    + +

    ◆ GLFW_DOUBLEBUFFER

    + +
    +
    + + + + +
    #define GLFW_DOUBLEBUFFER   0x00021010
    +
    + +
    +
    + +

    ◆ GLFW_EGL_CONTEXT_API

    + +
    +
    + + + + +
    #define GLFW_EGL_CONTEXT_API   0x00036002
    +
    + +
    +
    + +

    ◆ GLFW_FALSE

    + +
    +
    + + + + +
    #define GLFW_FALSE   0
    +
    +

    Zero. Seriously. You don't need to use this symbol in your code. It's just just semantic sugar for the number 0. You can use 0 or false or _False or GL_FALSE or whatever you want.

    + +
    +
    + +

    ◆ GLFW_FLOATING

    + +
    +
    + + + + +
    #define GLFW_FLOATING   0x00020007
    +
    + +
    +
    + +

    ◆ GLFW_FOCUSED

    + +
    +
    + + + + +
    #define GLFW_FOCUSED   0x00020001
    +
    + +
    +
    + +

    ◆ GLFW_GREEN_BITS

    + +
    +
    + + + + +
    #define GLFW_GREEN_BITS   0x00021002
    +
    + +
    +
    + +

    ◆ GLFW_ICONIFIED

    + +
    +
    + + + + +
    #define GLFW_ICONIFIED   0x00020002
    +
    + +
    +
    + +

    ◆ GLFW_LOSE_CONTEXT_ON_RESET

    + +
    +
    + + + + +
    #define GLFW_LOSE_CONTEXT_ON_RESET   0x00031002
    +
    + +
    +
    + +

    ◆ GLFW_MAXIMIZED

    + +
    +
    + + + + +
    #define GLFW_MAXIMIZED   0x00020008
    +
    + +
    +
    + +

    ◆ GLFW_NATIVE_CONTEXT_API

    + +
    +
    + + + + +
    #define GLFW_NATIVE_CONTEXT_API   0x00036001
    +
    + +
    +
    + +

    ◆ GLFW_NO_API

    + +
    +
    + + + + +
    #define GLFW_NO_API   0
    +
    + +
    +
    + +

    ◆ GLFW_NO_RESET_NOTIFICATION

    + +
    +
    + + + + +
    #define GLFW_NO_RESET_NOTIFICATION   0x00031001
    +
    + +
    +
    + +

    ◆ GLFW_NO_ROBUSTNESS

    + +
    +
    + + + + +
    #define GLFW_NO_ROBUSTNESS   0
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_ANY_PROFILE

    + +
    +
    + + + + +
    #define GLFW_OPENGL_ANY_PROFILE   0
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_API

    + +
    +
    + + + + +
    #define GLFW_OPENGL_API   0x00030001
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_COMPAT_PROFILE

    + +
    +
    + + + + +
    #define GLFW_OPENGL_COMPAT_PROFILE   0x00032002
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_CORE_PROFILE

    + +
    +
    + + + + +
    #define GLFW_OPENGL_CORE_PROFILE   0x00032001
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_DEBUG_CONTEXT

    + +
    +
    + + + + +
    #define GLFW_OPENGL_DEBUG_CONTEXT   0x00022007
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_ES_API

    + +
    +
    + + + + +
    #define GLFW_OPENGL_ES_API   0x00030002
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_FORWARD_COMPAT

    + +
    +
    + + + + +
    #define GLFW_OPENGL_FORWARD_COMPAT   0x00022006
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_PROFILE

    + +
    +
    + + + + +
    #define GLFW_OPENGL_PROFILE   0x00022008
    +
    + +
    +
    + +

    ◆ GLFW_RED_BITS

    + +
    +
    + + + + +
    #define GLFW_RED_BITS   0x00021001
    +
    + +
    +
    + +

    ◆ GLFW_REFRESH_RATE

    + +
    +
    + + + + +
    #define GLFW_REFRESH_RATE   0x0002100F
    +
    + +
    +
    + +

    ◆ GLFW_RELEASE_BEHAVIOR_FLUSH

    + +
    +
    + + + + +
    #define GLFW_RELEASE_BEHAVIOR_FLUSH   0x00035001
    +
    + +
    +
    + +

    ◆ GLFW_RELEASE_BEHAVIOR_NONE

    + +
    +
    + + + + +
    #define GLFW_RELEASE_BEHAVIOR_NONE   0x00035002
    +
    + +
    +
    + +

    ◆ GLFW_RESIZABLE

    + +
    +
    + + + + +
    #define GLFW_RESIZABLE   0x00020003
    +
    + +
    +
    + +

    ◆ GLFW_SAMPLES

    + +
    +
    + + + + +
    #define GLFW_SAMPLES   0x0002100D
    +
    + +
    +
    + +

    ◆ GLFW_SRGB_CAPABLE

    + +
    +
    + + + + +
    #define GLFW_SRGB_CAPABLE   0x0002100E
    +
    + +
    +
    + +

    ◆ GLFW_STENCIL_BITS

    + +
    +
    + + + + +
    #define GLFW_STENCIL_BITS   0x00021006
    +
    + +
    +
    + +

    ◆ GLFW_STEREO

    + +
    +
    + + + + +
    #define GLFW_STEREO   0x0002100C
    +
    + +
    +
    + +

    ◆ GLFW_STICKY_KEYS

    + +
    +
    + + + + +
    #define GLFW_STICKY_KEYS   0x00033002
    +
    + +
    +
    + +

    ◆ GLFW_STICKY_MOUSE_BUTTONS

    + +
    +
    + + + + +
    #define GLFW_STICKY_MOUSE_BUTTONS   0x00033003
    +
    + +
    +
    + +

    ◆ GLFW_TRUE

    + +
    +
    + + + + +
    #define GLFW_TRUE   1
    +
    +

    One. Seriously. You don't need to use this symbol in your code. It's just semantic sugar for the number 1. You can use 1 or true or _True or GL_TRUE or whatever you want.

    + +
    +
    + +

    ◆ GLFW_VISIBLE

    + +
    +
    + + + + +
    #define GLFW_VISIBLE   0x00020004
    +
    + +
    +
    +

    Typedef Documentation

    + +

    ◆ GLFWcursor

    + +
    +
    + + + + +
    typedef struct GLFWcursor GLFWcursor
    +
    +

    Opaque cursor object.

    +
    See also
    Cursor objects
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ GLFWimage

    + +
    +
    + + + + +
    typedef struct GLFWimage GLFWimage
    +
    +
    See also
    Custom cursor creation
    +
    +Window icon
    +
    Since
    Added in version 2.1. GLFW 3: Removed format and bytes-per-pixel members.
    + +
    +
    +
    + + + diff --git a/docs/3.2/glfw3_8h_source.html b/docs/3.2/glfw3_8h_source.html new file mode 100644 index 0000000..5c86d3b --- /dev/null +++ b/docs/3.2/glfw3_8h_source.html @@ -0,0 +1,214 @@ + + + + + + +GLFW: glfw3.h Source File + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    glfw3.h
    +
    +
    +Go to the documentation of this file.
    1 /*************************************************************************
    2  * GLFW 3.2 - www.glfw.org
    3  * A library for OpenGL, window and input
    4  *------------------------------------------------------------------------
    5  * Copyright (c) 2002-2006 Marcus Geelnard
    6  * Copyright (c) 2006-2016 Camilla Berglund <elmindreda@glfw.org>
    7  *
    8  * This software is provided 'as-is', without any express or implied
    9  * warranty. In no event will the authors be held liable for any damages
    10  * arising from the use of this software.
    11  *
    12  * Permission is granted to anyone to use this software for any purpose,
    13  * including commercial applications, and to alter it and redistribute it
    14  * freely, subject to the following restrictions:
    15  *
    16  * 1. The origin of this software must not be misrepresented; you must not
    17  * claim that you wrote the original software. If you use this software
    18  * in a product, an acknowledgment in the product documentation would
    19  * be appreciated but is not required.
    20  *
    21  * 2. Altered source versions must be plainly marked as such, and must not
    22  * be misrepresented as being the original software.
    23  *
    24  * 3. This notice may not be removed or altered from any source
    25  * distribution.
    26  *
    27  *************************************************************************/
    28 
    29 #ifndef _glfw3_h_
    30 #define _glfw3_h_
    31 
    32 #ifdef __cplusplus
    33 extern "C" {
    34 #endif
    35 
    36 
    37 /*************************************************************************
    38  * Doxygen documentation
    39  *************************************************************************/
    40 
    83 /*************************************************************************
    84  * Compiler- and platform-specific preprocessor work
    85  *************************************************************************/
    86 
    87 /* If we are we on Windows, we want a single define for it.
    88  */
    89 #if !defined(_WIN32) && (defined(__WIN32__) || defined(WIN32) || defined(__MINGW32__))
    90  #define _WIN32
    91 #endif /* _WIN32 */
    92 
    93 /* It is customary to use APIENTRY for OpenGL function pointer declarations on
    94  * all platforms. Additionally, the Windows OpenGL header needs APIENTRY.
    95  */
    96 #ifndef APIENTRY
    97  #ifdef _WIN32
    98  #define APIENTRY __stdcall
    99  #else
    100  #define APIENTRY
    101  #endif
    102 #endif /* APIENTRY */
    103 
    104 /* Some Windows OpenGL headers need this.
    105  */
    106 #if !defined(WINGDIAPI) && defined(_WIN32)
    107  #define WINGDIAPI __declspec(dllimport)
    108  #define GLFW_WINGDIAPI_DEFINED
    109 #endif /* WINGDIAPI */
    110 
    111 /* Some Windows GLU headers need this.
    112  */
    113 #if !defined(CALLBACK) && defined(_WIN32)
    114  #define CALLBACK __stdcall
    115  #define GLFW_CALLBACK_DEFINED
    116 #endif /* CALLBACK */
    117 
    118 /* Include because most Windows GLU headers need wchar_t and
    119  * the OS X OpenGL header blocks the definition of ptrdiff_t by glext.h.
    120  * Include it unconditionally to avoid surprising side-effects.
    121  */
    122 #include <stddef.h>
    123 
    124 /* Include because it is needed by Vulkan and related functions.
    125  */
    126 #include <stdint.h>
    127 
    128 /* Include the chosen client API headers.
    129  */
    130 #if defined(__APPLE__)
    131  #if defined(GLFW_INCLUDE_GLCOREARB)
    132  #include <OpenGL/gl3.h>
    133  #if defined(GLFW_INCLUDE_GLEXT)
    134  #include <OpenGL/gl3ext.h>
    135  #endif
    136  #elif !defined(GLFW_INCLUDE_NONE)
    137  #if !defined(GLFW_INCLUDE_GLEXT)
    138  #define GL_GLEXT_LEGACY
    139  #endif
    140  #include <OpenGL/gl.h>
    141  #endif
    142  #if defined(GLFW_INCLUDE_GLU)
    143  #include <OpenGL/glu.h>
    144  #endif
    145 #else
    146  #if defined(GLFW_INCLUDE_GLCOREARB)
    147  #include <GL/glcorearb.h>
    148  #elif defined(GLFW_INCLUDE_ES1)
    149  #include <GLES/gl.h>
    150  #if defined(GLFW_INCLUDE_GLEXT)
    151  #include <GLES/glext.h>
    152  #endif
    153  #elif defined(GLFW_INCLUDE_ES2)
    154  #include <GLES2/gl2.h>
    155  #if defined(GLFW_INCLUDE_GLEXT)
    156  #include <GLES2/gl2ext.h>
    157  #endif
    158  #elif defined(GLFW_INCLUDE_ES3)
    159  #include <GLES3/gl3.h>
    160  #if defined(GLFW_INCLUDE_GLEXT)
    161  #include <GLES2/gl2ext.h>
    162  #endif
    163  #elif defined(GLFW_INCLUDE_ES31)
    164  #include <GLES3/gl31.h>
    165  #if defined(GLFW_INCLUDE_GLEXT)
    166  #include <GLES2/gl2ext.h>
    167  #endif
    168  #elif defined(GLFW_INCLUDE_VULKAN)
    169  #include <vulkan/vulkan.h>
    170  #elif !defined(GLFW_INCLUDE_NONE)
    171  #include <GL/gl.h>
    172  #if defined(GLFW_INCLUDE_GLEXT)
    173  #include <GL/glext.h>
    174  #endif
    175  #endif
    176  #if defined(GLFW_INCLUDE_GLU)
    177  #include <GL/glu.h>
    178  #endif
    179 #endif
    180 
    181 #if defined(GLFW_DLL) && defined(_GLFW_BUILD_DLL)
    182  /* GLFW_DLL must be defined by applications that are linking against the DLL
    183  * version of the GLFW library. _GLFW_BUILD_DLL is defined by the GLFW
    184  * configuration header when compiling the DLL version of the library.
    185  */
    186  #error "You must not have both GLFW_DLL and _GLFW_BUILD_DLL defined"
    187 #endif
    188 
    189 /* GLFWAPI is used to declare public API functions for export
    190  * from the DLL / shared library / dynamic library.
    191  */
    192 #if defined(_WIN32) && defined(_GLFW_BUILD_DLL)
    193  /* We are building GLFW as a Win32 DLL */
    194  #define GLFWAPI __declspec(dllexport)
    195 #elif defined(_WIN32) && defined(GLFW_DLL)
    196  /* We are calling GLFW as a Win32 DLL */
    197  #define GLFWAPI __declspec(dllimport)
    198 #elif defined(__GNUC__) && defined(_GLFW_BUILD_DLL)
    199  /* We are building GLFW as a shared / dynamic library */
    200  #define GLFWAPI __attribute__((visibility("default")))
    201 #else
    202  /* We are building or calling GLFW as a static library */
    203  #define GLFWAPI
    204 #endif
    205 
    206 
    207 /*************************************************************************
    208  * GLFW API tokens
    209  *************************************************************************/
    210 
    218 #define GLFW_VERSION_MAJOR 3
    219 
    225 #define GLFW_VERSION_MINOR 2
    226 
    232 #define GLFW_VERSION_REVISION 1
    233 
    243 #define GLFW_TRUE 1
    244 
    250 #define GLFW_FALSE 0
    251 
    261 #define GLFW_RELEASE 0
    262 
    268 #define GLFW_PRESS 1
    269 
    275 #define GLFW_REPEAT 2
    276 
    301 /* The unknown key */
    302 #define GLFW_KEY_UNKNOWN -1
    303 
    304 /* Printable keys */
    305 #define GLFW_KEY_SPACE 32
    306 #define GLFW_KEY_APOSTROPHE 39 /* ' */
    307 #define GLFW_KEY_COMMA 44 /* , */
    308 #define GLFW_KEY_MINUS 45 /* - */
    309 #define GLFW_KEY_PERIOD 46 /* . */
    310 #define GLFW_KEY_SLASH 47 /* / */
    311 #define GLFW_KEY_0 48
    312 #define GLFW_KEY_1 49
    313 #define GLFW_KEY_2 50
    314 #define GLFW_KEY_3 51
    315 #define GLFW_KEY_4 52
    316 #define GLFW_KEY_5 53
    317 #define GLFW_KEY_6 54
    318 #define GLFW_KEY_7 55
    319 #define GLFW_KEY_8 56
    320 #define GLFW_KEY_9 57
    321 #define GLFW_KEY_SEMICOLON 59 /* ; */
    322 #define GLFW_KEY_EQUAL 61 /* = */
    323 #define GLFW_KEY_A 65
    324 #define GLFW_KEY_B 66
    325 #define GLFW_KEY_C 67
    326 #define GLFW_KEY_D 68
    327 #define GLFW_KEY_E 69
    328 #define GLFW_KEY_F 70
    329 #define GLFW_KEY_G 71
    330 #define GLFW_KEY_H 72
    331 #define GLFW_KEY_I 73
    332 #define GLFW_KEY_J 74
    333 #define GLFW_KEY_K 75
    334 #define GLFW_KEY_L 76
    335 #define GLFW_KEY_M 77
    336 #define GLFW_KEY_N 78
    337 #define GLFW_KEY_O 79
    338 #define GLFW_KEY_P 80
    339 #define GLFW_KEY_Q 81
    340 #define GLFW_KEY_R 82
    341 #define GLFW_KEY_S 83
    342 #define GLFW_KEY_T 84
    343 #define GLFW_KEY_U 85
    344 #define GLFW_KEY_V 86
    345 #define GLFW_KEY_W 87
    346 #define GLFW_KEY_X 88
    347 #define GLFW_KEY_Y 89
    348 #define GLFW_KEY_Z 90
    349 #define GLFW_KEY_LEFT_BRACKET 91 /* [ */
    350 #define GLFW_KEY_BACKSLASH 92 /* \ */
    351 #define GLFW_KEY_RIGHT_BRACKET 93 /* ] */
    352 #define GLFW_KEY_GRAVE_ACCENT 96 /* ` */
    353 #define GLFW_KEY_WORLD_1 161 /* non-US #1 */
    354 #define GLFW_KEY_WORLD_2 162 /* non-US #2 */
    355 
    356 /* Function keys */
    357 #define GLFW_KEY_ESCAPE 256
    358 #define GLFW_KEY_ENTER 257
    359 #define GLFW_KEY_TAB 258
    360 #define GLFW_KEY_BACKSPACE 259
    361 #define GLFW_KEY_INSERT 260
    362 #define GLFW_KEY_DELETE 261
    363 #define GLFW_KEY_RIGHT 262
    364 #define GLFW_KEY_LEFT 263
    365 #define GLFW_KEY_DOWN 264
    366 #define GLFW_KEY_UP 265
    367 #define GLFW_KEY_PAGE_UP 266
    368 #define GLFW_KEY_PAGE_DOWN 267
    369 #define GLFW_KEY_HOME 268
    370 #define GLFW_KEY_END 269
    371 #define GLFW_KEY_CAPS_LOCK 280
    372 #define GLFW_KEY_SCROLL_LOCK 281
    373 #define GLFW_KEY_NUM_LOCK 282
    374 #define GLFW_KEY_PRINT_SCREEN 283
    375 #define GLFW_KEY_PAUSE 284
    376 #define GLFW_KEY_F1 290
    377 #define GLFW_KEY_F2 291
    378 #define GLFW_KEY_F3 292
    379 #define GLFW_KEY_F4 293
    380 #define GLFW_KEY_F5 294
    381 #define GLFW_KEY_F6 295
    382 #define GLFW_KEY_F7 296
    383 #define GLFW_KEY_F8 297
    384 #define GLFW_KEY_F9 298
    385 #define GLFW_KEY_F10 299
    386 #define GLFW_KEY_F11 300
    387 #define GLFW_KEY_F12 301
    388 #define GLFW_KEY_F13 302
    389 #define GLFW_KEY_F14 303
    390 #define GLFW_KEY_F15 304
    391 #define GLFW_KEY_F16 305
    392 #define GLFW_KEY_F17 306
    393 #define GLFW_KEY_F18 307
    394 #define GLFW_KEY_F19 308
    395 #define GLFW_KEY_F20 309
    396 #define GLFW_KEY_F21 310
    397 #define GLFW_KEY_F22 311
    398 #define GLFW_KEY_F23 312
    399 #define GLFW_KEY_F24 313
    400 #define GLFW_KEY_F25 314
    401 #define GLFW_KEY_KP_0 320
    402 #define GLFW_KEY_KP_1 321
    403 #define GLFW_KEY_KP_2 322
    404 #define GLFW_KEY_KP_3 323
    405 #define GLFW_KEY_KP_4 324
    406 #define GLFW_KEY_KP_5 325
    407 #define GLFW_KEY_KP_6 326
    408 #define GLFW_KEY_KP_7 327
    409 #define GLFW_KEY_KP_8 328
    410 #define GLFW_KEY_KP_9 329
    411 #define GLFW_KEY_KP_DECIMAL 330
    412 #define GLFW_KEY_KP_DIVIDE 331
    413 #define GLFW_KEY_KP_MULTIPLY 332
    414 #define GLFW_KEY_KP_SUBTRACT 333
    415 #define GLFW_KEY_KP_ADD 334
    416 #define GLFW_KEY_KP_ENTER 335
    417 #define GLFW_KEY_KP_EQUAL 336
    418 #define GLFW_KEY_LEFT_SHIFT 340
    419 #define GLFW_KEY_LEFT_CONTROL 341
    420 #define GLFW_KEY_LEFT_ALT 342
    421 #define GLFW_KEY_LEFT_SUPER 343
    422 #define GLFW_KEY_RIGHT_SHIFT 344
    423 #define GLFW_KEY_RIGHT_CONTROL 345
    424 #define GLFW_KEY_RIGHT_ALT 346
    425 #define GLFW_KEY_RIGHT_SUPER 347
    426 #define GLFW_KEY_MENU 348
    427 
    428 #define GLFW_KEY_LAST GLFW_KEY_MENU
    429 
    441 #define GLFW_MOD_SHIFT 0x0001
    442 
    444 #define GLFW_MOD_CONTROL 0x0002
    445 
    447 #define GLFW_MOD_ALT 0x0004
    448 
    450 #define GLFW_MOD_SUPER 0x0008
    451 
    460 #define GLFW_MOUSE_BUTTON_1 0
    461 #define GLFW_MOUSE_BUTTON_2 1
    462 #define GLFW_MOUSE_BUTTON_3 2
    463 #define GLFW_MOUSE_BUTTON_4 3
    464 #define GLFW_MOUSE_BUTTON_5 4
    465 #define GLFW_MOUSE_BUTTON_6 5
    466 #define GLFW_MOUSE_BUTTON_7 6
    467 #define GLFW_MOUSE_BUTTON_8 7
    468 #define GLFW_MOUSE_BUTTON_LAST GLFW_MOUSE_BUTTON_8
    469 #define GLFW_MOUSE_BUTTON_LEFT GLFW_MOUSE_BUTTON_1
    470 #define GLFW_MOUSE_BUTTON_RIGHT GLFW_MOUSE_BUTTON_2
    471 #define GLFW_MOUSE_BUTTON_MIDDLE GLFW_MOUSE_BUTTON_3
    472 
    480 #define GLFW_JOYSTICK_1 0
    481 #define GLFW_JOYSTICK_2 1
    482 #define GLFW_JOYSTICK_3 2
    483 #define GLFW_JOYSTICK_4 3
    484 #define GLFW_JOYSTICK_5 4
    485 #define GLFW_JOYSTICK_6 5
    486 #define GLFW_JOYSTICK_7 6
    487 #define GLFW_JOYSTICK_8 7
    488 #define GLFW_JOYSTICK_9 8
    489 #define GLFW_JOYSTICK_10 9
    490 #define GLFW_JOYSTICK_11 10
    491 #define GLFW_JOYSTICK_12 11
    492 #define GLFW_JOYSTICK_13 12
    493 #define GLFW_JOYSTICK_14 13
    494 #define GLFW_JOYSTICK_15 14
    495 #define GLFW_JOYSTICK_16 15
    496 #define GLFW_JOYSTICK_LAST GLFW_JOYSTICK_16
    497 
    513 #define GLFW_NOT_INITIALIZED 0x00010001
    523 #define GLFW_NO_CURRENT_CONTEXT 0x00010002
    524 
    532 #define GLFW_INVALID_ENUM 0x00010003
    533 
    543 #define GLFW_INVALID_VALUE 0x00010004
    544 
    551 #define GLFW_OUT_OF_MEMORY 0x00010005
    552 
    567 #define GLFW_API_UNAVAILABLE 0x00010006
    568 
    584 #define GLFW_VERSION_UNAVAILABLE 0x00010007
    585 
    595 #define GLFW_PLATFORM_ERROR 0x00010008
    596 
    614 #define GLFW_FORMAT_UNAVAILABLE 0x00010009
    615 
    622 #define GLFW_NO_WINDOW_CONTEXT 0x0001000A
    625 #define GLFW_FOCUSED 0x00020001
    626 #define GLFW_ICONIFIED 0x00020002
    627 #define GLFW_RESIZABLE 0x00020003
    628 #define GLFW_VISIBLE 0x00020004
    629 #define GLFW_DECORATED 0x00020005
    630 #define GLFW_AUTO_ICONIFY 0x00020006
    631 #define GLFW_FLOATING 0x00020007
    632 #define GLFW_MAXIMIZED 0x00020008
    633 
    634 #define GLFW_RED_BITS 0x00021001
    635 #define GLFW_GREEN_BITS 0x00021002
    636 #define GLFW_BLUE_BITS 0x00021003
    637 #define GLFW_ALPHA_BITS 0x00021004
    638 #define GLFW_DEPTH_BITS 0x00021005
    639 #define GLFW_STENCIL_BITS 0x00021006
    640 #define GLFW_ACCUM_RED_BITS 0x00021007
    641 #define GLFW_ACCUM_GREEN_BITS 0x00021008
    642 #define GLFW_ACCUM_BLUE_BITS 0x00021009
    643 #define GLFW_ACCUM_ALPHA_BITS 0x0002100A
    644 #define GLFW_AUX_BUFFERS 0x0002100B
    645 #define GLFW_STEREO 0x0002100C
    646 #define GLFW_SAMPLES 0x0002100D
    647 #define GLFW_SRGB_CAPABLE 0x0002100E
    648 #define GLFW_REFRESH_RATE 0x0002100F
    649 #define GLFW_DOUBLEBUFFER 0x00021010
    651 #define GLFW_CLIENT_API 0x00022001
    652 #define GLFW_CONTEXT_VERSION_MAJOR 0x00022002
    653 #define GLFW_CONTEXT_VERSION_MINOR 0x00022003
    654 #define GLFW_CONTEXT_REVISION 0x00022004
    655 #define GLFW_CONTEXT_ROBUSTNESS 0x00022005
    656 #define GLFW_OPENGL_FORWARD_COMPAT 0x00022006
    657 #define GLFW_OPENGL_DEBUG_CONTEXT 0x00022007
    658 #define GLFW_OPENGL_PROFILE 0x00022008
    659 #define GLFW_CONTEXT_RELEASE_BEHAVIOR 0x00022009
    660 #define GLFW_CONTEXT_NO_ERROR 0x0002200A
    661 #define GLFW_CONTEXT_CREATION_API 0x0002200B
    663 #define GLFW_NO_API 0
    664 #define GLFW_OPENGL_API 0x00030001
    665 #define GLFW_OPENGL_ES_API 0x00030002
    667 #define GLFW_NO_ROBUSTNESS 0
    668 #define GLFW_NO_RESET_NOTIFICATION 0x00031001
    669 #define GLFW_LOSE_CONTEXT_ON_RESET 0x00031002
    671 #define GLFW_OPENGL_ANY_PROFILE 0
    672 #define GLFW_OPENGL_CORE_PROFILE 0x00032001
    673 #define GLFW_OPENGL_COMPAT_PROFILE 0x00032002
    675 #define GLFW_CURSOR 0x00033001
    676 #define GLFW_STICKY_KEYS 0x00033002
    677 #define GLFW_STICKY_MOUSE_BUTTONS 0x00033003
    679 #define GLFW_CURSOR_NORMAL 0x00034001
    680 #define GLFW_CURSOR_HIDDEN 0x00034002
    681 #define GLFW_CURSOR_DISABLED 0x00034003
    683 #define GLFW_ANY_RELEASE_BEHAVIOR 0
    684 #define GLFW_RELEASE_BEHAVIOR_FLUSH 0x00035001
    685 #define GLFW_RELEASE_BEHAVIOR_NONE 0x00035002
    687 #define GLFW_NATIVE_CONTEXT_API 0x00036001
    688 #define GLFW_EGL_CONTEXT_API 0x00036002
    701 #define GLFW_ARROW_CURSOR 0x00036001
    702 
    706 #define GLFW_IBEAM_CURSOR 0x00036002
    707 
    711 #define GLFW_CROSSHAIR_CURSOR 0x00036003
    712 
    716 #define GLFW_HAND_CURSOR 0x00036004
    717 
    721 #define GLFW_HRESIZE_CURSOR 0x00036005
    722 
    726 #define GLFW_VRESIZE_CURSOR 0x00036006
    727 
    729 #define GLFW_CONNECTED 0x00040001
    730 #define GLFW_DISCONNECTED 0x00040002
    732 #define GLFW_DONT_CARE -1
    733 
    734 
    735 /*************************************************************************
    736  * GLFW API types
    737  *************************************************************************/
    738 
    751 typedef void (*GLFWglproc)(void);
    752 
    765 typedef void (*GLFWvkproc)(void);
    766 
    777 typedef struct GLFWmonitor GLFWmonitor;
    778 
    789 typedef struct GLFWwindow GLFWwindow;
    790 
    801 typedef struct GLFWcursor GLFWcursor;
    802 
    817 typedef void (* GLFWerrorfun)(int,const char*);
    818 
    836 typedef void (* GLFWwindowposfun)(GLFWwindow*,int,int);
    837 
    854 typedef void (* GLFWwindowsizefun)(GLFWwindow*,int,int);
    855 
    870 typedef void (* GLFWwindowclosefun)(GLFWwindow*);
    871 
    886 typedef void (* GLFWwindowrefreshfun)(GLFWwindow*);
    887 
    903 typedef void (* GLFWwindowfocusfun)(GLFWwindow*,int);
    904 
    921 typedef void (* GLFWwindowiconifyfun)(GLFWwindow*,int);
    922 
    939 typedef void (* GLFWframebuffersizefun)(GLFWwindow*,int,int);
    940 
    960 typedef void (* GLFWmousebuttonfun)(GLFWwindow*,int,int,int);
    961 
    979 typedef void (* GLFWcursorposfun)(GLFWwindow*,double,double);
    980 
    996 typedef void (* GLFWcursorenterfun)(GLFWwindow*,int);
    997 
    1013 typedef void (* GLFWscrollfun)(GLFWwindow*,double,double);
    1014 
    1034 typedef void (* GLFWkeyfun)(GLFWwindow*,int,int,int,int);
    1035 
    1051 typedef void (* GLFWcharfun)(GLFWwindow*,unsigned int);
    1052 
    1072 typedef void (* GLFWcharmodsfun)(GLFWwindow*,unsigned int,int);
    1073 
    1089 typedef void (* GLFWdropfun)(GLFWwindow*,int,const char**);
    1090 
    1105 typedef void (* GLFWmonitorfun)(GLFWmonitor*,int);
    1106 
    1122 typedef void (* GLFWjoystickfun)(int,int);
    1123 
    1136 typedef struct GLFWvidmode
    1137 {
    1140  int width;
    1143  int height;
    1146  int redBits;
    1149  int greenBits;
    1152  int blueBits;
    1155  int refreshRate;
    1157 
    1169 typedef struct GLFWgammaramp
    1170 {
    1173  unsigned short* red;
    1176  unsigned short* green;
    1179  unsigned short* blue;
    1182  unsigned int size;
    1184 
    1193 typedef struct GLFWimage
    1194 {
    1197  int width;
    1200  int height;
    1203  unsigned char* pixels;
    1204 } GLFWimage;
    1205 
    1206 
    1207 /*************************************************************************
    1208  * GLFW API functions
    1209  *************************************************************************/
    1243 GLFWAPI int glfwInit(void);
    1244 
    1275 GLFWAPI void glfwTerminate(void);
    1276 
    1302 GLFWAPI void glfwGetVersion(int* major, int* minor, int* rev);
    1303 
    1333 GLFWAPI const char* glfwGetVersionString(void);
    1334 
    1368 
    1396 GLFWAPI GLFWmonitor** glfwGetMonitors(int* count);
    1397 
    1420 GLFWAPI GLFWmonitor* glfwGetPrimaryMonitor(void);
    1421 
    1445 GLFWAPI void glfwGetMonitorPos(GLFWmonitor* monitor, int* xpos, int* ypos);
    1446 
    1479 GLFWAPI void glfwGetMonitorPhysicalSize(GLFWmonitor* monitor, int* widthMM, int* heightMM);
    1480 
    1505 GLFWAPI const char* glfwGetMonitorName(GLFWmonitor* monitor);
    1506 
    1529 
    1561 GLFWAPI const GLFWvidmode* glfwGetVideoModes(GLFWmonitor* monitor, int* count);
    1562 
    1589 GLFWAPI const GLFWvidmode* glfwGetVideoMode(GLFWmonitor* monitor);
    1590 
    1611 GLFWAPI void glfwSetGamma(GLFWmonitor* monitor, float gamma);
    1612 
    1637 GLFWAPI const GLFWgammaramp* glfwGetGammaRamp(GLFWmonitor* monitor);
    1638 
    1667 GLFWAPI void glfwSetGammaRamp(GLFWmonitor* monitor, const GLFWgammaramp* ramp);
    1668 
    1685 GLFWAPI void glfwDefaultWindowHints(void);
    1686 
    1713 GLFWAPI void glfwWindowHint(int hint, int value);
    1714 
    1834 GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height, const char* title, GLFWmonitor* monitor, GLFWwindow* share);
    1835 
    1863 GLFWAPI void glfwDestroyWindow(GLFWwindow* window);
    1864 
    1883 GLFWAPI int glfwWindowShouldClose(GLFWwindow* window);
    1884 
    1905 GLFWAPI void glfwSetWindowShouldClose(GLFWwindow* window, int value);
    1906 
    1930 GLFWAPI void glfwSetWindowTitle(GLFWwindow* window, const char* title);
    1931 
    1969 GLFWAPI void glfwSetWindowIcon(GLFWwindow* window, int count, const GLFWimage* images);
    1970 
    1997 GLFWAPI void glfwGetWindowPos(GLFWwindow* window, int* xpos, int* ypos);
    1998 
    2028 GLFWAPI void glfwSetWindowPos(GLFWwindow* window, int xpos, int ypos);
    2029 
    2058 GLFWAPI void glfwGetWindowSize(GLFWwindow* window, int* width, int* height);
    2059 
    2098 GLFWAPI void glfwSetWindowSizeLimits(GLFWwindow* window, int minwidth, int minheight, int maxwidth, int maxheight);
    2099 
    2138 GLFWAPI void glfwSetWindowAspectRatio(GLFWwindow* window, int numer, int denom);
    2139 
    2176 GLFWAPI void glfwSetWindowSize(GLFWwindow* window, int width, int height);
    2177 
    2205 GLFWAPI void glfwGetFramebufferSize(GLFWwindow* window, int* width, int* height);
    2206 
    2242 GLFWAPI void glfwGetWindowFrameSize(GLFWwindow* window, int* left, int* top, int* right, int* bottom);
    2243 
    2269 GLFWAPI void glfwIconifyWindow(GLFWwindow* window);
    2270 
    2296 GLFWAPI void glfwRestoreWindow(GLFWwindow* window);
    2297 
    2321 GLFWAPI void glfwMaximizeWindow(GLFWwindow* window);
    2322 
    2343 GLFWAPI void glfwShowWindow(GLFWwindow* window);
    2344 
    2365 GLFWAPI void glfwHideWindow(GLFWwindow* window);
    2366 
    2393 GLFWAPI void glfwFocusWindow(GLFWwindow* window);
    2394 
    2415 GLFWAPI GLFWmonitor* glfwGetWindowMonitor(GLFWwindow* window);
    2416 
    2464 GLFWAPI void glfwSetWindowMonitor(GLFWwindow* window, GLFWmonitor* monitor, int xpos, int ypos, int width, int height, int refreshRate);
    2465 
    2497 GLFWAPI int glfwGetWindowAttrib(GLFWwindow* window, int attrib);
    2498 
    2520 GLFWAPI void glfwSetWindowUserPointer(GLFWwindow* window, void* pointer);
    2521 
    2541 GLFWAPI void* glfwGetWindowUserPointer(GLFWwindow* window);
    2542 
    2566 
    2591 
    2624 
    2653 
    2681 
    2704 
    2727 
    2761 GLFWAPI void glfwPollEvents(void);
    2762 
    2806 GLFWAPI void glfwWaitEvents(void);
    2807 
    2852 GLFWAPI void glfwWaitEventsTimeout(double timeout);
    2853 
    2876 GLFWAPI void glfwPostEmptyEvent(void);
    2877 
    2899 GLFWAPI int glfwGetInputMode(GLFWwindow* window, int mode);
    2900 
    2947 GLFWAPI void glfwSetInputMode(GLFWwindow* window, int mode, int value);
    2948 
    3004 GLFWAPI const char* glfwGetKeyName(int key, int scancode);
    3005 
    3044 GLFWAPI int glfwGetKey(GLFWwindow* window, int key);
    3045 
    3073 GLFWAPI int glfwGetMouseButton(GLFWwindow* window, int button);
    3074 
    3111 GLFWAPI void glfwGetCursorPos(GLFWwindow* window, double* xpos, double* ypos);
    3112 
    3148 GLFWAPI void glfwSetCursorPos(GLFWwindow* window, double xpos, double ypos);
    3149 
    3188 GLFWAPI GLFWcursor* glfwCreateCursor(const GLFWimage* image, int xhot, int yhot);
    3189 
    3213 GLFWAPI GLFWcursor* glfwCreateStandardCursor(int shape);
    3214 
    3237 GLFWAPI void glfwDestroyCursor(GLFWcursor* cursor);
    3238 
    3264 GLFWAPI void glfwSetCursor(GLFWwindow* window, GLFWcursor* cursor);
    3265 
    3307 GLFWAPI GLFWkeyfun glfwSetKeyCallback(GLFWwindow* window, GLFWkeyfun cbfun);
    3308 
    3345 GLFWAPI GLFWcharfun glfwSetCharCallback(GLFWwindow* window, GLFWcharfun cbfun);
    3346 
    3379 
    3409 
    3434 
    3458 
    3485 
    3512 GLFWAPI GLFWdropfun glfwSetDropCallback(GLFWwindow* window, GLFWdropfun cbfun);
    3513 
    3532 GLFWAPI int glfwJoystickPresent(int joy);
    3533 
    3566 GLFWAPI const float* glfwGetJoystickAxes(int joy, int* count);
    3567 
    3601 GLFWAPI const unsigned char* glfwGetJoystickButtons(int joy, int* count);
    3602 
    3633 GLFWAPI const char* glfwGetJoystickName(int joy);
    3634 
    3657 
    3681 GLFWAPI void glfwSetClipboardString(GLFWwindow* window, const char* string);
    3682 
    3711 GLFWAPI const char* glfwGetClipboardString(GLFWwindow* window);
    3712 
    3738 GLFWAPI double glfwGetTime(void);
    3739 
    3765 GLFWAPI void glfwSetTime(double time);
    3766 
    3787 GLFWAPI uint64_t glfwGetTimerValue(void);
    3788 
    3807 GLFWAPI uint64_t glfwGetTimerFrequency(void);
    3808 
    3841 GLFWAPI void glfwMakeContextCurrent(GLFWwindow* window);
    3842 
    3862 GLFWAPI GLFWwindow* glfwGetCurrentContext(void);
    3863 
    3896 GLFWAPI void glfwSwapBuffers(GLFWwindow* window);
    3897 
    3943 GLFWAPI void glfwSwapInterval(int interval);
    3944 
    3981 GLFWAPI int glfwExtensionSupported(const char* extension);
    3982 
    4023 GLFWAPI GLFWglproc glfwGetProcAddress(const char* procname);
    4024 
    4049 GLFWAPI int glfwVulkanSupported(void);
    4050 
    4093 GLFWAPI const char** glfwGetRequiredInstanceExtensions(uint32_t* count);
    4094 
    4095 #if defined(VK_VERSION_1_0)
    4096 
    4136 GLFWAPI GLFWvkproc glfwGetInstanceProcAddress(VkInstance instance, const char* procname);
    4137 
    4169 GLFWAPI int glfwGetPhysicalDevicePresentationSupport(VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily);
    4170 
    4219 GLFWAPI VkResult glfwCreateWindowSurface(VkInstance instance, GLFWwindow* window, const VkAllocationCallbacks* allocator, VkSurfaceKHR* surface);
    4220 
    4221 #endif /*VK_VERSION_1_0*/
    4222 
    4223 
    4224 /*************************************************************************
    4225  * Global definition cleanup
    4226  *************************************************************************/
    4227 
    4228 /* ------------------- BEGIN SYSTEM/COMPILER SPECIFIC -------------------- */
    4229 
    4230 #ifdef GLFW_WINGDIAPI_DEFINED
    4231  #undef WINGDIAPI
    4232  #undef GLFW_WINGDIAPI_DEFINED
    4233 #endif
    4234 
    4235 #ifdef GLFW_CALLBACK_DEFINED
    4236  #undef CALLBACK
    4237  #undef GLFW_CALLBACK_DEFINED
    4238 #endif
    4239 
    4240 /* -------------------- END SYSTEM/COMPILER SPECIFIC --------------------- */
    4241 
    4242 
    4243 #ifdef __cplusplus
    4244 }
    4245 #endif
    4246 
    4247 #endif /* _glfw3_h_ */
    4248 
    void glfwGetVersion(int *major, int *minor, int *rev)
    Retrieves the version of the GLFW library.
    +
    int redBits
    Definition: glfw3.h:1156
    +
    void glfwGetWindowSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the client area of the specified window.
    +
    void glfwSetWindowSizeLimits(GLFWwindow *window, int minwidth, int minheight, int maxwidth, int maxheight)
    Sets the size limits of the specified window.
    +
    void(* GLFWwindowiconifyfun)(GLFWwindow *, int)
    The function signature for window iconify/restore callbacks.
    Definition: glfw3.h:931
    +
    int glfwGetInputMode(GLFWwindow *window, int mode)
    Returns the value of an input option for the specified window.
    +
    int height
    Definition: glfw3.h:1153
    +
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback(GLFWwindow *window, GLFWwindowrefreshfun cbfun)
    Sets the refresh callback for the specified window.
    +
    GLFWwindowposfun glfwSetWindowPosCallback(GLFWwindow *window, GLFWwindowposfun cbfun)
    Sets the position callback for the specified window.
    +
    void glfwGetWindowPos(GLFWwindow *window, int *xpos, int *ypos)
    Retrieves the position of the client area of the specified window.
    +
    void(* GLFWcharmodsfun)(GLFWwindow *, unsigned int, int)
    The function signature for Unicode character with modifiers callbacks.
    Definition: glfw3.h:1082
    +
    int blueBits
    Definition: glfw3.h:1162
    +
    unsigned char * pixels
    Definition: glfw3.h:1213
    +
    void(* GLFWmonitorfun)(GLFWmonitor *, int)
    The function signature for monitor configuration callbacks.
    Definition: glfw3.h:1115
    +
    void * glfwGetWindowUserPointer(GLFWwindow *window)
    Returns the user pointer of the specified window.
    +
    const GLFWvidmode * glfwGetVideoModes(GLFWmonitor *monitor, int *count)
    Returns the available video modes for the specified monitor.
    +
    const GLFWgammaramp * glfwGetGammaRamp(GLFWmonitor *monitor)
    Returns the current gamma ramp for the specified monitor.
    +
    struct GLFWcursor GLFWcursor
    Opaque cursor object.
    Definition: glfw3.h:811
    +
    void glfwIconifyWindow(GLFWwindow *window)
    Iconifies the specified window.
    +
    GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun cbfun)
    Sets the error callback.
    +
    double glfwGetTime(void)
    Returns the value of the GLFW timer.
    +
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback(GLFWwindow *window, GLFWwindowiconifyfun cbfun)
    Sets the iconify callback for the specified window.
    +
    void glfwSetCursorPos(GLFWwindow *window, double xpos, double ypos)
    Sets the position of the cursor, relative to the client area of the window.
    +
    int width
    Definition: glfw3.h:1150
    +
    const char * glfwGetVersionString(void)
    Returns a string describing the compile-time configuration.
    +
    GLFWwindowsizefun glfwSetWindowSizeCallback(GLFWwindow *window, GLFWwindowsizefun cbfun)
    Sets the size callback for the specified window.
    +
    const char * glfwGetJoystickName(int joy)
    Returns the name of the specified joystick.
    +
    void glfwWaitEvents(void)
    Waits until events are queued and processes them.
    +
    int height
    Definition: glfw3.h:1210
    +
    GLFWkeyfun glfwSetKeyCallback(GLFWwindow *window, GLFWkeyfun cbfun)
    Sets the key callback.
    +
    const char * glfwGetClipboardString(GLFWwindow *window)
    Returns the contents of the clipboard as a string.
    +
    void(* GLFWdropfun)(GLFWwindow *, int, const char **)
    The function signature for file drop callbacks.
    Definition: glfw3.h:1099
    +
    GLFWglproc glfwGetProcAddress(const char *procname)
    Returns the address of the specified function for the current context.
    +
    const char * glfwGetKeyName(int key, int scancode)
    Returns the localized name of the specified printable key.
    +
    void glfwGetCursorPos(GLFWwindow *window, double *xpos, double *ypos)
    Retrieves the position of the cursor relative to the client area of the window.
    +
    void glfwMaximizeWindow(GLFWwindow *window)
    Maximizes the specified window.
    +
    void(* GLFWkeyfun)(GLFWwindow *, int, int, int, int)
    The function signature for keyboard key callbacks.
    Definition: glfw3.h:1044
    +
    int refreshRate
    Definition: glfw3.h:1165
    +
    unsigned short * red
    Definition: glfw3.h:1183
    +
    void(* GLFWmousebuttonfun)(GLFWwindow *, int, int, int)
    The function signature for mouse button callbacks.
    Definition: glfw3.h:970
    +
    VkResult glfwCreateWindowSurface(VkInstance instance, GLFWwindow *window, const VkAllocationCallbacks *allocator, VkSurfaceKHR *surface)
    Creates a Vulkan surface for the specified window.
    +
    GLFWdropfun glfwSetDropCallback(GLFWwindow *window, GLFWdropfun cbfun)
    Sets the file drop callback.
    +
    void(* GLFWcharfun)(GLFWwindow *, unsigned int)
    The function signature for Unicode character callbacks.
    Definition: glfw3.h:1061
    +
    void glfwSetCursor(GLFWwindow *window, GLFWcursor *cursor)
    Sets the cursor for the window.
    +
    const unsigned char * glfwGetJoystickButtons(int joy, int *count)
    Returns the state of all buttons of the specified joystick.
    +
    GLFWmonitor ** glfwGetMonitors(int *count)
    Returns the currently connected monitors.
    +
    void glfwDestroyWindow(GLFWwindow *window)
    Destroys the specified window and its context.
    +
    GLFWcursorposfun glfwSetCursorPosCallback(GLFWwindow *window, GLFWcursorposfun cbfun)
    Sets the cursor position callback.
    +
    unsigned short * green
    Definition: glfw3.h:1186
    +
    GLFWcharfun glfwSetCharCallback(GLFWwindow *window, GLFWcharfun cbfun)
    Sets the Unicode character callback.
    +
    void(* GLFWvkproc)(void)
    Vulkan API function pointer type.
    Definition: glfw3.h:775
    +
    void glfwSetWindowTitle(GLFWwindow *window, const char *title)
    Sets the title of the specified window.
    +
    struct GLFWmonitor GLFWmonitor
    Opaque monitor object.
    Definition: glfw3.h:787
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:799
    +
    void glfwGetMonitorPhysicalSize(GLFWmonitor *monitor, int *widthMM, int *heightMM)
    Returns the physical size of the monitor.
    +
    void glfwShowWindow(GLFWwindow *window)
    Makes the specified window visible.
    +
    void glfwSetWindowSize(GLFWwindow *window, int width, int height)
    Sets the size of the client area of the specified window.
    +
    int greenBits
    Definition: glfw3.h:1159
    +
    const float * glfwGetJoystickAxes(int joy, int *count)
    Returns the values of all axes of the specified joystick.
    +
    GLFWcursor * glfwCreateCursor(const GLFWimage *image, int xhot, int yhot)
    Creates a custom cursor.
    +
    void glfwDestroyCursor(GLFWcursor *cursor)
    Destroys a cursor.
    +
    void glfwSwapBuffers(GLFWwindow *window)
    Swaps the front and back buffers of the specified window.
    +
    void glfwSetGamma(GLFWmonitor *monitor, float gamma)
    Generates a gamma ramp and sets it for the specified monitor.
    +
    void glfwSetInputMode(GLFWwindow *window, int mode, int value)
    Sets an input option for the specified window.
    +
    const GLFWvidmode * glfwGetVideoMode(GLFWmonitor *monitor)
    Returns the current mode of the specified monitor.
    +
    void glfwSetClipboardString(GLFWwindow *window, const char *string)
    Sets the clipboard to the specified string.
    +
    void glfwGetWindowFrameSize(GLFWwindow *window, int *left, int *top, int *right, int *bottom)
    Retrieves the size of the frame of the window.
    +
    void(* GLFWcursorposfun)(GLFWwindow *, double, double)
    The function signature for cursor position callbacks.
    Definition: glfw3.h:989
    +
    void glfwRestoreWindow(GLFWwindow *window)
    Restores the specified window.
    +
    int glfwGetMouseButton(GLFWwindow *window, int button)
    Returns the last reported state of a mouse button for the specified window.
    +
    void(* GLFWwindowsizefun)(GLFWwindow *, int, int)
    The function signature for window resize callbacks.
    Definition: glfw3.h:864
    +
    void glfwSetWindowMonitor(GLFWwindow *window, GLFWmonitor *monitor, int xpos, int ypos, int width, int height, int refreshRate)
    Sets the mode, monitor, video mode and placement of a window.
    +
    void glfwSetTime(double time)
    Sets the GLFW timer.
    +
    void glfwFocusWindow(GLFWwindow *window)
    Brings the specified window to front and sets input focus.
    +
    struct GLFWgammaramp GLFWgammaramp
    Gamma ramp.
    +
    GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
    Creates a window and its associated context.
    +
    unsigned int size
    Definition: glfw3.h:1192
    +
    void glfwSetWindowUserPointer(GLFWwindow *window, void *pointer)
    Sets the user pointer of the specified window.
    +
    void glfwSetWindowShouldClose(GLFWwindow *window, int value)
    Sets the close flag of the specified window.
    +
    GLFWvkproc glfwGetInstanceProcAddress(VkInstance instance, const char *procname)
    Returns the address of the specified Vulkan instance function.
    +
    void glfwPostEmptyEvent(void)
    Posts an empty event to the event queue.
    +
    void glfwWaitEventsTimeout(double timeout)
    Waits with timeout until events are queued and processes them.
    +
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback(GLFWwindow *window, GLFWframebuffersizefun cbfun)
    Sets the framebuffer resize callback for the specified window.
    +
    void(* GLFWframebuffersizefun)(GLFWwindow *, int, int)
    The function signature for framebuffer resize callbacks.
    Definition: glfw3.h:949
    +
    int glfwJoystickPresent(int joy)
    Returns whether the specified joystick is present.
    +
    GLFWjoystickfun glfwSetJoystickCallback(GLFWjoystickfun cbfun)
    Sets the joystick configuration callback.
    +
    int glfwGetPhysicalDevicePresentationSupport(VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily)
    Returns whether the specified queue family can present images.
    +
    void(* GLFWwindowposfun)(GLFWwindow *, int, int)
    The function signature for window position callbacks.
    Definition: glfw3.h:846
    +
    void glfwPollEvents(void)
    Processes all pending events.
    +
    uint64_t glfwGetTimerValue(void)
    Returns the current value of the raw timer.
    +
    void glfwHideWindow(GLFWwindow *window)
    Hides the specified window.
    +
    GLFWwindow * glfwGetCurrentContext(void)
    Returns the window whose context is current on the calling thread.
    +
    void glfwSetGammaRamp(GLFWmonitor *monitor, const GLFWgammaramp *ramp)
    Sets the current gamma ramp for the specified monitor.
    +
    uint64_t glfwGetTimerFrequency(void)
    Returns the frequency, in Hz, of the raw timer.
    +
    GLFWcursorenterfun glfwSetCursorEnterCallback(GLFWwindow *window, GLFWcursorenterfun cbfun)
    Sets the cursor enter/exit callback.
    +
    int width
    Definition: glfw3.h:1207
    +
    GLFWmonitor * glfwGetWindowMonitor(GLFWwindow *window)
    Returns the monitor that the window uses for full screen mode.
    +
    GLFWmousebuttonfun glfwSetMouseButtonCallback(GLFWwindow *window, GLFWmousebuttonfun cbfun)
    Sets the mouse button callback.
    +
    GLFWmonitor * glfwGetPrimaryMonitor(void)
    Returns the primary monitor.
    +
    int glfwGetKey(GLFWwindow *window, int key)
    Returns the last reported state of a keyboard key for the specified window.
    +
    void glfwMakeContextCurrent(GLFWwindow *window)
    Makes the context of the specified window current for the calling thread.
    +
    Gamma ramp.
    Definition: glfw3.h:1179
    +
    GLFWwindowclosefun glfwSetWindowCloseCallback(GLFWwindow *window, GLFWwindowclosefun cbfun)
    Sets the close callback for the specified window.
    +
    void(* GLFWjoystickfun)(int, int)
    The function signature for joystick configuration callbacks.
    Definition: glfw3.h:1132
    +
    GLFWscrollfun glfwSetScrollCallback(GLFWwindow *window, GLFWscrollfun cbfun)
    Sets the scroll callback.
    +
    unsigned short * blue
    Definition: glfw3.h:1189
    +
    Video mode type.
    Definition: glfw3.h:1146
    +
    int glfwVulkanSupported(void)
    Returns whether the Vulkan loader has been found.
    +
    void glfwSetWindowPos(GLFWwindow *window, int xpos, int ypos)
    Sets the position of the client area of the specified window.
    +
    int glfwExtensionSupported(const char *extension)
    Returns whether the specified extension is available.
    +
    void glfwGetFramebufferSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the framebuffer of the specified window.
    +
    void(* GLFWwindowclosefun)(GLFWwindow *)
    The function signature for window close callbacks.
    Definition: glfw3.h:880
    +
    void glfwWindowHint(int hint, int value)
    Sets the specified window hint to the desired value.
    +
    GLFWcursor * glfwCreateStandardCursor(int shape)
    Creates a cursor with a standard shape.
    +
    void glfwSwapInterval(int interval)
    Sets the swap interval for the current context.
    +
    GLFWcharmodsfun glfwSetCharModsCallback(GLFWwindow *window, GLFWcharmodsfun cbfun)
    Sets the Unicode character with modifiers callback.
    +
    const char ** glfwGetRequiredInstanceExtensions(uint32_t *count)
    Returns the Vulkan instance extensions required by GLFW.
    +
    void(* GLFWcursorenterfun)(GLFWwindow *, int)
    The function signature for cursor enter/leave callbacks.
    Definition: glfw3.h:1006
    +
    int glfwInit(void)
    Initializes the GLFW library.
    +
    Image data.
    Definition: glfw3.h:1203
    +
    void(* GLFWscrollfun)(GLFWwindow *, double, double)
    The function signature for scroll callbacks.
    Definition: glfw3.h:1023
    +
    void glfwGetMonitorPos(GLFWmonitor *monitor, int *xpos, int *ypos)
    Returns the position of the monitor&#39;s viewport on the virtual screen.
    +
    struct GLFWvidmode GLFWvidmode
    Video mode type.
    +
    void glfwDefaultWindowHints(void)
    Resets all window hints to their default values.
    +
    GLFWwindowfocusfun glfwSetWindowFocusCallback(GLFWwindow *window, GLFWwindowfocusfun cbfun)
    Sets the focus callback for the specified window.
    +
    void glfwTerminate(void)
    Terminates the GLFW library.
    +
    void glfwSetWindowIcon(GLFWwindow *window, int count, const GLFWimage *images)
    Sets the icon for the specified window.
    +
    struct GLFWimage GLFWimage
    Image data.
    +
    GLFWmonitorfun glfwSetMonitorCallback(GLFWmonitorfun cbfun)
    Sets the monitor configuration callback.
    +
    void(* GLFWwindowrefreshfun)(GLFWwindow *)
    The function signature for window content refresh callbacks.
    Definition: glfw3.h:896
    +
    void(* GLFWglproc)(void)
    Client API function pointer type.
    Definition: glfw3.h:761
    +
    const char * glfwGetMonitorName(GLFWmonitor *monitor)
    Returns the name of the specified monitor.
    +
    void(* GLFWerrorfun)(int, const char *)
    The function signature for error callbacks.
    Definition: glfw3.h:827
    +
    void glfwSetWindowAspectRatio(GLFWwindow *window, int numer, int denom)
    Sets the aspect ratio of the specified window.
    +
    int glfwWindowShouldClose(GLFWwindow *window)
    Checks the close flag of the specified window.
    +
    int glfwGetWindowAttrib(GLFWwindow *window, int attrib)
    Returns an attribute of the specified window.
    +
    void(* GLFWwindowfocusfun)(GLFWwindow *, int)
    The function signature for window focus/defocus callbacks.
    Definition: glfw3.h:913
    +
    + + + diff --git a/docs/3.2/glfw3native_8h.html b/docs/3.2/glfw3native_8h.html new file mode 100644 index 0000000..3f327ee --- /dev/null +++ b/docs/3.2/glfw3native_8h.html @@ -0,0 +1,153 @@ + + + + + + +GLFW: glfw3native.h File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    + +
    +
    glfw3native.h File Reference
    +
    +
    +

    Description

    +

    This is the header file of the native access functions. See Native access for more information.

    +
    +

    Go to the source code of this file.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    const char * glfwGetWin32Adapter (GLFWmonitor *monitor)
     Returns the adapter device name of the specified monitor. More...
     
    const char * glfwGetWin32Monitor (GLFWmonitor *monitor)
     Returns the display device name of the specified monitor. More...
     
    HWND glfwGetWin32Window (GLFWwindow *window)
     Returns the HWND of the specified window. More...
     
    HGLRC glfwGetWGLContext (GLFWwindow *window)
     Returns the HGLRC of the specified window. More...
     
    CGDirectDisplayID glfwGetCocoaMonitor (GLFWmonitor *monitor)
     Returns the CGDirectDisplayID of the specified monitor. More...
     
    id glfwGetCocoaWindow (GLFWwindow *window)
     Returns the NSWindow of the specified window. More...
     
    id glfwGetNSGLContext (GLFWwindow *window)
     Returns the NSOpenGLContext of the specified window. More...
     
    Display * glfwGetX11Display (void)
     Returns the Display used by GLFW. More...
     
    RRCrtc glfwGetX11Adapter (GLFWmonitor *monitor)
     Returns the RRCrtc of the specified monitor. More...
     
    RROutput glfwGetX11Monitor (GLFWmonitor *monitor)
     Returns the RROutput of the specified monitor. More...
     
    Window glfwGetX11Window (GLFWwindow *window)
     Returns the Window of the specified window. More...
     
    GLXContext glfwGetGLXContext (GLFWwindow *window)
     Returns the GLXContext of the specified window. More...
     
    GLXWindow glfwGetGLXWindow (GLFWwindow *window)
     Returns the GLXWindow of the specified window. More...
     
    struct wl_display * glfwGetWaylandDisplay (void)
     Returns the struct wl_display* used by GLFW. More...
     
    struct wl_output * glfwGetWaylandMonitor (GLFWmonitor *monitor)
     Returns the struct wl_output* of the specified monitor. More...
     
    struct wl_surface * glfwGetWaylandWindow (GLFWwindow *window)
     Returns the main struct wl_surface* of the specified window. More...
     
    MirConnection * glfwGetMirDisplay (void)
     Returns the MirConnection* used by GLFW. More...
     
    int glfwGetMirMonitor (GLFWmonitor *monitor)
     Returns the Mir output ID of the specified monitor. More...
     
    MirSurface * glfwGetMirWindow (GLFWwindow *window)
     Returns the MirSurface* of the specified window. More...
     
    EGLDisplay glfwGetEGLDisplay (void)
     Returns the EGLDisplay used by GLFW. More...
     
    EGLContext glfwGetEGLContext (GLFWwindow *window)
     Returns the EGLContext of the specified window. More...
     
    EGLSurface glfwGetEGLSurface (GLFWwindow *window)
     Returns the EGLSurface of the specified window. More...
     
    +
    + + + diff --git a/docs/3.2/glfw3native_8h_source.html b/docs/3.2/glfw3native_8h_source.html new file mode 100644 index 0000000..75ecfd8 --- /dev/null +++ b/docs/3.2/glfw3native_8h_source.html @@ -0,0 +1,101 @@ + + + + + + +GLFW: glfw3native.h Source File + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    glfw3native.h
    +
    +
    +Go to the documentation of this file.
    1 /*************************************************************************
    2  * GLFW 3.2 - www.glfw.org
    3  * A library for OpenGL, window and input
    4  *------------------------------------------------------------------------
    5  * Copyright (c) 2002-2006 Marcus Geelnard
    6  * Copyright (c) 2006-2016 Camilla Berglund <elmindreda@glfw.org>
    7  *
    8  * This software is provided 'as-is', without any express or implied
    9  * warranty. In no event will the authors be held liable for any damages
    10  * arising from the use of this software.
    11  *
    12  * Permission is granted to anyone to use this software for any purpose,
    13  * including commercial applications, and to alter it and redistribute it
    14  * freely, subject to the following restrictions:
    15  *
    16  * 1. The origin of this software must not be misrepresented; you must not
    17  * claim that you wrote the original software. If you use this software
    18  * in a product, an acknowledgment in the product documentation would
    19  * be appreciated but is not required.
    20  *
    21  * 2. Altered source versions must be plainly marked as such, and must not
    22  * be misrepresented as being the original software.
    23  *
    24  * 3. This notice may not be removed or altered from any source
    25  * distribution.
    26  *
    27  *************************************************************************/
    28 
    29 #ifndef _glfw3_native_h_
    30 #define _glfw3_native_h_
    31 
    32 #ifdef __cplusplus
    33 extern "C" {
    34 #endif
    35 
    36 
    37 /*************************************************************************
    38  * Doxygen documentation
    39  *************************************************************************/
    40 
    79 /*************************************************************************
    80  * System headers and types
    81  *************************************************************************/
    82 
    83 #if defined(GLFW_EXPOSE_NATIVE_WIN32)
    84  // This is a workaround for the fact that glfw3.h needs to export APIENTRY (for
    85  // example to allow applications to correctly declare a GL_ARB_debug_output
    86  // callback) but windows.h assumes no one will define APIENTRY before it does
    87  #undef APIENTRY
    88  #include <windows.h>
    89 #elif defined(GLFW_EXPOSE_NATIVE_COCOA)
    90  #include <ApplicationServices/ApplicationServices.h>
    91  #if defined(__OBJC__)
    92  #import <Cocoa/Cocoa.h>
    93  #else
    94  typedef void* id;
    95  #endif
    96 #elif defined(GLFW_EXPOSE_NATIVE_X11)
    97  #include <X11/Xlib.h>
    98  #include <X11/extensions/Xrandr.h>
    99 #elif defined(GLFW_EXPOSE_NATIVE_WAYLAND)
    100  #include <wayland-client.h>
    101 #elif defined(GLFW_EXPOSE_NATIVE_MIR)
    102  #include <mir_toolkit/mir_client_library.h>
    103 #endif
    104 
    105 #if defined(GLFW_EXPOSE_NATIVE_WGL)
    106  /* WGL is declared by windows.h */
    107 #endif
    108 #if defined(GLFW_EXPOSE_NATIVE_NSGL)
    109  /* NSGL is declared by Cocoa.h */
    110 #endif
    111 #if defined(GLFW_EXPOSE_NATIVE_GLX)
    112  #include <GL/glx.h>
    113 #endif
    114 #if defined(GLFW_EXPOSE_NATIVE_EGL)
    115  #include <EGL/egl.h>
    116 #endif
    117 
    118 
    119 /*************************************************************************
    120  * Functions
    121  *************************************************************************/
    122 
    123 #if defined(GLFW_EXPOSE_NATIVE_WIN32)
    124 
    137 GLFWAPI const char* glfwGetWin32Adapter(GLFWmonitor* monitor);
    138 
    152 GLFWAPI const char* glfwGetWin32Monitor(GLFWmonitor* monitor);
    153 
    166 GLFWAPI HWND glfwGetWin32Window(GLFWwindow* window);
    167 #endif
    168 
    169 #if defined(GLFW_EXPOSE_NATIVE_WGL)
    170 
    182 GLFWAPI HGLRC glfwGetWGLContext(GLFWwindow* window);
    183 #endif
    184 
    185 #if defined(GLFW_EXPOSE_NATIVE_COCOA)
    186 
    198 GLFWAPI CGDirectDisplayID glfwGetCocoaMonitor(GLFWmonitor* monitor);
    199 
    212 GLFWAPI id glfwGetCocoaWindow(GLFWwindow* window);
    213 #endif
    214 
    215 #if defined(GLFW_EXPOSE_NATIVE_NSGL)
    216 
    228 GLFWAPI id glfwGetNSGLContext(GLFWwindow* window);
    229 #endif
    230 
    231 #if defined(GLFW_EXPOSE_NATIVE_X11)
    232 
    244 GLFWAPI Display* glfwGetX11Display(void);
    245 
    258 GLFWAPI RRCrtc glfwGetX11Adapter(GLFWmonitor* monitor);
    259 
    272 GLFWAPI RROutput glfwGetX11Monitor(GLFWmonitor* monitor);
    273 
    286 GLFWAPI Window glfwGetX11Window(GLFWwindow* window);
    287 #endif
    288 
    289 #if defined(GLFW_EXPOSE_NATIVE_GLX)
    290 
    302 GLFWAPI GLXContext glfwGetGLXContext(GLFWwindow* window);
    303 
    316 GLFWAPI GLXWindow glfwGetGLXWindow(GLFWwindow* window);
    317 #endif
    318 
    319 #if defined(GLFW_EXPOSE_NATIVE_WAYLAND)
    320 
    332 GLFWAPI struct wl_display* glfwGetWaylandDisplay(void);
    333 
    346 GLFWAPI struct wl_output* glfwGetWaylandMonitor(GLFWmonitor* monitor);
    347 
    360 GLFWAPI struct wl_surface* glfwGetWaylandWindow(GLFWwindow* window);
    361 #endif
    362 
    363 #if defined(GLFW_EXPOSE_NATIVE_MIR)
    364 
    376 GLFWAPI MirConnection* glfwGetMirDisplay(void);
    377 
    390 GLFWAPI int glfwGetMirMonitor(GLFWmonitor* monitor);
    391 
    404 GLFWAPI MirSurface* glfwGetMirWindow(GLFWwindow* window);
    405 #endif
    406 
    407 #if defined(GLFW_EXPOSE_NATIVE_EGL)
    408 
    420 GLFWAPI EGLDisplay glfwGetEGLDisplay(void);
    421 
    434 GLFWAPI EGLContext glfwGetEGLContext(GLFWwindow* window);
    435 
    448 GLFWAPI EGLSurface glfwGetEGLSurface(GLFWwindow* window);
    449 #endif
    450 
    451 #ifdef __cplusplus
    452 }
    453 #endif
    454 
    455 #endif /* _glfw3_native_h_ */
    456 
    HGLRC glfwGetWGLContext(GLFWwindow *window)
    Returns the HGLRC of the specified window.
    +
    id glfwGetCocoaWindow(GLFWwindow *window)
    Returns the NSWindow of the specified window.
    +
    EGLSurface glfwGetEGLSurface(GLFWwindow *window)
    Returns the EGLSurface of the specified window.
    +
    MirSurface * glfwGetMirWindow(GLFWwindow *window)
    Returns the MirSurface* of the specified window.
    +
    const char * glfwGetWin32Monitor(GLFWmonitor *monitor)
    Returns the display device name of the specified monitor.
    +
    CGDirectDisplayID glfwGetCocoaMonitor(GLFWmonitor *monitor)
    Returns the CGDirectDisplayID of the specified monitor.
    +
    RRCrtc glfwGetX11Adapter(GLFWmonitor *monitor)
    Returns the RRCrtc of the specified monitor.
    +
    MirConnection * glfwGetMirDisplay(void)
    Returns the MirConnection* used by GLFW.
    +
    HWND glfwGetWin32Window(GLFWwindow *window)
    Returns the HWND of the specified window.
    +
    id glfwGetNSGLContext(GLFWwindow *window)
    Returns the NSOpenGLContext of the specified window.
    +
    EGLDisplay glfwGetEGLDisplay(void)
    Returns the EGLDisplay used by GLFW.
    +
    Window glfwGetX11Window(GLFWwindow *window)
    Returns the Window of the specified window.
    +
    struct GLFWmonitor GLFWmonitor
    Opaque monitor object.
    Definition: glfw3.h:787
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:799
    +
    Display * glfwGetX11Display(void)
    Returns the Display used by GLFW.
    +
    GLXContext glfwGetGLXContext(GLFWwindow *window)
    Returns the GLXContext of the specified window.
    +
    EGLContext glfwGetEGLContext(GLFWwindow *window)
    Returns the EGLContext of the specified window.
    +
    const char * glfwGetWin32Adapter(GLFWmonitor *monitor)
    Returns the adapter device name of the specified monitor.
    +
    GLXWindow glfwGetGLXWindow(GLFWwindow *window)
    Returns the GLXWindow of the specified window.
    +
    struct wl_output * glfwGetWaylandMonitor(GLFWmonitor *monitor)
    Returns the struct wl_output* of the specified monitor.
    +
    struct wl_display * glfwGetWaylandDisplay(void)
    Returns the struct wl_display* used by GLFW.
    +
    RROutput glfwGetX11Monitor(GLFWmonitor *monitor)
    Returns the RROutput of the specified monitor.
    +
    int glfwGetMirMonitor(GLFWmonitor *monitor)
    Returns the Mir output ID of the specified monitor.
    +
    struct wl_surface * glfwGetWaylandWindow(GLFWwindow *window)
    Returns the main struct wl_surface* of the specified window.
    +
    + + + diff --git a/docs/3.2/group__buttons.html b/docs/3.2/group__buttons.html new file mode 100644 index 0000000..95587ce --- /dev/null +++ b/docs/3.2/group__buttons.html @@ -0,0 +1,274 @@ + + + + + + +GLFW: Mouse buttons + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Mouse buttons
    +
    +
    +

    Description

    +

    See mouse button input for how these are used.

    + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_MOUSE_BUTTON_1   0
     
    #define GLFW_MOUSE_BUTTON_2   1
     
    #define GLFW_MOUSE_BUTTON_3   2
     
    #define GLFW_MOUSE_BUTTON_4   3
     
    #define GLFW_MOUSE_BUTTON_5   4
     
    #define GLFW_MOUSE_BUTTON_6   5
     
    #define GLFW_MOUSE_BUTTON_7   6
     
    #define GLFW_MOUSE_BUTTON_8   7
     
    #define GLFW_MOUSE_BUTTON_LAST   GLFW_MOUSE_BUTTON_8
     
    #define GLFW_MOUSE_BUTTON_LEFT   GLFW_MOUSE_BUTTON_1
     
    #define GLFW_MOUSE_BUTTON_RIGHT   GLFW_MOUSE_BUTTON_2
     
    #define GLFW_MOUSE_BUTTON_MIDDLE   GLFW_MOUSE_BUTTON_3
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_MOUSE_BUTTON_1

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_1   0
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_2

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_2   1
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_3

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_3   2
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_4

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_4   3
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_5

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_5   4
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_6

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_6   5
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_7

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_7   6
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_8

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_8   7
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_LAST

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_LAST   GLFW_MOUSE_BUTTON_8
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_LEFT

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_LEFT   GLFW_MOUSE_BUTTON_1
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_MIDDLE

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_MIDDLE   GLFW_MOUSE_BUTTON_3
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_RIGHT

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_RIGHT   GLFW_MOUSE_BUTTON_2
    +
    + +
    +
    +
    + + + diff --git a/docs/3.2/group__context.html b/docs/3.2/group__context.html new file mode 100644 index 0000000..0f41535 --- /dev/null +++ b/docs/3.2/group__context.html @@ -0,0 +1,293 @@ + + + + + + +GLFW: Context reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Context reference
    +
    +
    +

    Description

    +

    This is the reference documentation for OpenGL and OpenGL ES context related functions. For more task-oriented information, see the Context guide.

    + + + + + +

    +Typedefs

    typedef void(* GLFWglproc) (void)
     Client API function pointer type. More...
     
    + + + + + + + + + + + + + + + + +

    +Functions

    void glfwMakeContextCurrent (GLFWwindow *window)
     Makes the context of the specified window current for the calling thread. More...
     
    GLFWwindowglfwGetCurrentContext (void)
     Returns the window whose context is current on the calling thread. More...
     
    void glfwSwapInterval (int interval)
     Sets the swap interval for the current context. More...
     
    int glfwExtensionSupported (const char *extension)
     Returns whether the specified extension is available. More...
     
    GLFWglproc glfwGetProcAddress (const char *procname)
     Returns the address of the specified function for the current context. More...
     
    +

    Typedef Documentation

    + +

    ◆ GLFWglproc

    + +
    +
    + + + + +
    typedef void(* GLFWglproc) (void)
    +
    +

    Generic function pointer used for returning client API function pointers without forcing a cast from a regular pointer.

    +
    See also
    OpenGL and OpenGL ES extensions
    +
    +glfwGetProcAddress
    +
    Since
    Added in version 3.0.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwExtensionSupported()

    + +
    +
    + + + + + + + + +
    int glfwExtensionSupported (const char * extension)
    +
    +

    This function returns whether the specified API extension is supported by the current OpenGL or OpenGL ES context. It searches both for client API extension and context creation API extensions.

    +

    A context must be current on the calling thread. Calling this function without a current context will cause a GLFW_NO_CURRENT_CONTEXT error.

    +

    As this functions retrieves and searches one or more extension strings each call, it is recommended that you cache its results if it is going to be used frequently. The extension strings will not change during the lifetime of a context, so there is no danger in doing this.

    +

    This function does not apply to Vulkan. If you are using Vulkan, see glfwGetRequiredInstanceExtensions, vkEnumerateInstanceExtensionProperties and vkEnumerateDeviceExtensionProperties instead.

    +
    Parameters
    + + +
    [in]extensionThe ASCII encoded name of the extension.
    +
    +
    +
    Returns
    GLFW_TRUE if the extension is available, or GLFW_FALSE otherwise.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_NO_CURRENT_CONTEXT, GLFW_INVALID_VALUE and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    OpenGL and OpenGL ES extensions
    +
    +glfwGetProcAddress
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwGetCurrentContext()

    + +
    +
    + + + + + + + + +
    GLFWwindow* glfwGetCurrentContext (void )
    +
    +

    This function returns the window whose OpenGL or OpenGL ES context is current on the calling thread.

    +
    Returns
    The window whose context is current, or NULL if no window's context is current.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Current context
    +
    +glfwMakeContextCurrent
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetProcAddress()

    + +
    +
    + + + + + + + + +
    GLFWglproc glfwGetProcAddress (const char * procname)
    +
    +

    This function returns the address of the specified OpenGL or OpenGL ES core or extension function, if it is supported by the current context.

    +

    A context must be current on the calling thread. Calling this function without a current context will cause a GLFW_NO_CURRENT_CONTEXT error.

    +

    This function does not apply to Vulkan. If you are rendering with Vulkan, see glfwGetInstanceProcAddress, vkGetInstanceProcAddr and vkGetDeviceProcAddr instead.

    +
    Parameters
    + + +
    [in]procnameThe ASCII encoded name of the function.
    +
    +
    +
    Returns
    The address of the function, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_NO_CURRENT_CONTEXT and GLFW_PLATFORM_ERROR.
    +
    Remarks
    The address of a given function is not guaranteed to be the same between contexts.
    +
    +This function may return a non-NULL address despite the associated version or extension not being available. Always check the context version or extension string first.
    +
    Pointer lifetime
    The returned function pointer is valid until the context is destroyed or the library is terminated.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    OpenGL and OpenGL ES extensions
    +
    +glfwExtensionSupported
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwMakeContextCurrent()

    + +
    +
    + + + + + + + + +
    void glfwMakeContextCurrent (GLFWwindowwindow)
    +
    +

    This function makes the OpenGL or OpenGL ES context of the specified window current on the calling thread. A context can only be made current on a single thread at a time and each thread can have only a single current context at a time.

    +

    By default, making a context non-current implicitly forces a pipeline flush. On machines that support GL_KHR_context_flush_control, you can control whether a context performs this flush by setting the GLFW_CONTEXT_RELEASE_BEHAVIOR window hint.

    +

    The specified window must have an OpenGL or OpenGL ES context. Specifying a window without a context will generate a GLFW_NO_WINDOW_CONTEXT error.

    +
    Parameters
    + + +
    [in]windowThe window whose context to make current, or NULL to detach the current context.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_NO_WINDOW_CONTEXT and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Current context
    +
    +glfwGetCurrentContext
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSwapInterval()

    + +
    +
    + + + + + + + + +
    void glfwSwapInterval (int interval)
    +
    +

    This function sets the swap interval for the current OpenGL or OpenGL ES context, i.e. the number of screen updates to wait from the time glfwSwapBuffers was called before swapping the buffers and returning. This is sometimes called vertical synchronization, vertical retrace synchronization or just vsync.

    +

    Contexts that support either of the WGL_EXT_swap_control_tear and GLX_EXT_swap_control_tear extensions also accept negative swap intervals, which allow the driver to swap even if a frame arrives a little bit late. You can check for the presence of these extensions using glfwExtensionSupported. For more information about swap tearing, see the extension specifications.

    +

    A context must be current on the calling thread. Calling this function without a current context will cause a GLFW_NO_CURRENT_CONTEXT error.

    +

    This function does not apply to Vulkan. If you are rendering with Vulkan, see the present mode of your swapchain instead.

    +
    Parameters
    + + +
    [in]intervalThe minimum number of screen updates to wait for until the buffers are swapped by glfwSwapBuffers.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_NO_CURRENT_CONTEXT and GLFW_PLATFORM_ERROR.
    +
    Remarks
    This function is not called during context creation, leaving the swap interval set to whatever is the default on that platform. This is done because some swap interval extensions used by GLFW do not allow the swap interval to be reset to zero once it has been set to a non-zero value.
    +
    +Some GPU drivers do not honor the requested swap interval, either because of a user setting that overrides the application's request or due to bugs in the driver.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Buffer swapping
    +
    +glfwSwapBuffers
    +
    Since
    Added in version 1.0.
    + +
    +
    +
    + + + diff --git a/docs/3.2/group__errors.html b/docs/3.2/group__errors.html new file mode 100644 index 0000000..752fc51 --- /dev/null +++ b/docs/3.2/group__errors.html @@ -0,0 +1,277 @@ + + + + + + +GLFW: Error codes + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + + +
    +

    Description

    +

    See error handling for how these are used.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_NOT_INITIALIZED   0x00010001
     GLFW has not been initialized. More...
     
    #define GLFW_NO_CURRENT_CONTEXT   0x00010002
     No context is current for this thread. More...
     
    #define GLFW_INVALID_ENUM   0x00010003
     One of the arguments to the function was an invalid enum value. More...
     
    #define GLFW_INVALID_VALUE   0x00010004
     One of the arguments to the function was an invalid value. More...
     
    #define GLFW_OUT_OF_MEMORY   0x00010005
     A memory allocation failed. More...
     
    #define GLFW_API_UNAVAILABLE   0x00010006
     GLFW could not find support for the requested API on the system. More...
     
    #define GLFW_VERSION_UNAVAILABLE   0x00010007
     The requested OpenGL or OpenGL ES version is not available. More...
     
    #define GLFW_PLATFORM_ERROR   0x00010008
     A platform-specific error occurred that does not match any of the more specific categories. More...
     
    #define GLFW_FORMAT_UNAVAILABLE   0x00010009
     The requested format is not supported or available. More...
     
    #define GLFW_NO_WINDOW_CONTEXT   0x0001000A
     The specified window does not have an OpenGL or OpenGL ES context. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_API_UNAVAILABLE

    + +
    +
    + + + + +
    #define GLFW_API_UNAVAILABLE   0x00010006
    +
    +

    GLFW could not find support for the requested API on the system.

    +
    Analysis
    The installed graphics driver does not support the requested API, or does not support it via the chosen context creation backend. Below are a few examples.
    +
    Some pre-installed Windows graphics drivers do not support OpenGL. AMD only supports OpenGL ES via EGL, while Nvidia and Intel only support it via a WGL or GLX extension. OS X does not provide OpenGL ES at all. The Mesa EGL, OpenGL and OpenGL ES libraries do not interface with the Nvidia binary driver. Older graphics drivers do not support Vulkan.
    + +
    +
    + +

    ◆ GLFW_FORMAT_UNAVAILABLE

    + +
    +
    + + + + +
    #define GLFW_FORMAT_UNAVAILABLE   0x00010009
    +
    +

    If emitted during window creation, the requested pixel format is not supported.

    +

    If emitted when querying the clipboard, the contents of the clipboard could not be converted to the requested format.

    +
    Analysis
    If emitted during window creation, one or more hard constraints did not match any of the available pixel formats. If your application is sufficiently flexible, downgrade your requirements and try again. Otherwise, inform the user that their machine does not match your requirements.
    +
    If emitted when querying the clipboard, ignore the error or report it to the user, as appropriate.
    + +
    +
    + +

    ◆ GLFW_INVALID_ENUM

    + +
    +
    + + + + +
    #define GLFW_INVALID_ENUM   0x00010003
    +
    +

    One of the arguments to the function was an invalid enum value, for example requesting GLFW_RED_BITS with glfwGetWindowAttrib.

    +
    Analysis
    Application programmer error. Fix the offending call.
    + +
    +
    + +

    ◆ GLFW_INVALID_VALUE

    + +
    +
    + + + + +
    #define GLFW_INVALID_VALUE   0x00010004
    +
    +

    One of the arguments to the function was an invalid value, for example requesting a non-existent OpenGL or OpenGL ES version like 2.7.

    +

    Requesting a valid but unavailable OpenGL or OpenGL ES version will instead result in a GLFW_VERSION_UNAVAILABLE error.

    +
    Analysis
    Application programmer error. Fix the offending call.
    + +
    +
    + +

    ◆ GLFW_NO_CURRENT_CONTEXT

    + +
    +
    + + + + +
    #define GLFW_NO_CURRENT_CONTEXT   0x00010002
    +
    +

    This occurs if a GLFW function was called that needs and operates on the current OpenGL or OpenGL ES context but no context is current on the calling thread. One such function is glfwSwapInterval.

    +
    Analysis
    Application programmer error. Ensure a context is current before calling functions that require a current context.
    + +
    +
    + +

    ◆ GLFW_NO_WINDOW_CONTEXT

    + +
    +
    + + + + +
    #define GLFW_NO_WINDOW_CONTEXT   0x0001000A
    +
    +

    A window that does not have an OpenGL or OpenGL ES context was passed to a function that requires it to have one.

    +
    Analysis
    Application programmer error. Fix the offending call.
    + +
    +
    + +

    ◆ GLFW_NOT_INITIALIZED

    + +
    +
    + + + + +
    #define GLFW_NOT_INITIALIZED   0x00010001
    +
    +

    This occurs if a GLFW function was called that must not be called unless the library is initialized.

    +
    Analysis
    Application programmer error. Initialize GLFW before calling any function that requires initialization.
    + +
    +
    + +

    ◆ GLFW_OUT_OF_MEMORY

    + +
    +
    + + + + +
    #define GLFW_OUT_OF_MEMORY   0x00010005
    +
    +

    A memory allocation failed.

    +
    Analysis
    A bug in GLFW or the underlying operating system. Report the bug to our issue tracker.
    + +
    +
    + +

    ◆ GLFW_PLATFORM_ERROR

    + +
    +
    + + + + +
    #define GLFW_PLATFORM_ERROR   0x00010008
    +
    +

    A platform-specific error occurred that does not match any of the more specific categories.

    +
    Analysis
    A bug or configuration error in GLFW, the underlying operating system or its drivers, or a lack of required resources. Report the issue to our issue tracker.
    + +
    +
    + +

    ◆ GLFW_VERSION_UNAVAILABLE

    + +
    +
    + + + + +
    #define GLFW_VERSION_UNAVAILABLE   0x00010007
    +
    +

    The requested OpenGL or OpenGL ES version (including any requested context or framebuffer hints) is not available on this machine.

    +
    Analysis
    The machine does not support your requirements. If your application is sufficiently flexible, downgrade your requirements and try again. Otherwise, inform the user that their machine does not match your requirements.
    +
    Future invalid OpenGL and OpenGL ES versions, for example OpenGL 4.8 if 5.0 comes out before the 4.x series gets that far, also fail with this error and not GLFW_INVALID_VALUE, because GLFW cannot know what future versions will exist.
    + +
    +
    +
    + + + diff --git a/docs/3.2/group__init.html b/docs/3.2/group__init.html new file mode 100644 index 0000000..57a4856 --- /dev/null +++ b/docs/3.2/group__init.html @@ -0,0 +1,355 @@ + + + + + + +GLFW: Initialization, version and error reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Initialization, version and error reference
    +
    +
    +

    Description

    +

    This is the reference documentation for initialization and termination of the library, version management and error handling. For more task-oriented information, see the Introduction to the API.

    + + + + +

    +Modules

     Error codes
     
    + + + + +

    +Typedefs

    typedef void(* GLFWerrorfun) (int, const char *)
     The function signature for error callbacks. More...
     
    + + + + + + + + + + + + + + + + +

    +Functions

    int glfwInit (void)
     Initializes the GLFW library. More...
     
    void glfwTerminate (void)
     Terminates the GLFW library. More...
     
    void glfwGetVersion (int *major, int *minor, int *rev)
     Retrieves the version of the GLFW library. More...
     
    const char * glfwGetVersionString (void)
     Returns a string describing the compile-time configuration. More...
     
    GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun cbfun)
     Sets the error callback. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_VERSION_MAJOR

    + +
    +
    + + + + +
    #define GLFW_VERSION_MAJOR   3
    +
    +

    This is incremented when the API is changed in non-compatible ways.

    + +
    +
    + +

    ◆ GLFW_VERSION_MINOR

    + +
    +
    + + + + +
    #define GLFW_VERSION_MINOR   2
    +
    +

    This is incremented when features are added to the API but it remains backward-compatible.

    + +
    +
    + +

    ◆ GLFW_VERSION_REVISION

    + +
    +
    + + + + +
    #define GLFW_VERSION_REVISION   1
    +
    +

    This is incremented when a bug fix release is made that does not contain any API changes.

    + +
    +
    +

    Typedef Documentation

    + +

    ◆ GLFWerrorfun

    + +
    +
    + + + + +
    typedef void(* GLFWerrorfun) (int, const char *)
    +
    +

    This is the function signature for error callback functions.

    +
    Parameters
    + + + +
    [in]errorAn error code.
    [in]descriptionA UTF-8 encoded string describing the error.
    +
    +
    +
    See also
    Error handling
    +
    +glfwSetErrorCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwGetVersion()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetVersion (int * major,
    int * minor,
    int * rev 
    )
    +
    +

    This function retrieves the major, minor and revision numbers of the GLFW library. It is intended for when you are using GLFW as a shared library and want to ensure that you are using the minimum required version.

    +

    Any or all of the version arguments may be NULL.

    +
    Parameters
    + + + + +
    [out]majorWhere to store the major version number, or NULL.
    [out]minorWhere to store the minor version number, or NULL.
    [out]revWhere to store the revision number, or NULL.
    +
    +
    +
    Errors
    None.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Version management
    +
    +glfwGetVersionString
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwGetVersionString()

    + +
    +
    + + + + + + + + +
    const char* glfwGetVersionString (void )
    +
    +

    This function returns the compile-time generated version string of the GLFW library binary. It describes the version, platform, compiler and any platform-specific compile-time options. It should not be confused with the OpenGL or OpenGL ES version string, queried with glGetString.

    +

    Do not use the version string to parse the GLFW library version. The glfwGetVersion function provides the version of the running library binary in numerical format.

    +
    Returns
    The ASCII encoded GLFW version string.
    +
    Errors
    None.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Pointer lifetime
    The returned string is static and compile-time generated.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Version management
    +
    +glfwGetVersion
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwInit()

    + +
    +
    + + + + + + + + +
    int glfwInit (void )
    +
    +

    This function initializes the GLFW library. Before most GLFW functions can be used, GLFW must be initialized, and before an application terminates GLFW should be terminated in order to free any resources allocated during or after initialization.

    +

    If this function fails, it calls glfwTerminate before returning. If it succeeds, you should call glfwTerminate before the application exits.

    +

    Additional calls to this function after successful initialization but before termination will return GLFW_TRUE immediately.

    +
    Returns
    GLFW_TRUE if successful, or GLFW_FALSE if an error occurred.
    +
    Errors
    Possible errors include GLFW_PLATFORM_ERROR.
    +
    Remarks
    OS X: This function will change the current directory of the application to the Contents/Resources subdirectory of the application's bundle, if present. This can be disabled with a compile-time option.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Initialization and termination
    +
    +glfwTerminate
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwSetErrorCallback()

    + +
    +
    + + + + + + + + +
    GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun cbfun)
    +
    +

    This function sets the error callback, which is called with an error code and a human-readable description each time a GLFW error occurs.

    +

    The error callback is called on the thread where the error occurred. If you are using GLFW from multiple threads, your error callback needs to be written accordingly.

    +

    Because the description string may have been generated specifically for that error, it is not guaranteed to be valid after the callback has returned. If you wish to use it after the callback returns, you need to make a copy.

    +

    Once set, the error callback remains set even after the library has been terminated.

    +
    Parameters
    + + +
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set.
    +
    Errors
    None.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Error handling
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwTerminate()

    + +
    +
    + + + + + + + + +
    void glfwTerminate (void )
    +
    +

    This function destroys all remaining windows and cursors, restores any modified gamma ramps and frees any other allocated resources. Once this function is called, you must again call glfwInit successfully before you will be able to use most GLFW functions.

    +

    If GLFW has been successfully initialized, this function should be called before the application exits. If initialization fails, there is no need to call this function, as it is called by glfwInit before it returns failure.

    +
    Errors
    Possible errors include GLFW_PLATFORM_ERROR.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Warning
    The contexts of any remaining windows must not be current on any other thread when this function is called.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Initialization and termination
    +
    +glfwInit
    +
    Since
    Added in version 1.0.
    + +
    +
    +
    + + + diff --git a/docs/3.2/group__input.html b/docs/3.2/group__input.html new file mode 100644 index 0000000..c057d3e --- /dev/null +++ b/docs/3.2/group__input.html @@ -0,0 +1,1719 @@ + + + + + + +GLFW: Input reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Input reference
    +
    +
    +

    Description

    +

    This is the reference documentation for input related functions and types. For more task-oriented information, see the Input guide.

    + + + + + + + + + + + + +

    +Modules

     Joysticks
     
     Keyboard keys
     
     Modifier key flags
     
     Mouse buttons
     
     Standard cursor shapes
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Typedefs

    typedef void(* GLFWmousebuttonfun) (GLFWwindow *, int, int, int)
     The function signature for mouse button callbacks. More...
     
    typedef void(* GLFWcursorposfun) (GLFWwindow *, double, double)
     The function signature for cursor position callbacks. More...
     
    typedef void(* GLFWcursorenterfun) (GLFWwindow *, int)
     The function signature for cursor enter/leave callbacks. More...
     
    typedef void(* GLFWscrollfun) (GLFWwindow *, double, double)
     The function signature for scroll callbacks. More...
     
    typedef void(* GLFWkeyfun) (GLFWwindow *, int, int, int, int)
     The function signature for keyboard key callbacks. More...
     
    typedef void(* GLFWcharfun) (GLFWwindow *, unsigned int)
     The function signature for Unicode character callbacks. More...
     
    typedef void(* GLFWcharmodsfun) (GLFWwindow *, unsigned int, int)
     The function signature for Unicode character with modifiers callbacks. More...
     
    typedef void(* GLFWdropfun) (GLFWwindow *, int, const char **)
     The function signature for file drop callbacks. More...
     
    typedef void(* GLFWjoystickfun) (int, int)
     The function signature for joystick configuration callbacks. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    int glfwGetInputMode (GLFWwindow *window, int mode)
     Returns the value of an input option for the specified window. More...
     
    void glfwSetInputMode (GLFWwindow *window, int mode, int value)
     Sets an input option for the specified window. More...
     
    const char * glfwGetKeyName (int key, int scancode)
     Returns the localized name of the specified printable key. More...
     
    int glfwGetKey (GLFWwindow *window, int key)
     Returns the last reported state of a keyboard key for the specified window. More...
     
    int glfwGetMouseButton (GLFWwindow *window, int button)
     Returns the last reported state of a mouse button for the specified window. More...
     
    void glfwGetCursorPos (GLFWwindow *window, double *xpos, double *ypos)
     Retrieves the position of the cursor relative to the client area of the window. More...
     
    void glfwSetCursorPos (GLFWwindow *window, double xpos, double ypos)
     Sets the position of the cursor, relative to the client area of the window. More...
     
    GLFWcursorglfwCreateCursor (const GLFWimage *image, int xhot, int yhot)
     Creates a custom cursor. More...
     
    GLFWcursorglfwCreateStandardCursor (int shape)
     Creates a cursor with a standard shape. More...
     
    void glfwDestroyCursor (GLFWcursor *cursor)
     Destroys a cursor. More...
     
    void glfwSetCursor (GLFWwindow *window, GLFWcursor *cursor)
     Sets the cursor for the window. More...
     
    GLFWkeyfun glfwSetKeyCallback (GLFWwindow *window, GLFWkeyfun cbfun)
     Sets the key callback. More...
     
    GLFWcharfun glfwSetCharCallback (GLFWwindow *window, GLFWcharfun cbfun)
     Sets the Unicode character callback. More...
     
    GLFWcharmodsfun glfwSetCharModsCallback (GLFWwindow *window, GLFWcharmodsfun cbfun)
     Sets the Unicode character with modifiers callback. More...
     
    GLFWmousebuttonfun glfwSetMouseButtonCallback (GLFWwindow *window, GLFWmousebuttonfun cbfun)
     Sets the mouse button callback. More...
     
    GLFWcursorposfun glfwSetCursorPosCallback (GLFWwindow *window, GLFWcursorposfun cbfun)
     Sets the cursor position callback. More...
     
    GLFWcursorenterfun glfwSetCursorEnterCallback (GLFWwindow *window, GLFWcursorenterfun cbfun)
     Sets the cursor enter/exit callback. More...
     
    GLFWscrollfun glfwSetScrollCallback (GLFWwindow *window, GLFWscrollfun cbfun)
     Sets the scroll callback. More...
     
    GLFWdropfun glfwSetDropCallback (GLFWwindow *window, GLFWdropfun cbfun)
     Sets the file drop callback. More...
     
    int glfwJoystickPresent (int joy)
     Returns whether the specified joystick is present. More...
     
    const float * glfwGetJoystickAxes (int joy, int *count)
     Returns the values of all axes of the specified joystick. More...
     
    const unsigned char * glfwGetJoystickButtons (int joy, int *count)
     Returns the state of all buttons of the specified joystick. More...
     
    const char * glfwGetJoystickName (int joy)
     Returns the name of the specified joystick. More...
     
    GLFWjoystickfun glfwSetJoystickCallback (GLFWjoystickfun cbfun)
     Sets the joystick configuration callback. More...
     
    void glfwSetClipboardString (GLFWwindow *window, const char *string)
     Sets the clipboard to the specified string. More...
     
    const char * glfwGetClipboardString (GLFWwindow *window)
     Returns the contents of the clipboard as a string. More...
     
    double glfwGetTime (void)
     Returns the value of the GLFW timer. More...
     
    void glfwSetTime (double time)
     Sets the GLFW timer. More...
     
    uint64_t glfwGetTimerValue (void)
     Returns the current value of the raw timer. More...
     
    uint64_t glfwGetTimerFrequency (void)
     Returns the frequency, in Hz, of the raw timer. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_PRESS

    + +
    +
    + + + + +
    #define GLFW_PRESS   1
    +
    +

    The key or mouse button was pressed.

    + +
    +
    + +

    ◆ GLFW_RELEASE

    + +
    +
    + + + + +
    #define GLFW_RELEASE   0
    +
    +

    The key or mouse button was released.

    + +
    +
    + +

    ◆ GLFW_REPEAT

    + +
    +
    + + + + +
    #define GLFW_REPEAT   2
    +
    +

    The key was held down until it repeated.

    + +
    +
    +

    Typedef Documentation

    + +

    ◆ GLFWcharfun

    + +
    +
    + + + + +
    typedef void(* GLFWcharfun) (GLFWwindow *, unsigned int)
    +
    +

    This is the function signature for Unicode character callback functions.

    +
    Parameters
    + + + +
    [in]windowThe window that received the event.
    [in]codepointThe Unicode code point of the character.
    +
    +
    +
    See also
    Text input
    +
    +glfwSetCharCallback
    +
    Since
    Added in version 2.4. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ GLFWcharmodsfun

    + +
    +
    + + + + +
    typedef void(* GLFWcharmodsfun) (GLFWwindow *, unsigned int, int)
    +
    +

    This is the function signature for Unicode character with modifiers callback functions. It is called for each input character, regardless of what modifier keys are held down.

    +
    Parameters
    + + + + +
    [in]windowThe window that received the event.
    [in]codepointThe Unicode code point of the character.
    [in]modsBit field describing which modifier keys were held down.
    +
    +
    +
    See also
    Text input
    +
    +glfwSetCharModsCallback
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ GLFWcursorenterfun

    + +
    +
    + + + + +
    typedef void(* GLFWcursorenterfun) (GLFWwindow *, int)
    +
    +

    This is the function signature for cursor enter/leave callback functions.

    +
    Parameters
    + + + +
    [in]windowThe window that received the event.
    [in]enteredGLFW_TRUE if the cursor entered the window's client area, or GLFW_FALSE if it left it.
    +
    +
    +
    See also
    Cursor enter/leave events
    +
    +glfwSetCursorEnterCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWcursorposfun

    + +
    +
    + + + + +
    typedef void(* GLFWcursorposfun) (GLFWwindow *, double, double)
    +
    +

    This is the function signature for cursor position callback functions.

    +
    Parameters
    + + + + +
    [in]windowThe window that received the event.
    [in]xposThe new cursor x-coordinate, relative to the left edge of the client area.
    [in]yposThe new cursor y-coordinate, relative to the top edge of the client area.
    +
    +
    +
    See also
    Cursor position
    +
    +glfwSetCursorPosCallback
    +
    Since
    Added in version 3.0. Replaces GLFWmouseposfun.
    + +
    +
    + +

    ◆ GLFWdropfun

    + +
    +
    + + + + +
    typedef void(* GLFWdropfun) (GLFWwindow *, int, const char **)
    +
    +

    This is the function signature for file drop callbacks.

    +
    Parameters
    + + + + +
    [in]windowThe window that received the event.
    [in]countThe number of dropped files.
    [in]pathsThe UTF-8 encoded file and/or directory path names.
    +
    +
    +
    See also
    Path drop input
    +
    +glfwSetDropCallback
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ GLFWjoystickfun

    + +
    +
    + + + + +
    typedef void(* GLFWjoystickfun) (int, int)
    +
    +

    This is the function signature for joystick configuration callback functions.

    +
    Parameters
    + + + +
    [in]joyThe joystick that was connected or disconnected.
    [in]eventOne of GLFW_CONNECTED or GLFW_DISCONNECTED.
    +
    +
    +
    See also
    Joystick configuration changes
    +
    +glfwSetJoystickCallback
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ GLFWkeyfun

    + +
    +
    + + + + +
    typedef void(* GLFWkeyfun) (GLFWwindow *, int, int, int, int)
    +
    +

    This is the function signature for keyboard key callback functions.

    +
    Parameters
    + + + + + + +
    [in]windowThe window that received the event.
    [in]keyThe keyboard key that was pressed or released.
    [in]scancodeThe system-specific scancode of the key.
    [in]actionGLFW_PRESS, GLFW_RELEASE or GLFW_REPEAT.
    [in]modsBit field describing which modifier keys were held down.
    +
    +
    +
    See also
    Key input
    +
    +glfwSetKeyCallback
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle, scancode and modifier mask parameters.
    + +
    +
    + +

    ◆ GLFWmousebuttonfun

    + +
    +
    + + + + +
    typedef void(* GLFWmousebuttonfun) (GLFWwindow *, int, int, int)
    +
    +

    This is the function signature for mouse button callback functions.

    +
    Parameters
    + + + + + +
    [in]windowThe window that received the event.
    [in]buttonThe mouse button that was pressed or released.
    [in]actionOne of GLFW_PRESS or GLFW_RELEASE.
    [in]modsBit field describing which modifier keys were held down.
    +
    +
    +
    See also
    Mouse button input
    +
    +glfwSetMouseButtonCallback
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle and modifier mask parameters.
    + +
    +
    + +

    ◆ GLFWscrollfun

    + +
    +
    + + + + +
    typedef void(* GLFWscrollfun) (GLFWwindow *, double, double)
    +
    +

    This is the function signature for scroll callback functions.

    +
    Parameters
    + + + + +
    [in]windowThe window that received the event.
    [in]xoffsetThe scroll offset along the x-axis.
    [in]yoffsetThe scroll offset along the y-axis.
    +
    +
    +
    See also
    Scroll input
    +
    +glfwSetScrollCallback
    +
    Since
    Added in version 3.0. Replaces GLFWmousewheelfun.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwCreateCursor()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFWcursor* glfwCreateCursor (const GLFWimageimage,
    int xhot,
    int yhot 
    )
    +
    +

    Creates a new custom cursor image that can be set for a window with glfwSetCursor. The cursor can be destroyed with glfwDestroyCursor. Any remaining cursors are destroyed by glfwTerminate.

    +

    The pixels are 32-bit, little-endian, non-premultiplied RGBA, i.e. eight bits per channel. They are arranged canonically as packed sequential rows, starting from the top-left corner.

    +

    The cursor hotspot is specified in pixels, relative to the upper-left corner of the cursor image. Like all other coordinate systems in GLFW, the X-axis points to the right and the Y-axis points down.

    +
    Parameters
    + + + + +
    [in]imageThe desired cursor image.
    [in]xhotThe desired x-coordinate, in pixels, of the cursor hotspot.
    [in]yhotThe desired y-coordinate, in pixels, of the cursor hotspot.
    +
    +
    +
    Returns
    The handle of the created cursor, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The specified image data is copied before this function returns.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor objects
    +
    +glfwDestroyCursor
    +
    +glfwCreateStandardCursor
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwCreateStandardCursor()

    + +
    +
    + + + + + + + + +
    GLFWcursor* glfwCreateStandardCursor (int shape)
    +
    +

    Returns a cursor with a standard shape, that can be set for a window with glfwSetCursor.

    +
    Parameters
    + + +
    [in]shapeOne of the standard shapes.
    +
    +
    +
    Returns
    A new cursor ready to use or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor objects
    +
    +glfwCreateCursor
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwDestroyCursor()

    + +
    +
    + + + + + + + + +
    void glfwDestroyCursor (GLFWcursorcursor)
    +
    +

    This function destroys a cursor previously created with glfwCreateCursor. Any remaining cursors will be destroyed by glfwTerminate.

    +
    Parameters
    + + +
    [in]cursorThe cursor object to destroy.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor objects
    +
    +glfwCreateCursor
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetClipboardString()

    + +
    +
    + + + + + + + + +
    const char* glfwGetClipboardString (GLFWwindowwindow)
    +
    +

    This function returns the contents of the system clipboard, if it contains or is convertible to a UTF-8 encoded string. If the clipboard is empty or if its contents cannot be converted, NULL is returned and a GLFW_FORMAT_UNAVAILABLE error is generated.

    +
    Parameters
    + + +
    [in]windowThe window that will request the clipboard contents.
    +
    +
    +
    Returns
    The contents of the clipboard as a UTF-8 encoded string, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the next call to glfwGetClipboardString or glfwSetClipboardString, or until the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Clipboard input and output
    +
    +glfwSetClipboardString
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetCursorPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetCursorPos (GLFWwindowwindow,
    double * xpos,
    double * ypos 
    )
    +
    +

    This function returns the position of the cursor, in screen coordinates, relative to the upper-left corner of the client area of the specified window.

    +

    If the cursor is disabled (with GLFW_CURSOR_DISABLED) then the cursor position is unbounded and limited only by the minimum and maximum values of a double.

    +

    The coordinate can be converted to their integer equivalents with the floor function. Casting directly to an integer type works for positive coordinates, but fails for negative ones.

    +

    Any or all of the position arguments may be NULL. If an error occurs, all non-NULL position arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]windowThe desired window.
    [out]xposWhere to store the cursor x-coordinate, relative to the left edge of the client area, or NULL.
    [out]yposWhere to store the cursor y-coordinate, relative to the to top edge of the client area, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor position
    +
    +glfwSetCursorPos
    +
    Since
    Added in version 3.0. Replaces glfwGetMousePos.
    + +
    +
    + +

    ◆ glfwGetInputMode()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetInputMode (GLFWwindowwindow,
    int mode 
    )
    +
    +

    This function returns the value of an input option for the specified window. The mode must be one of GLFW_CURSOR, GLFW_STICKY_KEYS or GLFW_STICKY_MOUSE_BUTTONS.

    +
    Parameters
    + + + +
    [in]windowThe window to query.
    [in]modeOne of GLFW_CURSOR, GLFW_STICKY_KEYS or GLFW_STICKY_MOUSE_BUTTONS.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    glfwSetInputMode
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetJoystickAxes()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const float* glfwGetJoystickAxes (int joy,
    int * count 
    )
    +
    +

    This function returns the values of all axes of the specified joystick. Each element in the array is a value between -1.0 and 1.0.

    +

    Querying a joystick slot with no device present is not an error, but will cause this function to return NULL. Call glfwJoystickPresent to check device presence.

    +
    Parameters
    + + + +
    [in]joyThe joystick to query.
    [out]countWhere to store the number of axis values in the returned array. This is set to zero if the joystick is not present or an error occurred.
    +
    +
    +
    Returns
    An array of axis values, or NULL if the joystick is not present or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected, this function is called again for that joystick or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick axis states
    +
    Since
    Added in version 3.0. Replaces glfwGetJoystickPos.
    + +
    +
    + +

    ◆ glfwGetJoystickButtons()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const unsigned char* glfwGetJoystickButtons (int joy,
    int * count 
    )
    +
    +

    This function returns the state of all buttons of the specified joystick. Each element in the array is either GLFW_PRESS or GLFW_RELEASE.

    +

    Querying a joystick slot with no device present is not an error, but will cause this function to return NULL. Call glfwJoystickPresent to check device presence.

    +
    Parameters
    + + + +
    [in]joyThe joystick to query.
    [out]countWhere to store the number of button states in the returned array. This is set to zero if the joystick is not present or an error occurred.
    +
    +
    +
    Returns
    An array of button states, or NULL if the joystick is not present or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected, this function is called again for that joystick or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick button states
    +
    Since
    Added in version 2.2. GLFW 3: Changed to return a dynamic array.
    + +
    +
    + +

    ◆ glfwGetJoystickName()

    + +
    +
    + + + + + + + + +
    const char* glfwGetJoystickName (int joy)
    +
    +

    This function returns the name, encoded as UTF-8, of the specified joystick. The returned string is allocated and freed by GLFW. You should not free it yourself.

    +

    Querying a joystick slot with no device present is not an error, but will cause this function to return NULL. Call glfwJoystickPresent to check device presence.

    +
    Parameters
    + + +
    [in]joyThe joystick to query.
    +
    +
    +
    Returns
    The UTF-8 encoded name of the joystick, or NULL if the joystick is not present or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected, this function is called again for that joystick or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick name
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetKey()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetKey (GLFWwindowwindow,
    int key 
    )
    +
    +

    This function returns the last state reported for the specified key to the specified window. The returned state is one of GLFW_PRESS or GLFW_RELEASE. The higher-level action GLFW_REPEAT is only reported to the key callback.

    +

    If the GLFW_STICKY_KEYS input mode is enabled, this function returns GLFW_PRESS the first time you call it for a key that was pressed, even if that key has already been released.

    +

    The key functions deal with physical keys, with key tokens named after their use on the standard US keyboard layout. If you want to input text, use the Unicode character callback instead.

    +

    The modifier key bit masks are not key tokens and cannot be used with this function.

    +

    Do not use this function to implement text input.

    +
    Parameters
    + + + +
    [in]windowThe desired window.
    [in]keyThe desired keyboard key. GLFW_KEY_UNKNOWN is not a valid key for this function.
    +
    +
    +
    Returns
    One of GLFW_PRESS or GLFW_RELEASE.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Key input
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwGetKeyName()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const char* glfwGetKeyName (int key,
    int scancode 
    )
    +
    +

    This function returns the localized name of the specified printable key. This is intended for displaying key bindings to the user.

    +

    If the key is GLFW_KEY_UNKNOWN, the scancode is used instead, otherwise the scancode is ignored. If a non-printable key or (if the key is GLFW_KEY_UNKNOWN) a scancode that maps to a non-printable key is specified, this function returns NULL.
    + This behavior allows you to pass in the arguments passed to the key callback without modification.

    +

    The printable keys are:

      +
    • GLFW_KEY_APOSTROPHE
    • +
    • GLFW_KEY_COMMA
    • +
    • GLFW_KEY_MINUS
    • +
    • GLFW_KEY_PERIOD
    • +
    • GLFW_KEY_SLASH
    • +
    • GLFW_KEY_SEMICOLON
    • +
    • GLFW_KEY_EQUAL
    • +
    • GLFW_KEY_LEFT_BRACKET
    • +
    • GLFW_KEY_RIGHT_BRACKET
    • +
    • GLFW_KEY_BACKSLASH
    • +
    • GLFW_KEY_WORLD_1
    • +
    • GLFW_KEY_WORLD_2
    • +
    • GLFW_KEY_0 to GLFW_KEY_9
    • +
    • GLFW_KEY_A to GLFW_KEY_Z
    • +
    • GLFW_KEY_KP_0 to GLFW_KEY_KP_9
    • +
    • GLFW_KEY_KP_DECIMAL
    • +
    • GLFW_KEY_KP_DIVIDE
    • +
    • GLFW_KEY_KP_MULTIPLY
    • +
    • GLFW_KEY_KP_SUBTRACT
    • +
    • GLFW_KEY_KP_ADD
    • +
    • GLFW_KEY_KP_EQUAL
    • +
    +
    Parameters
    + + + +
    [in]keyThe key to query, or GLFW_KEY_UNKNOWN.
    [in]scancodeThe scancode of the key to query.
    +
    +
    +
    Returns
    The localized name of the key, or NULL.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the next call to glfwGetKeyName, or until the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Key names
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetMouseButton()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetMouseButton (GLFWwindowwindow,
    int button 
    )
    +
    +

    This function returns the last state reported for the specified mouse button to the specified window. The returned state is one of GLFW_PRESS or GLFW_RELEASE.

    +

    If the GLFW_STICKY_MOUSE_BUTTONS input mode is enabled, this function GLFW_PRESS the first time you call it for a mouse button that was pressed, even if that mouse button has already been released.

    +
    Parameters
    + + + +
    [in]windowThe desired window.
    [in]buttonThe desired mouse button.
    +
    +
    +
    Returns
    One of GLFW_PRESS or GLFW_RELEASE.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Mouse button input
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwGetTime()

    + +
    +
    + + + + + + + + +
    double glfwGetTime (void )
    +
    +

    This function returns the value of the GLFW timer. Unless the timer has been set using glfwSetTime, the timer measures time elapsed since GLFW was initialized.

    +

    The resolution of the timer is system dependent, but is usually on the order of a few micro- or nanoseconds. It uses the highest-resolution monotonic time source on each supported platform.

    +
    Returns
    The current value, in seconds, or zero if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Reading and writing of the internal timer offset is not atomic, so it needs to be externally synchronized with calls to glfwSetTime.
    +
    See also
    Time input
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwGetTimerFrequency()

    + +
    +
    + + + + + + + + +
    uint64_t glfwGetTimerFrequency (void )
    +
    +

    This function returns the frequency, in Hz, of the raw timer.

    +
    Returns
    The frequency of the timer, in Hz, or zero if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Time input
    +
    +glfwGetTimerValue
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetTimerValue()

    + +
    +
    + + + + + + + + +
    uint64_t glfwGetTimerValue (void )
    +
    +

    This function returns the current value of the raw timer, measured in 1 / frequency seconds. To get the frequency, call glfwGetTimerFrequency.

    +
    Returns
    The value of the timer, or zero if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Time input
    +
    +glfwGetTimerFrequency
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwJoystickPresent()

    + +
    +
    + + + + + + + + +
    int glfwJoystickPresent (int joy)
    +
    +

    This function returns whether the specified joystick is present.

    +
    Parameters
    + + +
    [in]joyThe joystick to query.
    +
    +
    +
    Returns
    GLFW_TRUE if the joystick is present, or GLFW_FALSE otherwise.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick input
    +
    Since
    Added in version 3.0. Replaces glfwGetJoystickParam.
    + +
    +
    + +

    ◆ glfwSetCharCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWcharfun glfwSetCharCallback (GLFWwindowwindow,
    GLFWcharfun cbfun 
    )
    +
    +

    This function sets the character callback of the specified window, which is called when a Unicode character is input.

    +

    The character callback is intended for Unicode text input. As it deals with characters, it is keyboard layout dependent, whereas the key callback is not. Characters do not map 1:1 to physical keys, as a key may produce zero, one or more characters. If you want to know whether a specific physical key was pressed or released, see the key callback instead.

    +

    The character callback behaves as system text input normally does and will not be called if modifier keys are held down that would prevent normal text input on that platform, for example a Super (Command) key on OS X or Alt key on Windows. There is a character with modifiers callback that receives these events.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Text input
    +
    Since
    Added in version 2.4. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetCharModsCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWcharmodsfun glfwSetCharModsCallback (GLFWwindowwindow,
    GLFWcharmodsfun cbfun 
    )
    +
    +

    This function sets the character with modifiers callback of the specified window, which is called when a Unicode character is input regardless of what modifier keys are used.

    +

    The character with modifiers callback is intended for implementing custom Unicode character input. For regular Unicode text input, see the character callback. Like the character callback, the character with modifiers callback deals with characters and is keyboard layout dependent. Characters do not map 1:1 to physical keys, as a key may produce zero, one or more characters. If you want to know whether a specific physical key was pressed or released, see the key callback instead.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Text input
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwSetClipboardString()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetClipboardString (GLFWwindowwindow,
    const char * string 
    )
    +
    +

    This function sets the system clipboard to the specified, UTF-8 encoded string.

    +
    Parameters
    + + + +
    [in]windowThe window that will own the clipboard contents.
    [in]stringA UTF-8 encoded string.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The specified string is copied before this function returns.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Clipboard input and output
    +
    +glfwGetClipboardString
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetCursor()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetCursor (GLFWwindowwindow,
    GLFWcursorcursor 
    )
    +
    +

    This function sets the cursor image to be used when the cursor is over the client area of the specified window. The set cursor will only be visible when the cursor mode of the window is GLFW_CURSOR_NORMAL.

    +

    On some platforms, the set cursor may not be visible unless the window also has input focus.

    +
    Parameters
    + + + +
    [in]windowThe window to set the cursor for.
    [in]cursorThe cursor to set, or NULL to switch back to the default arrow cursor.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor objects
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwSetCursorEnterCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWcursorenterfun glfwSetCursorEnterCallback (GLFWwindowwindow,
    GLFWcursorenterfun cbfun 
    )
    +
    +

    This function sets the cursor boundary crossing callback of the specified window, which is called when the cursor enters or leaves the client area of the window.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor enter/leave events
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetCursorPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetCursorPos (GLFWwindowwindow,
    double xpos,
    double ypos 
    )
    +
    +

    This function sets the position, in screen coordinates, of the cursor relative to the upper-left corner of the client area of the specified window. The window must have input focus. If the window does not have input focus when this function is called, it fails silently.

    +

    Do not use this function to implement things like camera controls. GLFW already provides the GLFW_CURSOR_DISABLED cursor mode that hides the cursor, transparently re-centers it and provides unconstrained cursor motion. See glfwSetInputMode for more information.

    +

    If the cursor mode is GLFW_CURSOR_DISABLED then the cursor position is unconstrained and limited only by the minimum and maximum values of a double.

    +
    Parameters
    + + + + +
    [in]windowThe desired window.
    [in]xposThe desired x-coordinate, relative to the left edge of the client area.
    [in]yposThe desired y-coordinate, relative to the top edge of the client area.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor position
    +
    +glfwGetCursorPos
    +
    Since
    Added in version 3.0. Replaces glfwSetMousePos.
    + +
    +
    + +

    ◆ glfwSetCursorPosCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWcursorposfun glfwSetCursorPosCallback (GLFWwindowwindow,
    GLFWcursorposfun cbfun 
    )
    +
    +

    This function sets the cursor position callback of the specified window, which is called when the cursor is moved. The callback is provided with the position, in screen coordinates, relative to the upper-left corner of the client area of the window.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor position
    +
    Since
    Added in version 3.0. Replaces glfwSetMousePosCallback.
    + +
    +
    + +

    ◆ glfwSetDropCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWdropfun glfwSetDropCallback (GLFWwindowwindow,
    GLFWdropfun cbfun 
    )
    +
    +

    This function sets the file drop callback of the specified window, which is called when one or more dragged files are dropped on the window.

    +

    Because the path array and its strings may have been generated specifically for that event, they are not guaranteed to be valid after the callback has returned. If you wish to use them after the callback returns, you need to make a deep copy.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new file drop callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Path drop input
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwSetInputMode()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetInputMode (GLFWwindowwindow,
    int mode,
    int value 
    )
    +
    +

    This function sets an input mode option for the specified window. The mode must be one of GLFW_CURSOR, GLFW_STICKY_KEYS or GLFW_STICKY_MOUSE_BUTTONS.

    +

    If the mode is GLFW_CURSOR, the value must be one of the following cursor modes:

      +
    • GLFW_CURSOR_NORMAL makes the cursor visible and behaving normally.
    • +
    • GLFW_CURSOR_HIDDEN makes the cursor invisible when it is over the client area of the window but does not restrict the cursor from leaving.
    • +
    • GLFW_CURSOR_DISABLED hides and grabs the cursor, providing virtual and unlimited cursor movement. This is useful for implementing for example 3D camera controls.
    • +
    +

    If the mode is GLFW_STICKY_KEYS, the value must be either GLFW_TRUE to enable sticky keys, or GLFW_FALSE to disable it. If sticky keys are enabled, a key press will ensure that glfwGetKey returns GLFW_PRESS the next time it is called even if the key had been released before the call. This is useful when you are only interested in whether keys have been pressed but not when or in which order.

    +

    If the mode is GLFW_STICKY_MOUSE_BUTTONS, the value must be either GLFW_TRUE to enable sticky mouse buttons, or GLFW_FALSE to disable it. If sticky mouse buttons are enabled, a mouse button press will ensure that glfwGetMouseButton returns GLFW_PRESS the next time it is called even if the mouse button had been released before the call. This is useful when you are only interested in whether mouse buttons have been pressed but not when or in which order.

    +
    Parameters
    + + + + +
    [in]windowThe window whose input mode to set.
    [in]modeOne of GLFW_CURSOR, GLFW_STICKY_KEYS or GLFW_STICKY_MOUSE_BUTTONS.
    [in]valueThe new value of the specified input mode.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    glfwGetInputMode
    +
    Since
    Added in version 3.0. Replaces glfwEnable and glfwDisable.
    + +
    +
    + +

    ◆ glfwSetJoystickCallback()

    + +
    +
    + + + + + + + + +
    GLFWjoystickfun glfwSetJoystickCallback (GLFWjoystickfun cbfun)
    +
    +

    This function sets the joystick configuration callback, or removes the currently set callback. This is called when a joystick is connected to or disconnected from the system.

    +
    Parameters
    + + +
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick configuration changes
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwSetKeyCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWkeyfun glfwSetKeyCallback (GLFWwindowwindow,
    GLFWkeyfun cbfun 
    )
    +
    +

    This function sets the key callback of the specified window, which is called when a key is pressed, repeated or released.

    +

    The key functions deal with physical keys, with layout independent key tokens named after their values in the standard US keyboard layout. If you want to input text, use the character callback instead.

    +

    When a window loses input focus, it will generate synthetic key release events for all pressed keys. You can tell these events from user-generated events by the fact that the synthetic ones are generated after the focus loss event has been processed, i.e. after the window focus callback has been called.

    +

    The scancode of a key is specific to that platform or sometimes even to that machine. Scancodes are intended to allow users to bind keys that don't have a GLFW key token. Such keys have key set to GLFW_KEY_UNKNOWN, their state is not saved and so it cannot be queried with glfwGetKey.

    +

    Sometimes GLFW needs to generate synthetic key events, in which case the scancode may be zero.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new key callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Key input
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetMouseButtonCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWmousebuttonfun glfwSetMouseButtonCallback (GLFWwindowwindow,
    GLFWmousebuttonfun cbfun 
    )
    +
    +

    This function sets the mouse button callback of the specified window, which is called when a mouse button is pressed or released.

    +

    When a window loses input focus, it will generate synthetic mouse button release events for all pressed mouse buttons. You can tell these events from user-generated events by the fact that the synthetic ones are generated after the focus loss event has been processed, i.e. after the window focus callback has been called.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Mouse button input
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetScrollCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWscrollfun glfwSetScrollCallback (GLFWwindowwindow,
    GLFWscrollfun cbfun 
    )
    +
    +

    This function sets the scroll callback of the specified window, which is called when a scrolling device is used, such as a mouse wheel or scrolling area of a touchpad.

    +

    The scroll callback receives all scrolling input, like that from a mouse wheel or a touchpad scrolling area.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new scroll callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Scroll input
    +
    Since
    Added in version 3.0. Replaces glfwSetMouseWheelCallback.
    + +
    +
    + +

    ◆ glfwSetTime()

    + +
    +
    + + + + + + + + +
    void glfwSetTime (double time)
    +
    +

    This function sets the value of the GLFW timer. It then continues to count up from that value. The value must be a positive finite number less than or equal to 18446744073.0, which is approximately 584.5 years.

    +
    Parameters
    + + +
    [in]timeThe new value, in seconds.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_VALUE.
    +
    Remarks
    The upper limit of the timer is calculated as floor((264 - 1) / 109) and is due to implementations storing nanoseconds in 64 bits. The limit may be increased in the future.
    +
    Thread safety
    This function may be called from any thread. Reading and writing of the internal timer offset is not atomic, so it needs to be externally synchronized with calls to glfwGetTime.
    +
    See also
    Time input
    +
    Since
    Added in version 2.2.
    + +
    +
    +
    + + + diff --git a/docs/3.2/group__joysticks.html b/docs/3.2/group__joysticks.html new file mode 100644 index 0000000..d8cc752 --- /dev/null +++ b/docs/3.2/group__joysticks.html @@ -0,0 +1,354 @@ + + + + + + +GLFW: Joysticks + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    +
    +
    +

    Description

    +

    See joystick input for how these are used.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_JOYSTICK_1   0
     
    #define GLFW_JOYSTICK_2   1
     
    #define GLFW_JOYSTICK_3   2
     
    #define GLFW_JOYSTICK_4   3
     
    #define GLFW_JOYSTICK_5   4
     
    #define GLFW_JOYSTICK_6   5
     
    #define GLFW_JOYSTICK_7   6
     
    #define GLFW_JOYSTICK_8   7
     
    #define GLFW_JOYSTICK_9   8
     
    #define GLFW_JOYSTICK_10   9
     
    #define GLFW_JOYSTICK_11   10
     
    #define GLFW_JOYSTICK_12   11
     
    #define GLFW_JOYSTICK_13   12
     
    #define GLFW_JOYSTICK_14   13
     
    #define GLFW_JOYSTICK_15   14
     
    #define GLFW_JOYSTICK_16   15
     
    #define GLFW_JOYSTICK_LAST   GLFW_JOYSTICK_16
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_JOYSTICK_1

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_1   0
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_10

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_10   9
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_11

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_11   10
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_12

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_12   11
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_13

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_13   12
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_14

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_14   13
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_15

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_15   14
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_16

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_16   15
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_2

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_2   1
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_3

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_3   2
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_4

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_4   3
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_5

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_5   4
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_6

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_6   5
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_7

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_7   6
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_8

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_8   7
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_9

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_9   8
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_LAST

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_LAST   GLFW_JOYSTICK_16
    +
    + +
    +
    +
    + + + diff --git a/docs/3.2/group__keys.html b/docs/3.2/group__keys.html new file mode 100644 index 0000000..6173b67 --- /dev/null +++ b/docs/3.2/group__keys.html @@ -0,0 +1,2042 @@ + + + + + + +GLFW: Keyboard keys + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Keyboard keys
    +
    +
    +

    Description

    +

    See key input for how these are used.

    +

    These key codes are inspired by the USB HID Usage Tables v1.12 (p. 53-60), but re-arranged to map to 7-bit ASCII for printable keys (function keys are put in the 256+ range).

    +

    The naming of the key codes follow these rules:

      +
    • The US keyboard layout is used
    • +
    • Names of printable alpha-numeric characters are used (e.g. "A", "R", "3", etc.)
    • +
    • For non-alphanumeric characters, Unicode:ish names are used (e.g. "COMMA", "LEFT_SQUARE_BRACKET", etc.). Note that some names do not correspond to the Unicode standard (usually for brevity)
    • +
    • Keys that lack a clear US mapping are named "WORLD_x"
    • +
    • For non-printable keys, custom names are used (e.g. "F4", "BACKSPACE", etc.)
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_KEY_UNKNOWN   -1
     
    #define GLFW_KEY_SPACE   32
     
    #define GLFW_KEY_APOSTROPHE   39 /* ' */
     
    #define GLFW_KEY_COMMA   44 /* , */
     
    #define GLFW_KEY_MINUS   45 /* - */
     
    #define GLFW_KEY_PERIOD   46 /* . */
     
    #define GLFW_KEY_SLASH   47 /* / */
     
    #define GLFW_KEY_0   48
     
    #define GLFW_KEY_1   49
     
    #define GLFW_KEY_2   50
     
    #define GLFW_KEY_3   51
     
    #define GLFW_KEY_4   52
     
    #define GLFW_KEY_5   53
     
    #define GLFW_KEY_6   54
     
    #define GLFW_KEY_7   55
     
    #define GLFW_KEY_8   56
     
    #define GLFW_KEY_9   57
     
    #define GLFW_KEY_SEMICOLON   59 /* ; */
     
    #define GLFW_KEY_EQUAL   61 /* = */
     
    #define GLFW_KEY_A   65
     
    #define GLFW_KEY_B   66
     
    #define GLFW_KEY_C   67
     
    #define GLFW_KEY_D   68
     
    #define GLFW_KEY_E   69
     
    #define GLFW_KEY_F   70
     
    #define GLFW_KEY_G   71
     
    #define GLFW_KEY_H   72
     
    #define GLFW_KEY_I   73
     
    #define GLFW_KEY_J   74
     
    #define GLFW_KEY_K   75
     
    #define GLFW_KEY_L   76
     
    #define GLFW_KEY_M   77
     
    #define GLFW_KEY_N   78
     
    #define GLFW_KEY_O   79
     
    #define GLFW_KEY_P   80
     
    #define GLFW_KEY_Q   81
     
    #define GLFW_KEY_R   82
     
    #define GLFW_KEY_S   83
     
    #define GLFW_KEY_T   84
     
    #define GLFW_KEY_U   85
     
    #define GLFW_KEY_V   86
     
    #define GLFW_KEY_W   87
     
    #define GLFW_KEY_X   88
     
    #define GLFW_KEY_Y   89
     
    #define GLFW_KEY_Z   90
     
    #define GLFW_KEY_LEFT_BRACKET   91 /* [ */
     
    #define GLFW_KEY_BACKSLASH   92 /* \ */
     
    #define GLFW_KEY_RIGHT_BRACKET   93 /* ] */
     
    #define GLFW_KEY_GRAVE_ACCENT   96 /* ` */
     
    #define GLFW_KEY_WORLD_1   161 /* non-US #1 */
     
    #define GLFW_KEY_WORLD_2   162 /* non-US #2 */
     
    #define GLFW_KEY_ESCAPE   256
     
    #define GLFW_KEY_ENTER   257
     
    #define GLFW_KEY_TAB   258
     
    #define GLFW_KEY_BACKSPACE   259
     
    #define GLFW_KEY_INSERT   260
     
    #define GLFW_KEY_DELETE   261
     
    #define GLFW_KEY_RIGHT   262
     
    #define GLFW_KEY_LEFT   263
     
    #define GLFW_KEY_DOWN   264
     
    #define GLFW_KEY_UP   265
     
    #define GLFW_KEY_PAGE_UP   266
     
    #define GLFW_KEY_PAGE_DOWN   267
     
    #define GLFW_KEY_HOME   268
     
    #define GLFW_KEY_END   269
     
    #define GLFW_KEY_CAPS_LOCK   280
     
    #define GLFW_KEY_SCROLL_LOCK   281
     
    #define GLFW_KEY_NUM_LOCK   282
     
    #define GLFW_KEY_PRINT_SCREEN   283
     
    #define GLFW_KEY_PAUSE   284
     
    #define GLFW_KEY_F1   290
     
    #define GLFW_KEY_F2   291
     
    #define GLFW_KEY_F3   292
     
    #define GLFW_KEY_F4   293
     
    #define GLFW_KEY_F5   294
     
    #define GLFW_KEY_F6   295
     
    #define GLFW_KEY_F7   296
     
    #define GLFW_KEY_F8   297
     
    #define GLFW_KEY_F9   298
     
    #define GLFW_KEY_F10   299
     
    #define GLFW_KEY_F11   300
     
    #define GLFW_KEY_F12   301
     
    #define GLFW_KEY_F13   302
     
    #define GLFW_KEY_F14   303
     
    #define GLFW_KEY_F15   304
     
    #define GLFW_KEY_F16   305
     
    #define GLFW_KEY_F17   306
     
    #define GLFW_KEY_F18   307
     
    #define GLFW_KEY_F19   308
     
    #define GLFW_KEY_F20   309
     
    #define GLFW_KEY_F21   310
     
    #define GLFW_KEY_F22   311
     
    #define GLFW_KEY_F23   312
     
    #define GLFW_KEY_F24   313
     
    #define GLFW_KEY_F25   314
     
    #define GLFW_KEY_KP_0   320
     
    #define GLFW_KEY_KP_1   321
     
    #define GLFW_KEY_KP_2   322
     
    #define GLFW_KEY_KP_3   323
     
    #define GLFW_KEY_KP_4   324
     
    #define GLFW_KEY_KP_5   325
     
    #define GLFW_KEY_KP_6   326
     
    #define GLFW_KEY_KP_7   327
     
    #define GLFW_KEY_KP_8   328
     
    #define GLFW_KEY_KP_9   329
     
    #define GLFW_KEY_KP_DECIMAL   330
     
    #define GLFW_KEY_KP_DIVIDE   331
     
    #define GLFW_KEY_KP_MULTIPLY   332
     
    #define GLFW_KEY_KP_SUBTRACT   333
     
    #define GLFW_KEY_KP_ADD   334
     
    #define GLFW_KEY_KP_ENTER   335
     
    #define GLFW_KEY_KP_EQUAL   336
     
    #define GLFW_KEY_LEFT_SHIFT   340
     
    #define GLFW_KEY_LEFT_CONTROL   341
     
    #define GLFW_KEY_LEFT_ALT   342
     
    #define GLFW_KEY_LEFT_SUPER   343
     
    #define GLFW_KEY_RIGHT_SHIFT   344
     
    #define GLFW_KEY_RIGHT_CONTROL   345
     
    #define GLFW_KEY_RIGHT_ALT   346
     
    #define GLFW_KEY_RIGHT_SUPER   347
     
    #define GLFW_KEY_MENU   348
     
    #define GLFW_KEY_LAST   GLFW_KEY_MENU
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_KEY_0

    + +
    +
    + + + + +
    #define GLFW_KEY_0   48
    +
    + +
    +
    + +

    ◆ GLFW_KEY_1

    + +
    +
    + + + + +
    #define GLFW_KEY_1   49
    +
    + +
    +
    + +

    ◆ GLFW_KEY_2

    + +
    +
    + + + + +
    #define GLFW_KEY_2   50
    +
    + +
    +
    + +

    ◆ GLFW_KEY_3

    + +
    +
    + + + + +
    #define GLFW_KEY_3   51
    +
    + +
    +
    + +

    ◆ GLFW_KEY_4

    + +
    +
    + + + + +
    #define GLFW_KEY_4   52
    +
    + +
    +
    + +

    ◆ GLFW_KEY_5

    + +
    +
    + + + + +
    #define GLFW_KEY_5   53
    +
    + +
    +
    + +

    ◆ GLFW_KEY_6

    + +
    +
    + + + + +
    #define GLFW_KEY_6   54
    +
    + +
    +
    + +

    ◆ GLFW_KEY_7

    + +
    +
    + + + + +
    #define GLFW_KEY_7   55
    +
    + +
    +
    + +

    ◆ GLFW_KEY_8

    + +
    +
    + + + + +
    #define GLFW_KEY_8   56
    +
    + +
    +
    + +

    ◆ GLFW_KEY_9

    + +
    +
    + + + + +
    #define GLFW_KEY_9   57
    +
    + +
    +
    + +

    ◆ GLFW_KEY_A

    + +
    +
    + + + + +
    #define GLFW_KEY_A   65
    +
    + +
    +
    + +

    ◆ GLFW_KEY_APOSTROPHE

    + +
    +
    + + + + +
    #define GLFW_KEY_APOSTROPHE   39 /* ' */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_B

    + +
    +
    + + + + +
    #define GLFW_KEY_B   66
    +
    + +
    +
    + +

    ◆ GLFW_KEY_BACKSLASH

    + +
    +
    + + + + +
    #define GLFW_KEY_BACKSLASH   92 /* \ */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_BACKSPACE

    + +
    +
    + + + + +
    #define GLFW_KEY_BACKSPACE   259
    +
    + +
    +
    + +

    ◆ GLFW_KEY_C

    + +
    +
    + + + + +
    #define GLFW_KEY_C   67
    +
    + +
    +
    + +

    ◆ GLFW_KEY_CAPS_LOCK

    + +
    +
    + + + + +
    #define GLFW_KEY_CAPS_LOCK   280
    +
    + +
    +
    + +

    ◆ GLFW_KEY_COMMA

    + +
    +
    + + + + +
    #define GLFW_KEY_COMMA   44 /* , */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_D

    + +
    +
    + + + + +
    #define GLFW_KEY_D   68
    +
    + +
    +
    + +

    ◆ GLFW_KEY_DELETE

    + +
    +
    + + + + +
    #define GLFW_KEY_DELETE   261
    +
    + +
    +
    + +

    ◆ GLFW_KEY_DOWN

    + +
    +
    + + + + +
    #define GLFW_KEY_DOWN   264
    +
    + +
    +
    + +

    ◆ GLFW_KEY_E

    + +
    +
    + + + + +
    #define GLFW_KEY_E   69
    +
    + +
    +
    + +

    ◆ GLFW_KEY_END

    + +
    +
    + + + + +
    #define GLFW_KEY_END   269
    +
    + +
    +
    + +

    ◆ GLFW_KEY_ENTER

    + +
    +
    + + + + +
    #define GLFW_KEY_ENTER   257
    +
    + +
    +
    + +

    ◆ GLFW_KEY_EQUAL

    + +
    +
    + + + + +
    #define GLFW_KEY_EQUAL   61 /* = */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_ESCAPE

    + +
    +
    + + + + +
    #define GLFW_KEY_ESCAPE   256
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F

    + +
    +
    + + + + +
    #define GLFW_KEY_F   70
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F1

    + +
    +
    + + + + +
    #define GLFW_KEY_F1   290
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F10

    + +
    +
    + + + + +
    #define GLFW_KEY_F10   299
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F11

    + +
    +
    + + + + +
    #define GLFW_KEY_F11   300
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F12

    + +
    +
    + + + + +
    #define GLFW_KEY_F12   301
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F13

    + +
    +
    + + + + +
    #define GLFW_KEY_F13   302
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F14

    + +
    +
    + + + + +
    #define GLFW_KEY_F14   303
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F15

    + +
    +
    + + + + +
    #define GLFW_KEY_F15   304
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F16

    + +
    +
    + + + + +
    #define GLFW_KEY_F16   305
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F17

    + +
    +
    + + + + +
    #define GLFW_KEY_F17   306
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F18

    + +
    +
    + + + + +
    #define GLFW_KEY_F18   307
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F19

    + +
    +
    + + + + +
    #define GLFW_KEY_F19   308
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F2

    + +
    +
    + + + + +
    #define GLFW_KEY_F2   291
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F20

    + +
    +
    + + + + +
    #define GLFW_KEY_F20   309
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F21

    + +
    +
    + + + + +
    #define GLFW_KEY_F21   310
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F22

    + +
    +
    + + + + +
    #define GLFW_KEY_F22   311
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F23

    + +
    +
    + + + + +
    #define GLFW_KEY_F23   312
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F24

    + +
    +
    + + + + +
    #define GLFW_KEY_F24   313
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F25

    + +
    +
    + + + + +
    #define GLFW_KEY_F25   314
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F3

    + +
    +
    + + + + +
    #define GLFW_KEY_F3   292
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F4

    + +
    +
    + + + + +
    #define GLFW_KEY_F4   293
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F5

    + +
    +
    + + + + +
    #define GLFW_KEY_F5   294
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F6

    + +
    +
    + + + + +
    #define GLFW_KEY_F6   295
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F7

    + +
    +
    + + + + +
    #define GLFW_KEY_F7   296
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F8

    + +
    +
    + + + + +
    #define GLFW_KEY_F8   297
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F9

    + +
    +
    + + + + +
    #define GLFW_KEY_F9   298
    +
    + +
    +
    + +

    ◆ GLFW_KEY_G

    + +
    +
    + + + + +
    #define GLFW_KEY_G   71
    +
    + +
    +
    + +

    ◆ GLFW_KEY_GRAVE_ACCENT

    + +
    +
    + + + + +
    #define GLFW_KEY_GRAVE_ACCENT   96 /* ` */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_H

    + +
    +
    + + + + +
    #define GLFW_KEY_H   72
    +
    + +
    +
    + +

    ◆ GLFW_KEY_HOME

    + +
    +
    + + + + +
    #define GLFW_KEY_HOME   268
    +
    + +
    +
    + +

    ◆ GLFW_KEY_I

    + +
    +
    + + + + +
    #define GLFW_KEY_I   73
    +
    + +
    +
    + +

    ◆ GLFW_KEY_INSERT

    + +
    +
    + + + + +
    #define GLFW_KEY_INSERT   260
    +
    + +
    +
    + +

    ◆ GLFW_KEY_J

    + +
    +
    + + + + +
    #define GLFW_KEY_J   74
    +
    + +
    +
    + +

    ◆ GLFW_KEY_K

    + +
    +
    + + + + +
    #define GLFW_KEY_K   75
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_0

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_0   320
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_1

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_1   321
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_2

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_2   322
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_3

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_3   323
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_4

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_4   324
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_5

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_5   325
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_6

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_6   326
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_7

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_7   327
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_8

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_8   328
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_9

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_9   329
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_ADD

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_ADD   334
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_DECIMAL

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_DECIMAL   330
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_DIVIDE

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_DIVIDE   331
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_ENTER

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_ENTER   335
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_EQUAL

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_EQUAL   336
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_MULTIPLY

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_MULTIPLY   332
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_SUBTRACT

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_SUBTRACT   333
    +
    + +
    +
    + +

    ◆ GLFW_KEY_L

    + +
    +
    + + + + +
    #define GLFW_KEY_L   76
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LAST

    + +
    +
    + + + + +
    #define GLFW_KEY_LAST   GLFW_KEY_MENU
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT   263
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_ALT

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_ALT   342
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_BRACKET

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_BRACKET   91 /* [ */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_CONTROL

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_CONTROL   341
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_SHIFT

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_SHIFT   340
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_SUPER

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_SUPER   343
    +
    + +
    +
    + +

    ◆ GLFW_KEY_M

    + +
    +
    + + + + +
    #define GLFW_KEY_M   77
    +
    + +
    +
    + +

    ◆ GLFW_KEY_MENU

    + +
    +
    + + + + +
    #define GLFW_KEY_MENU   348
    +
    + +
    +
    + +

    ◆ GLFW_KEY_MINUS

    + +
    +
    + + + + +
    #define GLFW_KEY_MINUS   45 /* - */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_N

    + +
    +
    + + + + +
    #define GLFW_KEY_N   78
    +
    + +
    +
    + +

    ◆ GLFW_KEY_NUM_LOCK

    + +
    +
    + + + + +
    #define GLFW_KEY_NUM_LOCK   282
    +
    + +
    +
    + +

    ◆ GLFW_KEY_O

    + +
    +
    + + + + +
    #define GLFW_KEY_O   79
    +
    + +
    +
    + +

    ◆ GLFW_KEY_P

    + +
    +
    + + + + +
    #define GLFW_KEY_P   80
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PAGE_DOWN

    + +
    +
    + + + + +
    #define GLFW_KEY_PAGE_DOWN   267
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PAGE_UP

    + +
    +
    + + + + +
    #define GLFW_KEY_PAGE_UP   266
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PAUSE

    + +
    +
    + + + + +
    #define GLFW_KEY_PAUSE   284
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PERIOD

    + +
    +
    + + + + +
    #define GLFW_KEY_PERIOD   46 /* . */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PRINT_SCREEN

    + +
    +
    + + + + +
    #define GLFW_KEY_PRINT_SCREEN   283
    +
    + +
    +
    + +

    ◆ GLFW_KEY_Q

    + +
    +
    + + + + +
    #define GLFW_KEY_Q   81
    +
    + +
    +
    + +

    ◆ GLFW_KEY_R

    + +
    +
    + + + + +
    #define GLFW_KEY_R   82
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT   262
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_ALT

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_ALT   346
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_BRACKET

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_BRACKET   93 /* ] */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_CONTROL

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_CONTROL   345
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_SHIFT

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_SHIFT   344
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_SUPER

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_SUPER   347
    +
    + +
    +
    + +

    ◆ GLFW_KEY_S

    + +
    +
    + + + + +
    #define GLFW_KEY_S   83
    +
    + +
    +
    + +

    ◆ GLFW_KEY_SCROLL_LOCK

    + +
    +
    + + + + +
    #define GLFW_KEY_SCROLL_LOCK   281
    +
    + +
    +
    + +

    ◆ GLFW_KEY_SEMICOLON

    + +
    +
    + + + + +
    #define GLFW_KEY_SEMICOLON   59 /* ; */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_SLASH

    + +
    +
    + + + + +
    #define GLFW_KEY_SLASH   47 /* / */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_SPACE

    + +
    +
    + + + + +
    #define GLFW_KEY_SPACE   32
    +
    + +
    +
    + +

    ◆ GLFW_KEY_T

    + +
    +
    + + + + +
    #define GLFW_KEY_T   84
    +
    + +
    +
    + +

    ◆ GLFW_KEY_TAB

    + +
    +
    + + + + +
    #define GLFW_KEY_TAB   258
    +
    + +
    +
    + +

    ◆ GLFW_KEY_U

    + +
    +
    + + + + +
    #define GLFW_KEY_U   85
    +
    + +
    +
    + +

    ◆ GLFW_KEY_UNKNOWN

    + +
    +
    + + + + +
    #define GLFW_KEY_UNKNOWN   -1
    +
    + +
    +
    + +

    ◆ GLFW_KEY_UP

    + +
    +
    + + + + +
    #define GLFW_KEY_UP   265
    +
    + +
    +
    + +

    ◆ GLFW_KEY_V

    + +
    +
    + + + + +
    #define GLFW_KEY_V   86
    +
    + +
    +
    + +

    ◆ GLFW_KEY_W

    + +
    +
    + + + + +
    #define GLFW_KEY_W   87
    +
    + +
    +
    + +

    ◆ GLFW_KEY_WORLD_1

    + +
    +
    + + + + +
    #define GLFW_KEY_WORLD_1   161 /* non-US #1 */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_WORLD_2

    + +
    +
    + + + + +
    #define GLFW_KEY_WORLD_2   162 /* non-US #2 */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_X

    + +
    +
    + + + + +
    #define GLFW_KEY_X   88
    +
    + +
    +
    + +

    ◆ GLFW_KEY_Y

    + +
    +
    + + + + +
    #define GLFW_KEY_Y   89
    +
    + +
    +
    + +

    ◆ GLFW_KEY_Z

    + +
    +
    + + + + +
    #define GLFW_KEY_Z   90
    +
    + +
    +
    +
    + + + diff --git a/docs/3.2/group__mods.html b/docs/3.2/group__mods.html new file mode 100644 index 0000000..1c281c2 --- /dev/null +++ b/docs/3.2/group__mods.html @@ -0,0 +1,150 @@ + + + + + + +GLFW: Modifier key flags + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Modifier key flags
    +
    +
    +

    Description

    +

    See key input for how these are used.

    + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_MOD_SHIFT   0x0001
     If this bit is set one or more Shift keys were held down. More...
     
    #define GLFW_MOD_CONTROL   0x0002
     If this bit is set one or more Control keys were held down. More...
     
    #define GLFW_MOD_ALT   0x0004
     If this bit is set one or more Alt keys were held down. More...
     
    #define GLFW_MOD_SUPER   0x0008
     If this bit is set one or more Super keys were held down. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_MOD_ALT

    + +
    +
    + + + + +
    #define GLFW_MOD_ALT   0x0004
    +
    + +
    +
    + +

    ◆ GLFW_MOD_CONTROL

    + +
    +
    + + + + +
    #define GLFW_MOD_CONTROL   0x0002
    +
    + +
    +
    + +

    ◆ GLFW_MOD_SHIFT

    + +
    +
    + + + + +
    #define GLFW_MOD_SHIFT   0x0001
    +
    + +
    +
    + +

    ◆ GLFW_MOD_SUPER

    + +
    +
    + + + + +
    #define GLFW_MOD_SUPER   0x0008
    +
    + +
    +
    +
    + + + diff --git a/docs/3.2/group__monitor.html b/docs/3.2/group__monitor.html new file mode 100644 index 0000000..d490722 --- /dev/null +++ b/docs/3.2/group__monitor.html @@ -0,0 +1,626 @@ + + + + + + +GLFW: Monitor reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Monitor reference
    +
    +
    +

    Description

    +

    This is the reference documentation for monitor related functions and types. For more task-oriented information, see the Monitor guide.

    + + + + + + + + + + + + + + +

    +Typedefs

    typedef struct GLFWmonitor GLFWmonitor
     Opaque monitor object. More...
     
    typedef void(* GLFWmonitorfun) (GLFWmonitor *, int)
     The function signature for monitor configuration callbacks. More...
     
    typedef struct GLFWvidmode GLFWvidmode
     Video mode type. More...
     
    typedef struct GLFWgammaramp GLFWgammaramp
     Gamma ramp. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    GLFWmonitor ** glfwGetMonitors (int *count)
     Returns the currently connected monitors. More...
     
    GLFWmonitorglfwGetPrimaryMonitor (void)
     Returns the primary monitor. More...
     
    void glfwGetMonitorPos (GLFWmonitor *monitor, int *xpos, int *ypos)
     Returns the position of the monitor's viewport on the virtual screen. More...
     
    void glfwGetMonitorPhysicalSize (GLFWmonitor *monitor, int *widthMM, int *heightMM)
     Returns the physical size of the monitor. More...
     
    const char * glfwGetMonitorName (GLFWmonitor *monitor)
     Returns the name of the specified monitor. More...
     
    GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun cbfun)
     Sets the monitor configuration callback. More...
     
    const GLFWvidmodeglfwGetVideoModes (GLFWmonitor *monitor, int *count)
     Returns the available video modes for the specified monitor. More...
     
    const GLFWvidmodeglfwGetVideoMode (GLFWmonitor *monitor)
     Returns the current mode of the specified monitor. More...
     
    void glfwSetGamma (GLFWmonitor *monitor, float gamma)
     Generates a gamma ramp and sets it for the specified monitor. More...
     
    const GLFWgammarampglfwGetGammaRamp (GLFWmonitor *monitor)
     Returns the current gamma ramp for the specified monitor. More...
     
    void glfwSetGammaRamp (GLFWmonitor *monitor, const GLFWgammaramp *ramp)
     Sets the current gamma ramp for the specified monitor. More...
     
    +

    Typedef Documentation

    + +

    ◆ GLFWgammaramp

    + +
    +
    + + + + +
    typedef struct GLFWgammaramp GLFWgammaramp
    +
    +

    This describes the gamma ramp for a monitor.

    +
    See also
    Gamma ramp
    +
    +glfwGetGammaRamp glfwSetGammaRamp
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWmonitor

    + +
    +
    + + + + +
    typedef struct GLFWmonitor GLFWmonitor
    +
    +

    Opaque monitor object.

    +
    See also
    Monitor objects
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWmonitorfun

    + +
    +
    + + + + +
    typedef void(* GLFWmonitorfun) (GLFWmonitor *, int)
    +
    +

    This is the function signature for monitor configuration callback functions.

    +
    Parameters
    + + + +
    [in]monitorThe monitor that was connected or disconnected.
    [in]eventOne of GLFW_CONNECTED or GLFW_DISCONNECTED.
    +
    +
    +
    See also
    Monitor configuration changes
    +
    +glfwSetMonitorCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWvidmode

    + +
    +
    + + + + +
    typedef struct GLFWvidmode GLFWvidmode
    +
    +

    This describes a single video mode.

    +
    See also
    Video modes
    +
    +glfwGetVideoMode glfwGetVideoModes
    +
    Since
    Added in version 1.0. GLFW 3: Added refresh rate member.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwGetGammaRamp()

    + +
    +
    + + + + + + + + +
    const GLFWgammaramp* glfwGetGammaRamp (GLFWmonitormonitor)
    +
    +

    This function returns the current gamma ramp of the specified monitor.

    +
    Parameters
    + + +
    [in]monitorThe monitor to query.
    +
    +
    +
    Returns
    The current gamma ramp, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned structure and its arrays are allocated and freed by GLFW. You should not free them yourself. They are valid until the specified monitor is disconnected, this function is called again for that monitor or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamma ramp
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetMonitorName()

    + +
    +
    + + + + + + + + +
    const char* glfwGetMonitorName (GLFWmonitormonitor)
    +
    +

    This function returns a human-readable name, encoded as UTF-8, of the specified monitor. The name typically reflects the make and model of the monitor and is not guaranteed to be unique among the connected monitors.

    +
    Parameters
    + + +
    [in]monitorThe monitor to query.
    +
    +
    +
    Returns
    The UTF-8 encoded name of the monitor, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified monitor is disconnected or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Monitor properties
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetMonitorPhysicalSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetMonitorPhysicalSize (GLFWmonitormonitor,
    int * widthMM,
    int * heightMM 
    )
    +
    +

    This function returns the size, in millimetres, of the display area of the specified monitor.

    +

    Some systems do not provide accurate monitor size information, either because the monitor EDID data is incorrect or because the driver does not report it accurately.

    +

    Any or all of the size arguments may be NULL. If an error occurs, all non-NULL size arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]monitorThe monitor to query.
    [out]widthMMWhere to store the width, in millimetres, of the monitor's display area, or NULL.
    [out]heightMMWhere to store the height, in millimetres, of the monitor's display area, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Remarks
    Windows: calculates the returned physical size from the current resolution and system DPI instead of querying the monitor EDID data.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Monitor properties
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetMonitorPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetMonitorPos (GLFWmonitormonitor,
    int * xpos,
    int * ypos 
    )
    +
    +

    This function returns the position, in screen coordinates, of the upper-left corner of the specified monitor.

    +

    Any or all of the position arguments may be NULL. If an error occurs, all non-NULL position arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]monitorThe monitor to query.
    [out]xposWhere to store the monitor x-coordinate, or NULL.
    [out]yposWhere to store the monitor y-coordinate, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Monitor properties
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetMonitors()

    + +
    +
    + + + + + + + + +
    GLFWmonitor** glfwGetMonitors (int * count)
    +
    +

    This function returns an array of handles for all currently connected monitors. The primary monitor is always first in the returned array. If no monitors were found, this function returns NULL.

    +
    Parameters
    + + +
    [out]countWhere to store the number of monitors in the returned array. This is set to zero if an error occurred.
    +
    +
    +
    Returns
    An array of monitor handles, or NULL if no monitors were found or if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is guaranteed to be valid only until the monitor configuration changes or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Retrieving monitors
    +
    +Monitor configuration changes
    +
    +glfwGetPrimaryMonitor
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetPrimaryMonitor()

    + +
    +
    + + + + + + + + +
    GLFWmonitor* glfwGetPrimaryMonitor (void )
    +
    +

    This function returns the primary monitor. This is usually the monitor where elements like the task bar or global menu bar are located.

    +
    Returns
    The primary monitor, or NULL if no monitors were found or if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    Remarks
    The primary monitor is always first in the array returned by glfwGetMonitors.
    +
    See also
    Retrieving monitors
    +
    +glfwGetMonitors
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetVideoMode()

    + +
    +
    + + + + + + + + +
    const GLFWvidmode* glfwGetVideoMode (GLFWmonitormonitor)
    +
    +

    This function returns the current video mode of the specified monitor. If you have created a full screen window for that monitor, the return value will depend on whether that window is iconified.

    +
    Parameters
    + + +
    [in]monitorThe monitor to query.
    +
    +
    +
    Returns
    The current mode of the monitor, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified monitor is disconnected or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Video modes
    +
    +glfwGetVideoModes
    +
    Since
    Added in version 3.0. Replaces glfwGetDesktopMode.
    + +
    +
    + +

    ◆ glfwGetVideoModes()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const GLFWvidmode* glfwGetVideoModes (GLFWmonitormonitor,
    int * count 
    )
    +
    +

    This function returns an array of all video modes supported by the specified monitor. The returned array is sorted in ascending order, first by color bit depth (the sum of all channel depths) and then by resolution area (the product of width and height).

    +
    Parameters
    + + + +
    [in]monitorThe monitor to query.
    [out]countWhere to store the number of video modes in the returned array. This is set to zero if an error occurred.
    +
    +
    +
    Returns
    An array of video modes, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified monitor is disconnected, this function is called again for that monitor or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Video modes
    +
    +glfwGetVideoMode
    +
    Since
    Added in version 1.0. GLFW 3: Changed to return an array of modes for a specific monitor.
    + +
    +
    + +

    ◆ glfwSetGamma()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetGamma (GLFWmonitormonitor,
    float gamma 
    )
    +
    +

    This function generates a 256-element gamma ramp from the specified exponent and then calls glfwSetGammaRamp with it. The value must be a finite number greater than zero.

    +
    Parameters
    + + + +
    [in]monitorThe monitor whose gamma ramp to set.
    [in]gammaThe desired exponent.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_VALUE and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamma ramp
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetGammaRamp()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetGammaRamp (GLFWmonitormonitor,
    const GLFWgammarampramp 
    )
    +
    +

    This function sets the current gamma ramp for the specified monitor. The original gamma ramp for that monitor is saved by GLFW the first time this function is called and is restored by glfwTerminate.

    +
    Parameters
    + + + +
    [in]monitorThe monitor whose gamma ramp to set.
    [in]rampThe gamma ramp to use.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Gamma ramp sizes other than 256 are not supported by all platforms or graphics hardware.
    +
    +Windows: The gamma ramp size must be 256.
    +
    Pointer lifetime
    The specified gamma ramp is copied before this function returns.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamma ramp
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetMonitorCallback()

    + +
    +
    + + + + + + + + +
    GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun cbfun)
    +
    +

    This function sets the monitor configuration callback, or removes the currently set callback. This is called when a monitor is connected to or disconnected from the system.

    +
    Parameters
    + + +
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Monitor configuration changes
    +
    Since
    Added in version 3.0.
    + +
    +
    +
    + + + diff --git a/docs/3.2/group__native.html b/docs/3.2/group__native.html new file mode 100644 index 0000000..39d3e2c --- /dev/null +++ b/docs/3.2/group__native.html @@ -0,0 +1,626 @@ + + + + + + +GLFW: Native access + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Native access
    +
    +
    +

    Description

    +

    By using the native access functions you assert that you know what you're doing and how to fix problems caused by using them. If you don't, you shouldn't be using them.

    +

    Before the inclusion of glfw3native.h, you may define exactly one window system API macro and zero or more context creation API macros.

    +

    The chosen backends must match those the library was compiled for. Failure to do this will cause a link-time error.

    +

    The available window API macros are:

      +
    • GLFW_EXPOSE_NATIVE_WIN32
    • +
    • GLFW_EXPOSE_NATIVE_COCOA
    • +
    • GLFW_EXPOSE_NATIVE_X11
    • +
    • GLFW_EXPOSE_NATIVE_WAYLAND
    • +
    • GLFW_EXPOSE_NATIVE_MIR
    • +
    +

    The available context API macros are:

      +
    • GLFW_EXPOSE_NATIVE_WGL
    • +
    • GLFW_EXPOSE_NATIVE_NSGL
    • +
    • GLFW_EXPOSE_NATIVE_GLX
    • +
    • GLFW_EXPOSE_NATIVE_EGL
    • +
    +

    These macros select which of the native access functions that are declared and which platform-specific headers to include. It is then up your (by definition platform-specific) code to handle which of these should be defined.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    const char * glfwGetWin32Adapter (GLFWmonitor *monitor)
     Returns the adapter device name of the specified monitor. More...
     
    const char * glfwGetWin32Monitor (GLFWmonitor *monitor)
     Returns the display device name of the specified monitor. More...
     
    HWND glfwGetWin32Window (GLFWwindow *window)
     Returns the HWND of the specified window. More...
     
    HGLRC glfwGetWGLContext (GLFWwindow *window)
     Returns the HGLRC of the specified window. More...
     
    CGDirectDisplayID glfwGetCocoaMonitor (GLFWmonitor *monitor)
     Returns the CGDirectDisplayID of the specified monitor. More...
     
    id glfwGetCocoaWindow (GLFWwindow *window)
     Returns the NSWindow of the specified window. More...
     
    id glfwGetNSGLContext (GLFWwindow *window)
     Returns the NSOpenGLContext of the specified window. More...
     
    Display * glfwGetX11Display (void)
     Returns the Display used by GLFW. More...
     
    RRCrtc glfwGetX11Adapter (GLFWmonitor *monitor)
     Returns the RRCrtc of the specified monitor. More...
     
    RROutput glfwGetX11Monitor (GLFWmonitor *monitor)
     Returns the RROutput of the specified monitor. More...
     
    Window glfwGetX11Window (GLFWwindow *window)
     Returns the Window of the specified window. More...
     
    GLXContext glfwGetGLXContext (GLFWwindow *window)
     Returns the GLXContext of the specified window. More...
     
    GLXWindow glfwGetGLXWindow (GLFWwindow *window)
     Returns the GLXWindow of the specified window. More...
     
    struct wl_display * glfwGetWaylandDisplay (void)
     Returns the struct wl_display* used by GLFW. More...
     
    struct wl_output * glfwGetWaylandMonitor (GLFWmonitor *monitor)
     Returns the struct wl_output* of the specified monitor. More...
     
    struct wl_surface * glfwGetWaylandWindow (GLFWwindow *window)
     Returns the main struct wl_surface* of the specified window. More...
     
    MirConnection * glfwGetMirDisplay (void)
     Returns the MirConnection* used by GLFW. More...
     
    int glfwGetMirMonitor (GLFWmonitor *monitor)
     Returns the Mir output ID of the specified monitor. More...
     
    MirSurface * glfwGetMirWindow (GLFWwindow *window)
     Returns the MirSurface* of the specified window. More...
     
    EGLDisplay glfwGetEGLDisplay (void)
     Returns the EGLDisplay used by GLFW. More...
     
    EGLContext glfwGetEGLContext (GLFWwindow *window)
     Returns the EGLContext of the specified window. More...
     
    EGLSurface glfwGetEGLSurface (GLFWwindow *window)
     Returns the EGLSurface of the specified window. More...
     
    +

    Function Documentation

    + +

    ◆ glfwGetCocoaMonitor()

    + +
    +
    + + + + + + + + +
    CGDirectDisplayID glfwGetCocoaMonitor (GLFWmonitormonitor)
    +
    +
    Returns
    The CGDirectDisplayID of the specified monitor, or kCGNullDirectDisplay if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetCocoaWindow()

    + +
    +
    + + + + + + + + +
    id glfwGetCocoaWindow (GLFWwindowwindow)
    +
    +
    Returns
    The NSWindow of the specified window, or nil if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetEGLContext()

    + +
    +
    + + + + + + + + +
    EGLContext glfwGetEGLContext (GLFWwindowwindow)
    +
    +
    Returns
    The EGLContext of the specified window, or EGL_NO_CONTEXT if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetEGLDisplay()

    + +
    +
    + + + + + + + + +
    EGLDisplay glfwGetEGLDisplay (void )
    +
    +
    Returns
    The EGLDisplay used by GLFW, or EGL_NO_DISPLAY if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetEGLSurface()

    + +
    +
    + + + + + + + + +
    EGLSurface glfwGetEGLSurface (GLFWwindowwindow)
    +
    +
    Returns
    The EGLSurface of the specified window, or EGL_NO_SURFACE if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetGLXContext()

    + +
    +
    + + + + + + + + +
    GLXContext glfwGetGLXContext (GLFWwindowwindow)
    +
    +
    Returns
    The GLXContext of the specified window, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetGLXWindow()

    + +
    +
    + + + + + + + + +
    GLXWindow glfwGetGLXWindow (GLFWwindowwindow)
    +
    +
    Returns
    The GLXWindow of the specified window, or None if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetMirDisplay()

    + +
    +
    + + + + + + + + +
    MirConnection* glfwGetMirDisplay (void )
    +
    +
    Returns
    The MirConnection* used by GLFW, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetMirMonitor()

    + +
    +
    + + + + + + + + +
    int glfwGetMirMonitor (GLFWmonitormonitor)
    +
    +
    Returns
    The Mir output ID of the specified monitor, or zero if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetMirWindow()

    + +
    +
    + + + + + + + + +
    MirSurface* glfwGetMirWindow (GLFWwindowwindow)
    +
    +
    Returns
    The MirSurface* of the specified window, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetNSGLContext()

    + +
    +
    + + + + + + + + +
    id glfwGetNSGLContext (GLFWwindowwindow)
    +
    +
    Returns
    The NSOpenGLContext of the specified window, or nil if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetWaylandDisplay()

    + +
    +
    + + + + + + + + +
    struct wl_display* glfwGetWaylandDisplay (void )
    +
    +
    Returns
    The struct wl_display* used by GLFW, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetWaylandMonitor()

    + +
    +
    + + + + + + + + +
    struct wl_output* glfwGetWaylandMonitor (GLFWmonitormonitor)
    +
    +
    Returns
    The struct wl_output* of the specified monitor, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetWaylandWindow()

    + +
    +
    + + + + + + + + +
    struct wl_surface* glfwGetWaylandWindow (GLFWwindowwindow)
    +
    +
    Returns
    The main struct wl_surface* of the specified window, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetWGLContext()

    + +
    +
    + + + + + + + + +
    HGLRC glfwGetWGLContext (GLFWwindowwindow)
    +
    +
    Returns
    The HGLRC of the specified window, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetWin32Adapter()

    + +
    +
    + + + + + + + + +
    const char* glfwGetWin32Adapter (GLFWmonitormonitor)
    +
    +
    Returns
    The UTF-8 encoded adapter device name (for example \\.\DISPLAY1) of the specified monitor, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetWin32Monitor()

    + +
    +
    + + + + + + + + +
    const char* glfwGetWin32Monitor (GLFWmonitormonitor)
    +
    +
    Returns
    The UTF-8 encoded display device name (for example \\.\DISPLAY1\Monitor0) of the specified monitor, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetWin32Window()

    + +
    +
    + + + + + + + + +
    HWND glfwGetWin32Window (GLFWwindowwindow)
    +
    +
    Returns
    The HWND of the specified window, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetX11Adapter()

    + +
    +
    + + + + + + + + +
    RRCrtc glfwGetX11Adapter (GLFWmonitormonitor)
    +
    +
    Returns
    The RRCrtc of the specified monitor, or None if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetX11Display()

    + +
    +
    + + + + + + + + +
    Display* glfwGetX11Display (void )
    +
    +
    Returns
    The Display used by GLFW, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetX11Monitor()

    + +
    +
    + + + + + + + + +
    RROutput glfwGetX11Monitor (GLFWmonitormonitor)
    +
    +
    Returns
    The RROutput of the specified monitor, or None if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetX11Window()

    + +
    +
    + + + + + + + + +
    Window glfwGetX11Window (GLFWwindowwindow)
    +
    +
    Returns
    The Window of the specified window, or None if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    +
    + + + diff --git a/docs/3.2/group__shapes.html b/docs/3.2/group__shapes.html new file mode 100644 index 0000000..d2e1122 --- /dev/null +++ b/docs/3.2/group__shapes.html @@ -0,0 +1,190 @@ + + + + + + +GLFW: Standard cursor shapes + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Standard cursor shapes
    +
    +
    +

    Description

    +

    See standard cursor creation for how these are used.

    + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_ARROW_CURSOR   0x00036001
     The regular arrow cursor shape. More...
     
    #define GLFW_IBEAM_CURSOR   0x00036002
     The text input I-beam cursor shape. More...
     
    #define GLFW_CROSSHAIR_CURSOR   0x00036003
     The crosshair shape. More...
     
    #define GLFW_HAND_CURSOR   0x00036004
     The hand shape. More...
     
    #define GLFW_HRESIZE_CURSOR   0x00036005
     The horizontal resize arrow shape. More...
     
    #define GLFW_VRESIZE_CURSOR   0x00036006
     The vertical resize arrow shape. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_ARROW_CURSOR

    + +
    +
    + + + + +
    #define GLFW_ARROW_CURSOR   0x00036001
    +
    +

    The regular arrow cursor.

    + +
    +
    + +

    ◆ GLFW_CROSSHAIR_CURSOR

    + +
    +
    + + + + +
    #define GLFW_CROSSHAIR_CURSOR   0x00036003
    +
    +

    The crosshair shape.

    + +
    +
    + +

    ◆ GLFW_HAND_CURSOR

    + +
    +
    + + + + +
    #define GLFW_HAND_CURSOR   0x00036004
    +
    +

    The hand shape.

    + +
    +
    + +

    ◆ GLFW_HRESIZE_CURSOR

    + +
    +
    + + + + +
    #define GLFW_HRESIZE_CURSOR   0x00036005
    +
    +

    The horizontal resize arrow shape.

    + +
    +
    + +

    ◆ GLFW_IBEAM_CURSOR

    + +
    +
    + + + + +
    #define GLFW_IBEAM_CURSOR   0x00036002
    +
    +

    The text input I-beam cursor shape.

    + +
    +
    + +

    ◆ GLFW_VRESIZE_CURSOR

    + +
    +
    + + + + +
    #define GLFW_VRESIZE_CURSOR   0x00036006
    +
    +

    The vertical resize arrow shape.

    + +
    +
    +
    + + + diff --git a/docs/3.2/group__vulkan.html b/docs/3.2/group__vulkan.html new file mode 100644 index 0000000..39532e9 --- /dev/null +++ b/docs/3.2/group__vulkan.html @@ -0,0 +1,345 @@ + + + + + + +GLFW: Vulkan reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Vulkan reference
    +
    +
    +

    Description

    +

    This is the reference documentation for Vulkan related functions and types. For more task-oriented information, see the Vulkan guide.

    + + + + + +

    +Typedefs

    typedef void(* GLFWvkproc) (void)
     Vulkan API function pointer type. More...
     
    + + + + + + + + + + + + + + + + +

    +Functions

    int glfwVulkanSupported (void)
     Returns whether the Vulkan loader has been found. More...
     
    const char ** glfwGetRequiredInstanceExtensions (uint32_t *count)
     Returns the Vulkan instance extensions required by GLFW. More...
     
    GLFWvkproc glfwGetInstanceProcAddress (VkInstance instance, const char *procname)
     Returns the address of the specified Vulkan instance function. More...
     
    int glfwGetPhysicalDevicePresentationSupport (VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily)
     Returns whether the specified queue family can present images. More...
     
    VkResult glfwCreateWindowSurface (VkInstance instance, GLFWwindow *window, const VkAllocationCallbacks *allocator, VkSurfaceKHR *surface)
     Creates a Vulkan surface for the specified window. More...
     
    +

    Typedef Documentation

    + +

    ◆ GLFWvkproc

    + +
    +
    + + + + +
    typedef void(* GLFWvkproc) (void)
    +
    +

    Generic function pointer used for returning Vulkan API function pointers without forcing a cast from a regular pointer.

    +
    See also
    Querying Vulkan function pointers
    +
    +glfwGetInstanceProcAddress
    +
    Since
    Added in version 3.2.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwCreateWindowSurface()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    VkResult glfwCreateWindowSurface (VkInstance instance,
    GLFWwindowwindow,
    const VkAllocationCallbacks * allocator,
    VkSurfaceKHR * surface 
    )
    +
    +

    This function creates a Vulkan surface for the specified window.

    +

    If the Vulkan loader was not found at initialization, this function returns VK_ERROR_INITIALIZATION_FAILED and generates a GLFW_API_UNAVAILABLE error. Call glfwVulkanSupported to check whether the Vulkan loader was found.

    +

    If the required window surface creation instance extensions are not available or if the specified instance was not created with these extensions enabled, this function returns VK_ERROR_EXTENSION_NOT_PRESENT and generates a GLFW_API_UNAVAILABLE error. Call glfwGetRequiredInstanceExtensions to check what instance extensions are required.

    +

    The window surface must be destroyed before the specified Vulkan instance. It is the responsibility of the caller to destroy the window surface. GLFW does not destroy it for you. Call vkDestroySurfaceKHR to destroy the surface.

    +
    Parameters
    + + + + + +
    [in]instanceThe Vulkan instance to create the surface in.
    [in]windowThe window to create the surface for.
    [in]allocatorThe allocator to use, or NULL to use the default allocator.
    [out]surfaceWhere to store the handle of the surface. This is set to VK_NULL_HANDLE if an error occurred.
    +
    +
    +
    Returns
    VK_SUCCESS if successful, or a Vulkan error code if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_API_UNAVAILABLE and GLFW_PLATFORM_ERROR.
    +
    Remarks
    If an error occurs before the creation call is made, GLFW returns the Vulkan error code most appropriate for the error. Appropriate use of glfwVulkanSupported and glfwGetRequiredInstanceExtensions should eliminate almost all occurrences of these errors.
    +
    Thread safety
    This function may be called from any thread. For synchronization details of Vulkan objects, see the Vulkan specification.
    +
    See also
    Creating a Vulkan window surface
    +
    +glfwGetRequiredInstanceExtensions
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetInstanceProcAddress()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWvkproc glfwGetInstanceProcAddress (VkInstance instance,
    const char * procname 
    )
    +
    +

    This function returns the address of the specified Vulkan core or extension function for the specified instance. If instance is set to NULL it can return any function exported from the Vulkan loader, including at least the following functions:

    +
      +
    • vkEnumerateInstanceExtensionProperties
    • +
    • vkEnumerateInstanceLayerProperties
    • +
    • vkCreateInstance
    • +
    • vkGetInstanceProcAddr
    • +
    +

    If Vulkan is not available on the machine, this function returns NULL and generates a GLFW_API_UNAVAILABLE error. Call glfwVulkanSupported to check whether Vulkan is available.

    +

    This function is equivalent to calling vkGetInstanceProcAddr with a platform-specific query of the Vulkan loader as a fallback.

    +
    Parameters
    + + + +
    [in]instanceThe Vulkan instance to query, or NULL to retrieve functions related to instance creation.
    [in]procnameThe ASCII encoded name of the function.
    +
    +
    +
    Returns
    The address of the function, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_API_UNAVAILABLE.
    +
    Pointer lifetime
    The returned function pointer is valid until the library is terminated.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Querying Vulkan function pointers
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetPhysicalDevicePresentationSupport()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    int glfwGetPhysicalDevicePresentationSupport (VkInstance instance,
    VkPhysicalDevice device,
    uint32_t queuefamily 
    )
    +
    +

    This function returns whether the specified queue family of the specified physical device supports presentation to the platform GLFW was built for.

    +

    If Vulkan or the required window surface creation instance extensions are not available on the machine, or if the specified instance was not created with the required extensions, this function returns GLFW_FALSE and generates a GLFW_API_UNAVAILABLE error. Call glfwVulkanSupported to check whether Vulkan is available and glfwGetRequiredInstanceExtensions to check what instance extensions are required.

    +
    Parameters
    + + + + +
    [in]instanceThe instance that the physical device belongs to.
    [in]deviceThe physical device that the queue family belongs to.
    [in]queuefamilyThe index of the queue family to query.
    +
    +
    +
    Returns
    GLFW_TRUE if the queue family supports presentation, or GLFW_FALSE otherwise.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_API_UNAVAILABLE and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function may be called from any thread. For synchronization details of Vulkan objects, see the Vulkan specification.
    +
    See also
    Querying for Vulkan presentation support
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetRequiredInstanceExtensions()

    + +
    +
    + + + + + + + + +
    const char** glfwGetRequiredInstanceExtensions (uint32_t * count)
    +
    +

    This function returns an array of names of Vulkan instance extensions required by GLFW for creating Vulkan surfaces for GLFW windows. If successful, the list will always contains VK_KHR_surface, so if you don't require any additional extensions you can pass this list directly to the VkInstanceCreateInfo struct.

    +

    If Vulkan is not available on the machine, this function returns NULL and generates a GLFW_API_UNAVAILABLE error. Call glfwVulkanSupported to check whether Vulkan is available.

    +

    If Vulkan is available but no set of extensions allowing window surface creation was found, this function returns NULL. You may still use Vulkan for off-screen rendering and compute work.

    +
    Parameters
    + + +
    [out]countWhere to store the number of extensions in the returned array. This is set to zero if an error occurred.
    +
    +
    +
    Returns
    An array of ASCII encoded extension names, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_API_UNAVAILABLE.
    +
    Remarks
    Additional extensions may be required by future versions of GLFW. You should check if any extensions you wish to enable are already in the returned array, as it is an error to specify an extension more than once in the VkInstanceCreateInfo struct.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is guaranteed to be valid only until the library is terminated.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Querying required Vulkan extensions
    +
    +glfwCreateWindowSurface
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwVulkanSupported()

    + +
    +
    + + + + + + + + +
    int glfwVulkanSupported (void )
    +
    +

    This function returns whether the Vulkan loader has been found. This check is performed by glfwInit.

    +

    The availability of a Vulkan loader does not by itself guarantee that window surface creation or even device creation is possible. Call glfwGetRequiredInstanceExtensions to check whether the extensions necessary for Vulkan surface creation are available and glfwGetPhysicalDevicePresentationSupport to check whether a queue family of a physical device supports image presentation.

    +
    Returns
    GLFW_TRUE if Vulkan is available, or GLFW_FALSE otherwise.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Querying for Vulkan support
    +
    Since
    Added in version 3.2.
    + +
    +
    +
    + + + diff --git a/docs/3.2/group__window.html b/docs/3.2/group__window.html new file mode 100644 index 0000000..0cfbe11 --- /dev/null +++ b/docs/3.2/group__window.html @@ -0,0 +1,2103 @@ + + + + + + +GLFW: Window reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Window reference
    +
    +
    +

    Description

    +

    This is the reference documentation for window related functions and types, including creation, deletion and event polling. For more task-oriented information, see the Window guide.

    + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Typedefs

    typedef struct GLFWwindow GLFWwindow
     Opaque window object. More...
     
    typedef void(* GLFWwindowposfun) (GLFWwindow *, int, int)
     The function signature for window position callbacks. More...
     
    typedef void(* GLFWwindowsizefun) (GLFWwindow *, int, int)
     The function signature for window resize callbacks. More...
     
    typedef void(* GLFWwindowclosefun) (GLFWwindow *)
     The function signature for window close callbacks. More...
     
    typedef void(* GLFWwindowrefreshfun) (GLFWwindow *)
     The function signature for window content refresh callbacks. More...
     
    typedef void(* GLFWwindowfocusfun) (GLFWwindow *, int)
     The function signature for window focus/defocus callbacks. More...
     
    typedef void(* GLFWwindowiconifyfun) (GLFWwindow *, int)
     The function signature for window iconify/restore callbacks. More...
     
    typedef void(* GLFWframebuffersizefun) (GLFWwindow *, int, int)
     The function signature for framebuffer resize callbacks. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    void glfwDefaultWindowHints (void)
     Resets all window hints to their default values. More...
     
    void glfwWindowHint (int hint, int value)
     Sets the specified window hint to the desired value. More...
     
    GLFWwindowglfwCreateWindow (int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
     Creates a window and its associated context. More...
     
    void glfwDestroyWindow (GLFWwindow *window)
     Destroys the specified window and its context. More...
     
    int glfwWindowShouldClose (GLFWwindow *window)
     Checks the close flag of the specified window. More...
     
    void glfwSetWindowShouldClose (GLFWwindow *window, int value)
     Sets the close flag of the specified window. More...
     
    void glfwSetWindowTitle (GLFWwindow *window, const char *title)
     Sets the title of the specified window. More...
     
    void glfwSetWindowIcon (GLFWwindow *window, int count, const GLFWimage *images)
     Sets the icon for the specified window. More...
     
    void glfwGetWindowPos (GLFWwindow *window, int *xpos, int *ypos)
     Retrieves the position of the client area of the specified window. More...
     
    void glfwSetWindowPos (GLFWwindow *window, int xpos, int ypos)
     Sets the position of the client area of the specified window. More...
     
    void glfwGetWindowSize (GLFWwindow *window, int *width, int *height)
     Retrieves the size of the client area of the specified window. More...
     
    void glfwSetWindowSizeLimits (GLFWwindow *window, int minwidth, int minheight, int maxwidth, int maxheight)
     Sets the size limits of the specified window. More...
     
    void glfwSetWindowAspectRatio (GLFWwindow *window, int numer, int denom)
     Sets the aspect ratio of the specified window. More...
     
    void glfwSetWindowSize (GLFWwindow *window, int width, int height)
     Sets the size of the client area of the specified window. More...
     
    void glfwGetFramebufferSize (GLFWwindow *window, int *width, int *height)
     Retrieves the size of the framebuffer of the specified window. More...
     
    void glfwGetWindowFrameSize (GLFWwindow *window, int *left, int *top, int *right, int *bottom)
     Retrieves the size of the frame of the window. More...
     
    void glfwIconifyWindow (GLFWwindow *window)
     Iconifies the specified window. More...
     
    void glfwRestoreWindow (GLFWwindow *window)
     Restores the specified window. More...
     
    void glfwMaximizeWindow (GLFWwindow *window)
     Maximizes the specified window. More...
     
    void glfwShowWindow (GLFWwindow *window)
     Makes the specified window visible. More...
     
    void glfwHideWindow (GLFWwindow *window)
     Hides the specified window. More...
     
    void glfwFocusWindow (GLFWwindow *window)
     Brings the specified window to front and sets input focus. More...
     
    GLFWmonitorglfwGetWindowMonitor (GLFWwindow *window)
     Returns the monitor that the window uses for full screen mode. More...
     
    void glfwSetWindowMonitor (GLFWwindow *window, GLFWmonitor *monitor, int xpos, int ypos, int width, int height, int refreshRate)
     Sets the mode, monitor, video mode and placement of a window. More...
     
    int glfwGetWindowAttrib (GLFWwindow *window, int attrib)
     Returns an attribute of the specified window. More...
     
    void glfwSetWindowUserPointer (GLFWwindow *window, void *pointer)
     Sets the user pointer of the specified window. More...
     
    void * glfwGetWindowUserPointer (GLFWwindow *window)
     Returns the user pointer of the specified window. More...
     
    GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindow *window, GLFWwindowposfun cbfun)
     Sets the position callback for the specified window. More...
     
    GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindow *window, GLFWwindowsizefun cbfun)
     Sets the size callback for the specified window. More...
     
    GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindow *window, GLFWwindowclosefun cbfun)
     Sets the close callback for the specified window. More...
     
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindow *window, GLFWwindowrefreshfun cbfun)
     Sets the refresh callback for the specified window. More...
     
    GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindow *window, GLFWwindowfocusfun cbfun)
     Sets the focus callback for the specified window. More...
     
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindow *window, GLFWwindowiconifyfun cbfun)
     Sets the iconify callback for the specified window. More...
     
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindow *window, GLFWframebuffersizefun cbfun)
     Sets the framebuffer resize callback for the specified window. More...
     
    void glfwPollEvents (void)
     Processes all pending events. More...
     
    void glfwWaitEvents (void)
     Waits until events are queued and processes them. More...
     
    void glfwWaitEventsTimeout (double timeout)
     Waits with timeout until events are queued and processes them. More...
     
    void glfwPostEmptyEvent (void)
     Posts an empty event to the event queue. More...
     
    void glfwSwapBuffers (GLFWwindow *window)
     Swaps the front and back buffers of the specified window. More...
     
    +

    Typedef Documentation

    + +

    ◆ GLFWframebuffersizefun

    + +
    +
    + + + + +
    typedef void(* GLFWframebuffersizefun) (GLFWwindow *, int, int)
    +
    +

    This is the function signature for framebuffer resize callback functions.

    +
    Parameters
    + + + + +
    [in]windowThe window whose framebuffer was resized.
    [in]widthThe new width, in pixels, of the framebuffer.
    [in]heightThe new height, in pixels, of the framebuffer.
    +
    +
    +
    See also
    Framebuffer size
    +
    +glfwSetFramebufferSizeCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWwindow

    + +
    +
    + + + + +
    typedef struct GLFWwindow GLFWwindow
    +
    +

    Opaque window object.

    +
    See also
    Window objects
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWwindowclosefun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowclosefun) (GLFWwindow *)
    +
    +

    This is the function signature for window close callback functions.

    +
    Parameters
    + + +
    [in]windowThe window that the user attempted to close.
    +
    +
    +
    See also
    Window closing and close flag
    +
    +glfwSetWindowCloseCallback
    +
    Since
    Added in version 2.5. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ GLFWwindowfocusfun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowfocusfun) (GLFWwindow *, int)
    +
    +

    This is the function signature for window focus callback functions.

    +
    Parameters
    + + + +
    [in]windowThe window that gained or lost input focus.
    [in]focusedGLFW_TRUE if the window was given input focus, or GLFW_FALSE if it lost it.
    +
    +
    +
    See also
    Window input focus
    +
    +glfwSetWindowFocusCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWwindowiconifyfun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowiconifyfun) (GLFWwindow *, int)
    +
    +

    This is the function signature for window iconify/restore callback functions.

    +
    Parameters
    + + + +
    [in]windowThe window that was iconified or restored.
    [in]iconifiedGLFW_TRUE if the window was iconified, or GLFW_FALSE if it was restored.
    +
    +
    +
    See also
    Window iconification
    +
    +glfwSetWindowIconifyCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWwindowposfun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowposfun) (GLFWwindow *, int, int)
    +
    +

    This is the function signature for window position callback functions.

    +
    Parameters
    + + + + +
    [in]windowThe window that was moved.
    [in]xposThe new x-coordinate, in screen coordinates, of the upper-left corner of the client area of the window.
    [in]yposThe new y-coordinate, in screen coordinates, of the upper-left corner of the client area of the window.
    +
    +
    +
    See also
    Window position
    +
    +glfwSetWindowPosCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWwindowrefreshfun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowrefreshfun) (GLFWwindow *)
    +
    +

    This is the function signature for window refresh callback functions.

    +
    Parameters
    + + +
    [in]windowThe window whose content needs to be refreshed.
    +
    +
    +
    See also
    Window damage and refresh
    +
    +glfwSetWindowRefreshCallback
    +
    Since
    Added in version 2.5. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ GLFWwindowsizefun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowsizefun) (GLFWwindow *, int, int)
    +
    +

    This is the function signature for window size callback functions.

    +
    Parameters
    + + + + +
    [in]windowThe window that was resized.
    [in]widthThe new width, in screen coordinates, of the window.
    [in]heightThe new height, in screen coordinates, of the window.
    +
    +
    +
    See also
    Window size
    +
    +glfwSetWindowSizeCallback
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwCreateWindow()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFWwindow* glfwCreateWindow (int width,
    int height,
    const char * title,
    GLFWmonitormonitor,
    GLFWwindowshare 
    )
    +
    +

    This function creates a window and its associated OpenGL or OpenGL ES context. Most of the options controlling how the window and its context should be created are specified with window hints.

    +

    Successful creation does not change which context is current. Before you can use the newly created context, you need to make it current. For information about the share parameter, see Context object sharing.

    +

    The created window, framebuffer and context may differ from what you requested, as not all parameters and hints are hard constraints. This includes the size of the window, especially for full screen windows. To query the actual attributes of the created window, framebuffer and context, see glfwGetWindowAttrib, glfwGetWindowSize and glfwGetFramebufferSize.

    +

    To create a full screen window, you need to specify the monitor the window will cover. If no monitor is specified, the window will be windowed mode. Unless you have a way for the user to choose a specific monitor, it is recommended that you pick the primary monitor. For more information on how to query connected monitors, see Retrieving monitors.

    +

    For full screen windows, the specified size becomes the resolution of the window's desired video mode. As long as a full screen window is not iconified, the supported video mode most closely matching the desired video mode is set for the specified monitor. For more information about full screen windows, including the creation of so called windowed full screen or borderless full screen windows, see "Windowed full screen" windows.

    +

    Once you have created the window, you can switch it between windowed and full screen mode with glfwSetWindowMonitor. If the window has an OpenGL or OpenGL ES context, it will be unaffected.

    +

    By default, newly created windows use the placement recommended by the window system. To create the window at a specific position, make it initially invisible using the GLFW_VISIBLE window hint, set its position and then show it.

    +

    As long as at least one full screen window is not iconified, the screensaver is prohibited from starting.

    +

    Window systems put limits on window sizes. Very large or very small window dimensions may be overridden by the window system on creation. Check the actual size after creation.

    +

    The swap interval is not set during window creation and the initial value may vary depending on driver settings and defaults.

    +
    Parameters
    + + + + + + +
    [in]widthThe desired width, in screen coordinates, of the window. This must be greater than zero.
    [in]heightThe desired height, in screen coordinates, of the window. This must be greater than zero.
    [in]titleThe initial, UTF-8 encoded window title.
    [in]monitorThe monitor to use for full screen mode, or NULL for windowed mode.
    [in]shareThe window whose context to share resources with, or NULL to not share resources.
    +
    +
    +
    Returns
    The handle of the created window, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM, GLFW_INVALID_VALUE, GLFW_API_UNAVAILABLE, GLFW_VERSION_UNAVAILABLE, GLFW_FORMAT_UNAVAILABLE and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Windows: Window creation will fail if the Microsoft GDI software OpenGL implementation is the only one available.
    +
    +Windows: If the executable has an icon resource named GLFW_ICON, it will be set as the initial icon for the window. If no such icon is present, the IDI_WINLOGO icon will be used instead. To set a different icon, see glfwSetWindowIcon.
    +
    +Windows: The context to share resources with must not be current on any other thread.
    +
    +OS X: The GLFW window has no icon, as it is not a document window, but the dock icon will be the same as the application bundle's icon. For more information on bundles, see the Bundle Programming Guide in the Mac Developer Library.
    +
    +OS X: The first time a window is created the menu bar is populated with common commands like Hide, Quit and About. The About entry opens a minimal about dialog with information from the application's bundle. The menu bar can be disabled with a compile-time option.
    +
    +OS X: On OS X 10.10 and later the window frame will not be rendered at full resolution on Retina displays unless the NSHighResolutionCapable key is enabled in the application bundle's Info.plist. For more information, see High Resolution Guidelines for OS X in the Mac Developer Library. The GLFW test and example programs use a custom Info.plist template for this, which can be found as CMake/MacOSXBundleInfo.plist.in in the source tree.
    +
    +X11: Some window managers will not respect the placement of initially hidden windows.
    +
    +X11: Due to the asynchronous nature of X11, it may take a moment for a window to reach its requested state. This means you may not be able to query the final size, position or other attributes directly after window creation.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window creation
    +
    +glfwDestroyWindow
    +
    Since
    Added in version 3.0. Replaces glfwOpenWindow.
    + +
    +
    + +

    ◆ glfwDefaultWindowHints()

    + +
    +
    + + + + + + + + +
    void glfwDefaultWindowHints (void )
    +
    +

    This function resets all window hints to their default values.

    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window creation hints
    +
    +glfwWindowHint
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwDestroyWindow()

    + +
    +
    + + + + + + + + +
    void glfwDestroyWindow (GLFWwindowwindow)
    +
    +

    This function destroys the specified window and its context. On calling this function, no further callbacks will be called for that window.

    +

    If the context of the specified window is current on the main thread, it is detached before being destroyed.

    +
    Parameters
    + + +
    [in]windowThe window to destroy.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Note
    The context of the specified window must not be current on any other thread when this function is called.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window creation
    +
    +glfwCreateWindow
    +
    Since
    Added in version 3.0. Replaces glfwCloseWindow.
    + +
    +
    + +

    ◆ glfwFocusWindow()

    + +
    +
    + + + + + + + + +
    void glfwFocusWindow (GLFWwindowwindow)
    +
    +

    This function brings the specified window to front and sets input focus. The window should already be visible and not iconified.

    +

    By default, both windowed and full screen mode windows are focused when initially created. Set the GLFW_FOCUSED to disable this behavior.

    +

    Do not use this function to steal focus from other applications unless you are certain that is what the user wants. Focus stealing can be extremely disruptive.

    +
    Parameters
    + + +
    [in]windowThe window to give input focus.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window input focus
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetFramebufferSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetFramebufferSize (GLFWwindowwindow,
    int * width,
    int * height 
    )
    +
    +

    This function retrieves the size, in pixels, of the framebuffer of the specified window. If you wish to retrieve the size of the window in screen coordinates, see glfwGetWindowSize.

    +

    Any or all of the size arguments may be NULL. If an error occurs, all non-NULL size arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]windowThe window whose framebuffer to query.
    [out]widthWhere to store the width, in pixels, of the framebuffer, or NULL.
    [out]heightWhere to store the height, in pixels, of the framebuffer, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Framebuffer size
    +
    +glfwSetFramebufferSizeCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetWindowAttrib()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetWindowAttrib (GLFWwindowwindow,
    int attrib 
    )
    +
    +

    This function returns the value of an attribute of the specified window or its OpenGL or OpenGL ES context.

    +
    Parameters
    + + + +
    [in]windowThe window to query.
    [in]attribThe window attribute whose value to return.
    +
    +
    +
    Returns
    The value of the attribute, or zero if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Framebuffer related hints are not window attributes. See Framebuffer related attributes for more information.
    +
    +Zero is a valid value for many window and context related attributes so you cannot use a return value of zero as an indication of errors. However, this function should not fail as long as it is passed valid arguments and the library has been initialized.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window attributes
    +
    Since
    Added in version 3.0. Replaces glfwGetWindowParam and glfwGetGLVersion.
    + +
    +
    + +

    ◆ glfwGetWindowFrameSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetWindowFrameSize (GLFWwindowwindow,
    int * left,
    int * top,
    int * right,
    int * bottom 
    )
    +
    +

    This function retrieves the size, in screen coordinates, of each edge of the frame of the specified window. This size includes the title bar, if the window has one. The size of the frame may vary depending on the window-related hints used to create it.

    +

    Because this function retrieves the size of each window frame edge and not the offset along a particular coordinate axis, the retrieved values will always be zero or positive.

    +

    Any or all of the size arguments may be NULL. If an error occurs, all non-NULL size arguments will be set to zero.

    +
    Parameters
    + + + + + + +
    [in]windowThe window whose frame size to query.
    [out]leftWhere to store the size, in screen coordinates, of the left edge of the window frame, or NULL.
    [out]topWhere to store the size, in screen coordinates, of the top edge of the window frame, or NULL.
    [out]rightWhere to store the size, in screen coordinates, of the right edge of the window frame, or NULL.
    [out]bottomWhere to store the size, in screen coordinates, of the bottom edge of the window frame, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetWindowMonitor()

    + +
    +
    + + + + + + + + +
    GLFWmonitor* glfwGetWindowMonitor (GLFWwindowwindow)
    +
    +

    This function returns the handle of the monitor that the specified window is in full screen on.

    +
    Parameters
    + + +
    [in]windowThe window to query.
    +
    +
    +
    Returns
    The monitor, or NULL if the window is in windowed mode or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window monitor
    +
    +glfwSetWindowMonitor
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetWindowPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetWindowPos (GLFWwindowwindow,
    int * xpos,
    int * ypos 
    )
    +
    +

    This function retrieves the position, in screen coordinates, of the upper-left corner of the client area of the specified window.

    +

    Any or all of the position arguments may be NULL. If an error occurs, all non-NULL position arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]windowThe window to query.
    [out]xposWhere to store the x-coordinate of the upper-left corner of the client area, or NULL.
    [out]yposWhere to store the y-coordinate of the upper-left corner of the client area, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window position
    +
    +glfwSetWindowPos
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetWindowSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetWindowSize (GLFWwindowwindow,
    int * width,
    int * height 
    )
    +
    +

    This function retrieves the size, in screen coordinates, of the client area of the specified window. If you wish to retrieve the size of the framebuffer of the window in pixels, see glfwGetFramebufferSize.

    +

    Any or all of the size arguments may be NULL. If an error occurs, all non-NULL size arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]windowThe window whose size to retrieve.
    [out]widthWhere to store the width, in screen coordinates, of the client area, or NULL.
    [out]heightWhere to store the height, in screen coordinates, of the client area, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size
    +
    +glfwSetWindowSize
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwGetWindowUserPointer()

    + +
    +
    + + + + + + + + +
    void* glfwGetWindowUserPointer (GLFWwindowwindow)
    +
    +

    This function returns the current value of the user-defined pointer of the specified window. The initial value is NULL.

    +
    Parameters
    + + +
    [in]windowThe window whose pointer to return.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    User pointer
    +
    +glfwSetWindowUserPointer
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwHideWindow()

    + +
    +
    + + + + + + + + +
    void glfwHideWindow (GLFWwindowwindow)
    +
    +

    This function hides the specified window if it was previously visible. If the window is already hidden or is in full screen mode, this function does nothing.

    +
    Parameters
    + + +
    [in]windowThe window to hide.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window visibility
    +
    +glfwShowWindow
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwIconifyWindow()

    + +
    +
    + + + + + + + + +
    void glfwIconifyWindow (GLFWwindowwindow)
    +
    +

    This function iconifies (minimizes) the specified window if it was previously restored. If the window is already iconified, this function does nothing.

    +

    If the specified window is a full screen window, the original monitor resolution is restored until the window is restored.

    +
    Parameters
    + + +
    [in]windowThe window to iconify.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window iconification
    +
    +glfwRestoreWindow
    +
    +glfwMaximizeWindow
    +
    Since
    Added in version 2.1. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwMaximizeWindow()

    + +
    +
    + + + + + + + + +
    void glfwMaximizeWindow (GLFWwindowwindow)
    +
    +

    This function maximizes the specified window if it was previously not maximized. If the window is already maximized, this function does nothing.

    +

    If the specified window is a full screen window, this function does nothing.

    +
    Parameters
    + + +
    [in]windowThe window to maximize.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window iconification
    +
    +glfwIconifyWindow
    +
    +glfwRestoreWindow
    +
    Since
    Added in GLFW 3.2.
    + +
    +
    + +

    ◆ glfwPollEvents()

    + +
    +
    + + + + + + + + +
    void glfwPollEvents (void )
    +
    +

    This function processes only those events that are already in the event queue and then returns immediately. Processing events will cause the window and input callbacks associated with those events to be called.

    +

    On some platforms, a window move, resize or menu operation will cause event processing to block. This is due to how event processing is designed on those platforms. You can use the window refresh callback to redraw the contents of your window when necessary during such operations.

    +

    On some platforms, certain events are sent directly to the application without going through the event queue, causing callbacks to be called outside of a call to one of the event processing functions.

    +

    Event processing is not required for joystick input to work.

    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Event processing
    +
    +glfwWaitEvents
    +
    +glfwWaitEventsTimeout
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwPostEmptyEvent()

    + +
    +
    + + + + + + + + +
    void glfwPostEmptyEvent (void )
    +
    +

    This function posts an empty event from the current thread to the event queue, causing glfwWaitEvents or glfwWaitEventsTimeout to return.

    +

    If no windows exist, this function returns immediately. For synchronization of threads in applications that do not create windows, use your threading library of choice.

    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Event processing
    +
    +glfwWaitEvents
    +
    +glfwWaitEventsTimeout
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwRestoreWindow()

    + +
    +
    + + + + + + + + +
    void glfwRestoreWindow (GLFWwindowwindow)
    +
    +

    This function restores the specified window if it was previously iconified (minimized) or maximized. If the window is already restored, this function does nothing.

    +

    If the specified window is a full screen window, the resolution chosen for the window is restored on the selected monitor.

    +
    Parameters
    + + +
    [in]windowThe window to restore.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window iconification
    +
    +glfwIconifyWindow
    +
    +glfwMaximizeWindow
    +
    Since
    Added in version 2.1. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwSetFramebufferSizeCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindowwindow,
    GLFWframebuffersizefun cbfun 
    )
    +
    +

    This function sets the framebuffer resize callback of the specified window, which is called when the framebuffer of the specified window is resized.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Framebuffer size
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowAspectRatio()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowAspectRatio (GLFWwindowwindow,
    int numer,
    int denom 
    )
    +
    +

    This function sets the required aspect ratio of the client area of the specified window. If the window is full screen, the aspect ratio only takes effect once it is made windowed. If the window is not resizable, this function does nothing.

    +

    The aspect ratio is specified as a numerator and a denominator and both values must be greater than zero. For example, the common 16:9 aspect ratio is specified as 16 and 9, respectively.

    +

    If the numerator and denominator is set to GLFW_DONT_CARE then the aspect ratio limit is disabled.

    +

    The aspect ratio is applied immediately to a windowed mode window and may cause it to be resized.

    +
    Parameters
    + + + + +
    [in]windowThe window to set limits for.
    [in]numerThe numerator of the desired aspect ratio, or GLFW_DONT_CARE.
    [in]denomThe denominator of the desired aspect ratio, or GLFW_DONT_CARE.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_VALUE and GLFW_PLATFORM_ERROR.
    +
    Remarks
    If you set size limits and an aspect ratio that conflict, the results are undefined.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size limits
    +
    +glfwSetWindowSizeLimits
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwSetWindowCloseCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindowwindow,
    GLFWwindowclosefun cbfun 
    )
    +
    +

    This function sets the close callback of the specified window, which is called when the user attempts to close the window, for example by clicking the close widget in the title bar.

    +

    The close flag is set before this callback is called, but you can modify it at any time with glfwSetWindowShouldClose.

    +

    The close callback is not triggered by glfwDestroyWindow.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Remarks
    OS X: Selecting Quit from the application menu will trigger the close callback for all windows.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window closing and close flag
    +
    Since
    Added in version 2.5. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetWindowFocusCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindowwindow,
    GLFWwindowfocusfun cbfun 
    )
    +
    +

    This function sets the focus callback of the specified window, which is called when the window gains or loses input focus.

    +

    After the focus callback is called for a window that lost input focus, synthetic key and mouse button release events will be generated for all such that had been pressed. For more information, see glfwSetKeyCallback and glfwSetMouseButtonCallback.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window input focus
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowIcon()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowIcon (GLFWwindowwindow,
    int count,
    const GLFWimageimages 
    )
    +
    +

    This function sets the icon of the specified window. If passed an array of candidate images, those of or closest to the sizes desired by the system are selected. If no images are specified, the window reverts to its default icon.

    +

    The desired image sizes varies depending on platform and system settings. The selected images will be rescaled as needed. Good sizes include 16x16, 32x32 and 48x48.

    +
    Parameters
    + + + + +
    [in]windowThe window whose icon to set.
    [in]countThe number of images in the specified array, or zero to revert to the default window icon.
    [in]imagesThe images to create the icon from. This is ignored if count is zero.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The specified image data is copied before this function returns.
    +
    Remarks
    OS X: The GLFW window has no icon, as it is not a document window, so this function does nothing. The dock icon will be the same as the application bundle's icon. For more information on bundles, see the Bundle Programming Guide in the Mac Developer Library.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window icon
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwSetWindowIconifyCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindowwindow,
    GLFWwindowiconifyfun cbfun 
    )
    +
    +

    This function sets the iconification callback of the specified window, which is called when the window is iconified or restored.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window iconification
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowMonitor()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowMonitor (GLFWwindowwindow,
    GLFWmonitormonitor,
    int xpos,
    int ypos,
    int width,
    int height,
    int refreshRate 
    )
    +
    +

    This function sets the monitor that the window uses for full screen mode or, if the monitor is NULL, makes it windowed mode.

    +

    When setting a monitor, this function updates the width, height and refresh rate of the desired video mode and switches to the video mode closest to it. The window position is ignored when setting a monitor.

    +

    When the monitor is NULL, the position, width and height are used to place the window client area. The refresh rate is ignored when no monitor is specified.

    +

    If you only wish to update the resolution of a full screen window or the size of a windowed mode window, see glfwSetWindowSize.

    +

    When a window transitions from full screen to windowed mode, this function restores any previous window settings such as whether it is decorated, floating, resizable, has size or aspect ratio limits, etc..

    +
    Parameters
    + + + + + + + + +
    [in]windowThe window whose monitor, size or video mode to set.
    [in]monitorThe desired monitor, or NULL to set windowed mode.
    [in]xposThe desired x-coordinate of the upper-left corner of the client area.
    [in]yposThe desired y-coordinate of the upper-left corner of the client area.
    [in]widthThe desired with, in screen coordinates, of the client area or video mode.
    [in]heightThe desired height, in screen coordinates, of the client area or video mode.
    [in]refreshRateThe desired refresh rate, in Hz, of the video mode, or GLFW_DONT_CARE.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window monitor
    +
    +Full screen windows
    +
    +glfwGetWindowMonitor
    +
    +glfwSetWindowSize
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwSetWindowPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowPos (GLFWwindowwindow,
    int xpos,
    int ypos 
    )
    +
    +

    This function sets the position, in screen coordinates, of the upper-left corner of the client area of the specified windowed mode window. If the window is a full screen window, this function does nothing.

    +

    Do not use this function to move an already visible window unless you have very good reasons for doing so, as it will confuse and annoy the user.

    +

    The window manager may put limits on what positions are allowed. GLFW cannot and should not override these limits.

    +
    Parameters
    + + + + +
    [in]windowThe window to query.
    [in]xposThe x-coordinate of the upper-left corner of the client area.
    [in]yposThe y-coordinate of the upper-left corner of the client area.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window position
    +
    +glfwGetWindowPos
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwSetWindowPosCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindowwindow,
    GLFWwindowposfun cbfun 
    )
    +
    +

    This function sets the position callback of the specified window, which is called when the window is moved. The callback is provided with the screen position of the upper-left corner of the client area of the window.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window position
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowRefreshCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindowwindow,
    GLFWwindowrefreshfun cbfun 
    )
    +
    +

    This function sets the refresh callback of the specified window, which is called when the client area of the window needs to be redrawn, for example if the window has been exposed after having been covered by another window.

    +

    On compositing window systems such as Aero, Compiz or Aqua, where the window contents are saved off-screen, this callback may be called only very infrequently or never at all.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window damage and refresh
    +
    Since
    Added in version 2.5. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetWindowShouldClose()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowShouldClose (GLFWwindowwindow,
    int value 
    )
    +
    +

    This function sets the value of the close flag of the specified window. This can be used to override the user's attempt to close the window, or to signal that it should be closed.

    +
    Parameters
    + + + +
    [in]windowThe window whose flag to change.
    [in]valueThe new value.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    Window closing and close flag
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowSize (GLFWwindowwindow,
    int width,
    int height 
    )
    +
    +

    This function sets the size, in screen coordinates, of the client area of the specified window.

    +

    For full screen windows, this function updates the resolution of its desired video mode and switches to the video mode closest to it, without affecting the window's context. As the context is unaffected, the bit depths of the framebuffer remain unchanged.

    +

    If you wish to update the refresh rate of the desired video mode in addition to its resolution, see glfwSetWindowMonitor.

    +

    The window manager may put limits on what sizes are allowed. GLFW cannot and should not override these limits.

    +
    Parameters
    + + + + +
    [in]windowThe window to resize.
    [in]widthThe desired width, in screen coordinates, of the window client area.
    [in]heightThe desired height, in screen coordinates, of the window client area.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size
    +
    +glfwGetWindowSize
    +
    +glfwSetWindowMonitor
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwSetWindowSizeCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindowwindow,
    GLFWwindowsizefun cbfun 
    )
    +
    +

    This function sets the size callback of the specified window, which is called when the window is resized. The callback is provided with the size, in screen coordinates, of the client area of the window.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]cbfunThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetWindowSizeLimits()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowSizeLimits (GLFWwindowwindow,
    int minwidth,
    int minheight,
    int maxwidth,
    int maxheight 
    )
    +
    +

    This function sets the size limits of the client area of the specified window. If the window is full screen, the size limits only take effect once it is made windowed. If the window is not resizable, this function does nothing.

    +

    The size limits are applied immediately to a windowed mode window and may cause it to be resized.

    +

    The maximum dimensions must be greater than or equal to the minimum dimensions and all must be greater than or equal to zero.

    +
    Parameters
    + + + + + + +
    [in]windowThe window to set limits for.
    [in]minwidthThe minimum width, in screen coordinates, of the client area, or GLFW_DONT_CARE.
    [in]minheightThe minimum height, in screen coordinates, of the client area, or GLFW_DONT_CARE.
    [in]maxwidthThe maximum width, in screen coordinates, of the client area, or GLFW_DONT_CARE.
    [in]maxheightThe maximum height, in screen coordinates, of the client area, or GLFW_DONT_CARE.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_VALUE and GLFW_PLATFORM_ERROR.
    +
    Remarks
    If you set size limits and an aspect ratio that conflict, the results are undefined.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size limits
    +
    +glfwSetWindowAspectRatio
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwSetWindowTitle()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowTitle (GLFWwindowwindow,
    const char * title 
    )
    +
    +

    This function sets the window title, encoded as UTF-8, of the specified window.

    +
    Parameters
    + + + +
    [in]windowThe window whose title to change.
    [in]titleThe UTF-8 encoded window title.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    OS X: The window title will not be updated until the next time you process events.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window title
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwSetWindowUserPointer()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowUserPointer (GLFWwindowwindow,
    void * pointer 
    )
    +
    +

    This function sets the user-defined pointer of the specified window. The current value is retained until the window is destroyed. The initial value is NULL.

    +
    Parameters
    + + + +
    [in]windowThe window whose pointer to set.
    [in]pointerThe new value.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    User pointer
    +
    +glfwGetWindowUserPointer
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwShowWindow()

    + +
    +
    + + + + + + + + +
    void glfwShowWindow (GLFWwindowwindow)
    +
    +

    This function makes the specified window visible if it was previously hidden. If the window is already visible or is in full screen mode, this function does nothing.

    +
    Parameters
    + + +
    [in]windowThe window to make visible.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window visibility
    +
    +glfwHideWindow
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSwapBuffers()

    + +
    +
    + + + + + + + + +
    void glfwSwapBuffers (GLFWwindowwindow)
    +
    +

    This function swaps the front and back buffers of the specified window when rendering with OpenGL or OpenGL ES. If the swap interval is greater than zero, the GPU driver waits the specified number of screen updates before swapping the buffers.

    +

    The specified window must have an OpenGL or OpenGL ES context. Specifying a window without a context will generate a GLFW_NO_WINDOW_CONTEXT error.

    +

    This function does not apply to Vulkan. If you are rendering with Vulkan, see vkQueuePresentKHR instead.

    +
    Parameters
    + + +
    [in]windowThe window whose buffers to swap.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_NO_WINDOW_CONTEXT and GLFW_PLATFORM_ERROR.
    +
    Remarks
    EGL: The context of the specified window must be current on the calling thread.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Buffer swapping
    +
    +glfwSwapInterval
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwWaitEvents()

    + +
    +
    + + + + + + + + +
    void glfwWaitEvents (void )
    +
    +

    This function puts the calling thread to sleep until at least one event is available in the event queue. Once one or more events are available, it behaves exactly like glfwPollEvents, i.e. the events in the queue are processed and the function then returns immediately. Processing events will cause the window and input callbacks associated with those events to be called.

    +

    Since not all events are associated with callbacks, this function may return without a callback having been called even if you are monitoring all callbacks.

    +

    On some platforms, a window move, resize or menu operation will cause event processing to block. This is due to how event processing is designed on those platforms. You can use the window refresh callback to redraw the contents of your window when necessary during such operations.

    +

    On some platforms, certain callbacks may be called outside of a call to one of the event processing functions.

    +

    If no windows exist, this function returns immediately. For synchronization of threads in applications that do not create windows, use your threading library of choice.

    +

    Event processing is not required for joystick input to work.

    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Event processing
    +
    +glfwPollEvents
    +
    +glfwWaitEventsTimeout
    +
    Since
    Added in version 2.5.
    + +
    +
    + +

    ◆ glfwWaitEventsTimeout()

    + +
    +
    + + + + + + + + +
    void glfwWaitEventsTimeout (double timeout)
    +
    +

    This function puts the calling thread to sleep until at least one event is available in the event queue, or until the specified timeout is reached. If one or more events are available, it behaves exactly like glfwPollEvents, i.e. the events in the queue are processed and the function then returns immediately. Processing events will cause the window and input callbacks associated with those events to be called.

    +

    The timeout value must be a positive finite number.

    +

    Since not all events are associated with callbacks, this function may return without a callback having been called even if you are monitoring all callbacks.

    +

    On some platforms, a window move, resize or menu operation will cause event processing to block. This is due to how event processing is designed on those platforms. You can use the window refresh callback to redraw the contents of your window when necessary during such operations.

    +

    On some platforms, certain callbacks may be called outside of a call to one of the event processing functions.

    +

    If no windows exist, this function returns immediately. For synchronization of threads in applications that do not create windows, use your threading library of choice.

    +

    Event processing is not required for joystick input to work.

    +
    Parameters
    + + +
    [in]timeoutThe maximum amount of time, in seconds, to wait.
    +
    +
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Event processing
    +
    +glfwPollEvents
    +
    +glfwWaitEvents
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwWindowHint()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwWindowHint (int hint,
    int value 
    )
    +
    +

    This function sets hints for the next call to glfwCreateWindow. The hints, once set, retain their values until changed by a call to glfwWindowHint or glfwDefaultWindowHints, or until the library is terminated.

    +

    This function does not check whether the specified hint values are valid. If you set hints to invalid values this will instead be reported by the next call to glfwCreateWindow.

    +
    Parameters
    + + + +
    [in]hintThe window hint to set.
    [in]valueThe new value of the window hint.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window creation hints
    +
    +glfwDefaultWindowHints
    +
    Since
    Added in version 3.0. Replaces glfwOpenWindowHint.
    + +
    +
    + +

    ◆ glfwWindowShouldClose()

    + +
    +
    + + + + + + + + +
    int glfwWindowShouldClose (GLFWwindowwindow)
    +
    +

    This function returns the value of the close flag of the specified window.

    +
    Parameters
    + + +
    [in]windowThe window to query.
    +
    +
    +
    Returns
    The value of the close flag.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    Window closing and close flag
    +
    Since
    Added in version 3.0.
    + +
    +
    +
    + + + diff --git a/docs/3.2/index.html b/docs/3.2/index.html new file mode 100644 index 0000000..db0ef71 --- /dev/null +++ b/docs/3.2/index.html @@ -0,0 +1,90 @@ + + + + + + +GLFW: Main Page + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +

    +Introduction

    +

    GLFW is a free, Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan application development. It provides a simple, platform-independent API for creating windows, contexts and surfaces, reading input, handling events, etc.

    +

    See New features in 3.2 for release highlights or the version history for details.

    +

    Getting started is a guide for users new to GLFW. It takes you through how to write a small but complete program.

    +

    There are guides for each section of the API:

    + +

    Once you have written a program, see Compiling GLFW and Building applications.

    +

    The reference documentation provides more detailed information about specific functions.

    +

    Moving from GLFW 2 to 3 explains what has changed and how to update existing code to use the new API.

    +

    There is a section on Guarantees and limitations for pointer lifetimes, reentrancy, thread safety, event order and backward and forward compatibility.

    +

    The FAQ answers many common questions about the design, implementation and use of GLFW.

    +

    Finally, Standards conformance explains what APIs, standards and protocols GLFW uses and what happens when they are not present on a given machine.

    +

    This documentation was generated with Doxygen. The sources for it are available in both the source distribution and GitHub repository.

    +
    + + + diff --git a/docs/3.2/input.html b/docs/3.2/input.html new file mode 120000 index 0000000..88115d8 --- /dev/null +++ b/docs/3.2/input.html @@ -0,0 +1 @@ +input_guide.html \ No newline at end of file diff --git a/docs/3.2/input_8dox.html b/docs/3.2/input_8dox.html new file mode 100644 index 0000000..3dca394 --- /dev/null +++ b/docs/3.2/input_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: input.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    input.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.2/input_guide.html b/docs/3.2/input_guide.html new file mode 100644 index 0000000..f4cfae9 --- /dev/null +++ b/docs/3.2/input_guide.html @@ -0,0 +1,254 @@ + + + + + + +GLFW: Input guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Input guide
    +
    +
    + +

    This guide introduces the input related functions of GLFW. For details on a specific function in this category, see the Input reference. There are also guides for the other areas of GLFW.

    + +

    GLFW provides many kinds of input. While some can only be polled, like time, or only received via callbacks, like scrolling, there are those that provide both callbacks and polling. Where a callback is provided, that is the recommended way to receive that kind of input. The more you can use callbacks the less time your users' machines will need to spend polling.

    +

    All input callbacks receive a window handle. By using the window user pointer, you can access non-global structures or objects from your callbacks.

    +

    To get a better feel for how the various events callbacks behave, run the events test program. It register every callback supported by GLFW and prints out all arguments provided for every event, along with time and sequence information.

    +

    +Event processing

    +

    GLFW needs to communicate regularly with the window system both in order to receive events and to show that the application hasn't locked up. Event processing must be done regularly while you have any windows and is normally done each frame after buffer swapping. Even when you have no windows, event polling needs to be done in order to receive monitor connection events.

    +

    There are two functions for processing pending events. glfwPollEvents, processes only those events that have already been received and then returns immediately.

    +

    This is the best choice when rendering continually, like most games do.

    +

    If you only need to update the contents of the window when you receive new input, glfwWaitEvents is a better choice.

    +

    It puts the thread to sleep until at least one event has been received and then processes all received events. This saves a great deal of CPU cycles and is useful for, for example, editing tools. There must be at least one GLFW window for this function to sleep.

    +

    If you want to wait for events but have UI elements that need periodic updates, call glfwWaitEventsTimeout.

    +

    It puts the thread to sleep until at least one event has been received, or until the specified number of seconds have elapsed. It then processes any received events.

    +

    If the main thread is sleeping in glfwWaitEvents, you can wake it from another thread by posting an empty event to the event queue with glfwPostEmptyEvent.

    +

    Do not assume that callbacks will only be called through either of the above functions. While it is necessary to process events in the event queue, some window systems will send some events directly to the application, which in turn causes callbacks to be called outside of regular event processing.

    +

    +Keyboard input

    +

    GLFW divides keyboard input into two categories; key events and character events. Key events relate to actual physical keyboard keys, whereas character events relate to the Unicode code points generated by pressing some of them.

    +

    Keys and characters do not map 1:1. A single key press may produce several characters, and a single character may require several keys to produce. This may not be the case on your machine, but your users are likely not all using the same keyboard layout, input method or even operating system as you.

    +

    +Key input

    +

    If you wish to be notified when a physical key is pressed or released or when it repeats, set a key callback.

    +
    glfwSetKeyCallback(window, key_callback);

    The callback function receives the keyboard key, platform-specific scancode, key action and modifier bits.

    +
    void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
    {
    if (key == GLFW_KEY_E && action == GLFW_PRESS)
    activate_airship();
    }

    The action is one of GLFW_PRESS, GLFW_REPEAT or GLFW_RELEASE. The key will be GLFW_KEY_UNKNOWN if GLFW lacks a key token for it, for example E-mail and Play keys.

    +

    The scancode is unique for every key, regardless of whether it has a key token. Scancodes are platform-specific but consistent over time, so keys will have different scancodes depending on the platform but they are safe to save to disk.

    +

    Key states for named keys are also saved in per-window state arrays that can be polled with glfwGetKey.

    +
    int state = glfwGetKey(window, GLFW_KEY_E);
    if (state == GLFW_PRESS)
    activate_airship();

    The returned state is one of GLFW_PRESS or GLFW_RELEASE.

    +

    This function only returns cached key event state. It does not poll the system for the current state of the key.

    +

    Whenever you poll state, you risk missing the state change you are looking for. If a pressed key is released again before you poll its state, you will have missed the key press. The recommended solution for this is to use a key callback, but there is also the GLFW_STICKY_KEYS input mode.

    +

    When sticky keys mode is enabled, the pollable state of a key will remain GLFW_PRESS until the state of that key is polled with glfwGetKey. Once it has been polled, if a key release event had been processed in the meantime, the state will reset to GLFW_RELEASE, otherwise it will remain GLFW_PRESS.

    +

    The GLFW_KEY_LAST constant holds the highest value of any named key.

    +

    +Text input

    +

    GLFW supports text input in the form of a stream of Unicode code points, as produced by the operating system text input system. Unlike key input, text input obeys keyboard layouts and modifier keys and supports composing characters using dead keys. Once received, you can encode the code points into UTF-8 or any other encoding you prefer.

    +

    Because an unsigned int is 32 bits long on all platforms supported by GLFW, you can treat the code point argument as native endian UTF-32.

    +

    There are two callbacks for receiving Unicode code points. If you wish to offer regular text input, set a character callback.

    +
    glfwSetCharCallback(window, character_callback);

    The callback function receives Unicode code points for key events that would have led to regular text input and generally behaves as a standard text field on that platform.

    +
    void character_callback(GLFWwindow* window, unsigned int codepoint)
    {
    }

    If you wish to receive even those Unicode code points generated with modifier key combinations that a plain text field would ignore, or just want to know exactly what modifier keys were used, set a character with modifiers callback.

    +
    glfwSetCharModsCallback(window, charmods_callback);

    The callback function receives Unicode code points and modifier bits.

    +
    void charmods_callback(GLFWwindow* window, unsigned int codepoint, int mods)
    {
    }

    +Key names

    +

    If you wish to refer to keys by name, you can query the keyboard layout dependent name of printable keys with glfwGetKeyName.

    +
    const char* key_name = glfwGetKeyName(GLFW_KEY_W, 0);
    show_tutorial_hint("Press %s to move forward", key_name);

    This function can handle both keys and scancodes. If the specified key is GLFW_KEY_UNKNOWN then the scancode is used, otherwise it is ignored. This matches the behavior of the key callback, meaning the callback arguments can always be passed unmodified to this function.

    +

    +Mouse input

    +

    Mouse input comes in many forms, including cursor motion, button presses and scrolling offsets. The cursor appearance can also be changed, either to a custom image or a standard cursor shape from the system theme.

    +

    +Cursor position

    +

    If you wish to be notified when the cursor moves over the window, set a cursor position callback.

    +
    glfwSetCursorPosCallback(window, cursor_pos_callback);

    The callback functions receives the cursor position, measured in screen coordinates but relative to the top-left corner of the window client area. On platforms that provide it, the full sub-pixel cursor position is passed on.

    +
    static void cursor_position_callback(GLFWwindow* window, double xpos, double ypos)
    {
    }

    The cursor position is also saved per-window and can be polled with glfwGetCursorPos.

    +
    double xpos, ypos;
    glfwGetCursorPos(window, &xpos, &ypos);

    +Cursor modes

    +

    The GLFW_CURSOR input mode provides several cursor modes for special forms of mouse motion input. By default, the cursor mode is GLFW_CURSOR_NORMAL, meaning the regular arrow cursor (or another cursor set with glfwSetCursor) is used and cursor motion is not limited.

    +

    If you wish to implement mouse motion based camera controls or other input schemes that require unlimited mouse movement, set the cursor mode to GLFW_CURSOR_DISABLED.

    +

    This will hide the cursor and lock it to the specified window. GLFW will then take care of all the details of cursor re-centering and offset calculation and providing the application with a virtual cursor position. This virtual position is provided normally via both the cursor position callback and through polling.

    +
    Note
    You should not implement your own version of this functionality using other features of GLFW. It is not supported and will not work as robustly as GLFW_CURSOR_DISABLED.
    +

    If you just wish the cursor to become hidden when it is over a window, set the cursor mode to GLFW_CURSOR_HIDDEN.

    +

    This mode puts no limit on the motion of the cursor.

    +

    To exit out of either of these special modes, restore the GLFW_CURSOR_NORMAL cursor mode.

    +

    +Cursor objects

    +

    GLFW supports creating both custom and system theme cursor images, encapsulated as GLFWcursor objects. They are created with glfwCreateCursor or glfwCreateStandardCursor and destroyed with glfwDestroyCursor, or glfwTerminate, if any remain.

    +

    +Custom cursor creation

    +

    A custom cursor is created with glfwCreateCursor, which returns a handle to the created cursor object. For example, this creates a 16x16 white square cursor with the hot-spot in the upper-left corner:

    +
    unsigned char pixels[16 * 16 * 4];
    memset(pixels, 0xff, sizeof(pixels));
    GLFWimage image;
    image.width = 16;
    image.height = 16;
    image.pixels = pixels;
    GLFWcursor* cursor = glfwCreateCursor(&image, 0, 0);

    If cursor creation fails, NULL will be returned, so it is necessary to check the return value.

    +

    The image data is 32-bit, little-endian, non-premultiplied RGBA, i.e. eight bits per channel. The pixels are arranged canonically as sequential rows, starting from the top-left corner.

    +

    +Standard cursor creation

    +

    A cursor with a standard shape from the current system cursor theme can be can be created with glfwCreateStandardCursor.

    +

    These cursor objects behave in the exact same way as those created with glfwCreateCursor except that the system cursor theme provides the actual image.

    +

    +Cursor destruction

    +

    When a cursor is no longer needed, destroy it with glfwDestroyCursor.

    +

    Cursor destruction always succeeds. All cursors remaining when glfwTerminate is called are destroyed as well.

    +

    +Cursor setting

    +

    A cursor can be set as current for a window with glfwSetCursor.

    +
    glfwSetCursor(window, cursor);

    Once set, the cursor image will be used as long as the system cursor is over the client area of the window and the cursor mode is set to GLFW_CURSOR_NORMAL.

    +

    A single cursor may be set for any number of windows.

    +

    To remove a cursor from a window, set the cursor of that window to NULL.

    +
    glfwSetCursor(window, NULL);

    When a cursor is destroyed, it is removed from any window where it is set. This does not affect the cursor modes of those windows.

    +

    +Cursor enter/leave events

    +

    If you wish to be notified when the cursor enters or leaves the client area of a window, set a cursor enter/leave callback.

    +
    glfwSetCursorEnterCallback(window, cursor_enter_callback);

    The callback function receives the new classification of the cursor.

    +
    void cursor_enter_callback(GLFWwindow* window, int entered)
    {
    if (entered)
    {
    // The cursor entered the client area of the window
    }
    else
    {
    // The cursor left the client area of the window
    }
    }

    +Mouse button input

    +

    If you wish to be notified when a mouse button is pressed or released, set a mouse button callback.

    +
    glfwSetMouseButtonCallback(window, mouse_button_callback);

    The callback function receives the mouse button, button action and modifier bits.

    +
    void mouse_button_callback(GLFWwindow* window, int button, int action, int mods)
    {
    if (button == GLFW_MOUSE_BUTTON_RIGHT && action == GLFW_PRESS)
    popup_menu();
    }

    The action is one of GLFW_PRESS or GLFW_RELEASE.

    +

    Mouse button states for named buttons are also saved in per-window state arrays that can be polled with glfwGetMouseButton.

    +
    if (state == GLFW_PRESS)
    upgrade_cow();

    The returned state is one of GLFW_PRESS or GLFW_RELEASE.

    +

    This function only returns cached mouse button event state. It does not poll the system for the current state of the mouse button.

    +

    Whenever you poll state, you risk missing the state change you are looking for. If a pressed mouse button is released again before you poll its state, you will have missed the button press. The recommended solution for this is to use a mouse button callback, but there is also the GLFW_STICKY_MOUSE_BUTTONS input mode.

    +

    When sticky mouse buttons mode is enabled, the pollable state of a mouse button will remain GLFW_PRESS until the state of that button is polled with glfwGetMouseButton. Once it has been polled, if a mouse button release event had been processed in the meantime, the state will reset to GLFW_RELEASE, otherwise it will remain GLFW_PRESS.

    +

    The GLFW_MOUSE_BUTTON_LAST constant holds the highest value of any named button.

    +

    +Scroll input

    +

    If you wish to be notified when the user scrolls, whether with a mouse wheel or touchpad gesture, set a scroll callback.

    +
    glfwSetScrollCallback(window, scroll_callback);

    The callback function receives two-dimensional scroll offsets.

    +
    void scroll_callback(GLFWwindow* window, double xoffset, double yoffset)
    {
    }

    A simple mouse wheel, being vertical, provides offsets along the Y-axis.

    +

    +Joystick input

    +

    The joystick functions expose connected joysticks and controllers, with both referred to as joysticks. It supports up to sixteen joysticks, ranging from GLFW_JOYSTICK_1, GLFW_JOYSTICK_2 up to GLFW_JOYSTICK_LAST. You can test whether a joystick is present with glfwJoystickPresent.

    +

    When GLFW is initialized, detected joysticks are added to to the beginning of the array, starting with GLFW_JOYSTICK_1. Once a joystick is detected, it keeps its assigned index until it is disconnected, so as joysticks are connected and disconnected, they will become spread out.

    +

    Joystick state is updated as needed when a joystick function is called and does not require a window to be created or glfwPollEvents or glfwWaitEvents to be called.

    +

    +Joystick axis states

    +

    The positions of all axes of a joystick are returned by glfwGetJoystickAxes. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    const float* axes = glfwGetJoystickAxes(GLFW_JOYSTICK_1, &count);

    Each element in the returned array is a value between -1.0 and 1.0.

    +

    +Joystick button states

    +

    The states of all buttons of a joystick are returned by glfwGetJoystickButtons. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    const unsigned char* axes = glfwGetJoystickButtons(GLFW_JOYSTICK_1, &count);

    Each element in the returned array is either GLFW_PRESS or GLFW_RELEASE.

    +

    +Joystick name

    +

    The human-readable, UTF-8 encoded name of a joystick is returned by glfwGetJoystickName. See the reference documentation for the lifetime of the returned string.
    +

    Joystick names are not guaranteed to be unique. Two joysticks of the same model and make may have the same name. Only the joystick token is guaranteed to be unique, and only until that joystick is disconnected.

    +

    +Joystick configuration changes

    +

    If you wish to be notified when a joystick is connected or disconnected, set a joystick callback.

    +
    glfwSetJoystickCallback(joystick_callback);

    The callback function receives the ID of the joystick that has been connected and disconnected and the event that occurred.

    +
    void joystick_callback(int joy, int event)
    {
    if (event == GLFW_CONNECTED)
    {
    // The joystick was connected
    }
    else if (event == GLFW_DISCONNECTED)
    {
    // The joystick was disconnected
    }
    }

    +Time input

    +

    GLFW provides high-resolution time input, in seconds, with glfwGetTime.

    +
    double seconds = glfwGetTime();

    It returns the number of seconds since the timer was started when the library was initialized with glfwInit. The platform-specific time sources used usually have micro- or nanosecond resolution.

    +

    You can modify the reference time with glfwSetTime.

    +

    This sets the timer to the specified time, in seconds.

    +

    You can also access the raw timer value, measured in 1 / frequency seconds, with glfwGetTimerValue.

    +
    uint64_t value = glfwGetTimerValue();

    The frequency of the raw timer varies depending on what time sources are available on the machine. You can query its frequency, in Hz, with glfwGetTimerFrequency.

    +
    uint64_t freqency = glfwGetTimerFrequency();

    +Clipboard input and output

    +

    If the system clipboard contains a UTF-8 encoded string or if it can be converted to one, you can retrieve it with glfwGetClipboardString. See the reference documentation for the lifetime of the returned string.

    +
    const char* text = glfwGetClipboardString(window);
    if (text)
    insert_text(text);

    If the clipboard is empty or if its contents could not be converted, NULL is returned.

    +

    The contents of the system clipboard can be set to a UTF-8 encoded string with glfwSetClipboardString.

    +
    glfwSetClipboardString(window, "A string with words in it");

    The clipboard functions take a window handle argument because some window systems require a window to communicate with the system clipboard. Any valid window may be used.

    +

    +Path drop input

    +

    If you wish to receive the paths of files and/or directories dropped on a window, set a file drop callback.

    +
    glfwSetDropCallback(window, drop_callback);

    The callback function receives an array of paths encoded as UTF-8.

    +
    void drop_callback(GLFWwindow* window, int count, const char** paths)
    {
    int i;
    for (i = 0; i < count; i++)
    handle_dropped_file(paths[i]);
    }

    The path array and its strings are only valid until the file drop callback returns, as they may have been generated specifically for that event. You need to make a deep copy of the array if you want to keep the paths.

    +
    + + + diff --git a/docs/3.2/intro.html b/docs/3.2/intro.html new file mode 120000 index 0000000..09559bf --- /dev/null +++ b/docs/3.2/intro.html @@ -0,0 +1 @@ +intro_guide.html \ No newline at end of file diff --git a/docs/3.2/intro_8dox.html b/docs/3.2/intro_8dox.html new file mode 100644 index 0000000..683d673 --- /dev/null +++ b/docs/3.2/intro_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: intro.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    intro.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.2/intro_guide.html b/docs/3.2/intro_guide.html new file mode 100644 index 0000000..f8d7e33 --- /dev/null +++ b/docs/3.2/intro_guide.html @@ -0,0 +1,247 @@ + + + + + + +GLFW: Introduction to the API + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Introduction to the API
    +
    +
    + +

    This guide introduces the basic concepts of GLFW and describes initialization, error handling and API guarantees and limitations. For a broad but shallow tutorial, see Getting started instead. For details on a specific function in this category, see the Initialization, version and error reference.

    +

    There are also guides for the other areas of GLFW.

    + +

    +Initialization and termination

    +

    Before most GLFW functions may be called, the library must be initialized. This initialization checks what features are available on the machine, enumerates monitors and joysticks, initializes the timer and performs any required platform-specific initialization.

    +

    Only the following functions may be called before the library has been successfully initialized, and only from the main thread.

    + +

    Calling any other function before successful initialization will cause a GLFW_NOT_INITIALIZED error.

    +

    +Initializing GLFW

    +

    The library is initialized with glfwInit, which returns GLFW_FALSE if an error occurred.

    +
    if (!glfwInit())
    {
    // Handle initialization failure
    }

    If any part of initialization fails, any parts that succeeded are terminated as if glfwTerminate had been called. The library only needs to be initialized once and additional calls to an already initialized library will simply return GLFW_TRUE immediately.

    +

    Once the library has been successfully initialized, it should be terminated before the application exits. Modern systems are very good at freeing resources allocated by programs that simply exit, but GLFW sometimes has to change global system settings and these might not be restored without termination.

    +

    +Terminating GLFW

    +

    Before your application exits, you should terminate the GLFW library if it has been initialized. This is done with glfwTerminate.

    +

    This will destroy any remaining window, monitor and cursor objects, restore any modified gamma ramps, re-enable the screensaver if it had been disabled and free any other resources allocated by GLFW.

    +

    Once the library is terminated, it is as if it had never been initialized and you will need to initialize it again before being able to use GLFW. If the library was not initialized or had already been terminated, it return immediately.

    +

    +Error handling

    +

    Some GLFW functions have return values that indicate an error, but this is often not very helpful when trying to figure out why the error occurred. Some functions also return otherwise valid values on error. Finally, far from all GLFW functions have return values.

    +

    This is where the error callback comes in. This callback is called whenever an error occurs. It is set with glfwSetErrorCallback, a function that may be called regardless of whether GLFW is initialized.

    +
    glfwSetErrorCallback(error_callback);

    The error callback receives a human-readable description of the error and (when possible) its cause. The description encoded as UTF-8. The callback is also provided with an error code.

    +
    void error_callback(int error, const char* description)
    {
    puts(description);
    }

    The error code indicates the general category of the error. Some error codes, such as GLFW_NOT_INITIALIZED has only a single meaning, whereas others like GLFW_PLATFORM_ERROR are used for many different errors.

    +

    The description string is only valid until the error callback returns, as it may have been generated specifically for that error. This lets GLFW provide much more specific error descriptions but means you must make a copy if you want to keep the description string.

    +
    Note
    Relying on erroneous behavior is not forward compatible. In other words, do not rely on a currently invalid call to generate a specific error, as that same call may in future versions generate a different error or become valid.
    +

    +Coordinate systems

    +

    GLFW has two primary coordinate systems: the virtual screen and the window client area or content area. Both use the same unit: virtual screen coordinates, or just screen coordinates, which don't necessarily correspond to pixels.

    +
    + +
    +

    Both the virtual screen and the client area coordinate systems have the X-axis pointing to the right and the Y-axis pointing down.

    +

    Window and monitor positions are specified as the position of the upper-left corners of their content areas relative to the virtual screen, while cursor positions are specified relative to a window's client area.

    +

    Because the origin of the window's client area coordinate system is also the point from which the window position is specified, you can translate client area coordinates to the virtual screen by adding the window position. The window frame, when present, extends out from the client area but does not affect the window position.

    +

    Almost all positions and sizes in GLFW are measured in screen coordinates relative to one of the two origins above. This includes cursor positions, window positions and sizes, window frame sizes, monitor positions and video mode resolutions.

    +

    Two exceptions are the monitor physical size, which is measured in millimetres, and framebuffer size, which is measured in pixels.

    +

    Pixels and screen coordinates may map 1:1 on your machine, but they won't on every other machine, for example on a Mac with a Retina display. The ratio between screen coordinates and pixels may also change at run-time depending on which monitor the window is currently considered to be on.

    +

    +Guarantees and limitations

    +

    This section describes the conditions under which GLFW can be expected to function, barring bugs in the operating system or drivers. Use of GLFW outside of these limits may work on some platforms, or on some machines, or some of the time, or on some versions of GLFW, but it may break at any time and this will not be considered a bug.

    +

    +Pointer lifetimes

    +

    GLFW will never free any pointer you provide to it and you must never free any pointer it provides to you.

    +

    Many GLFW functions return pointers to dynamically allocated structures, strings or arrays, and some callbacks are provided with strings or arrays. These are always managed by GLFW and should never be freed by the application. The lifetime of these pointers is documented for each GLFW function and callback. If you need to keep this data, you must copy it before its lifetime expires.

    +

    Many GLFW functions accept pointers to structures or strings allocated by the application. These are never freed by GLFW and are always the responsibility of the application. If GLFW needs to keep the data in these structures or strings, it is copied before the function returns.

    +

    Pointer lifetimes are guaranteed not to be shortened in future minor or patch releases.

    +

    +Reentrancy

    +

    GLFW event processing and object creation and destruction are not reentrant. This means that the following functions must not be called from any callback function:

    + +

    These functions may be made reentrant in future minor or patch releases, but functions not on this list will not be made non-reentrant.

    +

    +Thread safety

    +

    Most GLFW functions must only be called from the main thread, but some may be called from any thread. However, no GLFW function may be called from any thread but the main thread until GLFW has been successfully initialized, including functions that may called before initialization.

    +

    The reference documentation for every GLFW function states whether it is limited to the main thread.
    + Initialization and termination, event processing and the creation and destruction of windows, contexts and cursors are all limited to the main thread due to limitations of one or several platforms.

    +

    Because event processing must be performed on the main thread, all callbacks except for the error callback will only be called on that thread. The error callback may be called on any thread, as any GLFW function may generate errors.

    +

    The posting of empty events may be done from any thread. The window user pointer and close flag may also be accessed and modified from any thread, but this is not synchronized by GLFW. The following window related functions may be called from any thread:

    + +

    Rendering may be done on any thread. The following context related functions may be called from any thread:

    + +

    The raw timer may be queried from any thread. The following raw timer related functions may be called from any thread:

    + +

    The regular timer may be used from any thread, but the reading and writing of the timer offset is not synchronized by GLFW. The following timer related functions may be called from any thread:

    + +

    Library version information may be queried from any thread. The following version related functions may be called from any thread:

    + +

    Vulkan objects may be created and information queried from any thread. The following Vulkan related functions may be called from any thread:

    + +

    GLFW uses no synchronization objects internally except for thread-local storage to keep track of the current context for each thread. Synchronization is left to the application.

    +

    Functions that may currently be called from any thread will always remain so, but functions that are currently limited to the main thread may be updated to allow calls from any thread in future releases.

    +

    +Version compatibility

    +

    GLFW guarantees source and binary backward compatibility with earlier minor versions of the API. This means that you can drop in a newer version of the library and existing programs will continue to compile and existing binaries will continue to run.

    +

    Once a function or constant has been added, the signature of that function or value of that constant will remain unchanged until the next major version of GLFW. No compatibility of any kind is guaranteed between major versions.

    +

    Undocumented behavior, i.e. behavior that is not described in the documentation, may change at any time until it is documented.

    +

    If the reference documentation and the implementation differ, the reference documentation is correct and the implementation will be fixed in the next release.

    +

    +Event order

    +

    The order of arrival of related events is not guaranteed to be consistent across platforms. The exception is synthetic key and mouse button release events, which are always delivered after the window defocus event.

    +

    +Version management

    +

    GLFW provides mechanisms for identifying what version of GLFW your application was compiled against as well as what version it is currently running against. If you are loading GLFW dynamically (not just linking dynamically), you can use this to verify that the library binary is compatible with your application.

    +

    +Compile-time version

    +

    The compile-time version of GLFW is provided by the GLFW header with the GLFW_VERSION_MAJOR, GLFW_VERSION_MINOR and GLFW_VERSION_REVISION macros.

    +
    printf("Compiled against GLFW %i.%i.%i\n",

    +Run-time version

    +

    The run-time version can be retrieved with glfwGetVersion, a function that may be called regardless of whether GLFW is initialized.

    +
    int major, minor, revision;
    glfwGetVersion(&major, &minor, &revision);
    printf("Running against GLFW %i.%i.%i\n", major, minor, revision);

    +Version string

    +

    GLFW 3 also provides a compile-time generated version string that describes the version, platform, compiler and any platform-specific compile-time options. This is primarily intended for submitting bug reports, to allow developers to see which code paths are enabled in a binary.

    +

    The version string is returned by glfwGetVersionString, a function that may be called regardless of whether GLFW is initialized.

    +

    Do not use the version string to parse the GLFW library version. The glfwGetVersion function already provides the version of the running library binary.

    +

    The format of the string is as follows:

      +
    • The version of GLFW
    • +
    • The name of the window system API
    • +
    • The name of the context creation API
    • +
    • Any additional options or APIs
    • +
    +

    For example, when compiling GLFW 3.0 with MinGW using the Win32 and WGL back ends, the version string may look something like this:

    +
    3.0.0 Win32 WGL MinGW
    + + + diff --git a/docs/3.2/jquery.js b/docs/3.2/jquery.js new file mode 100644 index 0000000..2771c74 --- /dev/null +++ b/docs/3.2/jquery.js @@ -0,0 +1,115 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +/*! + * jQuery JavaScript Library v1.7.1 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Mon Nov 21 21:11:03 2011 -0500 + */ +(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
    a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
    ";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
    t
    ";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
    ";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); +/*! + * Sizzle CSS Selector Engine + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

    ";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
    ";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/",""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
    ","
    "]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
    ").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/*! + * jQuery UI 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI + */ +(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/*! + * jQuery UI Widget 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Widget + */ +(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/*! + * jQuery UI Mouse 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Mouse + * + * Depends: + * jquery.ui.widget.js + */ +(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
    ');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*! + * jQuery hashchange event - v1.3 - 7/21/2010 + * http://benalman.com/projects/jquery-hashchange-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$(' + + + +
    +
    +
    main.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.2/menu.js b/docs/3.2/menu.js new file mode 100644 index 0000000..89aaf57 --- /dev/null +++ b/docs/3.2/menu.js @@ -0,0 +1,50 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { + function makeTree(data,relPath) { + var result=''; + if ('children' in data) { + result+=''; + } + return result; + } + + $('#main-nav').append(makeTree(menudata,relPath)); + $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); + if (searchEnabled) { + if (serverSide) { + $('#main-menu').append('
  • '); + } else { + $('#main-menu').append('
  • '); + } + } + $('#main-menu').smartmenus(); +} +/* @license-end */ diff --git a/docs/3.2/menudata.js b/docs/3.2/menudata.js new file mode 100644 index 0000000..f4bd1ce --- /dev/null +++ b/docs/3.2/menudata.js @@ -0,0 +1,29 @@ +/* +@ @licstart The following is the entire license notice for the +JavaScript code in this file. + +Copyright (C) 1997-2017 by Dimitri van Heesch + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +@licend The above is the entire license notice +for the JavaScript code in this file +*/ +var menudata={children:[ +{text:"Introduction",url:"index.html"}, +{text:"Tutorial",url:"quick_guide.html"}, +{text:"Guides",url:"pages.html"}, +{text:"Reference",url:"modules.html"}, +{text:"Files",url:"files.html"}]} diff --git a/docs/3.2/modules.html b/docs/3.2/modules.html new file mode 100644 index 0000000..27bf91e --- /dev/null +++ b/docs/3.2/modules.html @@ -0,0 +1,90 @@ + + + + + + +GLFW: Reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Reference
    +
    +
    +
    Here is a list of all modules:
    +
    [detail level 12]
    + + + + + + + + + + + + + +
     Context reference
     Initialization, version and error reference
     Error codes
     Input reference
     Joysticks
     Keyboard keys
     Modifier key flags
     Mouse buttons
     Standard cursor shapes
     Monitor reference
     Native access
     Vulkan reference
     Window reference
    + + + + + diff --git a/docs/3.2/monitor.html b/docs/3.2/monitor.html new file mode 120000 index 0000000..116d9ef --- /dev/null +++ b/docs/3.2/monitor.html @@ -0,0 +1 @@ +monitor_guide.html \ No newline at end of file diff --git a/docs/3.2/monitor_8dox.html b/docs/3.2/monitor_8dox.html new file mode 100644 index 0000000..5aa32ee --- /dev/null +++ b/docs/3.2/monitor_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: monitor.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    monitor.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.2/monitor_guide.html b/docs/3.2/monitor_guide.html new file mode 100644 index 0000000..5778651 --- /dev/null +++ b/docs/3.2/monitor_guide.html @@ -0,0 +1,138 @@ + + + + + + +GLFW: Monitor guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Monitor guide
    +
    +
    + +

    This guide introduces the monitor related functions of GLFW. For details on a specific function in this category, see the Monitor reference. There are also guides for the other areas of GLFW.

    + +

    +Monitor objects

    +

    A monitor object represents a currently connected monitor and is represented as a pointer to the opaque type GLFWmonitor. 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 terminated.

    +

    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.

    +

    The virtual position of a monitor is in screen coordinates and, together with the current video mode, describes the viewports that the connected monitors provide into the virtual desktop that spans them.

    +

    To see how GLFW views your monitor setup and its available video modes, run the monitors test program.

    +

    +Retrieving monitors

    +

    The primary monitor is returned by glfwGetPrimaryMonitor. It is the user's preferred monitor and is usually the one with global UI elements like task bar or menu bar.

    +

    You can retrieve all currently connected monitors with glfwGetMonitors. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    GLFWmonitor** monitors = glfwGetMonitors(&count);

    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.

    +

    +Monitor configuration changes

    +

    If you wish to be notified when a monitor is connected or disconnected, set a monitor callback.

    +
    glfwSetMonitorCallback(monitor_callback);

    The callback function receives the handle for the monitor that has been connected or disconnected and the event that occurred.

    +
    void monitor_callback(GLFWmonitor* monitor, int event)
    {
    if (event == GLFW_CONNECTED)
    {
    // The monitor was connected
    }
    else if (event == GLFW_DISCONNECTED)
    {
    // The monitor was disconnected
    }
    }

    If a monitor is disconnected, any windows that are full screen on it get forced into windowed mode.

    +

    +Monitor properties

    +

    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.

    +

    +Video modes

    +

    GLFW generally does a good job selecting a suitable video mode when you create a full screen window, change its video mode or or make a windowed one full screen, but it is sometimes useful to know exactly which video modes are supported.

    +

    Video modes are represented as GLFWvidmode structures. You can get an array of the video modes supported by a monitor with glfwGetVideoModes. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    GLFWvidmode* modes = glfwGetVideoModes(monitor, &count);

    To get the current video mode of a monitor call glfwGetVideoMode. See the reference documentation for the lifetime of the returned pointer.

    +
    const GLFWvidmode* mode = glfwGetVideoMode(monitor);

    The resolution of a video mode is specified in screen coordinates, not pixels.

    +

    +Physical size

    +

    The physical size of a monitor in millimetres, or an estimation of it, can be retrieved with glfwGetMonitorPhysicalSize. This has no relation to its current resolution, i.e. the width and height of its current video mode.

    +
    int widthMM, heightMM;
    glfwGetMonitorPhysicalSize(monitor, &widthMM, &heightMM);

    This can, for example, be used together with the current video mode to calculate the DPI of a monitor.

    +
    const double dpi = mode->width / (widthMM / 25.4);

    +Virtual position

    +

    The position of the monitor on the virtual desktop, in screen coordinates, can be retrieved with glfwGetMonitorPos.

    +
    int xpos, ypos;
    glfwGetMonitorPos(monitor, &xpos, &ypos);

    +Human-readable name

    +

    The human-readable, UTF-8 encoded name of a monitor is returned by glfwGetMonitorName. See the reference documentation for the lifetime of the returned string.

    +
    const char* name = glfwGetMonitorName(monitor);

    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.

    +

    +Gamma ramp

    +

    The gamma ramp of a monitor can be set with glfwSetGammaRamp, which accepts a monitor handle and a pointer to a GLFWgammaramp structure.

    +
    unsigned short red[256], green[256], blue[256];
    ramp.size = 256;
    ramp.red = red;
    ramp.green = green;
    ramp.blue = blue;
    for (i = 0; i < ramp.size; i++)
    {
    // Fill out gamma ramp arrays as desired
    }
    glfwSetGammaRamp(monitor, &ramp);

    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.

    +
    Note
    It is recommended to use gamma ramps of size 256, as that is the size supported by all graphics cards on all platforms.
    +

    The current gamma ramp for a monitor is returned by glfwGetGammaRamp. See the reference documentation for the lifetime of the returned structure.

    +
    const GLFWgammaramp* ramp = glfwGetGammaRamp(monitor);

    If you wish to set a regular gamma ramp, you can have GLFW calculate it for you from the desired exponent with glfwSetGamma, which in turn calls glfwSetGammaRamp with the resulting ramp.

    +
    glfwSetGamma(monitor, 1.0);
    + + + diff --git a/docs/3.2/moving.html b/docs/3.2/moving.html new file mode 120000 index 0000000..9c74da0 --- /dev/null +++ b/docs/3.2/moving.html @@ -0,0 +1 @@ +moving_guide.html \ No newline at end of file diff --git a/docs/3.2/moving_8dox.html b/docs/3.2/moving_8dox.html new file mode 100644 index 0000000..6448d91 --- /dev/null +++ b/docs/3.2/moving_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: moving.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    moving.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.2/moving_guide.html b/docs/3.2/moving_guide.html new file mode 100644 index 0000000..e3ae3a7 --- /dev/null +++ b/docs/3.2/moving_guide.html @@ -0,0 +1,312 @@ + + + + + + +GLFW: Moving from GLFW 2 to 3 + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Moving from GLFW 2 to 3
    +
    +
    + +

    This is a transition guide for moving from GLFW 2 to 3. It describes what has changed or been removed, but does not include new features unless they are required when moving an existing code base onto the new API. For example, the new multi-monitor functions are required to create full screen windows with GLFW 3.

    +

    +Changed and removed features

    +

    +Renamed library and header file

    +

    The GLFW 3 header is named glfw3.h and moved to the GLFW directory, to avoid collisions with the headers of other major versions. Similarly, the GLFW 3 library is named glfw3, except when it's installed as a shared library on Unix-like systems, where it uses the soname libglfw.so.3.

    +
    Old syntax
    #include <GL/glfw.h>
    +
    New syntax
    #include <GLFW/glfw3.h>
    +

    +Removal of threading functions

    +

    The threading functions have been removed, including the per-thread sleep function. They were fairly primitive, under-used, poorly integrated and took time away from the focus of GLFW (i.e. context, input and window). There are better threading libraries available and native threading support is available in both C++11 and C11, both of which are gaining traction.

    +

    If you wish to use the C++11 or C11 facilities but your compiler doesn't yet support them, see the TinyThread++ and TinyCThread projects created by the original author of GLFW. These libraries implement a usable subset of the threading APIs in C++11 and C11, and in fact some GLFW 3 test programs use TinyCThread.

    +

    However, GLFW 3 has better support for use from multiple threads than GLFW 2 had. Contexts can be made current on any thread, although only a single thread at a time, and the documentation explicitly states which functions may be used from any thread and which must only be used from the main thread.

    +
    Removed functions
    glfwSleep, glfwCreateThread, glfwDestroyThread, glfwWaitThread, glfwGetThreadID, glfwCreateMutex, glfwDestroyMutex, glfwLockMutex, glfwUnlockMutex, glfwCreateCond, glfwDestroyCond, glfwWaitCond, glfwSignalCond, glfwBroadcastCond and glfwGetNumberOfProcessors.
    +
    Removed types
    GLFWthreadfun
    +

    +Removal of image and texture loading

    +

    The image and texture loading functions have been removed. They only supported the Targa image format, making them mostly useful for beginner level examples. To become of sufficiently high quality to warrant keeping them in GLFW 3, they would need not only to support other formats, but also modern extensions to OpenGL texturing. This would either add a number of external dependencies (libjpeg, libpng, etc.), or force GLFW to ship with inline versions of these libraries.

    +

    As there already are libraries doing this, it is unnecessary both to duplicate the work and to tie the duplicate to GLFW. The resulting library would also be platform-independent, as both OpenGL and stdio are available wherever GLFW is.

    +
    Removed functions
    glfwReadImage, glfwReadMemoryImage, glfwFreeImage, glfwLoadTexture2D, glfwLoadMemoryTexture2D and glfwLoadTextureImage2D.
    +

    +Removal of GLFWCALL macro

    +

    The GLFWCALL macro, which made callback functions use __stdcall on Windows, has been removed. GLFW is written in C, not Pascal. Removing this macro means there's one less thing for application programmers to remember, i.e. the requirement to mark all callback functions with GLFWCALL. It also simplifies the creation of DLLs and DLL link libraries, as there's no need to explicitly disable @n entry point suffixes.

    +
    Old syntax
    void GLFWCALL callback_function(...);
    +
    New syntax
    void callback_function(...);
    +

    +Window handle parameters

    +

    Because GLFW 3 supports multiple windows, window handle parameters have been added to all window-related GLFW functions and callbacks. The handle of a newly created window is returned by glfwCreateWindow (formerly glfwOpenWindow). Window handles are pointers to the opaque type GLFWwindow.

    +
    Old syntax
    glfwSetWindowTitle("New Window Title");
    +
    New syntax
    glfwSetWindowTitle(window, "New Window Title");
    +

    +Explicit monitor selection

    +

    GLFW 3 provides support for multiple monitors. To request a full screen mode window, instead of passing GLFW_FULLSCREEN you specify which monitor you wish the window to use. The glfwGetPrimaryMonitor function returns the monitor that GLFW 2 would have selected, but there are many other monitor functions. Monitor handles are pointers to the opaque type GLFWmonitor.

    +
    Old basic full screen
    glfwOpenWindow(640, 480, 8, 8, 8, 0, 24, 0, GLFW_FULLSCREEN);
    +
    New basic full screen
    window = glfwCreateWindow(640, 480, "My Window", glfwGetPrimaryMonitor(), NULL);
    +
    Note
    The framebuffer bit depth parameters of glfwOpenWindow have been turned into window hints, but as they have been given sane defaults you rarely need to set these hints.
    +

    +Removal of automatic event polling

    +

    GLFW 3 does not automatically poll for events in glfwSwapBuffers, meaning you need to call glfwPollEvents or glfwWaitEvents yourself. Unlike buffer swap, which acts on a single window, the event processing functions act on all windows at once.

    +
    Old basic main loop
    while (...)
    {
    // Process input
    // Render output
    }
    +
    New basic main loop
    while (...)
    {
    // Process input
    // Render output
    glfwSwapBuffers(window);
    }
    +

    +Explicit context management

    +

    Each GLFW 3 window has its own OpenGL context and only you, the application programmer, can know which context should be current on which thread at any given time. Therefore, GLFW 3 leaves that decision to you.

    +

    This means that you need to call glfwMakeContextCurrent after creating a window before you can call any OpenGL functions.

    +

    +Separation of window and framebuffer sizes

    +

    Window positions and sizes now use screen coordinates, which may not be the same as pixels on machines with high-DPI monitors. This is important as OpenGL uses pixels, not screen coordinates. For example, the rectangle specified with glViewport needs to use pixels. Therefore, framebuffer size functions have been added. You can retrieve the size of the framebuffer of a window with glfwGetFramebufferSize function. A framebuffer size callback has also been added, which can be set with glfwSetFramebufferSizeCallback.

    +
    Old basic viewport setup
    glfwGetWindowSize(&width, &height);
    glViewport(0, 0, width, height);
    +
    New basic viewport setup
    glfwGetFramebufferSize(window, &width, &height);
    glViewport(0, 0, width, height);
    +

    +Window closing changes

    +

    The GLFW_OPENED window parameter has been removed. As long as the window has not been destroyed, whether through glfwDestroyWindow or glfwTerminate, the window is "open".

    +

    A user attempting to close a window is now just an event like any other. Unlike GLFW 2, windows and contexts created with GLFW 3 will never be destroyed unless you choose them to be. Each window now has a close flag that is set to GLFW_TRUE when the user attempts to close that window. By default, nothing else happens and the window stays visible. It is then up to you to either destroy the window, take some other action or simply ignore the request.

    +

    You can query the close flag at any time with glfwWindowShouldClose and set it at any time with glfwSetWindowShouldClose.

    +
    Old basic main loop
    while (glfwGetWindowParam(GLFW_OPENED))
    {
    ...
    }
    +
    New basic main loop
    while (!glfwWindowShouldClose(window))
    {
    ...
    }
    +

    The close callback no longer returns a value. Instead, it is called after the close flag has been set so it can override its value, if it chooses to, before event processing completes. You may however not call glfwDestroyWindow from the close callback (or any other window related callback).

    +
    Old syntax
    int GLFWCALL window_close_callback(void);
    +
    New syntax
    void window_close_callback(GLFWwindow* window);
    +
    Note
    GLFW never clears the close flag to GLFW_FALSE, meaning you can use it for other reasons to close the window as well, for example the user choosing Quit from an in-game menu.
    +

    +Persistent window hints

    +

    The glfwOpenWindowHint function has been renamed to glfwWindowHint.

    +

    Window hints are no longer reset to their default values on window creation, but instead retain their values until modified by glfwWindowHint or glfwDefaultWindowHints, or until the library is terminated and re-initialized.

    +

    +Video mode enumeration

    +

    Video mode enumeration is now per-monitor. The glfwGetVideoModes function now returns all available modes for a specific monitor instead of requiring you to guess how large an array you need. The glfwGetDesktopMode function, which had poorly defined behavior, has been replaced by glfwGetVideoMode, which returns the current mode of a monitor.

    +

    +Removal of character actions

    +

    The action parameter of the character callback has been removed. This was an artefact of the origin of GLFW, i.e. being developed in English by a Swede. However, many keyboard layouts require more than one key to produce characters with diacritical marks. Even the Swedish keyboard layout requires this for uncommon cases like ü.

    +
    Old syntax
    void GLFWCALL character_callback(int character, int action);
    +
    New syntax
    void character_callback(GLFWwindow* window, int character);
    +

    +Cursor position changes

    +

    The glfwGetMousePos function has been renamed to glfwGetCursorPos, glfwSetMousePos to glfwSetCursorPos and glfwSetMousePosCallback to glfwSetCursorPosCallback.

    +

    The cursor position is now double instead of int, both for the direct functions and for the callback. Some platforms can provide sub-pixel cursor movement and this data is now passed on to the application where available. On platforms where this is not provided, the decimal part is zero.

    +

    GLFW 3 only allows you to position the cursor within a window using glfwSetCursorPos (formerly glfwSetMousePos) when that window is active. Unless the window is active, the function fails silently.

    +

    +Wheel position replaced by scroll offsets

    +

    The glfwGetMouseWheel function has been removed. Scrolling is the input of offsets and has no absolute position. The mouse wheel callback has been replaced by a scroll callback that receives two-dimensional floating point scroll offsets. This allows you to receive precise scroll data from for example modern touchpads.

    +
    Old syntax
    void GLFWCALL mouse_wheel_callback(int position);
    +
    New syntax
    void scroll_callback(GLFWwindow* window, double xoffset, double yoffset);
    +
    Removed functions
    glfwGetMouseWheel
    +

    +Key repeat action

    +

    The GLFW_KEY_REPEAT enable has been removed and key repeat is always enabled for both keys and characters. A new key action, GLFW_REPEAT, has been added to allow the key callback to distinguish an initial key press from a repeat. Note that glfwGetKey still returns only GLFW_PRESS or GLFW_RELEASE.

    +

    +Physical key input

    +

    GLFW 3 key tokens map to physical keys, unlike in GLFW 2 where they mapped to the values generated by the current keyboard layout. The tokens are named according to the values they would have using the standard US layout, but this is only a convenience, as most programmers are assumed to know that layout. This means that (for example) GLFW_KEY_LEFT_BRACKET is always a single key and is the same key in the same place regardless of what keyboard layouts the users of your program has.

    +

    The key input facility was never meant for text input, although using it that way worked slightly better in GLFW 2. If you were using it to input text, you should be using the character callback instead, on both GLFW 2 and 3. This will give you the characters being input, as opposed to the keys being pressed.

    +

    GLFW 3 has key tokens for all keys on a standard 105 key keyboard, so instead of having to remember whether to check for ‘'a’or'A', you now check for GLFW_KEY_A`.

    +

    +Joystick function changes

    +

    The glfwGetJoystickPos function has been renamed to glfwGetJoystickAxes.

    +

    The glfwGetJoystickParam function and the GLFW_PRESENT, GLFW_AXES and GLFW_BUTTONS tokens have been replaced by the glfwJoystickPresent function as well as axis and button counts returned by the glfwGetJoystickAxes and glfwGetJoystickButtons functions.

    +

    +Win32 MBCS support

    +

    The Win32 port of GLFW 3 will not compile in MBCS mode. However, because the use of the Unicode version of the Win32 API doesn't affect the process as a whole, but only those windows created using it, it's perfectly possible to call MBCS functions from other parts of the same application. Therefore, even if an application using GLFW has MBCS mode code, there's no need for GLFW itself to support it.

    +

    +Support for versions of Windows older than XP

    +

    All explicit support for version of Windows older than XP has been removed. There is no code that actively prevents GLFW 3 from running on these earlier versions, but it uses Win32 functions that those versions lack.

    +

    Windows XP was released in 2001, and by now (January 2015) it has not only replaced almost all earlier versions of Windows, but is itself rapidly being replaced by Windows 7 and 8. The MSDN library doesn't even provide documentation for version older than Windows 2000, making it difficult to maintain compatibility with these versions even if it was deemed worth the effort.

    +

    The Win32 API has also not stood still, and GLFW 3 uses many functions only present on Windows XP or later. Even supporting an OS as new as XP (new from the perspective of GLFW 2, which still supports Windows 95) requires runtime checking for a number of functions that are present only on modern version of Windows.

    +

    +Capture of system-wide hotkeys

    +

    The ability to disable and capture system-wide hotkeys like Alt+Tab has been removed. Modern applications, whether they're games, scientific visualisations or something else, are nowadays expected to be good desktop citizens and allow these hotkeys to function even when running in full screen mode.

    +

    +Automatic termination

    +

    GLFW 3 does not register glfwTerminate with atexit at initialization, because exit calls registered functions from the calling thread and while it is permitted to call exit from any thread, glfwTerminate must only be called from the main thread.

    +

    To release all resources allocated by GLFW, you should call glfwTerminate yourself, from the main thread, before the program terminates. Note that this destroys all windows not already destroyed with glfwDestroyWindow, invalidating any window handles you may still have.

    +

    +GLU header inclusion

    +

    GLFW 3 does not by default include the GLU header and GLU itself has been deprecated by Khronos. New projects should not use GLU, but if you need it for legacy code that has been moved to GLFW 3, you can request that the GLFW header includes it by defining GLFW_INCLUDE_GLU before the inclusion of the GLFW header.

    +
    Old syntax
    #include <GL/glfw.h>
    +
    New syntax
    #define GLFW_INCLUDE_GLU
    #include <GLFW/glfw3.h>
    +

    +Name change tables

    +

    +Renamed functions

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFW 2 GLFW 3 Notes
    glfwOpenWindow glfwCreateWindow All channel bit depths are now hints
    glfwCloseWindow glfwDestroyWindow
    glfwOpenWindowHint glfwWindowHint Now accepts all GLFW_*_BITS tokens
    glfwEnable glfwSetInputMode
    glfwDisable glfwSetInputMode
    glfwGetMousePos glfwGetCursorPos
    glfwSetMousePos glfwSetCursorPos
    glfwSetMousePosCallback glfwSetCursorPosCallback
    glfwSetMouseWheelCallback glfwSetScrollCallback Accepts two-dimensional scroll offsets as doubles
    glfwGetJoystickPos glfwGetJoystickAxes
    glfwGetWindowParam glfwGetWindowAttrib
    glfwGetGLVersion glfwGetWindowAttrib Use GLFW_CONTEXT_VERSION_MAJOR, GLFW_CONTEXT_VERSION_MINOR and GLFW_CONTEXT_REVISION
    glfwGetDesktopMode glfwGetVideoMode Returns the current mode of a monitor
    glfwGetJoystickParam glfwJoystickPresent The axis and button counts are provided by glfwGetJoystickAxes and glfwGetJoystickButtons
    +

    +Renamed types

    + + + + + + + +
    GLFW 2 GLFW 3 Notes
    GLFWmousewheelfun GLFWscrollfun
    GLFWmouseposfun GLFWcursorposfun
    +

    +Renamed tokens

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFW 2 GLFW 3 Notes
    GLFW_OPENGL_VERSION_MAJOR GLFW_CONTEXT_VERSION_MAJOR Renamed as it applies to OpenGL ES as well
    GLFW_OPENGL_VERSION_MINOR GLFW_CONTEXT_VERSION_MINOR Renamed as it applies to OpenGL ES as well
    GLFW_FSAA_SAMPLES GLFW_SAMPLES Renamed to match the OpenGL API
    GLFW_ACTIVE GLFW_FOCUSED Renamed to match the window focus callback
    GLFW_WINDOW_NO_RESIZE GLFW_RESIZABLE The default has been inverted
    GLFW_MOUSE_CURSOR GLFW_CURSOR Used with glfwSetInputMode
    GLFW_KEY_ESC GLFW_KEY_ESCAPE
    GLFW_KEY_DEL GLFW_KEY_DELETE
    GLFW_KEY_PAGEUP GLFW_KEY_PAGE_UP
    GLFW_KEY_PAGEDOWN GLFW_KEY_PAGE_DOWN
    GLFW_KEY_KP_NUM_LOCK GLFW_KEY_NUM_LOCK
    GLFW_KEY_LCTRL GLFW_KEY_LEFT_CONTROL
    GLFW_KEY_LSHIFT GLFW_KEY_LEFT_SHIFT
    GLFW_KEY_LALT GLFW_KEY_LEFT_ALT
    GLFW_KEY_LSUPER GLFW_KEY_LEFT_SUPER
    GLFW_KEY_RCTRL GLFW_KEY_RIGHT_CONTROL
    GLFW_KEY_RSHIFT GLFW_KEY_RIGHT_SHIFT
    GLFW_KEY_RALT GLFW_KEY_RIGHT_ALT
    GLFW_KEY_RSUPER GLFW_KEY_RIGHT_SUPER
    +
    + + + diff --git a/docs/3.2/nav_f.png b/docs/3.2/nav_f.png new file mode 100644 index 0000000000000000000000000000000000000000..72a58a529ed3a9ed6aa0c51a79cf207e026deee2 GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQVE_ejv*C{Z|{2ZH7M}7UYxc) zn!W8uqtnIQ>_z8U literal 0 HcmV?d00001 diff --git a/docs/3.2/nav_g.png b/docs/3.2/nav_g.png new file mode 100644 index 0000000000000000000000000000000000000000..2093a237a94f6c83e19ec6e5fd42f7ddabdafa81 GIT binary patch literal 95 zcmeAS@N?(olHy`uVBq!ia0vp^j6lrB!3HFm1ilyoDK$?Q$B+ufw|5PB85lU25BhtE tr?otc=hd~V+ws&_A@j8Fiv!KF$B+ufw|5=67#uj90@pIL wZ=Q8~_Ju`#59=RjDrmm`tMD@M=!-l18IR?&vFVdQ&MBb@0HFXL + + + + + +GLFW: New features + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    New features
    +
    +
    +

    +New features in 3.2

    +

    +Support for Vulkan

    +

    GLFW now supports basic integration with Vulkan with glfwVulkanSupported, glfwGetRequiredInstanceExtensions, glfwGetInstanceProcAddress, glfwGetPhysicalDevicePresentationSupport and glfwCreateWindowSurface. Vulkan header inclusion can be selected with GLFW_INCLUDE_VULKAN.

    +

    +Window mode switching

    +

    GLFW now supports switching between windowed and full screen modes and updating the monitor and desired resolution and refresh rate of full screen windows with glfwSetWindowMonitor.

    +

    +Window maxmimization support

    +

    GLFW now supports window maximization with glfwMaximizeWindow and the GLFW_MAXIMIZED window hint and attribute.

    +

    +Window input focus control

    +

    GLFW now supports giving windows input focus with glfwFocusWindow.

    +

    +Window size limit support

    +

    GLFW now supports setting both absolute and relative window size limits with glfwSetWindowSizeLimits and glfwSetWindowAspectRatio.

    +

    +Localized key names

    +

    GLFW now supports querying the localized name of printable keys with glfwGetKeyName, either by key token or by scancode.

    +

    +Wait for events with timeout

    +

    GLFW now supports waiting for events for a set amount of time with glfwWaitEventsTimeout.

    +

    +Window icon support

    +

    GLFW now supports setting the icon of windows with glfwSetWindowIcon.

    +

    +Raw timer access

    +

    GLFW now supports raw timer values with glfwGetTimerValue and glfwGetTimerFrequency.

    +

    +Joystick connection callback

    +

    GLFW now supports notifying when a joystick has been connected or disconnected with glfwSetJoystickCallback.

    +

    +Context-less windows

    +

    GLFW now supports creating windows without a OpenGL or OpenGL ES context with GLFW_NO_API.

    +

    +Run-time context creation API selection

    +

    GLFW now supports selecting the context creation API at run-time with the GLFW_CONTEXT_CREATION_API window hint value.

    +

    +Error-free context creation

    +

    GLFW now supports creating OpenGL and OpenGL ES contexts that do not emit errors with the GLFW_CONTEXT_NO_ERROR window hint, provided the machine supports the GL_KHR_no_error extension.

    +

    +CMake config-file package support

    +

    GLFW now supports being used as a config-file package from other projects for easy linking with the library and its dependencies.

    +

    +New features in 3.1

    +

    These are the release highlights. For a full list of changes see the version history.

    +

    +Custom mouse cursor images

    +

    GLFW now supports creating and setting both custom cursor images and standard cursor shapes. They are created with glfwCreateCursor or glfwCreateStandardCursor, set with glfwSetCursor and destroyed with glfwDestroyCursor.

    +
    See also
    Cursor objects
    +

    +Path drop event

    +

    GLFW now provides a callback for receiving the paths of files and directories dropped onto GLFW windows. The callback is set with glfwSetDropCallback.

    +
    See also
    Path drop input
    +

    +Main thread wake-up

    +

    GLFW now provides the glfwPostEmptyEvent function for posting an empty event from another thread to the main thread event queue, causing glfwWaitEvents to return.

    +
    See also
    Event processing
    +

    +Window frame size query

    +

    GLFW now supports querying the size, on each side, of the frame around the client area of a window, with glfwGetWindowFrameSize.

    +
    See also
    Window size
    +

    +Simultaneous multi-monitor rendering

    +

    GLFW now supports disabling auto-iconification of full screen windows with the GLFW_AUTO_ICONIFY window hint. This is intended for people building multi-monitor installations, where you need windows to stay in full screen despite losing input focus.

    +

    +Floating windows

    +

    GLFW now supports floating windows, also called topmost or always on top, for easier debugging with the GLFW_FLOATING window hint.

    +

    +Initially unfocused windows

    +

    GLFW now supports preventing a windowed mode window from gaining input focus on creation, with the GLFW_FOCUSED window hint.

    +

    +Direct access for window attributes and cursor position

    +

    GLFW now queries the window input focus, visibility and iconification attributes and the cursor position directly instead of returning cached data.

    +

    +Character with modifiers callback

    +

    GLFW now provides a callback for character events with modifier key bits. The callback is set with glfwSetCharModsCallback. Unlike the regular character callback, this will report character events that will not result in a character being input, for example if the Control key is held down.

    +
    See also
    Text input
    +

    +Single buffered framebuffers

    +

    GLFW now supports the creation of single buffered windows, with the GLFW_DOUBLEBUFFER window hint.

    +

    +Macro for including extension header

    +

    GLFW now includes the extension header appropriate for the chosen OpenGL or OpenGL ES header when GLFW_INCLUDE_GLEXT is defined. GLFW does not provide these headers. They must be provided by your development environment or your OpenGL or OpenGL ES SDK.

    +

    +Context release behaviors

    +

    GLFW now supports controlling whether the pipeline is flushed when a context is made non-current, with the GLFW_CONTEXT_RELEASE_BEHAVIOR window hint, provided the machine supports the GL_KHR_context_flush_control extension.

    +

    +(Experimental) Wayland support

    +

    GLFW now has an experimental Wayland display protocol backend that can be selected on Linux with a CMake option.

    +

    +(Experimental) Mir support

    +

    GLFW now has an experimental Mir display server backend that can be selected on Linux with a CMake option.

    +

    +New features in 3.0

    +

    These are the release highlights. For a full list of changes see the version history.

    +

    +CMake build system

    +

    GLFW now uses the CMake build system instead of the various makefiles and project files used by earlier versions. CMake is available for all platforms supported by GLFW, is present in most package systems and can generate makefiles and/or project files for most popular development environments.

    +

    For more information on how to use CMake, see the CMake manual.

    +

    +Multi-window support

    +

    GLFW now supports the creation of multiple windows, each with their own OpenGL or OpenGL ES context, and all window functions now take a window handle. Event callbacks are now per-window and are provided with the handle of the window that received the event. The glfwMakeContextCurrent function has been added to select which context is current on a given thread.

    +

    +Multi-monitor support

    +

    GLFW now explicitly supports multiple monitors. They can be enumerated with glfwGetMonitors, queried with glfwGetVideoModes, glfwGetMonitorPos, glfwGetMonitorName and glfwGetMonitorPhysicalSize, and specified at window creation to make the newly created window full screen on that specific monitor.

    +

    +Unicode support

    +

    All string arguments to GLFW functions and all strings returned by GLFW now use the UTF-8 encoding. This includes the window title, error string, clipboard text, monitor and joystick names as well as the extension function arguments (as ASCII is a subset of UTF-8).

    +

    +Clipboard text I/O

    +

    GLFW now supports reading and writing plain text to and from the system clipboard, with the glfwGetClipboardString and glfwSetClipboardString functions.

    +

    +Gamma ramp support

    +

    GLFW now supports setting and reading back the gamma ramp of monitors, with the glfwGetGammaRamp and glfwSetGammaRamp functions. There is also glfwSetGamma, which generates a ramp from a gamma value and then sets it.

    +

    +OpenGL ES support

    +

    GLFW now supports the creation of OpenGL ES contexts, by setting the GLFW_CLIENT_API window hint to GLFW_OPENGL_ES_API, where creation of such contexts are supported. Note that GLFW does not implement OpenGL ES, so your driver must provide support in a way usable by GLFW. Modern Nvidia and Intel drivers support creation of OpenGL ES context using the GLX and WGL APIs, while AMD provides an EGL implementation instead.

    +

    +(Experimental) EGL support

    +

    GLFW now has an experimental EGL context creation back end that can be selected through CMake options.

    +

    +High-DPI support

    +

    GLFW now supports high-DPI monitors on both Windows and OS X, giving windows full resolution framebuffers where other UI elements are scaled up. To achieve this, glfwGetFramebufferSize and glfwSetFramebufferSizeCallback have been added. These work with pixels, while the rest of the GLFW API works with screen coordinates. This is important as OpenGL uses pixels, not screen coordinates.

    +

    +Error callback

    +

    GLFW now has an error callback, which can provide your application with much more detailed diagnostics than was previously possible. The callback is passed an error code and a description string.

    +

    +Per-window user pointer

    +

    Each window now has a user-defined pointer, retrieved with glfwGetWindowUserPointer and set with glfwSetWindowUserPointer, to make it easier to integrate GLFW into C++ code.

    +

    +Window iconification callback

    +

    Each window now has a callback for iconification and restoration events, which is set with glfwSetWindowIconifyCallback.

    +

    +Window position callback

    +

    Each window now has a callback for position events, which is set with glfwSetWindowPosCallback.

    +

    +Window position query

    +

    The position of a window can now be retrieved using glfwGetWindowPos.

    +

    +Window focus callback

    +

    Each windows now has a callback for focus events, which is set with glfwSetWindowFocusCallback.

    +

    +Cursor enter/leave callback

    +

    Each window now has a callback for when the mouse cursor enters or leaves its client area, which is set with glfwSetCursorEnterCallback.

    +

    +Initial window title

    +

    The title of a window is now specified at creation time, as one of the arguments to glfwCreateWindow.

    +

    +Hidden windows

    +

    Windows can now be hidden with glfwHideWindow, shown using glfwShowWindow and created initially hidden with the GLFW_VISIBLE window hint. This allows for off-screen rendering in a way compatible with most drivers, as well as moving a window to a specific position before showing it.

    +

    +Undecorated windows

    +

    Windowed mode windows can now be created without decorations, e.g. things like a frame, a title bar, with the GLFW_DECORATED window hint. This allows for the creation of things like splash screens.

    +

    +Modifier key bit masks

    +

    Modifier key bit mask parameters have been added to the mouse button and key callbacks.

    +

    +Platform-specific scancodes

    +

    A scancode parameter has been added to the key callback. Keys that don't have a key token still get passed on with the key parameter set to GLFW_KEY_UNKNOWN. These scancodes will vary between machines and are intended to be used for key bindings.

    +

    +Joystick names

    +

    The name of a joystick can now be retrieved using glfwGetJoystickName.

    +

    +Doxygen documentation

    +

    You are reading it.

    +
    + + + diff --git a/docs/3.2/news_8dox.html b/docs/3.2/news_8dox.html new file mode 100644 index 0000000..9a8eba7 --- /dev/null +++ b/docs/3.2/news_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: news.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    news.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.2/open.png b/docs/3.2/open.png new file mode 100644 index 0000000000000000000000000000000000000000..30f75c7efe2dd0c9e956e35b69777a02751f048b GIT binary patch literal 123 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{VPM$7~Ar*{o?;hlAFyLXmaDC0y znK1_#cQqJWPES%4Uujug^TE?jMft$}Eq^WaR~)%f)vSNs&gek&x%A9X9sM + + + + + +GLFW: Guides + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Guides
    +
    + + + + diff --git a/docs/3.2/quick.html b/docs/3.2/quick.html new file mode 120000 index 0000000..ecb98b4 --- /dev/null +++ b/docs/3.2/quick.html @@ -0,0 +1 @@ +quick_guide.html \ No newline at end of file diff --git a/docs/3.2/quick_8dox.html b/docs/3.2/quick_8dox.html new file mode 100644 index 0000000..d5009b5 --- /dev/null +++ b/docs/3.2/quick_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: quick.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    quick.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.2/quick_guide.html b/docs/3.2/quick_guide.html new file mode 100644 index 0000000..b65b161 --- /dev/null +++ b/docs/3.2/quick_guide.html @@ -0,0 +1,177 @@ + + + + + + +GLFW: Getting started + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Getting started
    +
    +
    + +

    This guide takes you through writing a simple application using GLFW 3. The application will create a window and OpenGL context, render a rotating triangle and exit when the user closes the window or presses Escape. This guide will introduce a few of the most commonly used functions, but there are many more.

    +

    This guide assumes no experience with earlier versions of GLFW. If you have used GLFW 2 in the past, read Moving from GLFW 2 to 3, as some functions behave differently in GLFW 3.

    +

    +Step by step

    +

    +Including the GLFW header

    +

    In the source files of your application where you use OpenGL or GLFW, you need to include the GLFW 3 header file.

    +
    #include <GLFW/glfw3.h>

    This defines all the constants, types and function prototypes of the GLFW API. It also includes the OpenGL header from your development environment and defines all the constants and types necessary for it to work on your platform without including any platform-specific headers.

    +

    In other words:

    +
      +
    • Do not include the OpenGL header yourself, as GLFW does this for you in a platform-independent way
    • +
    • Do not include windows.h or other platform-specific headers unless you plan on using those APIs yourself
    • +
    • If you do need to include such headers, include them before the GLFW header and it will detect this
    • +
    +

    On some platforms supported by GLFW the OpenGL header and link library only expose older versions of OpenGL. The most extreme case is Windows, which only exposes OpenGL 1.2. The easiest way to work around this is to use an extension loader library.

    +

    If you are using such a library then you should include its header before the GLFW header. This lets it replace the OpenGL header included by GLFW without conflicts. This example uses glad, but the same rule applies to all such libraries.

    +
    #include <glad/glad.h>
    #include <GLFW/glfw3.h>

    +Initializing and terminating GLFW

    +

    Before you can use most GLFW functions, the library must be initialized. On successful initialization, GLFW_TRUE is returned. If an error occurred, GLFW_FALSE is returned.

    +
    if (!glfwInit())
    {
    // Initialization failed
    }

    Note that GLFW_TRUE and GLFW_FALSE are and will always be just one and zero.

    +

    When you are done using GLFW, typically just before the application exits, you need to terminate GLFW.

    +

    This destroys any remaining windows and releases any other resources allocated by GLFW. After this call, you must initialize GLFW again before using any GLFW functions that require it.

    +

    +Setting an error callback

    +

    Most events are reported through callbacks, whether it's a key being pressed, a GLFW window being moved, or an error occurring. Callbacks are simply C functions (or C++ static methods) that are called by GLFW with arguments describing the event.

    +

    In case a GLFW function fails, an error is reported to the GLFW error callback. You can receive these reports with an error callback. This function must have the signature below. This simple error callback just prints the error description to stderr.

    +
    void error_callback(int error, const char* description)
    {
    fprintf(stderr, "Error: %s\n", description);
    }

    Callback functions must be set, so GLFW knows to call them. The function to set the error callback is one of the few GLFW functions that may be called before initialization, which lets you be notified of errors both during and after initialization.

    +
    glfwSetErrorCallback(error_callback);

    +Creating a window and context

    +

    The window and its OpenGL context are created with a single call to glfwCreateWindow, which returns a handle to the created combined window and context object

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", NULL, NULL);
    if (!window)
    {
    // Window or OpenGL context creation failed
    }

    This creates a 640 by 480 windowed mode window with an OpenGL context. If window or OpenGL context creation fails, NULL will be returned. You should always check the return value. While window creation rarely fails, context creation depends on properly installed drivers and may fail even on machines with the necessary hardware.

    +

    By default, the OpenGL context GLFW creates may have any version. You can require a minimum OpenGL version by setting the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints before creation. If the required minimum version is not supported on the machine, context (and window) creation fails.

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", NULL, NULL);
    if (!window)
    {
    // Window or context creation failed
    }

    The window handle is passed to all window related functions and is provided to along to all window related callbacks, so they can tell which window received the event.

    +

    When a window and context is no longer needed, destroy it.

    +

    Once this function is called, no more events will be delivered for that window and its handle becomes invalid.

    +

    +Making the OpenGL context current

    +

    Before you can use the OpenGL API, you must have a current OpenGL context.

    +

    The context will remain current until you make another context current or until the window owning the current context is destroyed.

    +

    If you are using an extension loader library to access modern OpenGL then this is when to initialize it, as the loader needs a current context to load from. This example uses glad, but the same rule applies to all such libraries.

    +
    gladLoadGLLoader((GLADloadproc) glfwGetProcAddress);

    +Checking the window close flag

    +

    Each window has a flag indicating whether the window should be closed.

    +

    When the user attempts to close the window, either by pressing the close widget in the title bar or using a key combination like Alt+F4, this flag is set to 1. Note that the window isn't actually closed, so you are expected to monitor this flag and either destroy the window or give some kind of feedback to the user.

    +
    while (!glfwWindowShouldClose(window))
    {
    // Keep running
    }

    You can be notified when the user is attempting to close the window by setting a close callback with glfwSetWindowCloseCallback. The callback will be called immediately after the close flag has been set.

    +

    You can also set it yourself with glfwSetWindowShouldClose. This can be useful if you want to interpret other kinds of input as closing the window, like for example pressing the Escape key.

    +

    +Receiving input events

    +

    Each window has a large number of callbacks that can be set to receive all the various kinds of events. To receive key press and release events, create a key callback function.

    +
    static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
    {
    if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS)
    }

    The key callback, like other window related callbacks, are set per-window.

    +
    glfwSetKeyCallback(window, key_callback);

    In order for event callbacks to be called when events occur, you need to process events as described below.

    +

    +Rendering with OpenGL

    +

    Once you have a current OpenGL context, you can use OpenGL normally. In this tutorial, a multi-colored rotating triangle will be rendered. The framebuffer size needs to be retrieved for glViewport.

    +
    int width, height;
    glfwGetFramebufferSize(window, &width, &height);
    glViewport(0, 0, width, height);

    You can also set a framebuffer size callback using glfwSetFramebufferSizeCallback and be notified when the size changes.

    +

    Actual rendering with OpenGL is outside the scope of this tutorial, but there are many excellent tutorial sites that teach modern OpenGL. Some of them use GLFW to create the context and window while others use GLUT or SDL, but remember that OpenGL itself always works the same.

    +

    +Reading the timer

    +

    To create smooth animation, a time source is needed. GLFW provides a timer that returns the number of seconds since initialization. The time source used is the most accurate on each platform and generally has micro- or nanosecond resolution.

    +
    double time = glfwGetTime();

    +Swapping buffers

    +

    GLFW windows by default use double buffering. That means that each window has two rendering buffers; a front buffer and a back buffer. The front buffer is the one being displayed and the back buffer the one you render to.

    +

    When the entire frame has been rendered, the buffers need to be swapped with one another, so the back buffer becomes the front buffer and vice versa.

    +

    The swap interval indicates how many frames to wait until swapping the buffers, commonly known as vsync. By default, the swap interval is zero, meaning buffer swapping will occur immediately. On fast machines, many of those frames will never be seen, as the screen is still only updated typically 60-75 times per second, so this wastes a lot of CPU and GPU cycles.

    +

    Also, because the buffers will be swapped in the middle the screen update, leading to screen tearing.

    +

    For these reasons, applications will typically want to set the swap interval to one. It can be set to higher values, but this is usually not recommended, because of the input latency it leads to.

    +

    This function acts on the current context and will fail unless a context is current.

    +

    +Processing events

    +

    GLFW needs to communicate regularly with the window system both in order to receive events and to show that the application hasn't locked up. Event processing must be done regularly while you have visible windows and is normally done each frame after buffer swapping.

    +

    There are two methods for processing pending events; polling and waiting. This example will use event polling, which processes only those events that have already been received and then returns immediately.
    +

    This is the best choice when rendering continually, like most games do. If instead you only need to update your rendering once you have received new input, glfwWaitEvents is a better choice. It waits until at least one event has been received, putting the thread to sleep in the meantime, and then processes all received events. This saves a great deal of CPU cycles and is useful for, for example, many kinds of editing tools.

    +

    +Putting it together

    +

    Now that you know how to initialize GLFW, create a window and poll for keyboard input, it's possible to create a simple program.

    +

    This program creates a 640 by 480 windowed mode window and starts a loop that clears the screen, renders a triangle and processes events until the user either presses Escape or closes the window.

    +
    #include <glad/glad.h>
    #include <GLFW/glfw3.h>
    #include "linmath.h"
    #include <stdlib.h>
    #include <stdio.h>
    static const struct
    {
    float x, y;
    float r, g, b;
    } vertices[3] =
    {
    { -0.6f, -0.4f, 1.f, 0.f, 0.f },
    { 0.6f, -0.4f, 0.f, 1.f, 0.f },
    { 0.f, 0.6f, 0.f, 0.f, 1.f }
    };
    static const char* vertex_shader_text =
    "uniform mat4 MVP;\n"
    "attribute vec3 vCol;\n"
    "attribute vec2 vPos;\n"
    "varying vec3 color;\n"
    "void main()\n"
    "{\n"
    " gl_Position = MVP * vec4(vPos, 0.0, 1.0);\n"
    " color = vCol;\n"
    "}\n";
    static const char* fragment_shader_text =
    "varying vec3 color;\n"
    "void main()\n"
    "{\n"
    " gl_FragColor = vec4(color, 1.0);\n"
    "}\n";
    static void error_callback(int error, const char* description)
    {
    fprintf(stderr, "Error: %s\n", description);
    }
    static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
    {
    if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS)
    }
    int main(void)
    {
    GLFWwindow* window;
    GLuint vertex_buffer, vertex_shader, fragment_shader, program;
    GLint mvp_location, vpos_location, vcol_location;
    glfwSetErrorCallback(error_callback);
    if (!glfwInit())
    exit(EXIT_FAILURE);
    window = glfwCreateWindow(640, 480, "Simple example", NULL, NULL);
    if (!window)
    {
    exit(EXIT_FAILURE);
    }
    glfwSetKeyCallback(window, key_callback);
    gladLoadGLLoader((GLADloadproc) glfwGetProcAddress);
    // NOTE: OpenGL error checks have been omitted for brevity
    glGenBuffers(1, &vertex_buffer);
    glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer);
    glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
    vertex_shader = glCreateShader(GL_VERTEX_SHADER);
    glShaderSource(vertex_shader, 1, &vertex_shader_text, NULL);
    glCompileShader(vertex_shader);
    fragment_shader = glCreateShader(GL_FRAGMENT_SHADER);
    glShaderSource(fragment_shader, 1, &fragment_shader_text, NULL);
    glCompileShader(fragment_shader);
    program = glCreateProgram();
    glAttachShader(program, vertex_shader);
    glAttachShader(program, fragment_shader);
    glLinkProgram(program);
    mvp_location = glGetUniformLocation(program, "MVP");
    vpos_location = glGetAttribLocation(program, "vPos");
    vcol_location = glGetAttribLocation(program, "vCol");
    glEnableVertexAttribArray(vpos_location);
    glVertexAttribPointer(vpos_location, 2, GL_FLOAT, GL_FALSE,
    sizeof(float) * 5, (void*) 0);
    glEnableVertexAttribArray(vcol_location);
    glVertexAttribPointer(vcol_location, 3, GL_FLOAT, GL_FALSE,
    sizeof(float) * 5, (void*) (sizeof(float) * 2));
    while (!glfwWindowShouldClose(window))
    {
    float ratio;
    int width, height;
    mat4x4 m, p, mvp;
    glfwGetFramebufferSize(window, &width, &height);
    ratio = width / (float) height;
    glViewport(0, 0, width, height);
    glClear(GL_COLOR_BUFFER_BIT);
    mat4x4_identity(m);
    mat4x4_rotate_Z(m, m, (float) glfwGetTime());
    mat4x4_ortho(p, -ratio, ratio, -1.f, 1.f, 1.f, -1.f);
    mat4x4_mul(mvp, p, m);
    glUseProgram(program);
    glUniformMatrix4fv(mvp_location, 1, GL_FALSE, (const GLfloat*) mvp);
    glDrawArrays(GL_TRIANGLES, 0, 3);
    glfwSwapBuffers(window);
    }
    exit(EXIT_SUCCESS);
    }

    The program above can be found in the source package as examples/simple.c and is compiled along with all other examples when you build GLFW. If you built GLFW from the source package then already have this as simple.exe on Windows, simple on Linux or simple.app on OS X.

    +

    This tutorial used only a few of the many functions GLFW provides. There are guides for each of the areas covered by GLFW. Each guide will introduce all the functions for that category.

    + +

    You can access reference documentation for any GLFW function by clicking it and the reference for each function links to related functions and guide sections.

    +

    The tutorial ends here. Once you have written a program that uses GLFW, you will need to compile and link it. How to do that depends on the development environment you are using and is best explained by the documentation for that environment. To learn about the details that are specific to GLFW, see Building applications.

    +
    + + + diff --git a/docs/3.2/search/all_0.html b/docs/3.2/search/all_0.html new file mode 100644 index 0000000..5125b94 --- /dev/null +++ b/docs/3.2/search/all_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/all_0.js b/docs/3.2/search/all_0.js new file mode 100644 index 0000000..9810f99 --- /dev/null +++ b/docs/3.2/search/all_0.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['blue',['blue',['../structGLFWgammaramp.html#acf0c836d0efe29c392fe8d1a1042744b',1,'GLFWgammaramp']]], + ['bluebits',['blueBits',['../structGLFWvidmode.html#af310977f58d2e3b188175b6e3d314047',1,'GLFWvidmode']]], + ['bug_20list',['Bug List',['../bug.html',1,'']]], + ['build_2edox',['build.dox',['../build_8dox.html',1,'']]], + ['building_20applications',['Building applications',['../build_guide.html',1,'']]] +]; diff --git a/docs/3.2/search/all_1.html b/docs/3.2/search/all_1.html new file mode 100644 index 0000000..b8ff871 --- /dev/null +++ b/docs/3.2/search/all_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/all_1.js b/docs/3.2/search/all_1.js new file mode 100644 index 0000000..9219a60 --- /dev/null +++ b/docs/3.2/search/all_1.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['compat_2edox',['compat.dox',['../compat_8dox.html',1,'']]], + ['compile_2edox',['compile.dox',['../compile_8dox.html',1,'']]], + ['compiling_20glfw',['Compiling GLFW',['../compile_guide.html',1,'']]], + ['context_20reference',['Context reference',['../group__context.html',1,'']]], + ['context_2edox',['context.dox',['../context_8dox.html',1,'']]], + ['context_20guide',['Context guide',['../context_guide.html',1,'']]] +]; diff --git a/docs/3.2/search/all_2.html b/docs/3.2/search/all_2.html new file mode 100644 index 0000000..2f17735 --- /dev/null +++ b/docs/3.2/search/all_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/all_2.js b/docs/3.2/search/all_2.js new file mode 100644 index 0000000..4cec4ce --- /dev/null +++ b/docs/3.2/search/all_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['error_20codes',['Error codes',['../group__errors.html',1,'']]] +]; diff --git a/docs/3.2/search/all_3.html b/docs/3.2/search/all_3.html new file mode 100644 index 0000000..a3e6f7d --- /dev/null +++ b/docs/3.2/search/all_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/all_3.js b/docs/3.2/search/all_3.js new file mode 100644 index 0000000..de23448 --- /dev/null +++ b/docs/3.2/search/all_3.js @@ -0,0 +1,388 @@ +var searchData= +[ + ['glfw3_2eh',['glfw3.h',['../glfw3_8h.html',1,'']]], + ['glfw3native_2eh',['glfw3native.h',['../glfw3native_8h.html',1,'']]], + ['glfw_5faccum_5falpha_5fbits',['GLFW_ACCUM_ALPHA_BITS',['../glfw3_8h.html#ae829b55591c18169a40ab4067a041b1f',1,'glfw3.h']]], + ['glfw_5faccum_5fblue_5fbits',['GLFW_ACCUM_BLUE_BITS',['../glfw3_8h.html#a22bbe9104a8ce1f8b88fb4f186aa36ce',1,'glfw3.h']]], + ['glfw_5faccum_5fgreen_5fbits',['GLFW_ACCUM_GREEN_BITS',['../glfw3_8h.html#a65713cee1326f8e9d806fdf93187b471',1,'glfw3.h']]], + ['glfw_5faccum_5fred_5fbits',['GLFW_ACCUM_RED_BITS',['../glfw3_8h.html#aead34a9a683b2bc20eecf30ba738bfc6',1,'glfw3.h']]], + ['glfw_5falpha_5fbits',['GLFW_ALPHA_BITS',['../glfw3_8h.html#afed79a3f468997877da86c449bd43e8c',1,'glfw3.h']]], + ['glfw_5fany_5frelease_5fbehavior',['GLFW_ANY_RELEASE_BEHAVIOR',['../glfw3_8h.html#a6b47d806f285efe9bfd7aeec667297ee',1,'glfw3.h']]], + ['glfw_5fapi_5funavailable',['GLFW_API_UNAVAILABLE',['../group__errors.html#ga56882b290db23261cc6c053c40c2d08e',1,'glfw3.h']]], + ['glfw_5farrow_5fcursor',['GLFW_ARROW_CURSOR',['../group__shapes.html#ga8ab0e717245b85506cb0eaefdea39d0a',1,'glfw3.h']]], + ['glfw_5fauto_5ficonify',['GLFW_AUTO_ICONIFY',['../glfw3_8h.html#a9d9874fc928200136a6dcdad726aa252',1,'glfw3.h']]], + ['glfw_5faux_5fbuffers',['GLFW_AUX_BUFFERS',['../glfw3_8h.html#ab05108c5029443b371112b031d1fa174',1,'glfw3.h']]], + ['glfw_5fblue_5fbits',['GLFW_BLUE_BITS',['../glfw3_8h.html#ab292ea403db6d514537b515311bf9ae3',1,'glfw3.h']]], + ['glfw_5fclient_5fapi',['GLFW_CLIENT_API',['../glfw3_8h.html#a649309cf72a3d3de5b1348ca7936c95b',1,'glfw3.h']]], + ['glfw_5fconnected',['GLFW_CONNECTED',['../glfw3_8h.html#abe11513fd1ffbee5bb9b173f06028b9e',1,'glfw3.h']]], + ['glfw_5fcontext_5fcreation_5fapi',['GLFW_CONTEXT_CREATION_API',['../glfw3_8h.html#a5154cebfcd831c1cc63a4d5ac9bb4486',1,'glfw3.h']]], + ['glfw_5fcontext_5fno_5ferror',['GLFW_CONTEXT_NO_ERROR',['../glfw3_8h.html#a5a52fdfd46d8249c211f923675728082',1,'glfw3.h']]], + ['glfw_5fcontext_5frelease_5fbehavior',['GLFW_CONTEXT_RELEASE_BEHAVIOR',['../glfw3_8h.html#a72b648a8378fe3310c7c7bbecc0f7be6',1,'glfw3.h']]], + ['glfw_5fcontext_5frevision',['GLFW_CONTEXT_REVISION',['../glfw3_8h.html#afb9475071aa77c6fb05ca5a5c8678a08',1,'glfw3.h']]], + ['glfw_5fcontext_5frobustness',['GLFW_CONTEXT_ROBUSTNESS',['../glfw3_8h.html#ade3593916b4c507900aa2d6844810e00',1,'glfw3.h']]], + ['glfw_5fcontext_5fversion_5fmajor',['GLFW_CONTEXT_VERSION_MAJOR',['../glfw3_8h.html#afe5e4922de1f9932d7e9849bb053b0c0',1,'glfw3.h']]], + ['glfw_5fcontext_5fversion_5fminor',['GLFW_CONTEXT_VERSION_MINOR',['../glfw3_8h.html#a31aca791e4b538c4e4a771eb95cc2d07',1,'glfw3.h']]], + ['glfw_5fcrosshair_5fcursor',['GLFW_CROSSHAIR_CURSOR',['../group__shapes.html#ga8af88c0ea05ab9e8f9ac1530e8873c22',1,'glfw3.h']]], + ['glfw_5fcursor',['GLFW_CURSOR',['../glfw3_8h.html#aade31da5b884a84a7625c6b059b9132c',1,'glfw3.h']]], + ['glfw_5fcursor_5fdisabled',['GLFW_CURSOR_DISABLED',['../glfw3_8h.html#a2315b99a329ce53e6a13a9d46fd5ca88',1,'glfw3.h']]], + ['glfw_5fcursor_5fhidden',['GLFW_CURSOR_HIDDEN',['../glfw3_8h.html#ac4d5cb9d78de8573349c58763d53bf11',1,'glfw3.h']]], + ['glfw_5fcursor_5fnormal',['GLFW_CURSOR_NORMAL',['../glfw3_8h.html#ae04dd25c8577e19fa8c97368561f6c68',1,'glfw3.h']]], + ['glfw_5fdecorated',['GLFW_DECORATED',['../glfw3_8h.html#a21b854d36314c94d65aed84405b2f25e',1,'glfw3.h']]], + ['glfw_5fdepth_5fbits',['GLFW_DEPTH_BITS',['../glfw3_8h.html#a318a55eac1fee57dfe593b6d38149d07',1,'glfw3.h']]], + ['glfw_5fdisconnected',['GLFW_DISCONNECTED',['../glfw3_8h.html#aab64b25921ef21d89252d6f0a71bfc32',1,'glfw3.h']]], + ['glfw_5fdont_5fcare',['GLFW_DONT_CARE',['../glfw3_8h.html#a7a2edf2c18446833d27d07f1b7f3d571',1,'glfw3.h']]], + ['glfw_5fdoublebuffer',['GLFW_DOUBLEBUFFER',['../glfw3_8h.html#a714a5d569e8a274ea58fdfa020955339',1,'glfw3.h']]], + ['glfw_5fegl_5fcontext_5fapi',['GLFW_EGL_CONTEXT_API',['../glfw3_8h.html#a03cf65c9ab01fc8b872ba58842c531c9',1,'glfw3.h']]], + ['glfw_5ffalse',['GLFW_FALSE',['../glfw3_8h.html#ac877fe3b627d21ef3a0a23e0a73ba8c5',1,'glfw3.h']]], + ['glfw_5ffloating',['GLFW_FLOATING',['../glfw3_8h.html#a7fb0be51407783b41adbf5bec0b09d80',1,'glfw3.h']]], + ['glfw_5ffocused',['GLFW_FOCUSED',['../glfw3_8h.html#a54ddb14825a1541a56e22afb5f832a9e',1,'glfw3.h']]], + ['glfw_5fformat_5funavailable',['GLFW_FORMAT_UNAVAILABLE',['../group__errors.html#ga196e125ef261d94184e2b55c05762f14',1,'glfw3.h']]], + ['glfw_5fgreen_5fbits',['GLFW_GREEN_BITS',['../glfw3_8h.html#afba3b72638c914e5fb8a237dd4c50d4d',1,'glfw3.h']]], + ['glfw_5fhand_5fcursor',['GLFW_HAND_CURSOR',['../group__shapes.html#ga1db35e20849e0837c82e3dc1fd797263',1,'glfw3.h']]], + ['glfw_5fhresize_5fcursor',['GLFW_HRESIZE_CURSOR',['../group__shapes.html#gabb3eb0109f11bb808fc34659177ca962',1,'glfw3.h']]], + ['glfw_5fibeam_5fcursor',['GLFW_IBEAM_CURSOR',['../group__shapes.html#ga36185f4375eaada1b04e431244774c86',1,'glfw3.h']]], + ['glfw_5ficonified',['GLFW_ICONIFIED',['../glfw3_8h.html#a39d44b7c056e55e581355a92d240b58a',1,'glfw3.h']]], + ['glfw_5finvalid_5fenum',['GLFW_INVALID_ENUM',['../group__errors.html#ga76f6bb9c4eea73db675f096b404593ce',1,'glfw3.h']]], + ['glfw_5finvalid_5fvalue',['GLFW_INVALID_VALUE',['../group__errors.html#gaaf2ef9aa8202c2b82ac2d921e554c687',1,'glfw3.h']]], + ['glfw_5fjoystick_5f1',['GLFW_JOYSTICK_1',['../group__joysticks.html#ga34a0443d059e9f22272cd4669073f73d',1,'glfw3.h']]], + ['glfw_5fjoystick_5f10',['GLFW_JOYSTICK_10',['../group__joysticks.html#gaef55389ee605d6dfc31aef6fe98c54ec',1,'glfw3.h']]], + ['glfw_5fjoystick_5f11',['GLFW_JOYSTICK_11',['../group__joysticks.html#gae7d26e3df447c2c14a569fcc18516af4',1,'glfw3.h']]], + ['glfw_5fjoystick_5f12',['GLFW_JOYSTICK_12',['../group__joysticks.html#gab91bbf5b7ca6be8d3ac5c4d89ff48ac7',1,'glfw3.h']]], + ['glfw_5fjoystick_5f13',['GLFW_JOYSTICK_13',['../group__joysticks.html#ga5c84fb4e49bf661d7d7c78eb4018c508',1,'glfw3.h']]], + ['glfw_5fjoystick_5f14',['GLFW_JOYSTICK_14',['../group__joysticks.html#ga89540873278ae5a42b3e70d64164dc74',1,'glfw3.h']]], + ['glfw_5fjoystick_5f15',['GLFW_JOYSTICK_15',['../group__joysticks.html#ga7b02ab70daf7a78bcc942d5d4cc1dcf9',1,'glfw3.h']]], + ['glfw_5fjoystick_5f16',['GLFW_JOYSTICK_16',['../group__joysticks.html#ga453edeeabf350827646b6857df4f80ce',1,'glfw3.h']]], + ['glfw_5fjoystick_5f2',['GLFW_JOYSTICK_2',['../group__joysticks.html#ga6eab65ec88e65e0850ef8413504cb50c',1,'glfw3.h']]], + ['glfw_5fjoystick_5f3',['GLFW_JOYSTICK_3',['../group__joysticks.html#gae6f3eedfeb42424c2f5e3161efb0b654',1,'glfw3.h']]], + ['glfw_5fjoystick_5f4',['GLFW_JOYSTICK_4',['../group__joysticks.html#ga97ddbcad02b7f48d74fad4ddb08fff59',1,'glfw3.h']]], + ['glfw_5fjoystick_5f5',['GLFW_JOYSTICK_5',['../group__joysticks.html#gae43281bc66d3fa5089fb50c3e7a28695',1,'glfw3.h']]], + ['glfw_5fjoystick_5f6',['GLFW_JOYSTICK_6',['../group__joysticks.html#ga74771620aa53bd68a487186dea66fd77',1,'glfw3.h']]], + ['glfw_5fjoystick_5f7',['GLFW_JOYSTICK_7',['../group__joysticks.html#ga20a9f4f3aaefed9ea5e66072fc588b87',1,'glfw3.h']]], + ['glfw_5fjoystick_5f8',['GLFW_JOYSTICK_8',['../group__joysticks.html#ga21a934c940bcf25db0e4c8fe9b364bdb',1,'glfw3.h']]], + ['glfw_5fjoystick_5f9',['GLFW_JOYSTICK_9',['../group__joysticks.html#ga87689d47df0ba6f9f5fcbbcaf7b3cecf',1,'glfw3.h']]], + ['glfw_5fjoystick_5flast',['GLFW_JOYSTICK_LAST',['../group__joysticks.html#ga9ca13ebf24c331dd98df17d84a4b72c9',1,'glfw3.h']]], + ['glfw_5fkey_5f0',['GLFW_KEY_0',['../group__keys.html#ga50391730e9d7112ad4fd42d0bd1597c1',1,'glfw3.h']]], + ['glfw_5fkey_5f1',['GLFW_KEY_1',['../group__keys.html#ga05e4cae9ddb8d40cf6d82c8f11f2502f',1,'glfw3.h']]], + ['glfw_5fkey_5f2',['GLFW_KEY_2',['../group__keys.html#gadc8e66b3a4c4b5c39ad1305cf852863c',1,'glfw3.h']]], + ['glfw_5fkey_5f3',['GLFW_KEY_3',['../group__keys.html#ga812f0273fe1a981e1fa002ae73e92271',1,'glfw3.h']]], + ['glfw_5fkey_5f4',['GLFW_KEY_4',['../group__keys.html#ga9e14b6975a9cc8f66cdd5cb3d3861356',1,'glfw3.h']]], + ['glfw_5fkey_5f5',['GLFW_KEY_5',['../group__keys.html#ga4d74ddaa5d4c609993b4d4a15736c924',1,'glfw3.h']]], + ['glfw_5fkey_5f6',['GLFW_KEY_6',['../group__keys.html#ga9ea4ab80c313a227b14d0a7c6f810b5d',1,'glfw3.h']]], + ['glfw_5fkey_5f7',['GLFW_KEY_7',['../group__keys.html#gab79b1cfae7bd630cfc4604c1f263c666',1,'glfw3.h']]], + ['glfw_5fkey_5f8',['GLFW_KEY_8',['../group__keys.html#gadeaa109a0f9f5afc94fe4a108e686f6f',1,'glfw3.h']]], + ['glfw_5fkey_5f9',['GLFW_KEY_9',['../group__keys.html#ga2924cb5349ebbf97c8987f3521c44f39',1,'glfw3.h']]], + ['glfw_5fkey_5fa',['GLFW_KEY_A',['../group__keys.html#ga03e842608e1ea323370889d33b8f70ff',1,'glfw3.h']]], + ['glfw_5fkey_5fapostrophe',['GLFW_KEY_APOSTROPHE',['../group__keys.html#ga6059b0b048ba6980b6107fffbd3b4b24',1,'glfw3.h']]], + ['glfw_5fkey_5fb',['GLFW_KEY_B',['../group__keys.html#ga8e3fb647ff3aca9e8dbf14fe66332941',1,'glfw3.h']]], + ['glfw_5fkey_5fbackslash',['GLFW_KEY_BACKSLASH',['../group__keys.html#gab8155ea99d1ab27ff56f24f8dc73f8d1',1,'glfw3.h']]], + ['glfw_5fkey_5fbackspace',['GLFW_KEY_BACKSPACE',['../group__keys.html#ga6c0df1fe2f156bbd5a98c66d76ff3635',1,'glfw3.h']]], + ['glfw_5fkey_5fc',['GLFW_KEY_C',['../group__keys.html#ga00ccf3475d9ee2e679480d540d554669',1,'glfw3.h']]], + ['glfw_5fkey_5fcaps_5flock',['GLFW_KEY_CAPS_LOCK',['../group__keys.html#ga92c1d2c9d63485f3d70f94f688d48672',1,'glfw3.h']]], + ['glfw_5fkey_5fcomma',['GLFW_KEY_COMMA',['../group__keys.html#gab3d5d72e59d3055f494627b0a524926c',1,'glfw3.h']]], + ['glfw_5fkey_5fd',['GLFW_KEY_D',['../group__keys.html#ga011f7cdc9a654da984a2506479606933',1,'glfw3.h']]], + ['glfw_5fkey_5fdelete',['GLFW_KEY_DELETE',['../group__keys.html#gadb111e4df74b8a715f2c05dad58d2682',1,'glfw3.h']]], + ['glfw_5fkey_5fdown',['GLFW_KEY_DOWN',['../group__keys.html#gae2e3958c71595607416aa7bf082be2f9',1,'glfw3.h']]], + ['glfw_5fkey_5fe',['GLFW_KEY_E',['../group__keys.html#gabf48fcc3afbe69349df432b470c96ef2',1,'glfw3.h']]], + ['glfw_5fkey_5fend',['GLFW_KEY_END',['../group__keys.html#ga86587ea1df19a65978d3e3b8439bedd9',1,'glfw3.h']]], + ['glfw_5fkey_5fenter',['GLFW_KEY_ENTER',['../group__keys.html#ga9555a92ecbecdbc1f3435219c571d667',1,'glfw3.h']]], + ['glfw_5fkey_5fequal',['GLFW_KEY_EQUAL',['../group__keys.html#gae1a2de47240d6664423c204bdd91bd17',1,'glfw3.h']]], + ['glfw_5fkey_5fescape',['GLFW_KEY_ESCAPE',['../group__keys.html#gaac6596c350b635c245113b81c2123b93',1,'glfw3.h']]], + ['glfw_5fkey_5ff',['GLFW_KEY_F',['../group__keys.html#ga5df402e02aca08444240058fd9b42a55',1,'glfw3.h']]], + ['glfw_5fkey_5ff1',['GLFW_KEY_F1',['../group__keys.html#gafb8d66c573acf22e364049477dcbea30',1,'glfw3.h']]], + ['glfw_5fkey_5ff10',['GLFW_KEY_F10',['../group__keys.html#ga718d11d2f7d57471a2f6a894235995b1',1,'glfw3.h']]], + ['glfw_5fkey_5ff11',['GLFW_KEY_F11',['../group__keys.html#ga0bc04b11627e7d69339151e7306b2832',1,'glfw3.h']]], + ['glfw_5fkey_5ff12',['GLFW_KEY_F12',['../group__keys.html#gaf5908fa9b0a906ae03fc2c61ac7aa3e2',1,'glfw3.h']]], + ['glfw_5fkey_5ff13',['GLFW_KEY_F13',['../group__keys.html#gad637f4308655e1001bd6ad942bc0fd4b',1,'glfw3.h']]], + ['glfw_5fkey_5ff14',['GLFW_KEY_F14',['../group__keys.html#gaf14c66cff3396e5bd46e803c035e6c1f',1,'glfw3.h']]], + ['glfw_5fkey_5ff15',['GLFW_KEY_F15',['../group__keys.html#ga7f70970db6e8be1794da8516a6d14058',1,'glfw3.h']]], + ['glfw_5fkey_5ff16',['GLFW_KEY_F16',['../group__keys.html#gaa582dbb1d2ba2050aa1dca0838095b27',1,'glfw3.h']]], + ['glfw_5fkey_5ff17',['GLFW_KEY_F17',['../group__keys.html#ga972ce5c365e2394b36104b0e3125c748',1,'glfw3.h']]], + ['glfw_5fkey_5ff18',['GLFW_KEY_F18',['../group__keys.html#gaebf6391058d5566601e357edc5ea737c',1,'glfw3.h']]], + ['glfw_5fkey_5ff19',['GLFW_KEY_F19',['../group__keys.html#gaec011d9ba044058cb54529da710e9791',1,'glfw3.h']]], + ['glfw_5fkey_5ff2',['GLFW_KEY_F2',['../group__keys.html#ga0900750aff94889b940f5e428c07daee',1,'glfw3.h']]], + ['glfw_5fkey_5ff20',['GLFW_KEY_F20',['../group__keys.html#ga82b9c721ada04cd5ca8de767da38022f',1,'glfw3.h']]], + ['glfw_5fkey_5ff21',['GLFW_KEY_F21',['../group__keys.html#ga356afb14d3440ff2bb378f74f7ebc60f',1,'glfw3.h']]], + ['glfw_5fkey_5ff22',['GLFW_KEY_F22',['../group__keys.html#ga90960bd2a155f2b09675324d3dff1565',1,'glfw3.h']]], + ['glfw_5fkey_5ff23',['GLFW_KEY_F23',['../group__keys.html#ga43c21099aac10952d1be909a8ddee4d5',1,'glfw3.h']]], + ['glfw_5fkey_5ff24',['GLFW_KEY_F24',['../group__keys.html#ga8150374677b5bed3043408732152dea2',1,'glfw3.h']]], + ['glfw_5fkey_5ff25',['GLFW_KEY_F25',['../group__keys.html#gaa4bbd93ed73bb4c6ae7d83df880b7199',1,'glfw3.h']]], + ['glfw_5fkey_5ff3',['GLFW_KEY_F3',['../group__keys.html#gaed7cd729c0147a551bb8b7bb36c17015',1,'glfw3.h']]], + ['glfw_5fkey_5ff4',['GLFW_KEY_F4',['../group__keys.html#ga9b61ebd0c63b44b7332fda2c9763eaa6',1,'glfw3.h']]], + ['glfw_5fkey_5ff5',['GLFW_KEY_F5',['../group__keys.html#gaf258dda9947daa428377938ed577c8c2',1,'glfw3.h']]], + ['glfw_5fkey_5ff6',['GLFW_KEY_F6',['../group__keys.html#ga6dc2d3f87b9d51ffbbbe2ef0299d8e1d',1,'glfw3.h']]], + ['glfw_5fkey_5ff7',['GLFW_KEY_F7',['../group__keys.html#gacca6ef8a2162c52a0ac1d881e8d9c38a',1,'glfw3.h']]], + ['glfw_5fkey_5ff8',['GLFW_KEY_F8',['../group__keys.html#gac9d39390336ae14e4a93e295de43c7e8',1,'glfw3.h']]], + ['glfw_5fkey_5ff9',['GLFW_KEY_F9',['../group__keys.html#gae40de0de1c9f21cd26c9afa3d7050851',1,'glfw3.h']]], + ['glfw_5fkey_5fg',['GLFW_KEY_G',['../group__keys.html#gae74ecddf7cc96104ab23989b1cdab536',1,'glfw3.h']]], + ['glfw_5fkey_5fgrave_5faccent',['GLFW_KEY_GRAVE_ACCENT',['../group__keys.html#ga7a3701fb4e2a0b136ff4b568c3c8d668',1,'glfw3.h']]], + ['glfw_5fkey_5fh',['GLFW_KEY_H',['../group__keys.html#gad4cc98fc8f35f015d9e2fb94bf136076',1,'glfw3.h']]], + ['glfw_5fkey_5fhome',['GLFW_KEY_HOME',['../group__keys.html#ga41452c7287195d481e43207318c126a7',1,'glfw3.h']]], + ['glfw_5fkey_5fi',['GLFW_KEY_I',['../group__keys.html#ga274655c8bfe39742684ca393cf8ed093',1,'glfw3.h']]], + ['glfw_5fkey_5finsert',['GLFW_KEY_INSERT',['../group__keys.html#ga373ac7365435d6b0eb1068f470e34f47',1,'glfw3.h']]], + ['glfw_5fkey_5fj',['GLFW_KEY_J',['../group__keys.html#ga65ff2aedb129a3149ad9cb3e4159a75f',1,'glfw3.h']]], + ['glfw_5fkey_5fk',['GLFW_KEY_K',['../group__keys.html#ga4ae8debadf6d2a691badae0b53ea3ba0',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f0',['GLFW_KEY_KP_0',['../group__keys.html#ga10515dafc55b71e7683f5b4fedd1c70d',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f1',['GLFW_KEY_KP_1',['../group__keys.html#gaf3a29a334402c5eaf0b3439edf5587c3',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f2',['GLFW_KEY_KP_2',['../group__keys.html#gaf82d5a802ab8213c72653d7480c16f13',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f3',['GLFW_KEY_KP_3',['../group__keys.html#ga7e25ff30d56cd512828c1d4ae8d54ef2',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f4',['GLFW_KEY_KP_4',['../group__keys.html#gada7ec86778b85e0b4de0beea72234aea',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f5',['GLFW_KEY_KP_5',['../group__keys.html#ga9a5be274434866c51738cafbb6d26b45',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f6',['GLFW_KEY_KP_6',['../group__keys.html#gafc141b0f8450519084c01092a3157faa',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f7',['GLFW_KEY_KP_7',['../group__keys.html#ga8882f411f05d04ec77a9563974bbfa53',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f8',['GLFW_KEY_KP_8',['../group__keys.html#gab2ea2e6a12f89d315045af520ac78cec',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f9',['GLFW_KEY_KP_9',['../group__keys.html#gafb21426b630ed4fcc084868699ba74c1',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fadd',['GLFW_KEY_KP_ADD',['../group__keys.html#gad09c7c98acc79e89aa6a0a91275becac',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fdecimal',['GLFW_KEY_KP_DECIMAL',['../group__keys.html#ga4e231d968796331a9ea0dbfb98d4005b',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fdivide',['GLFW_KEY_KP_DIVIDE',['../group__keys.html#gabca1733780a273d549129ad0f250d1e5',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fenter',['GLFW_KEY_KP_ENTER',['../group__keys.html#ga4f728f8738f2986bd63eedd3d412e8cf',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fequal',['GLFW_KEY_KP_EQUAL',['../group__keys.html#gaebdc76d4a808191e6d21b7e4ad2acd97',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fmultiply',['GLFW_KEY_KP_MULTIPLY',['../group__keys.html#ga9ada267eb0e78ed2ada8701dd24a56ef',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fsubtract',['GLFW_KEY_KP_SUBTRACT',['../group__keys.html#gaa3dbd60782ff93d6082a124bce1fa236',1,'glfw3.h']]], + ['glfw_5fkey_5fl',['GLFW_KEY_L',['../group__keys.html#gaaa8b54a13f6b1eed85ac86f82d550db2',1,'glfw3.h']]], + ['glfw_5fkey_5flast',['GLFW_KEY_LAST',['../group__keys.html#ga442cbaef7bfb9a4ba13594dd7fbf2789',1,'glfw3.h']]], + ['glfw_5fkey_5fleft',['GLFW_KEY_LEFT',['../group__keys.html#gae12a010d33c309a67ab9460c51eb2462',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5falt',['GLFW_KEY_LEFT_ALT',['../group__keys.html#ga7f27dabf63a7789daa31e1c96790219b',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fbracket',['GLFW_KEY_LEFT_BRACKET',['../group__keys.html#gad1c8d9adac53925276ecb1d592511d8a',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fcontrol',['GLFW_KEY_LEFT_CONTROL',['../group__keys.html#ga9f97b743e81460ac4b2deddecd10a464',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fshift',['GLFW_KEY_LEFT_SHIFT',['../group__keys.html#ga8a530a28a65c44ab5d00b759b756d3f6',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fsuper',['GLFW_KEY_LEFT_SUPER',['../group__keys.html#gafb1207c91997fc295afd1835fbc5641a',1,'glfw3.h']]], + ['glfw_5fkey_5fm',['GLFW_KEY_M',['../group__keys.html#ga4d7f0260c82e4ea3d6ebc7a21d6e3716',1,'glfw3.h']]], + ['glfw_5fkey_5fmenu',['GLFW_KEY_MENU',['../group__keys.html#ga9845be48a745fc232045c9ec174d8820',1,'glfw3.h']]], + ['glfw_5fkey_5fminus',['GLFW_KEY_MINUS',['../group__keys.html#gac556b360f7f6fca4b70ba0aecf313fd4',1,'glfw3.h']]], + ['glfw_5fkey_5fn',['GLFW_KEY_N',['../group__keys.html#gae00856dfeb5d13aafebf59d44de5cdda',1,'glfw3.h']]], + ['glfw_5fkey_5fnum_5flock',['GLFW_KEY_NUM_LOCK',['../group__keys.html#ga3946edc362aeff213b2be6304296cf43',1,'glfw3.h']]], + ['glfw_5fkey_5fo',['GLFW_KEY_O',['../group__keys.html#gaecbbb79130df419d58dd7f09a169efe9',1,'glfw3.h']]], + ['glfw_5fkey_5fp',['GLFW_KEY_P',['../group__keys.html#ga8fc15819c1094fb2afa01d84546b33e1',1,'glfw3.h']]], + ['glfw_5fkey_5fpage_5fdown',['GLFW_KEY_PAGE_DOWN',['../group__keys.html#gaee0a8fa442001cc2147812f84b59041c',1,'glfw3.h']]], + ['glfw_5fkey_5fpage_5fup',['GLFW_KEY_PAGE_UP',['../group__keys.html#ga3ab731f9622f0db280178a5f3cc6d586',1,'glfw3.h']]], + ['glfw_5fkey_5fpause',['GLFW_KEY_PAUSE',['../group__keys.html#ga8116b9692d87382afb5849b6d8907f18',1,'glfw3.h']]], + ['glfw_5fkey_5fperiod',['GLFW_KEY_PERIOD',['../group__keys.html#ga37e296b650eab419fc474ff69033d927',1,'glfw3.h']]], + ['glfw_5fkey_5fprint_5fscreen',['GLFW_KEY_PRINT_SCREEN',['../group__keys.html#gaf964c2e65e97d0cf785a5636ee8df642',1,'glfw3.h']]], + ['glfw_5fkey_5fq',['GLFW_KEY_Q',['../group__keys.html#gafdd01e38b120d67cf51e348bb47f3964',1,'glfw3.h']]], + ['glfw_5fkey_5fr',['GLFW_KEY_R',['../group__keys.html#ga4ce6c70a0c98c50b3fe4ab9a728d4d36',1,'glfw3.h']]], + ['glfw_5fkey_5fright',['GLFW_KEY_RIGHT',['../group__keys.html#ga06ba07662e8c291a4a84535379ffc7ac',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5falt',['GLFW_KEY_RIGHT_ALT',['../group__keys.html#ga687b38009131cfdd07a8d05fff8fa446',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fbracket',['GLFW_KEY_RIGHT_BRACKET',['../group__keys.html#ga86ef225fd6a66404caae71044cdd58d8',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fcontrol',['GLFW_KEY_RIGHT_CONTROL',['../group__keys.html#gad1ca2094b2694e7251d0ab1fd34f8519',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fshift',['GLFW_KEY_RIGHT_SHIFT',['../group__keys.html#gaffca36b99c9dce1a19cb9befbadce691',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fsuper',['GLFW_KEY_RIGHT_SUPER',['../group__keys.html#gad4547a3e8e247594acb60423fe6502db',1,'glfw3.h']]], + ['glfw_5fkey_5fs',['GLFW_KEY_S',['../group__keys.html#ga1570e2ccaab036ea82bed66fc1dab2a9',1,'glfw3.h']]], + ['glfw_5fkey_5fscroll_5flock',['GLFW_KEY_SCROLL_LOCK',['../group__keys.html#gaf622b63b9537f7084c2ab649b8365630',1,'glfw3.h']]], + ['glfw_5fkey_5fsemicolon',['GLFW_KEY_SEMICOLON',['../group__keys.html#ga84233de9ee5bb3e8788a5aa07d80af7d',1,'glfw3.h']]], + ['glfw_5fkey_5fslash',['GLFW_KEY_SLASH',['../group__keys.html#gadf3d753b2d479148d711de34b83fd0db',1,'glfw3.h']]], + ['glfw_5fkey_5fspace',['GLFW_KEY_SPACE',['../group__keys.html#gaddb2c23772b97fd7e26e8ee66f1ad014',1,'glfw3.h']]], + ['glfw_5fkey_5ft',['GLFW_KEY_T',['../group__keys.html#ga90e0560422ec7a30e7f3f375bc9f37f9',1,'glfw3.h']]], + ['glfw_5fkey_5ftab',['GLFW_KEY_TAB',['../group__keys.html#ga6908a4bda9950a3e2b73f794bbe985df',1,'glfw3.h']]], + ['glfw_5fkey_5fu',['GLFW_KEY_U',['../group__keys.html#gacad52f3bf7d378fc0ffa72a76769256d',1,'glfw3.h']]], + ['glfw_5fkey_5funknown',['GLFW_KEY_UNKNOWN',['../group__keys.html#ga99aacc875b6b27a072552631e13775c7',1,'glfw3.h']]], + ['glfw_5fkey_5fup',['GLFW_KEY_UP',['../group__keys.html#ga2f3342b194020d3544c67e3506b6f144',1,'glfw3.h']]], + ['glfw_5fkey_5fv',['GLFW_KEY_V',['../group__keys.html#ga22c7763899ecf7788862e5f90eacce6b',1,'glfw3.h']]], + ['glfw_5fkey_5fw',['GLFW_KEY_W',['../group__keys.html#gaa06a712e6202661fc03da5bdb7b6e545',1,'glfw3.h']]], + ['glfw_5fkey_5fworld_5f1',['GLFW_KEY_WORLD_1',['../group__keys.html#gadc78dad3dab76bcd4b5c20114052577a',1,'glfw3.h']]], + ['glfw_5fkey_5fworld_5f2',['GLFW_KEY_WORLD_2',['../group__keys.html#ga20494bfebf0bb4fc9503afca18ab2c5e',1,'glfw3.h']]], + ['glfw_5fkey_5fx',['GLFW_KEY_X',['../group__keys.html#gac1c42c0bf4192cea713c55598b06b744',1,'glfw3.h']]], + ['glfw_5fkey_5fy',['GLFW_KEY_Y',['../group__keys.html#gafd9f115a549effdf8e372a787c360313',1,'glfw3.h']]], + ['glfw_5fkey_5fz',['GLFW_KEY_Z',['../group__keys.html#gac489e208c26afda8d4938ed88718760a',1,'glfw3.h']]], + ['glfw_5flose_5fcontext_5fon_5freset',['GLFW_LOSE_CONTEXT_ON_RESET',['../glfw3_8h.html#aec1132f245143fc915b2f0995228564c',1,'glfw3.h']]], + ['glfw_5fmaximized',['GLFW_MAXIMIZED',['../glfw3_8h.html#ad8ccb396253ad0b72c6d4c917eb38a03',1,'glfw3.h']]], + ['glfw_5fmod_5falt',['GLFW_MOD_ALT',['../group__mods.html#gad2acd5633463c29e07008687ea73c0f4',1,'glfw3.h']]], + ['glfw_5fmod_5fcontrol',['GLFW_MOD_CONTROL',['../group__mods.html#ga6ed94871c3208eefd85713fa929d45aa',1,'glfw3.h']]], + ['glfw_5fmod_5fshift',['GLFW_MOD_SHIFT',['../group__mods.html#ga14994d3196c290aaa347248e51740274',1,'glfw3.h']]], + ['glfw_5fmod_5fsuper',['GLFW_MOD_SUPER',['../group__mods.html#ga6b64ba10ea0227cf6f42efd0a220aba1',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f1',['GLFW_MOUSE_BUTTON_1',['../group__buttons.html#ga181a6e875251fd8671654eff00f9112e',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f2',['GLFW_MOUSE_BUTTON_2',['../group__buttons.html#ga604b39b92c88ce9bd332e97fc3f4156c',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f3',['GLFW_MOUSE_BUTTON_3',['../group__buttons.html#ga0130d505563d0236a6f85545f19e1721',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f4',['GLFW_MOUSE_BUTTON_4',['../group__buttons.html#ga53f4097bb01d5521c7d9513418c91ca9',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f5',['GLFW_MOUSE_BUTTON_5',['../group__buttons.html#gaf08c4ddecb051d3d9667db1d5e417c9c',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f6',['GLFW_MOUSE_BUTTON_6',['../group__buttons.html#gae8513e06aab8aa393b595f22c6d8257a',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f7',['GLFW_MOUSE_BUTTON_7',['../group__buttons.html#ga8b02a1ab55dde45b3a3883d54ffd7dc7',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f8',['GLFW_MOUSE_BUTTON_8',['../group__buttons.html#ga35d5c4263e0dc0d0a4731ca6c562f32c',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5flast',['GLFW_MOUSE_BUTTON_LAST',['../group__buttons.html#gab1fd86a4518a9141ec7bcde2e15a2fdf',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5fleft',['GLFW_MOUSE_BUTTON_LEFT',['../group__buttons.html#gaf37100431dcd5082d48f95ee8bc8cd56',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5fmiddle',['GLFW_MOUSE_BUTTON_MIDDLE',['../group__buttons.html#ga34a4d2a701434f763fd93a2ff842b95a',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5fright',['GLFW_MOUSE_BUTTON_RIGHT',['../group__buttons.html#ga3e2f2cf3c4942df73cc094247d275e74',1,'glfw3.h']]], + ['glfw_5fnative_5fcontext_5fapi',['GLFW_NATIVE_CONTEXT_API',['../glfw3_8h.html#a0494c9bfd3f584ab41e6dbeeaa0e6a19',1,'glfw3.h']]], + ['glfw_5fno_5fapi',['GLFW_NO_API',['../glfw3_8h.html#a8f6dcdc968d214ff14779564f1389264',1,'glfw3.h']]], + ['glfw_5fno_5fcurrent_5fcontext',['GLFW_NO_CURRENT_CONTEXT',['../group__errors.html#gaa8290386e9528ccb9e42a3a4e16fc0d0',1,'glfw3.h']]], + ['glfw_5fno_5freset_5fnotification',['GLFW_NO_RESET_NOTIFICATION',['../glfw3_8h.html#aee84a679230d205005e22487ff678a85',1,'glfw3.h']]], + ['glfw_5fno_5frobustness',['GLFW_NO_ROBUSTNESS',['../glfw3_8h.html#a8b306cb27f5bb0d6d67c7356a0e0fc34',1,'glfw3.h']]], + ['glfw_5fno_5fwindow_5fcontext',['GLFW_NO_WINDOW_CONTEXT',['../group__errors.html#gacff24d2757da752ae4c80bf452356487',1,'glfw3.h']]], + ['glfw_5fnot_5finitialized',['GLFW_NOT_INITIALIZED',['../group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a',1,'glfw3.h']]], + ['glfw_5fopengl_5fany_5fprofile',['GLFW_OPENGL_ANY_PROFILE',['../glfw3_8h.html#ad6f2335d6f21cc9bab96633b1c111d5f',1,'glfw3.h']]], + ['glfw_5fopengl_5fapi',['GLFW_OPENGL_API',['../glfw3_8h.html#a01b3f66db266341425e9abee6b257db2',1,'glfw3.h']]], + ['glfw_5fopengl_5fcompat_5fprofile',['GLFW_OPENGL_COMPAT_PROFILE',['../glfw3_8h.html#ac06b663d79c8fcf04669cc8fcc0b7670',1,'glfw3.h']]], + ['glfw_5fopengl_5fcore_5fprofile',['GLFW_OPENGL_CORE_PROFILE',['../glfw3_8h.html#af094bb16da76f66ebceb19ee213b3de8',1,'glfw3.h']]], + ['glfw_5fopengl_5fdebug_5fcontext',['GLFW_OPENGL_DEBUG_CONTEXT',['../glfw3_8h.html#a87ec2df0b915201e950ca42d5d0831e1',1,'glfw3.h']]], + ['glfw_5fopengl_5fes_5fapi',['GLFW_OPENGL_ES_API',['../glfw3_8h.html#a28d9b3bc6c2a522d815c8e146595051f',1,'glfw3.h']]], + ['glfw_5fopengl_5fforward_5fcompat',['GLFW_OPENGL_FORWARD_COMPAT',['../glfw3_8h.html#a13d24b12465da8b28985f46c8557925b',1,'glfw3.h']]], + ['glfw_5fopengl_5fprofile',['GLFW_OPENGL_PROFILE',['../glfw3_8h.html#a44f3a6b4261fbe351e0b950b0f372e12',1,'glfw3.h']]], + ['glfw_5fout_5fof_5fmemory',['GLFW_OUT_OF_MEMORY',['../group__errors.html#ga9023953a2bcb98c2906afd071d21ee7f',1,'glfw3.h']]], + ['glfw_5fplatform_5ferror',['GLFW_PLATFORM_ERROR',['../group__errors.html#gad44162d78100ea5e87cdd38426b8c7a1',1,'glfw3.h']]], + ['glfw_5fpress',['GLFW_PRESS',['../group__input.html#ga2485743d0b59df3791c45951c4195265',1,'glfw3.h']]], + ['glfw_5fred_5fbits',['GLFW_RED_BITS',['../glfw3_8h.html#af78ed8e417dbcc1e354906cc2708c982',1,'glfw3.h']]], + ['glfw_5frefresh_5frate',['GLFW_REFRESH_RATE',['../glfw3_8h.html#a0f20825e6e47ee8ba389024519682212',1,'glfw3.h']]], + ['glfw_5frelease',['GLFW_RELEASE',['../group__input.html#gada11d965c4da13090ad336e030e4d11f',1,'glfw3.h']]], + ['glfw_5frelease_5fbehavior_5fflush',['GLFW_RELEASE_BEHAVIOR_FLUSH',['../glfw3_8h.html#a999961d391db49cb4f949c1dece0e13b',1,'glfw3.h']]], + ['glfw_5frelease_5fbehavior_5fnone',['GLFW_RELEASE_BEHAVIOR_NONE',['../glfw3_8h.html#afca09088eccacdce4b59036cfae349c5',1,'glfw3.h']]], + ['glfw_5frepeat',['GLFW_REPEAT',['../group__input.html#gac96fd3b9fc66c6f0eebaf6532595338f',1,'glfw3.h']]], + ['glfw_5fresizable',['GLFW_RESIZABLE',['../glfw3_8h.html#adba13c7a1b3aa40831eb2beedbd5bd1d',1,'glfw3.h']]], + ['glfw_5fsamples',['GLFW_SAMPLES',['../glfw3_8h.html#a2cdf86fdcb7722fb8829c4e201607535',1,'glfw3.h']]], + ['glfw_5fsrgb_5fcapable',['GLFW_SRGB_CAPABLE',['../glfw3_8h.html#a444a8f00414a63220591f9fdb7b5642b',1,'glfw3.h']]], + ['glfw_5fstencil_5fbits',['GLFW_STENCIL_BITS',['../glfw3_8h.html#a5339890a45a1fb38e93cb9fcc5fd069d',1,'glfw3.h']]], + ['glfw_5fstereo',['GLFW_STEREO',['../glfw3_8h.html#a83d991efca02537e2d69969135b77b03',1,'glfw3.h']]], + ['glfw_5fsticky_5fkeys',['GLFW_STICKY_KEYS',['../glfw3_8h.html#ae3bbe2315b7691ab088159eb6c9110fc',1,'glfw3.h']]], + ['glfw_5fsticky_5fmouse_5fbuttons',['GLFW_STICKY_MOUSE_BUTTONS',['../glfw3_8h.html#a4d7ce8ce71030c3b04e2b78145bc59d1',1,'glfw3.h']]], + ['glfw_5ftrue',['GLFW_TRUE',['../glfw3_8h.html#a2744fbb29b5631bb28802dbe0cf36eba',1,'glfw3.h']]], + ['glfw_5fversion_5fmajor',['GLFW_VERSION_MAJOR',['../group__init.html#ga6337d9ea43b22fc529b2bba066b4a576',1,'glfw3.h']]], + ['glfw_5fversion_5fminor',['GLFW_VERSION_MINOR',['../group__init.html#gaf80d40f0aea7088ff337606e9c48f7a3',1,'glfw3.h']]], + ['glfw_5fversion_5frevision',['GLFW_VERSION_REVISION',['../group__init.html#gab72ae2e2035d9ea461abc3495eac0502',1,'glfw3.h']]], + ['glfw_5fversion_5funavailable',['GLFW_VERSION_UNAVAILABLE',['../group__errors.html#gad16c5565b4a69f9c2a9ac2c0dbc89462',1,'glfw3.h']]], + ['glfw_5fvisible',['GLFW_VISIBLE',['../glfw3_8h.html#afb3cdc45297e06d8f1eb13adc69ca6c4',1,'glfw3.h']]], + ['glfw_5fvresize_5fcursor',['GLFW_VRESIZE_CURSOR',['../group__shapes.html#gaf024f0e1ff8366fb2b5c260509a1fce5',1,'glfw3.h']]], + ['glfwcharfun',['GLFWcharfun',['../group__input.html#gabf24451c7ceb1952bc02b17a0d5c3e5f',1,'glfw3.h']]], + ['glfwcharmodsfun',['GLFWcharmodsfun',['../group__input.html#gae36fb6897d2b7df9b128900c8ce9c507',1,'glfw3.h']]], + ['glfwcreatecursor',['glfwCreateCursor',['../group__input.html#gafca356935e10135016aa49ffa464c355',1,'glfw3.h']]], + ['glfwcreatestandardcursor',['glfwCreateStandardCursor',['../group__input.html#gaa65f416d03ebbbb5b8db71a489fcb894',1,'glfw3.h']]], + ['glfwcreatewindow',['glfwCreateWindow',['../group__window.html#ga5c336fddf2cbb5b92f65f10fb6043344',1,'glfw3.h']]], + ['glfwcreatewindowsurface',['glfwCreateWindowSurface',['../group__vulkan.html#ga1a24536bec3f80b08ead18e28e6ae965',1,'glfw3.h']]], + ['glfwcursor',['GLFWcursor',['../glfw3_8h.html#a89261ae18c75e863aaf2656ecdd238f4',1,'glfw3.h']]], + ['glfwcursorenterfun',['GLFWcursorenterfun',['../group__input.html#ga51ab436c41eeaed6db5a0c9403b1c840',1,'glfw3.h']]], + ['glfwcursorposfun',['GLFWcursorposfun',['../group__input.html#ga4cfad918fa836f09541e7b9acd36686c',1,'glfw3.h']]], + ['glfwdefaultwindowhints',['glfwDefaultWindowHints',['../group__window.html#gaa77c4898dfb83344a6b4f76aa16b9a4a',1,'glfw3.h']]], + ['glfwdestroycursor',['glfwDestroyCursor',['../group__input.html#ga81b952cd1764274d0db7fb3c5a79ba6a',1,'glfw3.h']]], + ['glfwdestroywindow',['glfwDestroyWindow',['../group__window.html#gacdf43e51376051d2c091662e9fe3d7b2',1,'glfw3.h']]], + ['glfwdropfun',['GLFWdropfun',['../group__input.html#gab71f4ca80b651462852e601caf308c4a',1,'glfw3.h']]], + ['glfwerrorfun',['GLFWerrorfun',['../group__init.html#ga6b8a2639706d5c409fc1287e8f55e928',1,'glfw3.h']]], + ['glfwextensionsupported',['glfwExtensionSupported',['../group__context.html#ga87425065c011cef1ebd6aac75e059dfa',1,'glfw3.h']]], + ['glfwfocuswindow',['glfwFocusWindow',['../group__window.html#ga873780357abd3f3a081d71a40aae45a1',1,'glfw3.h']]], + ['glfwframebuffersizefun',['GLFWframebuffersizefun',['../group__window.html#ga3e218ef9ff826129c55a7d5f6971a285',1,'glfw3.h']]], + ['glfwgammaramp',['GLFWgammaramp',['../structGLFWgammaramp.html',1,'GLFWgammaramp'],['../group__monitor.html#gaec0bd37af673be8813592849f13e02f0',1,'GLFWgammaramp(): glfw3.h']]], + ['glfwgetclipboardstring',['glfwGetClipboardString',['../group__input.html#ga5aba1d704d9ab539282b1fbe9f18bb94',1,'glfw3.h']]], + ['glfwgetcocoamonitor',['glfwGetCocoaMonitor',['../group__native.html#gaf22f429aec4b1aab316142d66d9be3e6',1,'glfw3native.h']]], + ['glfwgetcocoawindow',['glfwGetCocoaWindow',['../group__native.html#gac3ed9d495d0c2bb9652de5a50c648715',1,'glfw3native.h']]], + ['glfwgetcurrentcontext',['glfwGetCurrentContext',['../group__context.html#gac84759b1f6c2d271a4fea8ae89ec980d',1,'glfw3.h']]], + ['glfwgetcursorpos',['glfwGetCursorPos',['../group__input.html#ga01d37b6c40133676b9cea60ca1d7c0cc',1,'glfw3.h']]], + ['glfwgeteglcontext',['glfwGetEGLContext',['../group__native.html#ga671c5072becd085f4ab5771a9c8efcf1',1,'glfw3native.h']]], + ['glfwgetegldisplay',['glfwGetEGLDisplay',['../group__native.html#ga1cd8d973f47aacb5532d368147cc3138',1,'glfw3native.h']]], + ['glfwgeteglsurface',['glfwGetEGLSurface',['../group__native.html#ga2199b36117a6a695fec8441d8052eee6',1,'glfw3native.h']]], + ['glfwgetframebuffersize',['glfwGetFramebufferSize',['../group__window.html#ga0e2637a4161afb283f5300c7f94785c9',1,'glfw3.h']]], + ['glfwgetgammaramp',['glfwGetGammaRamp',['../group__monitor.html#gab7c41deb2219bde3e1eb756ddaa9ec80',1,'glfw3.h']]], + ['glfwgetglxcontext',['glfwGetGLXContext',['../group__native.html#ga62d884114b0abfcdc2930e89f20867e2',1,'glfw3native.h']]], + ['glfwgetglxwindow',['glfwGetGLXWindow',['../group__native.html#ga1ed27b8766e859a21381e8f8ce18d049',1,'glfw3native.h']]], + ['glfwgetinputmode',['glfwGetInputMode',['../group__input.html#gaf5b859dbe19bdf434e42695ea45cc5f4',1,'glfw3.h']]], + ['glfwgetinstanceprocaddress',['glfwGetInstanceProcAddress',['../group__vulkan.html#gadf228fac94c5fd8f12423ec9af9ff1e9',1,'glfw3.h']]], + ['glfwgetjoystickaxes',['glfwGetJoystickAxes',['../group__input.html#ga6271d46a5901ec2c99601ccf4dd14731',1,'glfw3.h']]], + ['glfwgetjoystickbuttons',['glfwGetJoystickButtons',['../group__input.html#gace54cd930dcd502e118fe4021384ce1b',1,'glfw3.h']]], + ['glfwgetjoystickname',['glfwGetJoystickName',['../group__input.html#gac8d7f6107e05cfd106cfba973ab51e19',1,'glfw3.h']]], + ['glfwgetkey',['glfwGetKey',['../group__input.html#gadd341da06bc8d418b4dc3a3518af9ad2',1,'glfw3.h']]], + ['glfwgetkeyname',['glfwGetKeyName',['../group__input.html#ga237a182e5ec0b21ce64543f3b5e7e2be',1,'glfw3.h']]], + ['glfwgetmirdisplay',['glfwGetMirDisplay',['../group__native.html#ga40dd05325d9813fa67d61328c51d2930',1,'glfw3native.h']]], + ['glfwgetmirmonitor',['glfwGetMirMonitor',['../group__native.html#gae0941c11dc8f01aeb7cbb563f5cd930b',1,'glfw3native.h']]], + ['glfwgetmirwindow',['glfwGetMirWindow',['../group__native.html#ga964d52bb7932216c379762eef1ea9b05',1,'glfw3native.h']]], + ['glfwgetmonitorname',['glfwGetMonitorName',['../group__monitor.html#ga79a34ee22ff080ca954a9663e4679daf',1,'glfw3.h']]], + ['glfwgetmonitorphysicalsize',['glfwGetMonitorPhysicalSize',['../group__monitor.html#ga7d8bffc6c55539286a6bd20d32a8d7ea',1,'glfw3.h']]], + ['glfwgetmonitorpos',['glfwGetMonitorPos',['../group__monitor.html#ga102f54e7acc9149edbcf0997152df8c9',1,'glfw3.h']]], + ['glfwgetmonitors',['glfwGetMonitors',['../group__monitor.html#ga3fba51c8bd36491d4712aa5bd074a537',1,'glfw3.h']]], + ['glfwgetmousebutton',['glfwGetMouseButton',['../group__input.html#gac1473feacb5996c01a7a5a33b5066704',1,'glfw3.h']]], + ['glfwgetnsglcontext',['glfwGetNSGLContext',['../group__native.html#ga559e002e3cd63c979881770cd4dc63bc',1,'glfw3native.h']]], + ['glfwgetphysicaldevicepresentationsupport',['glfwGetPhysicalDevicePresentationSupport',['../group__vulkan.html#gaff3823355cdd7e2f3f9f4d9ea9518d92',1,'glfw3.h']]], + ['glfwgetprimarymonitor',['glfwGetPrimaryMonitor',['../group__monitor.html#ga721867d84c6d18d6790d64d2847ca0b1',1,'glfw3.h']]], + ['glfwgetprocaddress',['glfwGetProcAddress',['../group__context.html#ga35f1837e6f666781842483937612f163',1,'glfw3.h']]], + ['glfwgetrequiredinstanceextensions',['glfwGetRequiredInstanceExtensions',['../group__vulkan.html#ga1abcbe61033958f22f63ef82008874b1',1,'glfw3.h']]], + ['glfwgettime',['glfwGetTime',['../group__input.html#gaa6cf4e7a77158a3b8fd00328b1720a4a',1,'glfw3.h']]], + ['glfwgettimerfrequency',['glfwGetTimerFrequency',['../group__input.html#ga3289ee876572f6e91f06df3a24824443',1,'glfw3.h']]], + ['glfwgettimervalue',['glfwGetTimerValue',['../group__input.html#ga09b2bd37d328e0b9456c7ec575cc26aa',1,'glfw3.h']]], + ['glfwgetversion',['glfwGetVersion',['../group__init.html#ga9f8ffaacf3c269cc48eafbf8b9b71197',1,'glfw3.h']]], + ['glfwgetversionstring',['glfwGetVersionString',['../group__init.html#ga23d47dc013fce2bf58036da66079a657',1,'glfw3.h']]], + ['glfwgetvideomode',['glfwGetVideoMode',['../group__monitor.html#gafc1bb972a921ad5b3bd5d63a95fc2d52',1,'glfw3.h']]], + ['glfwgetvideomodes',['glfwGetVideoModes',['../group__monitor.html#ga820b0ce9a5237d645ea7cbb4bd383458',1,'glfw3.h']]], + ['glfwgetwaylanddisplay',['glfwGetWaylandDisplay',['../group__native.html#gaaf8118a3c877f3a6bc8e7a649519de5e',1,'glfw3native.h']]], + ['glfwgetwaylandmonitor',['glfwGetWaylandMonitor',['../group__native.html#gab10427a667b6cd91eec7709f7a906bd3',1,'glfw3native.h']]], + ['glfwgetwaylandwindow',['glfwGetWaylandWindow',['../group__native.html#ga4738d7aca4191363519a9a641c3ab64c',1,'glfw3native.h']]], + ['glfwgetwglcontext',['glfwGetWGLContext',['../group__native.html#gadc4010d91d9cc1134d040eeb1202a143',1,'glfw3native.h']]], + ['glfwgetwin32adapter',['glfwGetWin32Adapter',['../group__native.html#gac84f63a3f9db145b9435e5e0dbc4183d',1,'glfw3native.h']]], + ['glfwgetwin32monitor',['glfwGetWin32Monitor',['../group__native.html#gac408b09a330749402d5d1fa1f5894dd9',1,'glfw3native.h']]], + ['glfwgetwin32window',['glfwGetWin32Window',['../group__native.html#gafe5079aa79038b0079fc09d5f0a8e667',1,'glfw3native.h']]], + ['glfwgetwindowattrib',['glfwGetWindowAttrib',['../group__window.html#gacccb29947ea4b16860ebef42c2cb9337',1,'glfw3.h']]], + ['glfwgetwindowframesize',['glfwGetWindowFrameSize',['../group__window.html#ga1a9fd382058c53101b21cf211898f1f1',1,'glfw3.h']]], + ['glfwgetwindowmonitor',['glfwGetWindowMonitor',['../group__window.html#gaeac25e64789974ccbe0811766bd91a16',1,'glfw3.h']]], + ['glfwgetwindowpos',['glfwGetWindowPos',['../group__window.html#ga73cb526c000876fd8ddf571570fdb634',1,'glfw3.h']]], + ['glfwgetwindowsize',['glfwGetWindowSize',['../group__window.html#gaeea7cbc03373a41fb51cfbf9f2a5d4c6',1,'glfw3.h']]], + ['glfwgetwindowuserpointer',['glfwGetWindowUserPointer',['../group__window.html#ga17807ce0f45ac3f8bb50d6dcc59a4e06',1,'glfw3.h']]], + ['glfwgetx11adapter',['glfwGetX11Adapter',['../group__native.html#ga088fbfa80f50569402b41be71ad66e40',1,'glfw3native.h']]], + ['glfwgetx11display',['glfwGetX11Display',['../group__native.html#ga8519b66594ea3ef6eeafaa2e3ee37406',1,'glfw3native.h']]], + ['glfwgetx11monitor',['glfwGetX11Monitor',['../group__native.html#gab2f8cc043905e9fa9b12bfdbbcfe874c',1,'glfw3native.h']]], + ['glfwgetx11window',['glfwGetX11Window',['../group__native.html#ga90ca676322740842db446999a1b1f21d',1,'glfw3native.h']]], + ['glfwglproc',['GLFWglproc',['../group__context.html#ga3d47c2d2fbe0be9c505d0e04e91a133c',1,'glfw3.h']]], + ['glfwhidewindow',['glfwHideWindow',['../group__window.html#ga49401f82a1ba5f15db5590728314d47c',1,'glfw3.h']]], + ['glfwiconifywindow',['glfwIconifyWindow',['../group__window.html#ga1bb559c0ebaad63c5c05ad2a066779c4',1,'glfw3.h']]], + ['glfwimage',['GLFWimage',['../structGLFWimage.html',1,'GLFWimage'],['../glfw3_8h.html#ac81c32f4437de7b3aa58ab62c3d9e5b1',1,'GLFWimage(): glfw3.h']]], + ['glfwinit',['glfwInit',['../group__init.html#ga317aac130a235ab08c6db0834907d85e',1,'glfw3.h']]], + ['glfwjoystickfun',['GLFWjoystickfun',['../group__input.html#gaa67aa597e974298c748bfe4fb17d406d',1,'glfw3.h']]], + ['glfwjoystickpresent',['glfwJoystickPresent',['../group__input.html#gaffcbd9ac8ee737fcdd25475123a3c790',1,'glfw3.h']]], + ['glfwkeyfun',['GLFWkeyfun',['../group__input.html#ga0192a232a41e4e82948217c8ba94fdfd',1,'glfw3.h']]], + ['glfwmakecontextcurrent',['glfwMakeContextCurrent',['../group__context.html#ga1c04dc242268f827290fe40aa1c91157',1,'glfw3.h']]], + ['glfwmaximizewindow',['glfwMaximizeWindow',['../group__window.html#ga3f541387449d911274324ae7f17ec56b',1,'glfw3.h']]], + ['glfwmonitor',['GLFWmonitor',['../group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3',1,'glfw3.h']]], + ['glfwmonitorfun',['GLFWmonitorfun',['../group__monitor.html#ga8a7ee579a66720f24d656526f3e44c63',1,'glfw3.h']]], + ['glfwmousebuttonfun',['GLFWmousebuttonfun',['../group__input.html#ga39893a4a7e7c3239c98d29c9e084350c',1,'glfw3.h']]], + ['glfwpollevents',['glfwPollEvents',['../group__window.html#ga37bd57223967b4211d60ca1a0bf3c832',1,'glfw3.h']]], + ['glfwpostemptyevent',['glfwPostEmptyEvent',['../group__window.html#gab5997a25187e9fd5c6f2ecbbc8dfd7e9',1,'glfw3.h']]], + ['glfwrestorewindow',['glfwRestoreWindow',['../group__window.html#ga52527a5904b47d802b6b4bb519cdebc7',1,'glfw3.h']]], + ['glfwscrollfun',['GLFWscrollfun',['../group__input.html#ga4687e2199c60a18a8dd1da532e6d75c9',1,'glfw3.h']]], + ['glfwsetcharcallback',['glfwSetCharCallback',['../group__input.html#ga556239421c6a5a243c66fca28da9f742',1,'glfw3.h']]], + ['glfwsetcharmodscallback',['glfwSetCharModsCallback',['../group__input.html#ga3f55ef5dc03a374e567f068b13c94afc',1,'glfw3.h']]], + ['glfwsetclipboardstring',['glfwSetClipboardString',['../group__input.html#gaba1f022c5eb07dfac421df34cdcd31dd',1,'glfw3.h']]], + ['glfwsetcursor',['glfwSetCursor',['../group__input.html#gad3b4f38c8d5dae036bc8fa959e18343e',1,'glfw3.h']]], + ['glfwsetcursorentercallback',['glfwSetCursorEnterCallback',['../group__input.html#gaa299c41dd0a3d171d166354e01279e04',1,'glfw3.h']]], + ['glfwsetcursorpos',['glfwSetCursorPos',['../group__input.html#ga04b03af936d906ca123c8f4ee08b39e7',1,'glfw3.h']]], + ['glfwsetcursorposcallback',['glfwSetCursorPosCallback',['../group__input.html#ga7dad39486f2c7591af7fb25134a2501d',1,'glfw3.h']]], + ['glfwsetdropcallback',['glfwSetDropCallback',['../group__input.html#ga41291bf15dd3ff564b3143aa6dc74a4b',1,'glfw3.h']]], + ['glfwseterrorcallback',['glfwSetErrorCallback',['../group__init.html#gaa5d796c3cf7c1a7f02f845486333fb5f',1,'glfw3.h']]], + ['glfwsetframebuffersizecallback',['glfwSetFramebufferSizeCallback',['../group__window.html#ga3203461a5303bf289f2e05f854b2f7cf',1,'glfw3.h']]], + ['glfwsetgamma',['glfwSetGamma',['../group__monitor.html#ga6ac582625c990220785ddd34efa3169a',1,'glfw3.h']]], + ['glfwsetgammaramp',['glfwSetGammaRamp',['../group__monitor.html#ga583f0ffd0d29613d8cd172b996bbf0dd',1,'glfw3.h']]], + ['glfwsetinputmode',['glfwSetInputMode',['../group__input.html#gaa92336e173da9c8834558b54ee80563b',1,'glfw3.h']]], + ['glfwsetjoystickcallback',['glfwSetJoystickCallback',['../group__input.html#gab1dc8379f1b82bb660a6b9c9fa06ca07',1,'glfw3.h']]], + ['glfwsetkeycallback',['glfwSetKeyCallback',['../group__input.html#ga7e496507126f35ea72f01b2e6ef6d155',1,'glfw3.h']]], + ['glfwsetmonitorcallback',['glfwSetMonitorCallback',['../group__monitor.html#gac3fe0f647f68b731f99756cd81897378',1,'glfw3.h']]], + ['glfwsetmousebuttoncallback',['glfwSetMouseButtonCallback',['../group__input.html#gaef49b72d84d615bca0a6ed65485e035d',1,'glfw3.h']]], + ['glfwsetscrollcallback',['glfwSetScrollCallback',['../group__input.html#gacf02eb10504352f16efda4593c3ce60e',1,'glfw3.h']]], + ['glfwsettime',['glfwSetTime',['../group__input.html#gaf59589ef6e8b8c8b5ad184b25afd4dc0',1,'glfw3.h']]], + ['glfwsetwindowaspectratio',['glfwSetWindowAspectRatio',['../group__window.html#ga72ac8cb1ee2e312a878b55153d81b937',1,'glfw3.h']]], + ['glfwsetwindowclosecallback',['glfwSetWindowCloseCallback',['../group__window.html#gaade9264e79fae52bdb78e2df11ee8d6a',1,'glfw3.h']]], + ['glfwsetwindowfocuscallback',['glfwSetWindowFocusCallback',['../group__window.html#ga25d1c584edb375d7711c5c3548ba711f',1,'glfw3.h']]], + ['glfwsetwindowicon',['glfwSetWindowIcon',['../group__window.html#gadd7ccd39fe7a7d1f0904666ae5932dc5',1,'glfw3.h']]], + ['glfwsetwindowiconifycallback',['glfwSetWindowIconifyCallback',['../group__window.html#gab1ea7263081c0e073b8d5b91d6ffd367',1,'glfw3.h']]], + ['glfwsetwindowmonitor',['glfwSetWindowMonitor',['../group__window.html#ga81c76c418af80a1cce7055bccb0ae0a7',1,'glfw3.h']]], + ['glfwsetwindowpos',['glfwSetWindowPos',['../group__window.html#ga1abb6d690e8c88e0c8cd1751356dbca8',1,'glfw3.h']]], + ['glfwsetwindowposcallback',['glfwSetWindowPosCallback',['../group__window.html#ga2837d4d240659feb4268fcb6530a6ba1',1,'glfw3.h']]], + ['glfwsetwindowrefreshcallback',['glfwSetWindowRefreshCallback',['../group__window.html#ga4569b76e8ac87c55b53199e6becd97eb',1,'glfw3.h']]], + ['glfwsetwindowshouldclose',['glfwSetWindowShouldClose',['../group__window.html#ga49c449dde2a6f87d996f4daaa09d6708',1,'glfw3.h']]], + ['glfwsetwindowsize',['glfwSetWindowSize',['../group__window.html#ga371911f12c74c504dd8d47d832d095cb',1,'glfw3.h']]], + ['glfwsetwindowsizecallback',['glfwSetWindowSizeCallback',['../group__window.html#gaa40cd24840daa8c62f36cafc847c72b6',1,'glfw3.h']]], + ['glfwsetwindowsizelimits',['glfwSetWindowSizeLimits',['../group__window.html#gac314fa6cec7d2d307be9963e2709cc90',1,'glfw3.h']]], + ['glfwsetwindowtitle',['glfwSetWindowTitle',['../group__window.html#ga5d877f09e968cef7a360b513306f17ff',1,'glfw3.h']]], + ['glfwsetwindowuserpointer',['glfwSetWindowUserPointer',['../group__window.html#ga3d2fc6026e690ab31a13f78bc9fd3651',1,'glfw3.h']]], + ['glfwshowwindow',['glfwShowWindow',['../group__window.html#ga61be47917b72536a148300f46494fc66',1,'glfw3.h']]], + ['glfwswapbuffers',['glfwSwapBuffers',['../group__window.html#ga15a5a1ee5b3c2ca6b15ca209a12efd14',1,'glfw3.h']]], + ['glfwswapinterval',['glfwSwapInterval',['../group__context.html#ga6d4e0cdf151b5e579bd67f13202994ed',1,'glfw3.h']]], + ['glfwterminate',['glfwTerminate',['../group__init.html#gaaae48c0a18607ea4a4ba951d939f0901',1,'glfw3.h']]], + ['glfwvidmode',['GLFWvidmode',['../structGLFWvidmode.html',1,'GLFWvidmode'],['../group__monitor.html#gae48aadf4ea0967e6605c8f58fa5daccb',1,'GLFWvidmode(): glfw3.h']]], + ['glfwvkproc',['GLFWvkproc',['../group__vulkan.html#ga70c01918dc9d233a4fbe0681a43018af',1,'glfw3.h']]], + ['glfwvulkansupported',['glfwVulkanSupported',['../group__vulkan.html#ga2e7f30931e02464b5bc8d0d4b6f9fe2b',1,'glfw3.h']]], + ['glfwwaitevents',['glfwWaitEvents',['../group__window.html#ga554e37d781f0a997656c26b2c56c835e',1,'glfw3.h']]], + ['glfwwaiteventstimeout',['glfwWaitEventsTimeout',['../group__window.html#ga605a178db92f1a7f1a925563ef3ea2cf',1,'glfw3.h']]], + ['glfwwindow',['GLFWwindow',['../group__window.html#ga3c96d80d363e67d13a41b5d1821f3242',1,'glfw3.h']]], + ['glfwwindowclosefun',['GLFWwindowclosefun',['../group__window.html#ga93e7c2555bd837f4ed8b20f76cada72e',1,'glfw3.h']]], + ['glfwwindowfocusfun',['GLFWwindowfocusfun',['../group__window.html#ga58be2061828dd35080bb438405d3a7e2',1,'glfw3.h']]], + ['glfwwindowhint',['glfwWindowHint',['../group__window.html#ga7d9c8c62384b1e2821c4dc48952d2033',1,'glfw3.h']]], + ['glfwwindowiconifyfun',['GLFWwindowiconifyfun',['../group__window.html#gad2d4e4c3d28b1242e742e8268b9528af',1,'glfw3.h']]], + ['glfwwindowposfun',['GLFWwindowposfun',['../group__window.html#gafd8db81fdb0e850549dc6bace5ed697a',1,'glfw3.h']]], + ['glfwwindowrefreshfun',['GLFWwindowrefreshfun',['../group__window.html#ga7a56f9e0227e2cd9470d80d919032e08',1,'glfw3.h']]], + ['glfwwindowshouldclose',['glfwWindowShouldClose',['../group__window.html#ga24e02fbfefbb81fc45320989f8140ab5',1,'glfw3.h']]], + ['glfwwindowsizefun',['GLFWwindowsizefun',['../group__window.html#gae49ee6ebc03fa2da024b89943a331355',1,'glfw3.h']]], + ['green',['green',['../structGLFWgammaramp.html#affccc6f5df47820b6562d709da3a5a3a',1,'GLFWgammaramp']]], + ['greenbits',['greenBits',['../structGLFWvidmode.html#a292fdd281f3485fb3ff102a5bda43faa',1,'GLFWvidmode']]], + ['getting_20started',['Getting started',['../quick_guide.html',1,'']]] +]; diff --git a/docs/3.2/search/all_4.html b/docs/3.2/search/all_4.html new file mode 100644 index 0000000..6452295 --- /dev/null +++ b/docs/3.2/search/all_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/all_4.js b/docs/3.2/search/all_4.js new file mode 100644 index 0000000..b620f27 --- /dev/null +++ b/docs/3.2/search/all_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['height',['height',['../structGLFWvidmode.html#ac65942a5f6981695517437a9d571d03c',1,'GLFWvidmode::height()'],['../structGLFWimage.html#a0b7d95368f0c80d5e5c9875057c7dbec',1,'GLFWimage::height()']]] +]; diff --git a/docs/3.2/search/all_5.html b/docs/3.2/search/all_5.html new file mode 100644 index 0000000..e59e1d5 --- /dev/null +++ b/docs/3.2/search/all_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/all_5.js b/docs/3.2/search/all_5.js new file mode 100644 index 0000000..9c22d24 --- /dev/null +++ b/docs/3.2/search/all_5.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['initialization_2c_20version_20and_20error_20reference',['Initialization, version and error reference',['../group__init.html',1,'']]], + ['input_20reference',['Input reference',['../group__input.html',1,'']]], + ['input_2edox',['input.dox',['../input_8dox.html',1,'']]], + ['input_20guide',['Input guide',['../input_guide.html',1,'']]], + ['intro_2edox',['intro.dox',['../intro_8dox.html',1,'']]], + ['introduction_20to_20the_20api',['Introduction to the API',['../intro_guide.html',1,'']]] +]; diff --git a/docs/3.2/search/all_6.html b/docs/3.2/search/all_6.html new file mode 100644 index 0000000..f75a754 --- /dev/null +++ b/docs/3.2/search/all_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/all_6.js b/docs/3.2/search/all_6.js new file mode 100644 index 0000000..8a2eb27 --- /dev/null +++ b/docs/3.2/search/all_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['joysticks',['Joysticks',['../group__joysticks.html',1,'']]] +]; diff --git a/docs/3.2/search/all_7.html b/docs/3.2/search/all_7.html new file mode 100644 index 0000000..88acd94 --- /dev/null +++ b/docs/3.2/search/all_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/all_7.js b/docs/3.2/search/all_7.js new file mode 100644 index 0000000..e1f2924 --- /dev/null +++ b/docs/3.2/search/all_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['keyboard_20keys',['Keyboard keys',['../group__keys.html',1,'']]] +]; diff --git a/docs/3.2/search/all_8.html b/docs/3.2/search/all_8.html new file mode 100644 index 0000000..b74d5fd --- /dev/null +++ b/docs/3.2/search/all_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/all_8.js b/docs/3.2/search/all_8.js new file mode 100644 index 0000000..014daa5 --- /dev/null +++ b/docs/3.2/search/all_8.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['mouse_20buttons',['Mouse buttons',['../group__buttons.html',1,'']]], + ['main_2edox',['main.dox',['../main_8dox.html',1,'']]], + ['modifier_20key_20flags',['Modifier key flags',['../group__mods.html',1,'']]], + ['monitor_20reference',['Monitor reference',['../group__monitor.html',1,'']]], + ['monitor_2edox',['monitor.dox',['../monitor_8dox.html',1,'']]], + ['monitor_20guide',['Monitor guide',['../monitor_guide.html',1,'']]], + ['moving_2edox',['moving.dox',['../moving_8dox.html',1,'']]], + ['moving_20from_20glfw_202_20to_203',['Moving from GLFW 2 to 3',['../moving_guide.html',1,'']]] +]; diff --git a/docs/3.2/search/all_9.html b/docs/3.2/search/all_9.html new file mode 100644 index 0000000..95e88dd --- /dev/null +++ b/docs/3.2/search/all_9.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/all_9.js b/docs/3.2/search/all_9.js new file mode 100644 index 0000000..5a77649 --- /dev/null +++ b/docs/3.2/search/all_9.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['notitle',['notitle',['../index.html',1,'']]], + ['native_20access',['Native access',['../group__native.html',1,'']]], + ['new_20features',['New features',['../news.html',1,'']]], + ['news_2edox',['news.dox',['../news_8dox.html',1,'']]] +]; diff --git a/docs/3.2/search/all_a.html b/docs/3.2/search/all_a.html new file mode 100644 index 0000000..3148a8e --- /dev/null +++ b/docs/3.2/search/all_a.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/all_a.js b/docs/3.2/search/all_a.js new file mode 100644 index 0000000..3616d8e --- /dev/null +++ b/docs/3.2/search/all_a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['pixels',['pixels',['../structGLFWimage.html#a0c532a5c2bb715555279b7817daba0fb',1,'GLFWimage']]] +]; diff --git a/docs/3.2/search/all_b.html b/docs/3.2/search/all_b.html new file mode 100644 index 0000000..f2a3c8d --- /dev/null +++ b/docs/3.2/search/all_b.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/all_b.js b/docs/3.2/search/all_b.js new file mode 100644 index 0000000..89d569c --- /dev/null +++ b/docs/3.2/search/all_b.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['quick_2edox',['quick.dox',['../quick_8dox.html',1,'']]] +]; diff --git a/docs/3.2/search/all_c.html b/docs/3.2/search/all_c.html new file mode 100644 index 0000000..6376810 --- /dev/null +++ b/docs/3.2/search/all_c.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/all_c.js b/docs/3.2/search/all_c.js new file mode 100644 index 0000000..b7ac9ce --- /dev/null +++ b/docs/3.2/search/all_c.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['red',['red',['../structGLFWgammaramp.html#a2cce5d968734b685623eef913e635138',1,'GLFWgammaramp']]], + ['redbits',['redBits',['../structGLFWvidmode.html#a6066c4ecd251098700062d3b735dba1b',1,'GLFWvidmode']]], + ['refreshrate',['refreshRate',['../structGLFWvidmode.html#a791bdd6c7697b09f7e9c97054bf05649',1,'GLFWvidmode']]] +]; diff --git a/docs/3.2/search/all_d.html b/docs/3.2/search/all_d.html new file mode 100644 index 0000000..cc52c79 --- /dev/null +++ b/docs/3.2/search/all_d.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/all_d.js b/docs/3.2/search/all_d.js new file mode 100644 index 0000000..885ca77 --- /dev/null +++ b/docs/3.2/search/all_d.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['standards_20conformance',['Standards conformance',['../compat_guide.html',1,'']]], + ['standard_20cursor_20shapes',['Standard cursor shapes',['../group__shapes.html',1,'']]], + ['size',['size',['../structGLFWgammaramp.html#ad620e1cffbff9a32c51bca46301b59a5',1,'GLFWgammaramp']]] +]; diff --git a/docs/3.2/search/all_e.html b/docs/3.2/search/all_e.html new file mode 100644 index 0000000..85b39bd --- /dev/null +++ b/docs/3.2/search/all_e.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/all_e.js b/docs/3.2/search/all_e.js new file mode 100644 index 0000000..9239314 --- /dev/null +++ b/docs/3.2/search/all_e.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['vulkan_20reference',['Vulkan reference',['../group__vulkan.html',1,'']]], + ['vulkan_2edox',['vulkan.dox',['../vulkan_8dox.html',1,'']]], + ['vulkan_20guide',['Vulkan guide',['../vulkan_guide.html',1,'']]] +]; diff --git a/docs/3.2/search/all_f.html b/docs/3.2/search/all_f.html new file mode 100644 index 0000000..89fa15a --- /dev/null +++ b/docs/3.2/search/all_f.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/all_f.js b/docs/3.2/search/all_f.js new file mode 100644 index 0000000..88cc4c4 --- /dev/null +++ b/docs/3.2/search/all_f.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['width',['width',['../structGLFWvidmode.html#a698dcb200562051a7249cb6ae154c71d',1,'GLFWvidmode::width()'],['../structGLFWimage.html#af6a71cc999fe6d3aea31dd7e9687d835',1,'GLFWimage::width()']]], + ['window_20reference',['Window reference',['../group__window.html',1,'']]], + ['window_2edox',['window.dox',['../window_8dox.html',1,'']]], + ['window_20guide',['Window guide',['../window_guide.html',1,'']]] +]; diff --git a/docs/3.2/search/classes_0.html b/docs/3.2/search/classes_0.html new file mode 100644 index 0000000..e935fdf --- /dev/null +++ b/docs/3.2/search/classes_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/classes_0.js b/docs/3.2/search/classes_0.js new file mode 100644 index 0000000..09dda9f --- /dev/null +++ b/docs/3.2/search/classes_0.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['glfwgammaramp',['GLFWgammaramp',['../structGLFWgammaramp.html',1,'']]], + ['glfwimage',['GLFWimage',['../structGLFWimage.html',1,'']]], + ['glfwvidmode',['GLFWvidmode',['../structGLFWvidmode.html',1,'']]] +]; diff --git a/docs/3.2/search/close.png b/docs/3.2/search/close.png new file mode 100644 index 0000000000000000000000000000000000000000..9342d3dfeea7b7c4ee610987e717804b5a42ceb9 GIT binary patch literal 273 zcmV+s0q*{ZP)4(RlMby96)VwnbG{ zbe&}^BDn7x>$<{ck4zAK-=nT;=hHG)kmplIF${xqm8db3oX6wT3bvp`TE@m0cg;b) zBuSL}5?N7O(iZLdAlz@)b)Rd~DnSsSX&P5qC`XwuFwcAYLC+d2>+1(8on;wpt8QIC X2MT$R4iQDd00000NkvXXu0mjfia~GN literal 0 HcmV?d00001 diff --git a/docs/3.2/search/defines_0.html b/docs/3.2/search/defines_0.html new file mode 100644 index 0000000..3bffafa --- /dev/null +++ b/docs/3.2/search/defines_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/defines_0.js b/docs/3.2/search/defines_0.js new file mode 100644 index 0000000..d142741 --- /dev/null +++ b/docs/3.2/search/defines_0.js @@ -0,0 +1,63 @@ +var searchData= +[ + ['glfw_5faccum_5falpha_5fbits',['GLFW_ACCUM_ALPHA_BITS',['../glfw3_8h.html#ae829b55591c18169a40ab4067a041b1f',1,'glfw3.h']]], + ['glfw_5faccum_5fblue_5fbits',['GLFW_ACCUM_BLUE_BITS',['../glfw3_8h.html#a22bbe9104a8ce1f8b88fb4f186aa36ce',1,'glfw3.h']]], + ['glfw_5faccum_5fgreen_5fbits',['GLFW_ACCUM_GREEN_BITS',['../glfw3_8h.html#a65713cee1326f8e9d806fdf93187b471',1,'glfw3.h']]], + ['glfw_5faccum_5fred_5fbits',['GLFW_ACCUM_RED_BITS',['../glfw3_8h.html#aead34a9a683b2bc20eecf30ba738bfc6',1,'glfw3.h']]], + ['glfw_5falpha_5fbits',['GLFW_ALPHA_BITS',['../glfw3_8h.html#afed79a3f468997877da86c449bd43e8c',1,'glfw3.h']]], + ['glfw_5fany_5frelease_5fbehavior',['GLFW_ANY_RELEASE_BEHAVIOR',['../glfw3_8h.html#a6b47d806f285efe9bfd7aeec667297ee',1,'glfw3.h']]], + ['glfw_5fauto_5ficonify',['GLFW_AUTO_ICONIFY',['../glfw3_8h.html#a9d9874fc928200136a6dcdad726aa252',1,'glfw3.h']]], + ['glfw_5faux_5fbuffers',['GLFW_AUX_BUFFERS',['../glfw3_8h.html#ab05108c5029443b371112b031d1fa174',1,'glfw3.h']]], + ['glfw_5fblue_5fbits',['GLFW_BLUE_BITS',['../glfw3_8h.html#ab292ea403db6d514537b515311bf9ae3',1,'glfw3.h']]], + ['glfw_5fclient_5fapi',['GLFW_CLIENT_API',['../glfw3_8h.html#a649309cf72a3d3de5b1348ca7936c95b',1,'glfw3.h']]], + ['glfw_5fconnected',['GLFW_CONNECTED',['../glfw3_8h.html#abe11513fd1ffbee5bb9b173f06028b9e',1,'glfw3.h']]], + ['glfw_5fcontext_5fcreation_5fapi',['GLFW_CONTEXT_CREATION_API',['../glfw3_8h.html#a5154cebfcd831c1cc63a4d5ac9bb4486',1,'glfw3.h']]], + ['glfw_5fcontext_5fno_5ferror',['GLFW_CONTEXT_NO_ERROR',['../glfw3_8h.html#a5a52fdfd46d8249c211f923675728082',1,'glfw3.h']]], + ['glfw_5fcontext_5frelease_5fbehavior',['GLFW_CONTEXT_RELEASE_BEHAVIOR',['../glfw3_8h.html#a72b648a8378fe3310c7c7bbecc0f7be6',1,'glfw3.h']]], + ['glfw_5fcontext_5frevision',['GLFW_CONTEXT_REVISION',['../glfw3_8h.html#afb9475071aa77c6fb05ca5a5c8678a08',1,'glfw3.h']]], + ['glfw_5fcontext_5frobustness',['GLFW_CONTEXT_ROBUSTNESS',['../glfw3_8h.html#ade3593916b4c507900aa2d6844810e00',1,'glfw3.h']]], + ['glfw_5fcontext_5fversion_5fmajor',['GLFW_CONTEXT_VERSION_MAJOR',['../glfw3_8h.html#afe5e4922de1f9932d7e9849bb053b0c0',1,'glfw3.h']]], + ['glfw_5fcontext_5fversion_5fminor',['GLFW_CONTEXT_VERSION_MINOR',['../glfw3_8h.html#a31aca791e4b538c4e4a771eb95cc2d07',1,'glfw3.h']]], + ['glfw_5fcursor',['GLFW_CURSOR',['../glfw3_8h.html#aade31da5b884a84a7625c6b059b9132c',1,'glfw3.h']]], + ['glfw_5fcursor_5fdisabled',['GLFW_CURSOR_DISABLED',['../glfw3_8h.html#a2315b99a329ce53e6a13a9d46fd5ca88',1,'glfw3.h']]], + ['glfw_5fcursor_5fhidden',['GLFW_CURSOR_HIDDEN',['../glfw3_8h.html#ac4d5cb9d78de8573349c58763d53bf11',1,'glfw3.h']]], + ['glfw_5fcursor_5fnormal',['GLFW_CURSOR_NORMAL',['../glfw3_8h.html#ae04dd25c8577e19fa8c97368561f6c68',1,'glfw3.h']]], + ['glfw_5fdecorated',['GLFW_DECORATED',['../glfw3_8h.html#a21b854d36314c94d65aed84405b2f25e',1,'glfw3.h']]], + ['glfw_5fdepth_5fbits',['GLFW_DEPTH_BITS',['../glfw3_8h.html#a318a55eac1fee57dfe593b6d38149d07',1,'glfw3.h']]], + ['glfw_5fdisconnected',['GLFW_DISCONNECTED',['../glfw3_8h.html#aab64b25921ef21d89252d6f0a71bfc32',1,'glfw3.h']]], + ['glfw_5fdont_5fcare',['GLFW_DONT_CARE',['../glfw3_8h.html#a7a2edf2c18446833d27d07f1b7f3d571',1,'glfw3.h']]], + ['glfw_5fdoublebuffer',['GLFW_DOUBLEBUFFER',['../glfw3_8h.html#a714a5d569e8a274ea58fdfa020955339',1,'glfw3.h']]], + ['glfw_5fegl_5fcontext_5fapi',['GLFW_EGL_CONTEXT_API',['../glfw3_8h.html#a03cf65c9ab01fc8b872ba58842c531c9',1,'glfw3.h']]], + ['glfw_5ffalse',['GLFW_FALSE',['../glfw3_8h.html#ac877fe3b627d21ef3a0a23e0a73ba8c5',1,'glfw3.h']]], + ['glfw_5ffloating',['GLFW_FLOATING',['../glfw3_8h.html#a7fb0be51407783b41adbf5bec0b09d80',1,'glfw3.h']]], + ['glfw_5ffocused',['GLFW_FOCUSED',['../glfw3_8h.html#a54ddb14825a1541a56e22afb5f832a9e',1,'glfw3.h']]], + ['glfw_5fgreen_5fbits',['GLFW_GREEN_BITS',['../glfw3_8h.html#afba3b72638c914e5fb8a237dd4c50d4d',1,'glfw3.h']]], + ['glfw_5ficonified',['GLFW_ICONIFIED',['../glfw3_8h.html#a39d44b7c056e55e581355a92d240b58a',1,'glfw3.h']]], + ['glfw_5flose_5fcontext_5fon_5freset',['GLFW_LOSE_CONTEXT_ON_RESET',['../glfw3_8h.html#aec1132f245143fc915b2f0995228564c',1,'glfw3.h']]], + ['glfw_5fmaximized',['GLFW_MAXIMIZED',['../glfw3_8h.html#ad8ccb396253ad0b72c6d4c917eb38a03',1,'glfw3.h']]], + ['glfw_5fnative_5fcontext_5fapi',['GLFW_NATIVE_CONTEXT_API',['../glfw3_8h.html#a0494c9bfd3f584ab41e6dbeeaa0e6a19',1,'glfw3.h']]], + ['glfw_5fno_5fapi',['GLFW_NO_API',['../glfw3_8h.html#a8f6dcdc968d214ff14779564f1389264',1,'glfw3.h']]], + ['glfw_5fno_5freset_5fnotification',['GLFW_NO_RESET_NOTIFICATION',['../glfw3_8h.html#aee84a679230d205005e22487ff678a85',1,'glfw3.h']]], + ['glfw_5fno_5frobustness',['GLFW_NO_ROBUSTNESS',['../glfw3_8h.html#a8b306cb27f5bb0d6d67c7356a0e0fc34',1,'glfw3.h']]], + ['glfw_5fopengl_5fany_5fprofile',['GLFW_OPENGL_ANY_PROFILE',['../glfw3_8h.html#ad6f2335d6f21cc9bab96633b1c111d5f',1,'glfw3.h']]], + ['glfw_5fopengl_5fapi',['GLFW_OPENGL_API',['../glfw3_8h.html#a01b3f66db266341425e9abee6b257db2',1,'glfw3.h']]], + ['glfw_5fopengl_5fcompat_5fprofile',['GLFW_OPENGL_COMPAT_PROFILE',['../glfw3_8h.html#ac06b663d79c8fcf04669cc8fcc0b7670',1,'glfw3.h']]], + ['glfw_5fopengl_5fcore_5fprofile',['GLFW_OPENGL_CORE_PROFILE',['../glfw3_8h.html#af094bb16da76f66ebceb19ee213b3de8',1,'glfw3.h']]], + ['glfw_5fopengl_5fdebug_5fcontext',['GLFW_OPENGL_DEBUG_CONTEXT',['../glfw3_8h.html#a87ec2df0b915201e950ca42d5d0831e1',1,'glfw3.h']]], + ['glfw_5fopengl_5fes_5fapi',['GLFW_OPENGL_ES_API',['../glfw3_8h.html#a28d9b3bc6c2a522d815c8e146595051f',1,'glfw3.h']]], + ['glfw_5fopengl_5fforward_5fcompat',['GLFW_OPENGL_FORWARD_COMPAT',['../glfw3_8h.html#a13d24b12465da8b28985f46c8557925b',1,'glfw3.h']]], + ['glfw_5fopengl_5fprofile',['GLFW_OPENGL_PROFILE',['../glfw3_8h.html#a44f3a6b4261fbe351e0b950b0f372e12',1,'glfw3.h']]], + ['glfw_5fred_5fbits',['GLFW_RED_BITS',['../glfw3_8h.html#af78ed8e417dbcc1e354906cc2708c982',1,'glfw3.h']]], + ['glfw_5frefresh_5frate',['GLFW_REFRESH_RATE',['../glfw3_8h.html#a0f20825e6e47ee8ba389024519682212',1,'glfw3.h']]], + ['glfw_5frelease_5fbehavior_5fflush',['GLFW_RELEASE_BEHAVIOR_FLUSH',['../glfw3_8h.html#a999961d391db49cb4f949c1dece0e13b',1,'glfw3.h']]], + ['glfw_5frelease_5fbehavior_5fnone',['GLFW_RELEASE_BEHAVIOR_NONE',['../glfw3_8h.html#afca09088eccacdce4b59036cfae349c5',1,'glfw3.h']]], + ['glfw_5fresizable',['GLFW_RESIZABLE',['../glfw3_8h.html#adba13c7a1b3aa40831eb2beedbd5bd1d',1,'glfw3.h']]], + ['glfw_5fsamples',['GLFW_SAMPLES',['../glfw3_8h.html#a2cdf86fdcb7722fb8829c4e201607535',1,'glfw3.h']]], + ['glfw_5fsrgb_5fcapable',['GLFW_SRGB_CAPABLE',['../glfw3_8h.html#a444a8f00414a63220591f9fdb7b5642b',1,'glfw3.h']]], + ['glfw_5fstencil_5fbits',['GLFW_STENCIL_BITS',['../glfw3_8h.html#a5339890a45a1fb38e93cb9fcc5fd069d',1,'glfw3.h']]], + ['glfw_5fstereo',['GLFW_STEREO',['../glfw3_8h.html#a83d991efca02537e2d69969135b77b03',1,'glfw3.h']]], + ['glfw_5fsticky_5fkeys',['GLFW_STICKY_KEYS',['../glfw3_8h.html#ae3bbe2315b7691ab088159eb6c9110fc',1,'glfw3.h']]], + ['glfw_5fsticky_5fmouse_5fbuttons',['GLFW_STICKY_MOUSE_BUTTONS',['../glfw3_8h.html#a4d7ce8ce71030c3b04e2b78145bc59d1',1,'glfw3.h']]], + ['glfw_5ftrue',['GLFW_TRUE',['../glfw3_8h.html#a2744fbb29b5631bb28802dbe0cf36eba',1,'glfw3.h']]], + ['glfw_5fvisible',['GLFW_VISIBLE',['../glfw3_8h.html#afb3cdc45297e06d8f1eb13adc69ca6c4',1,'glfw3.h']]] +]; diff --git a/docs/3.2/search/files_0.html b/docs/3.2/search/files_0.html new file mode 100644 index 0000000..49606c8 --- /dev/null +++ b/docs/3.2/search/files_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/files_0.js b/docs/3.2/search/files_0.js new file mode 100644 index 0000000..c470857 --- /dev/null +++ b/docs/3.2/search/files_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['build_2edox',['build.dox',['../build_8dox.html',1,'']]] +]; diff --git a/docs/3.2/search/files_1.html b/docs/3.2/search/files_1.html new file mode 100644 index 0000000..c887174 --- /dev/null +++ b/docs/3.2/search/files_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/files_1.js b/docs/3.2/search/files_1.js new file mode 100644 index 0000000..8d34ec3 --- /dev/null +++ b/docs/3.2/search/files_1.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['compat_2edox',['compat.dox',['../compat_8dox.html',1,'']]], + ['compile_2edox',['compile.dox',['../compile_8dox.html',1,'']]], + ['context_2edox',['context.dox',['../context_8dox.html',1,'']]] +]; diff --git a/docs/3.2/search/files_2.html b/docs/3.2/search/files_2.html new file mode 100644 index 0000000..99bdf21 --- /dev/null +++ b/docs/3.2/search/files_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/files_2.js b/docs/3.2/search/files_2.js new file mode 100644 index 0000000..fdac23d --- /dev/null +++ b/docs/3.2/search/files_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['glfw3_2eh',['glfw3.h',['../glfw3_8h.html',1,'']]], + ['glfw3native_2eh',['glfw3native.h',['../glfw3native_8h.html',1,'']]] +]; diff --git a/docs/3.2/search/files_3.html b/docs/3.2/search/files_3.html new file mode 100644 index 0000000..f8e543a --- /dev/null +++ b/docs/3.2/search/files_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/files_3.js b/docs/3.2/search/files_3.js new file mode 100644 index 0000000..7e7b592 --- /dev/null +++ b/docs/3.2/search/files_3.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['input_2edox',['input.dox',['../input_8dox.html',1,'']]], + ['intro_2edox',['intro.dox',['../intro_8dox.html',1,'']]] +]; diff --git a/docs/3.2/search/files_4.html b/docs/3.2/search/files_4.html new file mode 100644 index 0000000..2ebb46c --- /dev/null +++ b/docs/3.2/search/files_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/files_4.js b/docs/3.2/search/files_4.js new file mode 100644 index 0000000..f3cf03f --- /dev/null +++ b/docs/3.2/search/files_4.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['main_2edox',['main.dox',['../main_8dox.html',1,'']]], + ['monitor_2edox',['monitor.dox',['../monitor_8dox.html',1,'']]], + ['moving_2edox',['moving.dox',['../moving_8dox.html',1,'']]] +]; diff --git a/docs/3.2/search/files_5.html b/docs/3.2/search/files_5.html new file mode 100644 index 0000000..268b7eb --- /dev/null +++ b/docs/3.2/search/files_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/files_5.js b/docs/3.2/search/files_5.js new file mode 100644 index 0000000..f6c3d10 --- /dev/null +++ b/docs/3.2/search/files_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['news_2edox',['news.dox',['../news_8dox.html',1,'']]] +]; diff --git a/docs/3.2/search/files_6.html b/docs/3.2/search/files_6.html new file mode 100644 index 0000000..98fc666 --- /dev/null +++ b/docs/3.2/search/files_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/files_6.js b/docs/3.2/search/files_6.js new file mode 100644 index 0000000..89d569c --- /dev/null +++ b/docs/3.2/search/files_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['quick_2edox',['quick.dox',['../quick_8dox.html',1,'']]] +]; diff --git a/docs/3.2/search/files_7.html b/docs/3.2/search/files_7.html new file mode 100644 index 0000000..49507de --- /dev/null +++ b/docs/3.2/search/files_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/files_7.js b/docs/3.2/search/files_7.js new file mode 100644 index 0000000..f26a038 --- /dev/null +++ b/docs/3.2/search/files_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['vulkan_2edox',['vulkan.dox',['../vulkan_8dox.html',1,'']]] +]; diff --git a/docs/3.2/search/files_8.html b/docs/3.2/search/files_8.html new file mode 100644 index 0000000..12c6630 --- /dev/null +++ b/docs/3.2/search/files_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/files_8.js b/docs/3.2/search/files_8.js new file mode 100644 index 0000000..e822451 --- /dev/null +++ b/docs/3.2/search/files_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window_2edox',['window.dox',['../window_8dox.html',1,'']]] +]; diff --git a/docs/3.2/search/functions_0.html b/docs/3.2/search/functions_0.html new file mode 100644 index 0000000..0539c8c --- /dev/null +++ b/docs/3.2/search/functions_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/functions_0.js b/docs/3.2/search/functions_0.js new file mode 100644 index 0000000..1aae7a1 --- /dev/null +++ b/docs/3.2/search/functions_0.js @@ -0,0 +1,120 @@ +var searchData= +[ + ['glfwcreatecursor',['glfwCreateCursor',['../group__input.html#gafca356935e10135016aa49ffa464c355',1,'glfw3.h']]], + ['glfwcreatestandardcursor',['glfwCreateStandardCursor',['../group__input.html#gaa65f416d03ebbbb5b8db71a489fcb894',1,'glfw3.h']]], + ['glfwcreatewindow',['glfwCreateWindow',['../group__window.html#ga5c336fddf2cbb5b92f65f10fb6043344',1,'glfw3.h']]], + ['glfwcreatewindowsurface',['glfwCreateWindowSurface',['../group__vulkan.html#ga1a24536bec3f80b08ead18e28e6ae965',1,'glfw3.h']]], + ['glfwdefaultwindowhints',['glfwDefaultWindowHints',['../group__window.html#gaa77c4898dfb83344a6b4f76aa16b9a4a',1,'glfw3.h']]], + ['glfwdestroycursor',['glfwDestroyCursor',['../group__input.html#ga81b952cd1764274d0db7fb3c5a79ba6a',1,'glfw3.h']]], + ['glfwdestroywindow',['glfwDestroyWindow',['../group__window.html#gacdf43e51376051d2c091662e9fe3d7b2',1,'glfw3.h']]], + ['glfwextensionsupported',['glfwExtensionSupported',['../group__context.html#ga87425065c011cef1ebd6aac75e059dfa',1,'glfw3.h']]], + ['glfwfocuswindow',['glfwFocusWindow',['../group__window.html#ga873780357abd3f3a081d71a40aae45a1',1,'glfw3.h']]], + ['glfwgetclipboardstring',['glfwGetClipboardString',['../group__input.html#ga5aba1d704d9ab539282b1fbe9f18bb94',1,'glfw3.h']]], + ['glfwgetcocoamonitor',['glfwGetCocoaMonitor',['../group__native.html#gaf22f429aec4b1aab316142d66d9be3e6',1,'glfw3native.h']]], + ['glfwgetcocoawindow',['glfwGetCocoaWindow',['../group__native.html#gac3ed9d495d0c2bb9652de5a50c648715',1,'glfw3native.h']]], + ['glfwgetcurrentcontext',['glfwGetCurrentContext',['../group__context.html#gac84759b1f6c2d271a4fea8ae89ec980d',1,'glfw3.h']]], + ['glfwgetcursorpos',['glfwGetCursorPos',['../group__input.html#ga01d37b6c40133676b9cea60ca1d7c0cc',1,'glfw3.h']]], + ['glfwgeteglcontext',['glfwGetEGLContext',['../group__native.html#ga671c5072becd085f4ab5771a9c8efcf1',1,'glfw3native.h']]], + ['glfwgetegldisplay',['glfwGetEGLDisplay',['../group__native.html#ga1cd8d973f47aacb5532d368147cc3138',1,'glfw3native.h']]], + ['glfwgeteglsurface',['glfwGetEGLSurface',['../group__native.html#ga2199b36117a6a695fec8441d8052eee6',1,'glfw3native.h']]], + ['glfwgetframebuffersize',['glfwGetFramebufferSize',['../group__window.html#ga0e2637a4161afb283f5300c7f94785c9',1,'glfw3.h']]], + ['glfwgetgammaramp',['glfwGetGammaRamp',['../group__monitor.html#gab7c41deb2219bde3e1eb756ddaa9ec80',1,'glfw3.h']]], + ['glfwgetglxcontext',['glfwGetGLXContext',['../group__native.html#ga62d884114b0abfcdc2930e89f20867e2',1,'glfw3native.h']]], + ['glfwgetglxwindow',['glfwGetGLXWindow',['../group__native.html#ga1ed27b8766e859a21381e8f8ce18d049',1,'glfw3native.h']]], + ['glfwgetinputmode',['glfwGetInputMode',['../group__input.html#gaf5b859dbe19bdf434e42695ea45cc5f4',1,'glfw3.h']]], + ['glfwgetinstanceprocaddress',['glfwGetInstanceProcAddress',['../group__vulkan.html#gadf228fac94c5fd8f12423ec9af9ff1e9',1,'glfw3.h']]], + ['glfwgetjoystickaxes',['glfwGetJoystickAxes',['../group__input.html#ga6271d46a5901ec2c99601ccf4dd14731',1,'glfw3.h']]], + ['glfwgetjoystickbuttons',['glfwGetJoystickButtons',['../group__input.html#gace54cd930dcd502e118fe4021384ce1b',1,'glfw3.h']]], + ['glfwgetjoystickname',['glfwGetJoystickName',['../group__input.html#gac8d7f6107e05cfd106cfba973ab51e19',1,'glfw3.h']]], + ['glfwgetkey',['glfwGetKey',['../group__input.html#gadd341da06bc8d418b4dc3a3518af9ad2',1,'glfw3.h']]], + ['glfwgetkeyname',['glfwGetKeyName',['../group__input.html#ga237a182e5ec0b21ce64543f3b5e7e2be',1,'glfw3.h']]], + ['glfwgetmirdisplay',['glfwGetMirDisplay',['../group__native.html#ga40dd05325d9813fa67d61328c51d2930',1,'glfw3native.h']]], + ['glfwgetmirmonitor',['glfwGetMirMonitor',['../group__native.html#gae0941c11dc8f01aeb7cbb563f5cd930b',1,'glfw3native.h']]], + ['glfwgetmirwindow',['glfwGetMirWindow',['../group__native.html#ga964d52bb7932216c379762eef1ea9b05',1,'glfw3native.h']]], + ['glfwgetmonitorname',['glfwGetMonitorName',['../group__monitor.html#ga79a34ee22ff080ca954a9663e4679daf',1,'glfw3.h']]], + ['glfwgetmonitorphysicalsize',['glfwGetMonitorPhysicalSize',['../group__monitor.html#ga7d8bffc6c55539286a6bd20d32a8d7ea',1,'glfw3.h']]], + ['glfwgetmonitorpos',['glfwGetMonitorPos',['../group__monitor.html#ga102f54e7acc9149edbcf0997152df8c9',1,'glfw3.h']]], + ['glfwgetmonitors',['glfwGetMonitors',['../group__monitor.html#ga3fba51c8bd36491d4712aa5bd074a537',1,'glfw3.h']]], + ['glfwgetmousebutton',['glfwGetMouseButton',['../group__input.html#gac1473feacb5996c01a7a5a33b5066704',1,'glfw3.h']]], + ['glfwgetnsglcontext',['glfwGetNSGLContext',['../group__native.html#ga559e002e3cd63c979881770cd4dc63bc',1,'glfw3native.h']]], + ['glfwgetphysicaldevicepresentationsupport',['glfwGetPhysicalDevicePresentationSupport',['../group__vulkan.html#gaff3823355cdd7e2f3f9f4d9ea9518d92',1,'glfw3.h']]], + ['glfwgetprimarymonitor',['glfwGetPrimaryMonitor',['../group__monitor.html#ga721867d84c6d18d6790d64d2847ca0b1',1,'glfw3.h']]], + ['glfwgetprocaddress',['glfwGetProcAddress',['../group__context.html#ga35f1837e6f666781842483937612f163',1,'glfw3.h']]], + ['glfwgetrequiredinstanceextensions',['glfwGetRequiredInstanceExtensions',['../group__vulkan.html#ga1abcbe61033958f22f63ef82008874b1',1,'glfw3.h']]], + ['glfwgettime',['glfwGetTime',['../group__input.html#gaa6cf4e7a77158a3b8fd00328b1720a4a',1,'glfw3.h']]], + ['glfwgettimerfrequency',['glfwGetTimerFrequency',['../group__input.html#ga3289ee876572f6e91f06df3a24824443',1,'glfw3.h']]], + ['glfwgettimervalue',['glfwGetTimerValue',['../group__input.html#ga09b2bd37d328e0b9456c7ec575cc26aa',1,'glfw3.h']]], + ['glfwgetversion',['glfwGetVersion',['../group__init.html#ga9f8ffaacf3c269cc48eafbf8b9b71197',1,'glfw3.h']]], + ['glfwgetversionstring',['glfwGetVersionString',['../group__init.html#ga23d47dc013fce2bf58036da66079a657',1,'glfw3.h']]], + ['glfwgetvideomode',['glfwGetVideoMode',['../group__monitor.html#gafc1bb972a921ad5b3bd5d63a95fc2d52',1,'glfw3.h']]], + ['glfwgetvideomodes',['glfwGetVideoModes',['../group__monitor.html#ga820b0ce9a5237d645ea7cbb4bd383458',1,'glfw3.h']]], + ['glfwgetwaylanddisplay',['glfwGetWaylandDisplay',['../group__native.html#gaaf8118a3c877f3a6bc8e7a649519de5e',1,'glfw3native.h']]], + ['glfwgetwaylandmonitor',['glfwGetWaylandMonitor',['../group__native.html#gab10427a667b6cd91eec7709f7a906bd3',1,'glfw3native.h']]], + ['glfwgetwaylandwindow',['glfwGetWaylandWindow',['../group__native.html#ga4738d7aca4191363519a9a641c3ab64c',1,'glfw3native.h']]], + ['glfwgetwglcontext',['glfwGetWGLContext',['../group__native.html#gadc4010d91d9cc1134d040eeb1202a143',1,'glfw3native.h']]], + ['glfwgetwin32adapter',['glfwGetWin32Adapter',['../group__native.html#gac84f63a3f9db145b9435e5e0dbc4183d',1,'glfw3native.h']]], + ['glfwgetwin32monitor',['glfwGetWin32Monitor',['../group__native.html#gac408b09a330749402d5d1fa1f5894dd9',1,'glfw3native.h']]], + ['glfwgetwin32window',['glfwGetWin32Window',['../group__native.html#gafe5079aa79038b0079fc09d5f0a8e667',1,'glfw3native.h']]], + ['glfwgetwindowattrib',['glfwGetWindowAttrib',['../group__window.html#gacccb29947ea4b16860ebef42c2cb9337',1,'glfw3.h']]], + ['glfwgetwindowframesize',['glfwGetWindowFrameSize',['../group__window.html#ga1a9fd382058c53101b21cf211898f1f1',1,'glfw3.h']]], + ['glfwgetwindowmonitor',['glfwGetWindowMonitor',['../group__window.html#gaeac25e64789974ccbe0811766bd91a16',1,'glfw3.h']]], + ['glfwgetwindowpos',['glfwGetWindowPos',['../group__window.html#ga73cb526c000876fd8ddf571570fdb634',1,'glfw3.h']]], + ['glfwgetwindowsize',['glfwGetWindowSize',['../group__window.html#gaeea7cbc03373a41fb51cfbf9f2a5d4c6',1,'glfw3.h']]], + ['glfwgetwindowuserpointer',['glfwGetWindowUserPointer',['../group__window.html#ga17807ce0f45ac3f8bb50d6dcc59a4e06',1,'glfw3.h']]], + ['glfwgetx11adapter',['glfwGetX11Adapter',['../group__native.html#ga088fbfa80f50569402b41be71ad66e40',1,'glfw3native.h']]], + ['glfwgetx11display',['glfwGetX11Display',['../group__native.html#ga8519b66594ea3ef6eeafaa2e3ee37406',1,'glfw3native.h']]], + ['glfwgetx11monitor',['glfwGetX11Monitor',['../group__native.html#gab2f8cc043905e9fa9b12bfdbbcfe874c',1,'glfw3native.h']]], + ['glfwgetx11window',['glfwGetX11Window',['../group__native.html#ga90ca676322740842db446999a1b1f21d',1,'glfw3native.h']]], + ['glfwhidewindow',['glfwHideWindow',['../group__window.html#ga49401f82a1ba5f15db5590728314d47c',1,'glfw3.h']]], + ['glfwiconifywindow',['glfwIconifyWindow',['../group__window.html#ga1bb559c0ebaad63c5c05ad2a066779c4',1,'glfw3.h']]], + ['glfwinit',['glfwInit',['../group__init.html#ga317aac130a235ab08c6db0834907d85e',1,'glfw3.h']]], + ['glfwjoystickpresent',['glfwJoystickPresent',['../group__input.html#gaffcbd9ac8ee737fcdd25475123a3c790',1,'glfw3.h']]], + ['glfwmakecontextcurrent',['glfwMakeContextCurrent',['../group__context.html#ga1c04dc242268f827290fe40aa1c91157',1,'glfw3.h']]], + ['glfwmaximizewindow',['glfwMaximizeWindow',['../group__window.html#ga3f541387449d911274324ae7f17ec56b',1,'glfw3.h']]], + ['glfwpollevents',['glfwPollEvents',['../group__window.html#ga37bd57223967b4211d60ca1a0bf3c832',1,'glfw3.h']]], + ['glfwpostemptyevent',['glfwPostEmptyEvent',['../group__window.html#gab5997a25187e9fd5c6f2ecbbc8dfd7e9',1,'glfw3.h']]], + ['glfwrestorewindow',['glfwRestoreWindow',['../group__window.html#ga52527a5904b47d802b6b4bb519cdebc7',1,'glfw3.h']]], + ['glfwsetcharcallback',['glfwSetCharCallback',['../group__input.html#ga556239421c6a5a243c66fca28da9f742',1,'glfw3.h']]], + ['glfwsetcharmodscallback',['glfwSetCharModsCallback',['../group__input.html#ga3f55ef5dc03a374e567f068b13c94afc',1,'glfw3.h']]], + ['glfwsetclipboardstring',['glfwSetClipboardString',['../group__input.html#gaba1f022c5eb07dfac421df34cdcd31dd',1,'glfw3.h']]], + ['glfwsetcursor',['glfwSetCursor',['../group__input.html#gad3b4f38c8d5dae036bc8fa959e18343e',1,'glfw3.h']]], + ['glfwsetcursorentercallback',['glfwSetCursorEnterCallback',['../group__input.html#gaa299c41dd0a3d171d166354e01279e04',1,'glfw3.h']]], + ['glfwsetcursorpos',['glfwSetCursorPos',['../group__input.html#ga04b03af936d906ca123c8f4ee08b39e7',1,'glfw3.h']]], + ['glfwsetcursorposcallback',['glfwSetCursorPosCallback',['../group__input.html#ga7dad39486f2c7591af7fb25134a2501d',1,'glfw3.h']]], + ['glfwsetdropcallback',['glfwSetDropCallback',['../group__input.html#ga41291bf15dd3ff564b3143aa6dc74a4b',1,'glfw3.h']]], + ['glfwseterrorcallback',['glfwSetErrorCallback',['../group__init.html#gaa5d796c3cf7c1a7f02f845486333fb5f',1,'glfw3.h']]], + ['glfwsetframebuffersizecallback',['glfwSetFramebufferSizeCallback',['../group__window.html#ga3203461a5303bf289f2e05f854b2f7cf',1,'glfw3.h']]], + ['glfwsetgamma',['glfwSetGamma',['../group__monitor.html#ga6ac582625c990220785ddd34efa3169a',1,'glfw3.h']]], + ['glfwsetgammaramp',['glfwSetGammaRamp',['../group__monitor.html#ga583f0ffd0d29613d8cd172b996bbf0dd',1,'glfw3.h']]], + ['glfwsetinputmode',['glfwSetInputMode',['../group__input.html#gaa92336e173da9c8834558b54ee80563b',1,'glfw3.h']]], + ['glfwsetjoystickcallback',['glfwSetJoystickCallback',['../group__input.html#gab1dc8379f1b82bb660a6b9c9fa06ca07',1,'glfw3.h']]], + ['glfwsetkeycallback',['glfwSetKeyCallback',['../group__input.html#ga7e496507126f35ea72f01b2e6ef6d155',1,'glfw3.h']]], + ['glfwsetmonitorcallback',['glfwSetMonitorCallback',['../group__monitor.html#gac3fe0f647f68b731f99756cd81897378',1,'glfw3.h']]], + ['glfwsetmousebuttoncallback',['glfwSetMouseButtonCallback',['../group__input.html#gaef49b72d84d615bca0a6ed65485e035d',1,'glfw3.h']]], + ['glfwsetscrollcallback',['glfwSetScrollCallback',['../group__input.html#gacf02eb10504352f16efda4593c3ce60e',1,'glfw3.h']]], + ['glfwsettime',['glfwSetTime',['../group__input.html#gaf59589ef6e8b8c8b5ad184b25afd4dc0',1,'glfw3.h']]], + ['glfwsetwindowaspectratio',['glfwSetWindowAspectRatio',['../group__window.html#ga72ac8cb1ee2e312a878b55153d81b937',1,'glfw3.h']]], + ['glfwsetwindowclosecallback',['glfwSetWindowCloseCallback',['../group__window.html#gaade9264e79fae52bdb78e2df11ee8d6a',1,'glfw3.h']]], + ['glfwsetwindowfocuscallback',['glfwSetWindowFocusCallback',['../group__window.html#ga25d1c584edb375d7711c5c3548ba711f',1,'glfw3.h']]], + ['glfwsetwindowicon',['glfwSetWindowIcon',['../group__window.html#gadd7ccd39fe7a7d1f0904666ae5932dc5',1,'glfw3.h']]], + ['glfwsetwindowiconifycallback',['glfwSetWindowIconifyCallback',['../group__window.html#gab1ea7263081c0e073b8d5b91d6ffd367',1,'glfw3.h']]], + ['glfwsetwindowmonitor',['glfwSetWindowMonitor',['../group__window.html#ga81c76c418af80a1cce7055bccb0ae0a7',1,'glfw3.h']]], + ['glfwsetwindowpos',['glfwSetWindowPos',['../group__window.html#ga1abb6d690e8c88e0c8cd1751356dbca8',1,'glfw3.h']]], + ['glfwsetwindowposcallback',['glfwSetWindowPosCallback',['../group__window.html#ga2837d4d240659feb4268fcb6530a6ba1',1,'glfw3.h']]], + ['glfwsetwindowrefreshcallback',['glfwSetWindowRefreshCallback',['../group__window.html#ga4569b76e8ac87c55b53199e6becd97eb',1,'glfw3.h']]], + ['glfwsetwindowshouldclose',['glfwSetWindowShouldClose',['../group__window.html#ga49c449dde2a6f87d996f4daaa09d6708',1,'glfw3.h']]], + ['glfwsetwindowsize',['glfwSetWindowSize',['../group__window.html#ga371911f12c74c504dd8d47d832d095cb',1,'glfw3.h']]], + ['glfwsetwindowsizecallback',['glfwSetWindowSizeCallback',['../group__window.html#gaa40cd24840daa8c62f36cafc847c72b6',1,'glfw3.h']]], + ['glfwsetwindowsizelimits',['glfwSetWindowSizeLimits',['../group__window.html#gac314fa6cec7d2d307be9963e2709cc90',1,'glfw3.h']]], + ['glfwsetwindowtitle',['glfwSetWindowTitle',['../group__window.html#ga5d877f09e968cef7a360b513306f17ff',1,'glfw3.h']]], + ['glfwsetwindowuserpointer',['glfwSetWindowUserPointer',['../group__window.html#ga3d2fc6026e690ab31a13f78bc9fd3651',1,'glfw3.h']]], + ['glfwshowwindow',['glfwShowWindow',['../group__window.html#ga61be47917b72536a148300f46494fc66',1,'glfw3.h']]], + ['glfwswapbuffers',['glfwSwapBuffers',['../group__window.html#ga15a5a1ee5b3c2ca6b15ca209a12efd14',1,'glfw3.h']]], + ['glfwswapinterval',['glfwSwapInterval',['../group__context.html#ga6d4e0cdf151b5e579bd67f13202994ed',1,'glfw3.h']]], + ['glfwterminate',['glfwTerminate',['../group__init.html#gaaae48c0a18607ea4a4ba951d939f0901',1,'glfw3.h']]], + ['glfwvulkansupported',['glfwVulkanSupported',['../group__vulkan.html#ga2e7f30931e02464b5bc8d0d4b6f9fe2b',1,'glfw3.h']]], + ['glfwwaitevents',['glfwWaitEvents',['../group__window.html#ga554e37d781f0a997656c26b2c56c835e',1,'glfw3.h']]], + ['glfwwaiteventstimeout',['glfwWaitEventsTimeout',['../group__window.html#ga605a178db92f1a7f1a925563ef3ea2cf',1,'glfw3.h']]], + ['glfwwindowhint',['glfwWindowHint',['../group__window.html#ga7d9c8c62384b1e2821c4dc48952d2033',1,'glfw3.h']]], + ['glfwwindowshouldclose',['glfwWindowShouldClose',['../group__window.html#ga24e02fbfefbb81fc45320989f8140ab5',1,'glfw3.h']]] +]; diff --git a/docs/3.2/search/groups_0.html b/docs/3.2/search/groups_0.html new file mode 100644 index 0000000..f4895cb --- /dev/null +++ b/docs/3.2/search/groups_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/groups_0.js b/docs/3.2/search/groups_0.js new file mode 100644 index 0000000..2a11e4f --- /dev/null +++ b/docs/3.2/search/groups_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['context_20reference',['Context reference',['../group__context.html',1,'']]] +]; diff --git a/docs/3.2/search/groups_1.html b/docs/3.2/search/groups_1.html new file mode 100644 index 0000000..3195265 --- /dev/null +++ b/docs/3.2/search/groups_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/groups_1.js b/docs/3.2/search/groups_1.js new file mode 100644 index 0000000..4cec4ce --- /dev/null +++ b/docs/3.2/search/groups_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['error_20codes',['Error codes',['../group__errors.html',1,'']]] +]; diff --git a/docs/3.2/search/groups_2.html b/docs/3.2/search/groups_2.html new file mode 100644 index 0000000..5882446 --- /dev/null +++ b/docs/3.2/search/groups_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/groups_2.js b/docs/3.2/search/groups_2.js new file mode 100644 index 0000000..cda6c08 --- /dev/null +++ b/docs/3.2/search/groups_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['initialization_2c_20version_20and_20error_20reference',['Initialization, version and error reference',['../group__init.html',1,'']]], + ['input_20reference',['Input reference',['../group__input.html',1,'']]] +]; diff --git a/docs/3.2/search/groups_3.html b/docs/3.2/search/groups_3.html new file mode 100644 index 0000000..bd23aa6 --- /dev/null +++ b/docs/3.2/search/groups_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/groups_3.js b/docs/3.2/search/groups_3.js new file mode 100644 index 0000000..8a2eb27 --- /dev/null +++ b/docs/3.2/search/groups_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['joysticks',['Joysticks',['../group__joysticks.html',1,'']]] +]; diff --git a/docs/3.2/search/groups_4.html b/docs/3.2/search/groups_4.html new file mode 100644 index 0000000..34edffc --- /dev/null +++ b/docs/3.2/search/groups_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/groups_4.js b/docs/3.2/search/groups_4.js new file mode 100644 index 0000000..e1f2924 --- /dev/null +++ b/docs/3.2/search/groups_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['keyboard_20keys',['Keyboard keys',['../group__keys.html',1,'']]] +]; diff --git a/docs/3.2/search/groups_5.html b/docs/3.2/search/groups_5.html new file mode 100644 index 0000000..6d9adbf --- /dev/null +++ b/docs/3.2/search/groups_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/groups_5.js b/docs/3.2/search/groups_5.js new file mode 100644 index 0000000..bf85c30 --- /dev/null +++ b/docs/3.2/search/groups_5.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['mouse_20buttons',['Mouse buttons',['../group__buttons.html',1,'']]], + ['modifier_20key_20flags',['Modifier key flags',['../group__mods.html',1,'']]], + ['monitor_20reference',['Monitor reference',['../group__monitor.html',1,'']]] +]; diff --git a/docs/3.2/search/groups_6.html b/docs/3.2/search/groups_6.html new file mode 100644 index 0000000..f8f8085 --- /dev/null +++ b/docs/3.2/search/groups_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/groups_6.js b/docs/3.2/search/groups_6.js new file mode 100644 index 0000000..18b9ede --- /dev/null +++ b/docs/3.2/search/groups_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['native_20access',['Native access',['../group__native.html',1,'']]] +]; diff --git a/docs/3.2/search/groups_7.html b/docs/3.2/search/groups_7.html new file mode 100644 index 0000000..8c734ab --- /dev/null +++ b/docs/3.2/search/groups_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/groups_7.js b/docs/3.2/search/groups_7.js new file mode 100644 index 0000000..1525284 --- /dev/null +++ b/docs/3.2/search/groups_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['standard_20cursor_20shapes',['Standard cursor shapes',['../group__shapes.html',1,'']]] +]; diff --git a/docs/3.2/search/groups_8.html b/docs/3.2/search/groups_8.html new file mode 100644 index 0000000..2d0c65d --- /dev/null +++ b/docs/3.2/search/groups_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/groups_8.js b/docs/3.2/search/groups_8.js new file mode 100644 index 0000000..d57ce50 --- /dev/null +++ b/docs/3.2/search/groups_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['vulkan_20reference',['Vulkan reference',['../group__vulkan.html',1,'']]] +]; diff --git a/docs/3.2/search/groups_9.html b/docs/3.2/search/groups_9.html new file mode 100644 index 0000000..f7957bd --- /dev/null +++ b/docs/3.2/search/groups_9.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/groups_9.js b/docs/3.2/search/groups_9.js new file mode 100644 index 0000000..f2e5267 --- /dev/null +++ b/docs/3.2/search/groups_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window_20reference',['Window reference',['../group__window.html',1,'']]] +]; diff --git a/docs/3.2/search/mag_sel.png b/docs/3.2/search/mag_sel.png new file mode 100644 index 0000000000000000000000000000000000000000..81f6040a2092402b4d98f9ffa8855d12a0d4ca17 GIT binary patch literal 563 zcmV-30?hr1P)zxx&tqG15pu7)IiiXFflOc2k;dXd>%13GZAy? zRz!q0=|E6a6vV)&ZBS~G9oe0kbqyw1*gvY`{Pop2oKq#FlzgXt@Xh-7fxh>}`Fxg> z$%N%{$!4=5nM{(;=c!aG1Ofr^Do{u%Ih{^&Fc@H2)+a-?TBXrw5DW&z%Nb6mQ!L9O zl}b@6mB?f=tX3;#vl)}ggh(Vpyh(IK z(Mb0D{l{U$FsRjP;!{($+bsaaVi8T#1c0V#qEIOCYa9@UVLV`f__E81L;?WEaRA;Y zUH;rZ;vb;mk7JX|$=i3O~&If0O@oZfLg8gfIjW=dcBsz;gI=!{-r4# z4%6v$&~;q^j7Fo67yJ(NJWuX+I~I!tj^nW3?}^9bq|<3^+vapS5sgM^x7!cs(+mMT z&y%j};&~po+YO)3hoUH4E*E;e9>?R6SS&`X)p`njycAVcg{rEb41T{~Hk(bl-7eSb zmFxA2uIqo#@R?lKm50ND`~6Nfn|-b1|L6O98vt3Tx@gKz#isxO002ovPDHLkV1kyW B_l^Jn literal 0 HcmV?d00001 diff --git a/docs/3.2/search/nomatches.html b/docs/3.2/search/nomatches.html new file mode 100644 index 0000000..b1ded27 --- /dev/null +++ b/docs/3.2/search/nomatches.html @@ -0,0 +1,12 @@ + + + + + + + +
    +
    No Matches
    +
    + + diff --git a/docs/3.2/search/pages_0.html b/docs/3.2/search/pages_0.html new file mode 100644 index 0000000..d752858 --- /dev/null +++ b/docs/3.2/search/pages_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/pages_0.js b/docs/3.2/search/pages_0.js new file mode 100644 index 0000000..5c42740 --- /dev/null +++ b/docs/3.2/search/pages_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['bug_20list',['Bug List',['../bug.html',1,'']]], + ['building_20applications',['Building applications',['../build_guide.html',1,'']]] +]; diff --git a/docs/3.2/search/pages_1.html b/docs/3.2/search/pages_1.html new file mode 100644 index 0000000..924fb48 --- /dev/null +++ b/docs/3.2/search/pages_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/pages_1.js b/docs/3.2/search/pages_1.js new file mode 100644 index 0000000..a4ca79e --- /dev/null +++ b/docs/3.2/search/pages_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['compiling_20glfw',['Compiling GLFW',['../compile_guide.html',1,'']]], + ['context_20guide',['Context guide',['../context_guide.html',1,'']]] +]; diff --git a/docs/3.2/search/pages_2.html b/docs/3.2/search/pages_2.html new file mode 100644 index 0000000..ffc6d92 --- /dev/null +++ b/docs/3.2/search/pages_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/pages_2.js b/docs/3.2/search/pages_2.js new file mode 100644 index 0000000..e50d149 --- /dev/null +++ b/docs/3.2/search/pages_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['getting_20started',['Getting started',['../quick_guide.html',1,'']]] +]; diff --git a/docs/3.2/search/pages_3.html b/docs/3.2/search/pages_3.html new file mode 100644 index 0000000..f374624 --- /dev/null +++ b/docs/3.2/search/pages_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/pages_3.js b/docs/3.2/search/pages_3.js new file mode 100644 index 0000000..dccb31e --- /dev/null +++ b/docs/3.2/search/pages_3.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['input_20guide',['Input guide',['../input_guide.html',1,'']]], + ['introduction_20to_20the_20api',['Introduction to the API',['../intro_guide.html',1,'']]] +]; diff --git a/docs/3.2/search/pages_4.html b/docs/3.2/search/pages_4.html new file mode 100644 index 0000000..593494e --- /dev/null +++ b/docs/3.2/search/pages_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/pages_4.js b/docs/3.2/search/pages_4.js new file mode 100644 index 0000000..50b82fc --- /dev/null +++ b/docs/3.2/search/pages_4.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['monitor_20guide',['Monitor guide',['../monitor_guide.html',1,'']]], + ['moving_20from_20glfw_202_20to_203',['Moving from GLFW 2 to 3',['../moving_guide.html',1,'']]] +]; diff --git a/docs/3.2/search/pages_5.html b/docs/3.2/search/pages_5.html new file mode 100644 index 0000000..7033bd6 --- /dev/null +++ b/docs/3.2/search/pages_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/pages_5.js b/docs/3.2/search/pages_5.js new file mode 100644 index 0000000..683d726 --- /dev/null +++ b/docs/3.2/search/pages_5.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['notitle',['notitle',['../index.html',1,'']]], + ['new_20features',['New features',['../news.html',1,'']]] +]; diff --git a/docs/3.2/search/pages_6.html b/docs/3.2/search/pages_6.html new file mode 100644 index 0000000..9794888 --- /dev/null +++ b/docs/3.2/search/pages_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/pages_6.js b/docs/3.2/search/pages_6.js new file mode 100644 index 0000000..ea8e9cd --- /dev/null +++ b/docs/3.2/search/pages_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['standards_20conformance',['Standards conformance',['../compat_guide.html',1,'']]] +]; diff --git a/docs/3.2/search/pages_7.html b/docs/3.2/search/pages_7.html new file mode 100644 index 0000000..a449a30 --- /dev/null +++ b/docs/3.2/search/pages_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/pages_7.js b/docs/3.2/search/pages_7.js new file mode 100644 index 0000000..4a3a8c2 --- /dev/null +++ b/docs/3.2/search/pages_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['vulkan_20guide',['Vulkan guide',['../vulkan_guide.html',1,'']]] +]; diff --git a/docs/3.2/search/pages_8.html b/docs/3.2/search/pages_8.html new file mode 100644 index 0000000..0e0205a --- /dev/null +++ b/docs/3.2/search/pages_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/pages_8.js b/docs/3.2/search/pages_8.js new file mode 100644 index 0000000..b78eacf --- /dev/null +++ b/docs/3.2/search/pages_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window_20guide',['Window guide',['../window_guide.html',1,'']]] +]; diff --git a/docs/3.2/search/search.css b/docs/3.2/search/search.css new file mode 100644 index 0000000..3cf9df9 --- /dev/null +++ b/docs/3.2/search/search.css @@ -0,0 +1,271 @@ +/*---------------- Search Box */ + +#FSearchBox { + float: left; +} + +#MSearchBox { + white-space : nowrap; + float: none; + margin-top: 8px; + right: 0px; + width: 170px; + height: 24px; + z-index: 102; +} + +#MSearchBox .left +{ + display:block; + position:absolute; + left:10px; + width:20px; + height:19px; + background:url('search_l.png') no-repeat; + background-position:right; +} + +#MSearchSelect { + display:block; + position:absolute; + width:20px; + height:19px; +} + +.left #MSearchSelect { + left:4px; +} + +.right #MSearchSelect { + right:5px; +} + +#MSearchField { + display:block; + position:absolute; + height:19px; + background:url('search_m.png') repeat-x; + border:none; + width:115px; + margin-left:20px; + padding-left:4px; + color: #909090; + outline: none; + font: 9pt Arial, Verdana, sans-serif; + -webkit-border-radius: 0px; +} + +#FSearchBox #MSearchField { + margin-left:15px; +} + +#MSearchBox .right { + display:block; + position:absolute; + right:10px; + top:8px; + width:20px; + height:19px; + background:url('search_r.png') no-repeat; + background-position:left; +} + +#MSearchClose { + display: none; + position: absolute; + top: 4px; + background : none; + border: none; + margin: 0px 4px 0px 0px; + padding: 0px 0px; + outline: none; +} + +.left #MSearchClose { + left: 6px; +} + +.right #MSearchClose { + right: 2px; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 10001; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; + z-index:10000; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; +} + +.SRResult { + display: none; +} + +DIV.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.searchresult { + background-color: #F0F3F8; +} + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: url("../tab_a.png"); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/docs/3.2/search/search.js b/docs/3.2/search/search.js new file mode 100644 index 0000000..a554ab9 --- /dev/null +++ b/docs/3.2/search/search.js @@ -0,0 +1,814 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var idxChar = searchValue.substr(0, 1).toLowerCase(); + if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair + { + idxChar = searchValue.substr(0, 2); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); + if (idx!=-1) + { + var hexCode=idx.toString(16); + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches.html'; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName == 'DIV' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName == 'DIV' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults() +{ + var results = document.getElementById("SRResults"); + for (var e=0; ek7RCwB~R6VQOP#AvB$vH7i{6H{96zot$7cZT<7246EF5Np6N}+$IbiG6W zg#87A+NFaX+=_^xM1#gCtshC=E{%9^uQX_%?YwXvo{#q&MnpJ8uh(O?ZRc&~_1%^SsPxG@rfElJg-?U zm!Cz-IOn(qJP3kDp-^~qt+FGbl=5jNli^Wj_xIBG{Rc0en{!oFvyoNC7{V~T8}b>| z=jL2WIReZzX(YN(_9fV;BBD$VXQIxNasAL8ATvEu822WQ%mvv4FO#qs` BFGc_W literal 0 HcmV?d00001 diff --git a/docs/3.2/search/search_r.png b/docs/3.2/search/search_r.png new file mode 100644 index 0000000000000000000000000000000000000000..97ee8b439687084201b79c6f776a41f495c6392a GIT binary patch literal 612 zcmV-q0-ODbP)PbXFRCwB?)W514K@j&X?z2*SxFI6-@HT2E2K=9X9%Pb zEK*!TBw&g(DMC;|A)uGlRkOS9vd-?zNs%bR4d$w+ox_iFnE8fvIvv7^5<(>Te12Li z7C)9srCzmK{ZcNM{YIl9j{DePFgOWiS%xG@5CnnnJa4nvY<^glbz7^|-ZY!dUkAwd z{gaTC@_>b5h~;ug#R0wRL0>o5!hxm*s0VW?8dr}O#zXTRTnrQm_Z7z1Mrnx>&p zD4qifUjzLvbVVWi?l?rUzwt^sdb~d!f_LEhsRVIXZtQ=qSxuxqm zEX#tf>$?M_Y1-LSDT)HqG?`%-%ZpY!#{N!rcNIiL;G7F0`l?)mNGTD9;f9F5Up3Kg zw}a<-JylhG&;=!>B+fZaCX+?C+kHYrP%c?X2!Zu_olK|GcS4A70HEy;vn)I0>0kLH z`jc(WIaaHc7!HS@f*^R^Znx8W=_jIl2oWJoQ*h1^$FX!>*PqR1J8k|fw}w_y}TpE>7m8DqDO<3z`OzXt$ccSejbEZCg@0000 + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/typedefs_0.js b/docs/3.2/search/typedefs_0.js new file mode 100644 index 0000000..eeaae03 --- /dev/null +++ b/docs/3.2/search/typedefs_0.js @@ -0,0 +1,29 @@ +var searchData= +[ + ['glfwcharfun',['GLFWcharfun',['../group__input.html#gabf24451c7ceb1952bc02b17a0d5c3e5f',1,'glfw3.h']]], + ['glfwcharmodsfun',['GLFWcharmodsfun',['../group__input.html#gae36fb6897d2b7df9b128900c8ce9c507',1,'glfw3.h']]], + ['glfwcursor',['GLFWcursor',['../glfw3_8h.html#a89261ae18c75e863aaf2656ecdd238f4',1,'glfw3.h']]], + ['glfwcursorenterfun',['GLFWcursorenterfun',['../group__input.html#ga51ab436c41eeaed6db5a0c9403b1c840',1,'glfw3.h']]], + ['glfwcursorposfun',['GLFWcursorposfun',['../group__input.html#ga4cfad918fa836f09541e7b9acd36686c',1,'glfw3.h']]], + ['glfwdropfun',['GLFWdropfun',['../group__input.html#gab71f4ca80b651462852e601caf308c4a',1,'glfw3.h']]], + ['glfwerrorfun',['GLFWerrorfun',['../group__init.html#ga6b8a2639706d5c409fc1287e8f55e928',1,'glfw3.h']]], + ['glfwframebuffersizefun',['GLFWframebuffersizefun',['../group__window.html#ga3e218ef9ff826129c55a7d5f6971a285',1,'glfw3.h']]], + ['glfwgammaramp',['GLFWgammaramp',['../group__monitor.html#gaec0bd37af673be8813592849f13e02f0',1,'glfw3.h']]], + ['glfwglproc',['GLFWglproc',['../group__context.html#ga3d47c2d2fbe0be9c505d0e04e91a133c',1,'glfw3.h']]], + ['glfwimage',['GLFWimage',['../glfw3_8h.html#ac81c32f4437de7b3aa58ab62c3d9e5b1',1,'glfw3.h']]], + ['glfwjoystickfun',['GLFWjoystickfun',['../group__input.html#gaa67aa597e974298c748bfe4fb17d406d',1,'glfw3.h']]], + ['glfwkeyfun',['GLFWkeyfun',['../group__input.html#ga0192a232a41e4e82948217c8ba94fdfd',1,'glfw3.h']]], + ['glfwmonitor',['GLFWmonitor',['../group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3',1,'glfw3.h']]], + ['glfwmonitorfun',['GLFWmonitorfun',['../group__monitor.html#ga8a7ee579a66720f24d656526f3e44c63',1,'glfw3.h']]], + ['glfwmousebuttonfun',['GLFWmousebuttonfun',['../group__input.html#ga39893a4a7e7c3239c98d29c9e084350c',1,'glfw3.h']]], + ['glfwscrollfun',['GLFWscrollfun',['../group__input.html#ga4687e2199c60a18a8dd1da532e6d75c9',1,'glfw3.h']]], + ['glfwvidmode',['GLFWvidmode',['../group__monitor.html#gae48aadf4ea0967e6605c8f58fa5daccb',1,'glfw3.h']]], + ['glfwvkproc',['GLFWvkproc',['../group__vulkan.html#ga70c01918dc9d233a4fbe0681a43018af',1,'glfw3.h']]], + ['glfwwindow',['GLFWwindow',['../group__window.html#ga3c96d80d363e67d13a41b5d1821f3242',1,'glfw3.h']]], + ['glfwwindowclosefun',['GLFWwindowclosefun',['../group__window.html#ga93e7c2555bd837f4ed8b20f76cada72e',1,'glfw3.h']]], + ['glfwwindowfocusfun',['GLFWwindowfocusfun',['../group__window.html#ga58be2061828dd35080bb438405d3a7e2',1,'glfw3.h']]], + ['glfwwindowiconifyfun',['GLFWwindowiconifyfun',['../group__window.html#gad2d4e4c3d28b1242e742e8268b9528af',1,'glfw3.h']]], + ['glfwwindowposfun',['GLFWwindowposfun',['../group__window.html#gafd8db81fdb0e850549dc6bace5ed697a',1,'glfw3.h']]], + ['glfwwindowrefreshfun',['GLFWwindowrefreshfun',['../group__window.html#ga7a56f9e0227e2cd9470d80d919032e08',1,'glfw3.h']]], + ['glfwwindowsizefun',['GLFWwindowsizefun',['../group__window.html#gae49ee6ebc03fa2da024b89943a331355',1,'glfw3.h']]] +]; diff --git a/docs/3.2/search/variables_0.html b/docs/3.2/search/variables_0.html new file mode 100644 index 0000000..51f7bd6 --- /dev/null +++ b/docs/3.2/search/variables_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/variables_0.js b/docs/3.2/search/variables_0.js new file mode 100644 index 0000000..c16aa4d --- /dev/null +++ b/docs/3.2/search/variables_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['blue',['blue',['../structGLFWgammaramp.html#acf0c836d0efe29c392fe8d1a1042744b',1,'GLFWgammaramp']]], + ['bluebits',['blueBits',['../structGLFWvidmode.html#af310977f58d2e3b188175b6e3d314047',1,'GLFWvidmode']]] +]; diff --git a/docs/3.2/search/variables_1.html b/docs/3.2/search/variables_1.html new file mode 100644 index 0000000..f46154d --- /dev/null +++ b/docs/3.2/search/variables_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/variables_1.js b/docs/3.2/search/variables_1.js new file mode 100644 index 0000000..442ea8e --- /dev/null +++ b/docs/3.2/search/variables_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['green',['green',['../structGLFWgammaramp.html#affccc6f5df47820b6562d709da3a5a3a',1,'GLFWgammaramp']]], + ['greenbits',['greenBits',['../structGLFWvidmode.html#a292fdd281f3485fb3ff102a5bda43faa',1,'GLFWvidmode']]] +]; diff --git a/docs/3.2/search/variables_2.html b/docs/3.2/search/variables_2.html new file mode 100644 index 0000000..15275b7 --- /dev/null +++ b/docs/3.2/search/variables_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/variables_2.js b/docs/3.2/search/variables_2.js new file mode 100644 index 0000000..b620f27 --- /dev/null +++ b/docs/3.2/search/variables_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['height',['height',['../structGLFWvidmode.html#ac65942a5f6981695517437a9d571d03c',1,'GLFWvidmode::height()'],['../structGLFWimage.html#a0b7d95368f0c80d5e5c9875057c7dbec',1,'GLFWimage::height()']]] +]; diff --git a/docs/3.2/search/variables_3.html b/docs/3.2/search/variables_3.html new file mode 100644 index 0000000..fbc3671 --- /dev/null +++ b/docs/3.2/search/variables_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/variables_3.js b/docs/3.2/search/variables_3.js new file mode 100644 index 0000000..3616d8e --- /dev/null +++ b/docs/3.2/search/variables_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['pixels',['pixels',['../structGLFWimage.html#a0c532a5c2bb715555279b7817daba0fb',1,'GLFWimage']]] +]; diff --git a/docs/3.2/search/variables_4.html b/docs/3.2/search/variables_4.html new file mode 100644 index 0000000..8067e67 --- /dev/null +++ b/docs/3.2/search/variables_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/variables_4.js b/docs/3.2/search/variables_4.js new file mode 100644 index 0000000..b7ac9ce --- /dev/null +++ b/docs/3.2/search/variables_4.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['red',['red',['../structGLFWgammaramp.html#a2cce5d968734b685623eef913e635138',1,'GLFWgammaramp']]], + ['redbits',['redBits',['../structGLFWvidmode.html#a6066c4ecd251098700062d3b735dba1b',1,'GLFWvidmode']]], + ['refreshrate',['refreshRate',['../structGLFWvidmode.html#a791bdd6c7697b09f7e9c97054bf05649',1,'GLFWvidmode']]] +]; diff --git a/docs/3.2/search/variables_5.html b/docs/3.2/search/variables_5.html new file mode 100644 index 0000000..7e95e94 --- /dev/null +++ b/docs/3.2/search/variables_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/variables_5.js b/docs/3.2/search/variables_5.js new file mode 100644 index 0000000..329c6f4 --- /dev/null +++ b/docs/3.2/search/variables_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['size',['size',['../structGLFWgammaramp.html#ad620e1cffbff9a32c51bca46301b59a5',1,'GLFWgammaramp']]] +]; diff --git a/docs/3.2/search/variables_6.html b/docs/3.2/search/variables_6.html new file mode 100644 index 0000000..3d398e6 --- /dev/null +++ b/docs/3.2/search/variables_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.2/search/variables_6.js b/docs/3.2/search/variables_6.js new file mode 100644 index 0000000..aaa6316 --- /dev/null +++ b/docs/3.2/search/variables_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['width',['width',['../structGLFWvidmode.html#a698dcb200562051a7249cb6ae154c71d',1,'GLFWvidmode::width()'],['../structGLFWimage.html#af6a71cc999fe6d3aea31dd7e9687d835',1,'GLFWimage::width()']]] +]; diff --git a/docs/3.2/spaces.svg b/docs/3.2/spaces.svg new file mode 100644 index 0000000..562fa8b --- /dev/null +++ b/docs/3.2/spaces.svg @@ -0,0 +1,872 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/3.2/splitbar.png b/docs/3.2/splitbar.png new file mode 100644 index 0000000000000000000000000000000000000000..fe895f2c58179b471a22d8320b39a4bd7312ec8e GIT binary patch literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T literal 0 HcmV?d00001 diff --git a/docs/3.2/structGLFWgammaramp.html b/docs/3.2/structGLFWgammaramp.html new file mode 100644 index 0000000..c51d06a --- /dev/null +++ b/docs/3.2/structGLFWgammaramp.html @@ -0,0 +1,160 @@ + + + + + + +GLFW: GLFWgammaramp Struct Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    GLFWgammaramp Struct Reference
    +
    +
    + +

    Gamma ramp. + More...

    + + + + + + + + + + +

    +Data Fields

    unsigned short * red
     
    unsigned short * green
     
    unsigned short * blue
     
    unsigned int size
     
    +

    Detailed Description

    +

    This describes the gamma ramp for a monitor.

    +
    See also
    Gamma ramp
    +
    +glfwGetGammaRamp glfwSetGammaRamp
    +
    Since
    Added in version 3.0.
    +

    Field Documentation

    + +

    ◆ blue

    + +
    +
    + + + + +
    unsigned short* GLFWgammaramp::blue
    +
    +

    An array of value describing the response of the blue channel.

    + +
    +
    + +

    ◆ green

    + +
    +
    + + + + +
    unsigned short* GLFWgammaramp::green
    +
    +

    An array of value describing the response of the green channel.

    + +
    +
    + +

    ◆ red

    + +
    +
    + + + + +
    unsigned short* GLFWgammaramp::red
    +
    +

    An array of value describing the response of the red channel.

    + +
    +
    + +

    ◆ size

    + +
    +
    + + + + +
    unsigned int GLFWgammaramp::size
    +
    +

    The number of elements in each array.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/3.2/structGLFWimage.html b/docs/3.2/structGLFWimage.html new file mode 100644 index 0000000..88cb8c0 --- /dev/null +++ b/docs/3.2/structGLFWimage.html @@ -0,0 +1,142 @@ + + + + + + +GLFW: GLFWimage Struct Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    GLFWimage Struct Reference
    +
    +
    + +

    Image data. + More...

    + + + + + + + + +

    +Data Fields

    int width
     
    int height
     
    unsigned char * pixels
     
    +

    Detailed Description

    +
    See also
    Custom cursor creation
    +
    +Window icon
    +
    Since
    Added in version 2.1. GLFW 3: Removed format and bytes-per-pixel members.
    +

    Field Documentation

    + +

    ◆ height

    + +
    +
    + + + + +
    int GLFWimage::height
    +
    +

    The height, in pixels, of this image.

    + +
    +
    + +

    ◆ pixels

    + +
    +
    + + + + +
    unsigned char* GLFWimage::pixels
    +
    +

    The pixel data of this image, arranged left-to-right, top-to-bottom.

    + +
    +
    + +

    ◆ width

    + +
    +
    + + + + +
    int GLFWimage::width
    +
    +

    The width, in pixels, of this image.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/3.2/structGLFWvidmode.html b/docs/3.2/structGLFWvidmode.html new file mode 100644 index 0000000..e6192ff --- /dev/null +++ b/docs/3.2/structGLFWvidmode.html @@ -0,0 +1,194 @@ + + + + + + +GLFW: GLFWvidmode Struct Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    GLFWvidmode Struct Reference
    +
    +
    + +

    Video mode type. + More...

    + + + + + + + + + + + + + + +

    +Data Fields

    int width
     
    int height
     
    int redBits
     
    int greenBits
     
    int blueBits
     
    int refreshRate
     
    +

    Detailed Description

    +

    This describes a single video mode.

    +
    See also
    Video modes
    +
    +glfwGetVideoMode glfwGetVideoModes
    +
    Since
    Added in version 1.0. GLFW 3: Added refresh rate member.
    +

    Field Documentation

    + +

    ◆ blueBits

    + +
    +
    + + + + +
    int GLFWvidmode::blueBits
    +
    +

    The bit depth of the blue channel of the video mode.

    + +
    +
    + +

    ◆ greenBits

    + +
    +
    + + + + +
    int GLFWvidmode::greenBits
    +
    +

    The bit depth of the green channel of the video mode.

    + +
    +
    + +

    ◆ height

    + +
    +
    + + + + +
    int GLFWvidmode::height
    +
    +

    The height, in screen coordinates, of the video mode.

    + +
    +
    + +

    ◆ redBits

    + +
    +
    + + + + +
    int GLFWvidmode::redBits
    +
    +

    The bit depth of the red channel of the video mode.

    + +
    +
    + +

    ◆ refreshRate

    + +
    +
    + + + + +
    int GLFWvidmode::refreshRate
    +
    +

    The refresh rate, in Hz, of the video mode.

    + +
    +
    + +

    ◆ width

    + +
    +
    + + + + +
    int GLFWvidmode::width
    +
    +

    The width, in screen coordinates, of the video mode.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/3.2/sync_off.png b/docs/3.2/sync_off.png new file mode 100644 index 0000000000000000000000000000000000000000..3b443fc62892114406e3d399421b2a881b897acc GIT binary patch literal 853 zcmV-b1FHOqP)oT|#XixUYy%lpuf3i8{fX!o zUyDD0jOrAiT^tq>fLSOOABs-#u{dV^F$b{L9&!2=9&RmV;;8s^x&UqB$PCj4FdKbh zoB1WTskPUPu05XzFbA}=KZ-GP1fPpAfSs>6AHb12UlR%-i&uOlTpFNS7{jm@mkU1V zh`nrXr~+^lsV-s1dkZOaI|kYyVj3WBpPCY{n~yd%u%e+d=f%`N0FItMPtdgBb@py; zq@v6NVArhyTC7)ULw-Jy8y42S1~4n(3LkrW8mW(F-4oXUP3E`e#g**YyqI7h-J2zK zK{m9##m4ri!7N>CqQqCcnI3hqo1I;Yh&QLNY4T`*ptiQGozK>FF$!$+84Z`xwmeMh zJ0WT+OH$WYFALEaGj2_l+#DC3t7_S`vHpSivNeFbP6+r50cO8iu)`7i%Z4BTPh@_m3Tk!nAm^)5Bqnr%Ov|Baunj#&RPtRuK& z4RGz|D5HNrW83-#ydk}tVKJrNmyYt-sTxLGlJY5nc&Re zU4SgHNPx8~Yxwr$bsju?4q&%T1874xxzq+_%?h8_ofw~(bld=o3iC)LUNR*BY%c0y zWd_jX{Y8`l%z+ol1$@Qa?Cy!(0CVIEeYpKZ`(9{z>3$CIe;pJDQk$m3p}$>xBm4lb zKo{4S)`wdU9Ba9jJbVJ0C=SOefZe%d$8=2r={nu<_^a3~>c#t_U6dye5)JrR(_a^E f@}b6j1K9lwFJq@>o)+Ry00000NkvXXu0mjfWa5j* literal 0 HcmV?d00001 diff --git a/docs/3.2/sync_on.png b/docs/3.2/sync_on.png new file mode 100644 index 0000000000000000000000000000000000000000..e08320fb64e6fa33b573005ed6d8fe294e19db76 GIT binary patch literal 845 zcmV-T1G4;yP)Y;xxyHF2B5Wzm| zOOGupOTn@c(JmBOl)e;XMNnZuiTJP>rM8<|Q`7I_))aP?*T)ow&n59{}X4$3Goat zgjs?*aasfbrokzG5cT4K=uG`E14xZl@z)F={P0Y^?$4t z>v!teRnNZym<6h{7sLyF1V0HsfEl+l6TrZpsfr1}luH~F7L}ktXu|*uVX^RG$L0`K zWs3j|0tIvVe(N%_?2{(iCPFGf#B6Hjy6o&}D$A%W%jfO8_W%ZO#-mh}EM$LMn7joJ z05dHr!5Y92g+31l<%i1(=L1a1pXX+OYnalY>31V4K}BjyRe3)9n#;-cCVRD_IG1fT zOKGeNY8q;TL@K{dj@D^scf&VCs*-Jb>8b>|`b*osv52-!A?BpbYtTQBns5EAU**$m zSnVSm(teh>tQi*S*A>#ySc=n;`BHz`DuG4&g4Kf8lLhca+zvZ7t7RflD6-i-mcK=M z!=^P$*u2)bkY5asG4gsss!Hn%u~>}kIW`vMs%lJLH+u*9<4PaV_c6U`KqWXQH%+Nu zTv41O(^ZVi@qhjQdG!fbZw&y+2o!iYymO^?ud3{P*HdoX83YV*Uu_HB=?U&W9%AU# z80}k1SS-CXTU7dcQlsm<^oYLxVSseqY6NO}dc`Nj?8vrhNuCdm@^{a3AQ_>6myOj+ z`1RsLUXF|dm|3k7s2jD(B{rzE>WI2scH8i1;=O5Cc9xB3^aJk%fQjqsu+kH#0=_5a z0nCE8@dbQa-|YIuUVvG0L_IwHMEhOj$Mj4Uq05 X8=0q~qBNan00000NkvXXu0mjfptF>5 literal 0 HcmV?d00001 diff --git a/docs/3.2/tab_a.png b/docs/3.2/tab_a.png new file mode 100644 index 0000000000000000000000000000000000000000..3b725c41c5a527a3a3e40097077d0e206a681247 GIT binary patch literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QlXwMjv*C{Z|8b*H5dputLHD# z=<0|*y7z(Vor?d;H&?EG&cXR}?!j-Lm&u1OOI7AIF5&c)RFE;&p0MYK>*Kl@eiymD r@|NpwKX@^z+;{u_Z~trSBfrMKa%3`zocFjEXaR$#tDnm{r-UW|TZ1%4 literal 0 HcmV?d00001 diff --git a/docs/3.2/tab_b.png b/docs/3.2/tab_b.png new file mode 100644 index 0000000000000000000000000000000000000000..e2b4a8638cb3496a016eaed9e16ffc12846dea18 GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QU#tajv*C{Z}0l@H7kg?K0Lnr z!j&C6_(~HV9oQ0Pa6x{-v0AGV_E?vLn=ZI-;YrdjIl`U`uzuDWSP?o#Dmo{%SgM#oan kX~E1%D-|#H#QbHoIja2U-MgvsK&LQxy85}Sb4q9e0Efg%P5=M^ literal 0 HcmV?d00001 diff --git a/docs/3.2/tabs.css b/docs/3.2/tabs.css new file mode 100644 index 0000000..a28614b --- /dev/null +++ b/docs/3.2/tabs.css @@ -0,0 +1 @@ +.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#doc-content{overflow:auto;display:block;padding:0;margin:0;-webkit-overflow-scrolling:touch}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace!important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0!important;-webkit-border-radius:0;border-radius:0!important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px!important;-webkit-border-radius:5px;border-radius:5px!important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0!important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px!important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file diff --git a/docs/3.2/vulkan.html b/docs/3.2/vulkan.html new file mode 120000 index 0000000..245e69a --- /dev/null +++ b/docs/3.2/vulkan.html @@ -0,0 +1 @@ +vulkan_guide.html \ No newline at end of file diff --git a/docs/3.2/vulkan_8dox.html b/docs/3.2/vulkan_8dox.html new file mode 100644 index 0000000..ac9fc40 --- /dev/null +++ b/docs/3.2/vulkan_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: vulkan.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    vulkan.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.2/vulkan_guide.html b/docs/3.2/vulkan_guide.html new file mode 100644 index 0000000..2b27b50 --- /dev/null +++ b/docs/3.2/vulkan_guide.html @@ -0,0 +1,134 @@ + + + + + + +GLFW: Vulkan guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Vulkan guide
    +
    +
    + +

    This guide is intended to fill the gaps between the Vulkan documentation and the rest of the GLFW documentation and is not a replacement for either. It assumes some familiarity with Vulkan concepts like loaders, devices, queues and surfaces and leaves it to the Vulkan documentation to explain the details of Vulkan functions.

    +

    To develop for Vulkan you should install an SDK for your platform, for example the LunarG Vulkan SDK. Apart from the headers and libraries, it also provides the validation layers necessary for development.

    +

    The GLFW library does not need the Vulkan SDK to enable support for Vulkan. However, any Vulkan-specific test and example programs are built only if the CMake files find a Vulkan SDK.

    +

    For details on a specific function in this category, see the Vulkan reference. There are also guides for the other areas of the GLFW API.

    + +

    +Including the Vulkan and GLFW header files

    +

    To include the Vulkan header, define GLFW_INCLUDE_VULKAN before including the GLFW header.

    +
    #define GLFW_INCLUDE_VULKAN
    #include <GLFW/glfw3.h>

    If you instead want to include the Vulkan header from a custom location or use your own custom Vulkan header then do this before the GLFW header.

    +
    #include <path/to/vulkan.h>
    #include <GLFW/glfw3.h>

    Unless a Vulkan header is included, either by the GLFW header or above it, any GLFW functions that take or return Vulkan types will not be declared.

    +

    The VK_USE_PLATFORM_*_KHR macros do not need to be defined for the Vulkan part of GLFW to work. Define them only if you are using these extensions directly.

    +

    +Querying for Vulkan support

    +

    If you are linking directly against the Vulkan loader then you can skip this section. The canonical desktop loader library exports all Vulkan core and Khronos extension functions, allowing them to be called directly.

    +

    If you are loading the Vulkan loader dynamically instead of linking directly against it, you can check for the availability of a loader with glfwVulkanSupported.

    +
    {
    // Vulkan is available, at least for compute
    }

    This function returns GLFW_TRUE if the Vulkan loader was found. This check is performed by glfwInit.

    +

    If no loader was found, calling any other Vulkan related GLFW function will generate a GLFW_API_UNAVAILABLE error.

    +

    +Querying Vulkan function pointers

    +

    To load any Vulkan core or extension function from the found loader, call glfwGetInstanceProcAddress. To load functions needed for instance creation, pass NULL as the instance.

    +
    PFN_vkCreateInstance pfnCreateInstance = (PFN_vkCreateInstance)
    glfwGetInstanceProcAddress(NULL, "vkCreateInstance");

    Once you have created an instance, you can load from it all other Vulkan core functions and functions from any instance extensions you enabled.

    +
    PFN_vkCreateDevice pfnCreateDevice = (PFN_vkCreateDevice)
    glfwGetInstanceProcAddress(instance, "vkCreateDevice");

    This function in turn calls vkGetInstanceProcAddr. If that fails, the function falls back to a platform-specific query of the Vulkan loader (i.e. dlsym or GetProcAddress). If that also fails, the function returns NULL. For more information about vkGetInstanceProcAddr, see the Vulkan documentation.

    +

    Vulkan also provides vkGetDeviceProcAddr for loading device-specific versions of Vulkan function. This function can be retrieved from an instance with glfwGetInstanceProcAddress.

    +
    PFN_vkGetDeviceProcAddr pfnGetDeviceProcAddr = (PFN_vkGetDeviceProcAddr)
    glfwGetInstanceProcAddress(instance, "vkGetDeviceProcAddr");

    Device-specific functions may execute a little bit faster, due to not having to dispatch internally based on the device passed to them. For more information about vkGetDeviceProcAddr, see the Vulkan documentation.

    +

    +Querying required Vulkan extensions

    +

    To do anything useful with Vulkan you need to create an instance. If you want to use Vulkan to render to a window, you must enable the instance extensions GLFW requires to create Vulkan surfaces.

    +

    To query the instance extensions required, call glfwGetRequiredInstanceExtensions.

    +
    uint32_t count;
    const char** extensions = glfwGetRequiredInstanceExtensions(&count);

    These extensions must all be enabled when creating instances that are going to be passed to glfwGetPhysicalDevicePresentationSupport and glfwCreateWindowSurface. The set of extensions will vary depending on platform and may also vary depending on graphics drivers and other factors.

    +

    If it fails it will return NULL and GLFW will not be able to create Vulkan window surfaces. You can still use Vulkan for off-screen rendering and compute work.

    +

    The returned array will always contain VK_KHR_surface, so if you don't require any additional extensions you can pass this list directly to the VkInstanceCreateInfo struct.

    +
    VkInstanceCreateInfo ici;
    memset(&ici, 0, sizeof(ici));
    ici.enabledExtensionCount = count;
    ici.ppEnabledExtensionNames = extensions;
    ...

    Additional extensions may be required by future versions of GLFW. You should check whether any extensions you wish to enable are already in the returned array, as it is an error to specify an extension more than once in the VkInstanceCreateInfo struct.

    +

    +Querying for Vulkan presentation support

    +

    Not every queue family of every Vulkan device can present images to surfaces. To check whether a specific queue family of a physical device supports image presentation without first having to create a window and surface, call glfwGetPhysicalDevicePresentationSupport.

    +
    if (glfwGetPhysicalDevicePresentationSupport(instance, physical_device, queue_family_index))
    {
    // Queue family supports image presentation
    }

    The VK_KHR_surface extension additionally provides the vkGetPhysicalDeviceSurfaceSupportKHR function, which performs the same test on an existing Vulkan surface.

    +

    +Creating the window

    +

    Unless you will be using OpenGL or OpenGL ES with the same window as Vulkan, there is no need to create a context. You can disable context creation with the GLFW_CLIENT_API hint.

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "Window Title", NULL, NULL);

    See Windows without contexts for more information.

    +

    +Creating a Vulkan window surface

    +

    You can create a Vulkan surface (as defined by the VK_KHR_surface extension) for a GLFW window with glfwCreateWindowSurface.

    +
    VkSurfaceKHR surface;
    VkResult err = glfwCreateWindowSurface(instance, window, NULL, &surface);
    if (err)
    {
    // Window surface creation failed
    }

    It is your responsibility to destroy the surface. GLFW does not destroy it for you. Call vkDestroySurfaceKHR function from the same extension to destroy it.

    +
    + + + diff --git a/docs/3.2/window.html b/docs/3.2/window.html new file mode 120000 index 0000000..de56de0 --- /dev/null +++ b/docs/3.2/window.html @@ -0,0 +1 @@ +window_guide.html \ No newline at end of file diff --git a/docs/3.2/window_8dox.html b/docs/3.2/window_8dox.html new file mode 100644 index 0000000..75b6745 --- /dev/null +++ b/docs/3.2/window_8dox.html @@ -0,0 +1,73 @@ + + + + + + +GLFW: window.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    window.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.2/window_guide.html b/docs/3.2/window_guide.html new file mode 100644 index 0000000..36d5420 --- /dev/null +++ b/docs/3.2/window_guide.html @@ -0,0 +1,441 @@ + + + + + + +GLFW: Window guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Window guide
    +
    +
    + +

    This guide introduces the window related functions of GLFW. For details on a specific function in this category, see the Window reference. There are also guides for the other areas of GLFW.

    + +

    +Window objects

    +

    The GLFWwindow object encapsulates both a window and a context. They are created with glfwCreateWindow and destroyed with glfwDestroyWindow, or glfwTerminate, if any remain. As the window and context are inseparably linked, the object pointer is used as both a context and window handle.

    +

    To see the event stream provided to the various window related callbacks, run the events test program.

    +

    +Window creation

    +

    A window and its OpenGL or OpenGL ES context are created with glfwCreateWindow, which returns a handle to the created window object. For example, this creates a 640 by 480 windowed mode window:

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", NULL, NULL);

    If window creation fails, NULL will be returned, so it is necessary to check the return value.

    +

    The window handle is passed to all window related functions and is provided to along with all input events, so event handlers can tell which window received the event.

    +

    +Full screen windows

    +

    To create a full screen window, you need to specify which monitor the window should use. In most cases, the user's primary monitor is a good choice. For more information about retrieving monitors, see Retrieving monitors.

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", glfwGetPrimaryMonitor(), NULL);

    Full screen windows cover the entire display area of a monitor, have no border or decorations.

    +

    Windowed mode windows can be made full screen by setting a monitor with glfwSetWindowMonitor, and full screen ones can be made windowed by unsetting it with the same function.

    +

    Each field of the GLFWvidmode structure corresponds to a function parameter or window hint and combine to form the desired video mode for that window. The supported video mode most closely matching the desired video mode will be set for the chosen monitor as long as the window has input focus. For more information about retrieving video modes, see Video modes.

    + + + + + + + + + + + + + + + +
    Video mode field Corresponds to ------—
    GLFWvidmode.width width parameter
    GLFWvidmode.height height parameter
    GLFWvidmode.redBits GLFW_RED_BITS hint
    GLFWvidmode.greenBits GLFW_GREEN_BITS hint
    GLFWvidmode.blueBits GLFW_BLUE_BITS hint
    GLFWvidmode.refreshRate GLFW_REFRESH_RATE hint
    +

    Once you have a full screen window, you can change its resolution, refresh rate and monitor with glfwSetWindowMonitor. If you just need change its resolution you can also call glfwSetWindowSize. In all cases, the new video mode will be selected the same way as the video mode chosen by glfwCreateWindow. If the window has an OpenGL or OpenGL ES context, it will be unaffected.

    +

    By default, the original video mode of the monitor will be restored and the window iconified if it loses input focus, to allow the user to switch back to the desktop. This behavior can be disabled with the GLFW_AUTO_ICONIFY window hint, for example if you wish to simultaneously cover multiple windows with full screen windows.

    +

    +"Windowed full screen" windows

    +

    If the closest match for the desired video mode is the current one, the video mode will not be changed, making window creation faster and application switching much smoother. This is sometimes called windowed full screen or borderless full screen window and counts as a full screen window. To create such a window, simply request the current video mode.

    +

    This also works for windowed mode windows that are made full screen.

    +
    const GLFWvidmode* mode = glfwGetVideoMode(monitor);
    glfwSetWindowMonitor(window, monitor, 0, 0, mode->width, mode->height, mode->refreshRate);

    Note that glfwGetVideoMode returns the current video mode of a monitor, so if you already have a full screen window on that monitor that you want to make windowed full screen, you need to have saved the desktop resolution before.

    +

    +Window destruction

    +

    When a window is no longer needed, destroy it with glfwDestroyWindow.

    +

    Window destruction always succeeds. Before the actual destruction, all callbacks are removed so no further events will be delivered for the window. All windows remaining when glfwTerminate is called are destroyed as well.

    +

    When a full screen window is destroyed, the original video mode of its monitor is restored, but the gamma ramp is left untouched.

    +

    +Window creation hints

    +

    There are a number of hints that can be set before the creation of a window and context. Some affect the window itself, others affect the framebuffer or context. These hints are set to their default values each time the library is initialized with glfwInit, can be set individually with glfwWindowHint and reset all at once to their defaults with glfwDefaultWindowHints.

    +

    Note that hints need to be set before the creation of the window and context you wish to have the specified attributes.

    +

    +Hard and soft constraints

    +

    Some window hints are hard constraints. These must match the available capabilities exactly for window and context creation to succeed. Hints that are not hard constraints are matched as closely as possible, but the resulting context and framebuffer may differ from what these hints requested.

    +

    The following hints are always hard constraints:

      +
    • GLFW_STEREO
    • +
    • GLFW_DOUBLEBUFFER
    • +
    • GLFW_CLIENT_API
    • +
    • GLFW_CONTEXT_CREATION_API
    • +
    +

    The following additional hints are hard constraints when requesting an OpenGL context, but are ignored when requesting an OpenGL ES context:

      +
    • GLFW_OPENGL_FORWARD_COMPAT
    • +
    • GLFW_OPENGL_PROFILE
    • +
    +

    +Window related hints

    +

    GLFW_RESIZABLE specifies whether the windowed mode window will be resizable by the user. The window will still be resizable using the glfwSetWindowSize function. This hint is ignored for full screen windows.

    +

    GLFW_VISIBLE specifies whether the windowed mode window will be initially visible. This hint is ignored for full screen windows.

    +

    GLFW_DECORATED specifies whether the windowed mode window will have window decorations such as a border, a close widget, etc. An undecorated window may still allow the user to generate close events on some platforms. This hint is ignored for full screen windows.

    +

    GLFW_FOCUSED specifies whether the windowed mode window will be given input focus when created. This hint is ignored for full screen and initially hidden windows.

    +

    GLFW_AUTO_ICONIFY specifies whether the full screen window will automatically iconify and restore the previous video mode on input focus loss. This hint is ignored for windowed mode windows.

    +

    GLFW_FLOATING specifies whether the windowed mode window will be floating above other regular windows, also called topmost or always-on-top. This is intended primarily for debugging purposes and cannot be used to implement proper full screen windows. This hint is ignored for full screen windows.

    +

    GLFW_MAXIMIZED specifies whether the windowed mode window will be maximized when created. This hint is ignored for full screen windows.

    +

    +Framebuffer related hints

    +

    GLFW_RED_BITS, GLFW_GREEN_BITS, GLFW_BLUE_BITS, GLFW_ALPHA_BITS, GLFW_DEPTH_BITS and GLFW_STENCIL_BITS specify the desired bit depths of the various components of the default framebuffer. GLFW_DONT_CARE means the application has no preference.

    +

    GLFW_ACCUM_RED_BITS, GLFW_ACCUM_GREEN_BITS, GLFW_ACCUM_BLUE_BITS and GLFW_ACCUM_ALPHA_BITS specify the desired bit depths of the various components of the accumulation buffer. GLFW_DONT_CARE means the application has no preference.

    +
    Accumulation buffers are a legacy OpenGL feature and should not be used in new code.
    +

    GLFW_AUX_BUFFERS specifies the desired number of auxiliary buffers. GLFW_DONT_CARE means the application has no preference.

    +
    Auxiliary buffers are a legacy OpenGL feature and should not be used in new code.
    +

    GLFW_STEREO specifies whether to use stereoscopic rendering. This is a hard constraint.

    +

    GLFW_SAMPLES specifies the desired number of samples to use for multisampling. Zero disables multisampling. GLFW_DONT_CARE means the application has no preference.

    +

    GLFW_SRGB_CAPABLE specifies whether the framebuffer should be sRGB capable. If supported, a created OpenGL context will support the GL_FRAMEBUFFER_SRGB enable, also called GL_FRAMEBUFFER_SRGB_EXT) for controlling sRGB rendering and a created OpenGL ES context will always have sRGB rendering enabled.

    +

    GLFW_DOUBLEBUFFER specifies whether the framebuffer should be double buffered. You nearly always want to use double buffering. This is a hard constraint.

    +

    +Monitor related hints

    +

    GLFW_REFRESH_RATE specifies the desired refresh rate for full screen windows. If set to GLFW_DONT_CARE, the highest available refresh rate will be used. This hint is ignored for windowed mode windows.

    +

    +Context related hints

    +

    GLFW_CLIENT_API specifies which client API to create the context for. Possible values are GLFW_OPENGL_API, GLFW_OPENGL_ES_API and GLFW_NO_API. This is a hard constraint.

    +

    GLFW_CONTEXT_CREATION_API specifies which context creation API to use to create the context. Possible values are GLFW_NATIVE_CONTEXT_API and GLFW_EGL_CONTEXT_API. This is a hard constraint. If no client API is requested, this hint is ignored.

    +
    OS X: The EGL API is not available on this platform and requests to use it will fail.
    +
    Wayland, Mir: The EGL API is the native context creation API, so this hint will have no effect.
    +
    Note
    An OpenGL extension loader library that assumes it knows which context creation API is used on a given platform may fail if you change this hint. This can be resolved by having it load via glfwGetProcAddress, which always uses the selected API.
    +
    Bug:
    On some Linux systems, creating contexts via both the native and EGL APIs in a single process will cause the application to segfault. Stick to one API or the other on Linux for now.
    +

    GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR specify the client API version that the created context must be compatible with. The exact behavior of these hints depend on the requested client API.

    +
    OpenGL: GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR are not hard constraints, but creation will fail if the OpenGL version of the created context is less than the one requested. It is therefore perfectly safe to use the default of version 1.0 for legacy code and you will still get backwards-compatible contexts of version 3.0 and above when available.
    +
    While there is no way to ask the driver for a context of the highest supported version, GLFW will attempt to provide this when you ask for a version 1.0 context, which is the default for these hints.
    +
    OpenGL ES: GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR are not hard constraints, but creation will fail if the OpenGL ES version of the created context is less than the one requested. Additionally, OpenGL ES 1.x cannot be returned if 2.0 or later was requested, and vice versa. This is because OpenGL ES 3.x is backward compatible with 2.0, but OpenGL ES 2.0 is not backward compatible with 1.x.
    +

    GLFW_OPENGL_FORWARD_COMPAT specifies whether the OpenGL context should be forward-compatible, i.e. one where all functionality deprecated in the requested version of OpenGL is removed. This must only be used if the requested OpenGL version is 3.0 or above. If OpenGL ES is requested, this hint is ignored.

    +
    Forward-compatibility is described in detail in the OpenGL Reference Manual.
    +

    GLFW_OPENGL_DEBUG_CONTEXT specifies whether to create a debug OpenGL context, which may have additional error and performance issue reporting functionality. If OpenGL ES is requested, this hint is ignored.

    +

    GLFW_OPENGL_PROFILE specifies which OpenGL profile to create the context for. Possible values are one of GLFW_OPENGL_CORE_PROFILE or GLFW_OPENGL_COMPAT_PROFILE, or GLFW_OPENGL_ANY_PROFILE to not request a specific profile. If requesting an OpenGL version below 3.2, GLFW_OPENGL_ANY_PROFILE must be used. If OpenGL ES is requested, this hint is ignored.

    +
    OpenGL profiles are described in detail in the OpenGL Reference Manual.
    +

    GLFW_CONTEXT_ROBUSTNESS specifies the robustness strategy to be used by the context. This can be one of GLFW_NO_RESET_NOTIFICATION or GLFW_LOSE_CONTEXT_ON_RESET, or GLFW_NO_ROBUSTNESS to not request a robustness strategy.

    +

    GLFW_CONTEXT_RELEASE_BEHAVIOR specifies the release behavior to be used by the context. Possible values are one of GLFW_ANY_RELEASE_BEHAVIOR, GLFW_RELEASE_BEHAVIOR_FLUSH or GLFW_RELEASE_BEHAVIOR_NONE. If the behavior is GLFW_ANY_RELEASE_BEHAVIOR, the default behavior of the context creation API will be used. If the behavior is GLFW_RELEASE_BEHAVIOR_FLUSH, the pipeline will be flushed whenever the context is released from being the current one. If the behavior is GLFW_RELEASE_BEHAVIOR_NONE, the pipeline will not be flushed on release.

    +
    Context release behaviors are described in detail by the GL_KHR_context_flush_control extension.
    +

    GLFW_CONTEXT_NO_ERROR specifies whether errors should be generated by the context. If enabled, situations that would have generated errors instead cause undefined behavior.

    +
    The no error mode for OpenGL and OpenGL ES is described in detail by the GL_KHR_no_error extension.
    +
    Note
    This hint is experimental in its current state. There are currently (October 2015) no corresponding WGL or GLX extensions. That makes this hint a hard constraint for those backends, as creation will fail if unsupported context flags are requested. Once the extensions are available, they will be required and creation of GL_KHR_no_error contexts may fail on early drivers where this flag is supported without those extensions being listed.
    +

    +Supported and default values

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Window hint Default value Supported values
    GLFW_RESIZABLE GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_VISIBLE GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_DECORATED GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_FOCUSED GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_AUTO_ICONIFY GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_FLOATING GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_MAXIMIZED GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_RED_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_GREEN_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_BLUE_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ALPHA_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_DEPTH_BITS 24 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_STENCIL_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ACCUM_RED_BITS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ACCUM_GREEN_BITS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ACCUM_BLUE_BITS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ACCUM_ALPHA_BITS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_AUX_BUFFERS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_SAMPLES 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_REFRESH_RATE GLFW_DONT_CARE 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_STEREO GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_SRGB_CAPABLE GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_DOUBLEBUFFER GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_CLIENT_API GLFW_OPENGL_API GLFW_OPENGL_API, GLFW_OPENGL_ES_API or GLFW_NO_API
    GLFW_CONTEXT_CREATION_API GLFW_NATIVE_CONTEXT_API GLFW_NATIVE_CONTEXT_API or GLFW_EGL_CONTEXT_API
    GLFW_CONTEXT_VERSION_MAJOR 1 Any valid major version number of the chosen client API
    GLFW_CONTEXT_VERSION_MINOR 0 Any valid minor version number of the chosen client API
    GLFW_CONTEXT_ROBUSTNESS GLFW_NO_ROBUSTNESS GLFW_NO_ROBUSTNESS, GLFW_NO_RESET_NOTIFICATION or GLFW_LOSE_CONTEXT_ON_RESET
    GLFW_CONTEXT_RELEASE_BEHAVIOR GLFW_ANY_RELEASE_BEHAVIOR GLFW_ANY_RELEASE_BEHAVIOR, GLFW_RELEASE_BEHAVIOR_FLUSH or GLFW_RELEASE_BEHAVIOR_NONE
    GLFW_OPENGL_FORWARD_COMPAT GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_OPENGL_DEBUG_CONTEXT GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_OPENGL_PROFILE GLFW_OPENGL_ANY_PROFILE GLFW_OPENGL_ANY_PROFILE, GLFW_OPENGL_COMPAT_PROFILE or GLFW_OPENGL_CORE_PROFILE
    +

    +Window event processing

    +

    See Event processing.

    +

    +Window properties and events

    +

    +User pointer

    +

    Each window has a user pointer that can be set with glfwSetWindowUserPointer and fetched with glfwGetWindowUserPointer. This can be used for any purpose you need and will not be modified by GLFW throughout the life-time of the window.

    +

    The initial value of the pointer is NULL.

    +

    +Window closing and close flag

    +

    When the user attempts to close the window, for example by clicking the close widget or using a key chord like Alt+F4, the close flag of the window is set. The window is however not actually destroyed and, unless you watch for this state change, nothing further happens.

    +

    The current state of the close flag is returned by glfwWindowShouldClose and can be set or cleared directly with glfwSetWindowShouldClose. A common pattern is to use the close flag as a main loop condition.

    +
    while (!glfwWindowShouldClose(window))
    {
    render(window);
    glfwSwapBuffers(window);
    }

    If you wish to be notified when the user attempts to close a window, set a close callback.

    +
    glfwSetWindowCloseCallback(window, window_close_callback);

    The callback function is called directly after the close flag has been set. It can be used for example to filter close requests and clear the close flag again unless certain conditions are met.

    +
    void window_close_callback(GLFWwindow* window)
    {
    if (!time_to_close)
    }

    +Window size

    +

    The size of a window can be changed with glfwSetWindowSize. For windowed mode windows, this sets the size, in screen coordinates of the client area or content area of the window. The window system may impose limits on window size.

    +
    glfwSetWindowSize(window, 640, 480);

    For full screen windows, the specified size becomes the new resolution of the window's desired video mode. The video mode most closely matching the new desired video mode is set immediately. The window is resized to fit the resolution of the set video mode.

    +

    If you wish to be notified when a window is resized, whether by the user or the system, set a size callback.

    +
    glfwSetWindowSizeCallback(window, window_size_callback);

    The callback function receives the new size, in screen coordinates, of the client area of the window when it is resized.

    +
    void window_size_callback(GLFWwindow* window, int width, int height)
    {
    }

    There is also glfwGetWindowSize for directly retrieving the current size of a window.

    +
    int width, height;
    glfwGetWindowSize(window, &width, &height);
    Note
    Do not pass the window size to glViewport or other pixel-based OpenGL calls. The window size is in screen coordinates, not pixels. Use the framebuffer size, which is in pixels, for pixel-based calls.
    +

    The above functions work with the size of the client area, but decorated windows typically have title bars and window frames around this rectangle. You can retrieve the extents of these with glfwGetWindowFrameSize.

    +
    int left, top, right, bottom;
    glfwGetWindowFrameSize(window, &left, &top, &right, &bottom);

    The returned values are the distances, in screen coordinates, from the edges of the client area to the corresponding edges of the full window. As they are distances and not coordinates, they are always zero or positive.

    +

    +Framebuffer size

    +

    While the size of a window is measured in screen coordinates, OpenGL works with pixels. The size you pass into glViewport, for example, should be in pixels. On some machines screen coordinates and pixels are the same, but on others they will not be. There is a second set of functions to retrieve the size, in pixels, of the framebuffer of a window.

    +

    If you wish to be notified when the framebuffer of a window is resized, whether by the user or the system, set a size callback.

    +
    glfwSetFramebufferSizeCallback(window, framebuffer_size_callback);

    The callback function receives the new size of the framebuffer when it is resized, which can for example be used to update the OpenGL viewport.

    +
    void framebuffer_size_callback(GLFWwindow* window, int width, int height)
    {
    glViewport(0, 0, width, height);
    }

    There is also glfwGetFramebufferSize for directly retrieving the current size of the framebuffer of a window.

    +
    int width, height;
    glfwGetFramebufferSize(window, &width, &height);
    glViewport(0, 0, width, height);

    The size of a framebuffer may change independently of the size of a window, for example if the window is dragged between a regular monitor and a high-DPI one.

    +

    +Window size limits

    +

    The minimum and maximum size of the client area of a windowed mode window can be enforced with glfwSetWindowSizeLimits. The user may resize the window to any size and aspect ratio within the specified limits, unless the aspect ratio is also set.

    +
    glfwSetWindowSizeLimits(window, 200, 200, 400, 400);

    To specify only a minimum size or only a maximum one, set the other pair to GLFW_DONT_CARE.

    +

    To disable size limits for a window, set them all to GLFW_DONT_CARE.

    +

    The aspect ratio of the client area of a windowed mode window can be enforced with glfwSetWindowAspectRatio. The user may resize the window freely unless size limits are also set, but the size will be constrained to maintain the aspect ratio.

    +
    glfwSetWindowAspectRatio(window, 16, 9);

    The aspect ratio is specified as a numerator and denominator, corresponding to the width and height, respectively. If you want a window to maintain its current aspect ratio, simply use its current size as the ratio.

    +
    int width, height;
    glfwGetWindowSize(window, &width, &height);
    glfwSetWindowAspectRatio(window, width, height);

    To disable the aspect ratio limit for a window, set both terms to GLFW_DONT_CARE.

    +

    You can have both size limits and aspect ratio set for a window, but the results are undefined if they conflict.

    +

    +Window position

    +

    The position of a windowed-mode window can be changed with glfwSetWindowPos. This moves the window so that the upper-left corner of its client area has the specified screen coordinates. The window system may put limitations on window placement.

    +
    glfwSetWindowPos(window, 100, 100);

    If you wish to be notified when a window is moved, whether by the user, system or your own code, set a position callback.

    +
    glfwSetWindowPosCallback(window, window_pos_callback);

    The callback function receives the new position of the upper-left corner of the client area when the window is moved.

    +
    void window_pos_callback(GLFWwindow* window, int xpos, int ypos)
    {
    }

    There is also glfwGetWindowPos for directly retrieving the current position of the client area of the window.

    +
    int xpos, ypos;
    glfwGetWindowPos(window, &xpos, &ypos);

    +Window title

    +

    All GLFW windows have a title, although undecorated or full screen windows may not display it or only display it in a task bar or similar interface. You can set a UTF-8 encoded window title with glfwSetWindowTitle.

    +
    glfwSetWindowTitle(window, "My Window");

    The specified string is copied before the function returns, so there is no need to keep it around.

    +

    As long as your source file is encoded as UTF-8, you can use any Unicode characters directly in the source.

    +
    glfwSetWindowTitle(window, "カウボーイビバップ");

    If you are using C++11 or C11, you can use a UTF-8 string literal.

    +
    glfwSetWindowTitle(window, u8"This is always a UTF-8 string");

    +Window icon

    +

    Decorated windows have icons on some platforms. You can set this icon by specifying a list of candidate images with glfwSetWindowIcon.

    +
    GLFWimage images[2];
    images[0] = load_icon("my_icon.png");
    images[1] = load_icon("my_icon_small.png");
    glfwSetWindowIcon(window, 2, images);

    To revert to the default window icon, pass in an empty image array.

    +
    glfwSetWindowIcon(window, 0, NULL);

    +Window monitor

    +

    Full screen windows are associated with a specific monitor. You can get the handle for this monitor with glfwGetWindowMonitor.

    +
    GLFWmonitor* monitor = glfwGetWindowMonitor(window);

    This monitor handle is one of those returned by glfwGetMonitors.

    +

    For windowed mode windows, this function returns NULL. This is how to tell full screen windows from windowed mode windows.

    +

    You can move windows between monitors or between full screen and windowed mode with glfwSetWindowMonitor. When making a window full screen on the same or on a different monitor, specify the desired monitor, resolution and refresh rate. The position arguments are ignored.

    +
    const GLFWvidmode* mode = glfwGetVideoMode(monitor);
    glfwSetWindowMonitor(window, monitor, 0, 0, mode->width, mode->height, mode->refreshRate);

    When making the window windowed, specify the desired position and size. The refresh rate argument is ignored.

    +
    glfwSetWindowMonitor(window, NULL, xpos, ypos, width, height, 0);

    This restores any previous window settings such as whether it is decorated, floating, resizable, has size or aspect ratio limits, etc.. To restore a window that was originally windowed to its original size and position, save these before making it full screen and then pass them in as above.

    +

    +Window iconification

    +

    Windows can be iconified (i.e. minimized) with glfwIconifyWindow.

    +

    When a full screen window is iconified, the original video mode of its monitor is restored until the user or application restores the window.

    +

    Iconified windows can be restored with glfwRestoreWindow.

    +

    When a full screen window is restored, the desired video mode is restored to its monitor as well.

    +

    If you wish to be notified when a window is iconified or restored, whether by the user, system or your own code, set a iconify callback.

    +
    glfwSetWindowIconifyCallback(window, window_iconify_callback);

    The callback function receives changes in the iconification state of the window.

    +
    void window_iconify_callback(GLFWwindow* window, int iconified)
    {
    if (iconified)
    {
    // The window was iconified
    }
    else
    {
    // The window was restored
    }
    }

    You can also get the current iconification state with glfwGetWindowAttrib.

    +
    int iconified = glfwGetWindowAttrib(window, GLFW_ICONIFIED);

    +Window visibility

    +

    Windowed mode windows can be hidden with glfwHideWindow.

    +

    This makes the window completely invisible to the user, including removing it from the task bar, dock or window list. Full screen windows cannot be hidden and calling glfwHideWindow on a full screen window does nothing.

    +

    Hidden windows can be shown with glfwShowWindow.

    +

    Windowed mode windows can be created initially hidden with the GLFW_VISIBLE window hint. Windows created hidden are completely invisible to the user until shown. This can be useful if you need to set up your window further before showing it, for example moving it to a specific location.

    +

    You can also get the current visibility state with glfwGetWindowAttrib.

    +
    int visible = glfwGetWindowAttrib(window, GLFW_VISIBLE);

    +Window input focus

    +

    Windows can be given input focus and brought to the front with glfwFocusWindow.

    +

    If you wish to be notified when a window gains or loses input focus, whether by the user, system or your own code, set a focus callback.

    +
    glfwSetWindowFocusCallback(window, window_focus_callback);

    The callback function receives changes in the input focus state of the window.

    +
    void window_focus_callback(GLFWwindow* window, int focused)
    {
    if (focused)
    {
    // The window gained input focus
    }
    else
    {
    // The window lost input focus
    }
    }

    You can also get the current input focus state with glfwGetWindowAttrib.

    +
    int focused = glfwGetWindowAttrib(window, GLFW_FOCUSED);

    +Window damage and refresh

    +

    If you wish to be notified when the contents of a window is damaged and needs to be refreshed, set a window refresh callback.

    +
    glfwSetWindowRefreshCallback(m_handle, window_refresh_callback);

    The callback function is called when the contents of the window needs to be refreshed.

    +
    void window_refresh_callback(GLFWwindow* window)
    {
    draw_editor_ui(window);
    glfwSwapBuffers(window);
    }
    Note
    On compositing window systems such as Aero, Compiz or Aqua, where the window contents are saved off-screen, this callback might only be called when the window or framebuffer is resized.
    +

    +Window attributes

    +

    Windows have a number of attributes that can be returned using glfwGetWindowAttrib. Some reflect state that may change during the lifetime of the window, while others reflect the corresponding hints and are fixed at the time of creation. Some are related to the actual window and others to its context.

    +
    {
    // window has input focus
    }

    +Window related attributes

    +

    GLFW_FOCUSED indicates whether the specified window has input focus. Initial input focus is controlled by the window hint with the same name.
    + GLFW_ICONIFIED indicates whether the specified window is iconified, whether by the user or with glfwIconifyWindow.

    +

    GLFW_MAXIMIZED indicates whether the specified window is maximized, whether by the user or with glfwMaximizeWindow.

    +

    GLFW_VISIBLE indicates whether the specified window is visible. Window visibility can be controlled with glfwShowWindow and glfwHideWindow and initial visibility is controlled by the window hint with the same name.
    + GLFW_RESIZABLE indicates whether the specified window is resizable by the user. This is set on creation with the window hint with the same name.

    +

    GLFW_DECORATED indicates whether the specified window has decorations such as a border, a close widget, etc. This is set on creation with the window hint with the same name.

    +

    GLFW_FLOATING indicates whether the specified window is floating, also called topmost or always-on-top. This is controlled by the window hint with the same name.

    +

    +Context related attributes

    +

    GLFW_CLIENT_API indicates the client API provided by the window's context; either GLFW_OPENGL_API, GLFW_OPENGL_ES_API or GLFW_NO_API.

    +

    GLFW_CONTEXT_CREATION_API indicates the context creation API used to create the window's context; either GLFW_NATIVE_CONTEXT_API or GLFW_EGL_CONTEXT_API.

    +

    GLFW_CONTEXT_VERSION_MAJOR, GLFW_CONTEXT_VERSION_MINOR and GLFW_CONTEXT_REVISION indicate the client API version of the window's context.

    +

    GLFW_OPENGL_FORWARD_COMPAT is GLFW_TRUE if the window's context is an OpenGL forward-compatible one, or GLFW_FALSE otherwise.

    +

    GLFW_OPENGL_DEBUG_CONTEXT is GLFW_TRUE if the window's context is an OpenGL debug context, or GLFW_FALSE otherwise.

    +

    GLFW_OPENGL_PROFILE indicates the OpenGL profile used by the context. This is GLFW_OPENGL_CORE_PROFILE or GLFW_OPENGL_COMPAT_PROFILE if the context uses a known profile, or GLFW_OPENGL_ANY_PROFILE if the OpenGL profile is unknown or the context is an OpenGL ES context. Note that the returned profile may not match the profile bits of the context flags, as GLFW will try other means of detecting the profile when no bits are set.

    +

    GLFW_CONTEXT_ROBUSTNESS indicates the robustness strategy used by the context. This is GLFW_LOSE_CONTEXT_ON_RESET or GLFW_NO_RESET_NOTIFICATION if the window's context supports robustness, or GLFW_NO_ROBUSTNESS otherwise.

    +

    +Framebuffer related attributes

    +

    GLFW does not expose attributes of the default framebuffer (i.e. the framebuffer attached to the window) as these can be queried directly with either OpenGL, OpenGL ES or Vulkan.

    +

    If you are using version 3.0 or later of OpenGL or OpenGL ES, the glGetFramebufferAttachmentParameteriv function can be used to retrieve the number of bits for the red, green, blue, alpha, depth and stencil buffer channels. Otherwise, the glGetIntegerv function can be used.

    +

    The number of MSAA samples are always retrieved with glGetIntegerv. For contexts supporting framebuffer objects, the number of samples of the currently bound framebuffer is returned.

    + + + + + + + + + + + + + + + + + +
    Attribute glGetIntegerv glGetFramebufferAttachmentParameteriv
    Red bits GL_RED_BITS GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE
    Green bits GL_GREEN_BITS GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE
    Blue bits GL_BLUE_BITS GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE
    Alpha bits GL_ALPHA_BITS GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE
    Depth bits GL_DEPTH_BITS GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE
    Stencil bits GL_STENCIL_BITS GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE
    MSAA samples GL_SAMPLES Not provided by this function
    +

    When calling glGetFramebufferAttachmentParameteriv, the red, green, blue and alpha sizes are queried from the GL_BACK_LEFT, while the depth and stencil sizes are queried from the GL_DEPTH and GL_STENCIL attachments, respectively.

    +

    +Buffer swapping

    +

    GLFW windows are by default double buffered. That means that you have two rendering buffers; a front buffer and a back buffer. The front buffer is the one being displayed and the back buffer the one you render to.

    +

    When the entire frame has been rendered, it is time to swap the back and the front buffers in order to display what has been rendered and begin rendering a new frame. This is done with glfwSwapBuffers.

    +

    Sometimes it can be useful to select when the buffer swap will occur. With the function glfwSwapInterval it is possible to select the minimum number of monitor refreshes the driver wait should from the time glfwSwapBuffers was called before swapping the buffers:

    +

    If the interval is zero, the swap will take place immediately when glfwSwapBuffers is called without waiting for a refresh. Otherwise at least interval retraces will pass between each buffer swap. Using a swap interval of zero can be useful for benchmarking purposes, when it is not desirable to measure the time it takes to wait for the vertical retrace. However, a swap interval of one lets you avoid tearing.

    +

    Note that this may not work on all machines, as some drivers have user-controlled settings that override any swap interval the application requests.

    +
    + + + diff --git a/docs/3.3.1 b/docs/3.3.1 new file mode 120000 index 0000000..f30101c --- /dev/null +++ b/docs/3.3.1 @@ -0,0 +1 @@ +3.3 \ No newline at end of file diff --git a/docs/3.3.2 b/docs/3.3.2 new file mode 120000 index 0000000..f30101c --- /dev/null +++ b/docs/3.3.2 @@ -0,0 +1 @@ +3.3 \ No newline at end of file diff --git a/docs/3.3.3 b/docs/3.3.3 new file mode 120000 index 0000000..f30101c --- /dev/null +++ b/docs/3.3.3 @@ -0,0 +1 @@ +3.3 \ No newline at end of file diff --git a/docs/3.3/bc_s.png b/docs/3.3/bc_s.png new file mode 100644 index 0000000000000000000000000000000000000000..224b29aa9847d5a4b3902efd602b7ddf7d33e6c2 GIT binary patch literal 676 zcmV;V0$crwP)y__>=_9%My z{n931IS})GlGUF8K#6VIbs%684A^L3@%PlP2>_sk`UWPq@f;rU*V%rPy_ekbhXT&s z(GN{DxFv}*vZp`F>S!r||M`I*nOwwKX+BC~3P5N3-)Y{65c;ywYiAh-1*hZcToLHK ztpl1xomJ+Yb}K(cfbJr2=GNOnT!UFA7Vy~fBz8?J>XHsbZoDad^8PxfSa0GDgENZS zuLCEqzb*xWX2CG*b&5IiO#NzrW*;`VC9455M`o1NBh+(k8~`XCEEoC1Ybwf;vr4K3 zg|EB<07?SOqHp9DhLpS&bzgo70I+ghB_#)K7H%AMU3v}xuyQq9&Bm~++VYhF09a+U zl7>n7Jjm$K#b*FONz~fj;I->Bf;ule1prFN9FovcDGBkpg>)O*-}eLnC{6oZHZ$o% zXKW$;0_{8hxHQ>l;_*HATI(`7t#^{$(zLe}h*mqwOc*nRY9=?Sx4OOeVIfI|0V(V2 zBrW#G7Ss9wvzr@>H*`r>zE z+e8bOBgqIgldUJlG(YUDviMB`9+DH8n-s9SXRLyJHO1!=wY^79WYZMTa(wiZ!zP66 zA~!21vmF3H2{ngD;+`6j#~6j;$*f*G_2ZD1E;9(yaw7d-QnSCpK(cR1zU3qU0000< KMNUMnLSTYoA~SLT literal 0 HcmV?d00001 diff --git a/docs/3.3/bdwn.png b/docs/3.3/bdwn.png new file mode 100644 index 0000000000000000000000000000000000000000..940a0b950443a0bb1b216ac03c45b8a16c955452 GIT binary patch literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^>_E)H!3HEvS)PKZC{Gv1kP61Pb5HX&C2wk~_T + + + + + + +GLFW: Bug List + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Bug List
    +
    +
    +
    +
    Page Window guide
    +
    On some Linux systems, creating contexts via both the native and EGL APIs in a single process will cause the application to segfault. Stick to one API or the other on Linux for now.
    +
    +
    +
    + + + diff --git a/docs/3.3/build.html b/docs/3.3/build.html new file mode 120000 index 0000000..c7922c8 --- /dev/null +++ b/docs/3.3/build.html @@ -0,0 +1 @@ +build_guide.html \ No newline at end of file diff --git a/docs/3.3/build_8dox.html b/docs/3.3/build_8dox.html new file mode 100644 index 0000000..fa93fe8 --- /dev/null +++ b/docs/3.3/build_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: build.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    build.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.3/build_guide.html b/docs/3.3/build_guide.html new file mode 100644 index 0000000..11109a2 --- /dev/null +++ b/docs/3.3/build_guide.html @@ -0,0 +1,192 @@ + + + + + + + +GLFW: Building applications + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Building applications
    +
    +
    + +

    This is about compiling and linking applications that use GLFW. For information on how to write such applications, start with the introductory tutorial. For information on how to compile the GLFW library itself, see Compiling GLFW.

    +

    This is not a tutorial on compilation or linking. It assumes basic understanding of how to compile and link a C program as well as how to use the specific compiler of your chosen development environment. The compilation and linking process should be explained in your C programming material and in the documentation for your development environment.

    +

    +Including the GLFW header file

    +

    You should include the GLFW header in the source files where you use OpenGL or GLFW.

    +
    #include <GLFW/glfw3.h>
    +

    This header defines all the constants and declares all the types and function prototypes of the GLFW API. By default it also includes the OpenGL header from your development environment. See option macros below for how to select OpenGL ES headers and more.

    +

    The GLFW header also defines any platform-specific macros needed by your OpenGL header, so that it can be included without needing any window system headers.

    +

    It does this only when needed, so if window system headers are included, the GLFW header does not try to redefine those symbols. The reverse is not true, i.e. windows.h cannot cope if any Win32 symbols have already been defined.

    +

    In other words:

    +
      +
    • Use the GLFW header to include OpenGL or OpenGL ES headers portably
    • +
    • Do not include window system headers unless you will use those APIs directly
    • +
    • If you do need such headers, include them before the GLFW header
    • +
    +

    If you are using an OpenGL extension loading library such as glad, the extension loader header should be included before the GLFW one. GLFW attempts to detect any OpenGL or OpenGL ES header or extension loader header included before it and will then disable the inclusion of the default OpenGL header. Most extension loaders also define macros that disable similar headers below it.

    +
    #include <glad/gl.h>
    +
    #include <GLFW/glfw3.h>
    +

    Both of these mechanisms depend on the extension loader header defining a known macro. If yours doesn't or you don't know which one your users will pick, the GLFW_INCLUDE_NONE macro will explicitly to prevent the GLFW header from including the OpenGL header. This will also allow you to include the two headers in any order.

    +
    #define GLFW_INCLUDE_NONE
    +
    #include <GLFW/glfw3.h>
    +
    #include <glad/gl.h>
    +

    +GLFW header option macros

    +

    These macros may be defined before the inclusion of the GLFW header and affect its behavior.

    +

    GLFW_DLL is required on Windows when using the GLFW DLL, to tell the compiler that the GLFW functions are defined in a DLL.

    +

    The following macros control which OpenGL or OpenGL ES API header is included. Only one of these may be defined at a time.

    +
    Note
    GLFW does not provide any of the API headers mentioned below. They are provided by your development environment or your OpenGL, OpenGL ES or Vulkan SDK, and most of them can be downloaded from the Khronos Registry.
    +

    GLFW_INCLUDE_GLCOREARB makes the GLFW header include the modern GL/glcorearb.h header (OpenGL/gl3.h on macOS) instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES1 makes the GLFW header include the OpenGL ES 1.x GLES/gl.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES2 makes the GLFW header include the OpenGL ES 2.0 GLES2/gl2.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES3 makes the GLFW header include the OpenGL ES 3.0 GLES3/gl3.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES31 makes the GLFW header include the OpenGL ES 3.1 GLES3/gl31.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES32 makes the GLFW header include the OpenGL ES 3.2 GLES3/gl32.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_NONE makes the GLFW header not include any OpenGL or OpenGL ES API header. This is useful in combination with an extension loading library.

    +

    If none of the above inclusion macros are defined, the standard OpenGL GL/gl.h header (OpenGL/gl.h on macOS) is included, unless GLFW detects the inclusion guards of any OpenGL, OpenGL ES or extension loader header it knows about.

    +

    The following macros control the inclusion of additional API headers. Any number of these may be defined simultaneously, and/or together with one of the above macros.

    +

    GLFW_INCLUDE_VULKAN makes the GLFW header include the Vulkan vulkan/vulkan.h header in addition to any selected OpenGL or OpenGL ES header.

    +

    GLFW_INCLUDE_GLEXT makes the GLFW header include the appropriate extension header for the OpenGL or OpenGL ES header selected above after and in addition to that header.

    +

    GLFW_INCLUDE_GLU makes the header include the GLU header in addition to the header selected above. This should only be used with the standard OpenGL header and only for compatibility with legacy code. GLU has been deprecated and should not be used in new code.

    +
    Note
    None of these macros may be defined during the compilation of GLFW itself. If your build includes GLFW and you define any these in your build files, make sure they are not applied to the GLFW sources.
    +

    +Link with the right libraries

    +

    GLFW is essentially a wrapper of various platform-specific APIs and therefore needs to link against many different system libraries. If you are using GLFW as a shared library / dynamic library / DLL then it takes care of these links. However, if you are using GLFW as a static library then your executable will need to link against these libraries.

    +

    On Windows and macOS, the list of system libraries is static and can be hard-coded into your build environment. See the section for your development environment below. On Linux and other Unix-like operating systems, the list varies but can be retrieved in various ways as described below.

    +

    A good general introduction to linking is Beginner's Guide to Linkers by David Drysdale.

    +

    +With MinGW or Visual C++ on Windows

    +

    The static version of the GLFW library is named glfw3. When using this version, it is also necessary to link with some libraries that GLFW uses.

    +

    When using MinGW to link an application with the static version of GLFW, you must also explicitly link with gdi32. Other toolchains including MinGW-w64 include it in the set of default libraries along with other dependencies like user32 and kernel32.

    +

    The link library for the GLFW DLL is named glfw3dll. When compiling an application that uses the DLL version of GLFW, you need to define the GLFW_DLL macro before any inclusion of the GLFW header. This can be done either with a compiler switch or by defining it in your source code.

    +

    +With CMake and GLFW source

    +

    This section is about using CMake to compile and link GLFW along with your application. If you want to use an installed binary instead, see With CMake and installed GLFW binaries.

    +

    With a few changes to your CMakeLists.txt you can have the GLFW source tree built along with your application.

    +

    When including GLFW as part of your build, you probably don't want to build the GLFW tests, examples and documentation. To disable these, set the corresponding cache variables before adding the GLFW source tree.

    +
    set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE)
    +
    set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
    +
    set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
    +

    Add the root directory of the GLFW source tree to your project. This will add the glfw target to your project.

    +
    add_subdirectory(path/to/glfw)
    +

    Once GLFW has been added, link your application against the glfw target. This adds the GLFW library and its link-time dependencies as it is currently configured, the include directory for the GLFW header and, when applicable, the GLFW_DLL macro.

    +
    target_link_libraries(myapp glfw)
    +

    Note that the glfw target does not depend on OpenGL, as GLFW loads any OpenGL, OpenGL ES or Vulkan libraries it needs at runtime. If your application calls OpenGL directly, instead of using a modern extension loader library, use the OpenGL CMake package.

    +
    find_package(OpenGL REQUIRED)
    +

    If OpenGL is found, the OpenGL::GL target is added to your project, containing library and include directory paths. Link against this like any other library.

    +
    target_link_libraries(myapp OpenGL::GL)
    +

    For a minimal example of a program and GLFW sources built with CMake, see the GLFW CMake Starter on GitHub.

    +

    +With CMake and installed GLFW binaries

    +

    This section is about using CMake to link GLFW after it has been built and installed. If you want to build it along with your application instead, see With CMake and GLFW source.

    +

    With a few changes to your CMakeLists.txt you can locate the package and target files generated when GLFW is installed.

    +
    find_package(glfw3 3.3 REQUIRED)
    +

    Once GLFW has been added to the project, link against it with the glfw target. This adds the GLFW library and its link-time dependencies, the include directory for the GLFW header and, when applicable, the GLFW_DLL macro.

    +
    target_link_libraries(myapp glfw)
    +

    Note that the glfw target does not depend on OpenGL, as GLFW loads any OpenGL, OpenGL ES or Vulkan libraries it needs at runtime. If your application calls OpenGL directly, instead of using a modern extension loader library, use the OpenGL CMake package.

    +
    find_package(OpenGL REQUIRED)
    +

    If OpenGL is found, the OpenGL::GL target is added to your project, containing library and include directory paths. Link against this like any other library.

    +
    target_link_libraries(myapp OpenGL::GL)
    +

    +With makefiles and pkg-config on Unix

    +

    GLFW supports pkg-config, and the glfw3.pc pkg-config file is generated when the GLFW library is built and is installed along with it. A pkg-config file describes all necessary compile-time and link-time flags and dependencies needed to use a library. When they are updated or if they differ between systems, you will get the correct ones automatically.

    +

    A typical compile and link command-line when using the static version of the GLFW library may look like this:

    +
    cc $(pkg-config --cflags glfw3) -o myprog myprog.c $(pkg-config --static --libs glfw3)
    +

    If you are using the shared version of the GLFW library, omit the --static flag.

    +
    cc $(pkg-config --cflags glfw3) -o myprog myprog.c $(pkg-config --libs glfw3)
    +

    You can also use the glfw3.pc file without installing it first, by using the PKG_CONFIG_PATH environment variable.

    +
    env PKG_CONFIG_PATH=path/to/glfw/src cc $(pkg-config --cflags glfw3) -o myprog myprog.c $(pkg-config --libs glfw3)
    +

    The dependencies do not include OpenGL, as GLFW loads any OpenGL, OpenGL ES or Vulkan libraries it needs at runtime. If your application calls OpenGL directly, instead of using a modern extension loader library, you should add the gl pkg-config package.

    +
    cc $(pkg-config --cflags glfw3 gl) -o myprog myprog.c $(pkg-config --libs glfw3 gl)
    +

    +With Xcode on macOS

    +

    If you are using the dynamic library version of GLFW, add it to the project dependencies.

    +

    If you are using the static library version of GLFW, add it and the Cocoa, OpenGL and IOKit frameworks to the project as dependencies. They can all be found in /System/Library/Frameworks.

    +

    +With command-line on macOS

    +

    It is recommended that you use pkg-config when building from the command line on macOS. That way you will get any new dependencies added automatically. If you still wish to build manually, you need to add the required frameworks and libraries to your command-line yourself using the -l and -framework switches.

    +

    If you are using the dynamic GLFW library, which is named libglfw.3.dylib, do:

    +
    cc -o myprog myprog.c -lglfw -framework Cocoa -framework OpenGL -framework IOKit
    +

    If you are using the static library, named libglfw3.a, substitute -lglfw3 for -lglfw.

    +

    Note that you do not add the .framework extension to a framework when linking against it from the command-line.

    +
    Note
    Your machine may have libGL.*.dylib style OpenGL library, but that is for the X Window System and will not work with the macOS native version of GLFW.
    +
    +
    +
    The header of the GLFW 3 API.
    + + + diff --git a/docs/3.3/closed.png b/docs/3.3/closed.png new file mode 100644 index 0000000000000000000000000000000000000000..98cc2c909da37a6df914fbf67780eebd99c597f5 GIT binary patch literal 132 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{V-kvUwAr*{o@8{^CZMh(5KoB^r_<4^zF@3)Cp&&t3hdujKf f*?bjBoY!V+E))@{xMcbjXe@)LtDnm{r-UW|*e5JT literal 0 HcmV?d00001 diff --git a/docs/3.3/compat.html b/docs/3.3/compat.html new file mode 120000 index 0000000..59cff9e --- /dev/null +++ b/docs/3.3/compat.html @@ -0,0 +1 @@ +compat_guide.html \ No newline at end of file diff --git a/docs/3.3/compat_8dox.html b/docs/3.3/compat_8dox.html new file mode 100644 index 0000000..7d7d2cf --- /dev/null +++ b/docs/3.3/compat_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: compat.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    compat.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.3/compat_guide.html b/docs/3.3/compat_guide.html new file mode 100644 index 0000000..fcddf10 --- /dev/null +++ b/docs/3.3/compat_guide.html @@ -0,0 +1,145 @@ + + + + + + + +GLFW: Standards conformance + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Standards conformance
    +
    +
    + +

    This guide describes the various API extensions used by this version of GLFW. It lists what are essentially implementation details, but which are nonetheless vital knowledge for developers intending to deploy their applications on a wide range of machines.

    +

    The information in this guide is not a part of GLFW API, but merely preconditions for some parts of the library to function on a given machine. Any part of this information may change in future versions of GLFW and that will not be considered a breaking API change.

    +

    +X11 extensions, protocols and IPC standards

    +

    As GLFW uses Xlib directly, without any intervening toolkit library, it has sole responsibility for interacting well with the many and varied window managers in use on Unix-like systems. In order for applications and window managers to work well together, a number of standards and conventions have been developed that regulate behavior outside the scope of the X11 API; most importantly the Inter-Client Communication Conventions Manual (ICCCM) and Extended Window Manager Hints (EWMH) standards.

    +

    GLFW uses the _MOTIF_WM_HINTS window property to support borderless windows. If the running window manager does not support this property, the GLFW_DECORATED hint will have no effect.

    +

    GLFW uses the ICCCM WM_DELETE_WINDOW protocol to intercept the user attempting to close the GLFW window. If the running window manager does not support this protocol, the close callback will never be called.

    +

    GLFW uses the EWMH _NET_WM_PING protocol, allowing the window manager notify the user when the application has stopped responding, i.e. when it has ceased to process events. If the running window manager does not support this protocol, the user will not be notified if the application locks up.

    +

    GLFW uses the EWMH _NET_WM_STATE_FULLSCREEN window state to tell the window manager to make the GLFW window full screen. If the running window manager does not support this state, full screen windows may not work properly. GLFW has a fallback code path in case this state is unavailable, but every window manager behaves slightly differently in this regard.

    +

    GLFW uses the EWMH _NET_WM_BYPASS_COMPOSITOR window property to tell a compositing window manager to un-redirect full screen GLFW windows. If the running window manager uses compositing but does not support this property then additional copying may be performed for each buffer swap of full screen windows.

    +

    GLFW uses the clipboard manager protocol to push a clipboard string (i.e. selection) owned by a GLFW window about to be destroyed to the clipboard manager. If there is no running clipboard manager, the clipboard string will be unavailable once the window has been destroyed.

    +

    GLFW uses the X drag-and-drop protocol to provide file drop events. If the application originating the drag does not support this protocol, drag and drop will not work.

    +

    GLFW uses the XRandR 1.3 extension to provide multi-monitor support. If the running X server does not support this version of this extension, multi-monitor support will not function and only a single, desktop-spanning monitor will be reported.

    +

    GLFW uses the XRandR 1.3 and Xf86vidmode extensions to provide gamma ramp support. If the running X server does not support either or both of these extensions, gamma ramp support will not function.

    +

    GLFW uses the Xkb extension and detectable auto-repeat to provide keyboard input. If the running X server does not support this extension, a non-Xkb fallback path is used.

    +

    GLFW uses the XInput2 extension to provide raw, non-accelerated mouse motion when the cursor is disabled. If the running X server does not support this extension, regular accelerated mouse motion will be used.

    +

    GLFW uses both the XRender extension and the compositing manager to support transparent window framebuffers. If the running X server does not support this extension or there is no running compositing manager, the GLFW_TRANSPARENT_FRAMEBUFFER framebuffer hint will have no effect.

    +

    +Wayland protocols and IPC standards

    +

    As GLFW uses libwayland directly, without any intervening toolkit library, it has sole responsibility for interacting well with every compositor in use on Unix-like systems. Most of the features are provided by the core protocol, while cursor support is provided by the libwayland-cursor helper library, EGL integration by libwayland-egl, and keyboard handling by libxkbcommon. In addition, GLFW uses some protocols from wayland-protocols to provide additional features if the compositor supports them.

    +

    GLFW uses xkbcommon 0.5.0 to provide compose key support. When it has been built against an older xkbcommon, the compose key will be disabled even if it has been configured in the compositor.

    +

    GLFW uses the xdg-shell protocol to provide better window management. This protocol is part of wayland-protocols 1.12, and mandatory at build time. If the running compositor does not support this protocol, the older wl_shell interface will be used instead. This will result in a worse integration with the desktop, especially on tiling compositors.

    +

    GLFW uses the relative pointer protocol alongside the pointer constraints protocol to implement disabled cursor. These two protocols are part of wayland-protocols 1.1, and mandatory at build time. If the running compositor does not support both of these protocols, disabling the cursor will have no effect.

    +

    GLFW uses the idle inhibit protocol to prohibit the screensaver from starting. This protocol is part of wayland-protocols 1.6, and mandatory at build time. If the running compositor does not support this protocol, the screensaver may start even for full screen windows.

    +

    GLFW uses the xdg-decoration protocol to request decorations to be drawn around its windows. This protocol is part of wayland-protocols 1.15, and mandatory at build time. If the running compositor does not support this protocol, a very simple frame will be drawn by GLFW itself, using the viewporter protocol alongside subsurfaces. This protocol is part of wayland-protocols 1.4, and mandatory at build time. If the running compositor does not support this protocol either, no decorations will be drawn around windows.

    +

    +GLX extensions

    +

    The GLX API is the default API used to create OpenGL contexts on Unix-like systems using the X Window System.

    +

    GLFW uses the GLX 1.3 GLXFBConfig functions to enumerate and select framebuffer pixel formats. If GLX 1.3 is not supported, glfwInit will fail.

    +

    GLFW uses the GLX_MESA_swap_control, GLX_EXT_swap_control and GLX_SGI_swap_control extensions to provide vertical retrace synchronization (or vsync), in that order of preference. Where none of these extension are available, calling glfwSwapInterval will have no effect.

    +

    GLFW uses the GLX_ARB_multisample extension to create contexts with multisampling anti-aliasing. Where this extension is unavailable, the GLFW_SAMPLES hint will have no effect.

    +

    GLFW uses the GLX_ARB_create_context extension when available, even when creating OpenGL contexts of version 2.1 and below. Where this extension is unavailable, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will only be partially supported, the GLFW_OPENGL_DEBUG_CONTEXT hint will have no effect, and setting the GLFW_OPENGL_PROFILE or GLFW_OPENGL_FORWARD_COMPAT hints to GLFW_TRUE will cause glfwCreateWindow to fail.

    +

    GLFW uses the GLX_ARB_create_context_profile extension to provide support for context profiles. Where this extension is unavailable, setting the GLFW_OPENGL_PROFILE hint to anything but GLFW_OPENGL_ANY_PROFILE, or setting GLFW_CLIENT_API to anything but GLFW_OPENGL_API or GLFW_NO_API will cause glfwCreateWindow to fail.

    +

    GLFW uses the GLX_ARB_context_flush_control extension to provide control over whether a context is flushed when it is released (made non-current). Where this extension is unavailable, the GLFW_CONTEXT_RELEASE_BEHAVIOR hint will have no effect and the context will always be flushed when released.

    +

    GLFW uses the GLX_ARB_framebuffer_sRGB and GLX_EXT_framebuffer_sRGB extensions to provide support for sRGB framebuffers. Where both of these extensions are unavailable, the GLFW_SRGB_CAPABLE hint will have no effect.

    +

    +WGL extensions

    +

    The WGL API is used to create OpenGL contexts on Microsoft Windows and other implementations of the Win32 API, such as Wine.

    +

    GLFW uses either the WGL_EXT_extension_string or the WGL_ARB_extension_string extension to check for the presence of all other WGL extensions listed below. If both are available, the EXT one is preferred. If neither is available, no other extensions are used and many GLFW features related to context creation will have no effect or cause errors when used.

    +

    GLFW uses the WGL_EXT_swap_control extension to provide vertical retrace synchronization (or vsync). Where this extension is unavailable, calling glfwSwapInterval will have no effect.

    +

    GLFW uses the WGL_ARB_pixel_format and WGL_ARB_multisample extensions to create contexts with multisampling anti-aliasing. Where these extensions are unavailable, the GLFW_SAMPLES hint will have no effect.

    +

    GLFW uses the WGL_ARB_create_context extension when available, even when creating OpenGL contexts of version 2.1 and below. Where this extension is unavailable, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will only be partially supported, the GLFW_OPENGL_DEBUG_CONTEXT hint will have no effect, and setting the GLFW_OPENGL_PROFILE or GLFW_OPENGL_FORWARD_COMPAT hints to GLFW_TRUE will cause glfwCreateWindow to fail.

    +

    GLFW uses the WGL_ARB_create_context_profile extension to provide support for context profiles. Where this extension is unavailable, setting the GLFW_OPENGL_PROFILE hint to anything but GLFW_OPENGL_ANY_PROFILE will cause glfwCreateWindow to fail.

    +

    GLFW uses the WGL_ARB_context_flush_control extension to provide control over whether a context is flushed when it is released (made non-current). Where this extension is unavailable, the GLFW_CONTEXT_RELEASE_BEHAVIOR hint will have no effect and the context will always be flushed when released.

    +

    GLFW uses the WGL_ARB_framebuffer_sRGB and WGL_EXT_framebuffer_sRGB extensions to provide support for sRGB framebuffers. Where both of these extension are unavailable, the GLFW_SRGB_CAPABLE hint will have no effect.

    +

    +OpenGL on macOS

    +

    Support for OpenGL 3.2 and above was introduced with OS X 10.7 and even then only forward-compatible, core profile contexts are supported. Support for OpenGL 4.1 was introduced with OS X 10.9, also limited to forward-compatible, core profile contexts. There is also still no mechanism for requesting debug contexts or no-error contexts. Versions of Mac OS X earlier than 10.7 support at most OpenGL version 2.1.

    +

    Because of this, on OS X 10.7 and later, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will cause glfwCreateWindow to fail if given version 3.0 or 3.1. The GLFW_OPENGL_FORWARD_COMPAT hint must be set to GLFW_TRUE and the GLFW_OPENGL_PROFILE hint must be set to GLFW_OPENGL_CORE_PROFILE when creating OpenGL 3.2 and later contexts. The GLFW_OPENGL_DEBUG_CONTEXT and GLFW_CONTEXT_NO_ERROR hints are ignored.

    +

    Also, on Mac OS X 10.6 and below, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will fail if given a version above 2.1, setting the GLFW_OPENGL_PROFILE or GLFW_OPENGL_FORWARD_COMPAT hints to a non-default value will cause glfwCreateWindow to fail and the GLFW_OPENGL_DEBUG_CONTEXT hint is ignored.

    +

    +Vulkan loader and API

    +

    By default, GLFW uses the standard system-wide Vulkan loader to access the Vulkan API on all platforms except macOS. This is installed by both graphics drivers and Vulkan SDKs. If either the loader or at least one minimally functional ICD is missing, glfwVulkanSupported will return GLFW_FALSE and all other Vulkan-related functions will fail with an GLFW_API_UNAVAILABLE error.

    +

    +Vulkan WSI extensions

    +

    The Vulkan WSI extensions are used to create Vulkan surfaces for GLFW windows on all supported platforms.

    +

    GLFW uses the VK_KHR_surface and VK_KHR_win32_surface extensions to create surfaces on Microsoft Windows. If any of these extensions are not available, glfwGetRequiredInstanceExtensions will return an empty list and window surface creation will fail.

    +

    GLFW uses the VK_KHR_surface and either the VK_MVK_macos_surface or VK_EXT_metal_surface extensions to create surfaces on macOS. If any of these extensions are not available, glfwGetRequiredInstanceExtensions will return an empty list and window surface creation will fail.

    +

    GLFW uses the VK_KHR_surface and either the VK_KHR_xlib_surface or VK_KHR_xcb_surface extensions to create surfaces on X11. If VK_KHR_surface or both VK_KHR_xlib_surface and VK_KHR_xcb_surface are not available, glfwGetRequiredInstanceExtensions will return an empty list and window surface creation will fail.

    +

    GLFW uses the VK_KHR_surface and VK_KHR_wayland_surface extensions to create surfaces on Wayland. If any of these extensions are not available, glfwGetRequiredInstanceExtensions will return an empty list and window surface creation will fail.

    +
    +
    + + + diff --git a/docs/3.3/compile.html b/docs/3.3/compile.html new file mode 120000 index 0000000..356831f --- /dev/null +++ b/docs/3.3/compile.html @@ -0,0 +1 @@ +compile_guide.html \ No newline at end of file diff --git a/docs/3.3/compile_8dox.html b/docs/3.3/compile_8dox.html new file mode 100644 index 0000000..ea1946f --- /dev/null +++ b/docs/3.3/compile_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: compile.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    compile.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.3/compile_guide.html b/docs/3.3/compile_guide.html new file mode 100644 index 0000000..c42499d --- /dev/null +++ b/docs/3.3/compile_guide.html @@ -0,0 +1,198 @@ + + + + + + + +GLFW: Compiling GLFW + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Compiling GLFW
    +
    +
    + +

    This is about compiling the GLFW library itself. For information on how to build applications that use GLFW, see Building applications.

    +

    +Using CMake

    +

    GLFW uses CMake to generate project files or makefiles for a particular development environment. If you are on a Unix-like system such as Linux or FreeBSD or have a package system like Fink, MacPorts, Cygwin or Homebrew, you can install its CMake package. If not, you can download installers for Windows and macOS from the CMake website.

    +
    Note
    CMake only generates project files or makefiles. It does not compile the actual GLFW library. To compile GLFW, first generate these files for your chosen development environment and then use them to compile the actual GLFW library.
    +

    +Dependencies

    +

    Once you have installed CMake, make sure that all other dependencies are available. On some platforms, GLFW needs a few additional packages to be installed. See the section for your chosen platform and development environment below.

    +

    +Dependencies for Visual C++ on Windows

    +

    The Windows SDK bundled with Visual C++ already contains all the necessary headers, link libraries and tools except for CMake. Move on to Generating build files with CMake.

    +

    +Dependencies for MinGW or MinGW-w64 on Windows

    +

    Both the MinGW and the MinGW-w64 packages already contain all the necessary headers, link libraries and tools except for CMake. Move on to Generating build files with CMake.

    +

    +Dependencies for MinGW or MinGW-w64 cross-compilation

    +

    Both Cygwin and many Linux distributions have MinGW or MinGW-w64 packages. For example, Cygwin has the mingw64-i686-gcc and mingw64-x86_64-gcc packages for 32- and 64-bit version of MinGW-w64, while Debian GNU/Linux and derivatives like Ubuntu have the mingw-w64 package for both.

    +

    GLFW has CMake toolchain files in the CMake/ directory that set up cross-compilation of Windows binaries. To use these files you add an option when running cmake to generate the project files or makefiles:

    +
    cmake -DCMAKE_TOOLCHAIN_FILE=<toolchain-file> .
    +

    The exact toolchain file to use depends on the prefix used by the MinGW or MinGW-w64 binaries on your system. You can usually see this in the /usr directory. For example, both the Debian/Ubuntu and Cygwin MinGW-w64 packages have /usr/x86_64-w64-mingw32 for the 64-bit compilers, so the correct invocation would be:

    +
    cmake -DCMAKE_TOOLCHAIN_FILE=CMake/x86_64-w64-mingw32.cmake .
    +

    For more details see the article CMake Cross Compiling on the CMake wiki.

    +

    Once you have this set up, move on to Generating build files with CMake.

    +

    +Dependencies for Xcode on macOS

    +

    Xcode comes with all necessary tools except for CMake. The required headers and libraries are included in the core macOS frameworks. Xcode can be downloaded from the Mac App Store or from the ADC Member Center.

    +

    Once you have Xcode installed, move on to Generating build files with CMake.

    +

    +Dependencies for Linux and X11

    +

    To compile GLFW for X11, you need to have the X11 packages installed, as well as the basic development tools like GCC and make. For example, on Ubuntu and other distributions based on Debian GNU/Linux, you need to install the xorg-dev package, which pulls in all X.org header packages.

    +

    Once you have installed the necessary packages, move on to Generating build files with CMake.

    +

    +Dependencies for Linux and Wayland

    +

    To compile GLFW for Wayland, you need to have the Wayland packages installed, as well as the basic development tools like GCC and make. For example, on Ubuntu and other distributions based on Debian GNU/Linux, you need to install the libwayland-dev package, which contains all Wayland headers and pulls in wayland-scanner, as well as the wayland-protocols and extra-cmake-modules packages.

    +

    Once you have installed the necessary packages, move on to Generating build files with CMake.

    +

    +Dependencies for Linux and OSMesa

    +

    To compile GLFW for OSMesa, you need to install the OSMesa library and header packages. For example, on Ubuntu and other distributions based on Debian GNU/Linux, you need to install the libosmesa6-dev package. The OSMesa library is required at runtime for context creation and is loaded on demand.

    +

    Once you have installed the necessary packages, move on to Generating build files with CMake.

    +

    +Generating build files with CMake

    +

    Once you have all necessary dependencies it is time to generate the project files or makefiles for your development environment. CMake needs to know two paths for this: the path to the root directory of the GLFW source tree (i.e. not the src subdirectory) and the target path for the generated files and compiled binaries. If these are the same, it is called an in-tree build, otherwise it is called an out-of-tree build.

    +

    One of several advantages of out-of-tree builds is that you can generate files and compile for different development environments using a single source tree.

    +
    Note
    This section is about generating the project files or makefiles necessary to compile the GLFW library, not about compiling the actual library.
    +

    +Generating files with the CMake command-line tool

    +

    To make an in-tree build, enter the root directory of the GLFW source tree (i.e. not the src subdirectory) and run CMake. The current directory is used as target path, while the path provided as an argument is used to find the source tree.

    +
    cd <glfw-root-dir>
    +
    cmake .
    +

    To make an out-of-tree build, make a directory outside of the source tree, enter it and run CMake with the (relative or absolute) path to the root of the source tree as an argument.

    +
    mkdir glfw-build
    +
    cd glfw-build
    +
    cmake <glfw-root-dir>
    +

    Once you have generated the project files or makefiles for your chosen development environment, move on to Compiling the library.

    +

    +Generating files with the CMake GUI

    +

    If you are using the GUI version, choose the root of the GLFW source tree as source location and the same directory or another, empty directory as the destination for binaries. Choose Configure, change any options you wish to, Configure again to let the changes take effect and then Generate.

    +

    Once you have generated the project files or makefiles for your chosen development environment, move on to Compiling the library.

    +

    +Compiling the library

    +

    You should now have all required dependencies and the project files or makefiles necessary to compile GLFW. Go ahead and compile the actual GLFW library with these files, as you would with any other project.

    +

    Once the GLFW library is compiled, you are ready to build your applications, linking it to the GLFW library. See Building applications for more information.

    +

    +CMake options

    +

    The CMake files for GLFW provide a number of options, although not all are available on all supported platforms. Some of these are de facto standards among projects using CMake and so have no GLFW_ prefix.

    +

    If you are using the GUI version of CMake, these are listed and can be changed from there. If you are using the command-line version of CMake you can use the ccmake ncurses GUI to set options. Some package systems like Ubuntu and other distributions based on Debian GNU/Linux have this tool in a separate cmake-curses-gui package.

    +

    Finally, if you don't want to use any GUI, you can set options from the cmake command-line with the -D flag.

    +
    cmake -DBUILD_SHARED_LIBS=ON .
    +

    +Shared CMake options

    +

    BUILD_SHARED_LIBS determines whether GLFW is built as a static library or as a DLL / shared library / dynamic library.

    +

    GLFW_BUILD_EXAMPLES determines whether the GLFW examples are built along with the library.

    +

    GLFW_BUILD_TESTS determines whether the GLFW test programs are built along with the library.

    +

    GLFW_BUILD_DOCS determines whether the GLFW documentation is built along with the library.

    +

    GLFW_VULKAN_STATIC determines whether to use the Vulkan loader linked directly with the application.

    +

    +Windows specific CMake options

    +

    USE_MSVC_RUNTIME_LIBRARY_DLL determines whether to use the DLL version or the static library version of the Visual C++ runtime library. If set to ON, the DLL version of the Visual C++ library is used.

    +

    GLFW_USE_HYBRID_HPG determines whether to export the NvOptimusEnablement and AmdPowerXpressRequestHighPerformance symbols, which force the use of the high-performance GPU on Nvidia Optimus and AMD PowerXpress systems. These symbols need to be exported by the EXE to be detected by the driver, so the override will not work if GLFW is built as a DLL.

    +

    +Compiling GLFW manually

    +

    If you wish to compile GLFW without its CMake build environment then you will have to do at least some of the platform detection yourself. GLFW needs a configuration macro to be defined in order to know what window system it's being compiled for and also has optional, platform-specific ones for various features.

    +

    When building with CMake, the glfw_config.h configuration header is generated based on the current platform and CMake options. The GLFW CMake environment defines GLFW_USE_CONFIG_H, which causes this header to be included by internal.h. Without this macro, GLFW will expect the necessary configuration macros to be defined on the command-line.

    +

    The window creation API is used to create windows, handle input, monitors, gamma ramps and clipboard. The options are:

    +
      +
    • _GLFW_COCOA to use the Cocoa frameworks
    • +
    • _GLFW_WIN32 to use the Win32 API
    • +
    • _GLFW_X11 to use the X Window System
    • +
    • _GLFW_WAYLAND to use the Wayland API (experimental and incomplete)
    • +
    • _GLFW_OSMESA to use the OSMesa API (headless and non-interactive)
    • +
    +

    If you are building GLFW as a shared library / dynamic library / DLL then you must also define _GLFW_BUILD_DLL. Otherwise, you must not define it.

    +

    If you are linking the Vulkan loader directly with your application then you must also define _GLFW_VULKAN_STATIC. Otherwise, GLFW will attempt to use the external version.

    +

    If you are using a custom name for the Vulkan, EGL, GLX, OSMesa, OpenGL, GLESv1 or GLESv2 library, you can override the default names by defining those you need of _GLFW_VULKAN_LIBRARY, _GLFW_EGL_LIBRARY, _GLFW_GLX_LIBRARY, _GLFW_OSMESA_LIBRARY, _GLFW_OPENGL_LIBRARY, _GLFW_GLESV1_LIBRARY and _GLFW_GLESV2_LIBRARY. Otherwise, GLFW will use the built-in default names.

    +

    For the EGL context creation API, the following options are available:

    +
      +
    • _GLFW_USE_EGLPLATFORM_H to use an existing EGL/eglplatform.h header file for native handle types (fallback)
    • +
    +
    Note
    None of the GLFW header option macros may be defined during the compilation of GLFW. If you define any of these in your build files, make sure they are not applied to the GLFW sources.
    +
    +
    + + + diff --git a/docs/3.3/context.html b/docs/3.3/context.html new file mode 120000 index 0000000..e4f5d8e --- /dev/null +++ b/docs/3.3/context.html @@ -0,0 +1 @@ +context_guide.html \ No newline at end of file diff --git a/docs/3.3/context_8dox.html b/docs/3.3/context_8dox.html new file mode 100644 index 0000000..1c361e8 --- /dev/null +++ b/docs/3.3/context_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: context.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    context.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.3/context_guide.html b/docs/3.3/context_guide.html new file mode 100644 index 0000000..2b4c3c3 --- /dev/null +++ b/docs/3.3/context_guide.html @@ -0,0 +1,251 @@ + + + + + + + +GLFW: Context guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Context guide
    +
    +
    + +

    This guide introduces the OpenGL and OpenGL ES context related functions of GLFW. For details on a specific function in this category, see the Context reference. There are also guides for the other areas of the GLFW API.

    + +

    +Context objects

    +

    A window object encapsulates both a top-level window and an OpenGL or OpenGL ES context. It is created with glfwCreateWindow and destroyed with glfwDestroyWindow or glfwTerminate. See Window creation for more information.

    +

    As the window and context are inseparably linked, the window object also serves as the context handle.

    +

    To test the creation of various kinds of contexts and see their properties, run the glfwinfo test program.

    +
    Note
    Vulkan does not have a context and the Vulkan instance is created via the Vulkan API itself. If you will be using Vulkan to render to a window, disable context creation by setting the GLFW_CLIENT_API hint to GLFW_NO_API. For more information, see the Vulkan guide.
    +

    +Context creation hints

    +

    There are a number of hints, specified using glfwWindowHint, related to what kind of context is created. See context related hints in the window guide.

    +

    +Context object sharing

    +

    When creating a window and its OpenGL or OpenGL ES context with glfwCreateWindow, you can specify another window whose context the new one should share its objects (textures, vertex and element buffers, etc.) with.

    +
    GLFWwindow* second_window = glfwCreateWindow(640, 480, "Second Window", NULL, first_window);
    +

    Object sharing is implemented by the operating system and graphics driver. On platforms where it is possible to choose which types of objects are shared, GLFW requests that all types are shared.

    +

    See the relevant chapter of the OpenGL or OpenGL ES reference documents for more information. The name and number of this chapter unfortunately varies between versions and APIs, but has at times been named Shared Objects and Multiple Contexts.

    +

    GLFW comes with a barebones object sharing example program called sharing.

    +

    +Offscreen contexts

    +

    GLFW doesn't support creating contexts without an associated window. However, contexts with hidden windows can be created with the GLFW_VISIBLE window hint.

    +
    +
    +
    GLFWwindow* offscreen_context = glfwCreateWindow(640, 480, "", NULL, NULL);
    +

    The window never needs to be shown and its context can be used as a plain offscreen context. Depending on the window manager, the size of a hidden window's framebuffer may not be usable or modifiable, so framebuffer objects are recommended for rendering with such contexts.

    +

    You should still process events as long as you have at least one window, even if none of them are visible.

    +

    macOS: The first time a window is created the menu bar is created. This is not desirable for example when writing a command-line only application. Menu bar creation can be disabled with the GLFW_COCOA_MENUBAR init hint.

    +

    +Windows without contexts

    +

    You can disable context creation by setting the GLFW_CLIENT_API hint to GLFW_NO_API. Windows without contexts must not be passed to glfwMakeContextCurrent or glfwSwapBuffers.

    +

    +Current context

    +

    Before you can make OpenGL or OpenGL ES calls, you need to have a current context of the correct type. A context can only be current for a single thread at a time, and a thread can only have a single context current at a time.

    +

    When moving a context between threads, you must make it non-current on the old thread before making it current on the new one.

    +

    The context of a window is made current with glfwMakeContextCurrent.

    +

    The window of the current context is returned by glfwGetCurrentContext.

    +

    The following GLFW functions require a context to be current. Calling any these functions without a current context will generate a GLFW_NO_CURRENT_CONTEXT error.

    + +

    +Buffer swapping

    +

    See Buffer swapping in the window guide.

    +

    +OpenGL and OpenGL ES extensions

    +

    One of the benefits of OpenGL and OpenGL ES is their extensibility. Hardware vendors may include extensions in their implementations that extend the API before that functionality is included in a new version of the OpenGL or OpenGL ES specification, and some extensions are never included and remain as extensions until they become obsolete.

    +

    An extension is defined by:

    +
      +
    • An extension name (e.g. GL_ARB_debug_output)
    • +
    • New OpenGL tokens (e.g. GL_DEBUG_SEVERITY_HIGH_ARB)
    • +
    • New OpenGL functions (e.g. glGetDebugMessageLogARB)
    • +
    +

    Note the ARB affix, which stands for Architecture Review Board and is used for official extensions. The extension above was created by the ARB, but there are many different affixes, like NV for Nvidia and AMD for, well, AMD. Any group may also use the generic EXT affix. Lists of extensions, together with their specifications, can be found at the OpenGL Registry and OpenGL ES Registry.

    +

    +Loading extension with a loader library

    +

    An extension loader library is the easiest and best way to access both OpenGL and OpenGL ES extensions and modern versions of the core OpenGL or OpenGL ES APIs. They will take care of all the details of declaring and loading everything you need. One such library is glad and there are several others.

    +

    The following example will use glad but all extension loader libraries work similarly.

    +

    First you need to generate the source files using the glad Python script. This example generates a loader for any version of OpenGL, which is the default for both GLFW and glad, but loaders for OpenGL ES, as well as loaders for specific API versions and extension sets can be generated. The generated files are written to the output directory.

    +
    python main.py --generator c --no-loader --out-path output
    +

    The --no-loader option is added because GLFW already provides a function for loading OpenGL and OpenGL ES function pointers, one that automatically uses the selected context creation API, and glad can call this instead of having to implement its own. There are several other command-line options as well. See the glad documentation for details.

    +

    Add the generated output/src/glad.c, output/include/glad/glad.h and output/include/KHR/khrplatform.h files to your build. Then you need to include the glad header file, which will replace the OpenGL header of your development environment. By including the glad header before the GLFW header, it suppresses the development environment's OpenGL or OpenGL ES header.

    +
    #include <glad/glad.h>
    +
    #include <GLFW/glfw3.h>
    +

    Finally you need to initialize glad once you have a suitable current context.

    +
    window = glfwCreateWindow(640, 480, "My Window", NULL, NULL);
    +
    if (!window)
    +
    {
    +
    ...
    +
    }
    +
    + +
    +
    gladLoadGLLoader((GLADloadproc) glfwGetProcAddress);
    +

    Once glad has been loaded, you have access to all OpenGL core and extension functions supported by both the context you created and the glad loader you generated and you are ready to start rendering.

    +

    You can specify a minimum required OpenGL or OpenGL ES version with context hints. If your needs are more complex, you can check the actual OpenGL or OpenGL ES version with context attributes, or you can check whether a specific version is supported by the current context with the GLAD_GL_VERSION_x_x booleans.

    +
    if (GLAD_GL_VERSION_3_2)
    +
    {
    +
    // Call OpenGL 3.2+ specific code
    +
    }
    +

    To check whether a specific extension is supported, use the GLAD_GL_xxx booleans.

    +
    if (GLAD_GL_ARB_debug_output)
    +
    {
    +
    // Use GL_ARB_debug_output
    +
    }
    +

    +Loading extensions manually

    +

    Do not use this technique unless it is absolutely necessary. An extension loader library will save you a ton of tedious, repetitive, error prone work.

    +

    To use a certain extension, you must first check whether the context supports that extension and then, if it introduces new functions, retrieve the pointers to those functions. GLFW provides glfwExtensionSupported and glfwGetProcAddress for manual loading of extensions and new API functions.

    +

    This section will demonstrate manual loading of OpenGL extensions. The loading of OpenGL ES extensions is identical except for the name of the extension header.

    +

    +The glext.h header

    +

    The glext.h extension header is a continually updated file that defines the interfaces for all OpenGL extensions. The latest version of this can always be found at the OpenGL Registry. There are also extension headers for the various versions of OpenGL ES at the OpenGL ES Registry. It it strongly recommended that you use your own copy of the extension header, as the one included in your development environment may be several years out of date and may not include the extensions you wish to use.

    +

    The header defines function pointer types for all functions of all extensions it supports. These have names like PFNGLGETDEBUGMESSAGELOGARBPROC (for glGetDebugMessageLogARB), i.e. the name is made uppercase and PFN (pointer to function) and PROC (procedure) are added to the ends.

    +

    To include the extension header, define GLFW_INCLUDE_GLEXT before including the GLFW header.

    +
    #define GLFW_INCLUDE_GLEXT
    +
    #include <GLFW/glfw3.h>
    +

    +Checking for extensions

    +

    A given machine may not actually support the extension (it may have older drivers or a graphics card that lacks the necessary hardware features), so it is necessary to check at run-time whether the context supports the extension. This is done with glfwExtensionSupported.

    +
    if (glfwExtensionSupported("GL_ARB_debug_output"))
    +
    {
    +
    // The extension is supported by the current context
    +
    }
    +

    The argument is a null terminated ASCII string with the extension name. If the extension is supported, glfwExtensionSupported returns GLFW_TRUE, otherwise it returns GLFW_FALSE.

    +

    +Fetching function pointers

    +

    Many extensions, though not all, require the use of new OpenGL functions. These functions often do not have entry points in the client API libraries of your operating system, making it necessary to fetch them at run time. You can retrieve pointers to these functions with glfwGetProcAddress.

    +
    PFNGLGETDEBUGMESSAGELOGARBPROC pfnGetDebugMessageLog = glfwGetProcAddress("glGetDebugMessageLogARB");
    +

    In general, you should avoid giving the function pointer variables the (exact) same name as the function, as this may confuse your linker. Instead, you can use a different prefix, like above, or some other naming scheme.

    +

    Now that all the pieces have been introduced, here is what they might look like when used together.

    +
    #define GLFW_INCLUDE_GLEXT
    +
    #include <GLFW/glfw3.h>
    +
    +
    #define glGetDebugMessageLogARB pfnGetDebugMessageLog
    +
    PFNGLGETDEBUGMESSAGELOGARBPROC pfnGetDebugMessageLog;
    +
    +
    // Flag indicating whether the extension is supported
    +
    int has_ARB_debug_output = 0;
    +
    +
    void load_extensions(void)
    +
    {
    +
    if (glfwExtensionSupported("GL_ARB_debug_output"))
    +
    {
    +
    pfnGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGARBPROC)
    +
    glfwGetProcAddress("glGetDebugMessageLogARB");
    +
    has_ARB_debug_output = 1;
    +
    }
    +
    }
    +
    +
    void some_function(void)
    +
    {
    +
    if (has_ARB_debug_output)
    +
    {
    +
    // Now the extension function can be called as usual
    +
    glGetDebugMessageLogARB(...);
    +
    }
    +
    }
    +
    +
    +
    The header of the GLFW 3 API.
    +
    GLFWwindow * glfwGetCurrentContext(void)
    Returns the window whose context is current on the calling thread.
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1177
    +
    int glfwExtensionSupported(const char *extension)
    Returns whether the specified extension is available.
    +
    void glfwMakeContextCurrent(GLFWwindow *window)
    Makes the context of the specified window current for the calling thread.
    +
    #define GLFW_FALSE
    Zero.
    Definition: glfw3.h:314
    +
    GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
    Creates a window and its associated context.
    +
    GLFWglproc glfwGetProcAddress(const char *procname)
    Returns the address of the specified function for the current context.
    +
    void glfwWindowHint(int hint, int value)
    Sets the specified window hint to the desired value.
    +
    #define GLFW_VISIBLE
    Window visibility window hint and attribute.
    Definition: glfw3.h:807
    + + + diff --git a/docs/3.3/deprecated.html b/docs/3.3/deprecated.html new file mode 100644 index 0000000..7b51a3b --- /dev/null +++ b/docs/3.3/deprecated.html @@ -0,0 +1,81 @@ + + + + + + + +GLFW: Deprecated List + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Deprecated List
    +
    +
    +
    +
    Global GLFWcharmodsfun )(GLFWwindow *, unsigned int, int)
    +
    Scheduled for removal in version 4.0.
    +
    Global glfwSetCharModsCallback (GLFWwindow *window, GLFWcharmodsfun callback)
    +
    Scheduled for removal in version 4.0.
    +
    +
    +
    + + + diff --git a/docs/3.3/dir_49e56c817e5e54854c35e136979f97ca.html b/docs/3.3/dir_49e56c817e5e54854c35e136979f97ca.html new file mode 100644 index 0000000..e6d1b95 --- /dev/null +++ b/docs/3.3/dir_49e56c817e5e54854c35e136979f97ca.html @@ -0,0 +1,78 @@ + + + + + + + +GLFW: docs Directory Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    docs Directory Reference
    +
    +
    +
    + + + diff --git a/docs/3.3/dir_7d046523570a4bf058ddf3b10b545b6c.html b/docs/3.3/dir_7d046523570a4bf058ddf3b10b545b6c.html new file mode 100644 index 0000000..26db292 --- /dev/null +++ b/docs/3.3/dir_7d046523570a4bf058ddf3b10b545b6c.html @@ -0,0 +1,88 @@ + + + + + + + +GLFW: GLFW Directory Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    GLFW Directory Reference
    +
    +
    + + + + + + + + +

    +Files

    file  glfw3.h [code]
     The header of the GLFW 3 API.
     
    file  glfw3native.h [code]
     The header of the native access functions.
     
    +
    + + + diff --git a/docs/3.3/dir_d44c64559bbebec7f509842c48db8b23.html b/docs/3.3/dir_d44c64559bbebec7f509842c48db8b23.html new file mode 100644 index 0000000..050a9b4 --- /dev/null +++ b/docs/3.3/dir_d44c64559bbebec7f509842c48db8b23.html @@ -0,0 +1,84 @@ + + + + + + + +GLFW: include Directory Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    include Directory Reference
    +
    +
    + + + + +

    +Directories

    directory  GLFW
     
    +
    + + + diff --git a/docs/3.3/doc.png b/docs/3.3/doc.png new file mode 100644 index 0000000000000000000000000000000000000000..17edabff95f7b8da13c9516a04efe05493c29501 GIT binary patch literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t literal 0 HcmV?d00001 diff --git a/docs/3.3/doxygen.css b/docs/3.3/doxygen.css new file mode 100644 index 0000000..5bc13aa --- /dev/null +++ b/docs/3.3/doxygen.css @@ -0,0 +1,1766 @@ +/* The standard CSS for doxygen 1.8.16 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +p.reference, p.definition { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +ul.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; + column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +p.interli { +} + +p.interdd { +} + +p.intertd { +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #FFFFFF; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #FFFFFF; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +ul { + overflow: hidden; /*Fixed: list item bullets overlap floating elements*/ +} + +#side-nav ul { + overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */ +} + +#main-nav ul { + overflow: visible; /* reset ul rule for the navigation bar drop down lists */ +} + +.fragment { + text-align: left; + direction: ltr; + overflow-x: auto; /*Fixed: fragment lines overlap floating elements*/ + overflow-y: hidden; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ + margin: 4px 8px 4px 2px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line:after { + content:"\000A"; + white-space: pre; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +.lineno { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +div.ah, span.ah { + background-color: black; + font-weight: bold; + color: #FFFFFF; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl, img.inline { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +blockquote.DocNodeRTL { + border-left: 0; + border-right: 2px solid #9CAFD4; + margin: 0 4px 0 24px; + padding: 0 16px 0 12px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtitle { + padding: 8px; + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + border-top-right-radius: 4px; + border-top-left-radius: 4px; + margin-bottom: -1px; + background-image: url('nav_f.png'); + background-repeat: repeat-x; + background-color: #E2E8F2; + line-height: 1.25; + font-weight: 300; + float:left; +} + +.permalink +{ + font-size: 65%; + display: inline-block; + vertical-align: middle; +} + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: 400; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-color: #DFE5F1; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + +} + +.overload { + font-family: "courier new",courier,monospace; + font-size: 65%; +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype, .tparams .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir, .tparams .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #9CAFD4; + border-bottom: 1px solid #9CAFD4; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +.arrow { + color: #9CAFD4; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: Arial, Helvetica; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: #728DC1; + color: white; + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderopen.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderclosed.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('doc.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +table.directory { + font: 400 14px Roboto,sans-serif; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable caption { + caption-side: top; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + font-weight: 400; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +table.classindex +{ + margin: 10px; + white-space: nowrap; + margin-left: 3%; + margin-right: 3%; + width: 94%; + border: 0; + border-spacing: 0; + padding: 0; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +.PageDocRTL-title div.headertitle { + text-align: right; + direction: rtl; +} + +dl { + padding: 0 0 0 0; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug, dl.examples */ +dl.section { + margin-left: 0px; + padding-left: 0px; +} + +dl.section.DocNodeRTL { + margin-right: 0px; + padding-right: 0px; +} + +dl.note { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #D0C000; +} + +dl.note.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #FF0000; +} + +dl.warning.DocNodeRTL, dl.attention.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00D000; +} + +dl.pre.DocNodeRTL, dl.post.DocNodeRTL, dl.invariant.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #00D000; +} + +dl.deprecated { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #505050; +} + +dl.deprecated.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #505050; +} + +dl.todo { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00C0E0; +} + +dl.todo.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #00C0E0; +} + +dl.test { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #3030E0; +} + +dl.test.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #3030E0; +} + +dl.bug { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #C08050; +} + +dl.bug.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectalign +{ + vertical-align: middle; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.plantumlgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 8px 10px 10px; + width: 200px; +} + +.PageDocRTL-title div.toc { + float: left !important; + text-align: right; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +.PageDocRTL-title div.toc li { + background-position-x: right !important; + padding-left: 0 !important; + padding-right: 10px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.PageDocRTL-title div.toc li.level1 { + margin-left: 0 !important; + margin-right: 0; +} + +.PageDocRTL-title div.toc li.level2 { + margin-left: 0 !important; + margin-right: 15px; +} + +.PageDocRTL-title div.toc li.level3 { + margin-left: 0 !important; + margin-right: 30px; +} + +.PageDocRTL-title div.toc li.level4 { + margin-left: 0 !important; + margin-right: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + white-space: nowrap; + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #FFFFFF; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #FFFFFF; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #FFFFFF; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #FFFFFF; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + +/* @group Markdown */ + +/* +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTableHead tr { +} + +table.markdownTableBodyLeft td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft { + text-align: left +} + +th.markdownTableHeadRight { + text-align: right +} + +th.markdownTableHeadCenter { + text-align: center +} +*/ + +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTable tr { +} + +th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft, td.markdownTableBodyLeft { + text-align: left +} + +th.markdownTableHeadRight, td.markdownTableBodyRight { + text-align: right +} + +th.markdownTableHeadCenter, td.markdownTableBodyCenter { + text-align: center +} + +.DocNodeRTL { + text-align: right; + direction: rtl; +} + +.DocNodeLTR { + text-align: left; + direction: ltr; +} + +table.DocNodeRTL { + width: auto; + margin-right: 0; + margin-left: auto; +} + +table.DocNodeLTR { + width: auto; + margin-right: auto; + margin-left: 0; +} + +tt, code, kbd, samp +{ + display: inline-block; + direction:ltr; +} +/* @end */ + +u { + text-decoration: underline; +} + diff --git a/docs/3.3/doxygen.png b/docs/3.3/doxygen.png new file mode 100644 index 0000000000000000000000000000000000000000..3ff17d807fd8aa003bed8bb2a69e8f0909592fd1 GIT binary patch literal 3779 zcmV;!4m|ORP)tMIv#Q0*~7*`IBSO7_x;@a8#Zk6_PeKR_s92J&)(m+);m9Iz3blw)z#Gi zP!9lj4$%+*>Hz@HCmM9L9|8c+0u=!H$O3?R0Kgx|#WP<6fKfC8fM-CQZT|_r@`>VO zX^Hgb|9cJqpdJA5$MCEK`F_2@2Y@s>^+;pF`~jdI0Pvr|vl4`=C)EH@1IFe7pdJ8F zH(qGi004~QnF)Ggga~8v08kGAs2hKTATxr7pwfNk|4#_AaT>w8P6TV+R2kbS$v==} zAjf`s0g#V8lB+b3)5oEI*q+{Yt$MZDruD2^;$+(_%Qn+%v0X-bJO=;@kiJ^ygLBnC z?1OVv_%aex1M@jKU|Z~$eI?PoF4Vj>fDzyo zAiLfpXY*a^Sj-S5D0S3@#V$sRW)g)_1e#$%8xdM>Jm7?!h zu0P2X=xoN>^!4DoPRgph2(2va07yfpXF+WH7EOg1GY%Zn z7~1A<(z7Q$ktEXhW_?GMpHp9l_UL18F3KOsxu81pqoBiNbFSGsof-W z6~eloMoz=4?OOnl2J268x5rOY`dCk0us(uS#Ud4yqOr@?=Q57a}tit|BhY>}~frH1sP`ScHS_d)oqH^lYy zZ%VP`#10MlE~P?cE(%(#(AUSv_T{+;t@$U}El}(1ig`vZo`Rm;+5&(AYzJ^Ae=h2X z@Re%vHwZU>|f0NI&%$*4eJweC5OROQrpPMA@*w|o z()A==l}(@bv^&>H1Ob3C=<^|hob?0+xJ?QQ3-ueQC}zy&JQNib!OqSO@-=>XzxlSF zAZ^U*1l6EEmg3r};_HY>&Jo_{dOPEFTWPmt=U&F#+0(O59^UIlHbNX+eF8UzyDR*T z(=5X$VF3!gm@RooS-&iiUYGG^`hMR(07zr_xP`d!^BH?uD>Phl8Rdifx3Af^Zr`Ku ztL+~HkVeL#bJ)7;`=>;{KNRvjmc}1}c58Sr#Treq=4{xo!ATy|c>iRSp4`dzMMVd@ zL8?uwXDY}Wqgh4mH`|$BTXpUIu6A1-cSq%hJw;@^Zr8TP=GMh*p(m(tN7@!^D~sl$ zz^tf4II4|};+irE$Fnm4NTc5%p{PRA`%}Zk`CE5?#h3|xcyQsS#iONZ z6H(@^i9td!$z~bZiJLTax$o>r(p}3o@< zyD7%(>ZYvy=6$U3e!F{Z`uSaYy`xQyl?b{}eg|G3&fz*`QH@mDUn)1%#5u`0m$%D} z?;tZ0u(mWeMV0QtzjgN!lT*pNRj;6510Wwx?Yi_=tYw|J#7@(Xe7ifDzXuK;JB;QO z#bg~K$cgm$@{QiL_3yr}y&~wuv=P=#O&Tj=Sr)aCUlYmZMcw?)T?c%0rUe1cS+o!qs_ zQ6Gp)-{)V!;=q}llyK3|^WeLKyjf%y;xHku;9(vM!j|~<7w1c*Mk-;P{T&yG) z@C-8E?QPynNQ<8f01D`2qexcVEIOU?y}MG)TAE6&VT5`rK8s(4PE;uQ92LTXUQ<>^ ztyQ@=@kRdh@ebUG^Z6NWWIL;_IGJ2ST>$t!$m$qvtj0Qmw8moN6GUV^!QKNK zHBXCtUH8)RY9++gH_TUV4^=-j$t}dD3qsN7GclJ^Zc&(j6&a_!$jCf}%c5ey`pm~1)@{yI3 zTdWyB+*X{JFw#z;PwRr5evb2!ueWF;v`B0HoUu4-(~aL=z;OXUUEtG`_$)Oxw6FKg zEzY`CyKaSBK3xt#8gA|r_|Kehn_HYVBMpEwbn9-fI*!u*eTA1ef8Mkl1=!jV4oYwWYM}i`A>_F4nhmlCIC6WLa zY%;4&@AlnaG11ejl61Jev21|r*m+?Kru3;1tFDl}#!OzUp6c>go4{C|^erwpG*&h6bspUPJag}oOkN2912Y3I?(eRc@U9>z#HPBHC?nps7H5!zP``90!Q1n80jo+B3TWXp!8Pe zwuKuLLI6l3Gv@+QH*Y}2wPLPQ1^EZhT#+Ed8q8Wo z1pTmIBxv14-{l&QVKxAyQF#8Q@NeJwWdKk>?cpiJLkJr+aZ!Me+Cfp!?FWSRf^j2k z73BRR{WSKaMkJ>1Nbx5dan5hg^_}O{Tj6u%iV%#QGz0Q@j{R^Ik)Z*+(YvY2ziBG)?AmJa|JV%4UT$k`hcOg5r9R?5>?o~JzK zJCrj&{i#hG>N7!B4kNX(%igb%kDj0fOQThC-8mtfap82PNRXr1D>lbgg)dYTQ(kbx z`Ee5kXG~Bh+BHQBf|kJEy6(ga%WfhvdQNDuOfQoe377l#ht&DrMGeIsI5C<&ai zWG$|hop2@@q5YDa)_-A?B02W;#fH!%k`daQLEItaJJ8Yf1L%8x;kg?)k)00P-lH+w z)5$QNV6r2$YtnV(4o=0^3{kmaXn*Dm0F*fU(@o)yVVjk|ln8ea6BMy%vZAhW9|wvA z8RoDkVoMEz1d>|5(k0Nw>22ZT){V<3$^C-cN+|~hKt2)){+l-?3m@-$c?-dlzQ)q- zZ)j%n^gerV{|+t}9m1_&&Ly!9$rtG4XX|WQ8`xYzGC~U@nYh~g(z9)bdAl#xH)xd5a=@|qql z|FzEil{P5(@gy!4ek05i$>`E^G~{;pnf6ftpLh$h#W?^#4UkPfa;;?bsIe&kz!+40 zI|6`F2n020)-r`pFaZ38F!S-lJM-o&inOw|66=GMeP@xQU5ghQH{~5Uh~TMTd;I9` z>YhVB`e^EVj*S7JF39ZgNf}A-0DwOcTT63ydN$I3b?yBQtUI*_fae~kPvzoD$zjX3 zoqBe#>12im4WzZ=f^4+u=!lA|#r%1`WB0-6*3BL#at`47#ebPpR|D1b)3BjT34nYY z%Ds%d?5$|{LgOIaRO{{oC&RK`O91$fqwM0(C_TALcozu*fWHb%%q&p-q{_8*2Zsi^ zh1ZCnr^UYa;4vQEtHk{~zi>wwMC5o{S=$P0X681y`SXwFH?Ewn{x-MOZynmc)JT5v zuHLwh;tLfxRrr%|k370}GofLl7thg>ACWWY&msqaVu&ry+`7+Ss>NL^%T1|z{IGMA zW-SKl=V-^{(f!Kf^#3(|T2W47d(%JVCI4JgRrT1pNz>+ietmFToNv^`gzC@&O-)+i zPQ~RwK8%C_vf%;%e>NyTp~dM5;!C|N0Q^6|CEb7Bw=Vz~$1#FA;Z*?mKSC)Hl-20s t8QyHj(g6VK0RYbl8UjE)0O0w=e*@m04r>stuEhWV002ovPDHLkV1hl;dM*F} literal 0 HcmV?d00001 diff --git a/docs/3.3/dynsections.js b/docs/3.3/dynsections.js new file mode 100644 index 0000000..ea0a7b3 --- /dev/null +++ b/docs/3.3/dynsections.js @@ -0,0 +1,120 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} + +function toggleLevel(level) +{ + $('table.directory tr').each(function() { + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (lli:last-child{margin:0 0 0 auto}.contents{min-height:590px}div.contents,div.header{max-width:920px;margin:0 auto;padding:0 32px;background:#fff none}table.doxtable th,table.markdownTable th,dl.reflist dt{background:linear-gradient(to bottom, #ffa733 0%, #ff6600 100%);box-shadow:inset 0 0 32px #f60;text-shadow:0 -1px 1px #b34700;text-align:left;color:#fff}dl.reflist dt a.el{color:#f60;padding:.2em;border-radius:4px;background-color:#ffe0cc}div.toc{float:none;width:auto}div.toc h3{font-size:1.17em}div.toc ul{padding-left:1.5em}div.toc li{font-size:1em;padding-left:0;list-style-type:disc}div.toc,.memproto,div.qindex,div.ah{background:linear-gradient(to bottom, #f2f2f2 0%, #e6e6e6 100%);box-shadow:inset 0 0 32px #e6e6e6;text-shadow:0 1px 1px #fff;color:#1a1a1a;border:2px solid #e6e6e6;border-radius:4px}.paramname{color:#803300}dl.reflist dt{border:2px solid #f60;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom:none}dl.reflist dd{border:2px solid #f60;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-top:none}table.doxtable,table.markdownTable{border-collapse:inherit;border-spacing:0;border:2px solid #f60;border-radius:4px}a,a:hover,a:visited,a:visited:hover,.contents a:visited,.el,a.el:visited,#glfwhome:hover,#main-menu a:hover,span.lineno a:hover{color:#f60;text-decoration:none}div.directory{border-collapse:inherit;border-spacing:0;border:2px solid #f60;border-radius:4px}hr,.memSeparator{height:2px;background:linear-gradient(to right, #f2f2f2 0%, #d9d9d9 50%, #f2f2f2 100%)}dl.note,dl.pre,dl.post,dl.invariant{background:linear-gradient(to bottom, #ddfad1 0%, #cbf7ba 100%);box-shadow:inset 0 0 32px #baf5a3;color:#1e5309;border:2px solid #afe699}dl.warning,dl.attention{background:linear-gradient(to bottom, #fae8d1 0%, #f7ddba 100%);box-shadow:inset 0 0 32px #f5d1a3;color:#533309;border:2px solid #e6c499}dl.deprecated,dl.bug{background:linear-gradient(to bottom, #fad1e3 0%, #f7bad6 100%);box-shadow:inset 0 0 32px #f5a3c8;color:#53092a;border:2px solid #e699bb}dl.todo,dl.test{background:linear-gradient(to bottom, #d1ecfa 0%, #bae3f7 100%);box-shadow:inset 0 0 32px #a3daf5;color:#093a53;border:2px solid #99cce6}dl.note,dl.pre,dl.post,dl.invariant,dl.warning,dl.attention,dl.deprecated,dl.bug,dl.todo,dl.test{border-radius:4px;padding:1em;text-shadow:0 1px 1px #fff;margin:1em 0}.note a,.pre a,.post a,.invariant a,.warning a,.attention a,.deprecated a,.bug a,.todo a,.test a,.note a:visited,.pre a:visited,.post a:visited,.invariant a:visited,.warning a:visited,.attention a:visited,.deprecated a:visited,.bug a:visited,.todo a:visited,.test a:visited{color:inherit}div.line{line-height:inherit}div.fragment,pre.fragment{background:#f2f2f2;border-radius:4px;border:none;padding:1em;overflow:auto;border-left:4px solid #ccc;margin:1em 0}.lineno a,.lineno a:visited,.line,pre.fragment{color:#4d4d4d}span.preprocessor,span.comment{color:#007899}a.code,a.code:visited{color:#e64500}span.keyword,span.keywordtype,span.keywordflow{color:#404040;font-weight:bold}span.stringliteral{color:#360099}code{padding:.1em;border-radius:4px}/*# sourceMappingURL=extra.css.map */ diff --git a/docs/3.3/files.html b/docs/3.3/files.html new file mode 100644 index 0000000..d4cade1 --- /dev/null +++ b/docs/3.3/files.html @@ -0,0 +1,80 @@ + + + + + + + +GLFW: Files + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Files
    +
    +
    +
    Here is a list of all files with brief descriptions:
    + + + +
     glfw3.hThe header of the GLFW 3 API
     glfw3native.hThe header of the native access functions
    +
    +
    + + + diff --git a/docs/3.3/folderclosed.png b/docs/3.3/folderclosed.png new file mode 100644 index 0000000000000000000000000000000000000000..bb8ab35edce8e97554e360005ee9fc5bffb36e66 GIT binary patch literal 616 zcmV-u0+;=XP)a9#ETzayK)T~Jw&MMH>OIr#&;dC}is*2Mqdf&akCc=O@`qC+4i z5Iu3w#1M@KqXCz8TIZd1wli&kkl2HVcAiZ8PUn5z_kG@-y;?yK06=cA0U%H0PH+kU zl6dp}OR(|r8-RG+YLu`zbI}5TlOU6ToR41{9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6` zBLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XUdOZN~c=dLt_h_k!dbxm_*ibDM zlFX`g{k$X}yIe%$N)cn1LNu=q9_CS)*>A zsX_mM4L@`(cSNQKMFc$RtYbx{79#j-J7hk*>*+ZZhM4Hw?I?rsXCi#mRWJ=-0LGV5a-WR0Qgt<|Nqf)C-@80`5gIz45^_20000IqP)X=#(TiCT&PiIIVc55T}TU}EUh*{q$|`3@{d>{Tc9Bo>e= zfmF3!f>fbI9#GoEHh0f`i5)wkLpva0ztf%HpZneK?w-7AK@b4Itw{y|Zd3k!fH?q2 zlhckHd_V2M_X7+)U&_Xcfvtw60l;--DgZmLSw-Y?S>)zIqMyJ1#FwLU*%bl38ok+! zh78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5jDplgxd44}9;IRqUH1YHH|@6oFe%z( zo4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=|)Rz|V`sGfHNrJ)0gJb8xx+SBmRf@1l zvuzt=vGfI)<-F9!o&3l?>9~0QbUDT(wFdnQPv%xdD)m*g%!20>Bc9iYmGAp<9YAa( z0QgYgTWqf1qN++Gqp z8@AYPTB3E|6s=WLG?xw0tm|U!o=&zd+H0oRYE;Dbx+Na9s^STqX|Gnq%H8s(nGDGJ j8vwW|`Ts`)fSK|Kx=IK@RG@g200000NkvXXu0mjfauFEA literal 0 HcmV?d00001 diff --git a/docs/3.3/glfw3_8h.html b/docs/3.3/glfw3_8h.html new file mode 100644 index 0000000..0a87b6c --- /dev/null +++ b/docs/3.3/glfw3_8h.html @@ -0,0 +1,1603 @@ + + + + + + + +GLFW: glfw3.h File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    + +
    +
    glfw3.h File Reference
    +
    +
    +

    Description

    +

    This is the header file of the GLFW 3 API. It defines all its types and declares all its functions.

    +

    For more information about how to use this file, see Including the GLFW header file.

    +
    +

    Go to the source code of this file.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_APIENTRY_DEFINED
     
    #define GLFW_TRUE   1
     One. More...
     
    #define GLFW_FALSE   0
     Zero. More...
     
    #define GLFW_HAT_CENTERED   0
     
    #define GLFW_HAT_UP   1
     
    #define GLFW_HAT_RIGHT   2
     
    #define GLFW_HAT_DOWN   4
     
    #define GLFW_HAT_LEFT   8
     
    #define GLFW_HAT_RIGHT_UP   (GLFW_HAT_RIGHT | GLFW_HAT_UP)
     
    #define GLFW_HAT_RIGHT_DOWN   (GLFW_HAT_RIGHT | GLFW_HAT_DOWN)
     
    #define GLFW_HAT_LEFT_UP   (GLFW_HAT_LEFT | GLFW_HAT_UP)
     
    #define GLFW_HAT_LEFT_DOWN   (GLFW_HAT_LEFT | GLFW_HAT_DOWN)
     
    #define GLFW_KEY_UNKNOWN   -1
     
    #define GLFW_KEY_SPACE   32
     
    #define GLFW_KEY_APOSTROPHE   39 /* ' */
     
    #define GLFW_KEY_COMMA   44 /* , */
     
    #define GLFW_KEY_MINUS   45 /* - */
     
    #define GLFW_KEY_PERIOD   46 /* . */
     
    #define GLFW_KEY_SLASH   47 /* / */
     
    #define GLFW_KEY_0   48
     
    #define GLFW_KEY_1   49
     
    #define GLFW_KEY_2   50
     
    #define GLFW_KEY_3   51
     
    #define GLFW_KEY_4   52
     
    #define GLFW_KEY_5   53
     
    #define GLFW_KEY_6   54
     
    #define GLFW_KEY_7   55
     
    #define GLFW_KEY_8   56
     
    #define GLFW_KEY_9   57
     
    #define GLFW_KEY_SEMICOLON   59 /* ; */
     
    #define GLFW_KEY_EQUAL   61 /* = */
     
    #define GLFW_KEY_A   65
     
    #define GLFW_KEY_B   66
     
    #define GLFW_KEY_C   67
     
    #define GLFW_KEY_D   68
     
    #define GLFW_KEY_E   69
     
    #define GLFW_KEY_F   70
     
    #define GLFW_KEY_G   71
     
    #define GLFW_KEY_H   72
     
    #define GLFW_KEY_I   73
     
    #define GLFW_KEY_J   74
     
    #define GLFW_KEY_K   75
     
    #define GLFW_KEY_L   76
     
    #define GLFW_KEY_M   77
     
    #define GLFW_KEY_N   78
     
    #define GLFW_KEY_O   79
     
    #define GLFW_KEY_P   80
     
    #define GLFW_KEY_Q   81
     
    #define GLFW_KEY_R   82
     
    #define GLFW_KEY_S   83
     
    #define GLFW_KEY_T   84
     
    #define GLFW_KEY_U   85
     
    #define GLFW_KEY_V   86
     
    #define GLFW_KEY_W   87
     
    #define GLFW_KEY_X   88
     
    #define GLFW_KEY_Y   89
     
    #define GLFW_KEY_Z   90
     
    #define GLFW_KEY_LEFT_BRACKET   91 /* [ */
     
    #define GLFW_KEY_BACKSLASH   92 /* \ */
     
    #define GLFW_KEY_RIGHT_BRACKET   93 /* ] */
     
    #define GLFW_KEY_GRAVE_ACCENT   96 /* ` */
     
    #define GLFW_KEY_WORLD_1   161 /* non-US #1 */
     
    #define GLFW_KEY_WORLD_2   162 /* non-US #2 */
     
    #define GLFW_KEY_ESCAPE   256
     
    #define GLFW_KEY_ENTER   257
     
    #define GLFW_KEY_TAB   258
     
    #define GLFW_KEY_BACKSPACE   259
     
    #define GLFW_KEY_INSERT   260
     
    #define GLFW_KEY_DELETE   261
     
    #define GLFW_KEY_RIGHT   262
     
    #define GLFW_KEY_LEFT   263
     
    #define GLFW_KEY_DOWN   264
     
    #define GLFW_KEY_UP   265
     
    #define GLFW_KEY_PAGE_UP   266
     
    #define GLFW_KEY_PAGE_DOWN   267
     
    #define GLFW_KEY_HOME   268
     
    #define GLFW_KEY_END   269
     
    #define GLFW_KEY_CAPS_LOCK   280
     
    #define GLFW_KEY_SCROLL_LOCK   281
     
    #define GLFW_KEY_NUM_LOCK   282
     
    #define GLFW_KEY_PRINT_SCREEN   283
     
    #define GLFW_KEY_PAUSE   284
     
    #define GLFW_KEY_F1   290
     
    #define GLFW_KEY_F2   291
     
    #define GLFW_KEY_F3   292
     
    #define GLFW_KEY_F4   293
     
    #define GLFW_KEY_F5   294
     
    #define GLFW_KEY_F6   295
     
    #define GLFW_KEY_F7   296
     
    #define GLFW_KEY_F8   297
     
    #define GLFW_KEY_F9   298
     
    #define GLFW_KEY_F10   299
     
    #define GLFW_KEY_F11   300
     
    #define GLFW_KEY_F12   301
     
    #define GLFW_KEY_F13   302
     
    #define GLFW_KEY_F14   303
     
    #define GLFW_KEY_F15   304
     
    #define GLFW_KEY_F16   305
     
    #define GLFW_KEY_F17   306
     
    #define GLFW_KEY_F18   307
     
    #define GLFW_KEY_F19   308
     
    #define GLFW_KEY_F20   309
     
    #define GLFW_KEY_F21   310
     
    #define GLFW_KEY_F22   311
     
    #define GLFW_KEY_F23   312
     
    #define GLFW_KEY_F24   313
     
    #define GLFW_KEY_F25   314
     
    #define GLFW_KEY_KP_0   320
     
    #define GLFW_KEY_KP_1   321
     
    #define GLFW_KEY_KP_2   322
     
    #define GLFW_KEY_KP_3   323
     
    #define GLFW_KEY_KP_4   324
     
    #define GLFW_KEY_KP_5   325
     
    #define GLFW_KEY_KP_6   326
     
    #define GLFW_KEY_KP_7   327
     
    #define GLFW_KEY_KP_8   328
     
    #define GLFW_KEY_KP_9   329
     
    #define GLFW_KEY_KP_DECIMAL   330
     
    #define GLFW_KEY_KP_DIVIDE   331
     
    #define GLFW_KEY_KP_MULTIPLY   332
     
    #define GLFW_KEY_KP_SUBTRACT   333
     
    #define GLFW_KEY_KP_ADD   334
     
    #define GLFW_KEY_KP_ENTER   335
     
    #define GLFW_KEY_KP_EQUAL   336
     
    #define GLFW_KEY_LEFT_SHIFT   340
     
    #define GLFW_KEY_LEFT_CONTROL   341
     
    #define GLFW_KEY_LEFT_ALT   342
     
    #define GLFW_KEY_LEFT_SUPER   343
     
    #define GLFW_KEY_RIGHT_SHIFT   344
     
    #define GLFW_KEY_RIGHT_CONTROL   345
     
    #define GLFW_KEY_RIGHT_ALT   346
     
    #define GLFW_KEY_RIGHT_SUPER   347
     
    #define GLFW_KEY_MENU   348
     
    #define GLFW_KEY_LAST   GLFW_KEY_MENU
     
    #define GLFW_MOD_SHIFT   0x0001
     If this bit is set one or more Shift keys were held down. More...
     
    #define GLFW_MOD_CONTROL   0x0002
     If this bit is set one or more Control keys were held down. More...
     
    #define GLFW_MOD_ALT   0x0004
     If this bit is set one or more Alt keys were held down. More...
     
    #define GLFW_MOD_SUPER   0x0008
     If this bit is set one or more Super keys were held down. More...
     
    #define GLFW_MOD_CAPS_LOCK   0x0010
     If this bit is set the Caps Lock key is enabled. More...
     
    #define GLFW_MOD_NUM_LOCK   0x0020
     If this bit is set the Num Lock key is enabled. More...
     
    #define GLFW_MOUSE_BUTTON_1   0
     
    #define GLFW_MOUSE_BUTTON_2   1
     
    #define GLFW_MOUSE_BUTTON_3   2
     
    #define GLFW_MOUSE_BUTTON_4   3
     
    #define GLFW_MOUSE_BUTTON_5   4
     
    #define GLFW_MOUSE_BUTTON_6   5
     
    #define GLFW_MOUSE_BUTTON_7   6
     
    #define GLFW_MOUSE_BUTTON_8   7
     
    #define GLFW_MOUSE_BUTTON_LAST   GLFW_MOUSE_BUTTON_8
     
    #define GLFW_MOUSE_BUTTON_LEFT   GLFW_MOUSE_BUTTON_1
     
    #define GLFW_MOUSE_BUTTON_RIGHT   GLFW_MOUSE_BUTTON_2
     
    #define GLFW_MOUSE_BUTTON_MIDDLE   GLFW_MOUSE_BUTTON_3
     
    #define GLFW_JOYSTICK_1   0
     
    #define GLFW_JOYSTICK_2   1
     
    #define GLFW_JOYSTICK_3   2
     
    #define GLFW_JOYSTICK_4   3
     
    #define GLFW_JOYSTICK_5   4
     
    #define GLFW_JOYSTICK_6   5
     
    #define GLFW_JOYSTICK_7   6
     
    #define GLFW_JOYSTICK_8   7
     
    #define GLFW_JOYSTICK_9   8
     
    #define GLFW_JOYSTICK_10   9
     
    #define GLFW_JOYSTICK_11   10
     
    #define GLFW_JOYSTICK_12   11
     
    #define GLFW_JOYSTICK_13   12
     
    #define GLFW_JOYSTICK_14   13
     
    #define GLFW_JOYSTICK_15   14
     
    #define GLFW_JOYSTICK_16   15
     
    #define GLFW_JOYSTICK_LAST   GLFW_JOYSTICK_16
     
    #define GLFW_GAMEPAD_BUTTON_A   0
     
    #define GLFW_GAMEPAD_BUTTON_B   1
     
    #define GLFW_GAMEPAD_BUTTON_X   2
     
    #define GLFW_GAMEPAD_BUTTON_Y   3
     
    #define GLFW_GAMEPAD_BUTTON_LEFT_BUMPER   4
     
    #define GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER   5
     
    #define GLFW_GAMEPAD_BUTTON_BACK   6
     
    #define GLFW_GAMEPAD_BUTTON_START   7
     
    #define GLFW_GAMEPAD_BUTTON_GUIDE   8
     
    #define GLFW_GAMEPAD_BUTTON_LEFT_THUMB   9
     
    #define GLFW_GAMEPAD_BUTTON_RIGHT_THUMB   10
     
    #define GLFW_GAMEPAD_BUTTON_DPAD_UP   11
     
    #define GLFW_GAMEPAD_BUTTON_DPAD_RIGHT   12
     
    #define GLFW_GAMEPAD_BUTTON_DPAD_DOWN   13
     
    #define GLFW_GAMEPAD_BUTTON_DPAD_LEFT   14
     
    #define GLFW_GAMEPAD_BUTTON_LAST   GLFW_GAMEPAD_BUTTON_DPAD_LEFT
     
    #define GLFW_GAMEPAD_BUTTON_CROSS   GLFW_GAMEPAD_BUTTON_A
     
    #define GLFW_GAMEPAD_BUTTON_CIRCLE   GLFW_GAMEPAD_BUTTON_B
     
    #define GLFW_GAMEPAD_BUTTON_SQUARE   GLFW_GAMEPAD_BUTTON_X
     
    #define GLFW_GAMEPAD_BUTTON_TRIANGLE   GLFW_GAMEPAD_BUTTON_Y
     
    #define GLFW_GAMEPAD_AXIS_LEFT_X   0
     
    #define GLFW_GAMEPAD_AXIS_LEFT_Y   1
     
    #define GLFW_GAMEPAD_AXIS_RIGHT_X   2
     
    #define GLFW_GAMEPAD_AXIS_RIGHT_Y   3
     
    #define GLFW_GAMEPAD_AXIS_LEFT_TRIGGER   4
     
    #define GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER   5
     
    #define GLFW_GAMEPAD_AXIS_LAST   GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER
     
    #define GLFW_NO_ERROR   0
     No error has occurred. More...
     
    #define GLFW_NOT_INITIALIZED   0x00010001
     GLFW has not been initialized. More...
     
    #define GLFW_NO_CURRENT_CONTEXT   0x00010002
     No context is current for this thread. More...
     
    #define GLFW_INVALID_ENUM   0x00010003
     One of the arguments to the function was an invalid enum value. More...
     
    #define GLFW_INVALID_VALUE   0x00010004
     One of the arguments to the function was an invalid value. More...
     
    #define GLFW_OUT_OF_MEMORY   0x00010005
     A memory allocation failed. More...
     
    #define GLFW_API_UNAVAILABLE   0x00010006
     GLFW could not find support for the requested API on the system. More...
     
    #define GLFW_VERSION_UNAVAILABLE   0x00010007
     The requested OpenGL or OpenGL ES version is not available. More...
     
    #define GLFW_PLATFORM_ERROR   0x00010008
     A platform-specific error occurred that does not match any of the more specific categories. More...
     
    #define GLFW_FORMAT_UNAVAILABLE   0x00010009
     The requested format is not supported or available. More...
     
    #define GLFW_NO_WINDOW_CONTEXT   0x0001000A
     The specified window does not have an OpenGL or OpenGL ES context. More...
     
    #define GLFW_FOCUSED   0x00020001
     Input focus window hint and attribute. More...
     
    #define GLFW_ICONIFIED   0x00020002
     Window iconification window attribute. More...
     
    #define GLFW_RESIZABLE   0x00020003
     Window resize-ability window hint and attribute. More...
     
    #define GLFW_VISIBLE   0x00020004
     Window visibility window hint and attribute. More...
     
    #define GLFW_DECORATED   0x00020005
     Window decoration window hint and attribute. More...
     
    #define GLFW_AUTO_ICONIFY   0x00020006
     Window auto-iconification window hint and attribute. More...
     
    #define GLFW_FLOATING   0x00020007
     Window decoration window hint and attribute. More...
     
    #define GLFW_MAXIMIZED   0x00020008
     Window maximization window hint and attribute. More...
     
    #define GLFW_CENTER_CURSOR   0x00020009
     Cursor centering window hint. More...
     
    #define GLFW_TRANSPARENT_FRAMEBUFFER   0x0002000A
     Window framebuffer transparency hint and attribute. More...
     
    #define GLFW_HOVERED   0x0002000B
     Mouse cursor hover window attribute. More...
     
    #define GLFW_FOCUS_ON_SHOW   0x0002000C
     Input focus on calling show window hint and attribute. More...
     
    #define GLFW_RED_BITS   0x00021001
     Framebuffer bit depth hint. More...
     
    #define GLFW_GREEN_BITS   0x00021002
     Framebuffer bit depth hint. More...
     
    #define GLFW_BLUE_BITS   0x00021003
     Framebuffer bit depth hint. More...
     
    #define GLFW_ALPHA_BITS   0x00021004
     Framebuffer bit depth hint. More...
     
    #define GLFW_DEPTH_BITS   0x00021005
     Framebuffer bit depth hint. More...
     
    #define GLFW_STENCIL_BITS   0x00021006
     Framebuffer bit depth hint. More...
     
    #define GLFW_ACCUM_RED_BITS   0x00021007
     Framebuffer bit depth hint. More...
     
    #define GLFW_ACCUM_GREEN_BITS   0x00021008
     Framebuffer bit depth hint. More...
     
    #define GLFW_ACCUM_BLUE_BITS   0x00021009
     Framebuffer bit depth hint. More...
     
    #define GLFW_ACCUM_ALPHA_BITS   0x0002100A
     Framebuffer bit depth hint. More...
     
    #define GLFW_AUX_BUFFERS   0x0002100B
     Framebuffer auxiliary buffer hint. More...
     
    #define GLFW_STEREO   0x0002100C
     OpenGL stereoscopic rendering hint. More...
     
    #define GLFW_SAMPLES   0x0002100D
     Framebuffer MSAA samples hint. More...
     
    #define GLFW_SRGB_CAPABLE   0x0002100E
     Framebuffer sRGB hint. More...
     
    #define GLFW_REFRESH_RATE   0x0002100F
     Monitor refresh rate hint. More...
     
    #define GLFW_DOUBLEBUFFER   0x00021010
     Framebuffer double buffering hint. More...
     
    #define GLFW_CLIENT_API   0x00022001
     Context client API hint and attribute. More...
     
    #define GLFW_CONTEXT_VERSION_MAJOR   0x00022002
     Context client API major version hint and attribute. More...
     
    #define GLFW_CONTEXT_VERSION_MINOR   0x00022003
     Context client API minor version hint and attribute. More...
     
    #define GLFW_CONTEXT_REVISION   0x00022004
     Context client API revision number hint and attribute. More...
     
    #define GLFW_CONTEXT_ROBUSTNESS   0x00022005
     Context robustness hint and attribute. More...
     
    #define GLFW_OPENGL_FORWARD_COMPAT   0x00022006
     OpenGL forward-compatibility hint and attribute. More...
     
    #define GLFW_OPENGL_DEBUG_CONTEXT   0x00022007
     Debug mode context hint and attribute. More...
     
    #define GLFW_OPENGL_PROFILE   0x00022008
     OpenGL profile hint and attribute. More...
     
    #define GLFW_CONTEXT_RELEASE_BEHAVIOR   0x00022009
     Context flush-on-release hint and attribute. More...
     
    #define GLFW_CONTEXT_NO_ERROR   0x0002200A
     Context error suppression hint and attribute. More...
     
    #define GLFW_CONTEXT_CREATION_API   0x0002200B
     Context creation API hint and attribute. More...
     
    #define GLFW_SCALE_TO_MONITOR   0x0002200C
     Window content area scaling window window hint. More...
     
    #define GLFW_COCOA_RETINA_FRAMEBUFFER   0x00023001
     macOS specific window hint. More...
     
    #define GLFW_COCOA_FRAME_NAME   0x00023002
     macOS specific window hint. More...
     
    #define GLFW_COCOA_GRAPHICS_SWITCHING   0x00023003
     macOS specific window hint. More...
     
    #define GLFW_X11_CLASS_NAME   0x00024001
     X11 specific window hint. More...
     
    #define GLFW_X11_INSTANCE_NAME   0x00024002
     X11 specific window hint. More...
     
    #define GLFW_NO_API   0
     
    #define GLFW_OPENGL_API   0x00030001
     
    #define GLFW_OPENGL_ES_API   0x00030002
     
    #define GLFW_NO_ROBUSTNESS   0
     
    #define GLFW_NO_RESET_NOTIFICATION   0x00031001
     
    #define GLFW_LOSE_CONTEXT_ON_RESET   0x00031002
     
    #define GLFW_OPENGL_ANY_PROFILE   0
     
    #define GLFW_OPENGL_CORE_PROFILE   0x00032001
     
    #define GLFW_OPENGL_COMPAT_PROFILE   0x00032002
     
    #define GLFW_CURSOR   0x00033001
     
    #define GLFW_STICKY_KEYS   0x00033002
     
    #define GLFW_STICKY_MOUSE_BUTTONS   0x00033003
     
    #define GLFW_LOCK_KEY_MODS   0x00033004
     
    #define GLFW_RAW_MOUSE_MOTION   0x00033005
     
    #define GLFW_CURSOR_NORMAL   0x00034001
     
    #define GLFW_CURSOR_HIDDEN   0x00034002
     
    #define GLFW_CURSOR_DISABLED   0x00034003
     
    #define GLFW_ANY_RELEASE_BEHAVIOR   0
     
    #define GLFW_RELEASE_BEHAVIOR_FLUSH   0x00035001
     
    #define GLFW_RELEASE_BEHAVIOR_NONE   0x00035002
     
    #define GLFW_NATIVE_CONTEXT_API   0x00036001
     
    #define GLFW_EGL_CONTEXT_API   0x00036002
     
    #define GLFW_OSMESA_CONTEXT_API   0x00036003
     
    #define GLFW_ARROW_CURSOR   0x00036001
     The regular arrow cursor shape. More...
     
    #define GLFW_IBEAM_CURSOR   0x00036002
     The text input I-beam cursor shape. More...
     
    #define GLFW_CROSSHAIR_CURSOR   0x00036003
     The crosshair shape. More...
     
    #define GLFW_HAND_CURSOR   0x00036004
     The hand shape. More...
     
    #define GLFW_HRESIZE_CURSOR   0x00036005
     The horizontal resize arrow shape. More...
     
    #define GLFW_VRESIZE_CURSOR   0x00036006
     The vertical resize arrow shape. More...
     
    #define GLFW_CONNECTED   0x00040001
     
    #define GLFW_DISCONNECTED   0x00040002
     
    #define GLFW_JOYSTICK_HAT_BUTTONS   0x00050001
     Joystick hat buttons init hint. More...
     
    #define GLFW_COCOA_CHDIR_RESOURCES   0x00051001
     macOS specific init hint. More...
     
    #define GLFW_COCOA_MENUBAR   0x00051002
     macOS specific init hint. More...
     
    #define GLFW_DONT_CARE   -1
     
    #define GLAPIENTRY   APIENTRY
     
    GLFW version macros
    #define GLFW_VERSION_MAJOR   3
     The major version number of the GLFW library. More...
     
    #define GLFW_VERSION_MINOR   3
     The minor version number of the GLFW library. More...
     
    #define GLFW_VERSION_REVISION   3
     The revision number of the GLFW library. More...
     
    Key and button actions
    #define GLFW_RELEASE   0
     The key or mouse button was released. More...
     
    #define GLFW_PRESS   1
     The key or mouse button was pressed. More...
     
    #define GLFW_REPEAT   2
     The key was held down until it repeated. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Typedefs

    typedef void(* GLFWglproc) (void)
     Client API function pointer type. More...
     
    typedef void(* GLFWvkproc) (void)
     Vulkan API function pointer type. More...
     
    typedef struct GLFWmonitor GLFWmonitor
     Opaque monitor object. More...
     
    typedef struct GLFWwindow GLFWwindow
     Opaque window object. More...
     
    typedef struct GLFWcursor GLFWcursor
     Opaque cursor object. More...
     
    typedef void(* GLFWerrorfun) (int, const char *)
     The function pointer type for error callbacks. More...
     
    typedef void(* GLFWwindowposfun) (GLFWwindow *, int, int)
     The function pointer type for window position callbacks. More...
     
    typedef void(* GLFWwindowsizefun) (GLFWwindow *, int, int)
     The function pointer type for window size callbacks. More...
     
    typedef void(* GLFWwindowclosefun) (GLFWwindow *)
     The function pointer type for window close callbacks. More...
     
    typedef void(* GLFWwindowrefreshfun) (GLFWwindow *)
     The function pointer type for window content refresh callbacks. More...
     
    typedef void(* GLFWwindowfocusfun) (GLFWwindow *, int)
     The function pointer type for window focus callbacks. More...
     
    typedef void(* GLFWwindowiconifyfun) (GLFWwindow *, int)
     The function pointer type for window iconify callbacks. More...
     
    typedef void(* GLFWwindowmaximizefun) (GLFWwindow *, int)
     The function pointer type for window maximize callbacks. More...
     
    typedef void(* GLFWframebuffersizefun) (GLFWwindow *, int, int)
     The function pointer type for framebuffer size callbacks. More...
     
    typedef void(* GLFWwindowcontentscalefun) (GLFWwindow *, float, float)
     The function pointer type for window content scale callbacks. More...
     
    typedef void(* GLFWmousebuttonfun) (GLFWwindow *, int, int, int)
     The function pointer type for mouse button callbacks. More...
     
    typedef void(* GLFWcursorposfun) (GLFWwindow *, double, double)
     The function pointer type for cursor position callbacks. More...
     
    typedef void(* GLFWcursorenterfun) (GLFWwindow *, int)
     The function pointer type for cursor enter/leave callbacks. More...
     
    typedef void(* GLFWscrollfun) (GLFWwindow *, double, double)
     The function pointer type for scroll callbacks. More...
     
    typedef void(* GLFWkeyfun) (GLFWwindow *, int, int, int, int)
     The function pointer type for keyboard key callbacks. More...
     
    typedef void(* GLFWcharfun) (GLFWwindow *, unsigned int)
     The function pointer type for Unicode character callbacks. More...
     
    typedef void(* GLFWcharmodsfun) (GLFWwindow *, unsigned int, int)
     The function pointer type for Unicode character with modifiers callbacks. More...
     
    typedef void(* GLFWdropfun) (GLFWwindow *, int, const char *[])
     The function pointer type for path drop callbacks. More...
     
    typedef void(* GLFWmonitorfun) (GLFWmonitor *, int)
     The function pointer type for monitor configuration callbacks. More...
     
    typedef void(* GLFWjoystickfun) (int, int)
     The function pointer type for joystick configuration callbacks. More...
     
    typedef struct GLFWvidmode GLFWvidmode
     Video mode type. More...
     
    typedef struct GLFWgammaramp GLFWgammaramp
     Gamma ramp. More...
     
    typedef struct GLFWimage GLFWimage
     Image data. More...
     
    typedef struct GLFWgamepadstate GLFWgamepadstate
     Gamepad input state. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    int glfwInit (void)
     Initializes the GLFW library. More...
     
    void glfwTerminate (void)
     Terminates the GLFW library. More...
     
    void glfwInitHint (int hint, int value)
     Sets the specified init hint to the desired value. More...
     
    void glfwGetVersion (int *major, int *minor, int *rev)
     Retrieves the version of the GLFW library. More...
     
    const char * glfwGetVersionString (void)
     Returns a string describing the compile-time configuration. More...
     
    int glfwGetError (const char **description)
     Returns and clears the last error for the calling thread. More...
     
    GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun callback)
     Sets the error callback. More...
     
    GLFWmonitor ** glfwGetMonitors (int *count)
     Returns the currently connected monitors. More...
     
    GLFWmonitorglfwGetPrimaryMonitor (void)
     Returns the primary monitor. More...
     
    void glfwGetMonitorPos (GLFWmonitor *monitor, int *xpos, int *ypos)
     Returns the position of the monitor's viewport on the virtual screen. More...
     
    void glfwGetMonitorWorkarea (GLFWmonitor *monitor, int *xpos, int *ypos, int *width, int *height)
     Retrieves the work area of the monitor. More...
     
    void glfwGetMonitorPhysicalSize (GLFWmonitor *monitor, int *widthMM, int *heightMM)
     Returns the physical size of the monitor. More...
     
    void glfwGetMonitorContentScale (GLFWmonitor *monitor, float *xscale, float *yscale)
     Retrieves the content scale for the specified monitor. More...
     
    const char * glfwGetMonitorName (GLFWmonitor *monitor)
     Returns the name of the specified monitor. More...
     
    void glfwSetMonitorUserPointer (GLFWmonitor *monitor, void *pointer)
     Sets the user pointer of the specified monitor. More...
     
    void * glfwGetMonitorUserPointer (GLFWmonitor *monitor)
     Returns the user pointer of the specified monitor. More...
     
    GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun callback)
     Sets the monitor configuration callback. More...
     
    const GLFWvidmodeglfwGetVideoModes (GLFWmonitor *monitor, int *count)
     Returns the available video modes for the specified monitor. More...
     
    const GLFWvidmodeglfwGetVideoMode (GLFWmonitor *monitor)
     Returns the current mode of the specified monitor. More...
     
    void glfwSetGamma (GLFWmonitor *monitor, float gamma)
     Generates a gamma ramp and sets it for the specified monitor. More...
     
    const GLFWgammarampglfwGetGammaRamp (GLFWmonitor *monitor)
     Returns the current gamma ramp for the specified monitor. More...
     
    void glfwSetGammaRamp (GLFWmonitor *monitor, const GLFWgammaramp *ramp)
     Sets the current gamma ramp for the specified monitor. More...
     
    void glfwDefaultWindowHints (void)
     Resets all window hints to their default values. More...
     
    void glfwWindowHint (int hint, int value)
     Sets the specified window hint to the desired value. More...
     
    void glfwWindowHintString (int hint, const char *value)
     Sets the specified window hint to the desired value. More...
     
    GLFWwindowglfwCreateWindow (int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
     Creates a window and its associated context. More...
     
    void glfwDestroyWindow (GLFWwindow *window)
     Destroys the specified window and its context. More...
     
    int glfwWindowShouldClose (GLFWwindow *window)
     Checks the close flag of the specified window. More...
     
    void glfwSetWindowShouldClose (GLFWwindow *window, int value)
     Sets the close flag of the specified window. More...
     
    void glfwSetWindowTitle (GLFWwindow *window, const char *title)
     Sets the title of the specified window. More...
     
    void glfwSetWindowIcon (GLFWwindow *window, int count, const GLFWimage *images)
     Sets the icon for the specified window. More...
     
    void glfwGetWindowPos (GLFWwindow *window, int *xpos, int *ypos)
     Retrieves the position of the content area of the specified window. More...
     
    void glfwSetWindowPos (GLFWwindow *window, int xpos, int ypos)
     Sets the position of the content area of the specified window. More...
     
    void glfwGetWindowSize (GLFWwindow *window, int *width, int *height)
     Retrieves the size of the content area of the specified window. More...
     
    void glfwSetWindowSizeLimits (GLFWwindow *window, int minwidth, int minheight, int maxwidth, int maxheight)
     Sets the size limits of the specified window. More...
     
    void glfwSetWindowAspectRatio (GLFWwindow *window, int numer, int denom)
     Sets the aspect ratio of the specified window. More...
     
    void glfwSetWindowSize (GLFWwindow *window, int width, int height)
     Sets the size of the content area of the specified window. More...
     
    void glfwGetFramebufferSize (GLFWwindow *window, int *width, int *height)
     Retrieves the size of the framebuffer of the specified window. More...
     
    void glfwGetWindowFrameSize (GLFWwindow *window, int *left, int *top, int *right, int *bottom)
     Retrieves the size of the frame of the window. More...
     
    void glfwGetWindowContentScale (GLFWwindow *window, float *xscale, float *yscale)
     Retrieves the content scale for the specified window. More...
     
    float glfwGetWindowOpacity (GLFWwindow *window)
     Returns the opacity of the whole window. More...
     
    void glfwSetWindowOpacity (GLFWwindow *window, float opacity)
     Sets the opacity of the whole window. More...
     
    void glfwIconifyWindow (GLFWwindow *window)
     Iconifies the specified window. More...
     
    void glfwRestoreWindow (GLFWwindow *window)
     Restores the specified window. More...
     
    void glfwMaximizeWindow (GLFWwindow *window)
     Maximizes the specified window. More...
     
    void glfwShowWindow (GLFWwindow *window)
     Makes the specified window visible. More...
     
    void glfwHideWindow (GLFWwindow *window)
     Hides the specified window. More...
     
    void glfwFocusWindow (GLFWwindow *window)
     Brings the specified window to front and sets input focus. More...
     
    void glfwRequestWindowAttention (GLFWwindow *window)
     Requests user attention to the specified window. More...
     
    GLFWmonitorglfwGetWindowMonitor (GLFWwindow *window)
     Returns the monitor that the window uses for full screen mode. More...
     
    void glfwSetWindowMonitor (GLFWwindow *window, GLFWmonitor *monitor, int xpos, int ypos, int width, int height, int refreshRate)
     Sets the mode, monitor, video mode and placement of a window. More...
     
    int glfwGetWindowAttrib (GLFWwindow *window, int attrib)
     Returns an attribute of the specified window. More...
     
    void glfwSetWindowAttrib (GLFWwindow *window, int attrib, int value)
     Sets an attribute of the specified window. More...
     
    void glfwSetWindowUserPointer (GLFWwindow *window, void *pointer)
     Sets the user pointer of the specified window. More...
     
    void * glfwGetWindowUserPointer (GLFWwindow *window)
     Returns the user pointer of the specified window. More...
     
    GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindow *window, GLFWwindowposfun callback)
     Sets the position callback for the specified window. More...
     
    GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindow *window, GLFWwindowsizefun callback)
     Sets the size callback for the specified window. More...
     
    GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindow *window, GLFWwindowclosefun callback)
     Sets the close callback for the specified window. More...
     
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindow *window, GLFWwindowrefreshfun callback)
     Sets the refresh callback for the specified window. More...
     
    GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindow *window, GLFWwindowfocusfun callback)
     Sets the focus callback for the specified window. More...
     
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindow *window, GLFWwindowiconifyfun callback)
     Sets the iconify callback for the specified window. More...
     
    GLFWwindowmaximizefun glfwSetWindowMaximizeCallback (GLFWwindow *window, GLFWwindowmaximizefun callback)
     Sets the maximize callback for the specified window. More...
     
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindow *window, GLFWframebuffersizefun callback)
     Sets the framebuffer resize callback for the specified window. More...
     
    GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback (GLFWwindow *window, GLFWwindowcontentscalefun callback)
     Sets the window content scale callback for the specified window. More...
     
    void glfwPollEvents (void)
     Processes all pending events. More...
     
    void glfwWaitEvents (void)
     Waits until events are queued and processes them. More...
     
    void glfwWaitEventsTimeout (double timeout)
     Waits with timeout until events are queued and processes them. More...
     
    void glfwPostEmptyEvent (void)
     Posts an empty event to the event queue. More...
     
    int glfwGetInputMode (GLFWwindow *window, int mode)
     Returns the value of an input option for the specified window. More...
     
    void glfwSetInputMode (GLFWwindow *window, int mode, int value)
     Sets an input option for the specified window. More...
     
    int glfwRawMouseMotionSupported (void)
     Returns whether raw mouse motion is supported. More...
     
    const char * glfwGetKeyName (int key, int scancode)
     Returns the layout-specific name of the specified printable key. More...
     
    int glfwGetKeyScancode (int key)
     Returns the platform-specific scancode of the specified key. More...
     
    int glfwGetKey (GLFWwindow *window, int key)
     Returns the last reported state of a keyboard key for the specified window. More...
     
    int glfwGetMouseButton (GLFWwindow *window, int button)
     Returns the last reported state of a mouse button for the specified window. More...
     
    void glfwGetCursorPos (GLFWwindow *window, double *xpos, double *ypos)
     Retrieves the position of the cursor relative to the content area of the window. More...
     
    void glfwSetCursorPos (GLFWwindow *window, double xpos, double ypos)
     Sets the position of the cursor, relative to the content area of the window. More...
     
    GLFWcursorglfwCreateCursor (const GLFWimage *image, int xhot, int yhot)
     Creates a custom cursor. More...
     
    GLFWcursorglfwCreateStandardCursor (int shape)
     Creates a cursor with a standard shape. More...
     
    void glfwDestroyCursor (GLFWcursor *cursor)
     Destroys a cursor. More...
     
    void glfwSetCursor (GLFWwindow *window, GLFWcursor *cursor)
     Sets the cursor for the window. More...
     
    GLFWkeyfun glfwSetKeyCallback (GLFWwindow *window, GLFWkeyfun callback)
     Sets the key callback. More...
     
    GLFWcharfun glfwSetCharCallback (GLFWwindow *window, GLFWcharfun callback)
     Sets the Unicode character callback. More...
     
    GLFWcharmodsfun glfwSetCharModsCallback (GLFWwindow *window, GLFWcharmodsfun callback)
     Sets the Unicode character with modifiers callback. More...
     
    GLFWmousebuttonfun glfwSetMouseButtonCallback (GLFWwindow *window, GLFWmousebuttonfun callback)
     Sets the mouse button callback. More...
     
    GLFWcursorposfun glfwSetCursorPosCallback (GLFWwindow *window, GLFWcursorposfun callback)
     Sets the cursor position callback. More...
     
    GLFWcursorenterfun glfwSetCursorEnterCallback (GLFWwindow *window, GLFWcursorenterfun callback)
     Sets the cursor enter/leave callback. More...
     
    GLFWscrollfun glfwSetScrollCallback (GLFWwindow *window, GLFWscrollfun callback)
     Sets the scroll callback. More...
     
    GLFWdropfun glfwSetDropCallback (GLFWwindow *window, GLFWdropfun callback)
     Sets the path drop callback. More...
     
    int glfwJoystickPresent (int jid)
     Returns whether the specified joystick is present. More...
     
    const float * glfwGetJoystickAxes (int jid, int *count)
     Returns the values of all axes of the specified joystick. More...
     
    const unsigned char * glfwGetJoystickButtons (int jid, int *count)
     Returns the state of all buttons of the specified joystick. More...
     
    const unsigned char * glfwGetJoystickHats (int jid, int *count)
     Returns the state of all hats of the specified joystick. More...
     
    const char * glfwGetJoystickName (int jid)
     Returns the name of the specified joystick. More...
     
    const char * glfwGetJoystickGUID (int jid)
     Returns the SDL compatible GUID of the specified joystick. More...
     
    void glfwSetJoystickUserPointer (int jid, void *pointer)
     Sets the user pointer of the specified joystick. More...
     
    void * glfwGetJoystickUserPointer (int jid)
     Returns the user pointer of the specified joystick. More...
     
    int glfwJoystickIsGamepad (int jid)
     Returns whether the specified joystick has a gamepad mapping. More...
     
    GLFWjoystickfun glfwSetJoystickCallback (GLFWjoystickfun callback)
     Sets the joystick configuration callback. More...
     
    int glfwUpdateGamepadMappings (const char *string)
     Adds the specified SDL_GameControllerDB gamepad mappings. More...
     
    const char * glfwGetGamepadName (int jid)
     Returns the human-readable gamepad name for the specified joystick. More...
     
    int glfwGetGamepadState (int jid, GLFWgamepadstate *state)
     Retrieves the state of the specified joystick remapped as a gamepad. More...
     
    void glfwSetClipboardString (GLFWwindow *window, const char *string)
     Sets the clipboard to the specified string. More...
     
    const char * glfwGetClipboardString (GLFWwindow *window)
     Returns the contents of the clipboard as a string. More...
     
    double glfwGetTime (void)
     Returns the GLFW time. More...
     
    void glfwSetTime (double time)
     Sets the GLFW time. More...
     
    uint64_t glfwGetTimerValue (void)
     Returns the current value of the raw timer. More...
     
    uint64_t glfwGetTimerFrequency (void)
     Returns the frequency, in Hz, of the raw timer. More...
     
    void glfwMakeContextCurrent (GLFWwindow *window)
     Makes the context of the specified window current for the calling thread. More...
     
    GLFWwindowglfwGetCurrentContext (void)
     Returns the window whose context is current on the calling thread. More...
     
    void glfwSwapBuffers (GLFWwindow *window)
     Swaps the front and back buffers of the specified window. More...
     
    void glfwSwapInterval (int interval)
     Sets the swap interval for the current context. More...
     
    int glfwExtensionSupported (const char *extension)
     Returns whether the specified extension is available. More...
     
    GLFWglproc glfwGetProcAddress (const char *procname)
     Returns the address of the specified function for the current context. More...
     
    int glfwVulkanSupported (void)
     Returns whether the Vulkan loader and an ICD have been found. More...
     
    const char ** glfwGetRequiredInstanceExtensions (uint32_t *count)
     Returns the Vulkan instance extensions required by GLFW. More...
     
    GLFWvkproc glfwGetInstanceProcAddress (VkInstance instance, const char *procname)
     Returns the address of the specified Vulkan instance function. More...
     
    int glfwGetPhysicalDevicePresentationSupport (VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily)
     Returns whether the specified queue family can present images. More...
     
    VkResult glfwCreateWindowSurface (VkInstance instance, GLFWwindow *window, const VkAllocationCallbacks *allocator, VkSurfaceKHR *surface)
     Creates a Vulkan surface for the specified window. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_APIENTRY_DEFINED

    + +
    +
    + + + + +
    #define GLFW_APIENTRY_DEFINED
    +
    + +
    +
    + +

    ◆ GLFW_NO_API

    + +
    +
    + + + + +
    #define GLFW_NO_API   0
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_API

    + +
    +
    + + + + +
    #define GLFW_OPENGL_API   0x00030001
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_ES_API

    + +
    +
    + + + + +
    #define GLFW_OPENGL_ES_API   0x00030002
    +
    + +
    +
    + +

    ◆ GLFW_NO_ROBUSTNESS

    + +
    +
    + + + + +
    #define GLFW_NO_ROBUSTNESS   0
    +
    + +
    +
    + +

    ◆ GLFW_NO_RESET_NOTIFICATION

    + +
    +
    + + + + +
    #define GLFW_NO_RESET_NOTIFICATION   0x00031001
    +
    + +
    +
    + +

    ◆ GLFW_LOSE_CONTEXT_ON_RESET

    + +
    +
    + + + + +
    #define GLFW_LOSE_CONTEXT_ON_RESET   0x00031002
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_ANY_PROFILE

    + +
    +
    + + + + +
    #define GLFW_OPENGL_ANY_PROFILE   0
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_CORE_PROFILE

    + +
    +
    + + + + +
    #define GLFW_OPENGL_CORE_PROFILE   0x00032001
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_COMPAT_PROFILE

    + +
    +
    + + + + +
    #define GLFW_OPENGL_COMPAT_PROFILE   0x00032002
    +
    + +
    +
    + +

    ◆ GLFW_CURSOR

    + +
    +
    + + + + +
    #define GLFW_CURSOR   0x00033001
    +
    + +
    +
    + +

    ◆ GLFW_STICKY_KEYS

    + +
    +
    + + + + +
    #define GLFW_STICKY_KEYS   0x00033002
    +
    + +
    +
    + +

    ◆ GLFW_STICKY_MOUSE_BUTTONS

    + +
    +
    + + + + +
    #define GLFW_STICKY_MOUSE_BUTTONS   0x00033003
    +
    + +
    +
    + +

    ◆ GLFW_LOCK_KEY_MODS

    + +
    +
    + + + + +
    #define GLFW_LOCK_KEY_MODS   0x00033004
    +
    + +
    +
    + +

    ◆ GLFW_RAW_MOUSE_MOTION

    + +
    +
    + + + + +
    #define GLFW_RAW_MOUSE_MOTION   0x00033005
    +
    + +
    +
    + +

    ◆ GLFW_CURSOR_NORMAL

    + +
    +
    + + + + +
    #define GLFW_CURSOR_NORMAL   0x00034001
    +
    + +
    +
    + +

    ◆ GLFW_CURSOR_HIDDEN

    + +
    +
    + + + + +
    #define GLFW_CURSOR_HIDDEN   0x00034002
    +
    + +
    +
    + +

    ◆ GLFW_CURSOR_DISABLED

    + +
    +
    + + + + +
    #define GLFW_CURSOR_DISABLED   0x00034003
    +
    + +
    +
    + +

    ◆ GLFW_ANY_RELEASE_BEHAVIOR

    + +
    +
    + + + + +
    #define GLFW_ANY_RELEASE_BEHAVIOR   0
    +
    + +
    +
    + +

    ◆ GLFW_RELEASE_BEHAVIOR_FLUSH

    + +
    +
    + + + + +
    #define GLFW_RELEASE_BEHAVIOR_FLUSH   0x00035001
    +
    + +
    +
    + +

    ◆ GLFW_RELEASE_BEHAVIOR_NONE

    + +
    +
    + + + + +
    #define GLFW_RELEASE_BEHAVIOR_NONE   0x00035002
    +
    + +
    +
    + +

    ◆ GLFW_NATIVE_CONTEXT_API

    + +
    +
    + + + + +
    #define GLFW_NATIVE_CONTEXT_API   0x00036001
    +
    + +
    +
    + +

    ◆ GLFW_EGL_CONTEXT_API

    + +
    +
    + + + + +
    #define GLFW_EGL_CONTEXT_API   0x00036002
    +
    + +
    +
    + +

    ◆ GLFW_OSMESA_CONTEXT_API

    + +
    +
    + + + + +
    #define GLFW_OSMESA_CONTEXT_API   0x00036003
    +
    + +
    +
    + +

    ◆ GLFW_CONNECTED

    + +
    +
    + + + + +
    #define GLFW_CONNECTED   0x00040001
    +
    + +
    +
    + +

    ◆ GLFW_DISCONNECTED

    + +
    +
    + + + + +
    #define GLFW_DISCONNECTED   0x00040002
    +
    + +
    +
    + +

    ◆ GLFW_DONT_CARE

    + +
    +
    + + + + +
    #define GLFW_DONT_CARE   -1
    +
    + +
    +
    + +

    ◆ GLAPIENTRY

    + +
    +
    + + + + +
    #define GLAPIENTRY   APIENTRY
    +
    + +
    +
    +
    + + + diff --git a/docs/3.3/glfw3_8h_source.html b/docs/3.3/glfw3_8h_source.html new file mode 100644 index 0000000..9359995 --- /dev/null +++ b/docs/3.3/glfw3_8h_source.html @@ -0,0 +1,1232 @@ + + + + + + + +GLFW: glfw3.h Source File + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    glfw3.h
    +
    +
    +Go to the documentation of this file.
    1 /*************************************************************************
    +
    2  * GLFW 3.3 - www.glfw.org
    +
    3  * A library for OpenGL, window and input
    +
    4  *------------------------------------------------------------------------
    +
    5  * Copyright (c) 2002-2006 Marcus Geelnard
    +
    6  * Copyright (c) 2006-2019 Camilla Löwy <elmindreda@glfw.org>
    +
    7  *
    +
    8  * This software is provided 'as-is', without any express or implied
    +
    9  * warranty. In no event will the authors be held liable for any damages
    +
    10  * arising from the use of this software.
    +
    11  *
    +
    12  * Permission is granted to anyone to use this software for any purpose,
    +
    13  * including commercial applications, and to alter it and redistribute it
    +
    14  * freely, subject to the following restrictions:
    +
    15  *
    +
    16  * 1. The origin of this software must not be misrepresented; you must not
    +
    17  * claim that you wrote the original software. If you use this software
    +
    18  * in a product, an acknowledgment in the product documentation would
    +
    19  * be appreciated but is not required.
    +
    20  *
    +
    21  * 2. Altered source versions must be plainly marked as such, and must not
    +
    22  * be misrepresented as being the original software.
    +
    23  *
    +
    24  * 3. This notice may not be removed or altered from any source
    +
    25  * distribution.
    +
    26  *
    +
    27  *************************************************************************/
    +
    28 
    +
    29 #ifndef _glfw3_h_
    +
    30 #define _glfw3_h_
    +
    31 
    +
    32 #ifdef __cplusplus
    +
    33 extern "C" {
    +
    34 #endif
    +
    35 
    +
    36 
    +
    37 /*************************************************************************
    +
    38  * Doxygen documentation
    +
    39  *************************************************************************/
    +
    40 
    +
    89 /*************************************************************************
    +
    90  * Compiler- and platform-specific preprocessor work
    +
    91  *************************************************************************/
    +
    92 
    +
    93 /* If we are we on Windows, we want a single define for it.
    +
    94  */
    +
    95 #if !defined(_WIN32) && (defined(__WIN32__) || defined(WIN32) || defined(__MINGW32__))
    +
    96  #define _WIN32
    +
    97 #endif /* _WIN32 */
    +
    98 
    +
    99 /* Include because most Windows GLU headers need wchar_t and
    +
    100  * the macOS OpenGL header blocks the definition of ptrdiff_t by glext.h.
    +
    101  * Include it unconditionally to avoid surprising side-effects.
    +
    102  */
    +
    103 #include <stddef.h>
    +
    104 
    +
    105 /* Include because it is needed by Vulkan and related functions.
    +
    106  * Include it unconditionally to avoid surprising side-effects.
    +
    107  */
    +
    108 #include <stdint.h>
    +
    109 
    +
    110 #if defined(GLFW_INCLUDE_VULKAN)
    +
    111  #include <vulkan/vulkan.h>
    +
    112 #endif /* Vulkan header */
    +
    113 
    +
    114 /* The Vulkan header may have indirectly included windows.h (because of
    +
    115  * VK_USE_PLATFORM_WIN32_KHR) so we offer our replacement symbols after it.
    +
    116  */
    +
    117 
    +
    118 /* It is customary to use APIENTRY for OpenGL function pointer declarations on
    +
    119  * all platforms. Additionally, the Windows OpenGL header needs APIENTRY.
    +
    120  */
    +
    121 #if !defined(APIENTRY)
    +
    122  #if defined(_WIN32)
    +
    123  #define APIENTRY __stdcall
    +
    124  #else
    +
    125  #define APIENTRY
    +
    126  #endif
    +
    127  #define GLFW_APIENTRY_DEFINED
    +
    128 #endif /* APIENTRY */
    +
    129 
    +
    130 /* Some Windows OpenGL headers need this.
    +
    131  */
    +
    132 #if !defined(WINGDIAPI) && defined(_WIN32)
    +
    133  #define WINGDIAPI __declspec(dllimport)
    +
    134  #define GLFW_WINGDIAPI_DEFINED
    +
    135 #endif /* WINGDIAPI */
    +
    136 
    +
    137 /* Some Windows GLU headers need this.
    +
    138  */
    +
    139 #if !defined(CALLBACK) && defined(_WIN32)
    +
    140  #define CALLBACK __stdcall
    +
    141  #define GLFW_CALLBACK_DEFINED
    +
    142 #endif /* CALLBACK */
    +
    143 
    +
    144 /* Include the chosen OpenGL or OpenGL ES headers.
    +
    145  */
    +
    146 #if defined(GLFW_INCLUDE_ES1)
    +
    147 
    +
    148  #include <GLES/gl.h>
    +
    149  #if defined(GLFW_INCLUDE_GLEXT)
    +
    150  #include <GLES/glext.h>
    +
    151  #endif
    +
    152 
    +
    153 #elif defined(GLFW_INCLUDE_ES2)
    +
    154 
    +
    155  #include <GLES2/gl2.h>
    +
    156  #if defined(GLFW_INCLUDE_GLEXT)
    +
    157  #include <GLES2/gl2ext.h>
    +
    158  #endif
    +
    159 
    +
    160 #elif defined(GLFW_INCLUDE_ES3)
    +
    161 
    +
    162  #include <GLES3/gl3.h>
    +
    163  #if defined(GLFW_INCLUDE_GLEXT)
    +
    164  #include <GLES2/gl2ext.h>
    +
    165  #endif
    +
    166 
    +
    167 #elif defined(GLFW_INCLUDE_ES31)
    +
    168 
    +
    169  #include <GLES3/gl31.h>
    +
    170  #if defined(GLFW_INCLUDE_GLEXT)
    +
    171  #include <GLES2/gl2ext.h>
    +
    172  #endif
    +
    173 
    +
    174 #elif defined(GLFW_INCLUDE_ES32)
    +
    175 
    +
    176  #include <GLES3/gl32.h>
    +
    177  #if defined(GLFW_INCLUDE_GLEXT)
    +
    178  #include <GLES2/gl2ext.h>
    +
    179  #endif
    +
    180 
    +
    181 #elif defined(GLFW_INCLUDE_GLCOREARB)
    +
    182 
    +
    183  #if defined(__APPLE__)
    +
    184 
    +
    185  #include <OpenGL/gl3.h>
    +
    186  #if defined(GLFW_INCLUDE_GLEXT)
    +
    187  #include <OpenGL/gl3ext.h>
    +
    188  #endif /*GLFW_INCLUDE_GLEXT*/
    +
    189 
    +
    190  #else /*__APPLE__*/
    +
    191 
    +
    192  #include <GL/glcorearb.h>
    +
    193 
    +
    194  #endif /*__APPLE__*/
    +
    195 
    +
    196 #elif defined(GLFW_INCLUDE_GLU)
    +
    197 
    +
    198  #if defined(__APPLE__)
    +
    199 
    +
    200  #if defined(GLFW_INCLUDE_GLU)
    +
    201  #include <OpenGL/glu.h>
    +
    202  #endif
    +
    203 
    +
    204  #else /*__APPLE__*/
    +
    205 
    +
    206  #if defined(GLFW_INCLUDE_GLU)
    +
    207  #include <GL/glu.h>
    +
    208  #endif
    +
    209 
    +
    210  #endif /*__APPLE__*/
    +
    211 
    +
    212 #elif !defined(GLFW_INCLUDE_NONE) && \
    +
    213  !defined(__gl_h_) && \
    +
    214  !defined(__gles1_gl_h_) && \
    +
    215  !defined(__gles2_gl2_h_) && \
    +
    216  !defined(__gles2_gl3_h_) && \
    +
    217  !defined(__gles2_gl31_h_) && \
    +
    218  !defined(__gles2_gl32_h_) && \
    +
    219  !defined(__gl_glcorearb_h_) && \
    +
    220  !defined(__gl2_h_) /*legacy*/ && \
    +
    221  !defined(__gl3_h_) /*legacy*/ && \
    +
    222  !defined(__gl31_h_) /*legacy*/ && \
    +
    223  !defined(__gl32_h_) /*legacy*/ && \
    +
    224  !defined(__glcorearb_h_) /*legacy*/ && \
    +
    225  !defined(__GL_H__) /*non-standard*/ && \
    +
    226  !defined(__gltypes_h_) /*non-standard*/ && \
    +
    227  !defined(__glee_h_) /*non-standard*/
    +
    228 
    +
    229  #if defined(__APPLE__)
    +
    230 
    +
    231  #if !defined(GLFW_INCLUDE_GLEXT)
    +
    232  #define GL_GLEXT_LEGACY
    +
    233  #endif
    +
    234  #include <OpenGL/gl.h>
    +
    235 
    +
    236  #else /*__APPLE__*/
    +
    237 
    +
    238  #include <GL/gl.h>
    +
    239  #if defined(GLFW_INCLUDE_GLEXT)
    +
    240  #include <GL/glext.h>
    +
    241  #endif
    +
    242 
    +
    243  #endif /*__APPLE__*/
    +
    244 
    +
    245 #endif /* OpenGL and OpenGL ES headers */
    +
    246 
    +
    247 #if defined(GLFW_DLL) && defined(_GLFW_BUILD_DLL)
    +
    248  /* GLFW_DLL must be defined by applications that are linking against the DLL
    +
    249  * version of the GLFW library. _GLFW_BUILD_DLL is defined by the GLFW
    +
    250  * configuration header when compiling the DLL version of the library.
    +
    251  */
    +
    252  #error "You must not have both GLFW_DLL and _GLFW_BUILD_DLL defined"
    +
    253 #endif
    +
    254 
    +
    255 /* GLFWAPI is used to declare public API functions for export
    +
    256  * from the DLL / shared library / dynamic library.
    +
    257  */
    +
    258 #if defined(_WIN32) && defined(_GLFW_BUILD_DLL)
    +
    259  /* We are building GLFW as a Win32 DLL */
    +
    260  #define GLFWAPI __declspec(dllexport)
    +
    261 #elif defined(_WIN32) && defined(GLFW_DLL)
    +
    262  /* We are calling GLFW as a Win32 DLL */
    +
    263  #define GLFWAPI __declspec(dllimport)
    +
    264 #elif defined(__GNUC__) && defined(_GLFW_BUILD_DLL)
    +
    265  /* We are building GLFW as a shared / dynamic library */
    +
    266  #define GLFWAPI __attribute__((visibility("default")))
    +
    267 #else
    +
    268  /* We are building or calling GLFW as a static library */
    +
    269  #define GLFWAPI
    +
    270 #endif
    +
    271 
    +
    272 
    +
    273 /*************************************************************************
    +
    274  * GLFW API tokens
    +
    275  *************************************************************************/
    +
    276 
    +
    284 #define GLFW_VERSION_MAJOR 3
    +
    285 
    +
    291 #define GLFW_VERSION_MINOR 3
    +
    292 
    +
    298 #define GLFW_VERSION_REVISION 3
    +
    299 
    +
    309 #define GLFW_TRUE 1
    +
    310 
    +
    318 #define GLFW_FALSE 0
    +
    319 
    +
    328 #define GLFW_RELEASE 0
    +
    329 
    +
    335 #define GLFW_PRESS 1
    +
    336 
    +
    342 #define GLFW_REPEAT 2
    +
    343 
    +
    352 #define GLFW_HAT_CENTERED 0
    +
    353 #define GLFW_HAT_UP 1
    +
    354 #define GLFW_HAT_RIGHT 2
    +
    355 #define GLFW_HAT_DOWN 4
    +
    356 #define GLFW_HAT_LEFT 8
    +
    357 #define GLFW_HAT_RIGHT_UP (GLFW_HAT_RIGHT | GLFW_HAT_UP)
    +
    358 #define GLFW_HAT_RIGHT_DOWN (GLFW_HAT_RIGHT | GLFW_HAT_DOWN)
    +
    359 #define GLFW_HAT_LEFT_UP (GLFW_HAT_LEFT | GLFW_HAT_UP)
    +
    360 #define GLFW_HAT_LEFT_DOWN (GLFW_HAT_LEFT | GLFW_HAT_DOWN)
    +
    361 
    +
    387 /* The unknown key */
    +
    388 #define GLFW_KEY_UNKNOWN -1
    +
    389 
    +
    390 /* Printable keys */
    +
    391 #define GLFW_KEY_SPACE 32
    +
    392 #define GLFW_KEY_APOSTROPHE 39 /* ' */
    +
    393 #define GLFW_KEY_COMMA 44 /* , */
    +
    394 #define GLFW_KEY_MINUS 45 /* - */
    +
    395 #define GLFW_KEY_PERIOD 46 /* . */
    +
    396 #define GLFW_KEY_SLASH 47 /* / */
    +
    397 #define GLFW_KEY_0 48
    +
    398 #define GLFW_KEY_1 49
    +
    399 #define GLFW_KEY_2 50
    +
    400 #define GLFW_KEY_3 51
    +
    401 #define GLFW_KEY_4 52
    +
    402 #define GLFW_KEY_5 53
    +
    403 #define GLFW_KEY_6 54
    +
    404 #define GLFW_KEY_7 55
    +
    405 #define GLFW_KEY_8 56
    +
    406 #define GLFW_KEY_9 57
    +
    407 #define GLFW_KEY_SEMICOLON 59 /* ; */
    +
    408 #define GLFW_KEY_EQUAL 61 /* = */
    +
    409 #define GLFW_KEY_A 65
    +
    410 #define GLFW_KEY_B 66
    +
    411 #define GLFW_KEY_C 67
    +
    412 #define GLFW_KEY_D 68
    +
    413 #define GLFW_KEY_E 69
    +
    414 #define GLFW_KEY_F 70
    +
    415 #define GLFW_KEY_G 71
    +
    416 #define GLFW_KEY_H 72
    +
    417 #define GLFW_KEY_I 73
    +
    418 #define GLFW_KEY_J 74
    +
    419 #define GLFW_KEY_K 75
    +
    420 #define GLFW_KEY_L 76
    +
    421 #define GLFW_KEY_M 77
    +
    422 #define GLFW_KEY_N 78
    +
    423 #define GLFW_KEY_O 79
    +
    424 #define GLFW_KEY_P 80
    +
    425 #define GLFW_KEY_Q 81
    +
    426 #define GLFW_KEY_R 82
    +
    427 #define GLFW_KEY_S 83
    +
    428 #define GLFW_KEY_T 84
    +
    429 #define GLFW_KEY_U 85
    +
    430 #define GLFW_KEY_V 86
    +
    431 #define GLFW_KEY_W 87
    +
    432 #define GLFW_KEY_X 88
    +
    433 #define GLFW_KEY_Y 89
    +
    434 #define GLFW_KEY_Z 90
    +
    435 #define GLFW_KEY_LEFT_BRACKET 91 /* [ */
    +
    436 #define GLFW_KEY_BACKSLASH 92 /* \ */
    +
    437 #define GLFW_KEY_RIGHT_BRACKET 93 /* ] */
    +
    438 #define GLFW_KEY_GRAVE_ACCENT 96 /* ` */
    +
    439 #define GLFW_KEY_WORLD_1 161 /* non-US #1 */
    +
    440 #define GLFW_KEY_WORLD_2 162 /* non-US #2 */
    +
    441 
    +
    442 /* Function keys */
    +
    443 #define GLFW_KEY_ESCAPE 256
    +
    444 #define GLFW_KEY_ENTER 257
    +
    445 #define GLFW_KEY_TAB 258
    +
    446 #define GLFW_KEY_BACKSPACE 259
    +
    447 #define GLFW_KEY_INSERT 260
    +
    448 #define GLFW_KEY_DELETE 261
    +
    449 #define GLFW_KEY_RIGHT 262
    +
    450 #define GLFW_KEY_LEFT 263
    +
    451 #define GLFW_KEY_DOWN 264
    +
    452 #define GLFW_KEY_UP 265
    +
    453 #define GLFW_KEY_PAGE_UP 266
    +
    454 #define GLFW_KEY_PAGE_DOWN 267
    +
    455 #define GLFW_KEY_HOME 268
    +
    456 #define GLFW_KEY_END 269
    +
    457 #define GLFW_KEY_CAPS_LOCK 280
    +
    458 #define GLFW_KEY_SCROLL_LOCK 281
    +
    459 #define GLFW_KEY_NUM_LOCK 282
    +
    460 #define GLFW_KEY_PRINT_SCREEN 283
    +
    461 #define GLFW_KEY_PAUSE 284
    +
    462 #define GLFW_KEY_F1 290
    +
    463 #define GLFW_KEY_F2 291
    +
    464 #define GLFW_KEY_F3 292
    +
    465 #define GLFW_KEY_F4 293
    +
    466 #define GLFW_KEY_F5 294
    +
    467 #define GLFW_KEY_F6 295
    +
    468 #define GLFW_KEY_F7 296
    +
    469 #define GLFW_KEY_F8 297
    +
    470 #define GLFW_KEY_F9 298
    +
    471 #define GLFW_KEY_F10 299
    +
    472 #define GLFW_KEY_F11 300
    +
    473 #define GLFW_KEY_F12 301
    +
    474 #define GLFW_KEY_F13 302
    +
    475 #define GLFW_KEY_F14 303
    +
    476 #define GLFW_KEY_F15 304
    +
    477 #define GLFW_KEY_F16 305
    +
    478 #define GLFW_KEY_F17 306
    +
    479 #define GLFW_KEY_F18 307
    +
    480 #define GLFW_KEY_F19 308
    +
    481 #define GLFW_KEY_F20 309
    +
    482 #define GLFW_KEY_F21 310
    +
    483 #define GLFW_KEY_F22 311
    +
    484 #define GLFW_KEY_F23 312
    +
    485 #define GLFW_KEY_F24 313
    +
    486 #define GLFW_KEY_F25 314
    +
    487 #define GLFW_KEY_KP_0 320
    +
    488 #define GLFW_KEY_KP_1 321
    +
    489 #define GLFW_KEY_KP_2 322
    +
    490 #define GLFW_KEY_KP_3 323
    +
    491 #define GLFW_KEY_KP_4 324
    +
    492 #define GLFW_KEY_KP_5 325
    +
    493 #define GLFW_KEY_KP_6 326
    +
    494 #define GLFW_KEY_KP_7 327
    +
    495 #define GLFW_KEY_KP_8 328
    +
    496 #define GLFW_KEY_KP_9 329
    +
    497 #define GLFW_KEY_KP_DECIMAL 330
    +
    498 #define GLFW_KEY_KP_DIVIDE 331
    +
    499 #define GLFW_KEY_KP_MULTIPLY 332
    +
    500 #define GLFW_KEY_KP_SUBTRACT 333
    +
    501 #define GLFW_KEY_KP_ADD 334
    +
    502 #define GLFW_KEY_KP_ENTER 335
    +
    503 #define GLFW_KEY_KP_EQUAL 336
    +
    504 #define GLFW_KEY_LEFT_SHIFT 340
    +
    505 #define GLFW_KEY_LEFT_CONTROL 341
    +
    506 #define GLFW_KEY_LEFT_ALT 342
    +
    507 #define GLFW_KEY_LEFT_SUPER 343
    +
    508 #define GLFW_KEY_RIGHT_SHIFT 344
    +
    509 #define GLFW_KEY_RIGHT_CONTROL 345
    +
    510 #define GLFW_KEY_RIGHT_ALT 346
    +
    511 #define GLFW_KEY_RIGHT_SUPER 347
    +
    512 #define GLFW_KEY_MENU 348
    +
    513 
    +
    514 #define GLFW_KEY_LAST GLFW_KEY_MENU
    +
    515 
    +
    530 #define GLFW_MOD_SHIFT 0x0001
    +
    531 
    +
    535 #define GLFW_MOD_CONTROL 0x0002
    +
    536 
    +
    540 #define GLFW_MOD_ALT 0x0004
    +
    541 
    +
    545 #define GLFW_MOD_SUPER 0x0008
    +
    546 
    +
    551 #define GLFW_MOD_CAPS_LOCK 0x0010
    +
    552 
    +
    557 #define GLFW_MOD_NUM_LOCK 0x0020
    +
    558 
    +
    568 #define GLFW_MOUSE_BUTTON_1 0
    +
    569 #define GLFW_MOUSE_BUTTON_2 1
    +
    570 #define GLFW_MOUSE_BUTTON_3 2
    +
    571 #define GLFW_MOUSE_BUTTON_4 3
    +
    572 #define GLFW_MOUSE_BUTTON_5 4
    +
    573 #define GLFW_MOUSE_BUTTON_6 5
    +
    574 #define GLFW_MOUSE_BUTTON_7 6
    +
    575 #define GLFW_MOUSE_BUTTON_8 7
    +
    576 #define GLFW_MOUSE_BUTTON_LAST GLFW_MOUSE_BUTTON_8
    +
    577 #define GLFW_MOUSE_BUTTON_LEFT GLFW_MOUSE_BUTTON_1
    +
    578 #define GLFW_MOUSE_BUTTON_RIGHT GLFW_MOUSE_BUTTON_2
    +
    579 #define GLFW_MOUSE_BUTTON_MIDDLE GLFW_MOUSE_BUTTON_3
    +
    580 
    +
    589 #define GLFW_JOYSTICK_1 0
    +
    590 #define GLFW_JOYSTICK_2 1
    +
    591 #define GLFW_JOYSTICK_3 2
    +
    592 #define GLFW_JOYSTICK_4 3
    +
    593 #define GLFW_JOYSTICK_5 4
    +
    594 #define GLFW_JOYSTICK_6 5
    +
    595 #define GLFW_JOYSTICK_7 6
    +
    596 #define GLFW_JOYSTICK_8 7
    +
    597 #define GLFW_JOYSTICK_9 8
    +
    598 #define GLFW_JOYSTICK_10 9
    +
    599 #define GLFW_JOYSTICK_11 10
    +
    600 #define GLFW_JOYSTICK_12 11
    +
    601 #define GLFW_JOYSTICK_13 12
    +
    602 #define GLFW_JOYSTICK_14 13
    +
    603 #define GLFW_JOYSTICK_15 14
    +
    604 #define GLFW_JOYSTICK_16 15
    +
    605 #define GLFW_JOYSTICK_LAST GLFW_JOYSTICK_16
    +
    606 
    +
    615 #define GLFW_GAMEPAD_BUTTON_A 0
    +
    616 #define GLFW_GAMEPAD_BUTTON_B 1
    +
    617 #define GLFW_GAMEPAD_BUTTON_X 2
    +
    618 #define GLFW_GAMEPAD_BUTTON_Y 3
    +
    619 #define GLFW_GAMEPAD_BUTTON_LEFT_BUMPER 4
    +
    620 #define GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER 5
    +
    621 #define GLFW_GAMEPAD_BUTTON_BACK 6
    +
    622 #define GLFW_GAMEPAD_BUTTON_START 7
    +
    623 #define GLFW_GAMEPAD_BUTTON_GUIDE 8
    +
    624 #define GLFW_GAMEPAD_BUTTON_LEFT_THUMB 9
    +
    625 #define GLFW_GAMEPAD_BUTTON_RIGHT_THUMB 10
    +
    626 #define GLFW_GAMEPAD_BUTTON_DPAD_UP 11
    +
    627 #define GLFW_GAMEPAD_BUTTON_DPAD_RIGHT 12
    +
    628 #define GLFW_GAMEPAD_BUTTON_DPAD_DOWN 13
    +
    629 #define GLFW_GAMEPAD_BUTTON_DPAD_LEFT 14
    +
    630 #define GLFW_GAMEPAD_BUTTON_LAST GLFW_GAMEPAD_BUTTON_DPAD_LEFT
    +
    631 
    +
    632 #define GLFW_GAMEPAD_BUTTON_CROSS GLFW_GAMEPAD_BUTTON_A
    +
    633 #define GLFW_GAMEPAD_BUTTON_CIRCLE GLFW_GAMEPAD_BUTTON_B
    +
    634 #define GLFW_GAMEPAD_BUTTON_SQUARE GLFW_GAMEPAD_BUTTON_X
    +
    635 #define GLFW_GAMEPAD_BUTTON_TRIANGLE GLFW_GAMEPAD_BUTTON_Y
    +
    636 
    +
    645 #define GLFW_GAMEPAD_AXIS_LEFT_X 0
    +
    646 #define GLFW_GAMEPAD_AXIS_LEFT_Y 1
    +
    647 #define GLFW_GAMEPAD_AXIS_RIGHT_X 2
    +
    648 #define GLFW_GAMEPAD_AXIS_RIGHT_Y 3
    +
    649 #define GLFW_GAMEPAD_AXIS_LEFT_TRIGGER 4
    +
    650 #define GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER 5
    +
    651 #define GLFW_GAMEPAD_AXIS_LAST GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER
    +
    652 
    +
    667 #define GLFW_NO_ERROR 0
    +
    668 
    +
    676 #define GLFW_NOT_INITIALIZED 0x00010001
    +
    677 
    +
    686 #define GLFW_NO_CURRENT_CONTEXT 0x00010002
    +
    687 
    +
    694 #define GLFW_INVALID_ENUM 0x00010003
    +
    695 
    +
    705 #define GLFW_INVALID_VALUE 0x00010004
    +
    706 
    +
    713 #define GLFW_OUT_OF_MEMORY 0x00010005
    +
    714 
    +
    729 #define GLFW_API_UNAVAILABLE 0x00010006
    +
    730 
    +
    746 #define GLFW_VERSION_UNAVAILABLE 0x00010007
    +
    747 
    +
    757 #define GLFW_PLATFORM_ERROR 0x00010008
    +
    758 
    +
    776 #define GLFW_FORMAT_UNAVAILABLE 0x00010009
    +
    777 
    +
    784 #define GLFW_NO_WINDOW_CONTEXT 0x0001000A
    +
    785 
    +
    794 #define GLFW_FOCUSED 0x00020001
    +
    795 
    +
    799 #define GLFW_ICONIFIED 0x00020002
    +
    800 
    +
    805 #define GLFW_RESIZABLE 0x00020003
    +
    806 
    +
    811 #define GLFW_VISIBLE 0x00020004
    +
    812 
    +
    817 #define GLFW_DECORATED 0x00020005
    +
    818 
    +
    823 #define GLFW_AUTO_ICONIFY 0x00020006
    +
    824 
    +
    829 #define GLFW_FLOATING 0x00020007
    +
    830 
    +
    835 #define GLFW_MAXIMIZED 0x00020008
    +
    836 
    +
    840 #define GLFW_CENTER_CURSOR 0x00020009
    +
    841 
    +
    847 #define GLFW_TRANSPARENT_FRAMEBUFFER 0x0002000A
    +
    848 
    +
    852 #define GLFW_HOVERED 0x0002000B
    +
    853 
    +
    858 #define GLFW_FOCUS_ON_SHOW 0x0002000C
    +
    859 
    +
    864 #define GLFW_RED_BITS 0x00021001
    +
    865 
    +
    869 #define GLFW_GREEN_BITS 0x00021002
    +
    870 
    +
    874 #define GLFW_BLUE_BITS 0x00021003
    +
    875 
    +
    879 #define GLFW_ALPHA_BITS 0x00021004
    +
    880 
    +
    884 #define GLFW_DEPTH_BITS 0x00021005
    +
    885 
    +
    889 #define GLFW_STENCIL_BITS 0x00021006
    +
    890 
    +
    894 #define GLFW_ACCUM_RED_BITS 0x00021007
    +
    895 
    +
    899 #define GLFW_ACCUM_GREEN_BITS 0x00021008
    +
    900 
    +
    904 #define GLFW_ACCUM_BLUE_BITS 0x00021009
    +
    905 
    +
    909 #define GLFW_ACCUM_ALPHA_BITS 0x0002100A
    +
    910 
    +
    914 #define GLFW_AUX_BUFFERS 0x0002100B
    +
    915 
    +
    919 #define GLFW_STEREO 0x0002100C
    +
    920 
    +
    924 #define GLFW_SAMPLES 0x0002100D
    +
    925 
    +
    929 #define GLFW_SRGB_CAPABLE 0x0002100E
    +
    930 
    +
    934 #define GLFW_REFRESH_RATE 0x0002100F
    +
    935 
    +
    939 #define GLFW_DOUBLEBUFFER 0x00021010
    +
    940 
    +
    946 #define GLFW_CLIENT_API 0x00022001
    +
    947 
    +
    952 #define GLFW_CONTEXT_VERSION_MAJOR 0x00022002
    +
    953 
    +
    958 #define GLFW_CONTEXT_VERSION_MINOR 0x00022003
    +
    959 
    +
    964 #define GLFW_CONTEXT_REVISION 0x00022004
    +
    965 
    +
    970 #define GLFW_CONTEXT_ROBUSTNESS 0x00022005
    +
    971 
    +
    976 #define GLFW_OPENGL_FORWARD_COMPAT 0x00022006
    +
    977 
    +
    982 #define GLFW_OPENGL_DEBUG_CONTEXT 0x00022007
    +
    983 
    +
    988 #define GLFW_OPENGL_PROFILE 0x00022008
    +
    989 
    +
    994 #define GLFW_CONTEXT_RELEASE_BEHAVIOR 0x00022009
    +
    995 
    +
    1000 #define GLFW_CONTEXT_NO_ERROR 0x0002200A
    +
    1001 
    +
    1006 #define GLFW_CONTEXT_CREATION_API 0x0002200B
    +
    1007 
    +
    1010 #define GLFW_SCALE_TO_MONITOR 0x0002200C
    +
    1011 
    +
    1014 #define GLFW_COCOA_RETINA_FRAMEBUFFER 0x00023001
    +
    1015 
    +
    1018 #define GLFW_COCOA_FRAME_NAME 0x00023002
    +
    1019 
    +
    1022 #define GLFW_COCOA_GRAPHICS_SWITCHING 0x00023003
    +
    1023 
    +
    1026 #define GLFW_X11_CLASS_NAME 0x00024001
    +
    1027 
    +
    1030 #define GLFW_X11_INSTANCE_NAME 0x00024002
    + +
    1033 #define GLFW_NO_API 0
    +
    1034 #define GLFW_OPENGL_API 0x00030001
    +
    1035 #define GLFW_OPENGL_ES_API 0x00030002
    +
    1036 
    +
    1037 #define GLFW_NO_ROBUSTNESS 0
    +
    1038 #define GLFW_NO_RESET_NOTIFICATION 0x00031001
    +
    1039 #define GLFW_LOSE_CONTEXT_ON_RESET 0x00031002
    +
    1040 
    +
    1041 #define GLFW_OPENGL_ANY_PROFILE 0
    +
    1042 #define GLFW_OPENGL_CORE_PROFILE 0x00032001
    +
    1043 #define GLFW_OPENGL_COMPAT_PROFILE 0x00032002
    + +
    1045 #define GLFW_CURSOR 0x00033001
    +
    1046 #define GLFW_STICKY_KEYS 0x00033002
    +
    1047 #define GLFW_STICKY_MOUSE_BUTTONS 0x00033003
    +
    1048 #define GLFW_LOCK_KEY_MODS 0x00033004
    +
    1049 #define GLFW_RAW_MOUSE_MOTION 0x00033005
    +
    1050 
    +
    1051 #define GLFW_CURSOR_NORMAL 0x00034001
    +
    1052 #define GLFW_CURSOR_HIDDEN 0x00034002
    +
    1053 #define GLFW_CURSOR_DISABLED 0x00034003
    +
    1054 
    +
    1055 #define GLFW_ANY_RELEASE_BEHAVIOR 0
    +
    1056 #define GLFW_RELEASE_BEHAVIOR_FLUSH 0x00035001
    +
    1057 #define GLFW_RELEASE_BEHAVIOR_NONE 0x00035002
    +
    1058 
    +
    1059 #define GLFW_NATIVE_CONTEXT_API 0x00036001
    +
    1060 #define GLFW_EGL_CONTEXT_API 0x00036002
    +
    1061 #define GLFW_OSMESA_CONTEXT_API 0x00036003
    +
    1062 
    +
    1075 #define GLFW_ARROW_CURSOR 0x00036001
    + +
    1080 #define GLFW_IBEAM_CURSOR 0x00036002
    + +
    1085 #define GLFW_CROSSHAIR_CURSOR 0x00036003
    + +
    1090 #define GLFW_HAND_CURSOR 0x00036004
    + +
    1095 #define GLFW_HRESIZE_CURSOR 0x00036005
    + +
    1100 #define GLFW_VRESIZE_CURSOR 0x00036006
    +
    1101 
    +
    1103 #define GLFW_CONNECTED 0x00040001
    +
    1104 #define GLFW_DISCONNECTED 0x00040002
    +
    1105 
    +
    1112 #define GLFW_JOYSTICK_HAT_BUTTONS 0x00050001
    + +
    1117 #define GLFW_COCOA_CHDIR_RESOURCES 0x00051001
    + +
    1122 #define GLFW_COCOA_MENUBAR 0x00051002
    +
    1123 
    +
    1125 #define GLFW_DONT_CARE -1
    +
    1126 
    +
    1127 
    +
    1128 /*************************************************************************
    +
    1129  * GLFW API types
    +
    1130  *************************************************************************/
    +
    1131 
    +
    1144 typedef void (*GLFWglproc)(void);
    +
    1145 
    +
    1158 typedef void (*GLFWvkproc)(void);
    +
    1159 
    +
    1170 typedef struct GLFWmonitor GLFWmonitor;
    +
    1171 
    +
    1182 typedef struct GLFWwindow GLFWwindow;
    +
    1183 
    +
    1194 typedef struct GLFWcursor GLFWcursor;
    +
    1195 
    +
    1218 typedef void (* GLFWerrorfun)(int,const char*);
    +
    1219 
    +
    1241 typedef void (* GLFWwindowposfun)(GLFWwindow*,int,int);
    +
    1242 
    +
    1263 typedef void (* GLFWwindowsizefun)(GLFWwindow*,int,int);
    +
    1264 
    +
    1283 typedef void (* GLFWwindowclosefun)(GLFWwindow*);
    +
    1284 
    +
    1303 typedef void (* GLFWwindowrefreshfun)(GLFWwindow*);
    +
    1304 
    +
    1324 typedef void (* GLFWwindowfocusfun)(GLFWwindow*,int);
    +
    1325 
    +
    1345 typedef void (* GLFWwindowiconifyfun)(GLFWwindow*,int);
    +
    1346 
    +
    1366 typedef void (* GLFWwindowmaximizefun)(GLFWwindow*,int);
    +
    1367 
    +
    1387 typedef void (* GLFWframebuffersizefun)(GLFWwindow*,int,int);
    +
    1388 
    +
    1408 typedef void (* GLFWwindowcontentscalefun)(GLFWwindow*,float,float);
    +
    1409 
    +
    1434 typedef void (* GLFWmousebuttonfun)(GLFWwindow*,int,int,int);
    +
    1435 
    +
    1457 typedef void (* GLFWcursorposfun)(GLFWwindow*,double,double);
    +
    1458 
    +
    1478 typedef void (* GLFWcursorenterfun)(GLFWwindow*,int);
    +
    1479 
    +
    1499 typedef void (* GLFWscrollfun)(GLFWwindow*,double,double);
    +
    1500 
    +
    1525 typedef void (* GLFWkeyfun)(GLFWwindow*,int,int,int,int);
    +
    1526 
    +
    1546 typedef void (* GLFWcharfun)(GLFWwindow*,unsigned int);
    +
    1547 
    +
    1573 typedef void (* GLFWcharmodsfun)(GLFWwindow*,unsigned int,int);
    +
    1574 
    +
    1597 typedef void (* GLFWdropfun)(GLFWwindow*,int,const char*[]);
    +
    1598 
    +
    1618 typedef void (* GLFWmonitorfun)(GLFWmonitor*,int);
    +
    1619 
    +
    1639 typedef void (* GLFWjoystickfun)(int,int);
    +
    1640 
    +
    1654 typedef struct GLFWvidmode
    +
    1655 {
    +
    1658  int width;
    +
    1661  int height;
    +
    1664  int redBits;
    +
    1667  int greenBits;
    +
    1670  int blueBits;
    +
    1673  int refreshRate;
    +
    1674 } GLFWvidmode;
    +
    1675 
    +
    1688 typedef struct GLFWgammaramp
    +
    1689 {
    +
    1692  unsigned short* red;
    +
    1695  unsigned short* green;
    +
    1698  unsigned short* blue;
    +
    1701  unsigned int size;
    +
    1702 } GLFWgammaramp;
    +
    1703 
    +
    1717 typedef struct GLFWimage
    +
    1718 {
    +
    1721  int width;
    +
    1724  int height;
    +
    1727  unsigned char* pixels;
    +
    1728 } GLFWimage;
    +
    1729 
    +
    1741 typedef struct GLFWgamepadstate
    +
    1742 {
    +
    1746  unsigned char buttons[15];
    +
    1750  float axes[6];
    + +
    1752 
    +
    1753 
    +
    1754 /*************************************************************************
    +
    1755  * GLFW API functions
    +
    1756  *************************************************************************/
    +
    1757 
    +
    1794 GLFWAPI int glfwInit(void);
    +
    1795 
    +
    1828 GLFWAPI void glfwTerminate(void);
    +
    1829 
    +
    1860 GLFWAPI void glfwInitHint(int hint, int value);
    +
    1861 
    +
    1887 GLFWAPI void glfwGetVersion(int* major, int* minor, int* rev);
    +
    1888 
    +
    1918 GLFWAPI const char* glfwGetVersionString(void);
    +
    1919 
    +
    1949 GLFWAPI int glfwGetError(const char** description);
    +
    1950 
    + +
    1996 
    +
    2024 GLFWAPI GLFWmonitor** glfwGetMonitors(int* count);
    +
    2025 
    +
    2048 GLFWAPI GLFWmonitor* glfwGetPrimaryMonitor(void);
    +
    2049 
    +
    2073 GLFWAPI void glfwGetMonitorPos(GLFWmonitor* monitor, int* xpos, int* ypos);
    +
    2074 
    +
    2104 GLFWAPI void glfwGetMonitorWorkarea(GLFWmonitor* monitor, int* xpos, int* ypos, int* width, int* height);
    +
    2105 
    +
    2138 GLFWAPI void glfwGetMonitorPhysicalSize(GLFWmonitor* monitor, int* widthMM, int* heightMM);
    +
    2139 
    +
    2170 GLFWAPI void glfwGetMonitorContentScale(GLFWmonitor* monitor, float* xscale, float* yscale);
    +
    2171 
    +
    2196 GLFWAPI const char* glfwGetMonitorName(GLFWmonitor* monitor);
    +
    2197 
    +
    2222 GLFWAPI void glfwSetMonitorUserPointer(GLFWmonitor* monitor, void* pointer);
    +
    2223 
    +
    2246 GLFWAPI void* glfwGetMonitorUserPointer(GLFWmonitor* monitor);
    +
    2247 
    + +
    2277 
    +
    2309 GLFWAPI const GLFWvidmode* glfwGetVideoModes(GLFWmonitor* monitor, int* count);
    +
    2310 
    +
    2337 GLFWAPI const GLFWvidmode* glfwGetVideoMode(GLFWmonitor* monitor);
    +
    2338 
    +
    2370 GLFWAPI void glfwSetGamma(GLFWmonitor* monitor, float gamma);
    +
    2371 
    +
    2400 GLFWAPI const GLFWgammaramp* glfwGetGammaRamp(GLFWmonitor* monitor);
    +
    2401 
    +
    2441 GLFWAPI void glfwSetGammaRamp(GLFWmonitor* monitor, const GLFWgammaramp* ramp);
    +
    2442 
    +
    2460 GLFWAPI void glfwDefaultWindowHints(void);
    +
    2461 
    +
    2495 GLFWAPI void glfwWindowHint(int hint, int value);
    +
    2496 
    +
    2533 GLFWAPI void glfwWindowHintString(int hint, const char* value);
    +
    2534 
    +
    2687 GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height, const char* title, GLFWmonitor* monitor, GLFWwindow* share);
    +
    2688 
    +
    2716 GLFWAPI void glfwDestroyWindow(GLFWwindow* window);
    +
    2717 
    +
    2736 GLFWAPI int glfwWindowShouldClose(GLFWwindow* window);
    +
    2737 
    +
    2758 GLFWAPI void glfwSetWindowShouldClose(GLFWwindow* window, int value);
    +
    2759 
    +
    2783 GLFWAPI void glfwSetWindowTitle(GLFWwindow* window, const char* title);
    +
    2784 
    +
    2830 GLFWAPI void glfwSetWindowIcon(GLFWwindow* window, int count, const GLFWimage* images);
    +
    2831 
    +
    2862 GLFWAPI void glfwGetWindowPos(GLFWwindow* window, int* xpos, int* ypos);
    +
    2863 
    +
    2897 GLFWAPI void glfwSetWindowPos(GLFWwindow* window, int xpos, int ypos);
    +
    2898 
    +
    2927 GLFWAPI void glfwGetWindowSize(GLFWwindow* window, int* width, int* height);
    +
    2928 
    +
    2970 GLFWAPI void glfwSetWindowSizeLimits(GLFWwindow* window, int minwidth, int minheight, int maxwidth, int maxheight);
    +
    2971 
    +
    3013 GLFWAPI void glfwSetWindowAspectRatio(GLFWwindow* window, int numer, int denom);
    +
    3014 
    +
    3054 GLFWAPI void glfwSetWindowSize(GLFWwindow* window, int width, int height);
    +
    3055 
    +
    3083 GLFWAPI void glfwGetFramebufferSize(GLFWwindow* window, int* width, int* height);
    +
    3084 
    +
    3120 GLFWAPI void glfwGetWindowFrameSize(GLFWwindow* window, int* left, int* top, int* right, int* bottom);
    +
    3121 
    +
    3153 GLFWAPI void glfwGetWindowContentScale(GLFWwindow* window, float* xscale, float* yscale);
    +
    3154 
    +
    3180 GLFWAPI float glfwGetWindowOpacity(GLFWwindow* window);
    +
    3181 
    +
    3209 GLFWAPI void glfwSetWindowOpacity(GLFWwindow* window, float opacity);
    +
    3210 
    +
    3240 GLFWAPI void glfwIconifyWindow(GLFWwindow* window);
    +
    3241 
    +
    3267 GLFWAPI void glfwRestoreWindow(GLFWwindow* window);
    +
    3268 
    +
    3292 GLFWAPI void glfwMaximizeWindow(GLFWwindow* window);
    +
    3293 
    +
    3319 GLFWAPI void glfwShowWindow(GLFWwindow* window);
    +
    3320 
    +
    3341 GLFWAPI void glfwHideWindow(GLFWwindow* window);
    +
    3342 
    +
    3380 GLFWAPI void glfwFocusWindow(GLFWwindow* window);
    +
    3381 
    +
    3407 GLFWAPI void glfwRequestWindowAttention(GLFWwindow* window);
    +
    3408 
    +
    3429 GLFWAPI GLFWmonitor* glfwGetWindowMonitor(GLFWwindow* window);
    +
    3430 
    +
    3488 GLFWAPI void glfwSetWindowMonitor(GLFWwindow* window, GLFWmonitor* monitor, int xpos, int ypos, int width, int height, int refreshRate);
    +
    3489 
    +
    3522 GLFWAPI int glfwGetWindowAttrib(GLFWwindow* window, int attrib);
    +
    3523 
    +
    3559 GLFWAPI void glfwSetWindowAttrib(GLFWwindow* window, int attrib, int value);
    +
    3560 
    +
    3582 GLFWAPI void glfwSetWindowUserPointer(GLFWwindow* window, void* pointer);
    +
    3583 
    +
    3603 GLFWAPI void* glfwGetWindowUserPointer(GLFWwindow* window);
    +
    3604 
    + +
    3639 
    + +
    3671 
    + +
    3711 
    + +
    3747 
    + +
    3782 
    + +
    3815 
    + +
    3845 
    + +
    3875 
    + +
    3906 
    +
    3943 GLFWAPI void glfwPollEvents(void);
    +
    3944 
    +
    3988 GLFWAPI void glfwWaitEvents(void);
    +
    3989 
    +
    4037 GLFWAPI void glfwWaitEventsTimeout(double timeout);
    +
    4038 
    +
    4057 GLFWAPI void glfwPostEmptyEvent(void);
    +
    4058 
    +
    4082 GLFWAPI int glfwGetInputMode(GLFWwindow* window, int mode);
    +
    4083 
    +
    4144 GLFWAPI void glfwSetInputMode(GLFWwindow* window, int mode, int value);
    +
    4145 
    +
    4173 GLFWAPI int glfwRawMouseMotionSupported(void);
    +
    4174 
    +
    4241 GLFWAPI const char* glfwGetKeyName(int key, int scancode);
    +
    4242 
    +
    4265 GLFWAPI int glfwGetKeyScancode(int key);
    +
    4266 
    +
    4305 GLFWAPI int glfwGetKey(GLFWwindow* window, int key);
    +
    4306 
    +
    4334 GLFWAPI int glfwGetMouseButton(GLFWwindow* window, int button);
    +
    4335 
    +
    4372 GLFWAPI void glfwGetCursorPos(GLFWwindow* window, double* xpos, double* ypos);
    +
    4373 
    +
    4412 GLFWAPI void glfwSetCursorPos(GLFWwindow* window, double xpos, double ypos);
    +
    4413 
    +
    4450 GLFWAPI GLFWcursor* glfwCreateCursor(const GLFWimage* image, int xhot, int yhot);
    +
    4451 
    +
    4473 GLFWAPI GLFWcursor* glfwCreateStandardCursor(int shape);
    +
    4474 
    +
    4500 GLFWAPI void glfwDestroyCursor(GLFWcursor* cursor);
    +
    4501 
    +
    4527 GLFWAPI void glfwSetCursor(GLFWwindow* window, GLFWcursor* cursor);
    +
    4528 
    +
    4577 GLFWAPI GLFWkeyfun glfwSetKeyCallback(GLFWwindow* window, GLFWkeyfun callback);
    +
    4578 
    +
    4620 GLFWAPI GLFWcharfun glfwSetCharCallback(GLFWwindow* window, GLFWcharfun callback);
    +
    4621 
    + +
    4663 
    + +
    4700 
    + +
    4732 
    + +
    4763 
    +
    4796 GLFWAPI GLFWscrollfun glfwSetScrollCallback(GLFWwindow* window, GLFWscrollfun callback);
    +
    4797 
    +
    4833 GLFWAPI GLFWdropfun glfwSetDropCallback(GLFWwindow* window, GLFWdropfun callback);
    +
    4834 
    +
    4857 GLFWAPI int glfwJoystickPresent(int jid);
    +
    4858 
    +
    4890 GLFWAPI const float* glfwGetJoystickAxes(int jid, int* count);
    +
    4891 
    +
    4931 GLFWAPI const unsigned char* glfwGetJoystickButtons(int jid, int* count);
    +
    4932 
    +
    4988 GLFWAPI const unsigned char* glfwGetJoystickHats(int jid, int* count);
    +
    4989 
    +
    5019 GLFWAPI const char* glfwGetJoystickName(int jid);
    +
    5020 
    +
    5060 GLFWAPI const char* glfwGetJoystickGUID(int jid);
    +
    5061 
    +
    5086 GLFWAPI void glfwSetJoystickUserPointer(int jid, void* pointer);
    +
    5087 
    +
    5110 GLFWAPI void* glfwGetJoystickUserPointer(int jid);
    +
    5111 
    +
    5138 GLFWAPI int glfwJoystickIsGamepad(int jid);
    +
    5139 
    + +
    5175 
    +
    5208 GLFWAPI int glfwUpdateGamepadMappings(const char* string);
    +
    5209 
    +
    5238 GLFWAPI const char* glfwGetGamepadName(int jid);
    +
    5239 
    +
    5276 GLFWAPI int glfwGetGamepadState(int jid, GLFWgamepadstate* state);
    +
    5277 
    +
    5301 GLFWAPI void glfwSetClipboardString(GLFWwindow* window, const char* string);
    +
    5302 
    +
    5331 GLFWAPI const char* glfwGetClipboardString(GLFWwindow* window);
    +
    5332 
    +
    5361 GLFWAPI double glfwGetTime(void);
    +
    5362 
    +
    5391 GLFWAPI void glfwSetTime(double time);
    +
    5392 
    +
    5413 GLFWAPI uint64_t glfwGetTimerValue(void);
    +
    5414 
    +
    5433 GLFWAPI uint64_t glfwGetTimerFrequency(void);
    +
    5434 
    +
    5471 GLFWAPI void glfwMakeContextCurrent(GLFWwindow* window);
    +
    5472 
    +
    5492 GLFWAPI GLFWwindow* glfwGetCurrentContext(void);
    +
    5493 
    +
    5526 GLFWAPI void glfwSwapBuffers(GLFWwindow* window);
    +
    5527 
    +
    5572 GLFWAPI void glfwSwapInterval(int interval);
    +
    5573 
    +
    5610 GLFWAPI int glfwExtensionSupported(const char* extension);
    +
    5611 
    +
    5652 GLFWAPI GLFWglproc glfwGetProcAddress(const char* procname);
    +
    5653 
    +
    5680 GLFWAPI int glfwVulkanSupported(void);
    +
    5681 
    +
    5728 GLFWAPI const char** glfwGetRequiredInstanceExtensions(uint32_t* count);
    +
    5729 
    +
    5730 #if defined(VK_VERSION_1_0)
    +
    5731 
    +
    5771 GLFWAPI GLFWvkproc glfwGetInstanceProcAddress(VkInstance instance, const char* procname);
    +
    5772 
    +
    5808 GLFWAPI int glfwGetPhysicalDevicePresentationSupport(VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily);
    +
    5809 
    +
    5869 GLFWAPI VkResult glfwCreateWindowSurface(VkInstance instance, GLFWwindow* window, const VkAllocationCallbacks* allocator, VkSurfaceKHR* surface);
    +
    5870 
    +
    5871 #endif /*VK_VERSION_1_0*/
    +
    5872 
    +
    5873 
    +
    5874 /*************************************************************************
    +
    5875  * Global definition cleanup
    +
    5876  *************************************************************************/
    +
    5877 
    +
    5878 /* ------------------- BEGIN SYSTEM/COMPILER SPECIFIC -------------------- */
    +
    5879 
    +
    5880 #ifdef GLFW_WINGDIAPI_DEFINED
    +
    5881  #undef WINGDIAPI
    +
    5882  #undef GLFW_WINGDIAPI_DEFINED
    +
    5883 #endif
    +
    5884 
    +
    5885 #ifdef GLFW_CALLBACK_DEFINED
    +
    5886  #undef CALLBACK
    +
    5887  #undef GLFW_CALLBACK_DEFINED
    +
    5888 #endif
    +
    5889 
    +
    5890 /* Some OpenGL related headers need GLAPIENTRY, but it is unconditionally
    +
    5891  * defined by some gl.h variants (OpenBSD) so define it after if needed.
    +
    5892  */
    +
    5893 #ifndef GLAPIENTRY
    +
    5894  #define GLAPIENTRY APIENTRY
    +
    5895 #endif
    +
    5896 
    +
    5897 /* -------------------- END SYSTEM/COMPILER SPECIFIC --------------------- */
    +
    5898 
    +
    5899 
    +
    5900 #ifdef __cplusplus
    +
    5901 }
    +
    5902 #endif
    +
    5903 
    +
    5904 #endif /* _glfw3_h_ */
    +
    5905 
    +
    +
    void * glfwGetJoystickUserPointer(int jid)
    Returns the user pointer of the specified joystick.
    +
    int glfwGetGamepadState(int jid, GLFWgamepadstate *state)
    Retrieves the state of the specified joystick remapped as a gamepad.
    +
    int glfwGetError(const char **description)
    Returns and clears the last error for the calling thread.
    +
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback(GLFWwindow *window, GLFWframebuffersizefun callback)
    Sets the framebuffer resize callback for the specified window.
    +
    void glfwSetWindowSize(GLFWwindow *window, int width, int height)
    Sets the size of the content area of the specified window.
    +
    void(* GLFWwindowrefreshfun)(GLFWwindow *)
    The function pointer type for window content refresh callbacks.
    Definition: glfw3.h:1298
    +
    void(* GLFWmousebuttonfun)(GLFWwindow *, int, int, int)
    The function pointer type for mouse button callbacks.
    Definition: glfw3.h:1429
    +
    struct GLFWgammaramp GLFWgammaramp
    Gamma ramp.
    +
    struct GLFWimage GLFWimage
    Image data.
    +
    double glfwGetTime(void)
    Returns the GLFW time.
    +
    void glfwSetWindowPos(GLFWwindow *window, int xpos, int ypos)
    Sets the position of the content area of the specified window.
    +
    void glfwSetCursorPos(GLFWwindow *window, double xpos, double ypos)
    Sets the position of the cursor, relative to the content area of the window.
    +
    int glfwUpdateGamepadMappings(const char *string)
    Adds the specified SDL_GameControllerDB gamepad mappings.
    +
    const char * glfwGetJoystickName(int jid)
    Returns the name of the specified joystick.
    +
    void(* GLFWcursorposfun)(GLFWwindow *, double, double)
    The function pointer type for cursor position callbacks.
    Definition: glfw3.h:1452
    +
    void glfwSetWindowAttrib(GLFWwindow *window, int attrib, int value)
    Sets an attribute of the specified window.
    +
    void glfwRestoreWindow(GLFWwindow *window)
    Restores the specified window.
    +
    int glfwGetMouseButton(GLFWwindow *window, int button)
    Returns the last reported state of a mouse button for the specified window.
    +
    int glfwGetKeyScancode(int key)
    Returns the platform-specific scancode of the specified key.
    +
    void glfwGetMonitorContentScale(GLFWmonitor *monitor, float *xscale, float *yscale)
    Retrieves the content scale for the specified monitor.
    +
    void(* GLFWcharmodsfun)(GLFWwindow *, unsigned int, int)
    The function pointer type for Unicode character with modifiers callbacks.
    Definition: glfw3.h:1568
    +
    GLFWcursor * glfwCreateCursor(const GLFWimage *image, int xhot, int yhot)
    Creates a custom cursor.
    +
    void glfwGetWindowContentScale(GLFWwindow *window, float *xscale, float *yscale)
    Retrieves the content scale for the specified window.
    +
    const char * glfwGetKeyName(int key, int scancode)
    Returns the layout-specific name of the specified printable key.
    +
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback(GLFWwindow *window, GLFWwindowrefreshfun callback)
    Sets the refresh callback for the specified window.
    +
    GLFWmonitorfun glfwSetMonitorCallback(GLFWmonitorfun callback)
    Sets the monitor configuration callback.
    +
    int height
    Definition: glfw3.h:1719
    +
    Gamma ramp.
    Definition: glfw3.h:1683
    +
    void glfwSetInputMode(GLFWwindow *window, int mode, int value)
    Sets an input option for the specified window.
    +
    void(* GLFWerrorfun)(int, const char *)
    The function pointer type for error callbacks.
    Definition: glfw3.h:1213
    +
    void(* GLFWkeyfun)(GLFWwindow *, int, int, int, int)
    The function pointer type for keyboard key callbacks.
    Definition: glfw3.h:1520
    +
    GLFWwindowsizefun glfwSetWindowSizeCallback(GLFWwindow *window, GLFWwindowsizefun callback)
    Sets the size callback for the specified window.
    +
    void(* GLFWwindowmaximizefun)(GLFWwindow *, int)
    The function pointer type for window maximize callbacks.
    Definition: glfw3.h:1361
    +
    GLFWwindow * glfwGetCurrentContext(void)
    Returns the window whose context is current on the calling thread.
    +
    void glfwSetWindowMonitor(GLFWwindow *window, GLFWmonitor *monitor, int xpos, int ypos, int width, int height, int refreshRate)
    Sets the mode, monitor, video mode and placement of a window.
    +
    void glfwGetWindowPos(GLFWwindow *window, int *xpos, int *ypos)
    Retrieves the position of the content area of the specified window.
    +
    GLFWwindowmaximizefun glfwSetWindowMaximizeCallback(GLFWwindow *window, GLFWwindowmaximizefun callback)
    Sets the maximize callback for the specified window.
    +
    void(* GLFWcursorenterfun)(GLFWwindow *, int)
    The function pointer type for cursor enter/leave callbacks.
    Definition: glfw3.h:1473
    +
    void(* GLFWvkproc)(void)
    Vulkan API function pointer type.
    Definition: glfw3.h:1153
    +
    int glfwGetInputMode(GLFWwindow *window, int mode)
    Returns the value of an input option for the specified window.
    +
    void glfwSetWindowTitle(GLFWwindow *window, const char *title)
    Sets the title of the specified window.
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1177
    +
    void glfwGetMonitorWorkarea(GLFWmonitor *monitor, int *xpos, int *ypos, int *width, int *height)
    Retrieves the work area of the monitor.
    +
    void glfwSetJoystickUserPointer(int jid, void *pointer)
    Sets the user pointer of the specified joystick.
    +
    void glfwTerminate(void)
    Terminates the GLFW library.
    +
    int glfwExtensionSupported(const char *extension)
    Returns whether the specified extension is available.
    +
    GLFWmousebuttonfun glfwSetMouseButtonCallback(GLFWwindow *window, GLFWmousebuttonfun callback)
    Sets the mouse button callback.
    +
    void glfwSwapBuffers(GLFWwindow *window)
    Swaps the front and back buffers of the specified window.
    +
    void glfwMakeContextCurrent(GLFWwindow *window)
    Makes the context of the specified window current for the calling thread.
    +
    void glfwSwapInterval(int interval)
    Sets the swap interval for the current context.
    +
    const unsigned char * glfwGetJoystickHats(int jid, int *count)
    Returns the state of all hats of the specified joystick.
    +
    int blueBits
    Definition: glfw3.h:1665
    +
    void glfwGetWindowFrameSize(GLFWwindow *window, int *left, int *top, int *right, int *bottom)
    Retrieves the size of the frame of the window.
    +
    const char * glfwGetGamepadName(int jid)
    Returns the human-readable gamepad name for the specified joystick.
    +
    int glfwWindowShouldClose(GLFWwindow *window)
    Checks the close flag of the specified window.
    +
    void glfwSetTime(double time)
    Sets the GLFW time.
    +
    void glfwSetGammaRamp(GLFWmonitor *monitor, const GLFWgammaramp *ramp)
    Sets the current gamma ramp for the specified monitor.
    +
    void glfwGetCursorPos(GLFWwindow *window, double *xpos, double *ypos)
    Retrieves the position of the cursor relative to the content area of the window.
    +
    void glfwInitHint(int hint, int value)
    Sets the specified init hint to the desired value.
    +
    int glfwJoystickIsGamepad(int jid)
    Returns whether the specified joystick has a gamepad mapping.
    +
    void glfwPollEvents(void)
    Processes all pending events.
    +
    void glfwWaitEvents(void)
    Waits until events are queued and processes them.
    +
    void glfwDestroyCursor(GLFWcursor *cursor)
    Destroys a cursor.
    +
    const unsigned char * glfwGetJoystickButtons(int jid, int *count)
    Returns the state of all buttons of the specified joystick.
    +
    void(* GLFWscrollfun)(GLFWwindow *, double, double)
    The function pointer type for scroll callbacks.
    Definition: glfw3.h:1494
    +
    const char * glfwGetMonitorName(GLFWmonitor *monitor)
    Returns the name of the specified monitor.
    +
    GLFWcharfun glfwSetCharCallback(GLFWwindow *window, GLFWcharfun callback)
    Sets the Unicode character callback.
    +
    void glfwSetWindowSizeLimits(GLFWwindow *window, int minwidth, int minheight, int maxwidth, int maxheight)
    Sets the size limits of the specified window.
    +
    GLFWmonitor * glfwGetPrimaryMonitor(void)
    Returns the primary monitor.
    +
    void(* GLFWmonitorfun)(GLFWmonitor *, int)
    The function pointer type for monitor configuration callbacks.
    Definition: glfw3.h:1613
    +
    void(* GLFWjoystickfun)(int, int)
    The function pointer type for joystick configuration callbacks.
    Definition: glfw3.h:1634
    +
    const char * glfwGetJoystickGUID(int jid)
    Returns the SDL compatible GUID of the specified joystick.
    +
    GLFWwindowfocusfun glfwSetWindowFocusCallback(GLFWwindow *window, GLFWwindowfocusfun callback)
    Sets the focus callback for the specified window.
    +
    const char ** glfwGetRequiredInstanceExtensions(uint32_t *count)
    Returns the Vulkan instance extensions required by GLFW.
    +
    GLFWwindowclosefun glfwSetWindowCloseCallback(GLFWwindow *window, GLFWwindowclosefun callback)
    Sets the close callback for the specified window.
    +
    void glfwFocusWindow(GLFWwindow *window)
    Brings the specified window to front and sets input focus.
    +
    void(* GLFWglproc)(void)
    Client API function pointer type.
    Definition: glfw3.h:1139
    +
    const char * glfwGetClipboardString(GLFWwindow *window)
    Returns the contents of the clipboard as a string.
    +
    int height
    Definition: glfw3.h:1656
    +
    GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback(GLFWwindow *window, GLFWwindowcontentscalefun callback)
    Sets the window content scale callback for the specified window.
    +
    GLFWwindowposfun glfwSetWindowPosCallback(GLFWwindow *window, GLFWwindowposfun callback)
    Sets the position callback for the specified window.
    +
    GLFWcursorenterfun glfwSetCursorEnterCallback(GLFWwindow *window, GLFWcursorenterfun callback)
    Sets the cursor enter/leave callback.
    +
    void glfwSetCursor(GLFWwindow *window, GLFWcursor *cursor)
    Sets the cursor for the window.
    +
    void(* GLFWframebuffersizefun)(GLFWwindow *, int, int)
    The function pointer type for framebuffer size callbacks.
    Definition: glfw3.h:1382
    +
    GLFWmonitor ** glfwGetMonitors(int *count)
    Returns the currently connected monitors.
    +
    int glfwRawMouseMotionSupported(void)
    Returns whether raw mouse motion is supported.
    +
    void glfwSetMonitorUserPointer(GLFWmonitor *monitor, void *pointer)
    Sets the user pointer of the specified monitor.
    +
    unsigned char * pixels
    Definition: glfw3.h:1722
    +
    const GLFWvidmode * glfwGetVideoModes(GLFWmonitor *monitor, int *count)
    Returns the available video modes for the specified monitor.
    +
    void glfwShowWindow(GLFWwindow *window)
    Makes the specified window visible.
    +
    unsigned short * green
    Definition: glfw3.h:1690
    +
    struct GLFWgamepadstate GLFWgamepadstate
    Gamepad input state.
    +
    void glfwRequestWindowAttention(GLFWwindow *window)
    Requests user attention to the specified window.
    +
    int glfwJoystickPresent(int jid)
    Returns whether the specified joystick is present.
    +
    unsigned char buttons[15]
    Definition: glfw3.h:1741
    +
    int glfwVulkanSupported(void)
    Returns whether the Vulkan loader and an ICD have been found.
    +
    void glfwGetMonitorPos(GLFWmonitor *monitor, int *xpos, int *ypos)
    Returns the position of the monitor's viewport on the virtual screen.
    +
    void glfwHideWindow(GLFWwindow *window)
    Hides the specified window.
    +
    int width
    Definition: glfw3.h:1653
    +
    void glfwMaximizeWindow(GLFWwindow *window)
    Maximizes the specified window.
    +
    unsigned int size
    Definition: glfw3.h:1696
    +
    VkResult glfwCreateWindowSurface(VkInstance instance, GLFWwindow *window, const VkAllocationCallbacks *allocator, VkSurfaceKHR *surface)
    Creates a Vulkan surface for the specified window.
    +
    void(* GLFWcharfun)(GLFWwindow *, unsigned int)
    The function pointer type for Unicode character callbacks.
    Definition: glfw3.h:1541
    +
    void(* GLFWwindowcontentscalefun)(GLFWwindow *, float, float)
    The function pointer type for window content scale callbacks.
    Definition: glfw3.h:1403
    +
    uint64_t glfwGetTimerValue(void)
    Returns the current value of the raw timer.
    +
    unsigned short * red
    Definition: glfw3.h:1687
    +
    void glfwDefaultWindowHints(void)
    Resets all window hints to their default values.
    +
    GLFWcursorposfun glfwSetCursorPosCallback(GLFWwindow *window, GLFWcursorposfun callback)
    Sets the cursor position callback.
    +
    uint64_t glfwGetTimerFrequency(void)
    Returns the frequency, in Hz, of the raw timer.
    +
    void glfwSetWindowIcon(GLFWwindow *window, int count, const GLFWimage *images)
    Sets the icon for the specified window.
    +
    int width
    Definition: glfw3.h:1716
    +
    GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
    Creates a window and its associated context.
    +
    GLFWcharmodsfun glfwSetCharModsCallback(GLFWwindow *window, GLFWcharmodsfun callback)
    Sets the Unicode character with modifiers callback.
    +
    void glfwSetWindowShouldClose(GLFWwindow *window, int value)
    Sets the close flag of the specified window.
    +
    void glfwSetWindowAspectRatio(GLFWwindow *window, int numer, int denom)
    Sets the aspect ratio of the specified window.
    +
    void * glfwGetMonitorUserPointer(GLFWmonitor *monitor)
    Returns the user pointer of the specified monitor.
    +
    void glfwWaitEventsTimeout(double timeout)
    Waits with timeout until events are queued and processes them.
    +
    int greenBits
    Definition: glfw3.h:1662
    +
    void glfwGetMonitorPhysicalSize(GLFWmonitor *monitor, int *widthMM, int *heightMM)
    Returns the physical size of the monitor.
    +
    GLFWjoystickfun glfwSetJoystickCallback(GLFWjoystickfun callback)
    Sets the joystick configuration callback.
    +
    void(* GLFWwindowiconifyfun)(GLFWwindow *, int)
    The function pointer type for window iconify callbacks.
    Definition: glfw3.h:1340
    +
    Gamepad input state.
    Definition: glfw3.h:1736
    +
    struct GLFWvidmode GLFWvidmode
    Video mode type.
    +
    void(* GLFWdropfun)(GLFWwindow *, int, const char *[])
    The function pointer type for path drop callbacks.
    Definition: glfw3.h:1592
    +
    struct GLFWcursor GLFWcursor
    Opaque cursor object.
    Definition: glfw3.h:1189
    +
    GLFWcursor * glfwCreateStandardCursor(int shape)
    Creates a cursor with a standard shape.
    +
    int glfwInit(void)
    Initializes the GLFW library.
    +
    float axes[6]
    Definition: glfw3.h:1745
    +
    void glfwWindowHintString(int hint, const char *value)
    Sets the specified window hint to the desired value.
    +
    float glfwGetWindowOpacity(GLFWwindow *window)
    Returns the opacity of the whole window.
    +
    Image data.
    Definition: glfw3.h:1712
    +
    void glfwSetWindowOpacity(GLFWwindow *window, float opacity)
    Sets the opacity of the whole window.
    +
    GLFWglproc glfwGetProcAddress(const char *procname)
    Returns the address of the specified function for the current context.
    +
    const GLFWgammaramp * glfwGetGammaRamp(GLFWmonitor *monitor)
    Returns the current gamma ramp for the specified monitor.
    +
    GLFWdropfun glfwSetDropCallback(GLFWwindow *window, GLFWdropfun callback)
    Sets the path drop callback.
    +
    void(* GLFWwindowsizefun)(GLFWwindow *, int, int)
    The function pointer type for window size callbacks.
    Definition: glfw3.h:1258
    +
    unsigned short * blue
    Definition: glfw3.h:1693
    +
    GLFWmonitor * glfwGetWindowMonitor(GLFWwindow *window)
    Returns the monitor that the window uses for full screen mode.
    +
    GLFWkeyfun glfwSetKeyCallback(GLFWwindow *window, GLFWkeyfun callback)
    Sets the key callback.
    +
    void glfwIconifyWindow(GLFWwindow *window)
    Iconifies the specified window.
    +
    const char * glfwGetVersionString(void)
    Returns a string describing the compile-time configuration.
    +
    void glfwSetWindowUserPointer(GLFWwindow *window, void *pointer)
    Sets the user pointer of the specified window.
    +
    void glfwPostEmptyEvent(void)
    Posts an empty event to the event queue.
    +
    int glfwGetWindowAttrib(GLFWwindow *window, int attrib)
    Returns an attribute of the specified window.
    +
    void(* GLFWwindowfocusfun)(GLFWwindow *, int)
    The function pointer type for window focus callbacks.
    Definition: glfw3.h:1319
    +
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback(GLFWwindow *window, GLFWwindowiconifyfun callback)
    Sets the iconify callback for the specified window.
    +
    GLFWscrollfun glfwSetScrollCallback(GLFWwindow *window, GLFWscrollfun callback)
    Sets the scroll callback.
    +
    int glfwGetKey(GLFWwindow *window, int key)
    Returns the last reported state of a keyboard key for the specified window.
    +
    void glfwGetWindowSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the content area of the specified window.
    +
    const float * glfwGetJoystickAxes(int jid, int *count)
    Returns the values of all axes of the specified joystick.
    +
    Video mode type.
    Definition: glfw3.h:1649
    +
    GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun callback)
    Sets the error callback.
    +
    void glfwGetFramebufferSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the framebuffer of the specified window.
    +
    void(* GLFWwindowclosefun)(GLFWwindow *)
    The function pointer type for window close callbacks.
    Definition: glfw3.h:1278
    +
    int redBits
    Definition: glfw3.h:1659
    +
    void glfwWindowHint(int hint, int value)
    Sets the specified window hint to the desired value.
    +
    void glfwGetVersion(int *major, int *minor, int *rev)
    Retrieves the version of the GLFW library.
    +
    int glfwGetPhysicalDevicePresentationSupport(VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily)
    Returns whether the specified queue family can present images.
    +
    void glfwSetGamma(GLFWmonitor *monitor, float gamma)
    Generates a gamma ramp and sets it for the specified monitor.
    +
    void(* GLFWwindowposfun)(GLFWwindow *, int, int)
    The function pointer type for window position callbacks.
    Definition: glfw3.h:1236
    +
    const GLFWvidmode * glfwGetVideoMode(GLFWmonitor *monitor)
    Returns the current mode of the specified monitor.
    +
    void glfwSetClipboardString(GLFWwindow *window, const char *string)
    Sets the clipboard to the specified string.
    +
    void glfwDestroyWindow(GLFWwindow *window)
    Destroys the specified window and its context.
    +
    struct GLFWmonitor GLFWmonitor
    Opaque monitor object.
    Definition: glfw3.h:1165
    +
    int refreshRate
    Definition: glfw3.h:1668
    +
    void * glfwGetWindowUserPointer(GLFWwindow *window)
    Returns the user pointer of the specified window.
    +
    GLFWvkproc glfwGetInstanceProcAddress(VkInstance instance, const char *procname)
    Returns the address of the specified Vulkan instance function.
    + + + diff --git a/docs/3.3/glfw3native_8h.html b/docs/3.3/glfw3native_8h.html new file mode 100644 index 0000000..4ec1ae4 --- /dev/null +++ b/docs/3.3/glfw3native_8h.html @@ -0,0 +1,160 @@ + + + + + + + +GLFW: glfw3native.h File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    + +
    +
    glfw3native.h File Reference
    +
    +
    +

    Description

    +

    This is the header file of the native access functions. See Native access for more information.

    +
    +

    Go to the source code of this file.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    const char * glfwGetWin32Adapter (GLFWmonitor *monitor)
     Returns the adapter device name of the specified monitor. More...
     
    const char * glfwGetWin32Monitor (GLFWmonitor *monitor)
     Returns the display device name of the specified monitor. More...
     
    HWND glfwGetWin32Window (GLFWwindow *window)
     Returns the HWND of the specified window. More...
     
    HGLRC glfwGetWGLContext (GLFWwindow *window)
     Returns the HGLRC of the specified window. More...
     
    CGDirectDisplayID glfwGetCocoaMonitor (GLFWmonitor *monitor)
     Returns the CGDirectDisplayID of the specified monitor. More...
     
    id glfwGetCocoaWindow (GLFWwindow *window)
     Returns the NSWindow of the specified window. More...
     
    id glfwGetNSGLContext (GLFWwindow *window)
     Returns the NSOpenGLContext of the specified window. More...
     
    Display * glfwGetX11Display (void)
     Returns the Display used by GLFW. More...
     
    RRCrtc glfwGetX11Adapter (GLFWmonitor *monitor)
     Returns the RRCrtc of the specified monitor. More...
     
    RROutput glfwGetX11Monitor (GLFWmonitor *monitor)
     Returns the RROutput of the specified monitor. More...
     
    Window glfwGetX11Window (GLFWwindow *window)
     Returns the Window of the specified window. More...
     
    void glfwSetX11SelectionString (const char *string)
     Sets the current primary selection to the specified string. More...
     
    const char * glfwGetX11SelectionString (void)
     Returns the contents of the current primary selection as a string. More...
     
    GLXContext glfwGetGLXContext (GLFWwindow *window)
     Returns the GLXContext of the specified window. More...
     
    GLXWindow glfwGetGLXWindow (GLFWwindow *window)
     Returns the GLXWindow of the specified window. More...
     
    struct wl_display * glfwGetWaylandDisplay (void)
     Returns the struct wl_display* used by GLFW. More...
     
    struct wl_output * glfwGetWaylandMonitor (GLFWmonitor *monitor)
     Returns the struct wl_output* of the specified monitor. More...
     
    struct wl_surface * glfwGetWaylandWindow (GLFWwindow *window)
     Returns the main struct wl_surface* of the specified window. More...
     
    EGLDisplay glfwGetEGLDisplay (void)
     Returns the EGLDisplay used by GLFW. More...
     
    EGLContext glfwGetEGLContext (GLFWwindow *window)
     Returns the EGLContext of the specified window. More...
     
    EGLSurface glfwGetEGLSurface (GLFWwindow *window)
     Returns the EGLSurface of the specified window. More...
     
    int glfwGetOSMesaColorBuffer (GLFWwindow *window, int *width, int *height, int *format, void **buffer)
     Retrieves the color buffer associated with the specified window. More...
     
    int glfwGetOSMesaDepthBuffer (GLFWwindow *window, int *width, int *height, int *bytesPerValue, void **buffer)
     Retrieves the depth buffer associated with the specified window. More...
     
    OSMesaContext glfwGetOSMesaContext (GLFWwindow *window)
     Returns the OSMesaContext of the specified window. More...
     
    +
    + + + diff --git a/docs/3.3/glfw3native_8h_source.html b/docs/3.3/glfw3native_8h_source.html new file mode 100644 index 0000000..9e97f5d --- /dev/null +++ b/docs/3.3/glfw3native_8h_source.html @@ -0,0 +1,273 @@ + + + + + + + +GLFW: glfw3native.h Source File + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    glfw3native.h
    +
    +
    +Go to the documentation of this file.
    1 /*************************************************************************
    +
    2  * GLFW 3.3 - www.glfw.org
    +
    3  * A library for OpenGL, window and input
    +
    4  *------------------------------------------------------------------------
    +
    5  * Copyright (c) 2002-2006 Marcus Geelnard
    +
    6  * Copyright (c) 2006-2018 Camilla Löwy <elmindreda@glfw.org>
    +
    7  *
    +
    8  * This software is provided 'as-is', without any express or implied
    +
    9  * warranty. In no event will the authors be held liable for any damages
    +
    10  * arising from the use of this software.
    +
    11  *
    +
    12  * Permission is granted to anyone to use this software for any purpose,
    +
    13  * including commercial applications, and to alter it and redistribute it
    +
    14  * freely, subject to the following restrictions:
    +
    15  *
    +
    16  * 1. The origin of this software must not be misrepresented; you must not
    +
    17  * claim that you wrote the original software. If you use this software
    +
    18  * in a product, an acknowledgment in the product documentation would
    +
    19  * be appreciated but is not required.
    +
    20  *
    +
    21  * 2. Altered source versions must be plainly marked as such, and must not
    +
    22  * be misrepresented as being the original software.
    +
    23  *
    +
    24  * 3. This notice may not be removed or altered from any source
    +
    25  * distribution.
    +
    26  *
    +
    27  *************************************************************************/
    +
    28 
    +
    29 #ifndef _glfw3_native_h_
    +
    30 #define _glfw3_native_h_
    +
    31 
    +
    32 #ifdef __cplusplus
    +
    33 extern "C" {
    +
    34 #endif
    +
    35 
    +
    36 
    +
    37 /*************************************************************************
    +
    38  * Doxygen documentation
    +
    39  *************************************************************************/
    +
    40 
    +
    80 /*************************************************************************
    +
    81  * System headers and types
    +
    82  *************************************************************************/
    +
    83 
    +
    84 #if defined(GLFW_EXPOSE_NATIVE_WIN32) || defined(GLFW_EXPOSE_NATIVE_WGL)
    +
    85  // This is a workaround for the fact that glfw3.h needs to export APIENTRY (for
    +
    86  // example to allow applications to correctly declare a GL_ARB_debug_output
    +
    87  // callback) but windows.h assumes no one will define APIENTRY before it does
    +
    88  #if defined(GLFW_APIENTRY_DEFINED)
    +
    89  #undef APIENTRY
    +
    90  #undef GLFW_APIENTRY_DEFINED
    +
    91  #endif
    +
    92  #include <windows.h>
    +
    93 #elif defined(GLFW_EXPOSE_NATIVE_COCOA) || defined(GLFW_EXPOSE_NATIVE_NSGL)
    +
    94  #if defined(__OBJC__)
    +
    95  #import <Cocoa/Cocoa.h>
    +
    96  #else
    +
    97  #include <ApplicationServices/ApplicationServices.h>
    +
    98  typedef void* id;
    +
    99  #endif
    +
    100 #elif defined(GLFW_EXPOSE_NATIVE_X11) || defined(GLFW_EXPOSE_NATIVE_GLX)
    +
    101  #include <X11/Xlib.h>
    +
    102  #include <X11/extensions/Xrandr.h>
    +
    103 #elif defined(GLFW_EXPOSE_NATIVE_WAYLAND)
    +
    104  #include <wayland-client.h>
    +
    105 #endif
    +
    106 
    +
    107 #if defined(GLFW_EXPOSE_NATIVE_WGL)
    +
    108  /* WGL is declared by windows.h */
    +
    109 #endif
    +
    110 #if defined(GLFW_EXPOSE_NATIVE_NSGL)
    +
    111  /* NSGL is declared by Cocoa.h */
    +
    112 #endif
    +
    113 #if defined(GLFW_EXPOSE_NATIVE_GLX)
    +
    114  #include <GL/glx.h>
    +
    115 #endif
    +
    116 #if defined(GLFW_EXPOSE_NATIVE_EGL)
    +
    117  #include <EGL/egl.h>
    +
    118 #endif
    +
    119 #if defined(GLFW_EXPOSE_NATIVE_OSMESA)
    +
    120  #include <GL/osmesa.h>
    +
    121 #endif
    +
    122 
    +
    123 
    +
    124 /*************************************************************************
    +
    125  * Functions
    +
    126  *************************************************************************/
    +
    127 
    +
    128 #if defined(GLFW_EXPOSE_NATIVE_WIN32)
    +
    129 
    +
    142 GLFWAPI const char* glfwGetWin32Adapter(GLFWmonitor* monitor);
    +
    143 
    +
    157 GLFWAPI const char* glfwGetWin32Monitor(GLFWmonitor* monitor);
    +
    158 
    +
    171 GLFWAPI HWND glfwGetWin32Window(GLFWwindow* window);
    +
    172 #endif
    +
    173 
    +
    174 #if defined(GLFW_EXPOSE_NATIVE_WGL)
    +
    175 
    +
    187 GLFWAPI HGLRC glfwGetWGLContext(GLFWwindow* window);
    +
    188 #endif
    +
    189 
    +
    190 #if defined(GLFW_EXPOSE_NATIVE_COCOA)
    +
    191 
    +
    203 GLFWAPI CGDirectDisplayID glfwGetCocoaMonitor(GLFWmonitor* monitor);
    +
    204 
    +
    217 GLFWAPI id glfwGetCocoaWindow(GLFWwindow* window);
    +
    218 #endif
    +
    219 
    +
    220 #if defined(GLFW_EXPOSE_NATIVE_NSGL)
    +
    221 
    +
    233 GLFWAPI id glfwGetNSGLContext(GLFWwindow* window);
    +
    234 #endif
    +
    235 
    +
    236 #if defined(GLFW_EXPOSE_NATIVE_X11)
    +
    237 
    +
    249 GLFWAPI Display* glfwGetX11Display(void);
    +
    250 
    +
    263 GLFWAPI RRCrtc glfwGetX11Adapter(GLFWmonitor* monitor);
    +
    264 
    +
    277 GLFWAPI RROutput glfwGetX11Monitor(GLFWmonitor* monitor);
    +
    278 
    +
    291 GLFWAPI Window glfwGetX11Window(GLFWwindow* window);
    +
    292 
    +
    313 GLFWAPI void glfwSetX11SelectionString(const char* string);
    +
    314 
    +
    341 GLFWAPI const char* glfwGetX11SelectionString(void);
    +
    342 #endif
    +
    343 
    +
    344 #if defined(GLFW_EXPOSE_NATIVE_GLX)
    +
    345 
    +
    357 GLFWAPI GLXContext glfwGetGLXContext(GLFWwindow* window);
    +
    358 
    +
    371 GLFWAPI GLXWindow glfwGetGLXWindow(GLFWwindow* window);
    +
    372 #endif
    +
    373 
    +
    374 #if defined(GLFW_EXPOSE_NATIVE_WAYLAND)
    +
    375 
    +
    387 GLFWAPI struct wl_display* glfwGetWaylandDisplay(void);
    +
    388 
    +
    401 GLFWAPI struct wl_output* glfwGetWaylandMonitor(GLFWmonitor* monitor);
    +
    402 
    +
    415 GLFWAPI struct wl_surface* glfwGetWaylandWindow(GLFWwindow* window);
    +
    416 #endif
    +
    417 
    +
    418 #if defined(GLFW_EXPOSE_NATIVE_EGL)
    +
    419 
    +
    431 GLFWAPI EGLDisplay glfwGetEGLDisplay(void);
    +
    432 
    +
    445 GLFWAPI EGLContext glfwGetEGLContext(GLFWwindow* window);
    +
    446 
    +
    459 GLFWAPI EGLSurface glfwGetEGLSurface(GLFWwindow* window);
    +
    460 #endif
    +
    461 
    +
    462 #if defined(GLFW_EXPOSE_NATIVE_OSMESA)
    +
    463 
    +
    482 GLFWAPI int glfwGetOSMesaColorBuffer(GLFWwindow* window, int* width, int* height, int* format, void** buffer);
    +
    483 
    +
    503 GLFWAPI int glfwGetOSMesaDepthBuffer(GLFWwindow* window, int* width, int* height, int* bytesPerValue, void** buffer);
    +
    504 
    +
    517 GLFWAPI OSMesaContext glfwGetOSMesaContext(GLFWwindow* window);
    +
    518 #endif
    +
    519 
    +
    520 #ifdef __cplusplus
    +
    521 }
    +
    522 #endif
    +
    523 
    +
    524 #endif /* _glfw3_native_h_ */
    +
    525 
    +
    +
    int glfwGetOSMesaDepthBuffer(GLFWwindow *window, int *width, int *height, int *bytesPerValue, void **buffer)
    Retrieves the depth buffer associated with the specified window.
    +
    const char * glfwGetX11SelectionString(void)
    Returns the contents of the current primary selection as a string.
    +
    GLXWindow glfwGetGLXWindow(GLFWwindow *window)
    Returns the GLXWindow of the specified window.
    +
    struct wl_display * glfwGetWaylandDisplay(void)
    Returns the struct wl_display* used by GLFW.
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1177
    +
    CGDirectDisplayID glfwGetCocoaMonitor(GLFWmonitor *monitor)
    Returns the CGDirectDisplayID of the specified monitor.
    +
    EGLContext glfwGetEGLContext(GLFWwindow *window)
    Returns the EGLContext of the specified window.
    +
    void glfwSetX11SelectionString(const char *string)
    Sets the current primary selection to the specified string.
    +
    struct wl_output * glfwGetWaylandMonitor(GLFWmonitor *monitor)
    Returns the struct wl_output* of the specified monitor.
    +
    HGLRC glfwGetWGLContext(GLFWwindow *window)
    Returns the HGLRC of the specified window.
    +
    GLXContext glfwGetGLXContext(GLFWwindow *window)
    Returns the GLXContext of the specified window.
    +
    Display * glfwGetX11Display(void)
    Returns the Display used by GLFW.
    +
    id glfwGetCocoaWindow(GLFWwindow *window)
    Returns the NSWindow of the specified window.
    +
    struct wl_surface * glfwGetWaylandWindow(GLFWwindow *window)
    Returns the main struct wl_surface* of the specified window.
    +
    const char * glfwGetWin32Monitor(GLFWmonitor *monitor)
    Returns the display device name of the specified monitor.
    +
    id glfwGetNSGLContext(GLFWwindow *window)
    Returns the NSOpenGLContext of the specified window.
    +
    const char * glfwGetWin32Adapter(GLFWmonitor *monitor)
    Returns the adapter device name of the specified monitor.
    +
    OSMesaContext glfwGetOSMesaContext(GLFWwindow *window)
    Returns the OSMesaContext of the specified window.
    +
    Window glfwGetX11Window(GLFWwindow *window)
    Returns the Window of the specified window.
    +
    EGLSurface glfwGetEGLSurface(GLFWwindow *window)
    Returns the EGLSurface of the specified window.
    +
    int glfwGetOSMesaColorBuffer(GLFWwindow *window, int *width, int *height, int *format, void **buffer)
    Retrieves the color buffer associated with the specified window.
    +
    RROutput glfwGetX11Monitor(GLFWmonitor *monitor)
    Returns the RROutput of the specified monitor.
    +
    RRCrtc glfwGetX11Adapter(GLFWmonitor *monitor)
    Returns the RRCrtc of the specified monitor.
    +
    EGLDisplay glfwGetEGLDisplay(void)
    Returns the EGLDisplay used by GLFW.
    +
    HWND glfwGetWin32Window(GLFWwindow *window)
    Returns the HWND of the specified window.
    +
    struct GLFWmonitor GLFWmonitor
    Opaque monitor object.
    Definition: glfw3.h:1165
    + + + diff --git a/docs/3.3/group__buttons.html b/docs/3.3/group__buttons.html new file mode 100644 index 0000000..fdba412 --- /dev/null +++ b/docs/3.3/group__buttons.html @@ -0,0 +1,275 @@ + + + + + + + +GLFW: Mouse buttons + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Mouse buttons
    +
    +
    +

    Description

    +

    See mouse button input for how these are used.

    + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_MOUSE_BUTTON_1   0
     
    #define GLFW_MOUSE_BUTTON_2   1
     
    #define GLFW_MOUSE_BUTTON_3   2
     
    #define GLFW_MOUSE_BUTTON_4   3
     
    #define GLFW_MOUSE_BUTTON_5   4
     
    #define GLFW_MOUSE_BUTTON_6   5
     
    #define GLFW_MOUSE_BUTTON_7   6
     
    #define GLFW_MOUSE_BUTTON_8   7
     
    #define GLFW_MOUSE_BUTTON_LAST   GLFW_MOUSE_BUTTON_8
     
    #define GLFW_MOUSE_BUTTON_LEFT   GLFW_MOUSE_BUTTON_1
     
    #define GLFW_MOUSE_BUTTON_RIGHT   GLFW_MOUSE_BUTTON_2
     
    #define GLFW_MOUSE_BUTTON_MIDDLE   GLFW_MOUSE_BUTTON_3
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_MOUSE_BUTTON_1

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_1   0
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_2

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_2   1
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_3

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_3   2
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_4

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_4   3
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_5

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_5   4
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_6

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_6   5
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_7

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_7   6
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_8

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_8   7
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_LAST

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_LAST   GLFW_MOUSE_BUTTON_8
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_LEFT

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_LEFT   GLFW_MOUSE_BUTTON_1
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_RIGHT

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_RIGHT   GLFW_MOUSE_BUTTON_2
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_MIDDLE

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_MIDDLE   GLFW_MOUSE_BUTTON_3
    +
    + +
    +
    +
    + + + diff --git a/docs/3.3/group__context.html b/docs/3.3/group__context.html new file mode 100644 index 0000000..d2a1a5e --- /dev/null +++ b/docs/3.3/group__context.html @@ -0,0 +1,295 @@ + + + + + + + +GLFW: Context reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Context reference
    +
    +
    +

    Description

    +

    This is the reference documentation for OpenGL and OpenGL ES context related functions. For more task-oriented information, see the Context guide.

    + + + + + +

    +Typedefs

    typedef void(* GLFWglproc) (void)
     Client API function pointer type. More...
     
    + + + + + + + + + + + + + + + + +

    +Functions

    void glfwMakeContextCurrent (GLFWwindow *window)
     Makes the context of the specified window current for the calling thread. More...
     
    GLFWwindowglfwGetCurrentContext (void)
     Returns the window whose context is current on the calling thread. More...
     
    void glfwSwapInterval (int interval)
     Sets the swap interval for the current context. More...
     
    int glfwExtensionSupported (const char *extension)
     Returns whether the specified extension is available. More...
     
    GLFWglproc glfwGetProcAddress (const char *procname)
     Returns the address of the specified function for the current context. More...
     
    +

    Typedef Documentation

    + +

    ◆ GLFWglproc

    + +
    +
    + + + + +
    typedef void(* GLFWglproc) (void)
    +
    +

    Generic function pointer used for returning client API function pointers without forcing a cast from a regular pointer.

    +
    See also
    OpenGL and OpenGL ES extensions
    +
    +glfwGetProcAddress
    +
    Since
    Added in version 3.0.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwMakeContextCurrent()

    + +
    +
    + + + + + + + + +
    void glfwMakeContextCurrent (GLFWwindowwindow)
    +
    +

    This function makes the OpenGL or OpenGL ES context of the specified window current on the calling thread. A context must only be made current on a single thread at a time and each thread can have only a single current context at a time.

    +

    When moving a context between threads, you must make it non-current on the old thread before making it current on the new one.

    +

    By default, making a context non-current implicitly forces a pipeline flush. On machines that support GL_KHR_context_flush_control, you can control whether a context performs this flush by setting the GLFW_CONTEXT_RELEASE_BEHAVIOR hint.

    +

    The specified window must have an OpenGL or OpenGL ES context. Specifying a window without a context will generate a GLFW_NO_WINDOW_CONTEXT error.

    +
    Parameters
    + + +
    [in]windowThe window whose context to make current, or NULL to detach the current context.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_NO_WINDOW_CONTEXT and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Current context
    +
    +glfwGetCurrentContext
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetCurrentContext()

    + +
    +
    + + + + + + + + +
    GLFWwindow* glfwGetCurrentContext (void )
    +
    +

    This function returns the window whose OpenGL or OpenGL ES context is current on the calling thread.

    +
    Returns
    The window whose context is current, or NULL if no window's context is current.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Current context
    +
    +glfwMakeContextCurrent
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSwapInterval()

    + +
    +
    + + + + + + + + +
    void glfwSwapInterval (int interval)
    +
    +

    This function sets the swap interval for the current OpenGL or OpenGL ES context, i.e. the number of screen updates to wait from the time glfwSwapBuffers was called before swapping the buffers and returning. This is sometimes called vertical synchronization, vertical retrace synchronization or just vsync.

    +

    A context that supports either of the WGL_EXT_swap_control_tear and GLX_EXT_swap_control_tear extensions also accepts negative swap intervals, which allows the driver to swap immediately even if a frame arrives a little bit late. You can check for these extensions with glfwExtensionSupported.

    +

    A context must be current on the calling thread. Calling this function without a current context will cause a GLFW_NO_CURRENT_CONTEXT error.

    +

    This function does not apply to Vulkan. If you are rendering with Vulkan, see the present mode of your swapchain instead.

    +
    Parameters
    + + +
    [in]intervalThe minimum number of screen updates to wait for until the buffers are swapped by glfwSwapBuffers.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_NO_CURRENT_CONTEXT and GLFW_PLATFORM_ERROR.
    +
    Remarks
    This function is not called during context creation, leaving the swap interval set to whatever is the default on that platform. This is done because some swap interval extensions used by GLFW do not allow the swap interval to be reset to zero once it has been set to a non-zero value.
    +
    +Some GPU drivers do not honor the requested swap interval, either because of a user setting that overrides the application's request or due to bugs in the driver.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Buffer swapping
    +
    +glfwSwapBuffers
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwExtensionSupported()

    + +
    +
    + + + + + + + + +
    int glfwExtensionSupported (const char * extension)
    +
    +

    This function returns whether the specified API extension is supported by the current OpenGL or OpenGL ES context. It searches both for client API extension and context creation API extensions.

    +

    A context must be current on the calling thread. Calling this function without a current context will cause a GLFW_NO_CURRENT_CONTEXT error.

    +

    As this functions retrieves and searches one or more extension strings each call, it is recommended that you cache its results if it is going to be used frequently. The extension strings will not change during the lifetime of a context, so there is no danger in doing this.

    +

    This function does not apply to Vulkan. If you are using Vulkan, see glfwGetRequiredInstanceExtensions, vkEnumerateInstanceExtensionProperties and vkEnumerateDeviceExtensionProperties instead.

    +
    Parameters
    + + +
    [in]extensionThe ASCII encoded name of the extension.
    +
    +
    +
    Returns
    GLFW_TRUE if the extension is available, or GLFW_FALSE otherwise.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_NO_CURRENT_CONTEXT, GLFW_INVALID_VALUE and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    OpenGL and OpenGL ES extensions
    +
    +glfwGetProcAddress
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwGetProcAddress()

    + +
    +
    + + + + + + + + +
    GLFWglproc glfwGetProcAddress (const char * procname)
    +
    +

    This function returns the address of the specified OpenGL or OpenGL ES core or extension function, if it is supported by the current context.

    +

    A context must be current on the calling thread. Calling this function without a current context will cause a GLFW_NO_CURRENT_CONTEXT error.

    +

    This function does not apply to Vulkan. If you are rendering with Vulkan, see glfwGetInstanceProcAddress, vkGetInstanceProcAddr and vkGetDeviceProcAddr instead.

    +
    Parameters
    + + +
    [in]procnameThe ASCII encoded name of the function.
    +
    +
    +
    Returns
    The address of the function, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_NO_CURRENT_CONTEXT and GLFW_PLATFORM_ERROR.
    +
    Remarks
    The address of a given function is not guaranteed to be the same between contexts.
    +
    +This function may return a non-NULL address despite the associated version or extension not being available. Always check the context version or extension string first.
    +
    Pointer lifetime
    The returned function pointer is valid until the context is destroyed or the library is terminated.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    OpenGL and OpenGL ES extensions
    +
    +glfwExtensionSupported
    +
    Since
    Added in version 1.0.
    + +
    +
    +
    + + + diff --git a/docs/3.3/group__errors.html b/docs/3.3/group__errors.html new file mode 100644 index 0000000..a9ae7c1 --- /dev/null +++ b/docs/3.3/group__errors.html @@ -0,0 +1,297 @@ + + + + + + + +GLFW: Error codes + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + + +
    +

    Description

    +

    See error handling for how these are used.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_NO_ERROR   0
     No error has occurred. More...
     
    #define GLFW_NOT_INITIALIZED   0x00010001
     GLFW has not been initialized. More...
     
    #define GLFW_NO_CURRENT_CONTEXT   0x00010002
     No context is current for this thread. More...
     
    #define GLFW_INVALID_ENUM   0x00010003
     One of the arguments to the function was an invalid enum value. More...
     
    #define GLFW_INVALID_VALUE   0x00010004
     One of the arguments to the function was an invalid value. More...
     
    #define GLFW_OUT_OF_MEMORY   0x00010005
     A memory allocation failed. More...
     
    #define GLFW_API_UNAVAILABLE   0x00010006
     GLFW could not find support for the requested API on the system. More...
     
    #define GLFW_VERSION_UNAVAILABLE   0x00010007
     The requested OpenGL or OpenGL ES version is not available. More...
     
    #define GLFW_PLATFORM_ERROR   0x00010008
     A platform-specific error occurred that does not match any of the more specific categories. More...
     
    #define GLFW_FORMAT_UNAVAILABLE   0x00010009
     The requested format is not supported or available. More...
     
    #define GLFW_NO_WINDOW_CONTEXT   0x0001000A
     The specified window does not have an OpenGL or OpenGL ES context. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_NO_ERROR

    + +
    +
    + + + + +
    #define GLFW_NO_ERROR   0
    +
    +

    No error has occurred.

    +
    Analysis
    Yay.
    + +
    +
    + +

    ◆ GLFW_NOT_INITIALIZED

    + +
    +
    + + + + +
    #define GLFW_NOT_INITIALIZED   0x00010001
    +
    +

    This occurs if a GLFW function was called that must not be called unless the library is initialized.

    +
    Analysis
    Application programmer error. Initialize GLFW before calling any function that requires initialization.
    + +
    +
    + +

    ◆ GLFW_NO_CURRENT_CONTEXT

    + +
    +
    + + + + +
    #define GLFW_NO_CURRENT_CONTEXT   0x00010002
    +
    +

    This occurs if a GLFW function was called that needs and operates on the current OpenGL or OpenGL ES context but no context is current on the calling thread. One such function is glfwSwapInterval.

    +
    Analysis
    Application programmer error. Ensure a context is current before calling functions that require a current context.
    + +
    +
    + +

    ◆ GLFW_INVALID_ENUM

    + +
    +
    + + + + +
    #define GLFW_INVALID_ENUM   0x00010003
    +
    +

    One of the arguments to the function was an invalid enum value, for example requesting GLFW_RED_BITS with glfwGetWindowAttrib.

    +
    Analysis
    Application programmer error. Fix the offending call.
    + +
    +
    + +

    ◆ GLFW_INVALID_VALUE

    + +
    +
    + + + + +
    #define GLFW_INVALID_VALUE   0x00010004
    +
    +

    One of the arguments to the function was an invalid value, for example requesting a non-existent OpenGL or OpenGL ES version like 2.7.

    +

    Requesting a valid but unavailable OpenGL or OpenGL ES version will instead result in a GLFW_VERSION_UNAVAILABLE error.

    +
    Analysis
    Application programmer error. Fix the offending call.
    + +
    +
    + +

    ◆ GLFW_OUT_OF_MEMORY

    + +
    +
    + + + + +
    #define GLFW_OUT_OF_MEMORY   0x00010005
    +
    +

    A memory allocation failed.

    +
    Analysis
    A bug in GLFW or the underlying operating system. Report the bug to our issue tracker.
    + +
    +
    + +

    ◆ GLFW_API_UNAVAILABLE

    + +
    +
    + + + + +
    #define GLFW_API_UNAVAILABLE   0x00010006
    +
    +

    GLFW could not find support for the requested API on the system.

    +
    Analysis
    The installed graphics driver does not support the requested API, or does not support it via the chosen context creation backend. Below are a few examples.
    +
    Some pre-installed Windows graphics drivers do not support OpenGL. AMD only supports OpenGL ES via EGL, while Nvidia and Intel only support it via a WGL or GLX extension. macOS does not provide OpenGL ES at all. The Mesa EGL, OpenGL and OpenGL ES libraries do not interface with the Nvidia binary driver. Older graphics drivers do not support Vulkan.
    + +
    +
    + +

    ◆ GLFW_VERSION_UNAVAILABLE

    + +
    +
    + + + + +
    #define GLFW_VERSION_UNAVAILABLE   0x00010007
    +
    +

    The requested OpenGL or OpenGL ES version (including any requested context or framebuffer hints) is not available on this machine.

    +
    Analysis
    The machine does not support your requirements. If your application is sufficiently flexible, downgrade your requirements and try again. Otherwise, inform the user that their machine does not match your requirements.
    +
    Future invalid OpenGL and OpenGL ES versions, for example OpenGL 4.8 if 5.0 comes out before the 4.x series gets that far, also fail with this error and not GLFW_INVALID_VALUE, because GLFW cannot know what future versions will exist.
    + +
    +
    + +

    ◆ GLFW_PLATFORM_ERROR

    + +
    +
    + + + + +
    #define GLFW_PLATFORM_ERROR   0x00010008
    +
    +

    A platform-specific error occurred that does not match any of the more specific categories.

    +
    Analysis
    A bug or configuration error in GLFW, the underlying operating system or its drivers, or a lack of required resources. Report the issue to our issue tracker.
    + +
    +
    + +

    ◆ GLFW_FORMAT_UNAVAILABLE

    + +
    +
    + + + + +
    #define GLFW_FORMAT_UNAVAILABLE   0x00010009
    +
    +

    If emitted during window creation, the requested pixel format is not supported.

    +

    If emitted when querying the clipboard, the contents of the clipboard could not be converted to the requested format.

    +
    Analysis
    If emitted during window creation, one or more hard constraints did not match any of the available pixel formats. If your application is sufficiently flexible, downgrade your requirements and try again. Otherwise, inform the user that their machine does not match your requirements.
    +
    If emitted when querying the clipboard, ignore the error or report it to the user, as appropriate.
    + +
    +
    + +

    ◆ GLFW_NO_WINDOW_CONTEXT

    + +
    +
    + + + + +
    #define GLFW_NO_WINDOW_CONTEXT   0x0001000A
    +
    +

    A window that does not have an OpenGL or OpenGL ES context was passed to a function that requires it to have one.

    +
    Analysis
    Application programmer error. Fix the offending call.
    + +
    +
    +
    + + + diff --git a/docs/3.3/group__gamepad__axes.html b/docs/3.3/group__gamepad__axes.html new file mode 100644 index 0000000..773f4cd --- /dev/null +++ b/docs/3.3/group__gamepad__axes.html @@ -0,0 +1,195 @@ + + + + + + + +GLFW: Gamepad axes + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Gamepad axes
    +
    +
    +

    Description

    +

    See Gamepad input for how these are used.

    + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_GAMEPAD_AXIS_LEFT_X   0
     
    #define GLFW_GAMEPAD_AXIS_LEFT_Y   1
     
    #define GLFW_GAMEPAD_AXIS_RIGHT_X   2
     
    #define GLFW_GAMEPAD_AXIS_RIGHT_Y   3
     
    #define GLFW_GAMEPAD_AXIS_LEFT_TRIGGER   4
     
    #define GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER   5
     
    #define GLFW_GAMEPAD_AXIS_LAST   GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_GAMEPAD_AXIS_LEFT_X

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_AXIS_LEFT_X   0
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_AXIS_LEFT_Y

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_AXIS_LEFT_Y   1
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_AXIS_RIGHT_X

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_AXIS_RIGHT_X   2
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_AXIS_RIGHT_Y

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_AXIS_RIGHT_Y   3
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_AXIS_LEFT_TRIGGER

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_AXIS_LEFT_TRIGGER   4
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER   5
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_AXIS_LAST

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_AXIS_LAST   GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER
    +
    + +
    +
    +
    + + + diff --git a/docs/3.3/group__gamepad__buttons.html b/docs/3.3/group__gamepad__buttons.html new file mode 100644 index 0000000..b115c56 --- /dev/null +++ b/docs/3.3/group__gamepad__buttons.html @@ -0,0 +1,403 @@ + + + + + + + +GLFW: Gamepad buttons + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Gamepad buttons
    +
    +
    +

    Description

    +

    See Gamepad input for how these are used.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_GAMEPAD_BUTTON_A   0
     
    #define GLFW_GAMEPAD_BUTTON_B   1
     
    #define GLFW_GAMEPAD_BUTTON_X   2
     
    #define GLFW_GAMEPAD_BUTTON_Y   3
     
    #define GLFW_GAMEPAD_BUTTON_LEFT_BUMPER   4
     
    #define GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER   5
     
    #define GLFW_GAMEPAD_BUTTON_BACK   6
     
    #define GLFW_GAMEPAD_BUTTON_START   7
     
    #define GLFW_GAMEPAD_BUTTON_GUIDE   8
     
    #define GLFW_GAMEPAD_BUTTON_LEFT_THUMB   9
     
    #define GLFW_GAMEPAD_BUTTON_RIGHT_THUMB   10
     
    #define GLFW_GAMEPAD_BUTTON_DPAD_UP   11
     
    #define GLFW_GAMEPAD_BUTTON_DPAD_RIGHT   12
     
    #define GLFW_GAMEPAD_BUTTON_DPAD_DOWN   13
     
    #define GLFW_GAMEPAD_BUTTON_DPAD_LEFT   14
     
    #define GLFW_GAMEPAD_BUTTON_LAST   GLFW_GAMEPAD_BUTTON_DPAD_LEFT
     
    #define GLFW_GAMEPAD_BUTTON_CROSS   GLFW_GAMEPAD_BUTTON_A
     
    #define GLFW_GAMEPAD_BUTTON_CIRCLE   GLFW_GAMEPAD_BUTTON_B
     
    #define GLFW_GAMEPAD_BUTTON_SQUARE   GLFW_GAMEPAD_BUTTON_X
     
    #define GLFW_GAMEPAD_BUTTON_TRIANGLE   GLFW_GAMEPAD_BUTTON_Y
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_GAMEPAD_BUTTON_A

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_A   0
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_B

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_B   1
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_X

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_X   2
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_Y

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_Y   3
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_LEFT_BUMPER

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_LEFT_BUMPER   4
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER   5
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_BACK

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_BACK   6
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_START

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_START   7
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_GUIDE

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_GUIDE   8
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_LEFT_THUMB

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_LEFT_THUMB   9
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_RIGHT_THUMB

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_RIGHT_THUMB   10
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_DPAD_UP

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_DPAD_UP   11
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_DPAD_RIGHT

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_DPAD_RIGHT   12
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_DPAD_DOWN

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_DPAD_DOWN   13
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_DPAD_LEFT

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_DPAD_LEFT   14
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_LAST

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_LAST   GLFW_GAMEPAD_BUTTON_DPAD_LEFT
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_CROSS

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_CROSS   GLFW_GAMEPAD_BUTTON_A
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_CIRCLE

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_CIRCLE   GLFW_GAMEPAD_BUTTON_B
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_SQUARE

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_SQUARE   GLFW_GAMEPAD_BUTTON_X
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_TRIANGLE

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_TRIANGLE   GLFW_GAMEPAD_BUTTON_Y
    +
    + +
    +
    +
    + + + diff --git a/docs/3.3/group__hat__state.html b/docs/3.3/group__hat__state.html new file mode 100644 index 0000000..714bde4 --- /dev/null +++ b/docs/3.3/group__hat__state.html @@ -0,0 +1,227 @@ + + + + + + + +GLFW: Joystick hat states + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Joystick hat states
    +
    +
    +

    Description

    +

    See joystick hat input for how these are used.

    + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_HAT_CENTERED   0
     
    #define GLFW_HAT_UP   1
     
    #define GLFW_HAT_RIGHT   2
     
    #define GLFW_HAT_DOWN   4
     
    #define GLFW_HAT_LEFT   8
     
    #define GLFW_HAT_RIGHT_UP   (GLFW_HAT_RIGHT | GLFW_HAT_UP)
     
    #define GLFW_HAT_RIGHT_DOWN   (GLFW_HAT_RIGHT | GLFW_HAT_DOWN)
     
    #define GLFW_HAT_LEFT_UP   (GLFW_HAT_LEFT | GLFW_HAT_UP)
     
    #define GLFW_HAT_LEFT_DOWN   (GLFW_HAT_LEFT | GLFW_HAT_DOWN)
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_HAT_CENTERED

    + +
    +
    + + + + +
    #define GLFW_HAT_CENTERED   0
    +
    + +
    +
    + +

    ◆ GLFW_HAT_UP

    + +
    +
    + + + + +
    #define GLFW_HAT_UP   1
    +
    + +
    +
    + +

    ◆ GLFW_HAT_RIGHT

    + +
    +
    + + + + +
    #define GLFW_HAT_RIGHT   2
    +
    + +
    +
    + +

    ◆ GLFW_HAT_DOWN

    + +
    +
    + + + + +
    #define GLFW_HAT_DOWN   4
    +
    + +
    +
    + +

    ◆ GLFW_HAT_LEFT

    + +
    +
    + + + + +
    #define GLFW_HAT_LEFT   8
    +
    + +
    +
    + +

    ◆ GLFW_HAT_RIGHT_UP

    + +
    +
    + + + + +
    #define GLFW_HAT_RIGHT_UP   (GLFW_HAT_RIGHT | GLFW_HAT_UP)
    +
    + +
    +
    + +

    ◆ GLFW_HAT_RIGHT_DOWN

    + +
    +
    + + + + +
    #define GLFW_HAT_RIGHT_DOWN   (GLFW_HAT_RIGHT | GLFW_HAT_DOWN)
    +
    + +
    +
    + +

    ◆ GLFW_HAT_LEFT_UP

    + +
    +
    + + + + +
    #define GLFW_HAT_LEFT_UP   (GLFW_HAT_LEFT | GLFW_HAT_UP)
    +
    + +
    +
    + +

    ◆ GLFW_HAT_LEFT_DOWN

    + +
    +
    + + + + +
    #define GLFW_HAT_LEFT_DOWN   (GLFW_HAT_LEFT | GLFW_HAT_DOWN)
    +
    + +
    +
    +
    + + + diff --git a/docs/3.3/group__init.html b/docs/3.3/group__init.html new file mode 100644 index 0000000..bb52f7f --- /dev/null +++ b/docs/3.3/group__init.html @@ -0,0 +1,545 @@ + + + + + + + +GLFW: Initialization, version and error reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Initialization, version and error reference
    +
    +
    +

    Description

    +

    This is the reference documentation for initialization and termination of the library, version management and error handling. For more task-oriented information, see the Introduction to the API.

    + + + + + +

    +Modules

     Error codes
     Error codes.
     
    + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_TRUE   1
     One. More...
     
    #define GLFW_FALSE   0
     Zero. More...
     
    #define GLFW_JOYSTICK_HAT_BUTTONS   0x00050001
     Joystick hat buttons init hint. More...
     
    #define GLFW_COCOA_CHDIR_RESOURCES   0x00051001
     macOS specific init hint. More...
     
    #define GLFW_COCOA_MENUBAR   0x00051002
     macOS specific init hint. More...
     
    + + + + +

    +Typedefs

    typedef void(* GLFWerrorfun) (int, const char *)
     The function pointer type for error callbacks. More...
     
    + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    int glfwInit (void)
     Initializes the GLFW library. More...
     
    void glfwTerminate (void)
     Terminates the GLFW library. More...
     
    void glfwInitHint (int hint, int value)
     Sets the specified init hint to the desired value. More...
     
    void glfwGetVersion (int *major, int *minor, int *rev)
     Retrieves the version of the GLFW library. More...
     
    const char * glfwGetVersionString (void)
     Returns a string describing the compile-time configuration. More...
     
    int glfwGetError (const char **description)
     Returns and clears the last error for the calling thread. More...
     
    GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun callback)
     Sets the error callback. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_VERSION_MAJOR

    + +
    +
    + + + + +
    #define GLFW_VERSION_MAJOR   3
    +
    +

    This is incremented when the API is changed in non-compatible ways.

    + +
    +
    + +

    ◆ GLFW_VERSION_MINOR

    + +
    +
    + + + + +
    #define GLFW_VERSION_MINOR   3
    +
    +

    This is incremented when features are added to the API but it remains backward-compatible.

    + +
    +
    + +

    ◆ GLFW_VERSION_REVISION

    + +
    +
    + + + + +
    #define GLFW_VERSION_REVISION   3
    +
    +

    This is incremented when a bug fix release is made that does not contain any API changes.

    + +
    +
    + +

    ◆ GLFW_TRUE

    + +
    +
    + + + + +
    #define GLFW_TRUE   1
    +
    +

    This is only semantic sugar for the number 1. You can instead use 1 or true or _True or GL_TRUE or VK_TRUE or anything else that is equal to one.

    + +
    +
    + +

    ◆ GLFW_FALSE

    + +
    +
    + + + + +
    #define GLFW_FALSE   0
    +
    +

    This is only semantic sugar for the number 0. You can instead use 0 or false or _False or GL_FALSE or VK_FALSE or anything else that is equal to zero.

    + +
    +
    + +

    ◆ GLFW_JOYSTICK_HAT_BUTTONS

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_HAT_BUTTONS   0x00050001
    +
    +

    Joystick hat buttons init hint.

    + +
    +
    + +

    ◆ GLFW_COCOA_CHDIR_RESOURCES

    + +
    +
    + + + + +
    #define GLFW_COCOA_CHDIR_RESOURCES   0x00051001
    +
    +

    macOS specific init hint.

    + +
    +
    + +

    ◆ GLFW_COCOA_MENUBAR

    + +
    +
    + + + + +
    #define GLFW_COCOA_MENUBAR   0x00051002
    +
    +

    macOS specific init hint.

    + +
    +
    +

    Typedef Documentation

    + +

    ◆ GLFWerrorfun

    + +
    +
    + + + + +
    typedef void(* GLFWerrorfun) (int, const char *)
    +
    +

    This is the function pointer type for error callbacks. An error callback function has the following signature:

    void callback_name(int error_code, const char* description)
    +
    Parameters
    + + + +
    [in]error_codeAn error code. Future releases may add more error codes.
    [in]descriptionA UTF-8 encoded string describing the error.
    +
    +
    +
    Pointer lifetime
    The error description string is valid until the callback function returns.
    +
    See also
    Error handling
    +
    +glfwSetErrorCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwInit()

    + +
    +
    + + + + + + + + +
    int glfwInit (void )
    +
    +

    This function initializes the GLFW library. Before most GLFW functions can be used, GLFW must be initialized, and before an application terminates GLFW should be terminated in order to free any resources allocated during or after initialization.

    +

    If this function fails, it calls glfwTerminate before returning. If it succeeds, you should call glfwTerminate before the application exits.

    +

    Additional calls to this function after successful initialization but before termination will return GLFW_TRUE immediately.

    +
    Returns
    GLFW_TRUE if successful, or GLFW_FALSE if an error occurred.
    +
    Errors
    Possible errors include GLFW_PLATFORM_ERROR.
    +
    Remarks
    macOS: This function will change the current directory of the application to the Contents/Resources subdirectory of the application's bundle, if present. This can be disabled with the GLFW_COCOA_CHDIR_RESOURCES init hint.
    +
    +X11: This function will set the LC_CTYPE category of the application locale according to the current environment if that category is still "C". This is because the "C" locale breaks Unicode text input.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Initialization and termination
    +
    +glfwTerminate
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwTerminate()

    + +
    +
    + + + + + + + + +
    void glfwTerminate (void )
    +
    +

    This function destroys all remaining windows and cursors, restores any modified gamma ramps and frees any other allocated resources. Once this function is called, you must again call glfwInit successfully before you will be able to use most GLFW functions.

    +

    If GLFW has been successfully initialized, this function should be called before the application exits. If initialization fails, there is no need to call this function, as it is called by glfwInit before it returns failure.

    +

    This function has no effect if GLFW is not initialized.

    +
    Errors
    Possible errors include GLFW_PLATFORM_ERROR.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Warning
    The contexts of any remaining windows must not be current on any other thread when this function is called.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Initialization and termination
    +
    +glfwInit
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwInitHint()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwInitHint (int hint,
    int value 
    )
    +
    +

    This function sets hints for the next initialization of GLFW.

    +

    The values you set hints to are never reset by GLFW, but they only take effect during initialization. Once GLFW has been initialized, any values you set will be ignored until the library is terminated and initialized again.

    +

    Some hints are platform specific. These may be set on any platform but they will only affect their specific platform. Other platforms will ignore them. Setting these hints requires no platform specific headers or functions.

    +
    Parameters
    + + + +
    [in]hintThe init hint to set.
    [in]valueThe new value of the init hint.
    +
    +
    +
    Errors
    Possible errors include GLFW_INVALID_ENUM and GLFW_INVALID_VALUE.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    init_hints
    +
    +glfwInit
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetVersion()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetVersion (int * major,
    int * minor,
    int * rev 
    )
    +
    +

    This function retrieves the major, minor and revision numbers of the GLFW library. It is intended for when you are using GLFW as a shared library and want to ensure that you are using the minimum required version.

    +

    Any or all of the version arguments may be NULL.

    +
    Parameters
    + + + + +
    [out]majorWhere to store the major version number, or NULL.
    [out]minorWhere to store the minor version number, or NULL.
    [out]revWhere to store the revision number, or NULL.
    +
    +
    +
    Errors
    None.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Version management
    +
    +glfwGetVersionString
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwGetVersionString()

    + +
    +
    + + + + + + + + +
    const char* glfwGetVersionString (void )
    +
    +

    This function returns the compile-time generated version string of the GLFW library binary. It describes the version, platform, compiler and any platform-specific compile-time options. It should not be confused with the OpenGL or OpenGL ES version string, queried with glGetString.

    +

    Do not use the version string to parse the GLFW library version. The glfwGetVersion function provides the version of the running library binary in numerical format.

    +
    Returns
    The ASCII encoded GLFW version string.
    +
    Errors
    None.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Pointer lifetime
    The returned string is static and compile-time generated.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Version management
    +
    +glfwGetVersion
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetError()

    + +
    +
    + + + + + + + + +
    int glfwGetError (const char ** description)
    +
    +

    This function returns and clears the error code of the last error that occurred on the calling thread, and optionally a UTF-8 encoded human-readable description of it. If no error has occurred since the last call, it returns GLFW_NO_ERROR (zero) and the description pointer is set to NULL.

    +
    Parameters
    + + +
    [in]descriptionWhere to store the error description pointer, or NULL.
    +
    +
    +
    Returns
    The last error code for the calling thread, or GLFW_NO_ERROR (zero).
    +
    Errors
    None.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is guaranteed to be valid only until the next error occurs or the library is terminated.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Error handling
    +
    +glfwSetErrorCallback
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwSetErrorCallback()

    + +
    +
    + + + + + + + + +
    GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun callback)
    +
    +

    This function sets the error callback, which is called with an error code and a human-readable description each time a GLFW error occurs.

    +

    The error code is set before the callback is called. Calling glfwGetError from the error callback will return the same value as the error code argument.

    +

    The error callback is called on the thread where the error occurred. If you are using GLFW from multiple threads, your error callback needs to be written accordingly.

    +

    Because the description string may have been generated specifically for that error, it is not guaranteed to be valid after the callback has returned. If you wish to use it after the callback returns, you need to make a copy.

    +

    Once set, the error callback remains set even after the library has been terminated.

    +
    Parameters
    + + +
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set.
    +
    Callback signature
    void callback_name(int error_code, const char* description)
    +
    For more information about the callback parameters, see the callback pointer type.
    +
    Errors
    None.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Error handling
    +
    +glfwGetError
    +
    Since
    Added in version 3.0.
    + +
    +
    +
    + + + diff --git a/docs/3.3/group__input.html b/docs/3.3/group__input.html new file mode 100644 index 0000000..0084de8 --- /dev/null +++ b/docs/3.3/group__input.html @@ -0,0 +1,2227 @@ + + + + + + + +GLFW: Input reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Input reference
    +
    +
    +

    Description

    +

    This is the reference documentation for input related functions and types. For more task-oriented information, see the Input guide.

    + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Modules

     Gamepad axes
     Gamepad axes.
     
     Gamepad buttons
     Gamepad buttons.
     
     Joystick hat states
     Joystick hat states.
     
     Joysticks
     Joystick IDs.
     
     Keyboard keys
     Keyboard key IDs.
     
     Modifier key flags
     Modifier key flags.
     
     Mouse buttons
     Mouse button IDs.
     
     Standard cursor shapes
     Standard system cursor shapes.
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Typedefs

    typedef struct GLFWcursor GLFWcursor
     Opaque cursor object. More...
     
    typedef void(* GLFWmousebuttonfun) (GLFWwindow *, int, int, int)
     The function pointer type for mouse button callbacks. More...
     
    typedef void(* GLFWcursorposfun) (GLFWwindow *, double, double)
     The function pointer type for cursor position callbacks. More...
     
    typedef void(* GLFWcursorenterfun) (GLFWwindow *, int)
     The function pointer type for cursor enter/leave callbacks. More...
     
    typedef void(* GLFWscrollfun) (GLFWwindow *, double, double)
     The function pointer type for scroll callbacks. More...
     
    typedef void(* GLFWkeyfun) (GLFWwindow *, int, int, int, int)
     The function pointer type for keyboard key callbacks. More...
     
    typedef void(* GLFWcharfun) (GLFWwindow *, unsigned int)
     The function pointer type for Unicode character callbacks. More...
     
    typedef void(* GLFWcharmodsfun) (GLFWwindow *, unsigned int, int)
     The function pointer type for Unicode character with modifiers callbacks. More...
     
    typedef void(* GLFWdropfun) (GLFWwindow *, int, const char *[])
     The function pointer type for path drop callbacks. More...
     
    typedef void(* GLFWjoystickfun) (int, int)
     The function pointer type for joystick configuration callbacks. More...
     
    typedef struct GLFWgamepadstate GLFWgamepadstate
     Gamepad input state. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    int glfwGetInputMode (GLFWwindow *window, int mode)
     Returns the value of an input option for the specified window. More...
     
    void glfwSetInputMode (GLFWwindow *window, int mode, int value)
     Sets an input option for the specified window. More...
     
    int glfwRawMouseMotionSupported (void)
     Returns whether raw mouse motion is supported. More...
     
    const char * glfwGetKeyName (int key, int scancode)
     Returns the layout-specific name of the specified printable key. More...
     
    int glfwGetKeyScancode (int key)
     Returns the platform-specific scancode of the specified key. More...
     
    int glfwGetKey (GLFWwindow *window, int key)
     Returns the last reported state of a keyboard key for the specified window. More...
     
    int glfwGetMouseButton (GLFWwindow *window, int button)
     Returns the last reported state of a mouse button for the specified window. More...
     
    void glfwGetCursorPos (GLFWwindow *window, double *xpos, double *ypos)
     Retrieves the position of the cursor relative to the content area of the window. More...
     
    void glfwSetCursorPos (GLFWwindow *window, double xpos, double ypos)
     Sets the position of the cursor, relative to the content area of the window. More...
     
    GLFWcursorglfwCreateCursor (const GLFWimage *image, int xhot, int yhot)
     Creates a custom cursor. More...
     
    GLFWcursorglfwCreateStandardCursor (int shape)
     Creates a cursor with a standard shape. More...
     
    void glfwDestroyCursor (GLFWcursor *cursor)
     Destroys a cursor. More...
     
    void glfwSetCursor (GLFWwindow *window, GLFWcursor *cursor)
     Sets the cursor for the window. More...
     
    GLFWkeyfun glfwSetKeyCallback (GLFWwindow *window, GLFWkeyfun callback)
     Sets the key callback. More...
     
    GLFWcharfun glfwSetCharCallback (GLFWwindow *window, GLFWcharfun callback)
     Sets the Unicode character callback. More...
     
    GLFWcharmodsfun glfwSetCharModsCallback (GLFWwindow *window, GLFWcharmodsfun callback)
     Sets the Unicode character with modifiers callback. More...
     
    GLFWmousebuttonfun glfwSetMouseButtonCallback (GLFWwindow *window, GLFWmousebuttonfun callback)
     Sets the mouse button callback. More...
     
    GLFWcursorposfun glfwSetCursorPosCallback (GLFWwindow *window, GLFWcursorposfun callback)
     Sets the cursor position callback. More...
     
    GLFWcursorenterfun glfwSetCursorEnterCallback (GLFWwindow *window, GLFWcursorenterfun callback)
     Sets the cursor enter/leave callback. More...
     
    GLFWscrollfun glfwSetScrollCallback (GLFWwindow *window, GLFWscrollfun callback)
     Sets the scroll callback. More...
     
    GLFWdropfun glfwSetDropCallback (GLFWwindow *window, GLFWdropfun callback)
     Sets the path drop callback. More...
     
    int glfwJoystickPresent (int jid)
     Returns whether the specified joystick is present. More...
     
    const float * glfwGetJoystickAxes (int jid, int *count)
     Returns the values of all axes of the specified joystick. More...
     
    const unsigned char * glfwGetJoystickButtons (int jid, int *count)
     Returns the state of all buttons of the specified joystick. More...
     
    const unsigned char * glfwGetJoystickHats (int jid, int *count)
     Returns the state of all hats of the specified joystick. More...
     
    const char * glfwGetJoystickName (int jid)
     Returns the name of the specified joystick. More...
     
    const char * glfwGetJoystickGUID (int jid)
     Returns the SDL compatible GUID of the specified joystick. More...
     
    void glfwSetJoystickUserPointer (int jid, void *pointer)
     Sets the user pointer of the specified joystick. More...
     
    void * glfwGetJoystickUserPointer (int jid)
     Returns the user pointer of the specified joystick. More...
     
    int glfwJoystickIsGamepad (int jid)
     Returns whether the specified joystick has a gamepad mapping. More...
     
    GLFWjoystickfun glfwSetJoystickCallback (GLFWjoystickfun callback)
     Sets the joystick configuration callback. More...
     
    int glfwUpdateGamepadMappings (const char *string)
     Adds the specified SDL_GameControllerDB gamepad mappings. More...
     
    const char * glfwGetGamepadName (int jid)
     Returns the human-readable gamepad name for the specified joystick. More...
     
    int glfwGetGamepadState (int jid, GLFWgamepadstate *state)
     Retrieves the state of the specified joystick remapped as a gamepad. More...
     
    void glfwSetClipboardString (GLFWwindow *window, const char *string)
     Sets the clipboard to the specified string. More...
     
    const char * glfwGetClipboardString (GLFWwindow *window)
     Returns the contents of the clipboard as a string. More...
     
    double glfwGetTime (void)
     Returns the GLFW time. More...
     
    void glfwSetTime (double time)
     Sets the GLFW time. More...
     
    uint64_t glfwGetTimerValue (void)
     Returns the current value of the raw timer. More...
     
    uint64_t glfwGetTimerFrequency (void)
     Returns the frequency, in Hz, of the raw timer. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_RELEASE

    + +
    +
    + + + + +
    #define GLFW_RELEASE   0
    +
    +

    The key or mouse button was released.

    + +
    +
    + +

    ◆ GLFW_PRESS

    + +
    +
    + + + + +
    #define GLFW_PRESS   1
    +
    +

    The key or mouse button was pressed.

    + +
    +
    + +

    ◆ GLFW_REPEAT

    + +
    +
    + + + + +
    #define GLFW_REPEAT   2
    +
    +

    The key was held down until it repeated.

    + +
    +
    +

    Typedef Documentation

    + +

    ◆ GLFWcursor

    + +
    +
    + + + + +
    typedef struct GLFWcursor GLFWcursor
    +
    +

    Opaque cursor object.

    +
    See also
    Cursor objects
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ GLFWmousebuttonfun

    + +
    +
    + + + + +
    typedef void(* GLFWmousebuttonfun) (GLFWwindow *, int, int, int)
    +
    +

    This is the function pointer type for mouse button callback functions. A mouse button callback function has the following signature:

    void function_name(GLFWwindow* window, int button, int action, int mods)
    +
    Parameters
    + + + + + +
    [in]windowThe window that received the event.
    [in]buttonThe mouse button that was pressed or released.
    [in]actionOne of GLFW_PRESS or GLFW_RELEASE. Future releases may add more actions.
    [in]modsBit field describing which modifier keys were held down.
    +
    +
    +
    See also
    Mouse button input
    +
    +glfwSetMouseButtonCallback
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle and modifier mask parameters.
    + +
    +
    + +

    ◆ GLFWcursorposfun

    + +
    +
    + + + + +
    typedef void(* GLFWcursorposfun) (GLFWwindow *, double, double)
    +
    +

    This is the function pointer type for cursor position callbacks. A cursor position callback function has the following signature:

    void function_name(GLFWwindow* window, double xpos, double ypos);
    +
    Parameters
    + + + + +
    [in]windowThe window that received the event.
    [in]xposThe new cursor x-coordinate, relative to the left edge of the content area.
    [in]yposThe new cursor y-coordinate, relative to the top edge of the content area.
    +
    +
    +
    See also
    Cursor position
    +
    +glfwSetCursorPosCallback
    +
    Since
    Added in version 3.0. Replaces GLFWmouseposfun.
    + +
    +
    + +

    ◆ GLFWcursorenterfun

    + +
    +
    + + + + +
    typedef void(* GLFWcursorenterfun) (GLFWwindow *, int)
    +
    +

    This is the function pointer type for cursor enter/leave callbacks. A cursor enter/leave callback function has the following signature:

    void function_name(GLFWwindow* window, int entered)
    +
    Parameters
    + + + +
    [in]windowThe window that received the event.
    [in]enteredGLFW_TRUE if the cursor entered the window's content area, or GLFW_FALSE if it left it.
    +
    +
    +
    See also
    Cursor enter/leave events
    +
    +glfwSetCursorEnterCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWscrollfun

    + +
    +
    + + + + +
    typedef void(* GLFWscrollfun) (GLFWwindow *, double, double)
    +
    +

    This is the function pointer type for scroll callbacks. A scroll callback function has the following signature:

    void function_name(GLFWwindow* window, double xoffset, double yoffset)
    +
    Parameters
    + + + + +
    [in]windowThe window that received the event.
    [in]xoffsetThe scroll offset along the x-axis.
    [in]yoffsetThe scroll offset along the y-axis.
    +
    +
    +
    See also
    Scroll input
    +
    +glfwSetScrollCallback
    +
    Since
    Added in version 3.0. Replaces GLFWmousewheelfun.
    + +
    +
    + +

    ◆ GLFWkeyfun

    + +
    +
    + + + + +
    typedef void(* GLFWkeyfun) (GLFWwindow *, int, int, int, int)
    +
    +

    This is the function pointer type for keyboard key callbacks. A keyboard key callback function has the following signature:

    void function_name(GLFWwindow* window, int key, int scancode, int action, int mods)
    +
    Parameters
    + + + + + + +
    [in]windowThe window that received the event.
    [in]keyThe keyboard key that was pressed or released.
    [in]scancodeThe system-specific scancode of the key.
    [in]actionGLFW_PRESS, GLFW_RELEASE or GLFW_REPEAT. Future releases may add more actions.
    [in]modsBit field describing which modifier keys were held down.
    +
    +
    +
    See also
    Key input
    +
    +glfwSetKeyCallback
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle, scancode and modifier mask parameters.
    + +
    +
    + +

    ◆ GLFWcharfun

    + +
    +
    + + + + +
    typedef void(* GLFWcharfun) (GLFWwindow *, unsigned int)
    +
    +

    This is the function pointer type for Unicode character callbacks. A Unicode character callback function has the following signature:

    void function_name(GLFWwindow* window, unsigned int codepoint)
    +
    Parameters
    + + + +
    [in]windowThe window that received the event.
    [in]codepointThe Unicode code point of the character.
    +
    +
    +
    See also
    Text input
    +
    +glfwSetCharCallback
    +
    Since
    Added in version 2.4. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ GLFWcharmodsfun

    + +
    +
    + + + + +
    typedef void(* GLFWcharmodsfun) (GLFWwindow *, unsigned int, int)
    +
    +

    This is the function pointer type for Unicode character with modifiers callbacks. It is called for each input character, regardless of what modifier keys are held down. A Unicode character with modifiers callback function has the following signature:

    void function_name(GLFWwindow* window, unsigned int codepoint, int mods)
    +
    Parameters
    + + + + +
    [in]windowThe window that received the event.
    [in]codepointThe Unicode code point of the character.
    [in]modsBit field describing which modifier keys were held down.
    +
    +
    +
    See also
    Text input
    +
    +glfwSetCharModsCallback
    +
    Deprecated:
    Scheduled for removal in version 4.0.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ GLFWdropfun

    + +
    +
    + + + + +
    typedef void(* GLFWdropfun) (GLFWwindow *, int, const char *[])
    +
    +

    This is the function pointer type for path drop callbacks. A path drop callback function has the following signature:

    void function_name(GLFWwindow* window, int path_count, const char* paths[])
    +
    Parameters
    + + + + +
    [in]windowThe window that received the event.
    [in]path_countThe number of dropped paths.
    [in]pathsThe UTF-8 encoded file and/or directory path names.
    +
    +
    +
    Pointer lifetime
    The path array and its strings are valid until the callback function returns.
    +
    See also
    Path drop input
    +
    +glfwSetDropCallback
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ GLFWjoystickfun

    + +
    +
    + + + + +
    typedef void(* GLFWjoystickfun) (int, int)
    +
    +

    This is the function pointer type for joystick configuration callbacks. A joystick configuration callback function has the following signature:

    void function_name(int jid, int event)
    +
    Parameters
    + + + +
    [in]jidThe joystick that was connected or disconnected.
    [in]eventOne of GLFW_CONNECTED or GLFW_DISCONNECTED. Future releases may add more events.
    +
    +
    +
    See also
    Joystick configuration changes
    +
    +glfwSetJoystickCallback
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ GLFWgamepadstate

    + +
    +
    + + + + +
    typedef struct GLFWgamepadstate GLFWgamepadstate
    +
    +

    This describes the input state of a gamepad.

    +
    See also
    Gamepad input
    +
    +glfwGetGamepadState
    +
    Since
    Added in version 3.3.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwGetInputMode()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetInputMode (GLFWwindowwindow,
    int mode 
    )
    +
    +

    This function returns the value of an input option for the specified window. The mode must be one of GLFW_CURSOR, GLFW_STICKY_KEYS, GLFW_STICKY_MOUSE_BUTTONS, GLFW_LOCK_KEY_MODS or GLFW_RAW_MOUSE_MOTION.

    +
    Parameters
    + + + +
    [in]windowThe window to query.
    [in]modeOne of GLFW_CURSOR, GLFW_STICKY_KEYS, GLFW_STICKY_MOUSE_BUTTONS, GLFW_LOCK_KEY_MODS or GLFW_RAW_MOUSE_MOTION.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    glfwSetInputMode
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetInputMode()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetInputMode (GLFWwindowwindow,
    int mode,
    int value 
    )
    +
    +

    This function sets an input mode option for the specified window. The mode must be one of GLFW_CURSOR, GLFW_STICKY_KEYS, GLFW_STICKY_MOUSE_BUTTONS, GLFW_LOCK_KEY_MODS or GLFW_RAW_MOUSE_MOTION.

    +

    If the mode is GLFW_CURSOR, the value must be one of the following cursor modes:

      +
    • GLFW_CURSOR_NORMAL makes the cursor visible and behaving normally.
    • +
    • GLFW_CURSOR_HIDDEN makes the cursor invisible when it is over the content area of the window but does not restrict the cursor from leaving.
    • +
    • GLFW_CURSOR_DISABLED hides and grabs the cursor, providing virtual and unlimited cursor movement. This is useful for implementing for example 3D camera controls.
    • +
    +

    If the mode is GLFW_STICKY_KEYS, the value must be either GLFW_TRUE to enable sticky keys, or GLFW_FALSE to disable it. If sticky keys are enabled, a key press will ensure that glfwGetKey returns GLFW_PRESS the next time it is called even if the key had been released before the call. This is useful when you are only interested in whether keys have been pressed but not when or in which order.

    +

    If the mode is GLFW_STICKY_MOUSE_BUTTONS, the value must be either GLFW_TRUE to enable sticky mouse buttons, or GLFW_FALSE to disable it. If sticky mouse buttons are enabled, a mouse button press will ensure that glfwGetMouseButton returns GLFW_PRESS the next time it is called even if the mouse button had been released before the call. This is useful when you are only interested in whether mouse buttons have been pressed but not when or in which order.

    +

    If the mode is GLFW_LOCK_KEY_MODS, the value must be either GLFW_TRUE to enable lock key modifier bits, or GLFW_FALSE to disable them. If enabled, callbacks that receive modifier bits will also have the GLFW_MOD_CAPS_LOCK bit set when the event was generated with Caps Lock on, and the GLFW_MOD_NUM_LOCK bit when Num Lock was on.

    +

    If the mode is GLFW_RAW_MOUSE_MOTION, the value must be either GLFW_TRUE to enable raw (unscaled and unaccelerated) mouse motion when the cursor is disabled, or GLFW_FALSE to disable it. If raw motion is not supported, attempting to set this will emit GLFW_PLATFORM_ERROR. Call glfwRawMouseMotionSupported to check for support.

    +
    Parameters
    + + + + +
    [in]windowThe window whose input mode to set.
    [in]modeOne of GLFW_CURSOR, GLFW_STICKY_KEYS, GLFW_STICKY_MOUSE_BUTTONS, GLFW_LOCK_KEY_MODS or GLFW_RAW_MOUSE_MOTION.
    [in]valueThe new value of the specified input mode.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    glfwGetInputMode
    +
    Since
    Added in version 3.0. Replaces glfwEnable and glfwDisable.
    + +
    +
    + +

    ◆ glfwRawMouseMotionSupported()

    + +
    +
    + + + + + + + + +
    int glfwRawMouseMotionSupported (void )
    +
    +

    This function returns whether raw mouse motion is supported on the current system. This status does not change after GLFW has been initialized so you only need to check this once. If you attempt to enable raw motion on a system that does not support it, GLFW_PLATFORM_ERROR will be emitted.

    +

    Raw mouse motion is closer to the actual motion of the mouse across a surface. It is not affected by the scaling and acceleration applied to the motion of the desktop cursor. That processing is suitable for a cursor while raw motion is better for controlling for example a 3D camera. Because of this, raw mouse motion is only provided when the cursor is disabled.

    +
    Returns
    GLFW_TRUE if raw mouse motion is supported on the current machine, or GLFW_FALSE otherwise.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Raw mouse motion
    +
    +glfwSetInputMode
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetKeyName()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const char* glfwGetKeyName (int key,
    int scancode 
    )
    +
    +

    This function returns the name of the specified printable key, encoded as UTF-8. This is typically the character that key would produce without any modifier keys, intended for displaying key bindings to the user. For dead keys, it is typically the diacritic it would add to a character.

    +

    Do not use this function for text input. You will break text input for many languages even if it happens to work for yours.

    +

    If the key is GLFW_KEY_UNKNOWN, the scancode is used to identify the key, otherwise the scancode is ignored. If you specify a non-printable key, or GLFW_KEY_UNKNOWN and a scancode that maps to a non-printable key, this function returns NULL but does not emit an error.

    +

    This behavior allows you to always pass in the arguments in the key callback without modification.

    +

    The printable keys are:

      +
    • GLFW_KEY_APOSTROPHE
    • +
    • GLFW_KEY_COMMA
    • +
    • GLFW_KEY_MINUS
    • +
    • GLFW_KEY_PERIOD
    • +
    • GLFW_KEY_SLASH
    • +
    • GLFW_KEY_SEMICOLON
    • +
    • GLFW_KEY_EQUAL
    • +
    • GLFW_KEY_LEFT_BRACKET
    • +
    • GLFW_KEY_RIGHT_BRACKET
    • +
    • GLFW_KEY_BACKSLASH
    • +
    • GLFW_KEY_WORLD_1
    • +
    • GLFW_KEY_WORLD_2
    • +
    • GLFW_KEY_0 to GLFW_KEY_9
    • +
    • GLFW_KEY_A to GLFW_KEY_Z
    • +
    • GLFW_KEY_KP_0 to GLFW_KEY_KP_9
    • +
    • GLFW_KEY_KP_DECIMAL
    • +
    • GLFW_KEY_KP_DIVIDE
    • +
    • GLFW_KEY_KP_MULTIPLY
    • +
    • GLFW_KEY_KP_SUBTRACT
    • +
    • GLFW_KEY_KP_ADD
    • +
    • GLFW_KEY_KP_EQUAL
    • +
    +

    Names for printable keys depend on keyboard layout, while names for non-printable keys are the same across layouts but depend on the application language and should be localized along with other user interface text.

    +
    Parameters
    + + + +
    [in]keyThe key to query, or GLFW_KEY_UNKNOWN.
    [in]scancodeThe scancode of the key to query.
    +
    +
    +
    Returns
    The UTF-8 encoded, layout-specific name of the key, or NULL.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    The contents of the returned string may change when a keyboard layout change event is received.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Key names
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetKeyScancode()

    + +
    +
    + + + + + + + + +
    int glfwGetKeyScancode (int key)
    +
    +

    This function returns the platform-specific scancode of the specified key.

    +

    If the key is GLFW_KEY_UNKNOWN or does not exist on the keyboard this method will return -1.

    +
    Parameters
    + + +
    [in]keyAny named key.
    +
    +
    +
    Returns
    The platform-specific scancode for the key, or -1 if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Key input
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetKey()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetKey (GLFWwindowwindow,
    int key 
    )
    +
    +

    This function returns the last state reported for the specified key to the specified window. The returned state is one of GLFW_PRESS or GLFW_RELEASE. The higher-level action GLFW_REPEAT is only reported to the key callback.

    +

    If the GLFW_STICKY_KEYS input mode is enabled, this function returns GLFW_PRESS the first time you call it for a key that was pressed, even if that key has already been released.

    +

    The key functions deal with physical keys, with key tokens named after their use on the standard US keyboard layout. If you want to input text, use the Unicode character callback instead.

    +

    The modifier key bit masks are not key tokens and cannot be used with this function.

    +

    Do not use this function to implement text input.

    +
    Parameters
    + + + +
    [in]windowThe desired window.
    [in]keyThe desired keyboard key. GLFW_KEY_UNKNOWN is not a valid key for this function.
    +
    +
    +
    Returns
    One of GLFW_PRESS or GLFW_RELEASE.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Key input
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwGetMouseButton()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetMouseButton (GLFWwindowwindow,
    int button 
    )
    +
    +

    This function returns the last state reported for the specified mouse button to the specified window. The returned state is one of GLFW_PRESS or GLFW_RELEASE.

    +

    If the GLFW_STICKY_MOUSE_BUTTONS input mode is enabled, this function returns GLFW_PRESS the first time you call it for a mouse button that was pressed, even if that mouse button has already been released.

    +
    Parameters
    + + + +
    [in]windowThe desired window.
    [in]buttonThe desired mouse button.
    +
    +
    +
    Returns
    One of GLFW_PRESS or GLFW_RELEASE.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Mouse button input
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwGetCursorPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetCursorPos (GLFWwindowwindow,
    double * xpos,
    double * ypos 
    )
    +
    +

    This function returns the position of the cursor, in screen coordinates, relative to the upper-left corner of the content area of the specified window.

    +

    If the cursor is disabled (with GLFW_CURSOR_DISABLED) then the cursor position is unbounded and limited only by the minimum and maximum values of a double.

    +

    The coordinate can be converted to their integer equivalents with the floor function. Casting directly to an integer type works for positive coordinates, but fails for negative ones.

    +

    Any or all of the position arguments may be NULL. If an error occurs, all non-NULL position arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]windowThe desired window.
    [out]xposWhere to store the cursor x-coordinate, relative to the left edge of the content area, or NULL.
    [out]yposWhere to store the cursor y-coordinate, relative to the to top edge of the content area, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor position
    +
    +glfwSetCursorPos
    +
    Since
    Added in version 3.0. Replaces glfwGetMousePos.
    + +
    +
    + +

    ◆ glfwSetCursorPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetCursorPos (GLFWwindowwindow,
    double xpos,
    double ypos 
    )
    +
    +

    This function sets the position, in screen coordinates, of the cursor relative to the upper-left corner of the content area of the specified window. The window must have input focus. If the window does not have input focus when this function is called, it fails silently.

    +

    Do not use this function to implement things like camera controls. GLFW already provides the GLFW_CURSOR_DISABLED cursor mode that hides the cursor, transparently re-centers it and provides unconstrained cursor motion. See glfwSetInputMode for more information.

    +

    If the cursor mode is GLFW_CURSOR_DISABLED then the cursor position is unconstrained and limited only by the minimum and maximum values of a double.

    +
    Parameters
    + + + + +
    [in]windowThe desired window.
    [in]xposThe desired x-coordinate, relative to the left edge of the content area.
    [in]yposThe desired y-coordinate, relative to the top edge of the content area.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Wayland: This function will only work when the cursor mode is GLFW_CURSOR_DISABLED, otherwise it will do nothing.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor position
    +
    +glfwGetCursorPos
    +
    Since
    Added in version 3.0. Replaces glfwSetMousePos.
    + +
    +
    + +

    ◆ glfwCreateCursor()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFWcursor* glfwCreateCursor (const GLFWimageimage,
    int xhot,
    int yhot 
    )
    +
    +

    Creates a new custom cursor image that can be set for a window with glfwSetCursor. The cursor can be destroyed with glfwDestroyCursor. Any remaining cursors are destroyed by glfwTerminate.

    +

    The pixels are 32-bit, little-endian, non-premultiplied RGBA, i.e. eight bits per channel with the red channel first. They are arranged canonically as packed sequential rows, starting from the top-left corner.

    +

    The cursor hotspot is specified in pixels, relative to the upper-left corner of the cursor image. Like all other coordinate systems in GLFW, the X-axis points to the right and the Y-axis points down.

    +
    Parameters
    + + + + +
    [in]imageThe desired cursor image.
    [in]xhotThe desired x-coordinate, in pixels, of the cursor hotspot.
    [in]yhotThe desired y-coordinate, in pixels, of the cursor hotspot.
    +
    +
    +
    Returns
    The handle of the created cursor, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The specified image data is copied before this function returns.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor objects
    +
    +glfwDestroyCursor
    +
    +glfwCreateStandardCursor
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwCreateStandardCursor()

    + +
    +
    + + + + + + + + +
    GLFWcursor* glfwCreateStandardCursor (int shape)
    +
    +

    Returns a cursor with a standard shape, that can be set for a window with glfwSetCursor.

    +
    Parameters
    + + +
    [in]shapeOne of the standard shapes.
    +
    +
    +
    Returns
    A new cursor ready to use or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor objects
    +
    +glfwCreateCursor
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwDestroyCursor()

    + +
    +
    + + + + + + + + +
    void glfwDestroyCursor (GLFWcursorcursor)
    +
    +

    This function destroys a cursor previously created with glfwCreateCursor. Any remaining cursors will be destroyed by glfwTerminate.

    +

    If the specified cursor is current for any window, that window will be reverted to the default cursor. This does not affect the cursor mode.

    +
    Parameters
    + + +
    [in]cursorThe cursor object to destroy.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor objects
    +
    +glfwCreateCursor
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwSetCursor()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetCursor (GLFWwindowwindow,
    GLFWcursorcursor 
    )
    +
    +

    This function sets the cursor image to be used when the cursor is over the content area of the specified window. The set cursor will only be visible when the cursor mode of the window is GLFW_CURSOR_NORMAL.

    +

    On some platforms, the set cursor may not be visible unless the window also has input focus.

    +
    Parameters
    + + + +
    [in]windowThe window to set the cursor for.
    [in]cursorThe cursor to set, or NULL to switch back to the default arrow cursor.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor objects
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwSetKeyCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWkeyfun glfwSetKeyCallback (GLFWwindowwindow,
    GLFWkeyfun callback 
    )
    +
    +

    This function sets the key callback of the specified window, which is called when a key is pressed, repeated or released.

    +

    The key functions deal with physical keys, with layout independent key tokens named after their values in the standard US keyboard layout. If you want to input text, use the character callback instead.

    +

    When a window loses input focus, it will generate synthetic key release events for all pressed keys. You can tell these events from user-generated events by the fact that the synthetic ones are generated after the focus loss event has been processed, i.e. after the window focus callback has been called.

    +

    The scancode of a key is specific to that platform or sometimes even to that machine. Scancodes are intended to allow users to bind keys that don't have a GLFW key token. Such keys have key set to GLFW_KEY_UNKNOWN, their state is not saved and so it cannot be queried with glfwGetKey.

    +

    Sometimes GLFW needs to generate synthetic key events, in which case the scancode may be zero.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new key callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int key, int scancode, int action, int mods)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Key input
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetCharCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWcharfun glfwSetCharCallback (GLFWwindowwindow,
    GLFWcharfun callback 
    )
    +
    +

    This function sets the character callback of the specified window, which is called when a Unicode character is input.

    +

    The character callback is intended for Unicode text input. As it deals with characters, it is keyboard layout dependent, whereas the key callback is not. Characters do not map 1:1 to physical keys, as a key may produce zero, one or more characters. If you want to know whether a specific physical key was pressed or released, see the key callback instead.

    +

    The character callback behaves as system text input normally does and will not be called if modifier keys are held down that would prevent normal text input on that platform, for example a Super (Command) key on macOS or Alt key on Windows.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, unsigned int codepoint)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Text input
    +
    Since
    Added in version 2.4. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetCharModsCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWcharmodsfun glfwSetCharModsCallback (GLFWwindowwindow,
    GLFWcharmodsfun callback 
    )
    +
    +

    This function sets the character with modifiers callback of the specified window, which is called when a Unicode character is input regardless of what modifier keys are used.

    +

    The character with modifiers callback is intended for implementing custom Unicode character input. For regular Unicode text input, see the character callback. Like the character callback, the character with modifiers callback deals with characters and is keyboard layout dependent. Characters do not map 1:1 to physical keys, as a key may produce zero, one or more characters. If you want to know whether a specific physical key was pressed or released, see the key callback instead.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or an error occurred.
    +
    Callback signature
    void function_name(GLFWwindow* window, unsigned int codepoint, int mods)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Deprecated:
    Scheduled for removal in version 4.0.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Text input
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwSetMouseButtonCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWmousebuttonfun glfwSetMouseButtonCallback (GLFWwindowwindow,
    GLFWmousebuttonfun callback 
    )
    +
    +

    This function sets the mouse button callback of the specified window, which is called when a mouse button is pressed or released.

    +

    When a window loses input focus, it will generate synthetic mouse button release events for all pressed mouse buttons. You can tell these events from user-generated events by the fact that the synthetic ones are generated after the focus loss event has been processed, i.e. after the window focus callback has been called.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int button, int action, int mods)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Mouse button input
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetCursorPosCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWcursorposfun glfwSetCursorPosCallback (GLFWwindowwindow,
    GLFWcursorposfun callback 
    )
    +
    +

    This function sets the cursor position callback of the specified window, which is called when the cursor is moved. The callback is provided with the position, in screen coordinates, relative to the upper-left corner of the content area of the window.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, double xpos, double ypos);
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor position
    +
    Since
    Added in version 3.0. Replaces glfwSetMousePosCallback.
    + +
    +
    + +

    ◆ glfwSetCursorEnterCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWcursorenterfun glfwSetCursorEnterCallback (GLFWwindowwindow,
    GLFWcursorenterfun callback 
    )
    +
    +

    This function sets the cursor boundary crossing callback of the specified window, which is called when the cursor enters or leaves the content area of the window.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int entered)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor enter/leave events
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetScrollCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWscrollfun glfwSetScrollCallback (GLFWwindowwindow,
    GLFWscrollfun callback 
    )
    +
    +

    This function sets the scroll callback of the specified window, which is called when a scrolling device is used, such as a mouse wheel or scrolling area of a touchpad.

    +

    The scroll callback receives all scrolling input, like that from a mouse wheel or a touchpad scrolling area.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new scroll callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, double xoffset, double yoffset)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Scroll input
    +
    Since
    Added in version 3.0. Replaces glfwSetMouseWheelCallback.
    + +
    +
    + +

    ◆ glfwSetDropCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWdropfun glfwSetDropCallback (GLFWwindowwindow,
    GLFWdropfun callback 
    )
    +
    +

    This function sets the path drop callback of the specified window, which is called when one or more dragged paths are dropped on the window.

    +

    Because the path array and its strings may have been generated specifically for that event, they are not guaranteed to be valid after the callback has returned. If you wish to use them after the callback returns, you need to make a deep copy.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new file drop callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int path_count, const char* paths[])
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Remarks
    Wayland: File drop is currently unimplemented.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Path drop input
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwJoystickPresent()

    + +
    +
    + + + + + + + + +
    int glfwJoystickPresent (int jid)
    +
    +

    This function returns whether the specified joystick is present.

    +

    There is no need to call this function before other functions that accept a joystick ID, as they all check for presence before performing any other work.

    +
    Parameters
    + + +
    [in]jidThe joystick to query.
    +
    +
    +
    Returns
    GLFW_TRUE if the joystick is present, or GLFW_FALSE otherwise.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick input
    +
    Since
    Added in version 3.0. Replaces glfwGetJoystickParam.
    + +
    +
    + +

    ◆ glfwGetJoystickAxes()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const float* glfwGetJoystickAxes (int jid,
    int * count 
    )
    +
    +

    This function returns the values of all axes of the specified joystick. Each element in the array is a value between -1.0 and 1.0.

    +

    If the specified joystick is not present this function will return NULL but will not generate an error. This can be used instead of first calling glfwJoystickPresent.

    +
    Parameters
    + + + +
    [in]jidThe joystick to query.
    [out]countWhere to store the number of axis values in the returned array. This is set to zero if the joystick is not present or an error occurred.
    +
    +
    +
    Returns
    An array of axis values, or NULL if the joystick is not present or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick axis states
    +
    Since
    Added in version 3.0. Replaces glfwGetJoystickPos.
    + +
    +
    + +

    ◆ glfwGetJoystickButtons()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const unsigned char* glfwGetJoystickButtons (int jid,
    int * count 
    )
    +
    +

    This function returns the state of all buttons of the specified joystick. Each element in the array is either GLFW_PRESS or GLFW_RELEASE.

    +

    For backward compatibility with earlier versions that did not have glfwGetJoystickHats, the button array also includes all hats, each represented as four buttons. The hats are in the same order as returned by glfwGetJoystickHats and are in the order up, right, down and left. To disable these extra buttons, set the GLFW_JOYSTICK_HAT_BUTTONS init hint before initialization.

    +

    If the specified joystick is not present this function will return NULL but will not generate an error. This can be used instead of first calling glfwJoystickPresent.

    +
    Parameters
    + + + +
    [in]jidThe joystick to query.
    [out]countWhere to store the number of button states in the returned array. This is set to zero if the joystick is not present or an error occurred.
    +
    +
    +
    Returns
    An array of button states, or NULL if the joystick is not present or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick button states
    +
    Since
    Added in version 2.2. GLFW 3: Changed to return a dynamic array.
    + +
    +
    + +

    ◆ glfwGetJoystickHats()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const unsigned char* glfwGetJoystickHats (int jid,
    int * count 
    )
    +
    +

    This function returns the state of all hats of the specified joystick. Each element in the array is one of the following values:

    + + + + + + + + + + + + + + + + + + + + + +
    Name Value
    GLFW_HAT_CENTERED 0
    GLFW_HAT_UP 1
    GLFW_HAT_RIGHT 2
    GLFW_HAT_DOWN 4
    GLFW_HAT_LEFT 8
    GLFW_HAT_RIGHT_UP GLFW_HAT_RIGHT | GLFW_HAT_UP
    GLFW_HAT_RIGHT_DOWN GLFW_HAT_RIGHT | GLFW_HAT_DOWN
    GLFW_HAT_LEFT_UP GLFW_HAT_LEFT | GLFW_HAT_UP
    GLFW_HAT_LEFT_DOWN GLFW_HAT_LEFT | GLFW_HAT_DOWN
    +

    The diagonal directions are bitwise combinations of the primary (up, right, down and left) directions and you can test for these individually by ANDing it with the corresponding direction.

    +
    if (hats[2] & GLFW_HAT_RIGHT)
    +
    {
    +
    // State of hat 2 could be right-up, right or right-down
    +
    }
    +

    If the specified joystick is not present this function will return NULL but will not generate an error. This can be used instead of first calling glfwJoystickPresent.

    +
    Parameters
    + + + +
    [in]jidThe joystick to query.
    [out]countWhere to store the number of hat states in the returned array. This is set to zero if the joystick is not present or an error occurred.
    +
    +
    +
    Returns
    An array of hat states, or NULL if the joystick is not present or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected, this function is called again for that joystick or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick hat states
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetJoystickName()

    + +
    +
    + + + + + + + + +
    const char* glfwGetJoystickName (int jid)
    +
    +

    This function returns the name, encoded as UTF-8, of the specified joystick. The returned string is allocated and freed by GLFW. You should not free it yourself.

    +

    If the specified joystick is not present this function will return NULL but will not generate an error. This can be used instead of first calling glfwJoystickPresent.

    +
    Parameters
    + + +
    [in]jidThe joystick to query.
    +
    +
    +
    Returns
    The UTF-8 encoded name of the joystick, or NULL if the joystick is not present or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick name
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetJoystickGUID()

    + +
    +
    + + + + + + + + +
    const char* glfwGetJoystickGUID (int jid)
    +
    +

    This function returns the SDL compatible GUID, as a UTF-8 encoded hexadecimal string, of the specified joystick. The returned string is allocated and freed by GLFW. You should not free it yourself.

    +

    The GUID is what connects a joystick to a gamepad mapping. A connected joystick will always have a GUID even if there is no gamepad mapping assigned to it.

    +

    If the specified joystick is not present this function will return NULL but will not generate an error. This can be used instead of first calling glfwJoystickPresent.

    +

    The GUID uses the format introduced in SDL 2.0.5. This GUID tries to uniquely identify the make and model of a joystick but does not identify a specific unit, e.g. all wired Xbox 360 controllers will have the same GUID on that platform. The GUID for a unit may vary between platforms depending on what hardware information the platform specific APIs provide.

    +
    Parameters
    + + +
    [in]jidThe joystick to query.
    +
    +
    +
    Returns
    The UTF-8 encoded GUID of the joystick, or NULL if the joystick is not present or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamepad input
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwSetJoystickUserPointer()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetJoystickUserPointer (int jid,
    void * pointer 
    )
    +
    +

    This function sets the user-defined pointer of the specified joystick. The current value is retained until the joystick is disconnected. The initial value is NULL.

    +

    This function may be called from the joystick callback, even for a joystick that is being disconnected.

    +
    Parameters
    + + + +
    [in]jidThe joystick whose pointer to set.
    [in]pointerThe new value.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    Joystick user pointer
    +
    +glfwGetJoystickUserPointer
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetJoystickUserPointer()

    + +
    +
    + + + + + + + + +
    void* glfwGetJoystickUserPointer (int jid)
    +
    +

    This function returns the current value of the user-defined pointer of the specified joystick. The initial value is NULL.

    +

    This function may be called from the joystick callback, even for a joystick that is being disconnected.

    +
    Parameters
    + + +
    [in]jidThe joystick whose pointer to return.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    Joystick user pointer
    +
    +glfwSetJoystickUserPointer
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwJoystickIsGamepad()

    + +
    +
    + + + + + + + + +
    int glfwJoystickIsGamepad (int jid)
    +
    +

    This function returns whether the specified joystick is both present and has a gamepad mapping.

    +

    If the specified joystick is present but does not have a gamepad mapping this function will return GLFW_FALSE but will not generate an error. Call glfwJoystickPresent to check if a joystick is present regardless of whether it has a mapping.

    +
    Parameters
    + + +
    [in]jidThe joystick to query.
    +
    +
    +
    Returns
    GLFW_TRUE if a joystick is both present and has a gamepad mapping, or GLFW_FALSE otherwise.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamepad input
    +
    +glfwGetGamepadState
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwSetJoystickCallback()

    + +
    +
    + + + + + + + + +
    GLFWjoystickfun glfwSetJoystickCallback (GLFWjoystickfun callback)
    +
    +

    This function sets the joystick configuration callback, or removes the currently set callback. This is called when a joystick is connected to or disconnected from the system.

    +

    For joystick connection and disconnection events to be delivered on all platforms, you need to call one of the event processing functions. Joystick disconnection may also be detected and the callback called by joystick functions. The function will then return whatever it returns if the joystick is not present.

    +
    Parameters
    + + +
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(int jid, int event)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick configuration changes
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwUpdateGamepadMappings()

    + +
    +
    + + + + + + + + +
    int glfwUpdateGamepadMappings (const char * string)
    +
    +

    This function parses the specified ASCII encoded string and updates the internal list with any gamepad mappings it finds. This string may contain either a single gamepad mapping or many mappings separated by newlines. The parser supports the full format of the gamecontrollerdb.txt source file including empty lines and comments.

    +

    See Gamepad mappings for a description of the format.

    +

    If there is already a gamepad mapping for a given GUID in the internal list, it will be replaced by the one passed to this function. If the library is terminated and re-initialized the internal list will revert to the built-in default.

    +
    Parameters
    + + +
    [in]stringThe string containing the gamepad mappings.
    +
    +
    +
    Returns
    GLFW_TRUE if successful, or GLFW_FALSE if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_VALUE.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamepad input
    +
    +glfwJoystickIsGamepad
    +
    +glfwGetGamepadName
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetGamepadName()

    + +
    +
    + + + + + + + + +
    const char* glfwGetGamepadName (int jid)
    +
    +

    This function returns the human-readable name of the gamepad from the gamepad mapping assigned to the specified joystick.

    +

    If the specified joystick is not present or does not have a gamepad mapping this function will return NULL but will not generate an error. Call glfwJoystickPresent to check whether it is present regardless of whether it has a mapping.

    +
    Parameters
    + + +
    [in]jidThe joystick to query.
    +
    +
    +
    Returns
    The UTF-8 encoded name of the gamepad, or NULL if the joystick is not present, does not have a mapping or an error occurred.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected, the gamepad mappings are updated or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamepad input
    +
    +glfwJoystickIsGamepad
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetGamepadState()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetGamepadState (int jid,
    GLFWgamepadstatestate 
    )
    +
    +

    This function retrieves the state of the specified joystick remapped to an Xbox-like gamepad.

    +

    If the specified joystick is not present or does not have a gamepad mapping this function will return GLFW_FALSE but will not generate an error. Call glfwJoystickPresent to check whether it is present regardless of whether it has a mapping.

    +

    The Guide button may not be available for input as it is often hooked by the system or the Steam client.

    +

    Not all devices have all the buttons or axes provided by GLFWgamepadstate. Unavailable buttons and axes will always report GLFW_RELEASE and 0.0 respectively.

    +
    Parameters
    + + + +
    [in]jidThe joystick to query.
    [out]stateThe gamepad input state of the joystick.
    +
    +
    +
    Returns
    GLFW_TRUE if successful, or GLFW_FALSE if no joystick is connected, it has no gamepad mapping or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamepad input
    +
    +glfwUpdateGamepadMappings
    +
    +glfwJoystickIsGamepad
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwSetClipboardString()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetClipboardString (GLFWwindowwindow,
    const char * string 
    )
    +
    +

    This function sets the system clipboard to the specified, UTF-8 encoded string.

    +
    Parameters
    + + + +
    [in]windowDeprecated. Any valid window or NULL.
    [in]stringA UTF-8 encoded string.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The specified string is copied before this function returns.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Clipboard input and output
    +
    +glfwGetClipboardString
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetClipboardString()

    + +
    +
    + + + + + + + + +
    const char* glfwGetClipboardString (GLFWwindowwindow)
    +
    +

    This function returns the contents of the system clipboard, if it contains or is convertible to a UTF-8 encoded string. If the clipboard is empty or if its contents cannot be converted, NULL is returned and a GLFW_FORMAT_UNAVAILABLE error is generated.

    +
    Parameters
    + + +
    [in]windowDeprecated. Any valid window or NULL.
    +
    +
    +
    Returns
    The contents of the clipboard as a UTF-8 encoded string, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the next call to glfwGetClipboardString or glfwSetClipboardString, or until the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Clipboard input and output
    +
    +glfwSetClipboardString
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetTime()

    + +
    +
    + + + + + + + + +
    double glfwGetTime (void )
    +
    +

    This function returns the current GLFW time, in seconds. Unless the time has been set using glfwSetTime it measures time elapsed since GLFW was initialized.

    +

    This function and glfwSetTime are helper functions on top of glfwGetTimerFrequency and glfwGetTimerValue.

    +

    The resolution of the timer is system dependent, but is usually on the order of a few micro- or nanoseconds. It uses the highest-resolution monotonic time source on each supported platform.

    +
    Returns
    The current time, in seconds, or zero if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Reading and writing of the internal base time is not atomic, so it needs to be externally synchronized with calls to glfwSetTime.
    +
    See also
    Time input
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwSetTime()

    + +
    +
    + + + + + + + + +
    void glfwSetTime (double time)
    +
    +

    This function sets the current GLFW time, in seconds. The value must be a positive finite number less than or equal to 18446744073.0, which is approximately 584.5 years.

    +

    This function and glfwGetTime are helper functions on top of glfwGetTimerFrequency and glfwGetTimerValue.

    +
    Parameters
    + + +
    [in]timeThe new value, in seconds.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_VALUE.
    +
    Remarks
    The upper limit of GLFW time is calculated as floor((264 - 1) / 109) and is due to implementations storing nanoseconds in 64 bits. The limit may be increased in the future.
    +
    Thread safety
    This function may be called from any thread. Reading and writing of the internal base time is not atomic, so it needs to be externally synchronized with calls to glfwGetTime.
    +
    See also
    Time input
    +
    Since
    Added in version 2.2.
    + +
    +
    + +

    ◆ glfwGetTimerValue()

    + +
    +
    + + + + + + + + +
    uint64_t glfwGetTimerValue (void )
    +
    +

    This function returns the current value of the raw timer, measured in 1 / frequency seconds. To get the frequency, call glfwGetTimerFrequency.

    +
    Returns
    The value of the timer, or zero if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Time input
    +
    +glfwGetTimerFrequency
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetTimerFrequency()

    + +
    +
    + + + + + + + + +
    uint64_t glfwGetTimerFrequency (void )
    +
    +

    This function returns the frequency, in Hz, of the raw timer.

    +
    Returns
    The frequency of the timer, in Hz, or zero if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Time input
    +
    +glfwGetTimerValue
    +
    Since
    Added in version 3.2.
    + +
    +
    +
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1177
    +
    #define GLFW_HAT_RIGHT
    Definition: glfw3.h:350
    + + + diff --git a/docs/3.3/group__joysticks.html b/docs/3.3/group__joysticks.html new file mode 100644 index 0000000..e591ef9 --- /dev/null +++ b/docs/3.3/group__joysticks.html @@ -0,0 +1,355 @@ + + + + + + + +GLFW: Joysticks + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    +
    +
    +

    Description

    +

    See joystick input for how these are used.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_JOYSTICK_1   0
     
    #define GLFW_JOYSTICK_2   1
     
    #define GLFW_JOYSTICK_3   2
     
    #define GLFW_JOYSTICK_4   3
     
    #define GLFW_JOYSTICK_5   4
     
    #define GLFW_JOYSTICK_6   5
     
    #define GLFW_JOYSTICK_7   6
     
    #define GLFW_JOYSTICK_8   7
     
    #define GLFW_JOYSTICK_9   8
     
    #define GLFW_JOYSTICK_10   9
     
    #define GLFW_JOYSTICK_11   10
     
    #define GLFW_JOYSTICK_12   11
     
    #define GLFW_JOYSTICK_13   12
     
    #define GLFW_JOYSTICK_14   13
     
    #define GLFW_JOYSTICK_15   14
     
    #define GLFW_JOYSTICK_16   15
     
    #define GLFW_JOYSTICK_LAST   GLFW_JOYSTICK_16
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_JOYSTICK_1

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_1   0
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_2

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_2   1
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_3

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_3   2
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_4

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_4   3
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_5

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_5   4
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_6

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_6   5
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_7

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_7   6
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_8

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_8   7
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_9

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_9   8
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_10

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_10   9
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_11

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_11   10
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_12

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_12   11
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_13

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_13   12
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_14

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_14   13
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_15

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_15   14
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_16

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_16   15
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_LAST

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_LAST   GLFW_JOYSTICK_16
    +
    + +
    +
    +
    + + + diff --git a/docs/3.3/group__keys.html b/docs/3.3/group__keys.html new file mode 100644 index 0000000..3151b46 --- /dev/null +++ b/docs/3.3/group__keys.html @@ -0,0 +1,2043 @@ + + + + + + + +GLFW: Keyboard keys + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Keyboard keys
    +
    +
    +

    Description

    +

    See key input for how these are used.

    +

    These key codes are inspired by the USB HID Usage Tables v1.12 (p. 53-60), but re-arranged to map to 7-bit ASCII for printable keys (function keys are put in the 256+ range).

    +

    The naming of the key codes follow these rules:

      +
    • The US keyboard layout is used
    • +
    • Names of printable alpha-numeric characters are used (e.g. "A", "R", "3", etc.)
    • +
    • For non-alphanumeric characters, Unicode:ish names are used (e.g. "COMMA", "LEFT_SQUARE_BRACKET", etc.). Note that some names do not correspond to the Unicode standard (usually for brevity)
    • +
    • Keys that lack a clear US mapping are named "WORLD_x"
    • +
    • For non-printable keys, custom names are used (e.g. "F4", "BACKSPACE", etc.)
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_KEY_UNKNOWN   -1
     
    #define GLFW_KEY_SPACE   32
     
    #define GLFW_KEY_APOSTROPHE   39 /* ' */
     
    #define GLFW_KEY_COMMA   44 /* , */
     
    #define GLFW_KEY_MINUS   45 /* - */
     
    #define GLFW_KEY_PERIOD   46 /* . */
     
    #define GLFW_KEY_SLASH   47 /* / */
     
    #define GLFW_KEY_0   48
     
    #define GLFW_KEY_1   49
     
    #define GLFW_KEY_2   50
     
    #define GLFW_KEY_3   51
     
    #define GLFW_KEY_4   52
     
    #define GLFW_KEY_5   53
     
    #define GLFW_KEY_6   54
     
    #define GLFW_KEY_7   55
     
    #define GLFW_KEY_8   56
     
    #define GLFW_KEY_9   57
     
    #define GLFW_KEY_SEMICOLON   59 /* ; */
     
    #define GLFW_KEY_EQUAL   61 /* = */
     
    #define GLFW_KEY_A   65
     
    #define GLFW_KEY_B   66
     
    #define GLFW_KEY_C   67
     
    #define GLFW_KEY_D   68
     
    #define GLFW_KEY_E   69
     
    #define GLFW_KEY_F   70
     
    #define GLFW_KEY_G   71
     
    #define GLFW_KEY_H   72
     
    #define GLFW_KEY_I   73
     
    #define GLFW_KEY_J   74
     
    #define GLFW_KEY_K   75
     
    #define GLFW_KEY_L   76
     
    #define GLFW_KEY_M   77
     
    #define GLFW_KEY_N   78
     
    #define GLFW_KEY_O   79
     
    #define GLFW_KEY_P   80
     
    #define GLFW_KEY_Q   81
     
    #define GLFW_KEY_R   82
     
    #define GLFW_KEY_S   83
     
    #define GLFW_KEY_T   84
     
    #define GLFW_KEY_U   85
     
    #define GLFW_KEY_V   86
     
    #define GLFW_KEY_W   87
     
    #define GLFW_KEY_X   88
     
    #define GLFW_KEY_Y   89
     
    #define GLFW_KEY_Z   90
     
    #define GLFW_KEY_LEFT_BRACKET   91 /* [ */
     
    #define GLFW_KEY_BACKSLASH   92 /* \ */
     
    #define GLFW_KEY_RIGHT_BRACKET   93 /* ] */
     
    #define GLFW_KEY_GRAVE_ACCENT   96 /* ` */
     
    #define GLFW_KEY_WORLD_1   161 /* non-US #1 */
     
    #define GLFW_KEY_WORLD_2   162 /* non-US #2 */
     
    #define GLFW_KEY_ESCAPE   256
     
    #define GLFW_KEY_ENTER   257
     
    #define GLFW_KEY_TAB   258
     
    #define GLFW_KEY_BACKSPACE   259
     
    #define GLFW_KEY_INSERT   260
     
    #define GLFW_KEY_DELETE   261
     
    #define GLFW_KEY_RIGHT   262
     
    #define GLFW_KEY_LEFT   263
     
    #define GLFW_KEY_DOWN   264
     
    #define GLFW_KEY_UP   265
     
    #define GLFW_KEY_PAGE_UP   266
     
    #define GLFW_KEY_PAGE_DOWN   267
     
    #define GLFW_KEY_HOME   268
     
    #define GLFW_KEY_END   269
     
    #define GLFW_KEY_CAPS_LOCK   280
     
    #define GLFW_KEY_SCROLL_LOCK   281
     
    #define GLFW_KEY_NUM_LOCK   282
     
    #define GLFW_KEY_PRINT_SCREEN   283
     
    #define GLFW_KEY_PAUSE   284
     
    #define GLFW_KEY_F1   290
     
    #define GLFW_KEY_F2   291
     
    #define GLFW_KEY_F3   292
     
    #define GLFW_KEY_F4   293
     
    #define GLFW_KEY_F5   294
     
    #define GLFW_KEY_F6   295
     
    #define GLFW_KEY_F7   296
     
    #define GLFW_KEY_F8   297
     
    #define GLFW_KEY_F9   298
     
    #define GLFW_KEY_F10   299
     
    #define GLFW_KEY_F11   300
     
    #define GLFW_KEY_F12   301
     
    #define GLFW_KEY_F13   302
     
    #define GLFW_KEY_F14   303
     
    #define GLFW_KEY_F15   304
     
    #define GLFW_KEY_F16   305
     
    #define GLFW_KEY_F17   306
     
    #define GLFW_KEY_F18   307
     
    #define GLFW_KEY_F19   308
     
    #define GLFW_KEY_F20   309
     
    #define GLFW_KEY_F21   310
     
    #define GLFW_KEY_F22   311
     
    #define GLFW_KEY_F23   312
     
    #define GLFW_KEY_F24   313
     
    #define GLFW_KEY_F25   314
     
    #define GLFW_KEY_KP_0   320
     
    #define GLFW_KEY_KP_1   321
     
    #define GLFW_KEY_KP_2   322
     
    #define GLFW_KEY_KP_3   323
     
    #define GLFW_KEY_KP_4   324
     
    #define GLFW_KEY_KP_5   325
     
    #define GLFW_KEY_KP_6   326
     
    #define GLFW_KEY_KP_7   327
     
    #define GLFW_KEY_KP_8   328
     
    #define GLFW_KEY_KP_9   329
     
    #define GLFW_KEY_KP_DECIMAL   330
     
    #define GLFW_KEY_KP_DIVIDE   331
     
    #define GLFW_KEY_KP_MULTIPLY   332
     
    #define GLFW_KEY_KP_SUBTRACT   333
     
    #define GLFW_KEY_KP_ADD   334
     
    #define GLFW_KEY_KP_ENTER   335
     
    #define GLFW_KEY_KP_EQUAL   336
     
    #define GLFW_KEY_LEFT_SHIFT   340
     
    #define GLFW_KEY_LEFT_CONTROL   341
     
    #define GLFW_KEY_LEFT_ALT   342
     
    #define GLFW_KEY_LEFT_SUPER   343
     
    #define GLFW_KEY_RIGHT_SHIFT   344
     
    #define GLFW_KEY_RIGHT_CONTROL   345
     
    #define GLFW_KEY_RIGHT_ALT   346
     
    #define GLFW_KEY_RIGHT_SUPER   347
     
    #define GLFW_KEY_MENU   348
     
    #define GLFW_KEY_LAST   GLFW_KEY_MENU
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_KEY_UNKNOWN

    + +
    +
    + + + + +
    #define GLFW_KEY_UNKNOWN   -1
    +
    + +
    +
    + +

    ◆ GLFW_KEY_SPACE

    + +
    +
    + + + + +
    #define GLFW_KEY_SPACE   32
    +
    + +
    +
    + +

    ◆ GLFW_KEY_APOSTROPHE

    + +
    +
    + + + + +
    #define GLFW_KEY_APOSTROPHE   39 /* ' */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_COMMA

    + +
    +
    + + + + +
    #define GLFW_KEY_COMMA   44 /* , */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_MINUS

    + +
    +
    + + + + +
    #define GLFW_KEY_MINUS   45 /* - */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PERIOD

    + +
    +
    + + + + +
    #define GLFW_KEY_PERIOD   46 /* . */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_SLASH

    + +
    +
    + + + + +
    #define GLFW_KEY_SLASH   47 /* / */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_0

    + +
    +
    + + + + +
    #define GLFW_KEY_0   48
    +
    + +
    +
    + +

    ◆ GLFW_KEY_1

    + +
    +
    + + + + +
    #define GLFW_KEY_1   49
    +
    + +
    +
    + +

    ◆ GLFW_KEY_2

    + +
    +
    + + + + +
    #define GLFW_KEY_2   50
    +
    + +
    +
    + +

    ◆ GLFW_KEY_3

    + +
    +
    + + + + +
    #define GLFW_KEY_3   51
    +
    + +
    +
    + +

    ◆ GLFW_KEY_4

    + +
    +
    + + + + +
    #define GLFW_KEY_4   52
    +
    + +
    +
    + +

    ◆ GLFW_KEY_5

    + +
    +
    + + + + +
    #define GLFW_KEY_5   53
    +
    + +
    +
    + +

    ◆ GLFW_KEY_6

    + +
    +
    + + + + +
    #define GLFW_KEY_6   54
    +
    + +
    +
    + +

    ◆ GLFW_KEY_7

    + +
    +
    + + + + +
    #define GLFW_KEY_7   55
    +
    + +
    +
    + +

    ◆ GLFW_KEY_8

    + +
    +
    + + + + +
    #define GLFW_KEY_8   56
    +
    + +
    +
    + +

    ◆ GLFW_KEY_9

    + +
    +
    + + + + +
    #define GLFW_KEY_9   57
    +
    + +
    +
    + +

    ◆ GLFW_KEY_SEMICOLON

    + +
    +
    + + + + +
    #define GLFW_KEY_SEMICOLON   59 /* ; */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_EQUAL

    + +
    +
    + + + + +
    #define GLFW_KEY_EQUAL   61 /* = */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_A

    + +
    +
    + + + + +
    #define GLFW_KEY_A   65
    +
    + +
    +
    + +

    ◆ GLFW_KEY_B

    + +
    +
    + + + + +
    #define GLFW_KEY_B   66
    +
    + +
    +
    + +

    ◆ GLFW_KEY_C

    + +
    +
    + + + + +
    #define GLFW_KEY_C   67
    +
    + +
    +
    + +

    ◆ GLFW_KEY_D

    + +
    +
    + + + + +
    #define GLFW_KEY_D   68
    +
    + +
    +
    + +

    ◆ GLFW_KEY_E

    + +
    +
    + + + + +
    #define GLFW_KEY_E   69
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F

    + +
    +
    + + + + +
    #define GLFW_KEY_F   70
    +
    + +
    +
    + +

    ◆ GLFW_KEY_G

    + +
    +
    + + + + +
    #define GLFW_KEY_G   71
    +
    + +
    +
    + +

    ◆ GLFW_KEY_H

    + +
    +
    + + + + +
    #define GLFW_KEY_H   72
    +
    + +
    +
    + +

    ◆ GLFW_KEY_I

    + +
    +
    + + + + +
    #define GLFW_KEY_I   73
    +
    + +
    +
    + +

    ◆ GLFW_KEY_J

    + +
    +
    + + + + +
    #define GLFW_KEY_J   74
    +
    + +
    +
    + +

    ◆ GLFW_KEY_K

    + +
    +
    + + + + +
    #define GLFW_KEY_K   75
    +
    + +
    +
    + +

    ◆ GLFW_KEY_L

    + +
    +
    + + + + +
    #define GLFW_KEY_L   76
    +
    + +
    +
    + +

    ◆ GLFW_KEY_M

    + +
    +
    + + + + +
    #define GLFW_KEY_M   77
    +
    + +
    +
    + +

    ◆ GLFW_KEY_N

    + +
    +
    + + + + +
    #define GLFW_KEY_N   78
    +
    + +
    +
    + +

    ◆ GLFW_KEY_O

    + +
    +
    + + + + +
    #define GLFW_KEY_O   79
    +
    + +
    +
    + +

    ◆ GLFW_KEY_P

    + +
    +
    + + + + +
    #define GLFW_KEY_P   80
    +
    + +
    +
    + +

    ◆ GLFW_KEY_Q

    + +
    +
    + + + + +
    #define GLFW_KEY_Q   81
    +
    + +
    +
    + +

    ◆ GLFW_KEY_R

    + +
    +
    + + + + +
    #define GLFW_KEY_R   82
    +
    + +
    +
    + +

    ◆ GLFW_KEY_S

    + +
    +
    + + + + +
    #define GLFW_KEY_S   83
    +
    + +
    +
    + +

    ◆ GLFW_KEY_T

    + +
    +
    + + + + +
    #define GLFW_KEY_T   84
    +
    + +
    +
    + +

    ◆ GLFW_KEY_U

    + +
    +
    + + + + +
    #define GLFW_KEY_U   85
    +
    + +
    +
    + +

    ◆ GLFW_KEY_V

    + +
    +
    + + + + +
    #define GLFW_KEY_V   86
    +
    + +
    +
    + +

    ◆ GLFW_KEY_W

    + +
    +
    + + + + +
    #define GLFW_KEY_W   87
    +
    + +
    +
    + +

    ◆ GLFW_KEY_X

    + +
    +
    + + + + +
    #define GLFW_KEY_X   88
    +
    + +
    +
    + +

    ◆ GLFW_KEY_Y

    + +
    +
    + + + + +
    #define GLFW_KEY_Y   89
    +
    + +
    +
    + +

    ◆ GLFW_KEY_Z

    + +
    +
    + + + + +
    #define GLFW_KEY_Z   90
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_BRACKET

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_BRACKET   91 /* [ */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_BACKSLASH

    + +
    +
    + + + + +
    #define GLFW_KEY_BACKSLASH   92 /* \ */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_BRACKET

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_BRACKET   93 /* ] */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_GRAVE_ACCENT

    + +
    +
    + + + + +
    #define GLFW_KEY_GRAVE_ACCENT   96 /* ` */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_WORLD_1

    + +
    +
    + + + + +
    #define GLFW_KEY_WORLD_1   161 /* non-US #1 */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_WORLD_2

    + +
    +
    + + + + +
    #define GLFW_KEY_WORLD_2   162 /* non-US #2 */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_ESCAPE

    + +
    +
    + + + + +
    #define GLFW_KEY_ESCAPE   256
    +
    + +
    +
    + +

    ◆ GLFW_KEY_ENTER

    + +
    +
    + + + + +
    #define GLFW_KEY_ENTER   257
    +
    + +
    +
    + +

    ◆ GLFW_KEY_TAB

    + +
    +
    + + + + +
    #define GLFW_KEY_TAB   258
    +
    + +
    +
    + +

    ◆ GLFW_KEY_BACKSPACE

    + +
    +
    + + + + +
    #define GLFW_KEY_BACKSPACE   259
    +
    + +
    +
    + +

    ◆ GLFW_KEY_INSERT

    + +
    +
    + + + + +
    #define GLFW_KEY_INSERT   260
    +
    + +
    +
    + +

    ◆ GLFW_KEY_DELETE

    + +
    +
    + + + + +
    #define GLFW_KEY_DELETE   261
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT   262
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT   263
    +
    + +
    +
    + +

    ◆ GLFW_KEY_DOWN

    + +
    +
    + + + + +
    #define GLFW_KEY_DOWN   264
    +
    + +
    +
    + +

    ◆ GLFW_KEY_UP

    + +
    +
    + + + + +
    #define GLFW_KEY_UP   265
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PAGE_UP

    + +
    +
    + + + + +
    #define GLFW_KEY_PAGE_UP   266
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PAGE_DOWN

    + +
    +
    + + + + +
    #define GLFW_KEY_PAGE_DOWN   267
    +
    + +
    +
    + +

    ◆ GLFW_KEY_HOME

    + +
    +
    + + + + +
    #define GLFW_KEY_HOME   268
    +
    + +
    +
    + +

    ◆ GLFW_KEY_END

    + +
    +
    + + + + +
    #define GLFW_KEY_END   269
    +
    + +
    +
    + +

    ◆ GLFW_KEY_CAPS_LOCK

    + +
    +
    + + + + +
    #define GLFW_KEY_CAPS_LOCK   280
    +
    + +
    +
    + +

    ◆ GLFW_KEY_SCROLL_LOCK

    + +
    +
    + + + + +
    #define GLFW_KEY_SCROLL_LOCK   281
    +
    + +
    +
    + +

    ◆ GLFW_KEY_NUM_LOCK

    + +
    +
    + + + + +
    #define GLFW_KEY_NUM_LOCK   282
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PRINT_SCREEN

    + +
    +
    + + + + +
    #define GLFW_KEY_PRINT_SCREEN   283
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PAUSE

    + +
    +
    + + + + +
    #define GLFW_KEY_PAUSE   284
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F1

    + +
    +
    + + + + +
    #define GLFW_KEY_F1   290
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F2

    + +
    +
    + + + + +
    #define GLFW_KEY_F2   291
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F3

    + +
    +
    + + + + +
    #define GLFW_KEY_F3   292
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F4

    + +
    +
    + + + + +
    #define GLFW_KEY_F4   293
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F5

    + +
    +
    + + + + +
    #define GLFW_KEY_F5   294
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F6

    + +
    +
    + + + + +
    #define GLFW_KEY_F6   295
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F7

    + +
    +
    + + + + +
    #define GLFW_KEY_F7   296
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F8

    + +
    +
    + + + + +
    #define GLFW_KEY_F8   297
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F9

    + +
    +
    + + + + +
    #define GLFW_KEY_F9   298
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F10

    + +
    +
    + + + + +
    #define GLFW_KEY_F10   299
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F11

    + +
    +
    + + + + +
    #define GLFW_KEY_F11   300
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F12

    + +
    +
    + + + + +
    #define GLFW_KEY_F12   301
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F13

    + +
    +
    + + + + +
    #define GLFW_KEY_F13   302
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F14

    + +
    +
    + + + + +
    #define GLFW_KEY_F14   303
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F15

    + +
    +
    + + + + +
    #define GLFW_KEY_F15   304
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F16

    + +
    +
    + + + + +
    #define GLFW_KEY_F16   305
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F17

    + +
    +
    + + + + +
    #define GLFW_KEY_F17   306
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F18

    + +
    +
    + + + + +
    #define GLFW_KEY_F18   307
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F19

    + +
    +
    + + + + +
    #define GLFW_KEY_F19   308
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F20

    + +
    +
    + + + + +
    #define GLFW_KEY_F20   309
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F21

    + +
    +
    + + + + +
    #define GLFW_KEY_F21   310
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F22

    + +
    +
    + + + + +
    #define GLFW_KEY_F22   311
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F23

    + +
    +
    + + + + +
    #define GLFW_KEY_F23   312
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F24

    + +
    +
    + + + + +
    #define GLFW_KEY_F24   313
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F25

    + +
    +
    + + + + +
    #define GLFW_KEY_F25   314
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_0

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_0   320
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_1

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_1   321
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_2

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_2   322
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_3

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_3   323
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_4

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_4   324
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_5

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_5   325
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_6

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_6   326
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_7

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_7   327
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_8

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_8   328
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_9

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_9   329
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_DECIMAL

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_DECIMAL   330
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_DIVIDE

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_DIVIDE   331
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_MULTIPLY

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_MULTIPLY   332
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_SUBTRACT

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_SUBTRACT   333
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_ADD

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_ADD   334
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_ENTER

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_ENTER   335
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_EQUAL

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_EQUAL   336
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_SHIFT

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_SHIFT   340
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_CONTROL

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_CONTROL   341
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_ALT

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_ALT   342
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_SUPER

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_SUPER   343
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_SHIFT

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_SHIFT   344
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_CONTROL

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_CONTROL   345
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_ALT

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_ALT   346
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_SUPER

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_SUPER   347
    +
    + +
    +
    + +

    ◆ GLFW_KEY_MENU

    + +
    +
    + + + + +
    #define GLFW_KEY_MENU   348
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LAST

    + +
    +
    + + + + +
    #define GLFW_KEY_LAST   GLFW_KEY_MENU
    +
    + +
    +
    +
    + + + diff --git a/docs/3.3/group__mods.html b/docs/3.3/group__mods.html new file mode 100644 index 0000000..f1f751e --- /dev/null +++ b/docs/3.3/group__mods.html @@ -0,0 +1,191 @@ + + + + + + + +GLFW: Modifier key flags + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Modifier key flags
    +
    +
    +

    Description

    +

    See key input for how these are used.

    + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_MOD_SHIFT   0x0001
     If this bit is set one or more Shift keys were held down. More...
     
    #define GLFW_MOD_CONTROL   0x0002
     If this bit is set one or more Control keys were held down. More...
     
    #define GLFW_MOD_ALT   0x0004
     If this bit is set one or more Alt keys were held down. More...
     
    #define GLFW_MOD_SUPER   0x0008
     If this bit is set one or more Super keys were held down. More...
     
    #define GLFW_MOD_CAPS_LOCK   0x0010
     If this bit is set the Caps Lock key is enabled. More...
     
    #define GLFW_MOD_NUM_LOCK   0x0020
     If this bit is set the Num Lock key is enabled. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_MOD_SHIFT

    + +
    +
    + + + + +
    #define GLFW_MOD_SHIFT   0x0001
    +
    +

    If this bit is set one or more Shift keys were held down.

    + +
    +
    + +

    ◆ GLFW_MOD_CONTROL

    + +
    +
    + + + + +
    #define GLFW_MOD_CONTROL   0x0002
    +
    +

    If this bit is set one or more Control keys were held down.

    + +
    +
    + +

    ◆ GLFW_MOD_ALT

    + +
    +
    + + + + +
    #define GLFW_MOD_ALT   0x0004
    +
    +

    If this bit is set one or more Alt keys were held down.

    + +
    +
    + +

    ◆ GLFW_MOD_SUPER

    + +
    +
    + + + + +
    #define GLFW_MOD_SUPER   0x0008
    +
    +

    If this bit is set one or more Super keys were held down.

    + +
    +
    + +

    ◆ GLFW_MOD_CAPS_LOCK

    + +
    +
    + + + + +
    #define GLFW_MOD_CAPS_LOCK   0x0010
    +
    +

    If this bit is set the Caps Lock key is enabled and the GLFW_LOCK_KEY_MODS input mode is set.

    + +
    +
    + +

    ◆ GLFW_MOD_NUM_LOCK

    + +
    +
    + + + + +
    #define GLFW_MOD_NUM_LOCK   0x0020
    +
    +

    If this bit is set the Num Lock key is enabled and the GLFW_LOCK_KEY_MODS input mode is set.

    + +
    +
    +
    + + + diff --git a/docs/3.3/group__monitor.html b/docs/3.3/group__monitor.html new file mode 100644 index 0000000..fb49bbc --- /dev/null +++ b/docs/3.3/group__monitor.html @@ -0,0 +1,841 @@ + + + + + + + +GLFW: Monitor reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Monitor reference
    +
    +
    +

    Description

    +

    This is the reference documentation for monitor related functions and types. For more task-oriented information, see the Monitor guide.

    + + + + + + + + + + + + + + +

    +Typedefs

    typedef struct GLFWmonitor GLFWmonitor
     Opaque monitor object. More...
     
    typedef void(* GLFWmonitorfun) (GLFWmonitor *, int)
     The function pointer type for monitor configuration callbacks. More...
     
    typedef struct GLFWvidmode GLFWvidmode
     Video mode type. More...
     
    typedef struct GLFWgammaramp GLFWgammaramp
     Gamma ramp. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    GLFWmonitor ** glfwGetMonitors (int *count)
     Returns the currently connected monitors. More...
     
    GLFWmonitorglfwGetPrimaryMonitor (void)
     Returns the primary monitor. More...
     
    void glfwGetMonitorPos (GLFWmonitor *monitor, int *xpos, int *ypos)
     Returns the position of the monitor's viewport on the virtual screen. More...
     
    void glfwGetMonitorWorkarea (GLFWmonitor *monitor, int *xpos, int *ypos, int *width, int *height)
     Retrieves the work area of the monitor. More...
     
    void glfwGetMonitorPhysicalSize (GLFWmonitor *monitor, int *widthMM, int *heightMM)
     Returns the physical size of the monitor. More...
     
    void glfwGetMonitorContentScale (GLFWmonitor *monitor, float *xscale, float *yscale)
     Retrieves the content scale for the specified monitor. More...
     
    const char * glfwGetMonitorName (GLFWmonitor *monitor)
     Returns the name of the specified monitor. More...
     
    void glfwSetMonitorUserPointer (GLFWmonitor *monitor, void *pointer)
     Sets the user pointer of the specified monitor. More...
     
    void * glfwGetMonitorUserPointer (GLFWmonitor *monitor)
     Returns the user pointer of the specified monitor. More...
     
    GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun callback)
     Sets the monitor configuration callback. More...
     
    const GLFWvidmodeglfwGetVideoModes (GLFWmonitor *monitor, int *count)
     Returns the available video modes for the specified monitor. More...
     
    const GLFWvidmodeglfwGetVideoMode (GLFWmonitor *monitor)
     Returns the current mode of the specified monitor. More...
     
    void glfwSetGamma (GLFWmonitor *monitor, float gamma)
     Generates a gamma ramp and sets it for the specified monitor. More...
     
    const GLFWgammarampglfwGetGammaRamp (GLFWmonitor *monitor)
     Returns the current gamma ramp for the specified monitor. More...
     
    void glfwSetGammaRamp (GLFWmonitor *monitor, const GLFWgammaramp *ramp)
     Sets the current gamma ramp for the specified monitor. More...
     
    +

    Typedef Documentation

    + +

    ◆ GLFWmonitor

    + +
    +
    + + + + +
    typedef struct GLFWmonitor GLFWmonitor
    +
    +

    Opaque monitor object.

    +
    See also
    Monitor objects
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWmonitorfun

    + +
    +
    + + + + +
    typedef void(* GLFWmonitorfun) (GLFWmonitor *, int)
    +
    +

    This is the function pointer type for monitor configuration callbacks. A monitor callback function has the following signature:

    void function_name(GLFWmonitor* monitor, int event)
    +
    Parameters
    + + + +
    [in]monitorThe monitor that was connected or disconnected.
    [in]eventOne of GLFW_CONNECTED or GLFW_DISCONNECTED. Future releases may add more events.
    +
    +
    +
    See also
    Monitor configuration changes
    +
    +glfwSetMonitorCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWvidmode

    + +
    +
    + + + + +
    typedef struct GLFWvidmode GLFWvidmode
    +
    +

    This describes a single video mode.

    +
    See also
    Video modes
    +
    +glfwGetVideoMode
    +
    +glfwGetVideoModes
    +
    Since
    Added in version 1.0. GLFW 3: Added refresh rate member.
    + +
    +
    + +

    ◆ GLFWgammaramp

    + +
    +
    + + + + +
    typedef struct GLFWgammaramp GLFWgammaramp
    +
    +

    This describes the gamma ramp for a monitor.

    +
    See also
    Gamma ramp
    +
    +glfwGetGammaRamp
    +
    +glfwSetGammaRamp
    +
    Since
    Added in version 3.0.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwGetMonitors()

    + +
    +
    + + + + + + + + +
    GLFWmonitor** glfwGetMonitors (int * count)
    +
    +

    This function returns an array of handles for all currently connected monitors. The primary monitor is always first in the returned array. If no monitors were found, this function returns NULL.

    +
    Parameters
    + + +
    [out]countWhere to store the number of monitors in the returned array. This is set to zero if an error occurred.
    +
    +
    +
    Returns
    An array of monitor handles, or NULL if no monitors were found or if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is guaranteed to be valid only until the monitor configuration changes or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Retrieving monitors
    +
    +Monitor configuration changes
    +
    +glfwGetPrimaryMonitor
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetPrimaryMonitor()

    + +
    +
    + + + + + + + + +
    GLFWmonitor* glfwGetPrimaryMonitor (void )
    +
    +

    This function returns the primary monitor. This is usually the monitor where elements like the task bar or global menu bar are located.

    +
    Returns
    The primary monitor, or NULL if no monitors were found or if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    Remarks
    The primary monitor is always first in the array returned by glfwGetMonitors.
    +
    See also
    Retrieving monitors
    +
    +glfwGetMonitors
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetMonitorPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetMonitorPos (GLFWmonitormonitor,
    int * xpos,
    int * ypos 
    )
    +
    +

    This function returns the position, in screen coordinates, of the upper-left corner of the specified monitor.

    +

    Any or all of the position arguments may be NULL. If an error occurs, all non-NULL position arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]monitorThe monitor to query.
    [out]xposWhere to store the monitor x-coordinate, or NULL.
    [out]yposWhere to store the monitor y-coordinate, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Monitor properties
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetMonitorWorkarea()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetMonitorWorkarea (GLFWmonitormonitor,
    int * xpos,
    int * ypos,
    int * width,
    int * height 
    )
    +
    +

    This function returns the position, in screen coordinates, of the upper-left corner of the work area of the specified monitor along with the work area size in screen coordinates. The work area is defined as the area of the monitor not occluded by the operating system task bar where present. If no task bar exists then the work area is the monitor resolution in screen coordinates.

    +

    Any or all of the position and size arguments may be NULL. If an error occurs, all non-NULL position and size arguments will be set to zero.

    +
    Parameters
    + + + + + + +
    [in]monitorThe monitor to query.
    [out]xposWhere to store the monitor x-coordinate, or NULL.
    [out]yposWhere to store the monitor y-coordinate, or NULL.
    [out]widthWhere to store the monitor width, or NULL.
    [out]heightWhere to store the monitor height, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Work area
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetMonitorPhysicalSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetMonitorPhysicalSize (GLFWmonitormonitor,
    int * widthMM,
    int * heightMM 
    )
    +
    +

    This function returns the size, in millimetres, of the display area of the specified monitor.

    +

    Some systems do not provide accurate monitor size information, either because the monitor EDID data is incorrect or because the driver does not report it accurately.

    +

    Any or all of the size arguments may be NULL. If an error occurs, all non-NULL size arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]monitorThe monitor to query.
    [out]widthMMWhere to store the width, in millimetres, of the monitor's display area, or NULL.
    [out]heightMMWhere to store the height, in millimetres, of the monitor's display area, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Remarks
    Windows: calculates the returned physical size from the current resolution and system DPI instead of querying the monitor EDID data.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Monitor properties
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetMonitorContentScale()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetMonitorContentScale (GLFWmonitormonitor,
    float * xscale,
    float * yscale 
    )
    +
    +

    This function retrieves the content scale for the specified monitor. The content scale is the ratio between the current DPI and the platform's default DPI. This is especially important for text and any UI elements. If the pixel dimensions of your UI scaled by this look appropriate on your machine then it should appear at a reasonable size on other machines regardless of their DPI and scaling settings. This relies on the system DPI and scaling settings being somewhat correct.

    +

    The content scale may depend on both the monitor resolution and pixel density and on user settings. It may be very different from the raw DPI calculated from the physical size and current resolution.

    +
    Parameters
    + + + + +
    [in]monitorThe monitor to query.
    [out]xscaleWhere to store the x-axis content scale, or NULL.
    [out]yscaleWhere to store the y-axis content scale, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Content scale
    +
    +glfwGetWindowContentScale
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetMonitorName()

    + +
    +
    + + + + + + + + +
    const char* glfwGetMonitorName (GLFWmonitormonitor)
    +
    +

    This function returns a human-readable name, encoded as UTF-8, of the specified monitor. The name typically reflects the make and model of the monitor and is not guaranteed to be unique among the connected monitors.

    +
    Parameters
    + + +
    [in]monitorThe monitor to query.
    +
    +
    +
    Returns
    The UTF-8 encoded name of the monitor, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified monitor is disconnected or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Monitor properties
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetMonitorUserPointer()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetMonitorUserPointer (GLFWmonitormonitor,
    void * pointer 
    )
    +
    +

    This function sets the user-defined pointer of the specified monitor. The current value is retained until the monitor is disconnected. The initial value is NULL.

    +

    This function may be called from the monitor callback, even for a monitor that is being disconnected.

    +
    Parameters
    + + + +
    [in]monitorThe monitor whose pointer to set.
    [in]pointerThe new value.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    User pointer
    +
    +glfwGetMonitorUserPointer
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetMonitorUserPointer()

    + +
    +
    + + + + + + + + +
    void* glfwGetMonitorUserPointer (GLFWmonitormonitor)
    +
    +

    This function returns the current value of the user-defined pointer of the specified monitor. The initial value is NULL.

    +

    This function may be called from the monitor callback, even for a monitor that is being disconnected.

    +
    Parameters
    + + +
    [in]monitorThe monitor whose pointer to return.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    User pointer
    +
    +glfwSetMonitorUserPointer
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwSetMonitorCallback()

    + +
    +
    + + + + + + + + +
    GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun callback)
    +
    +

    This function sets the monitor configuration callback, or removes the currently set callback. This is called when a monitor is connected to or disconnected from the system.

    +
    Parameters
    + + +
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWmonitor* monitor, int event)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Monitor configuration changes
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetVideoModes()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const GLFWvidmode* glfwGetVideoModes (GLFWmonitormonitor,
    int * count 
    )
    +
    +

    This function returns an array of all video modes supported by the specified monitor. The returned array is sorted in ascending order, first by color bit depth (the sum of all channel depths) and then by resolution area (the product of width and height).

    +
    Parameters
    + + + +
    [in]monitorThe monitor to query.
    [out]countWhere to store the number of video modes in the returned array. This is set to zero if an error occurred.
    +
    +
    +
    Returns
    An array of video modes, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified monitor is disconnected, this function is called again for that monitor or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Video modes
    +
    +glfwGetVideoMode
    +
    Since
    Added in version 1.0. GLFW 3: Changed to return an array of modes for a specific monitor.
    + +
    +
    + +

    ◆ glfwGetVideoMode()

    + +
    +
    + + + + + + + + +
    const GLFWvidmode* glfwGetVideoMode (GLFWmonitormonitor)
    +
    +

    This function returns the current video mode of the specified monitor. If you have created a full screen window for that monitor, the return value will depend on whether that window is iconified.

    +
    Parameters
    + + +
    [in]monitorThe monitor to query.
    +
    +
    +
    Returns
    The current mode of the monitor, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified monitor is disconnected or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Video modes
    +
    +glfwGetVideoModes
    +
    Since
    Added in version 3.0. Replaces glfwGetDesktopMode.
    + +
    +
    + +

    ◆ glfwSetGamma()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetGamma (GLFWmonitormonitor,
    float gamma 
    )
    +
    +

    This function generates an appropriately sized gamma ramp from the specified exponent and then calls glfwSetGammaRamp with it. The value must be a finite number greater than zero.

    +

    The software controlled gamma ramp is applied in addition to the hardware gamma correction, which today is usually 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.

    +

    For gamma correct rendering with OpenGL or OpenGL ES, see the GLFW_SRGB_CAPABLE hint.

    +
    Parameters
    + + + +
    [in]monitorThe monitor whose gamma ramp to set.
    [in]gammaThe desired exponent.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_VALUE and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Wayland: Gamma handling is a privileged protocol, this function will thus never be implemented and emits GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamma ramp
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetGammaRamp()

    + +
    +
    + + + + + + + + +
    const GLFWgammaramp* glfwGetGammaRamp (GLFWmonitormonitor)
    +
    +

    This function returns the current gamma ramp of the specified monitor.

    +
    Parameters
    + + +
    [in]monitorThe monitor to query.
    +
    +
    +
    Returns
    The current gamma ramp, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Wayland: Gamma handling is a privileged protocol, this function will thus never be implemented and emits GLFW_PLATFORM_ERROR while returning NULL.
    +
    Pointer lifetime
    The returned structure and its arrays are allocated and freed by GLFW. You should not free them yourself. They are valid until the specified monitor is disconnected, this function is called again for that monitor or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamma ramp
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetGammaRamp()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetGammaRamp (GLFWmonitormonitor,
    const GLFWgammarampramp 
    )
    +
    +

    This function sets the current gamma ramp for the specified monitor. The original gamma ramp for that monitor is saved by GLFW the first time this function is called and is restored by glfwTerminate.

    +

    The software controlled gamma ramp is applied in addition to the hardware gamma correction, which today is usually 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.

    +

    For gamma correct rendering with OpenGL or OpenGL ES, see the GLFW_SRGB_CAPABLE hint.

    +
    Parameters
    + + + +
    [in]monitorThe monitor whose gamma ramp to set.
    [in]rampThe gamma ramp to use.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    The size of the specified gamma ramp should match the size of the current ramp for that monitor.
    +
    +Windows: The gamma ramp size must be 256.
    +
    +Wayland: Gamma handling is a privileged protocol, this function will thus never be implemented and emits GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The specified gamma ramp is copied before this function returns.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamma ramp
    +
    Since
    Added in version 3.0.
    + +
    +
    +
    +
    struct GLFWmonitor GLFWmonitor
    Opaque monitor object.
    Definition: glfw3.h:1165
    + + + diff --git a/docs/3.3/group__native.html b/docs/3.3/group__native.html new file mode 100644 index 0000000..ee526d5 --- /dev/null +++ b/docs/3.3/group__native.html @@ -0,0 +1,771 @@ + + + + + + + +GLFW: Native access + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Native access
    +
    +
    +

    Description

    +

    By using the native access functions you assert that you know what you're doing and how to fix problems caused by using them. If you don't, you shouldn't be using them.

    +

    Before the inclusion of glfw3native.h, you may define zero or more window system API macro and zero or more context creation API macros.

    +

    The chosen backends must match those the library was compiled for. Failure to do this will cause a link-time error.

    +

    The available window API macros are:

      +
    • GLFW_EXPOSE_NATIVE_WIN32
    • +
    • GLFW_EXPOSE_NATIVE_COCOA
    • +
    • GLFW_EXPOSE_NATIVE_X11
    • +
    • GLFW_EXPOSE_NATIVE_WAYLAND
    • +
    +

    The available context API macros are:

      +
    • GLFW_EXPOSE_NATIVE_WGL
    • +
    • GLFW_EXPOSE_NATIVE_NSGL
    • +
    • GLFW_EXPOSE_NATIVE_GLX
    • +
    • GLFW_EXPOSE_NATIVE_EGL
    • +
    • GLFW_EXPOSE_NATIVE_OSMESA
    • +
    +

    These macros select which of the native access functions that are declared and which platform-specific headers to include. It is then up your (by definition platform-specific) code to handle which of these should be defined.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    const char * glfwGetWin32Adapter (GLFWmonitor *monitor)
     Returns the adapter device name of the specified monitor. More...
     
    const char * glfwGetWin32Monitor (GLFWmonitor *monitor)
     Returns the display device name of the specified monitor. More...
     
    HWND glfwGetWin32Window (GLFWwindow *window)
     Returns the HWND of the specified window. More...
     
    HGLRC glfwGetWGLContext (GLFWwindow *window)
     Returns the HGLRC of the specified window. More...
     
    CGDirectDisplayID glfwGetCocoaMonitor (GLFWmonitor *monitor)
     Returns the CGDirectDisplayID of the specified monitor. More...
     
    id glfwGetCocoaWindow (GLFWwindow *window)
     Returns the NSWindow of the specified window. More...
     
    id glfwGetNSGLContext (GLFWwindow *window)
     Returns the NSOpenGLContext of the specified window. More...
     
    Display * glfwGetX11Display (void)
     Returns the Display used by GLFW. More...
     
    RRCrtc glfwGetX11Adapter (GLFWmonitor *monitor)
     Returns the RRCrtc of the specified monitor. More...
     
    RROutput glfwGetX11Monitor (GLFWmonitor *monitor)
     Returns the RROutput of the specified monitor. More...
     
    Window glfwGetX11Window (GLFWwindow *window)
     Returns the Window of the specified window. More...
     
    void glfwSetX11SelectionString (const char *string)
     Sets the current primary selection to the specified string. More...
     
    const char * glfwGetX11SelectionString (void)
     Returns the contents of the current primary selection as a string. More...
     
    GLXContext glfwGetGLXContext (GLFWwindow *window)
     Returns the GLXContext of the specified window. More...
     
    GLXWindow glfwGetGLXWindow (GLFWwindow *window)
     Returns the GLXWindow of the specified window. More...
     
    struct wl_display * glfwGetWaylandDisplay (void)
     Returns the struct wl_display* used by GLFW. More...
     
    struct wl_output * glfwGetWaylandMonitor (GLFWmonitor *monitor)
     Returns the struct wl_output* of the specified monitor. More...
     
    struct wl_surface * glfwGetWaylandWindow (GLFWwindow *window)
     Returns the main struct wl_surface* of the specified window. More...
     
    EGLDisplay glfwGetEGLDisplay (void)
     Returns the EGLDisplay used by GLFW. More...
     
    EGLContext glfwGetEGLContext (GLFWwindow *window)
     Returns the EGLContext of the specified window. More...
     
    EGLSurface glfwGetEGLSurface (GLFWwindow *window)
     Returns the EGLSurface of the specified window. More...
     
    int glfwGetOSMesaColorBuffer (GLFWwindow *window, int *width, int *height, int *format, void **buffer)
     Retrieves the color buffer associated with the specified window. More...
     
    int glfwGetOSMesaDepthBuffer (GLFWwindow *window, int *width, int *height, int *bytesPerValue, void **buffer)
     Retrieves the depth buffer associated with the specified window. More...
     
    OSMesaContext glfwGetOSMesaContext (GLFWwindow *window)
     Returns the OSMesaContext of the specified window. More...
     
    +

    Function Documentation

    + +

    ◆ glfwGetWin32Adapter()

    + +
    +
    + + + + + + + + +
    const char* glfwGetWin32Adapter (GLFWmonitormonitor)
    +
    +
    Returns
    The UTF-8 encoded adapter device name (for example \\.\DISPLAY1) of the specified monitor, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetWin32Monitor()

    + +
    +
    + + + + + + + + +
    const char* glfwGetWin32Monitor (GLFWmonitormonitor)
    +
    +
    Returns
    The UTF-8 encoded display device name (for example \\.\DISPLAY1\Monitor0) of the specified monitor, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetWin32Window()

    + +
    +
    + + + + + + + + +
    HWND glfwGetWin32Window (GLFWwindowwindow)
    +
    +
    Returns
    The HWND of the specified window, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetWGLContext()

    + +
    +
    + + + + + + + + +
    HGLRC glfwGetWGLContext (GLFWwindowwindow)
    +
    +
    Returns
    The HGLRC of the specified window, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetCocoaMonitor()

    + +
    +
    + + + + + + + + +
    CGDirectDisplayID glfwGetCocoaMonitor (GLFWmonitormonitor)
    +
    +
    Returns
    The CGDirectDisplayID of the specified monitor, or kCGNullDirectDisplay if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetCocoaWindow()

    + +
    +
    + + + + + + + + +
    id glfwGetCocoaWindow (GLFWwindowwindow)
    +
    +
    Returns
    The NSWindow of the specified window, or nil if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetNSGLContext()

    + +
    +
    + + + + + + + + +
    id glfwGetNSGLContext (GLFWwindowwindow)
    +
    +
    Returns
    The NSOpenGLContext of the specified window, or nil if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetX11Display()

    + +
    +
    + + + + + + + + +
    Display* glfwGetX11Display (void )
    +
    +
    Returns
    The Display used by GLFW, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetX11Adapter()

    + +
    +
    + + + + + + + + +
    RRCrtc glfwGetX11Adapter (GLFWmonitormonitor)
    +
    +
    Returns
    The RRCrtc of the specified monitor, or None if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetX11Monitor()

    + +
    +
    + + + + + + + + +
    RROutput glfwGetX11Monitor (GLFWmonitormonitor)
    +
    +
    Returns
    The RROutput of the specified monitor, or None if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetX11Window()

    + +
    +
    + + + + + + + + +
    Window glfwGetX11Window (GLFWwindowwindow)
    +
    +
    Returns
    The Window of the specified window, or None if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetX11SelectionString()

    + +
    +
    + + + + + + + + +
    void glfwSetX11SelectionString (const char * string)
    +
    +
    Parameters
    + + +
    [in]stringA UTF-8 encoded string.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The specified string is copied before this function returns.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Clipboard input and output
    +
    +glfwGetX11SelectionString
    +
    +glfwSetClipboardString
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetX11SelectionString()

    + +
    +
    + + + + + + + + +
    const char* glfwGetX11SelectionString (void )
    +
    +

    If the selection is empty or if its contents cannot be converted, NULL is returned and a GLFW_FORMAT_UNAVAILABLE error is generated.

    +
    Returns
    The contents of the selection as a UTF-8 encoded string, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the next call to glfwGetX11SelectionString or glfwSetX11SelectionString, or until the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Clipboard input and output
    +
    +glfwSetX11SelectionString
    +
    +glfwGetClipboardString
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetGLXContext()

    + +
    +
    + + + + + + + + +
    GLXContext glfwGetGLXContext (GLFWwindowwindow)
    +
    +
    Returns
    The GLXContext of the specified window, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetGLXWindow()

    + +
    +
    + + + + + + + + +
    GLXWindow glfwGetGLXWindow (GLFWwindowwindow)
    +
    +
    Returns
    The GLXWindow of the specified window, or None if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetWaylandDisplay()

    + +
    +
    + + + + + + + + +
    struct wl_display* glfwGetWaylandDisplay (void )
    +
    +
    Returns
    The struct wl_display* used by GLFW, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetWaylandMonitor()

    + +
    +
    + + + + + + + + +
    struct wl_output* glfwGetWaylandMonitor (GLFWmonitormonitor)
    +
    +
    Returns
    The struct wl_output* of the specified monitor, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetWaylandWindow()

    + +
    +
    + + + + + + + + +
    struct wl_surface* glfwGetWaylandWindow (GLFWwindowwindow)
    +
    +
    Returns
    The main struct wl_surface* of the specified window, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetEGLDisplay()

    + +
    +
    + + + + + + + + +
    EGLDisplay glfwGetEGLDisplay (void )
    +
    +
    Returns
    The EGLDisplay used by GLFW, or EGL_NO_DISPLAY if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetEGLContext()

    + +
    +
    + + + + + + + + +
    EGLContext glfwGetEGLContext (GLFWwindowwindow)
    +
    +
    Returns
    The EGLContext of the specified window, or EGL_NO_CONTEXT if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetEGLSurface()

    + +
    +
    + + + + + + + + +
    EGLSurface glfwGetEGLSurface (GLFWwindowwindow)
    +
    +
    Returns
    The EGLSurface of the specified window, or EGL_NO_SURFACE if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetOSMesaColorBuffer()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    int glfwGetOSMesaColorBuffer (GLFWwindowwindow,
    int * width,
    int * height,
    int * format,
    void ** buffer 
    )
    +
    +
    Parameters
    + + + + + + +
    [in]windowThe window whose color buffer to retrieve.
    [out]widthWhere to store the width of the color buffer, or NULL.
    [out]heightWhere to store the height of the color buffer, or NULL.
    [out]formatWhere to store the OSMesa pixel format of the color buffer, or NULL.
    [out]bufferWhere to store the address of the color buffer, or NULL.
    +
    +
    +
    Returns
    GLFW_TRUE if successful, or GLFW_FALSE if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetOSMesaDepthBuffer()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    int glfwGetOSMesaDepthBuffer (GLFWwindowwindow,
    int * width,
    int * height,
    int * bytesPerValue,
    void ** buffer 
    )
    +
    +
    Parameters
    + + + + + + +
    [in]windowThe window whose depth buffer to retrieve.
    [out]widthWhere to store the width of the depth buffer, or NULL.
    [out]heightWhere to store the height of the depth buffer, or NULL.
    [out]bytesPerValueWhere to store the number of bytes per depth buffer element, or NULL.
    [out]bufferWhere to store the address of the depth buffer, or NULL.
    +
    +
    +
    Returns
    GLFW_TRUE if successful, or GLFW_FALSE if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetOSMesaContext()

    + +
    +
    + + + + + + + + +
    OSMesaContext glfwGetOSMesaContext (GLFWwindowwindow)
    +
    +
    Returns
    The OSMesaContext of the specified window, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.3.
    + +
    +
    +
    + + + diff --git a/docs/3.3/group__shapes.html b/docs/3.3/group__shapes.html new file mode 100644 index 0000000..0f68ef6 --- /dev/null +++ b/docs/3.3/group__shapes.html @@ -0,0 +1,191 @@ + + + + + + + +GLFW: Standard cursor shapes + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Standard cursor shapes
    +
    +
    +

    Description

    +

    See standard cursor creation for how these are used.

    + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_ARROW_CURSOR   0x00036001
     The regular arrow cursor shape. More...
     
    #define GLFW_IBEAM_CURSOR   0x00036002
     The text input I-beam cursor shape. More...
     
    #define GLFW_CROSSHAIR_CURSOR   0x00036003
     The crosshair shape. More...
     
    #define GLFW_HAND_CURSOR   0x00036004
     The hand shape. More...
     
    #define GLFW_HRESIZE_CURSOR   0x00036005
     The horizontal resize arrow shape. More...
     
    #define GLFW_VRESIZE_CURSOR   0x00036006
     The vertical resize arrow shape. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_ARROW_CURSOR

    + +
    +
    + + + + +
    #define GLFW_ARROW_CURSOR   0x00036001
    +
    +

    The regular arrow cursor.

    + +
    +
    + +

    ◆ GLFW_IBEAM_CURSOR

    + +
    +
    + + + + +
    #define GLFW_IBEAM_CURSOR   0x00036002
    +
    +

    The text input I-beam cursor shape.

    + +
    +
    + +

    ◆ GLFW_CROSSHAIR_CURSOR

    + +
    +
    + + + + +
    #define GLFW_CROSSHAIR_CURSOR   0x00036003
    +
    +

    The crosshair shape.

    + +
    +
    + +

    ◆ GLFW_HAND_CURSOR

    + +
    +
    + + + + +
    #define GLFW_HAND_CURSOR   0x00036004
    +
    +

    The hand shape.

    + +
    +
    + +

    ◆ GLFW_HRESIZE_CURSOR

    + +
    +
    + + + + +
    #define GLFW_HRESIZE_CURSOR   0x00036005
    +
    +

    The horizontal resize arrow shape.

    + +
    +
    + +

    ◆ GLFW_VRESIZE_CURSOR

    + +
    +
    + + + + +
    #define GLFW_VRESIZE_CURSOR   0x00036006
    +
    +

    The vertical resize arrow shape.

    + +
    +
    +
    + + + diff --git a/docs/3.3/group__vulkan.html b/docs/3.3/group__vulkan.html new file mode 100644 index 0000000..3d50e1a --- /dev/null +++ b/docs/3.3/group__vulkan.html @@ -0,0 +1,354 @@ + + + + + + + +GLFW: Vulkan support reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Vulkan support reference
    +
    +
    +

    Description

    +

    This is the reference documentation for Vulkan related functions and types. For more task-oriented information, see the Vulkan guide.

    + + + + + +

    +Typedefs

    typedef void(* GLFWvkproc) (void)
     Vulkan API function pointer type. More...
     
    + + + + + + + + + + + + + + + + +

    +Functions

    int glfwVulkanSupported (void)
     Returns whether the Vulkan loader and an ICD have been found. More...
     
    const char ** glfwGetRequiredInstanceExtensions (uint32_t *count)
     Returns the Vulkan instance extensions required by GLFW. More...
     
    GLFWvkproc glfwGetInstanceProcAddress (VkInstance instance, const char *procname)
     Returns the address of the specified Vulkan instance function. More...
     
    int glfwGetPhysicalDevicePresentationSupport (VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily)
     Returns whether the specified queue family can present images. More...
     
    VkResult glfwCreateWindowSurface (VkInstance instance, GLFWwindow *window, const VkAllocationCallbacks *allocator, VkSurfaceKHR *surface)
     Creates a Vulkan surface for the specified window. More...
     
    +

    Typedef Documentation

    + +

    ◆ GLFWvkproc

    + +
    +
    + + + + +
    typedef void(* GLFWvkproc) (void)
    +
    +

    Generic function pointer used for returning Vulkan API function pointers without forcing a cast from a regular pointer.

    +
    See also
    Querying Vulkan function pointers
    +
    +glfwGetInstanceProcAddress
    +
    Since
    Added in version 3.2.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwVulkanSupported()

    + +
    +
    + + + + + + + + +
    int glfwVulkanSupported (void )
    +
    +

    This function returns whether the Vulkan loader and any minimally functional ICD have been found.

    +

    The availability of a Vulkan loader and even an ICD does not by itself guarantee that surface creation or even instance creation is possible. For example, on Fermi systems Nvidia will install an ICD that provides no actual Vulkan support. Call glfwGetRequiredInstanceExtensions to check whether the extensions necessary for Vulkan surface creation are available and glfwGetPhysicalDevicePresentationSupport to check whether a queue family of a physical device supports image presentation.

    +
    Returns
    GLFW_TRUE if Vulkan is minimally available, or GLFW_FALSE otherwise.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Querying for Vulkan support
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetRequiredInstanceExtensions()

    + +
    +
    + + + + + + + + +
    const char** glfwGetRequiredInstanceExtensions (uint32_t * count)
    +
    +

    This function returns an array of names of Vulkan instance extensions required by GLFW for creating Vulkan surfaces for GLFW windows. If successful, the list will always contain VK_KHR_surface, so if you don't require any additional extensions you can pass this list directly to the VkInstanceCreateInfo struct.

    +

    If Vulkan is not available on the machine, this function returns NULL and generates a GLFW_API_UNAVAILABLE error. Call glfwVulkanSupported to check whether Vulkan is at least minimally available.

    +

    If Vulkan is available but no set of extensions allowing window surface creation was found, this function returns NULL. You may still use Vulkan for off-screen rendering and compute work.

    +
    Parameters
    + + +
    [out]countWhere to store the number of extensions in the returned array. This is set to zero if an error occurred.
    +
    +
    +
    Returns
    An array of ASCII encoded extension names, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_API_UNAVAILABLE.
    +
    Remarks
    Additional extensions may be required by future versions of GLFW. You should check if any extensions you wish to enable are already in the returned array, as it is an error to specify an extension more than once in the VkInstanceCreateInfo struct.
    +
    +macOS: This function currently supports either the VK_MVK_macos_surface extension from MoltenVK or VK_EXT_metal_surface extension.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is guaranteed to be valid only until the library is terminated.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Querying required Vulkan extensions
    +
    +glfwCreateWindowSurface
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetInstanceProcAddress()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWvkproc glfwGetInstanceProcAddress (VkInstance instance,
    const char * procname 
    )
    +
    +

    This function returns the address of the specified Vulkan core or extension function for the specified instance. If instance is set to NULL it can return any function exported from the Vulkan loader, including at least the following functions:

    +
      +
    • vkEnumerateInstanceExtensionProperties
    • +
    • vkEnumerateInstanceLayerProperties
    • +
    • vkCreateInstance
    • +
    • vkGetInstanceProcAddr
    • +
    +

    If Vulkan is not available on the machine, this function returns NULL and generates a GLFW_API_UNAVAILABLE error. Call glfwVulkanSupported to check whether Vulkan is at least minimally available.

    +

    This function is equivalent to calling vkGetInstanceProcAddr with a platform-specific query of the Vulkan loader as a fallback.

    +
    Parameters
    + + + +
    [in]instanceThe Vulkan instance to query, or NULL to retrieve functions related to instance creation.
    [in]procnameThe ASCII encoded name of the function.
    +
    +
    +
    Returns
    The address of the function, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_API_UNAVAILABLE.
    +
    Pointer lifetime
    The returned function pointer is valid until the library is terminated.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Querying Vulkan function pointers
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetPhysicalDevicePresentationSupport()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    int glfwGetPhysicalDevicePresentationSupport (VkInstance instance,
    VkPhysicalDevice device,
    uint32_t queuefamily 
    )
    +
    +

    This function returns whether the specified queue family of the specified physical device supports presentation to the platform GLFW was built for.

    +

    If Vulkan or the required window surface creation instance extensions are not available on the machine, or if the specified instance was not created with the required extensions, this function returns GLFW_FALSE and generates a GLFW_API_UNAVAILABLE error. Call glfwVulkanSupported to check whether Vulkan is at least minimally available and glfwGetRequiredInstanceExtensions to check what instance extensions are required.

    +
    Parameters
    + + + + +
    [in]instanceThe instance that the physical device belongs to.
    [in]deviceThe physical device that the queue family belongs to.
    [in]queuefamilyThe index of the queue family to query.
    +
    +
    +
    Returns
    GLFW_TRUE if the queue family supports presentation, or GLFW_FALSE otherwise.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_API_UNAVAILABLE and GLFW_PLATFORM_ERROR.
    +
    Remarks
    macOS: This function currently always returns GLFW_TRUE, as the VK_MVK_macos_surface extension does not provide a vkGetPhysicalDevice*PresentationSupport type function.
    +
    Thread safety
    This function may be called from any thread. For synchronization details of Vulkan objects, see the Vulkan specification.
    +
    See also
    Querying for Vulkan presentation support
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwCreateWindowSurface()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    VkResult glfwCreateWindowSurface (VkInstance instance,
    GLFWwindowwindow,
    const VkAllocationCallbacks * allocator,
    VkSurfaceKHR * surface 
    )
    +
    +

    This function creates a Vulkan surface for the specified window.

    +

    If the Vulkan loader or at least one minimally functional ICD were not found, this function returns VK_ERROR_INITIALIZATION_FAILED and generates a GLFW_API_UNAVAILABLE error. Call glfwVulkanSupported to check whether Vulkan is at least minimally available.

    +

    If the required window surface creation instance extensions are not available or if the specified instance was not created with these extensions enabled, this function returns VK_ERROR_EXTENSION_NOT_PRESENT and generates a GLFW_API_UNAVAILABLE error. Call glfwGetRequiredInstanceExtensions to check what instance extensions are required.

    +

    The window surface cannot be shared with another API so the window must have been created with the client api hint set to GLFW_NO_API otherwise it generates a GLFW_INVALID_VALUE error and returns VK_ERROR_NATIVE_WINDOW_IN_USE_KHR.

    +

    The window surface must be destroyed before the specified Vulkan instance. It is the responsibility of the caller to destroy the window surface. GLFW does not destroy it for you. Call vkDestroySurfaceKHR to destroy the surface.

    +
    Parameters
    + + + + + +
    [in]instanceThe Vulkan instance to create the surface in.
    [in]windowThe window to create the surface for.
    [in]allocatorThe allocator to use, or NULL to use the default allocator.
    [out]surfaceWhere to store the handle of the surface. This is set to VK_NULL_HANDLE if an error occurred.
    +
    +
    +
    Returns
    VK_SUCCESS if successful, or a Vulkan error code if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_API_UNAVAILABLE, GLFW_PLATFORM_ERROR and GLFW_INVALID_VALUE
    +
    Remarks
    If an error occurs before the creation call is made, GLFW returns the Vulkan error code most appropriate for the error. Appropriate use of glfwVulkanSupported and glfwGetRequiredInstanceExtensions should eliminate almost all occurrences of these errors.
    +
    +macOS: This function currently only supports the VK_MVK_macos_surface extension from MoltenVK.
    +
    +macOS: This function creates and sets a CAMetalLayer instance for the window content view, which is required for MoltenVK to function.
    +
    Thread safety
    This function may be called from any thread. For synchronization details of Vulkan objects, see the Vulkan specification.
    +
    See also
    Creating a Vulkan window surface
    +
    +glfwGetRequiredInstanceExtensions
    +
    Since
    Added in version 3.2.
    + +
    +
    +
    + + + diff --git a/docs/3.3/group__window.html b/docs/3.3/group__window.html new file mode 100644 index 0000000..5e29d62 --- /dev/null +++ b/docs/3.3/group__window.html @@ -0,0 +1,3425 @@ + + + + + + + +GLFW: Window reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Window reference
    +
    +
    +

    Description

    +

    This is the reference documentation for window related functions and types, including creation, deletion and event polling. For more task-oriented information, see the Window guide.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_FOCUSED   0x00020001
     Input focus window hint and attribute. More...
     
    #define GLFW_ICONIFIED   0x00020002
     Window iconification window attribute. More...
     
    #define GLFW_RESIZABLE   0x00020003
     Window resize-ability window hint and attribute. More...
     
    #define GLFW_VISIBLE   0x00020004
     Window visibility window hint and attribute. More...
     
    #define GLFW_DECORATED   0x00020005
     Window decoration window hint and attribute. More...
     
    #define GLFW_AUTO_ICONIFY   0x00020006
     Window auto-iconification window hint and attribute. More...
     
    #define GLFW_FLOATING   0x00020007
     Window decoration window hint and attribute. More...
     
    #define GLFW_MAXIMIZED   0x00020008
     Window maximization window hint and attribute. More...
     
    #define GLFW_CENTER_CURSOR   0x00020009
     Cursor centering window hint. More...
     
    #define GLFW_TRANSPARENT_FRAMEBUFFER   0x0002000A
     Window framebuffer transparency hint and attribute. More...
     
    #define GLFW_HOVERED   0x0002000B
     Mouse cursor hover window attribute. More...
     
    #define GLFW_FOCUS_ON_SHOW   0x0002000C
     Input focus on calling show window hint and attribute. More...
     
    #define GLFW_RED_BITS   0x00021001
     Framebuffer bit depth hint. More...
     
    #define GLFW_GREEN_BITS   0x00021002
     Framebuffer bit depth hint. More...
     
    #define GLFW_BLUE_BITS   0x00021003
     Framebuffer bit depth hint. More...
     
    #define GLFW_ALPHA_BITS   0x00021004
     Framebuffer bit depth hint. More...
     
    #define GLFW_DEPTH_BITS   0x00021005
     Framebuffer bit depth hint. More...
     
    #define GLFW_STENCIL_BITS   0x00021006
     Framebuffer bit depth hint. More...
     
    #define GLFW_ACCUM_RED_BITS   0x00021007
     Framebuffer bit depth hint. More...
     
    #define GLFW_ACCUM_GREEN_BITS   0x00021008
     Framebuffer bit depth hint. More...
     
    #define GLFW_ACCUM_BLUE_BITS   0x00021009
     Framebuffer bit depth hint. More...
     
    #define GLFW_ACCUM_ALPHA_BITS   0x0002100A
     Framebuffer bit depth hint. More...
     
    #define GLFW_AUX_BUFFERS   0x0002100B
     Framebuffer auxiliary buffer hint. More...
     
    #define GLFW_STEREO   0x0002100C
     OpenGL stereoscopic rendering hint. More...
     
    #define GLFW_SAMPLES   0x0002100D
     Framebuffer MSAA samples hint. More...
     
    #define GLFW_SRGB_CAPABLE   0x0002100E
     Framebuffer sRGB hint. More...
     
    #define GLFW_REFRESH_RATE   0x0002100F
     Monitor refresh rate hint. More...
     
    #define GLFW_DOUBLEBUFFER   0x00021010
     Framebuffer double buffering hint. More...
     
    #define GLFW_CLIENT_API   0x00022001
     Context client API hint and attribute. More...
     
    #define GLFW_CONTEXT_VERSION_MAJOR   0x00022002
     Context client API major version hint and attribute. More...
     
    #define GLFW_CONTEXT_VERSION_MINOR   0x00022003
     Context client API minor version hint and attribute. More...
     
    #define GLFW_CONTEXT_REVISION   0x00022004
     Context client API revision number hint and attribute. More...
     
    #define GLFW_CONTEXT_ROBUSTNESS   0x00022005
     Context robustness hint and attribute. More...
     
    #define GLFW_OPENGL_FORWARD_COMPAT   0x00022006
     OpenGL forward-compatibility hint and attribute. More...
     
    #define GLFW_OPENGL_DEBUG_CONTEXT   0x00022007
     Debug mode context hint and attribute. More...
     
    #define GLFW_OPENGL_PROFILE   0x00022008
     OpenGL profile hint and attribute. More...
     
    #define GLFW_CONTEXT_RELEASE_BEHAVIOR   0x00022009
     Context flush-on-release hint and attribute. More...
     
    #define GLFW_CONTEXT_NO_ERROR   0x0002200A
     Context error suppression hint and attribute. More...
     
    #define GLFW_CONTEXT_CREATION_API   0x0002200B
     Context creation API hint and attribute. More...
     
    #define GLFW_SCALE_TO_MONITOR   0x0002200C
     Window content area scaling window window hint. More...
     
    #define GLFW_COCOA_RETINA_FRAMEBUFFER   0x00023001
     macOS specific window hint. More...
     
    #define GLFW_COCOA_FRAME_NAME   0x00023002
     macOS specific window hint. More...
     
    #define GLFW_COCOA_GRAPHICS_SWITCHING   0x00023003
     macOS specific window hint. More...
     
    #define GLFW_X11_CLASS_NAME   0x00024001
     X11 specific window hint. More...
     
    #define GLFW_X11_INSTANCE_NAME   0x00024002
     X11 specific window hint. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Typedefs

    typedef struct GLFWwindow GLFWwindow
     Opaque window object. More...
     
    typedef void(* GLFWwindowposfun) (GLFWwindow *, int, int)
     The function pointer type for window position callbacks. More...
     
    typedef void(* GLFWwindowsizefun) (GLFWwindow *, int, int)
     The function pointer type for window size callbacks. More...
     
    typedef void(* GLFWwindowclosefun) (GLFWwindow *)
     The function pointer type for window close callbacks. More...
     
    typedef void(* GLFWwindowrefreshfun) (GLFWwindow *)
     The function pointer type for window content refresh callbacks. More...
     
    typedef void(* GLFWwindowfocusfun) (GLFWwindow *, int)
     The function pointer type for window focus callbacks. More...
     
    typedef void(* GLFWwindowiconifyfun) (GLFWwindow *, int)
     The function pointer type for window iconify callbacks. More...
     
    typedef void(* GLFWwindowmaximizefun) (GLFWwindow *, int)
     The function pointer type for window maximize callbacks. More...
     
    typedef void(* GLFWframebuffersizefun) (GLFWwindow *, int, int)
     The function pointer type for framebuffer size callbacks. More...
     
    typedef void(* GLFWwindowcontentscalefun) (GLFWwindow *, float, float)
     The function pointer type for window content scale callbacks. More...
     
    typedef struct GLFWimage GLFWimage
     Image data. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    void glfwDefaultWindowHints (void)
     Resets all window hints to their default values. More...
     
    void glfwWindowHint (int hint, int value)
     Sets the specified window hint to the desired value. More...
     
    void glfwWindowHintString (int hint, const char *value)
     Sets the specified window hint to the desired value. More...
     
    GLFWwindowglfwCreateWindow (int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
     Creates a window and its associated context. More...
     
    void glfwDestroyWindow (GLFWwindow *window)
     Destroys the specified window and its context. More...
     
    int glfwWindowShouldClose (GLFWwindow *window)
     Checks the close flag of the specified window. More...
     
    void glfwSetWindowShouldClose (GLFWwindow *window, int value)
     Sets the close flag of the specified window. More...
     
    void glfwSetWindowTitle (GLFWwindow *window, const char *title)
     Sets the title of the specified window. More...
     
    void glfwSetWindowIcon (GLFWwindow *window, int count, const GLFWimage *images)
     Sets the icon for the specified window. More...
     
    void glfwGetWindowPos (GLFWwindow *window, int *xpos, int *ypos)
     Retrieves the position of the content area of the specified window. More...
     
    void glfwSetWindowPos (GLFWwindow *window, int xpos, int ypos)
     Sets the position of the content area of the specified window. More...
     
    void glfwGetWindowSize (GLFWwindow *window, int *width, int *height)
     Retrieves the size of the content area of the specified window. More...
     
    void glfwSetWindowSizeLimits (GLFWwindow *window, int minwidth, int minheight, int maxwidth, int maxheight)
     Sets the size limits of the specified window. More...
     
    void glfwSetWindowAspectRatio (GLFWwindow *window, int numer, int denom)
     Sets the aspect ratio of the specified window. More...
     
    void glfwSetWindowSize (GLFWwindow *window, int width, int height)
     Sets the size of the content area of the specified window. More...
     
    void glfwGetFramebufferSize (GLFWwindow *window, int *width, int *height)
     Retrieves the size of the framebuffer of the specified window. More...
     
    void glfwGetWindowFrameSize (GLFWwindow *window, int *left, int *top, int *right, int *bottom)
     Retrieves the size of the frame of the window. More...
     
    void glfwGetWindowContentScale (GLFWwindow *window, float *xscale, float *yscale)
     Retrieves the content scale for the specified window. More...
     
    float glfwGetWindowOpacity (GLFWwindow *window)
     Returns the opacity of the whole window. More...
     
    void glfwSetWindowOpacity (GLFWwindow *window, float opacity)
     Sets the opacity of the whole window. More...
     
    void glfwIconifyWindow (GLFWwindow *window)
     Iconifies the specified window. More...
     
    void glfwRestoreWindow (GLFWwindow *window)
     Restores the specified window. More...
     
    void glfwMaximizeWindow (GLFWwindow *window)
     Maximizes the specified window. More...
     
    void glfwShowWindow (GLFWwindow *window)
     Makes the specified window visible. More...
     
    void glfwHideWindow (GLFWwindow *window)
     Hides the specified window. More...
     
    void glfwFocusWindow (GLFWwindow *window)
     Brings the specified window to front and sets input focus. More...
     
    void glfwRequestWindowAttention (GLFWwindow *window)
     Requests user attention to the specified window. More...
     
    GLFWmonitorglfwGetWindowMonitor (GLFWwindow *window)
     Returns the monitor that the window uses for full screen mode. More...
     
    void glfwSetWindowMonitor (GLFWwindow *window, GLFWmonitor *monitor, int xpos, int ypos, int width, int height, int refreshRate)
     Sets the mode, monitor, video mode and placement of a window. More...
     
    int glfwGetWindowAttrib (GLFWwindow *window, int attrib)
     Returns an attribute of the specified window. More...
     
    void glfwSetWindowAttrib (GLFWwindow *window, int attrib, int value)
     Sets an attribute of the specified window. More...
     
    void glfwSetWindowUserPointer (GLFWwindow *window, void *pointer)
     Sets the user pointer of the specified window. More...
     
    void * glfwGetWindowUserPointer (GLFWwindow *window)
     Returns the user pointer of the specified window. More...
     
    GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindow *window, GLFWwindowposfun callback)
     Sets the position callback for the specified window. More...
     
    GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindow *window, GLFWwindowsizefun callback)
     Sets the size callback for the specified window. More...
     
    GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindow *window, GLFWwindowclosefun callback)
     Sets the close callback for the specified window. More...
     
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindow *window, GLFWwindowrefreshfun callback)
     Sets the refresh callback for the specified window. More...
     
    GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindow *window, GLFWwindowfocusfun callback)
     Sets the focus callback for the specified window. More...
     
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindow *window, GLFWwindowiconifyfun callback)
     Sets the iconify callback for the specified window. More...
     
    GLFWwindowmaximizefun glfwSetWindowMaximizeCallback (GLFWwindow *window, GLFWwindowmaximizefun callback)
     Sets the maximize callback for the specified window. More...
     
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindow *window, GLFWframebuffersizefun callback)
     Sets the framebuffer resize callback for the specified window. More...
     
    GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback (GLFWwindow *window, GLFWwindowcontentscalefun callback)
     Sets the window content scale callback for the specified window. More...
     
    void glfwPollEvents (void)
     Processes all pending events. More...
     
    void glfwWaitEvents (void)
     Waits until events are queued and processes them. More...
     
    void glfwWaitEventsTimeout (double timeout)
     Waits with timeout until events are queued and processes them. More...
     
    void glfwPostEmptyEvent (void)
     Posts an empty event to the event queue. More...
     
    void glfwSwapBuffers (GLFWwindow *window)
     Swaps the front and back buffers of the specified window. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_FOCUSED

    + +
    +
    + + + + +
    #define GLFW_FOCUSED   0x00020001
    +
    +

    Input focus window hint or window attribute.

    + +
    +
    + +

    ◆ GLFW_ICONIFIED

    + +
    +
    + + + + +
    #define GLFW_ICONIFIED   0x00020002
    +
    +

    Window iconification window attribute.

    + +
    +
    + +

    ◆ GLFW_RESIZABLE

    + +
    +
    + + + + +
    #define GLFW_RESIZABLE   0x00020003
    +
    +

    Window resize-ability window hint and window attribute.

    + +
    +
    + +

    ◆ GLFW_VISIBLE

    + +
    +
    + + + + +
    #define GLFW_VISIBLE   0x00020004
    +
    +

    Window visibility window hint and window attribute.

    + +
    +
    + +

    ◆ GLFW_DECORATED

    + +
    +
    + + + + +
    #define GLFW_DECORATED   0x00020005
    +
    +

    Window decoration window hint and window attribute.

    + +
    +
    + +

    ◆ GLFW_AUTO_ICONIFY

    + +
    +
    + + + + +
    #define GLFW_AUTO_ICONIFY   0x00020006
    +
    +

    Window auto-iconification window hint and window attribute.

    + +
    +
    + +

    ◆ GLFW_FLOATING

    + +
    +
    + + + + +
    #define GLFW_FLOATING   0x00020007
    +
    +

    Window decoration window hint and window attribute.

    + +
    +
    + +

    ◆ GLFW_MAXIMIZED

    + +
    +
    + + + + +
    #define GLFW_MAXIMIZED   0x00020008
    +
    +

    Window maximization window hint and window attribute.

    + +
    +
    + +

    ◆ GLFW_CENTER_CURSOR

    + +
    +
    + + + + +
    #define GLFW_CENTER_CURSOR   0x00020009
    +
    +

    Cursor centering window hint.

    + +
    +
    + +

    ◆ GLFW_TRANSPARENT_FRAMEBUFFER

    + +
    +
    + + + + +
    #define GLFW_TRANSPARENT_FRAMEBUFFER   0x0002000A
    +
    +

    Window framebuffer transparency window hint and window attribute.

    + +
    +
    + +

    ◆ GLFW_HOVERED

    + +
    +
    + + + + +
    #define GLFW_HOVERED   0x0002000B
    +
    +

    Mouse cursor hover window attribute.

    + +
    +
    + +

    ◆ GLFW_FOCUS_ON_SHOW

    + +
    +
    + + + + +
    #define GLFW_FOCUS_ON_SHOW   0x0002000C
    +
    +

    Input focus window hint or window attribute.

    + +
    +
    + +

    ◆ GLFW_RED_BITS

    + +
    +
    + + + + +
    #define GLFW_RED_BITS   0x00021001
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_GREEN_BITS

    + +
    +
    + + + + +
    #define GLFW_GREEN_BITS   0x00021002
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_BLUE_BITS

    + +
    +
    + + + + +
    #define GLFW_BLUE_BITS   0x00021003
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_ALPHA_BITS

    + +
    +
    + + + + +
    #define GLFW_ALPHA_BITS   0x00021004
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_DEPTH_BITS

    + +
    +
    + + + + +
    #define GLFW_DEPTH_BITS   0x00021005
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_STENCIL_BITS

    + +
    +
    + + + + +
    #define GLFW_STENCIL_BITS   0x00021006
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_ACCUM_RED_BITS

    + +
    +
    + + + + +
    #define GLFW_ACCUM_RED_BITS   0x00021007
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_ACCUM_GREEN_BITS

    + +
    +
    + + + + +
    #define GLFW_ACCUM_GREEN_BITS   0x00021008
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_ACCUM_BLUE_BITS

    + +
    +
    + + + + +
    #define GLFW_ACCUM_BLUE_BITS   0x00021009
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_ACCUM_ALPHA_BITS

    + +
    +
    + + + + +
    #define GLFW_ACCUM_ALPHA_BITS   0x0002100A
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_AUX_BUFFERS

    + +
    +
    + + + + +
    #define GLFW_AUX_BUFFERS   0x0002100B
    +
    +

    Framebuffer auxiliary buffer hint.

    + +
    +
    + +

    ◆ GLFW_STEREO

    + +
    +
    + + + + +
    #define GLFW_STEREO   0x0002100C
    +
    +

    OpenGL stereoscopic rendering hint.

    + +
    +
    + +

    ◆ GLFW_SAMPLES

    + +
    +
    + + + + +
    #define GLFW_SAMPLES   0x0002100D
    +
    +

    Framebuffer MSAA samples hint.

    + +
    +
    + +

    ◆ GLFW_SRGB_CAPABLE

    + +
    +
    + + + + +
    #define GLFW_SRGB_CAPABLE   0x0002100E
    +
    +

    Framebuffer sRGB hint.

    + +
    +
    + +

    ◆ GLFW_REFRESH_RATE

    + +
    +
    + + + + +
    #define GLFW_REFRESH_RATE   0x0002100F
    +
    +

    Monitor refresh rate hint.

    + +
    +
    + +

    ◆ GLFW_DOUBLEBUFFER

    + +
    +
    + + + + +
    #define GLFW_DOUBLEBUFFER   0x00021010
    +
    +

    Framebuffer double buffering hint.

    + +
    +
    + +

    ◆ GLFW_CLIENT_API

    + +
    +
    + + + + +
    #define GLFW_CLIENT_API   0x00022001
    +
    +

    Context client API hint and attribute.

    + +
    +
    + +

    ◆ GLFW_CONTEXT_VERSION_MAJOR

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_VERSION_MAJOR   0x00022002
    +
    +

    Context client API major version hint and attribute.

    + +
    +
    + +

    ◆ GLFW_CONTEXT_VERSION_MINOR

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_VERSION_MINOR   0x00022003
    +
    +

    Context client API minor version hint and attribute.

    + +
    +
    + +

    ◆ GLFW_CONTEXT_REVISION

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_REVISION   0x00022004
    +
    +

    Context client API revision number attribute.

    + +
    +
    + +

    ◆ GLFW_CONTEXT_ROBUSTNESS

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_ROBUSTNESS   0x00022005
    +
    +

    Context client API revision number hint and attribute.

    + +
    +
    + +

    ◆ GLFW_OPENGL_FORWARD_COMPAT

    + +
    +
    + + + + +
    #define GLFW_OPENGL_FORWARD_COMPAT   0x00022006
    +
    +

    OpenGL forward-compatibility hint and attribute.

    + +
    +
    + +

    ◆ GLFW_OPENGL_DEBUG_CONTEXT

    + +
    +
    + + + + +
    #define GLFW_OPENGL_DEBUG_CONTEXT   0x00022007
    +
    +

    Debug mode context hint and attribute.

    + +
    +
    + +

    ◆ GLFW_OPENGL_PROFILE

    + +
    +
    + + + + +
    #define GLFW_OPENGL_PROFILE   0x00022008
    +
    +

    OpenGL profile hint and attribute.

    + +
    +
    + +

    ◆ GLFW_CONTEXT_RELEASE_BEHAVIOR

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_RELEASE_BEHAVIOR   0x00022009
    +
    +

    Context flush-on-release hint and attribute.

    + +
    +
    + +

    ◆ GLFW_CONTEXT_NO_ERROR

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_NO_ERROR   0x0002200A
    +
    +

    Context error suppression hint and attribute.

    + +
    +
    + +

    ◆ GLFW_CONTEXT_CREATION_API

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_CREATION_API   0x0002200B
    +
    +

    Context creation API hint and attribute.

    + +
    +
    + +

    ◆ GLFW_SCALE_TO_MONITOR

    + +
    +
    + + + + +
    #define GLFW_SCALE_TO_MONITOR   0x0002200C
    +
    + +
    +
    + +

    ◆ GLFW_COCOA_RETINA_FRAMEBUFFER

    + +
    +
    + + + + +
    #define GLFW_COCOA_RETINA_FRAMEBUFFER   0x00023001
    +
    + +
    +
    + +

    ◆ GLFW_COCOA_FRAME_NAME

    + +
    +
    + + + + +
    #define GLFW_COCOA_FRAME_NAME   0x00023002
    +
    + +
    +
    + +

    ◆ GLFW_COCOA_GRAPHICS_SWITCHING

    + +
    +
    + + + + +
    #define GLFW_COCOA_GRAPHICS_SWITCHING   0x00023003
    +
    + +
    +
    + +

    ◆ GLFW_X11_CLASS_NAME

    + +
    +
    + + + + +
    #define GLFW_X11_CLASS_NAME   0x00024001
    +
    + +
    +
    + +

    ◆ GLFW_X11_INSTANCE_NAME

    + +
    +
    + + + + +
    #define GLFW_X11_INSTANCE_NAME   0x00024002
    +
    + +
    +
    +

    Typedef Documentation

    + +

    ◆ GLFWwindow

    + +
    +
    + + + + +
    typedef struct GLFWwindow GLFWwindow
    +
    +

    Opaque window object.

    +
    See also
    Window objects
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWwindowposfun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowposfun) (GLFWwindow *, int, int)
    +
    +

    This is the function pointer type for window position callbacks. A window position callback function has the following signature:

    void callback_name(GLFWwindow* window, int xpos, int ypos)
    +
    Parameters
    + + + + +
    [in]windowThe window that was moved.
    [in]xposThe new x-coordinate, in screen coordinates, of the upper-left corner of the content area of the window.
    [in]yposThe new y-coordinate, in screen coordinates, of the upper-left corner of the content area of the window.
    +
    +
    +
    See also
    Window position
    +
    +glfwSetWindowPosCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWwindowsizefun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowsizefun) (GLFWwindow *, int, int)
    +
    +

    This is the function pointer type for window size callbacks. A window size callback function has the following signature:

    void callback_name(GLFWwindow* window, int width, int height)
    +
    Parameters
    + + + + +
    [in]windowThe window that was resized.
    [in]widthThe new width, in screen coordinates, of the window.
    [in]heightThe new height, in screen coordinates, of the window.
    +
    +
    +
    See also
    Window size
    +
    +glfwSetWindowSizeCallback
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ GLFWwindowclosefun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowclosefun) (GLFWwindow *)
    +
    +

    This is the function pointer type for window close callbacks. A window close callback function has the following signature:

    void function_name(GLFWwindow* window)
    +
    Parameters
    + + +
    [in]windowThe window that the user attempted to close.
    +
    +
    +
    See also
    Window closing and close flag
    +
    +glfwSetWindowCloseCallback
    +
    Since
    Added in version 2.5. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ GLFWwindowrefreshfun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowrefreshfun) (GLFWwindow *)
    +
    +

    This is the function pointer type for window content refresh callbacks. A window content refresh callback function has the following signature:

    void function_name(GLFWwindow* window);
    +
    Parameters
    + + +
    [in]windowThe window whose content needs to be refreshed.
    +
    +
    +
    See also
    Window damage and refresh
    +
    +glfwSetWindowRefreshCallback
    +
    Since
    Added in version 2.5. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ GLFWwindowfocusfun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowfocusfun) (GLFWwindow *, int)
    +
    +

    This is the function pointer type for window focus callbacks. A window focus callback function has the following signature:

    void function_name(GLFWwindow* window, int focused)
    +
    Parameters
    + + + +
    [in]windowThe window that gained or lost input focus.
    [in]focusedGLFW_TRUE if the window was given input focus, or GLFW_FALSE if it lost it.
    +
    +
    +
    See also
    Window input focus
    +
    +glfwSetWindowFocusCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWwindowiconifyfun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowiconifyfun) (GLFWwindow *, int)
    +
    +

    This is the function pointer type for window iconify callbacks. A window iconify callback function has the following signature:

    void function_name(GLFWwindow* window, int iconified)
    +
    Parameters
    + + + +
    [in]windowThe window that was iconified or restored.
    [in]iconifiedGLFW_TRUE if the window was iconified, or GLFW_FALSE if it was restored.
    +
    +
    +
    See also
    Window iconification
    +
    +glfwSetWindowIconifyCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWwindowmaximizefun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowmaximizefun) (GLFWwindow *, int)
    +
    +

    This is the function pointer type for window maximize callbacks. A window maximize callback function has the following signature:

    void function_name(GLFWwindow* window, int maximized)
    +
    Parameters
    + + + +
    [in]windowThe window that was maximized or restored.
    [in]maximizedGLFW_TRUE if the window was maximized, or GLFW_FALSE if it was restored.
    +
    +
    +
    See also
    Window maximization
    +
    +glfwSetWindowMaximizeCallback
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ GLFWframebuffersizefun

    + +
    +
    + + + + +
    typedef void(* GLFWframebuffersizefun) (GLFWwindow *, int, int)
    +
    +

    This is the function pointer type for framebuffer size callbacks. A framebuffer size callback function has the following signature:

    void function_name(GLFWwindow* window, int width, int height)
    +
    Parameters
    + + + + +
    [in]windowThe window whose framebuffer was resized.
    [in]widthThe new width, in pixels, of the framebuffer.
    [in]heightThe new height, in pixels, of the framebuffer.
    +
    +
    +
    See also
    Framebuffer size
    +
    +glfwSetFramebufferSizeCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWwindowcontentscalefun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowcontentscalefun) (GLFWwindow *, float, float)
    +
    +

    This is the function pointer type for window content scale callbacks. A window content scale callback function has the following signature:

    void function_name(GLFWwindow* window, float xscale, float yscale)
    +
    Parameters
    + + + + +
    [in]windowThe window whose content scale changed.
    [in]xscaleThe new x-axis content scale of the window.
    [in]yscaleThe new y-axis content scale of the window.
    +
    +
    +
    See also
    Window content scale
    +
    +glfwSetWindowContentScaleCallback
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ GLFWimage

    + +
    +
    + + + + +
    typedef struct GLFWimage GLFWimage
    +
    +

    This describes a single 2D image. See the documentation for each related function what the expected pixel format is.

    +
    See also
    Custom cursor creation
    +
    +Window icon
    +
    Since
    Added in version 2.1. GLFW 3: Removed format and bytes-per-pixel members.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwDefaultWindowHints()

    + +
    +
    + + + + + + + + +
    void glfwDefaultWindowHints (void )
    +
    +

    This function resets all window hints to their default values.

    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window creation hints
    +
    +glfwWindowHint
    +
    +glfwWindowHintString
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwWindowHint()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwWindowHint (int hint,
    int value 
    )
    +
    +

    This function sets hints for the next call to glfwCreateWindow. The hints, once set, retain their values until changed by a call to this function or glfwDefaultWindowHints, or until the library is terminated.

    +

    Only integer value hints can be set with this function. String value hints are set with glfwWindowHintString.

    +

    This function does not check whether the specified hint values are valid. If you set hints to invalid values this will instead be reported by the next call to glfwCreateWindow.

    +

    Some hints are platform specific. These may be set on any platform but they will only affect their specific platform. Other platforms will ignore them. Setting these hints requires no platform specific headers or functions.

    +
    Parameters
    + + + +
    [in]hintThe window hint to set.
    [in]valueThe new value of the window hint.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window creation hints
    +
    +glfwWindowHintString
    +
    +glfwDefaultWindowHints
    +
    Since
    Added in version 3.0. Replaces glfwOpenWindowHint.
    + +
    +
    + +

    ◆ glfwWindowHintString()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwWindowHintString (int hint,
    const char * value 
    )
    +
    +

    This function sets hints for the next call to glfwCreateWindow. The hints, once set, retain their values until changed by a call to this function or glfwDefaultWindowHints, or until the library is terminated.

    +

    Only string type hints can be set with this function. Integer value hints are set with glfwWindowHint.

    +

    This function does not check whether the specified hint values are valid. If you set hints to invalid values this will instead be reported by the next call to glfwCreateWindow.

    +

    Some hints are platform specific. These may be set on any platform but they will only affect their specific platform. Other platforms will ignore them. Setting these hints requires no platform specific headers or functions.

    +
    Parameters
    + + + +
    [in]hintThe window hint to set.
    [in]valueThe new value of the window hint.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Pointer lifetime
    The specified string is copied before this function returns.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window creation hints
    +
    +glfwWindowHint
    +
    +glfwDefaultWindowHints
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwCreateWindow()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFWwindow* glfwCreateWindow (int width,
    int height,
    const char * title,
    GLFWmonitormonitor,
    GLFWwindowshare 
    )
    +
    +

    This function creates a window and its associated OpenGL or OpenGL ES context. Most of the options controlling how the window and its context should be created are specified with window hints.

    +

    Successful creation does not change which context is current. Before you can use the newly created context, you need to make it current. For information about the share parameter, see Context object sharing.

    +

    The created window, framebuffer and context may differ from what you requested, as not all parameters and hints are hard constraints. This includes the size of the window, especially for full screen windows. To query the actual attributes of the created window, framebuffer and context, see glfwGetWindowAttrib, glfwGetWindowSize and glfwGetFramebufferSize.

    +

    To create a full screen window, you need to specify the monitor the window will cover. If no monitor is specified, the window will be windowed mode. Unless you have a way for the user to choose a specific monitor, it is recommended that you pick the primary monitor. For more information on how to query connected monitors, see Retrieving monitors.

    +

    For full screen windows, the specified size becomes the resolution of the window's desired video mode. As long as a full screen window is not iconified, the supported video mode most closely matching the desired video mode is set for the specified monitor. For more information about full screen windows, including the creation of so called windowed full screen or borderless full screen windows, see "Windowed full screen" windows.

    +

    Once you have created the window, you can switch it between windowed and full screen mode with glfwSetWindowMonitor. This will not affect its OpenGL or OpenGL ES context.

    +

    By default, newly created windows use the placement recommended by the window system. To create the window at a specific position, make it initially invisible using the GLFW_VISIBLE window hint, set its position and then show it.

    +

    As long as at least one full screen window is not iconified, the screensaver is prohibited from starting.

    +

    Window systems put limits on window sizes. Very large or very small window dimensions may be overridden by the window system on creation. Check the actual size after creation.

    +

    The swap interval is not set during window creation and the initial value may vary depending on driver settings and defaults.

    +
    Parameters
    + + + + + + +
    [in]widthThe desired width, in screen coordinates, of the window. This must be greater than zero.
    [in]heightThe desired height, in screen coordinates, of the window. This must be greater than zero.
    [in]titleThe initial, UTF-8 encoded window title.
    [in]monitorThe monitor to use for full screen mode, or NULL for windowed mode.
    [in]shareThe window whose context to share resources with, or NULL to not share resources.
    +
    +
    +
    Returns
    The handle of the created window, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM, GLFW_INVALID_VALUE, GLFW_API_UNAVAILABLE, GLFW_VERSION_UNAVAILABLE, GLFW_FORMAT_UNAVAILABLE and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Windows: Window creation will fail if the Microsoft GDI software OpenGL implementation is the only one available.
    +
    +Windows: If the executable has an icon resource named GLFW_ICON, it will be set as the initial icon for the window. If no such icon is present, the IDI_APPLICATION icon will be used instead. To set a different icon, see glfwSetWindowIcon.
    +
    +Windows: The context to share resources with must not be current on any other thread.
    +
    +macOS: The OS only supports forward-compatible core profile contexts for OpenGL versions 3.2 and later. Before creating an OpenGL context of version 3.2 or later you must set the GLFW_OPENGL_FORWARD_COMPAT and GLFW_OPENGL_PROFILE hints accordingly. OpenGL 3.0 and 3.1 contexts are not supported at all on macOS.
    +
    +macOS: The GLFW window has no icon, as it is not a document window, but the dock icon will be the same as the application bundle's icon. For more information on bundles, see the Bundle Programming Guide in the Mac Developer Library.
    +
    +macOS: The first time a window is created the menu bar is created. If GLFW finds a MainMenu.nib it is loaded and assumed to contain a menu bar. Otherwise a minimal menu bar is created manually with common commands like Hide, Quit and About. The About entry opens a minimal about dialog with information from the application's bundle. Menu bar creation can be disabled entirely with the GLFW_COCOA_MENUBAR init hint.
    +
    +macOS: On OS X 10.10 and later the window frame will not be rendered at full resolution on Retina displays unless the GLFW_COCOA_RETINA_FRAMEBUFFER hint is GLFW_TRUE and the NSHighResolutionCapable key is enabled in the application bundle's Info.plist. For more information, see High Resolution Guidelines for OS X in the Mac Developer Library. The GLFW test and example programs use a custom Info.plist template for this, which can be found as CMake/MacOSXBundleInfo.plist.in in the source tree.
    +
    +macOS: When activating frame autosaving with GLFW_COCOA_FRAME_NAME, the specified window size and position may be overridden by previously saved values.
    +
    +X11: Some window managers will not respect the placement of initially hidden windows.
    +
    +X11: Due to the asynchronous nature of X11, it may take a moment for a window to reach its requested state. This means you may not be able to query the final size, position or other attributes directly after window creation.
    +
    +X11: The class part of the WM_CLASS window property will by default be set to the window title passed to this function. The instance part will use the contents of the RESOURCE_NAME environment variable, if present and not empty, or fall back to the window title. Set the GLFW_X11_CLASS_NAME and GLFW_X11_INSTANCE_NAME window hints to override this.
    +
    +Wayland: Compositors should implement the xdg-decoration protocol for GLFW to decorate the window properly. If this protocol isn't supported, or if the compositor prefers client-side decorations, a very simple fallback frame will be drawn using the wp_viewporter protocol. A compositor can still emit close, maximize or fullscreen events, using for instance a keybind mechanism. If neither of these protocols is supported, the window won't be decorated.
    +
    +Wayland: A full screen window will not attempt to change the mode, no matter what the requested size or refresh rate.
    +
    +Wayland: Screensaver inhibition requires the idle-inhibit protocol to be implemented in the user's compositor.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window creation
    +
    +glfwDestroyWindow
    +
    Since
    Added in version 3.0. Replaces glfwOpenWindow.
    + +
    +
    + +

    ◆ glfwDestroyWindow()

    + +
    +
    + + + + + + + + +
    void glfwDestroyWindow (GLFWwindowwindow)
    +
    +

    This function destroys the specified window and its context. On calling this function, no further callbacks will be called for that window.

    +

    If the context of the specified window is current on the main thread, it is detached before being destroyed.

    +
    Parameters
    + + +
    [in]windowThe window to destroy.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Note
    The context of the specified window must not be current on any other thread when this function is called.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window creation
    +
    +glfwCreateWindow
    +
    Since
    Added in version 3.0. Replaces glfwCloseWindow.
    + +
    +
    + +

    ◆ glfwWindowShouldClose()

    + +
    +
    + + + + + + + + +
    int glfwWindowShouldClose (GLFWwindowwindow)
    +
    +

    This function returns the value of the close flag of the specified window.

    +
    Parameters
    + + +
    [in]windowThe window to query.
    +
    +
    +
    Returns
    The value of the close flag.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    Window closing and close flag
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowShouldClose()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowShouldClose (GLFWwindowwindow,
    int value 
    )
    +
    +

    This function sets the value of the close flag of the specified window. This can be used to override the user's attempt to close the window, or to signal that it should be closed.

    +
    Parameters
    + + + +
    [in]windowThe window whose flag to change.
    [in]valueThe new value.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    Window closing and close flag
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowTitle()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowTitle (GLFWwindowwindow,
    const char * title 
    )
    +
    +

    This function sets the window title, encoded as UTF-8, of the specified window.

    +
    Parameters
    + + + +
    [in]windowThe window whose title to change.
    [in]titleThe UTF-8 encoded window title.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    macOS: The window title will not be updated until the next time you process events.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window title
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwSetWindowIcon()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowIcon (GLFWwindowwindow,
    int count,
    const GLFWimageimages 
    )
    +
    +

    This function sets the icon of the specified window. If passed an array of candidate images, those of or closest to the sizes desired by the system are selected. If no images are specified, the window reverts to its default icon.

    +

    The pixels are 32-bit, little-endian, non-premultiplied RGBA, i.e. eight bits per channel with the red channel first. They are arranged canonically as packed sequential rows, starting from the top-left corner.

    +

    The desired image sizes varies depending on platform and system settings. The selected images will be rescaled as needed. Good sizes include 16x16, 32x32 and 48x48.

    +
    Parameters
    + + + + +
    [in]windowThe window whose icon to set.
    [in]countThe number of images in the specified array, or zero to revert to the default window icon.
    [in]imagesThe images to create the icon from. This is ignored if count is zero.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The specified image data is copied before this function returns.
    +
    Remarks
    macOS: The GLFW window has no icon, as it is not a document window, so this function does nothing. The dock icon will be the same as the application bundle's icon. For more information on bundles, see the Bundle Programming Guide in the Mac Developer Library.
    +
    +Wayland: There is no existing protocol to change an icon, the window will thus inherit the one defined in the application's desktop file. This function always emits GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window icon
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetWindowPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetWindowPos (GLFWwindowwindow,
    int * xpos,
    int * ypos 
    )
    +
    +

    This function retrieves the position, in screen coordinates, of the upper-left corner of the content area of the specified window.

    +

    Any or all of the position arguments may be NULL. If an error occurs, all non-NULL position arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]windowThe window to query.
    [out]xposWhere to store the x-coordinate of the upper-left corner of the content area, or NULL.
    [out]yposWhere to store the y-coordinate of the upper-left corner of the content area, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Wayland: There is no way for an application to retrieve the global position of its windows, this function will always emit GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window position
    +
    +glfwSetWindowPos
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowPos (GLFWwindowwindow,
    int xpos,
    int ypos 
    )
    +
    +

    This function sets the position, in screen coordinates, of the upper-left corner of the content area of the specified windowed mode window. If the window is a full screen window, this function does nothing.

    +

    Do not use this function to move an already visible window unless you have very good reasons for doing so, as it will confuse and annoy the user.

    +

    The window manager may put limits on what positions are allowed. GLFW cannot and should not override these limits.

    +
    Parameters
    + + + + +
    [in]windowThe window to query.
    [in]xposThe x-coordinate of the upper-left corner of the content area.
    [in]yposThe y-coordinate of the upper-left corner of the content area.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Wayland: There is no way for an application to set the global position of its windows, this function will always emit GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window position
    +
    +glfwGetWindowPos
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwGetWindowSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetWindowSize (GLFWwindowwindow,
    int * width,
    int * height 
    )
    +
    +

    This function retrieves the size, in screen coordinates, of the content area of the specified window. If you wish to retrieve the size of the framebuffer of the window in pixels, see glfwGetFramebufferSize.

    +

    Any or all of the size arguments may be NULL. If an error occurs, all non-NULL size arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]windowThe window whose size to retrieve.
    [out]widthWhere to store the width, in screen coordinates, of the content area, or NULL.
    [out]heightWhere to store the height, in screen coordinates, of the content area, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size
    +
    +glfwSetWindowSize
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwSetWindowSizeLimits()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowSizeLimits (GLFWwindowwindow,
    int minwidth,
    int minheight,
    int maxwidth,
    int maxheight 
    )
    +
    +

    This function sets the size limits of the content area of the specified window. If the window is full screen, the size limits only take effect once it is made windowed. If the window is not resizable, this function does nothing.

    +

    The size limits are applied immediately to a windowed mode window and may cause it to be resized.

    +

    The maximum dimensions must be greater than or equal to the minimum dimensions and all must be greater than or equal to zero.

    +
    Parameters
    + + + + + + +
    [in]windowThe window to set limits for.
    [in]minwidthThe minimum width, in screen coordinates, of the content area, or GLFW_DONT_CARE.
    [in]minheightThe minimum height, in screen coordinates, of the content area, or GLFW_DONT_CARE.
    [in]maxwidthThe maximum width, in screen coordinates, of the content area, or GLFW_DONT_CARE.
    [in]maxheightThe maximum height, in screen coordinates, of the content area, or GLFW_DONT_CARE.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_VALUE and GLFW_PLATFORM_ERROR.
    +
    Remarks
    If you set size limits and an aspect ratio that conflict, the results are undefined.
    +
    +Wayland: The size limits will not be applied until the window is actually resized, either by the user or by the compositor.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size limits
    +
    +glfwSetWindowAspectRatio
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwSetWindowAspectRatio()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowAspectRatio (GLFWwindowwindow,
    int numer,
    int denom 
    )
    +
    +

    This function sets the required aspect ratio of the content area of the specified window. If the window is full screen, the aspect ratio only takes effect once it is made windowed. If the window is not resizable, this function does nothing.

    +

    The aspect ratio is specified as a numerator and a denominator and both values must be greater than zero. For example, the common 16:9 aspect ratio is specified as 16 and 9, respectively.

    +

    If the numerator and denominator is set to GLFW_DONT_CARE then the aspect ratio limit is disabled.

    +

    The aspect ratio is applied immediately to a windowed mode window and may cause it to be resized.

    +
    Parameters
    + + + + +
    [in]windowThe window to set limits for.
    [in]numerThe numerator of the desired aspect ratio, or GLFW_DONT_CARE.
    [in]denomThe denominator of the desired aspect ratio, or GLFW_DONT_CARE.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_VALUE and GLFW_PLATFORM_ERROR.
    +
    Remarks
    If you set size limits and an aspect ratio that conflict, the results are undefined.
    +
    +Wayland: The aspect ratio will not be applied until the window is actually resized, either by the user or by the compositor.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size limits
    +
    +glfwSetWindowSizeLimits
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwSetWindowSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowSize (GLFWwindowwindow,
    int width,
    int height 
    )
    +
    +

    This function sets the size, in screen coordinates, of the content area of the specified window.

    +

    For full screen windows, this function updates the resolution of its desired video mode and switches to the video mode closest to it, without affecting the window's context. As the context is unaffected, the bit depths of the framebuffer remain unchanged.

    +

    If you wish to update the refresh rate of the desired video mode in addition to its resolution, see glfwSetWindowMonitor.

    +

    The window manager may put limits on what sizes are allowed. GLFW cannot and should not override these limits.

    +
    Parameters
    + + + + +
    [in]windowThe window to resize.
    [in]widthThe desired width, in screen coordinates, of the window content area.
    [in]heightThe desired height, in screen coordinates, of the window content area.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Wayland: A full screen window will not attempt to change the mode, no matter what the requested size.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size
    +
    +glfwGetWindowSize
    +
    +glfwSetWindowMonitor
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwGetFramebufferSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetFramebufferSize (GLFWwindowwindow,
    int * width,
    int * height 
    )
    +
    +

    This function retrieves the size, in pixels, of the framebuffer of the specified window. If you wish to retrieve the size of the window in screen coordinates, see glfwGetWindowSize.

    +

    Any or all of the size arguments may be NULL. If an error occurs, all non-NULL size arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]windowThe window whose framebuffer to query.
    [out]widthWhere to store the width, in pixels, of the framebuffer, or NULL.
    [out]heightWhere to store the height, in pixels, of the framebuffer, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Framebuffer size
    +
    +glfwSetFramebufferSizeCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetWindowFrameSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetWindowFrameSize (GLFWwindowwindow,
    int * left,
    int * top,
    int * right,
    int * bottom 
    )
    +
    +

    This function retrieves the size, in screen coordinates, of each edge of the frame of the specified window. This size includes the title bar, if the window has one. The size of the frame may vary depending on the window-related hints used to create it.

    +

    Because this function retrieves the size of each window frame edge and not the offset along a particular coordinate axis, the retrieved values will always be zero or positive.

    +

    Any or all of the size arguments may be NULL. If an error occurs, all non-NULL size arguments will be set to zero.

    +
    Parameters
    + + + + + + +
    [in]windowThe window whose frame size to query.
    [out]leftWhere to store the size, in screen coordinates, of the left edge of the window frame, or NULL.
    [out]topWhere to store the size, in screen coordinates, of the top edge of the window frame, or NULL.
    [out]rightWhere to store the size, in screen coordinates, of the right edge of the window frame, or NULL.
    [out]bottomWhere to store the size, in screen coordinates, of the bottom edge of the window frame, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetWindowContentScale()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetWindowContentScale (GLFWwindowwindow,
    float * xscale,
    float * yscale 
    )
    +
    +

    This function retrieves the content scale for the specified window. The content scale is the ratio between the current DPI and the platform's default DPI. This is especially important for text and any UI elements. If the pixel dimensions of your UI scaled by this look appropriate on your machine then it should appear at a reasonable size on other machines regardless of their DPI and scaling settings. This relies on the system DPI and scaling settings being somewhat correct.

    +

    On systems where each monitors can have its own content scale, the window content scale will depend on which monitor the system considers the window to be on.

    +
    Parameters
    + + + + +
    [in]windowThe window to query.
    [out]xscaleWhere to store the x-axis content scale, or NULL.
    [out]yscaleWhere to store the y-axis content scale, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window content scale
    +
    +glfwSetWindowContentScaleCallback
    +
    +glfwGetMonitorContentScale
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetWindowOpacity()

    + +
    +
    + + + + + + + + +
    float glfwGetWindowOpacity (GLFWwindowwindow)
    +
    +

    This function returns the opacity of the window, including any decorations.

    +

    The opacity (or alpha) value is a positive finite number between zero and one, where zero is fully transparent and one is fully opaque. If the system does not support whole window transparency, this function always returns one.

    +

    The initial opacity value for newly created windows is one.

    +
    Parameters
    + + +
    [in]windowThe window to query.
    +
    +
    +
    Returns
    The opacity value of the specified window.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window transparency
    +
    +glfwSetWindowOpacity
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwSetWindowOpacity()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowOpacity (GLFWwindowwindow,
    float opacity 
    )
    +
    +

    This function sets the opacity of the window, including any decorations.

    +

    The opacity (or alpha) value is a positive finite number between zero and one, where zero is fully transparent and one is fully opaque.

    +

    The initial opacity value for newly created windows is one.

    +

    A window created with framebuffer transparency may not use whole window transparency. The results of doing this are undefined.

    +
    Parameters
    + + + +
    [in]windowThe window to set the opacity for.
    [in]opacityThe desired opacity of the specified window.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window transparency
    +
    +glfwGetWindowOpacity
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwIconifyWindow()

    + +
    +
    + + + + + + + + +
    void glfwIconifyWindow (GLFWwindowwindow)
    +
    +

    This function iconifies (minimizes) the specified window if it was previously restored. If the window is already iconified, this function does nothing.

    +

    If the specified window is a full screen window, the original monitor resolution is restored until the window is restored.

    +
    Parameters
    + + +
    [in]windowThe window to iconify.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Wayland: There is no concept of iconification in wl_shell, this function will emit GLFW_PLATFORM_ERROR when using this deprecated protocol.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window iconification
    +
    +glfwRestoreWindow
    +
    +glfwMaximizeWindow
    +
    Since
    Added in version 2.1. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwRestoreWindow()

    + +
    +
    + + + + + + + + +
    void glfwRestoreWindow (GLFWwindowwindow)
    +
    +

    This function restores the specified window if it was previously iconified (minimized) or maximized. If the window is already restored, this function does nothing.

    +

    If the specified window is a full screen window, the resolution chosen for the window is restored on the selected monitor.

    +
    Parameters
    + + +
    [in]windowThe window to restore.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window iconification
    +
    +glfwIconifyWindow
    +
    +glfwMaximizeWindow
    +
    Since
    Added in version 2.1. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwMaximizeWindow()

    + +
    +
    + + + + + + + + +
    void glfwMaximizeWindow (GLFWwindowwindow)
    +
    +

    This function maximizes the specified window if it was previously not maximized. If the window is already maximized, this function does nothing.

    +

    If the specified window is a full screen window, this function does nothing.

    +
    Parameters
    + + +
    [in]windowThe window to maximize.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window iconification
    +
    +glfwIconifyWindow
    +
    +glfwRestoreWindow
    +
    Since
    Added in GLFW 3.2.
    + +
    +
    + +

    ◆ glfwShowWindow()

    + +
    +
    + + + + + + + + +
    void glfwShowWindow (GLFWwindowwindow)
    +
    +

    This function makes the specified window visible if it was previously hidden. If the window is already visible or is in full screen mode, this function does nothing.

    +

    By default, windowed mode windows are focused when shown Set the GLFW_FOCUS_ON_SHOW window hint to change this behavior for all newly created windows, or change the behavior for an existing window with glfwSetWindowAttrib.

    +
    Parameters
    + + +
    [in]windowThe window to make visible.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window visibility
    +
    +glfwHideWindow
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwHideWindow()

    + +
    +
    + + + + + + + + +
    void glfwHideWindow (GLFWwindowwindow)
    +
    +

    This function hides the specified window if it was previously visible. If the window is already hidden or is in full screen mode, this function does nothing.

    +
    Parameters
    + + +
    [in]windowThe window to hide.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window visibility
    +
    +glfwShowWindow
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwFocusWindow()

    + +
    +
    + + + + + + + + +
    void glfwFocusWindow (GLFWwindowwindow)
    +
    +

    This function brings the specified window to front and sets input focus. The window should already be visible and not iconified.

    +

    By default, both windowed and full screen mode windows are focused when initially created. Set the GLFW_FOCUSED to disable this behavior.

    +

    Also by default, windowed mode windows are focused when shown with glfwShowWindow. Set the GLFW_FOCUS_ON_SHOW to disable this behavior.

    +

    Do not use this function to steal focus from other applications unless you are certain that is what the user wants. Focus stealing can be extremely disruptive.

    +

    For a less disruptive way of getting the user's attention, see attention requests.

    +
    Parameters
    + + +
    [in]windowThe window to give input focus.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Wayland: It is not possible for an application to bring its windows to front, this function will always emit GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window input focus
    +
    +Window attention request
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwRequestWindowAttention()

    + +
    +
    + + + + + + + + +
    void glfwRequestWindowAttention (GLFWwindowwindow)
    +
    +

    This function requests user attention to the specified window. On platforms where this is not supported, attention is requested to the application as a whole.

    +

    Once the user has given attention, usually by focusing the window or application, the system will end the request automatically.

    +
    Parameters
    + + +
    [in]windowThe window to request attention to.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    macOS: Attention is requested to the application as a whole, not the specific window.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window attention request
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetWindowMonitor()

    + +
    +
    + + + + + + + + +
    GLFWmonitor* glfwGetWindowMonitor (GLFWwindowwindow)
    +
    +

    This function returns the handle of the monitor that the specified window is in full screen on.

    +
    Parameters
    + + +
    [in]windowThe window to query.
    +
    +
    +
    Returns
    The monitor, or NULL if the window is in windowed mode or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window monitor
    +
    +glfwSetWindowMonitor
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowMonitor()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowMonitor (GLFWwindowwindow,
    GLFWmonitormonitor,
    int xpos,
    int ypos,
    int width,
    int height,
    int refreshRate 
    )
    +
    +

    This function sets the monitor that the window uses for full screen mode or, if the monitor is NULL, makes it windowed mode.

    +

    When setting a monitor, this function updates the width, height and refresh rate of the desired video mode and switches to the video mode closest to it. The window position is ignored when setting a monitor.

    +

    When the monitor is NULL, the position, width and height are used to place the window content area. The refresh rate is ignored when no monitor is specified.

    +

    If you only wish to update the resolution of a full screen window or the size of a windowed mode window, see glfwSetWindowSize.

    +

    When a window transitions from full screen to windowed mode, this function restores any previous window settings such as whether it is decorated, floating, resizable, has size or aspect ratio limits, etc.

    +
    Parameters
    + + + + + + + + +
    [in]windowThe window whose monitor, size or video mode to set.
    [in]monitorThe desired monitor, or NULL to set windowed mode.
    [in]xposThe desired x-coordinate of the upper-left corner of the content area.
    [in]yposThe desired y-coordinate of the upper-left corner of the content area.
    [in]widthThe desired with, in screen coordinates, of the content area or video mode.
    [in]heightThe desired height, in screen coordinates, of the content area or video mode.
    [in]refreshRateThe desired refresh rate, in Hz, of the video mode, or GLFW_DONT_CARE.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    The OpenGL or OpenGL ES context will not be destroyed or otherwise affected by any resizing or mode switching, although you may need to update your viewport if the framebuffer size has changed.
    +
    +Wayland: The desired window position is ignored, as there is no way for an application to set this property.
    +
    +Wayland: Setting the window to full screen will not attempt to change the mode, no matter what the requested size or refresh rate.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window monitor
    +
    +Full screen windows
    +
    +glfwGetWindowMonitor
    +
    +glfwSetWindowSize
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetWindowAttrib()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetWindowAttrib (GLFWwindowwindow,
    int attrib 
    )
    +
    +

    This function returns the value of an attribute of the specified window or its OpenGL or OpenGL ES context.

    +
    Parameters
    + + + +
    [in]windowThe window to query.
    [in]attribThe window attribute whose value to return.
    +
    +
    +
    Returns
    The value of the attribute, or zero if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Framebuffer related hints are not window attributes. See Framebuffer related attributes for more information.
    +
    +Zero is a valid value for many window and context related attributes so you cannot use a return value of zero as an indication of errors. However, this function should not fail as long as it is passed valid arguments and the library has been initialized.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window attributes
    +
    +glfwSetWindowAttrib
    +
    Since
    Added in version 3.0. Replaces glfwGetWindowParam and glfwGetGLVersion.
    + +
    +
    + +

    ◆ glfwSetWindowAttrib()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowAttrib (GLFWwindowwindow,
    int attrib,
    int value 
    )
    +
    +

    This function sets the value of an attribute of the specified window.

    +

    The supported attributes are GLFW_DECORATED, GLFW_RESIZABLE, GLFW_FLOATING, GLFW_AUTO_ICONIFY and GLFW_FOCUS_ON_SHOW.

    +

    Some of these attributes are ignored for full screen windows. The new value will take effect if the window is later made windowed.

    +

    Some of these attributes are ignored for windowed mode windows. The new value will take effect if the window is later made full screen.

    +
    Parameters
    + + + + +
    [in]windowThe window to set the attribute for.
    [in]attribA supported window attribute.
    [in]valueGLFW_TRUE or GLFW_FALSE.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM, GLFW_INVALID_VALUE and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Calling glfwGetWindowAttrib will always return the latest value, even if that value is ignored by the current mode of the window.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window attributes
    +
    +glfwGetWindowAttrib
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwSetWindowUserPointer()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowUserPointer (GLFWwindowwindow,
    void * pointer 
    )
    +
    +

    This function sets the user-defined pointer of the specified window. The current value is retained until the window is destroyed. The initial value is NULL.

    +
    Parameters
    + + + +
    [in]windowThe window whose pointer to set.
    [in]pointerThe new value.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    User pointer
    +
    +glfwGetWindowUserPointer
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetWindowUserPointer()

    + +
    +
    + + + + + + + + +
    void* glfwGetWindowUserPointer (GLFWwindowwindow)
    +
    +

    This function returns the current value of the user-defined pointer of the specified window. The initial value is NULL.

    +
    Parameters
    + + +
    [in]windowThe window whose pointer to return.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    User pointer
    +
    +glfwSetWindowUserPointer
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowPosCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindowwindow,
    GLFWwindowposfun callback 
    )
    +
    +

    This function sets the position callback of the specified window, which is called when the window is moved. The callback is provided with the position, in screen coordinates, of the upper-left corner of the content area of the window.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int xpos, int ypos)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Remarks
    Wayland: This callback will never be called, as there is no way for an application to know its global position.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window position
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowSizeCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindowwindow,
    GLFWwindowsizefun callback 
    )
    +
    +

    This function sets the size callback of the specified window, which is called when the window is resized. The callback is provided with the size, in screen coordinates, of the content area of the window.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int width, int height)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetWindowCloseCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindowwindow,
    GLFWwindowclosefun callback 
    )
    +
    +

    This function sets the close callback of the specified window, which is called when the user attempts to close the window, for example by clicking the close widget in the title bar.

    +

    The close flag is set before this callback is called, but you can modify it at any time with glfwSetWindowShouldClose.

    +

    The close callback is not triggered by glfwDestroyWindow.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Remarks
    macOS: Selecting Quit from the application menu will trigger the close callback for all windows.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window closing and close flag
    +
    Since
    Added in version 2.5. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetWindowRefreshCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindowwindow,
    GLFWwindowrefreshfun callback 
    )
    +
    +

    This function sets the refresh callback of the specified window, which is called when the content area of the window needs to be redrawn, for example if the window has been exposed after having been covered by another window.

    +

    On compositing window systems such as Aero, Compiz, Aqua or Wayland, where the window contents are saved off-screen, this callback may be called only very infrequently or never at all.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window);
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window damage and refresh
    +
    Since
    Added in version 2.5. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetWindowFocusCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindowwindow,
    GLFWwindowfocusfun callback 
    )
    +
    +

    This function sets the focus callback of the specified window, which is called when the window gains or loses input focus.

    +

    After the focus callback is called for a window that lost input focus, synthetic key and mouse button release events will be generated for all such that had been pressed. For more information, see glfwSetKeyCallback and glfwSetMouseButtonCallback.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int focused)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window input focus
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowIconifyCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindowwindow,
    GLFWwindowiconifyfun callback 
    )
    +
    +

    This function sets the iconification callback of the specified window, which is called when the window is iconified or restored.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int iconified)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Remarks
    Wayland: The wl_shell protocol has no concept of iconification, this callback will never be called when using this deprecated protocol.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window iconification
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowMaximizeCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowmaximizefun glfwSetWindowMaximizeCallback (GLFWwindowwindow,
    GLFWwindowmaximizefun callback 
    )
    +
    +

    This function sets the maximization callback of the specified window, which is called when the window is maximized or restored.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int maximized)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window maximization
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwSetFramebufferSizeCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindowwindow,
    GLFWframebuffersizefun callback 
    )
    +
    +

    This function sets the framebuffer resize callback of the specified window, which is called when the framebuffer of the specified window is resized.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int width, int height)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Framebuffer size
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowContentScaleCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback (GLFWwindowwindow,
    GLFWwindowcontentscalefun callback 
    )
    +
    +

    This function sets the window content scale callback of the specified window, which is called when the content scale of the specified window changes.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, float xscale, float yscale)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window content scale
    +
    +glfwGetWindowContentScale
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwPollEvents()

    + +
    +
    + + + + + + + + +
    void glfwPollEvents (void )
    +
    +

    This function processes only those events that are already in the event queue and then returns immediately. Processing events will cause the window and input callbacks associated with those events to be called.

    +

    On some platforms, a window move, resize or menu operation will cause event processing to block. This is due to how event processing is designed on those platforms. You can use the window refresh callback to redraw the contents of your window when necessary during such operations.

    +

    Do not assume that callbacks you set will only be called in response to event processing functions like this one. While it is necessary to poll for events, window systems that require GLFW to register callbacks of its own can pass events to GLFW in response to many window system function calls. GLFW will pass those events on to the application callbacks before returning.

    +

    Event processing is not required for joystick input to work.

    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Event processing
    +
    +glfwWaitEvents
    +
    +glfwWaitEventsTimeout
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwWaitEvents()

    + +
    +
    + + + + + + + + +
    void glfwWaitEvents (void )
    +
    +

    This function puts the calling thread to sleep until at least one event is available in the event queue. Once one or more events are available, it behaves exactly like glfwPollEvents, i.e. the events in the queue are processed and the function then returns immediately. Processing events will cause the window and input callbacks associated with those events to be called.

    +

    Since not all events are associated with callbacks, this function may return without a callback having been called even if you are monitoring all callbacks.

    +

    On some platforms, a window move, resize or menu operation will cause event processing to block. This is due to how event processing is designed on those platforms. You can use the window refresh callback to redraw the contents of your window when necessary during such operations.

    +

    Do not assume that callbacks you set will only be called in response to event processing functions like this one. While it is necessary to poll for events, window systems that require GLFW to register callbacks of its own can pass events to GLFW in response to many window system function calls. GLFW will pass those events on to the application callbacks before returning.

    +

    Event processing is not required for joystick input to work.

    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Event processing
    +
    +glfwPollEvents
    +
    +glfwWaitEventsTimeout
    +
    Since
    Added in version 2.5.
    + +
    +
    + +

    ◆ glfwWaitEventsTimeout()

    + +
    +
    + + + + + + + + +
    void glfwWaitEventsTimeout (double timeout)
    +
    +

    This function puts the calling thread to sleep until at least one event is available in the event queue, or until the specified timeout is reached. If one or more events are available, it behaves exactly like glfwPollEvents, i.e. the events in the queue are processed and the function then returns immediately. Processing events will cause the window and input callbacks associated with those events to be called.

    +

    The timeout value must be a positive finite number.

    +

    Since not all events are associated with callbacks, this function may return without a callback having been called even if you are monitoring all callbacks.

    +

    On some platforms, a window move, resize or menu operation will cause event processing to block. This is due to how event processing is designed on those platforms. You can use the window refresh callback to redraw the contents of your window when necessary during such operations.

    +

    Do not assume that callbacks you set will only be called in response to event processing functions like this one. While it is necessary to poll for events, window systems that require GLFW to register callbacks of its own can pass events to GLFW in response to many window system function calls. GLFW will pass those events on to the application callbacks before returning.

    +

    Event processing is not required for joystick input to work.

    +
    Parameters
    + + +
    [in]timeoutThe maximum amount of time, in seconds, to wait.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_VALUE and GLFW_PLATFORM_ERROR.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Event processing
    +
    +glfwPollEvents
    +
    +glfwWaitEvents
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwPostEmptyEvent()

    + +
    +
    + + + + + + + + +
    void glfwPostEmptyEvent (void )
    +
    +

    This function posts an empty event from the current thread to the event queue, causing glfwWaitEvents or glfwWaitEventsTimeout to return.

    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Event processing
    +
    +glfwWaitEvents
    +
    +glfwWaitEventsTimeout
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwSwapBuffers()

    + +
    +
    + + + + + + + + +
    void glfwSwapBuffers (GLFWwindowwindow)
    +
    +

    This function swaps the front and back buffers of the specified window when rendering with OpenGL or OpenGL ES. If the swap interval is greater than zero, the GPU driver waits the specified number of screen updates before swapping the buffers.

    +

    The specified window must have an OpenGL or OpenGL ES context. Specifying a window without a context will generate a GLFW_NO_WINDOW_CONTEXT error.

    +

    This function does not apply to Vulkan. If you are rendering with Vulkan, see vkQueuePresentKHR instead.

    +
    Parameters
    + + +
    [in]windowThe window whose buffers to swap.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_NO_WINDOW_CONTEXT and GLFW_PLATFORM_ERROR.
    +
    Remarks
    EGL: The context of the specified window must be current on the calling thread.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Buffer swapping
    +
    +glfwSwapInterval
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    +
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1177
    + + + diff --git a/docs/3.3/index.html b/docs/3.3/index.html new file mode 100644 index 0000000..632ab0e --- /dev/null +++ b/docs/3.3/index.html @@ -0,0 +1,92 @@ + + + + + + + +GLFW: Main Page + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +

    +Introduction

    +

    GLFW is a free, Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan application development. It provides a simple, platform-independent API for creating windows, contexts and surfaces, reading input, handling events, etc.

    +

    Release notes for version 3.3 list new features, caveats and deprecations.

    +

    Getting started is a guide for users new to GLFW. It takes you through how to write a small but complete program.

    +

    There are guides for each section of the API:

    + +

    Once you have written a program, see Compiling GLFW and Building applications.

    +

    The reference documentation provides more detailed information about specific functions.

    +

    Moving from GLFW 2 to 3 explains what has changed and how to update existing code to use the new API.

    +

    There is a section on Guarantees and limitations for pointer lifetimes, reentrancy, thread safety, event order and backward and forward compatibility.

    +

    The FAQ answers many common questions about the design, implementation and use of GLFW.

    +

    Finally, Standards conformance explains what APIs, standards and protocols GLFW uses and what happens when they are not present on a given machine.

    +

    This documentation was generated with Doxygen. The sources for it are available in both the source distribution and GitHub repository.

    +
    +
    + + + diff --git a/docs/3.3/input.html b/docs/3.3/input.html new file mode 120000 index 0000000..88115d8 --- /dev/null +++ b/docs/3.3/input.html @@ -0,0 +1 @@ +input_guide.html \ No newline at end of file diff --git a/docs/3.3/input_8dox.html b/docs/3.3/input_8dox.html new file mode 100644 index 0000000..f9b7fe8 --- /dev/null +++ b/docs/3.3/input_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: input.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    input.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.3/input_guide.html b/docs/3.3/input_guide.html new file mode 100644 index 0000000..dd830f2 --- /dev/null +++ b/docs/3.3/input_guide.html @@ -0,0 +1,559 @@ + + + + + + + +GLFW: Input guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Input guide
    +
    +
    + +

    This guide introduces the input related functions of GLFW. For details on a specific function in this category, see the Input reference. There are also guides for the other areas of GLFW.

    + +

    GLFW provides many kinds of input. While some can only be polled, like time, or only received via callbacks, like scrolling, many provide both callbacks and polling. Callbacks are more work to use than polling but is less CPU intensive and guarantees that you do not miss state changes.

    +

    All input callbacks receive a window handle. By using the window user pointer, you can access non-global structures or objects from your callbacks.

    +

    To get a better feel for how the various events callbacks behave, run the events test program. It register every callback supported by GLFW and prints out all arguments provided for every event, along with time and sequence information.

    +

    +Event processing

    +

    GLFW needs to poll the window system for events both to provide input to the application and to prove to the window system that the application hasn't locked up. Event processing is normally done each frame after buffer swapping. Even when you have no windows, event polling needs to be done in order to receive monitor and joystick connection events.

    +

    There are three functions for processing pending events. glfwPollEvents, processes only those events that have already been received and then returns immediately.

    +

    This is the best choice when rendering continuously, like most games do.

    +

    If you only need to update the contents of the window when you receive new input, glfwWaitEvents is a better choice.

    +

    It puts the thread to sleep until at least one event has been received and then processes all received events. This saves a great deal of CPU cycles and is useful for, for example, editing tools.

    +

    If you want to wait for events but have UI elements or other tasks that need periodic updates, glfwWaitEventsTimeout lets you specify a timeout.

    +

    It puts the thread to sleep until at least one event has been received, or until the specified number of seconds have elapsed. It then processes any received events.

    +

    If the main thread is sleeping in glfwWaitEvents, you can wake it from another thread by posting an empty event to the event queue with glfwPostEmptyEvent.

    +

    Do not assume that callbacks will only be called in response to the above functions. While it is necessary to process events in one or more of the ways above, window systems that require GLFW to register callbacks of its own can pass events to GLFW in response to many window system function calls. GLFW will pass those events on to the application callbacks before returning.

    +

    For example, on Windows the system function that glfwSetWindowSize is implemented with will send window size events directly to the event callback that every window has and that GLFW implements for its windows. If you have set a window size callback GLFW will call it in turn with the new size before everything returns back out of the glfwSetWindowSize call.

    +

    +Keyboard input

    +

    GLFW divides keyboard input into two categories; key events and character events. Key events relate to actual physical keyboard keys, whereas character events relate to the Unicode code points generated by pressing some of them.

    +

    Keys and characters do not map 1:1. A single key press may produce several characters, and a single character may require several keys to produce. This may not be the case on your machine, but your users are likely not all using the same keyboard layout, input method or even operating system as you.

    +

    +Key input

    +

    If you wish to be notified when a physical key is pressed or released or when it repeats, set a key callback.

    +
    glfwSetKeyCallback(window, key_callback);
    +

    The callback function receives the keyboard key, platform-specific scancode, key action and modifier bits.

    +
    void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
    +
    {
    +
    if (key == GLFW_KEY_E && action == GLFW_PRESS)
    +
    activate_airship();
    +
    }
    +

    The action is one of GLFW_PRESS, GLFW_REPEAT or GLFW_RELEASE. The key will be GLFW_KEY_UNKNOWN if GLFW lacks a key token for it, for example E-mail and Play keys.

    +

    The scancode is unique for every key, regardless of whether it has a key token. Scancodes are platform-specific but consistent over time, so keys will have different scancodes depending on the platform but they are safe to save to disk. You can query the scancode for any named key on the current platform with glfwGetKeyScancode.

    +
    const int scancode = glfwGetKeyScancode(GLFW_KEY_X);
    +
    set_key_mapping(scancode, swap_weapons);
    +

    The last reported state for every named key is also saved in per-window state arrays that can be polled with glfwGetKey.

    +
    int state = glfwGetKey(window, GLFW_KEY_E);
    +
    if (state == GLFW_PRESS)
    +
    {
    +
    activate_airship();
    +
    }
    +

    The returned state is one of GLFW_PRESS or GLFW_RELEASE.

    +

    This function only returns cached key event state. It does not poll the system for the current physical state of the key.

    +

    Whenever you poll state, you risk missing the state change you are looking for. If a pressed key is released again before you poll its state, you will have missed the key press. The recommended solution for this is to use a key callback, but there is also the GLFW_STICKY_KEYS input mode.

    +

    When sticky keys mode is enabled, the pollable state of a key will remain GLFW_PRESS until the state of that key is polled with glfwGetKey. Once it has been polled, if a key release event had been processed in the meantime, the state will reset to GLFW_RELEASE, otherwise it will remain GLFW_PRESS.

    +

    If you wish to know what the state of the Caps Lock and Num Lock keys was when input events were generated, set the GLFW_LOCK_KEY_MODS input mode.

    +

    When this input mode is enabled, any callback that receives modifier bits will have the GLFW_MOD_CAPS_LOCK bit set if Caps Lock was on when the event occurred and the GLFW_MOD_NUM_LOCK bit set if Num Lock was on.

    +

    The GLFW_KEY_LAST constant holds the highest value of any named key.

    +

    +Text input

    +

    GLFW supports text input in the form of a stream of Unicode code points, as produced by the operating system text input system. Unlike key input, text input obeys keyboard layouts and modifier keys and supports composing characters using dead keys. Once received, you can encode the code points into UTF-8 or any other encoding you prefer.

    +

    Because an unsigned int is 32 bits long on all platforms supported by GLFW, you can treat the code point argument as native endian UTF-32.

    +

    If you wish to offer regular text input, set a character callback.

    +
    glfwSetCharCallback(window, character_callback);
    +

    The callback function receives Unicode code points for key events that would have led to regular text input and generally behaves as a standard text field on that platform.

    +
    void character_callback(GLFWwindow* window, unsigned int codepoint)
    +
    {
    +
    }
    +

    +Key names

    +

    If you wish to refer to keys by name, you can query the keyboard layout dependent name of printable keys with glfwGetKeyName.

    +
    const char* key_name = glfwGetKeyName(GLFW_KEY_W, 0);
    +
    show_tutorial_hint("Press %s to move forward", key_name);
    +

    This function can handle both keys and scancodes. If the specified key is GLFW_KEY_UNKNOWN then the scancode is used, otherwise it is ignored. This matches the behavior of the key callback, meaning the callback arguments can always be passed unmodified to this function.

    +

    +Mouse input

    +

    Mouse input comes in many forms, including mouse motion, button presses and scrolling offsets. The cursor appearance can also be changed, either to a custom image or a standard cursor shape from the system theme.

    +

    +Cursor position

    +

    If you wish to be notified when the cursor moves over the window, set a cursor position callback.

    +
    glfwSetCursorPosCallback(window, cursor_position_callback);
    +

    The callback functions receives the cursor position, measured in screen coordinates but relative to the top-left corner of the window content area. On platforms that provide it, the full sub-pixel cursor position is passed on.

    +
    static void cursor_position_callback(GLFWwindow* window, double xpos, double ypos)
    +
    {
    +
    }
    +

    The cursor position is also saved per-window and can be polled with glfwGetCursorPos.

    +
    double xpos, ypos;
    +
    glfwGetCursorPos(window, &xpos, &ypos);
    +

    +Cursor mode

    +

    The GLFW_CURSOR input mode provides several cursor modes for special forms of mouse motion input. By default, the cursor mode is GLFW_CURSOR_NORMAL, meaning the regular arrow cursor (or another cursor set with glfwSetCursor) is used and cursor motion is not limited.

    +

    If you wish to implement mouse motion based camera controls or other input schemes that require unlimited mouse movement, set the cursor mode to GLFW_CURSOR_DISABLED.

    +

    This will hide the cursor and lock it to the specified window. GLFW will then take care of all the details of cursor re-centering and offset calculation and providing the application with a virtual cursor position. This virtual position is provided normally via both the cursor position callback and through polling.

    +
    Note
    You should not implement your own version of this functionality using other features of GLFW. It is not supported and will not work as robustly as GLFW_CURSOR_DISABLED.
    +

    If you only wish the cursor to become hidden when it is over a window but still want it to behave normally, set the cursor mode to GLFW_CURSOR_HIDDEN.

    +

    This mode puts no limit on the motion of the cursor.

    +

    To exit out of either of these special modes, restore the GLFW_CURSOR_NORMAL cursor mode.

    +

    +

    +Raw mouse motion

    +

    When the cursor is disabled, raw (unscaled and unaccelerated) mouse motion can be enabled if available.

    +

    Raw mouse motion is closer to the actual motion of the mouse across a surface. It is not affected by the scaling and acceleration applied to the motion of the desktop cursor. That processing is suitable for a cursor while raw motion is better for controlling for example a 3D camera. Because of this, raw mouse motion is only provided when the cursor is disabled.

    +

    Call glfwRawMouseMotionSupported to check if the current machine provides raw motion and set the GLFW_RAW_MOUSE_MOTION input mode to enable it. It is disabled by default.

    +

    If supported, raw mouse motion can be enabled or disabled per-window and at any time but it will only be provided when the cursor is disabled.

    +

    +Cursor objects

    +

    GLFW supports creating both custom and system theme cursor images, encapsulated as GLFWcursor objects. They are created with glfwCreateCursor or glfwCreateStandardCursor and destroyed with glfwDestroyCursor, or glfwTerminate, if any remain.

    +

    +Custom cursor creation

    +

    A custom cursor is created with glfwCreateCursor, which returns a handle to the created cursor object. For example, this creates a 16x16 white square cursor with the hot-spot in the upper-left corner:

    +
    unsigned char pixels[16 * 16 * 4];
    +
    memset(pixels, 0xff, sizeof(pixels));
    +
    +
    GLFWimage image;
    +
    image.width = 16;
    +
    image.height = 16;
    +
    image.pixels = pixels;
    +
    +
    GLFWcursor* cursor = glfwCreateCursor(&image, 0, 0);
    +

    If cursor creation fails, NULL will be returned, so it is necessary to check the return value.

    +

    The image data is 32-bit, little-endian, non-premultiplied RGBA, i.e. eight bits per channel with the red channel first. The pixels are arranged canonically as sequential rows, starting from the top-left corner.

    +

    +Standard cursor creation

    +

    A cursor with a standard shape from the current system cursor theme can be can be created with glfwCreateStandardCursor.

    +

    These cursor objects behave in the exact same way as those created with glfwCreateCursor except that the system cursor theme provides the actual image.

    +

    +Cursor destruction

    +

    When a cursor is no longer needed, destroy it with glfwDestroyCursor.

    +

    Cursor destruction always succeeds. If the cursor is current for any window, that window will revert to the default cursor. This does not affect the cursor mode. All remaining cursors are destroyed when glfwTerminate is called.

    +

    +Cursor setting

    +

    A cursor can be set as current for a window with glfwSetCursor.

    +
    glfwSetCursor(window, cursor);
    +

    Once set, the cursor image will be used as long as the system cursor is over the content area of the window and the cursor mode is set to GLFW_CURSOR_NORMAL.

    +

    A single cursor may be set for any number of windows.

    +

    To revert to the default cursor, set the cursor of that window to NULL.

    +
    glfwSetCursor(window, NULL);
    +

    When a cursor is destroyed, any window that has it set will revert to the default cursor. This does not affect the cursor mode.

    +

    +Cursor enter/leave events

    +

    If you wish to be notified when the cursor enters or leaves the content area of a window, set a cursor enter/leave callback.

    +
    glfwSetCursorEnterCallback(window, cursor_enter_callback);
    +

    The callback function receives the new classification of the cursor.

    +
    void cursor_enter_callback(GLFWwindow* window, int entered)
    +
    {
    +
    if (entered)
    +
    {
    +
    // The cursor entered the content area of the window
    +
    }
    +
    else
    +
    {
    +
    // The cursor left the content area of the window
    +
    }
    +
    }
    +

    You can query whether the cursor is currently inside the content area of the window with the GLFW_HOVERED window attribute.

    +
    +
    {
    +
    highlight_interface();
    +
    }
    +

    +Mouse button input

    +

    If you wish to be notified when a mouse button is pressed or released, set a mouse button callback.

    +
    glfwSetMouseButtonCallback(window, mouse_button_callback);
    +

    The callback function receives the mouse button, button action and modifier bits.

    +
    void mouse_button_callback(GLFWwindow* window, int button, int action, int mods)
    +
    {
    +
    if (button == GLFW_MOUSE_BUTTON_RIGHT && action == GLFW_PRESS)
    +
    popup_menu();
    +
    }
    +

    The action is one of GLFW_PRESS or GLFW_RELEASE.

    +

    Mouse button states for named buttons are also saved in per-window state arrays that can be polled with glfwGetMouseButton.

    +
    +
    if (state == GLFW_PRESS)
    +
    {
    +
    upgrade_cow();
    +
    }
    +

    The returned state is one of GLFW_PRESS or GLFW_RELEASE.

    +

    This function only returns cached mouse button event state. It does not poll the system for the current state of the mouse button.

    +

    Whenever you poll state, you risk missing the state change you are looking for. If a pressed mouse button is released again before you poll its state, you will have missed the button press. The recommended solution for this is to use a mouse button callback, but there is also the GLFW_STICKY_MOUSE_BUTTONS input mode.

    +

    When sticky mouse buttons mode is enabled, the pollable state of a mouse button will remain GLFW_PRESS until the state of that button is polled with glfwGetMouseButton. Once it has been polled, if a mouse button release event had been processed in the meantime, the state will reset to GLFW_RELEASE, otherwise it will remain GLFW_PRESS.

    +

    The GLFW_MOUSE_BUTTON_LAST constant holds the highest value of any named button.

    +

    +Scroll input

    +

    If you wish to be notified when the user scrolls, whether with a mouse wheel or touchpad gesture, set a scroll callback.

    +
    glfwSetScrollCallback(window, scroll_callback);
    +

    The callback function receives two-dimensional scroll offsets.

    +
    void scroll_callback(GLFWwindow* window, double xoffset, double yoffset)
    +
    {
    +
    }
    +

    A normal mouse wheel, being vertical, provides offsets along the Y-axis.

    +

    +Joystick input

    +

    The joystick functions expose connected joysticks and controllers, with both referred to as joysticks. It supports up to sixteen joysticks, ranging from GLFW_JOYSTICK_1, GLFW_JOYSTICK_2 up to and including GLFW_JOYSTICK_16 or GLFW_JOYSTICK_LAST. You can test whether a joystick is present with glfwJoystickPresent.

    +

    Each joystick has zero or more axes, zero or more buttons, zero or more hats, a human-readable name, a user pointer and an SDL compatible GUID.

    +

    When GLFW is initialized, detected joysticks are added to the beginning of the array. Once a joystick is detected, it keeps its assigned ID until it is disconnected or the library is terminated, so as joysticks are connected and disconnected, there may appear gaps in the IDs.

    +

    Joystick axis, button and hat state is updated when polled and does not require a window to be created or events to be processed. However, if you want joystick connection and disconnection events reliably delivered to the joystick callback then you must process events.

    +

    To see all the properties of all connected joysticks in real-time, run the joysticks test program.

    +

    +Joystick axis states

    +

    The positions of all axes of a joystick are returned by glfwGetJoystickAxes. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    +
    const float* axes = glfwGetJoystickAxes(GLFW_JOYSTICK_5, &count);
    +

    Each element in the returned array is a value between -1.0 and 1.0.

    +

    +Joystick button states

    +

    The states of all buttons of a joystick are returned by glfwGetJoystickButtons. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    +
    const unsigned char* buttons = glfwGetJoystickButtons(GLFW_JOYSTICK_3, &count);
    +

    Each element in the returned array is either GLFW_PRESS or GLFW_RELEASE.

    +

    For backward compatibility with earlier versions that did not have glfwGetJoystickHats, the button array by default also includes all hats. See the reference documentation for glfwGetJoystickButtons for details.

    +

    +Joystick hat states

    +

    The states of all hats are returned by glfwGetJoystickHats. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    +
    const unsigned char* hats = glfwGetJoystickHats(GLFW_JOYSTICK_7, &count);
    +

    Each element in the returned array is one of the following:

    + + + + + + + + + + + + + + + + + + + + + +
    Name Value
    GLFW_HAT_CENTERED 0
    GLFW_HAT_UP 1
    GLFW_HAT_RIGHT 2
    GLFW_HAT_DOWN 4
    GLFW_HAT_LEFT 8
    GLFW_HAT_RIGHT_UP GLFW_HAT_RIGHT | GLFW_HAT_UP
    GLFW_HAT_RIGHT_DOWN GLFW_HAT_RIGHT | GLFW_HAT_DOWN
    GLFW_HAT_LEFT_UP GLFW_HAT_LEFT | GLFW_HAT_UP
    GLFW_HAT_LEFT_DOWN GLFW_HAT_LEFT | GLFW_HAT_DOWN
    +

    The diagonal directions are bitwise combinations of the primary (up, right, down and left) directions and you can test for these individually by ANDing it with the corresponding direction.

    +
    if (hats[2] & GLFW_HAT_RIGHT)
    +
    {
    +
    // State of hat 2 could be right-up, right or right-down
    +
    }
    +

    For backward compatibility with earlier versions that did not have glfwGetJoystickHats, all hats are by default also included in the button array. See the reference documentation for glfwGetJoystickButtons for details.

    +

    +Joystick name

    +

    The human-readable, UTF-8 encoded name of a joystick is returned by glfwGetJoystickName. See the reference documentation for the lifetime of the returned string.

    +
    +

    Joystick names are not guaranteed to be unique. Two joysticks of the same model and make may have the same name. Only the joystick ID is guaranteed to be unique, and only until that joystick is disconnected.

    +

    +Joystick user pointer

    +

    Each joystick has a user pointer that can be set with glfwSetJoystickUserPointer and queried with glfwGetJoystickUserPointer. This can be used for any purpose you need and will not be modified by GLFW. The value will be kept until the joystick is disconnected or until the library is terminated.

    +

    The initial value of the pointer is NULL.

    +

    +Joystick configuration changes

    +

    If you wish to be notified when a joystick is connected or disconnected, set a joystick callback.

    +
    glfwSetJoystickCallback(joystick_callback);
    +

    The callback function receives the ID of the joystick that has been connected and disconnected and the event that occurred.

    +
    void joystick_callback(int jid, int event)
    +
    {
    +
    if (event == GLFW_CONNECTED)
    +
    {
    +
    // The joystick was connected
    +
    }
    +
    else if (event == GLFW_DISCONNECTED)
    +
    {
    +
    // The joystick was disconnected
    +
    }
    +
    }
    +

    For joystick connection and disconnection events to be delivered on all platforms, you need to call one of the event processing functions. Joystick disconnection may also be detected and the callback called by joystick functions. The function will then return whatever it returns for a disconnected joystick.

    +

    Only glfwGetJoystickName and glfwGetJoystickUserPointer will return useful values for a disconnected joystick and only before the monitor callback returns.

    +

    +Gamepad input

    +

    The joystick functions provide unlabeled axes, buttons and hats, with no indication of where they are located on the device. Their order may also vary between platforms even with the same device.

    +

    To solve this problem the SDL community crowdsourced the SDL_GameControllerDB project, a database of mappings from many different devices to an Xbox-like gamepad.

    +

    GLFW supports this mapping format and contains a copy of the mappings available at the time of release. See Gamepad mappings for how to update this at runtime. Mappings will be assigned to joysticks automatically any time a joystick is connected or the mappings are updated.

    +

    You can check whether a joystick is both present and has a gamepad mapping with glfwJoystickIsGamepad.

    +
    +
    {
    +
    // Use as gamepad
    +
    }
    +

    If you are only interested in gamepad input you can use this function instead of glfwJoystickPresent.

    +

    You can query the human-readable name provided by the gamepad mapping with glfwGetGamepadName. This may or may not be the same as the joystick name.

    +
    const char* name = glfwGetGamepadName(GLFW_JOYSTICK_7);
    +

    To retrieve the gamepad state of a joystick, call glfwGetGamepadState.

    +
    +
    + +
    {
    + +
    {
    +
    input_jump();
    +
    }
    +
    + +
    }
    +

    The GLFWgamepadstate struct has two arrays; one for button states and one for axis states. The values for each button and axis are the same as for the glfwGetJoystickButtons and glfwGetJoystickAxes functions, i.e. GLFW_PRESS or GLFW_RELEASE for buttons and -1.0 to 1.0 inclusive for axes.

    +

    The sizes of the arrays and the positions within each array are fixed.

    +

    The button indices are GLFW_GAMEPAD_BUTTON_A, GLFW_GAMEPAD_BUTTON_B, GLFW_GAMEPAD_BUTTON_X, GLFW_GAMEPAD_BUTTON_Y, GLFW_GAMEPAD_BUTTON_LEFT_BUMPER, GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER, GLFW_GAMEPAD_BUTTON_BACK, GLFW_GAMEPAD_BUTTON_START, GLFW_GAMEPAD_BUTTON_GUIDE, GLFW_GAMEPAD_BUTTON_LEFT_THUMB, GLFW_GAMEPAD_BUTTON_RIGHT_THUMB, GLFW_GAMEPAD_BUTTON_DPAD_UP, GLFW_GAMEPAD_BUTTON_DPAD_RIGHT, GLFW_GAMEPAD_BUTTON_DPAD_DOWN and GLFW_GAMEPAD_BUTTON_DPAD_LEFT.

    +

    For those who prefer, there are also the GLFW_GAMEPAD_BUTTON_CROSS, GLFW_GAMEPAD_BUTTON_CIRCLE, GLFW_GAMEPAD_BUTTON_SQUARE and GLFW_GAMEPAD_BUTTON_TRIANGLE aliases for the A, B, X and Y button indices.

    +

    The axis indices are GLFW_GAMEPAD_AXIS_LEFT_X, GLFW_GAMEPAD_AXIS_LEFT_Y, GLFW_GAMEPAD_AXIS_RIGHT_X, GLFW_GAMEPAD_AXIS_RIGHT_Y, GLFW_GAMEPAD_AXIS_LEFT_TRIGGER and GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER.

    +

    The GLFW_GAMEPAD_BUTTON_LAST and GLFW_GAMEPAD_AXIS_LAST constants equal the largest available index for each array.

    +

    +Gamepad mappings

    +

    GLFW contains a copy of the mappings available in SDL_GameControllerDB at the time of release. Newer ones can be added at runtime with glfwUpdateGamepadMappings.

    +
    const char* mappings = load_file_contents("game/data/gamecontrollerdb.txt");
    +
    + +

    This function supports everything from single lines up to and including the unmodified contents of the whole gamecontrollerdb.txt file.

    +

    Below is a description of the mapping format. Please keep in mind that this description is not authoritative. The format is defined by the SDL and SDL_GameControllerDB projects and their documentation and code takes precedence.

    +

    Each mapping is a single line of comma-separated values describing the GUID, name and layout of the gamepad. Lines that do not begin with a hexadecimal digit are ignored.

    +

    The first value is always the gamepad GUID, a 32 character long hexadecimal string that typically identifies its make, model, revision and the type of connection to the computer. When this information is not available, the GUID is generated using the gamepad name. GLFW uses the SDL 2.0.5+ GUID format but can convert from the older formats.

    +

    The second value is always the human-readable name of the gamepad.

    +

    All subsequent values are in the form <field>:<value> and describe the layout of the mapping. These fields may not all be present and may occur in any order.

    +

    The button fields are a, b, c, d, back, start, guide, dpup, dpright, dpdown, dpleft, leftshoulder, rightshoulder, leftstick and rightstick.

    +

    The axis fields are leftx, lefty, rightx, righty, lefttrigger and righttrigger.

    +

    The value of an axis or button field can be a joystick button, a joystick axis, a hat bitmask or empty. Joystick buttons are specified as bN, for example b2 for the third button. Joystick axes are specified as aN, for example a7 for the eighth button. Joystick hat bit masks are specified as hN.N, for example h0.8 for left on the first hat. More than one bit may be set in the mask.

    +

    Before an axis there may be a + or - range modifier, for example +a3 for the positive half of the fourth axis. This restricts input to only the positive or negative halves of the joystick axis. After an axis or half-axis there may be the ~ inversion modifier, for example a2~ or -a7~. This negates the values of the gamepad axis.

    +

    The hat bit mask match the hat states in the joystick functions.

    +

    There is also the special platform field that specifies which platform the mapping is valid for. Possible values are Windows, Mac OS X and Linux.

    +

    Below is an example of what a gamepad mapping might look like. It is the one built into GLFW for Xbox controllers accessed via the XInput API on Windows. This example has been broken into several lines to fit on the page, but real gamepad mappings must be a single line.

    +
    78696e70757401000000000000000000,XInput Gamepad (GLFW),platform:Windows,a:b0,
    +
    b:b1,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,back:b6,start:b7,leftstick:b8,
    +
    rightstick:b9,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,
    +
    righttrigger:a5,dpup:h0.1,dpright:h0.2,dpdown:h0.4,dpleft:h0.8,
    +
    Note
    GLFW does not yet support the output range and modifiers + and - that were recently added to SDL. The input modifiers +, - and ~ are supported and described above.
    +

    +Time input

    +

    GLFW provides high-resolution time input, in seconds, with glfwGetTime.

    +
    double seconds = glfwGetTime();
    +

    It returns the number of seconds since the library was initialized with glfwInit. The platform-specific time sources used typically have micro- or nanosecond resolution.

    +

    You can modify the base time with glfwSetTime.

    +
    +

    This sets the time to the specified time, in seconds, and it continues to count from there.

    +

    You can also access the raw timer used to implement the functions above, with glfwGetTimerValue.

    +
    uint64_t value = glfwGetTimerValue();
    +

    This value is in 1 / frequency seconds. The frequency of the raw timer varies depending on the operating system and hardware. You can query the frequency, in Hz, with glfwGetTimerFrequency.

    +
    uint64_t frequency = glfwGetTimerFrequency();
    +

    +Clipboard input and output

    +

    If the system clipboard contains a UTF-8 encoded string or if it can be converted to one, you can retrieve it with glfwGetClipboardString. See the reference documentation for the lifetime of the returned string.

    +
    const char* text = glfwGetClipboardString(NULL);
    +
    if (text)
    +
    {
    +
    insert_text(text);
    +
    }
    +

    If the clipboard is empty or if its contents could not be converted, NULL is returned.

    +

    The contents of the system clipboard can be set to a UTF-8 encoded string with glfwSetClipboardString.

    +
    glfwSetClipboardString(NULL, "A string with words in it");
    +

    +Path drop input

    +

    If you wish to receive the paths of files and/or directories dropped on a window, set a file drop callback.

    +
    glfwSetDropCallback(window, drop_callback);
    +

    The callback function receives an array of paths encoded as UTF-8.

    +
    void drop_callback(GLFWwindow* window, int count, const char** paths)
    +
    {
    +
    int i;
    +
    for (i = 0; i < count; i++)
    +
    handle_dropped_file(paths[i]);
    +
    }
    +

    The path array and its strings are only valid until the file drop callback returns, as they may have been generated specifically for that event. You need to make a deep copy of the array if you want to keep the paths.

    +
    +
    +
    #define GLFW_JOYSTICK_7
    Definition: glfw3.h:591
    +
    int glfwGetGamepadState(int jid, GLFWgamepadstate *state)
    Retrieves the state of the specified joystick remapped as a gamepad.
    +
    #define GLFW_CURSOR_DISABLED
    Definition: glfw3.h:1049
    +
    #define GLFW_CURSOR_NORMAL
    Definition: glfw3.h:1047
    +
    #define GLFW_CURSOR
    Definition: glfw3.h:1041
    +
    #define GLFW_CURSOR_HIDDEN
    Definition: glfw3.h:1048
    +
    #define GLFW_STICKY_KEYS
    Definition: glfw3.h:1042
    +
    #define GLFW_JOYSTICK_5
    Definition: glfw3.h:589
    +
    double glfwGetTime(void)
    Returns the GLFW time.
    +
    int glfwUpdateGamepadMappings(const char *string)
    Adds the specified SDL_GameControllerDB gamepad mappings.
    +
    const char * glfwGetJoystickName(int jid)
    Returns the name of the specified joystick.
    +
    int glfwGetMouseButton(GLFWwindow *window, int button)
    Returns the last reported state of a mouse button for the specified window.
    +
    int glfwGetKeyScancode(int key)
    Returns the platform-specific scancode of the specified key.
    +
    GLFWcursor * glfwCreateCursor(const GLFWimage *image, int xhot, int yhot)
    Creates a custom cursor.
    +
    #define GLFW_PRESS
    The key or mouse button was pressed.
    Definition: glfw3.h:331
    +
    const char * glfwGetKeyName(int key, int scancode)
    Returns the layout-specific name of the specified printable key.
    +
    int height
    Definition: glfw3.h:1719
    +
    void glfwSetInputMode(GLFWwindow *window, int mode, int value)
    Sets an input option for the specified window.
    +
    #define GLFW_HOVERED
    Mouse cursor hover window attribute.
    Definition: glfw3.h:848
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1177
    +
    #define GLFW_KEY_W
    Definition: glfw3.h:427
    +
    #define GLFW_KEY_E
    Definition: glfw3.h:409
    +
    GLFWmousebuttonfun glfwSetMouseButtonCallback(GLFWwindow *window, GLFWmousebuttonfun callback)
    Sets the mouse button callback.
    +
    const unsigned char * glfwGetJoystickHats(int jid, int *count)
    Returns the state of all hats of the specified joystick.
    +
    const char * glfwGetGamepadName(int jid)
    Returns the human-readable gamepad name for the specified joystick.
    +
    #define GLFW_JOYSTICK_1
    Definition: glfw3.h:585
    +
    void glfwSetTime(double time)
    Sets the GLFW time.
    +
    void glfwGetCursorPos(GLFWwindow *window, double *xpos, double *ypos)
    Retrieves the position of the cursor relative to the content area of the window.
    +
    int glfwJoystickIsGamepad(int jid)
    Returns whether the specified joystick has a gamepad mapping.
    +
    void glfwPollEvents(void)
    Processes all pending events.
    +
    void glfwWaitEvents(void)
    Waits until events are queued and processes them.
    +
    void glfwDestroyCursor(GLFWcursor *cursor)
    Destroys a cursor.
    +
    const unsigned char * glfwGetJoystickButtons(int jid, int *count)
    Returns the state of all buttons of the specified joystick.
    +
    #define GLFW_STICKY_MOUSE_BUTTONS
    Definition: glfw3.h:1043
    +
    GLFWcharfun glfwSetCharCallback(GLFWwindow *window, GLFWcharfun callback)
    Sets the Unicode character callback.
    +
    const char * glfwGetClipboardString(GLFWwindow *window)
    Returns the contents of the clipboard as a string.
    +
    GLFWcursorenterfun glfwSetCursorEnterCallback(GLFWwindow *window, GLFWcursorenterfun callback)
    Sets the cursor enter/leave callback.
    +
    void glfwSetCursor(GLFWwindow *window, GLFWcursor *cursor)
    Sets the cursor for the window.
    +
    int glfwRawMouseMotionSupported(void)
    Returns whether raw mouse motion is supported.
    +
    unsigned char * pixels
    Definition: glfw3.h:1722
    +
    #define GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER
    Definition: glfw3.h:646
    +
    #define GLFW_JOYSTICK_4
    Definition: glfw3.h:588
    +
    #define GLFW_TRUE
    One.
    Definition: glfw3.h:305
    +
    int glfwJoystickPresent(int jid)
    Returns whether the specified joystick is present.
    +
    unsigned char buttons[15]
    Definition: glfw3.h:1741
    +
    #define GLFW_DISCONNECTED
    Definition: glfw3.h:1100
    +
    #define GLFW_GAMEPAD_BUTTON_A
    Definition: glfw3.h:611
    +
    uint64_t glfwGetTimerValue(void)
    Returns the current value of the raw timer.
    +
    GLFWcursorposfun glfwSetCursorPosCallback(GLFWwindow *window, GLFWcursorposfun callback)
    Sets the cursor position callback.
    +
    uint64_t glfwGetTimerFrequency(void)
    Returns the frequency, in Hz, of the raw timer.
    +
    #define GLFW_MOUSE_BUTTON_LEFT
    Definition: glfw3.h:573
    +
    int width
    Definition: glfw3.h:1716
    +
    void glfwWaitEventsTimeout(double timeout)
    Waits with timeout until events are queued and processes them.
    +
    GLFWjoystickfun glfwSetJoystickCallback(GLFWjoystickfun callback)
    Sets the joystick configuration callback.
    +
    Gamepad input state.
    Definition: glfw3.h:1736
    +
    #define GLFW_JOYSTICK_3
    Definition: glfw3.h:587
    +
    struct GLFWcursor GLFWcursor
    Opaque cursor object.
    Definition: glfw3.h:1189
    +
    #define GLFW_RAW_MOUSE_MOTION
    Definition: glfw3.h:1045
    +
    GLFWcursor * glfwCreateStandardCursor(int shape)
    Creates a cursor with a standard shape.
    +
    float axes[6]
    Definition: glfw3.h:1745
    +
    Image data.
    Definition: glfw3.h:1712
    +
    #define GLFW_HRESIZE_CURSOR
    The horizontal resize arrow shape.
    Definition: glfw3.h:1091
    +
    #define GLFW_CONNECTED
    Definition: glfw3.h:1099
    +
    GLFWdropfun glfwSetDropCallback(GLFWwindow *window, GLFWdropfun callback)
    Sets the path drop callback.
    +
    GLFWkeyfun glfwSetKeyCallback(GLFWwindow *window, GLFWkeyfun callback)
    Sets the key callback.
    +
    #define GLFW_HAT_RIGHT
    Definition: glfw3.h:350
    +
    #define GLFW_JOYSTICK_2
    Definition: glfw3.h:586
    +
    #define GLFW_MOUSE_BUTTON_RIGHT
    Definition: glfw3.h:574
    +
    void glfwPostEmptyEvent(void)
    Posts an empty event to the event queue.
    +
    int glfwGetWindowAttrib(GLFWwindow *window, int attrib)
    Returns an attribute of the specified window.
    +
    GLFWscrollfun glfwSetScrollCallback(GLFWwindow *window, GLFWscrollfun callback)
    Sets the scroll callback.
    +
    int glfwGetKey(GLFWwindow *window, int key)
    Returns the last reported state of a keyboard key for the specified window.
    +
    const float * glfwGetJoystickAxes(int jid, int *count)
    Returns the values of all axes of the specified joystick.
    +
    void glfwSetClipboardString(GLFWwindow *window, const char *string)
    Sets the clipboard to the specified string.
    +
    #define GLFW_KEY_X
    Definition: glfw3.h:428
    +
    #define GLFW_LOCK_KEY_MODS
    Definition: glfw3.h:1044
    + + + diff --git a/docs/3.3/internal_8dox.html b/docs/3.3/internal_8dox.html new file mode 100644 index 0000000..5020f30 --- /dev/null +++ b/docs/3.3/internal_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: internal.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    internal.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.3/internals.html b/docs/3.3/internals.html new file mode 120000 index 0000000..9fc7462 --- /dev/null +++ b/docs/3.3/internals.html @@ -0,0 +1 @@ +internals_guide.html \ No newline at end of file diff --git a/docs/3.3/internals_guide.html b/docs/3.3/internals_guide.html new file mode 100644 index 0000000..237f422 --- /dev/null +++ b/docs/3.3/internals_guide.html @@ -0,0 +1,125 @@ + + + + + + + +GLFW: Internal structure + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Internal structure
    +
    +
    + +

    There are several interfaces inside GLFW. Each interface has its own area of responsibility and its own naming conventions.

    +

    +Public interface

    +

    The most well-known is the public interface, described in the glfw3.h header file. This is implemented in source files shared by all platforms and these files contain no platform-specific code. This code usually ends up calling the platform and internal interfaces to do the actual work.

    +

    The public interface uses the OpenGL naming conventions except with GLFW and glfw instead of GL and gl. For struct members, where OpenGL sets no precedent, it use headless camel case.

    +

    Examples: glfwCreateWindow, GLFWwindow, GLFW_RED_BITS

    +

    +Native interface

    +

    The native interface is a small set of publicly available but platform-specific functions, described in the glfw3native.h header file and used to gain access to the underlying window, context and (on some platforms) display handles used by the platform interface.

    +

    The function names of the native interface are similar to those of the public interface, but embeds the name of the interface that the returned handle is from.

    +

    Examples: glfwGetX11Window, glfwGetWGLContext

    +

    +Internal interface

    +

    The internal interface consists of utility functions used by all other interfaces. It is shared code implemented in the same shared source files as the public and event interfaces. The internal interface is described in the internal.h header file.

    +

    The internal interface is in charge of GLFW's global data, which it stores in a _GLFWlibrary struct named _glfw.

    +

    The internal interface uses the same style as the public interface, except all global names have a leading underscore.

    +

    Examples: _glfwIsValidContextConfig, _GLFWwindow, _glfw.monitorCount

    +

    +Platform interface

    +

    The platform interface implements all platform-specific operations as a service to the public interface. This includes event processing. The platform interface is never directly called by application code and never directly calls application-provided callbacks. It is also prohibited from modifying the platform-independent part of the internal structs. Instead, it calls the event interface when events interesting to GLFW are received.

    +

    The platform interface mirrors those parts of the public interface that needs to perform platform-specific operations on some or all platforms. The are also named the same except that the glfw function prefix is replaced by _glfwPlatform.

    +

    Examples: _glfwPlatformCreateWindow

    +

    The platform interface also defines structs that contain platform-specific global and per-object state. Their names mirror those of the internal interface, except that an interface-specific suffix is added.

    +

    Examples: _GLFWwindowX11, _GLFWcontextWGL

    +

    These structs are incorporated as members into the internal interface structs using special macros that name them after the specific interface used. This prevents shared code from accidentally using these members.

    +

    Examples: window->win32.handle, _glfw.x11.display

    +

    +Event interface

    +

    The event interface is implemented in the same shared source files as the public interface and is responsible for delivering the events it receives to the application, either via callbacks, via window state changes or both.

    +

    The function names of the event interface use a _glfwInput prefix and the ObjectEvent pattern.

    +

    Examples: _glfwInputWindowFocus, _glfwInputCursorPos

    +

    +Static functions

    +

    Static functions may be used by any interface and have no prefixes or suffixes. These use headless camel case.

    +

    Examples: isValidElementForJoystick

    +

    +Configuration macros

    +

    GLFW uses a number of configuration macros to select at compile time which interfaces and code paths to use. They are defined in the glfw_config.h header file, which is generated from the glfw_config.h.in file by CMake.

    +

    Configuration macros the same style as tokens in the public interface, except with a leading underscore.

    +

    Examples: _GLFW_WIN32, _GLFW_BUILD_DLL

    +
    +
    + + + diff --git a/docs/3.3/intro.html b/docs/3.3/intro.html new file mode 120000 index 0000000..09559bf --- /dev/null +++ b/docs/3.3/intro.html @@ -0,0 +1 @@ +intro_guide.html \ No newline at end of file diff --git a/docs/3.3/intro_8dox.html b/docs/3.3/intro_8dox.html new file mode 100644 index 0000000..e4f0182 --- /dev/null +++ b/docs/3.3/intro_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: intro.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    intro.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.3/intro_guide.html b/docs/3.3/intro_guide.html new file mode 100644 index 0000000..0b7dca0 --- /dev/null +++ b/docs/3.3/intro_guide.html @@ -0,0 +1,329 @@ + + + + + + + +GLFW: Introduction to the API + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Introduction to the API
    +
    +
    + +

    This guide introduces the basic concepts of GLFW and describes initialization, error handling and API guarantees and limitations. For a broad but shallow tutorial, see Getting started instead. For details on a specific function in this category, see the Initialization, version and error reference.

    +

    There are also guides for the other areas of GLFW.

    + +

    +Initialization and termination

    +

    Before most GLFW functions may be called, the library must be initialized. This initialization checks what features are available on the machine, enumerates monitors and joysticks, initializes the timer and performs any required platform-specific initialization.

    +

    Only the following functions may be called before the library has been successfully initialized, and only from the main thread.

    + +

    Calling any other function before successful initialization will cause a GLFW_NOT_INITIALIZED error.

    +

    +Initializing GLFW

    +

    The library is initialized with glfwInit, which returns GLFW_FALSE if an error occurred.

    +
    if (!glfwInit())
    +
    {
    +
    // Handle initialization failure
    +
    }
    +

    If any part of initialization fails, any parts that succeeded are terminated as if glfwTerminate had been called. The library only needs to be initialized once and additional calls to an already initialized library will return GLFW_TRUE immediately.

    +

    Once the library has been successfully initialized, it should be terminated before the application exits. Modern systems are very good at freeing resources allocated by programs that exit, but GLFW sometimes has to change global system settings and these might not be restored without termination.

    +

    +Initialization hints

    +

    Initialization hints are set before glfwInit and affect how the library behaves until termination. Hints are set with glfwInitHint.

    +

    The values you set hints to are never reset by GLFW, but they only take effect during initialization. Once GLFW has been initialized, any values you set will be ignored until the library is terminated and initialized again.

    +

    Some hints are platform specific. These may be set on any platform but they will only affect their specific platform. Other platforms will ignore them. Setting these hints requires no platform specific headers or functions.

    +

    +Shared init hints

    +

    GLFW_JOYSTICK_HAT_BUTTONS specifies whether to also expose joystick hats as buttons, for compatibility with earlier versions of GLFW that did not have glfwGetJoystickHats. Set this with glfwInitHint.

    +

    +macOS specific init hints

    +

    GLFW_COCOA_CHDIR_RESOURCES specifies whether to set the current directory to the application to the Contents/Resources subdirectory of the application's bundle, if present. Set this with glfwInitHint.

    +

    GLFW_COCOA_MENUBAR specifies whether to create a basic menu bar, either from a nib or manually, when the first window is created, which is when AppKit is initialized. Set this with glfwInitHint.

    +

    +Supported and default values

    + + + + + + + + + +
    Initialization hint Default value Supported values
    GLFW_JOYSTICK_HAT_BUTTONS GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_COCOA_CHDIR_RESOURCES GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_COCOA_MENUBAR GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    +

    +Terminating GLFW

    +

    Before your application exits, you should terminate the GLFW library if it has been initialized. This is done with glfwTerminate.

    +

    This will destroy any remaining window, monitor and cursor objects, restore any modified gamma ramps, re-enable the screensaver if it had been disabled and free any other resources allocated by GLFW.

    +

    Once the library is terminated, it is as if it had never been initialized and you will need to initialize it again before being able to use GLFW. If the library was not initialized or had already been terminated, it return immediately.

    +

    +Error handling

    +

    Some GLFW functions have return values that indicate an error, but this is often not very helpful when trying to figure out what happened or why it occurred. Other functions have no return value reserved for errors, so error notification needs a separate channel. Finally, far from all GLFW functions have return values.

    +

    The last error code for the calling thread can be queried at any time with glfwGetError.

    +
    int code = glfwGetError(NULL);
    +
    +
    if (code != GLFW_NO_ERROR)
    +
    handle_error(code);
    +

    If no error has occurred since the last call, GLFW_NO_ERROR (zero) is returned. The error is cleared before the function returns.

    +

    The error code indicates the general category of the error. Some error codes, such as GLFW_NOT_INITIALIZED has only a single meaning, whereas others like GLFW_PLATFORM_ERROR are used for many different errors.

    +

    GLFW often has more information about an error than its general category. You can retrieve a UTF-8 encoded human-readable description along with the error code. If no error has occurred since the last call, the description is set to NULL.

    +
    const char* description;
    +
    int code = glfwGetError(&description);
    +
    +
    if (description)
    +
    display_error_message(code, description);
    +

    The retrieved description string is only valid until the next error occurs. This means you must make a copy of it if you want to keep it.

    +

    You can also set an error callback, which will be called each time an error occurs. It is set with glfwSetErrorCallback.

    +
    glfwSetErrorCallback(error_callback);
    +

    The error callback receives the same error code and human-readable description returned by glfwGetError.

    +
    void error_callback(int code, const char* description)
    +
    {
    +
    display_error_message(code, description);
    +
    }
    +

    The error callback is called after the error is stored, so calling glfwGetError from within the error callback returns the same values as the callback argument.

    +

    The description string passed to the callback is only valid until the error callback returns. This means you must make a copy of it if you want to keep it.

    +

    Reported errors are never fatal. As long as GLFW was successfully initialized, it will remain initialized and in a safe state until terminated regardless of how many errors occur. If an error occurs during initialization that causes glfwInit to fail, any part of the library that was initialized will be safely terminated.

    +

    Do not rely on a currently invalid call to generate a specific error, as in the future that same call may generate a different error or become valid.

    +

    +Coordinate systems

    +

    GLFW has two primary coordinate systems: the virtual screen and the window content area or content area. Both use the same unit: virtual screen coordinates, or just screen coordinates, which don't necessarily correspond to pixels.

    +

    +

    Both the virtual screen and the content area coordinate systems have the X-axis pointing to the right and the Y-axis pointing down.

    +

    Window and monitor positions are specified as the position of the upper-left corners of their content areas relative to the virtual screen, while cursor positions are specified relative to a window's content area.

    +

    Because the origin of the window's content area coordinate system is also the point from which the window position is specified, you can translate content area coordinates to the virtual screen by adding the window position. The window frame, when present, extends out from the content area but does not affect the window position.

    +

    Almost all positions and sizes in GLFW are measured in screen coordinates relative to one of the two origins above. This includes cursor positions, window positions and sizes, window frame sizes, monitor positions and video mode resolutions.

    +

    Two exceptions are the monitor physical size, which is measured in millimetres, and framebuffer size, which is measured in pixels.

    +

    Pixels and screen coordinates may map 1:1 on your machine, but they won't on every other machine, for example on a Mac with a Retina display. The ratio between screen coordinates and pixels may also change at run-time depending on which monitor the window is currently considered to be on.

    +

    +Guarantees and limitations

    +

    This section describes the conditions under which GLFW can be expected to function, barring bugs in the operating system or drivers. Use of GLFW outside of these limits may work on some platforms, or on some machines, or some of the time, or on some versions of GLFW, but it may break at any time and this will not be considered a bug.

    +

    +Pointer lifetimes

    +

    GLFW will never free any pointer you provide to it and you must never free any pointer it provides to you.

    +

    Many GLFW functions return pointers to dynamically allocated structures, strings or arrays, and some callbacks are provided with strings or arrays. These are always managed by GLFW and should never be freed by the application. The lifetime of these pointers is documented for each GLFW function and callback. If you need to keep this data, you must copy it before its lifetime expires.

    +

    Many GLFW functions accept pointers to structures or strings allocated by the application. These are never freed by GLFW and are always the responsibility of the application. If GLFW needs to keep the data in these structures or strings, it is copied before the function returns.

    +

    Pointer lifetimes are guaranteed not to be shortened in future minor or patch releases.

    +

    +Reentrancy

    +

    GLFW event processing and object destruction are not reentrant. This means that the following functions must not be called from any callback function:

    + +

    These functions may be made reentrant in future minor or patch releases, but functions not on this list will not be made non-reentrant.

    +

    +Thread safety

    +

    Most GLFW functions must only be called from the main thread (the thread that calls main), but some may be called from any thread once the library has been initialized. Before initialization the whole library is thread-unsafe.

    +

    The reference documentation for every GLFW function states whether it is limited to the main thread.

    +

    Initialization, termination, event processing and the creation and destruction of windows, cursors and OpenGL and OpenGL ES contexts are all restricted to the main thread due to limitations of one or several platforms.

    +

    Because event processing must be performed on the main thread, all callbacks except for the error callback will only be called on that thread. The error callback may be called on any thread, as any GLFW function may generate errors.

    +

    The error code and description may be queried from any thread.

    + +

    Empty events may be posted from any thread.

    + +

    The window user pointer and close flag may be read and written from any thread, but this is not synchronized by GLFW.

    + +

    These functions for working with OpenGL and OpenGL ES contexts may be called from any thread, but the window object is not synchronized by GLFW.

    + +

    The raw timer functions may be called from any thread.

    + +

    The regular timer may be used from any thread, but reading and writing the timer offset is not synchronized by GLFW.

    + +

    Library version information may be queried from any thread.

    + +

    All Vulkan related functions may be called from any thread.

    + +

    GLFW uses synchronization objects internally only to manage the per-thread context and error states. Additional synchronization is left to the application.

    +

    Functions that may currently be called from any thread will always remain so, but functions that are currently limited to the main thread may be updated to allow calls from any thread in future releases.

    +

    +Version compatibility

    +

    GLFW uses Semantic Versioning. This guarantees source and binary backward compatibility with earlier minor versions of the API. This means that you can drop in a newer version of the library and existing programs will continue to compile and existing binaries will continue to run.

    +

    Once a function or constant has been added, the signature of that function or value of that constant will remain unchanged until the next major version of GLFW. No compatibility of any kind is guaranteed between major versions.

    +

    Undocumented behavior, i.e. behavior that is not described in the documentation, may change at any time until it is documented.

    +

    If the reference documentation and the implementation differ, the reference documentation will almost always take precedence and the implementation will be fixed in the next release. The reference documentation will also take precedence over anything stated in a guide.

    +

    +Event order

    +

    The order of arrival of related events is not guaranteed to be consistent across platforms. The exception is synthetic key and mouse button release events, which are always delivered after the window defocus event.

    +

    +Version management

    +

    GLFW provides mechanisms for identifying what version of GLFW your application was compiled against as well as what version it is currently running against. If you are loading GLFW dynamically (not just linking dynamically), you can use this to verify that the library binary is compatible with your application.

    +

    +Compile-time version

    +

    The compile-time version of GLFW is provided by the GLFW header with the GLFW_VERSION_MAJOR, GLFW_VERSION_MINOR and GLFW_VERSION_REVISION macros.

    +
    printf("Compiled against GLFW %i.%i.%i\n",
    + + + +

    +Run-time version

    +

    The run-time version can be retrieved with glfwGetVersion, a function that may be called regardless of whether GLFW is initialized.

    +
    int major, minor, revision;
    +
    glfwGetVersion(&major, &minor, &revision);
    +
    +
    printf("Running against GLFW %i.%i.%i\n", major, minor, revision);
    +

    +Version string

    +

    GLFW 3 also provides a compile-time generated version string that describes the version, platform, compiler and any platform-specific compile-time options. This is primarily intended for submitting bug reports, to allow developers to see which code paths are enabled in a binary.

    +

    The version string is returned by glfwGetVersionString, a function that may be called regardless of whether GLFW is initialized.

    +

    Do not use the version string to parse the GLFW library version. The glfwGetVersion function already provides the version of the running library binary.

    +

    The format of the string is as follows:

      +
    • The version of GLFW
    • +
    • The name of the window system API
    • +
    • The name of the context creation API
    • +
    • Any additional options or APIs
    • +
    +

    For example, when compiling GLFW 3.0 with MinGW using the Win32 and WGL back ends, the version string may look something like this:

    +
    3.0.0 Win32 WGL MinGW
    +
    +
    +
    int glfwGetError(const char **description)
    Returns and clears the last error for the calling thread.
    +
    void glfwTerminate(void)
    Terminates the GLFW library.
    +
    void glfwInitHint(int hint, int value)
    Sets the specified init hint to the desired value.
    +
    #define GLFW_FALSE
    Zero.
    Definition: glfw3.h:314
    +
    #define GLFW_VERSION_MINOR
    The minor version number of the GLFW library.
    Definition: glfw3.h:287
    +
    #define GLFW_VERSION_REVISION
    The revision number of the GLFW library.
    Definition: glfw3.h:294
    +
    #define GLFW_JOYSTICK_HAT_BUTTONS
    Joystick hat buttons init hint.
    Definition: glfw3.h:1108
    +
    int glfwInit(void)
    Initializes the GLFW library.
    +
    #define GLFW_VERSION_MAJOR
    The major version number of the GLFW library.
    Definition: glfw3.h:280
    +
    GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun callback)
    Sets the error callback.
    +
    void glfwGetVersion(int *major, int *minor, int *rev)
    Retrieves the version of the GLFW library.
    +
    #define GLFW_NO_ERROR
    No error has occurred.
    Definition: glfw3.h:663
    + + + diff --git a/docs/3.3/jquery.js b/docs/3.3/jquery.js new file mode 100644 index 0000000..103c32d --- /dev/null +++ b/docs/3.3/jquery.js @@ -0,0 +1,35 @@ +/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
    ",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0a;a++)for(i in o[a])n=o[a][i],o[a].hasOwnProperty(i)&&void 0!==n&&(e[i]=t.isPlainObject(n)?t.isPlainObject(e[i])?t.widget.extend({},e[i],n):t.widget.extend({},n):n);return e},t.widget.bridge=function(e,i){var n=i.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=s.call(arguments,1),h=this;return a?this.length||"instance"!==o?this.each(function(){var i,s=t.data(this,n);return"instance"===o?(h=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=s[o].apply(s,r),i!==s&&void 0!==i?(h=i&&i.jquery?h.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+o+"'")}):h=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new i(o,this))})),h}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
    ",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+o.eventNamespace,c=h[2];c?n.on(l,c,r):i.on(l,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Math.max,a=Math.abs,r=/left|center|right/,h=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,i,s=t("
    "),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.widthi?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};l>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),h.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-a-n;e.collisionWidth>a?h>0&&0>=l?(i=t.left+h+e.collisionWidth-a-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+a-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-a-n;e.collisionHeight>a?h>0&&0>=l?(i=t.top+h+e.collisionHeight-a-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+a-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-r-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-r-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,m=-2*e.offset[1];0>c?(s=t.top+p+f+m+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+m)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+m-h,(i>0||u>a(i))&&(t.top+=p+f+m))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])}}),t.fn.extend({disableSelection:function(){var t="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}}),t.ui.focusable=function(i,s){var n,o,a,r,h,l=i.nodeName.toLowerCase();return"area"===l?(n=i.parentNode,o=n.name,i.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap='#"+o+"']"),a.length>0&&a.is(":visible")):!1):(/^(input|select|textarea|button|object)$/.test(l)?(r=!i.disabled,r&&(h=t(i).closest("fieldset")[0],h&&(r=!h.disabled))):r="a"===l?i.href||s:s,r&&t(i).is(":visible")&&e(t(i)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable,t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}},"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],function(e,i){function s(e,i,s,o){return t.each(n,function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),o&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var n="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),a={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+i]=function(e){return void 0===e?a["inner"+i].call(this):this.each(function(){t(this).css(o,s(this,e)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?a["outer"+i].call(this,e):this.each(function(){t(this).css(o,s(this,e,!0,n)+"px")})}}),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.ui.escapeSelector=function(){var t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(e){return e.replace(t,"\\$1")}}(),t.fn.labels=function(){var e,i,s,n,o;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(n=this.eq(0).parents("label"),s=this.attr("id"),s&&(e=this.eq(0).parents().last(),o=e.add(e.length?e.siblings():this.siblings()),i="label[for='"+t.ui.escapeSelector(s)+"']",n=n.add(o.find(i).addBack(i))),this.pushStack(n))},t.fn.scrollParent=function(e){var i=this.css("position"),s="absolute"===i,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var e=t(this);return s&&"static"===e.css("position")?!1:n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:t(this[0].ownerDocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),s=null!=i;return(!s||i>=0)&&t.ui.focusable(e,s)}}),t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var n=!1;t(document).on("mouseup",function(){n=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!n){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var i=this,s=1===e.which,o="string"==typeof this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return s&&!o&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),n=!0,!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,n=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;o.length>n;n++)t.options[o[n][0]]&&o[n][1].apply(t.element,i)}},t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)},_create:function(){var e,i=this.options,s=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("
    ").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",function(){i.disabled||(s._removeClass("ui-resizable-autohide"),s._handles.show())}).on("mouseleave",function(){i.disabled||s.resizing||(s._addClass("ui-resizable-autohide"),s._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;default:}},_setupHandles:function(){var e,i,s,n,o,a=this.options,r=this;if(this.handles=a.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),s=this.handles.split(","),this.handles={},i=0;s.length>i;i++)e=t.trim(s[i]),n="ui-resizable-"+e,o=t("
    "),this._addClass(o,"ui-resizable-handle "+n),o.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(o);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=o&&o[1]?o[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var i,s,n,o=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),o.containment&&(i+=t(o.containment).scrollLeft()||0,s+=t(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:i,top:s},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===n?this.axis+"-resize":n),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,s,n=this.originalMousePosition,o=this.axis,a=e.pageX-n.left||0,r=e.pageY-n.top||0,h=this._change[o];return this._updatePrevProperties(),h?(i=h.apply(this,[e,a,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,h,l=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&this._hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseFloat(c.element.css("left"))+(c.position.left-c.originalPosition.left)||null,h=parseFloat(c.element.css("top"))+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(t.extend(a,{top:h,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s,n,o,a=this.options;o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,s=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,n=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),s>o.minHeight&&(o.minHeight=s),o.maxWidth>i&&(o.maxWidth=i),o.maxHeight>n&&(o.maxHeight=n)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,s=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===s&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===s&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,s=this._isNumber(t.width)&&e.maxWidth&&e.maxWidtht.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,h=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=r-e.minWidth),s&&l&&(t.left=r-e.maxWidth),a&&c&&(t.top=h-e.minHeight),n&&c&&(t.top=h-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];4>e;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;this._proportionallyResizeElements.length>e;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("
    "),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element +},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-a},l=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,c=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(h,c&&l?{top:c,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,s,n,o,a,r,h=t(this).resizable("instance"),l=h.options,c=h.element,u=l.containment,d=u instanceof t?u.get(0):/parent/.test(u)?c.parent().get(0):u;d&&(h.containerElement=t(d),/document/.test(u)||u===document?(h.containerOffset={left:0,top:0},h.containerPosition={left:0,top:0},h.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,s){i[t]=h._num(e.css("padding"+s))}),h.containerOffset=e.offset(),h.containerPosition=e.position(),h.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},s=h.containerOffset,n=h.containerSize.height,o=h.containerSize.width,a=h._hasScroll(d,"left")?d.scrollWidth:o,r=h._hasScroll(d)?d.scrollHeight:n,h.parentData={element:d,left:s.left,top:s.top,width:a,height:r}))},resize:function(e){var i,s,n,o,a=t(this).resizable("instance"),r=a.options,h=a.containerOffset,l=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(u=h),l.left<(a._helper?h.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-h.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio,p=!1),a.position.left=r.helper?h.left:0),l.top<(a._helper?h.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-h.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio,p=!1),a.position.top=a._helper?h.top:0),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),i=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-u.left:a.offset.left-h.left)),s=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-u.top:a.offset.top-h.top)),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio,p=!1)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio,p=!1)),p||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),h=a.outerWidth()-e.sizeDiff.width,l=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance"),i=e.options;t(i.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var s=t(this).resizable("instance"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0};t(n.alsoResize).each(function(){var e=t(this),s=t(this).data("ui-resizable-alsoresize"),n={},o=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(o,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&i>=0&&(n[e]=i||null)}),e.css(n)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),t.uiBackCompat!==!1&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),s=i.options,n=i.size,o=i.originalSize,a=i.originalPosition,r=i.axis,h="number"==typeof s.grid?[s.grid,s.grid]:s.grid,l=h[0]||1,c=h[1]||1,u=Math.round((n.width-o.width)/l)*l,d=Math.round((n.height-o.height)/c)*c,p=o.width+u,f=o.height+d,m=s.maxWidth&&p>s.maxWidth,g=s.maxHeight&&f>s.maxHeight,_=s.minWidth&&s.minWidth>p,v=s.minHeight&&s.minHeight>f;s.grid=h,_&&(p+=l),v&&(f+=c),m&&(p-=l),g&&(f-=c),/^(se|s|e)$/.test(r)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.top=a.top-d):/^(sw)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.left=a.left-u):((0>=f-c||0>=p-l)&&(e=i._getPaddingPlusBorderDimensions(this)),f-c>0?(i.size.height=f,i.position.top=a.top-d):(f=c-e.height,i.size.height=f,i.position.top=a.top+o.height-f),p-l>0?(i.size.width=p,i.position.left=a.left-u):(p=l-e.width,i.size.width=p,i.position.left=a.left+o.width-p))}}),t.ui.resizable});/** + * Copyright (c) 2007 Ariel Flesler - aflesler ○ gmail • com | https://github.com/flesler + * Licensed under MIT + * @author Ariel Flesler + * @version 2.1.2 + */ +;(function(f){"use strict";"function"===typeof define&&define.amd?define(["jquery"],f):"undefined"!==typeof module&&module.exports?module.exports=f(require("jquery")):f(jQuery)})(function($){"use strict";function n(a){return!a.nodeName||-1!==$.inArray(a.nodeName.toLowerCase(),["iframe","#document","html","body"])}function h(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}var p=$.scrollTo=function(a,d,b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=function(a,d,b){"object"=== typeof d&&(b=d,d=0);"function"===typeof b&&(b={onAfter:b});"max"===a&&(a=9E9);b=$.extend({},p.defaults,b);d=d||b.duration;var u=b.queue&&1=f[g]?0:Math.min(f[g],n));!a&&1-1){targetElements.on(evt+EVENT_NAMESPACE,function elementToggle(event){$.powerTip.toggle(this,event)})}else{targetElements.on(evt+EVENT_NAMESPACE,function elementOpen(event){$.powerTip.show(this,event)})}});$.each(options.closeEvents,function(idx,evt){if($.inArray(evt,options.openEvents)<0){targetElements.on(evt+EVENT_NAMESPACE,function elementClose(event){$.powerTip.hide(this,!isMouseEvent(event))})}});targetElements.on("keydown"+EVENT_NAMESPACE,function elementKeyDown(event){if(event.keyCode===27){$.powerTip.hide(this,true)}})}return targetElements};$.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:false,popupId:"powerTip",popupClass:null,intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:false,offset:10,mouseOnToPopup:false,manual:false,openEvents:["mouseenter","focus"],closeEvents:["mouseleave","blur"]};$.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se","n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]};$.powerTip={show:function apiShowTip(element,event){if(isMouseEvent(event)){trackMouse(event);session.previousX=event.pageX;session.previousY=event.pageY;$(element).data(DATA_DISPLAYCONTROLLER).show()}else{$(element).first().data(DATA_DISPLAYCONTROLLER).show(true,true)}return element},reposition:function apiResetPosition(element){$(element).first().data(DATA_DISPLAYCONTROLLER).resetPosition();return element},hide:function apiCloseTip(element,immediate){var displayController;immediate=element?immediate:true;if(element){displayController=$(element).first().data(DATA_DISPLAYCONTROLLER)}else if(session.activeHover){displayController=session.activeHover.data(DATA_DISPLAYCONTROLLER)}if(displayController){displayController.hide(immediate)}return element},toggle:function apiToggle(element,event){if(session.activeHover&&session.activeHover.is(element)){$.powerTip.hide(element,!isMouseEvent(event))}else{$.powerTip.show(element,event)}return element}};$.powerTip.showTip=$.powerTip.show;$.powerTip.closeTip=$.powerTip.hide;function CSSCoordinates(){var me=this;me.top="auto";me.left="auto";me.right="auto";me.bottom="auto";me.set=function(property,value){if($.isNumeric(value)){me[property]=Math.round(value)}}}function DisplayController(element,options,tipController){var hoverTimer=null,myCloseDelay=null;function openTooltip(immediate,forceOpen){cancelTimer();if(!element.data(DATA_HASACTIVEHOVER)){if(!immediate){session.tipOpenImminent=true;hoverTimer=setTimeout(function intentDelay(){hoverTimer=null;checkForIntent()},options.intentPollInterval)}else{if(forceOpen){element.data(DATA_FORCEDOPEN,true)}closeAnyDelayed();tipController.showTip(element)}}else{cancelClose()}}function closeTooltip(disableDelay){if(myCloseDelay){myCloseDelay=session.closeDelayTimeout=clearTimeout(myCloseDelay);session.delayInProgress=false}cancelTimer();session.tipOpenImminent=false;if(element.data(DATA_HASACTIVEHOVER)){element.data(DATA_FORCEDOPEN,false);if(!disableDelay){session.delayInProgress=true;session.closeDelayTimeout=setTimeout(function closeDelay(){session.closeDelayTimeout=null;tipController.hideTip(element);session.delayInProgress=false;myCloseDelay=null},options.closeDelay);myCloseDelay=session.closeDelayTimeout}else{tipController.hideTip(element)}}}function checkForIntent(){var xDifference=Math.abs(session.previousX-session.currentX),yDifference=Math.abs(session.previousY-session.currentY),totalDifference=xDifference+yDifference;if(totalDifference",{id:options.popupId});if($body.length===0){$body=$("body")}$body.append(tipElement);session.tooltips=session.tooltips?session.tooltips.add(tipElement):tipElement}if(options.followMouse){if(!tipElement.data(DATA_HASMOUSEMOVE)){$document.on("mousemove"+EVENT_NAMESPACE,positionTipOnCursor);$window.on("scroll"+EVENT_NAMESPACE,positionTipOnCursor);tipElement.data(DATA_HASMOUSEMOVE,true)}}function beginShowTip(element){element.data(DATA_HASACTIVEHOVER,true);tipElement.queue(function queueTipInit(next){showTip(element);next()})}function showTip(element){var tipContent;if(!element.data(DATA_HASACTIVEHOVER)){return}if(session.isTipOpen){if(!session.isClosing){hideTip(session.activeHover)}tipElement.delay(100).queue(function queueTipAgain(next){showTip(element);next()});return}element.trigger("powerTipPreRender");tipContent=getTooltipContent(element);if(tipContent){tipElement.empty().append(tipContent)}else{return}element.trigger("powerTipRender");session.activeHover=element;session.isTipOpen=true;tipElement.data(DATA_MOUSEONTOTIP,options.mouseOnToPopup);tipElement.addClass(options.popupClass);if(!options.followMouse||element.data(DATA_FORCEDOPEN)){positionTipOnElement(element);session.isFixedTipOpen=true}else{positionTipOnCursor()}if(!element.data(DATA_FORCEDOPEN)&&!options.followMouse){$document.on("click"+EVENT_NAMESPACE,function documentClick(event){var target=event.target;if(target!==element[0]){if(options.mouseOnToPopup){if(target!==tipElement[0]&&!$.contains(tipElement[0],target)){$.powerTip.hide()}}else{$.powerTip.hide()}}})}if(options.mouseOnToPopup&&!options.manual){tipElement.on("mouseenter"+EVENT_NAMESPACE,function tipMouseEnter(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).cancel()}});tipElement.on("mouseleave"+EVENT_NAMESPACE,function tipMouseLeave(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).hide()}})}tipElement.fadeIn(options.fadeInTime,function fadeInCallback(){if(!session.desyncTimeout){session.desyncTimeout=setInterval(closeDesyncedTip,500)}element.trigger("powerTipOpen")})}function hideTip(element){session.isClosing=true;session.isTipOpen=false;session.desyncTimeout=clearInterval(session.desyncTimeout);element.data(DATA_HASACTIVEHOVER,false);element.data(DATA_FORCEDOPEN,false);$document.off("click"+EVENT_NAMESPACE);tipElement.off(EVENT_NAMESPACE);tipElement.fadeOut(options.fadeOutTime,function fadeOutCallback(){var coords=new CSSCoordinates;session.activeHover=null;session.isClosing=false;session.isFixedTipOpen=false;tipElement.removeClass();coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);tipElement.css(coords);element.trigger("powerTipClose")})}function positionTipOnCursor(){var tipWidth,tipHeight,coords,collisions,collisionCount;if(!session.isFixedTipOpen&&(session.isTipOpen||session.tipOpenImminent&&tipElement.data(DATA_HASMOUSEMOVE))){tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=new CSSCoordinates;coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);collisions=getViewportCollisions(coords,tipWidth,tipHeight);if(collisions!==Collision.none){collisionCount=countFlags(collisions);if(collisionCount===1){if(collisions===Collision.right){coords.set("left",session.scrollLeft+session.windowWidth-tipWidth)}else if(collisions===Collision.bottom){coords.set("top",session.scrollTop+session.windowHeight-tipHeight)}}else{coords.set("left",session.currentX-tipWidth-options.offset);coords.set("top",session.currentY-tipHeight-options.offset)}}tipElement.css(coords)}}function positionTipOnElement(element){var priorityList,finalPlacement;if(options.smartPlacement||options.followMouse&&element.data(DATA_FORCEDOPEN)){priorityList=$.fn.powerTip.smartPlacementLists[options.placement];$.each(priorityList,function(idx,pos){var collisions=getViewportCollisions(placeTooltip(element,pos),tipElement.outerWidth(),tipElement.outerHeight());finalPlacement=pos;return collisions!==Collision.none})}else{placeTooltip(element,options.placement);finalPlacement=options.placement}tipElement.removeClass("w nw sw e ne se n s w se-alt sw-alt ne-alt nw-alt");tipElement.addClass(finalPlacement)}function placeTooltip(element,placement){var iterationCount=0,tipWidth,tipHeight,coords=new CSSCoordinates;coords.set("top",0);coords.set("left",0);tipElement.css(coords);do{tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=placementCalculator.compute(element,placement,tipWidth,tipHeight,options.offset);tipElement.css(coords)}while(++iterationCount<=5&&(tipWidth!==tipElement.outerWidth()||tipHeight!==tipElement.outerHeight()));return coords}function closeDesyncedTip(){var isDesynced=false,hasDesyncableCloseEvent=$.grep(["mouseleave","mouseout","blur","focusout"],function(eventType){return $.inArray(eventType,options.closeEvents)!==-1}).length>0;if(session.isTipOpen&&!session.isClosing&&!session.delayInProgress&&hasDesyncableCloseEvent){if(session.activeHover.data(DATA_HASACTIVEHOVER)===false||session.activeHover.is(":disabled")){isDesynced=true}else if(!isMouseOver(session.activeHover)&&!session.activeHover.is(":focus")&&!session.activeHover.data(DATA_FORCEDOPEN)){if(tipElement.data(DATA_MOUSEONTOTIP)){if(!isMouseOver(tipElement)){isDesynced=true}}else{isDesynced=true}}if(isDesynced){hideTip(session.activeHover)}}}this.showTip=beginShowTip;this.hideTip=hideTip;this.resetPosition=positionTipOnElement}function isSvgElement(element){return Boolean(window.SVGElement&&element[0]instanceof SVGElement)}function isMouseEvent(event){return Boolean(event&&$.inArray(event.type,MOUSE_EVENTS)>-1&&typeof event.pageX==="number")}function initTracking(){if(!session.mouseTrackingActive){session.mouseTrackingActive=true;getViewportDimensions();$(getViewportDimensions);$document.on("mousemove"+EVENT_NAMESPACE,trackMouse);$window.on("resize"+EVENT_NAMESPACE,trackResize);$window.on("scroll"+EVENT_NAMESPACE,trackScroll)}}function getViewportDimensions(){session.scrollLeft=$window.scrollLeft();session.scrollTop=$window.scrollTop();session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackResize(){session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackScroll(){var x=$window.scrollLeft(),y=$window.scrollTop();if(x!==session.scrollLeft){session.currentX+=x-session.scrollLeft;session.scrollLeft=x}if(y!==session.scrollTop){session.currentY+=y-session.scrollTop;session.scrollTop=y}}function trackMouse(event){session.currentX=event.pageX;session.currentY=event.pageY}function isMouseOver(element){var elementPosition=element.offset(),elementBox=element[0].getBoundingClientRect(),elementWidth=elementBox.right-elementBox.left,elementHeight=elementBox.bottom-elementBox.top;return session.currentX>=elementPosition.left&&session.currentX<=elementPosition.left+elementWidth&&session.currentY>=elementPosition.top&&session.currentY<=elementPosition.top+elementHeight}function getTooltipContent(element){var tipText=element.data(DATA_POWERTIP),tipObject=element.data(DATA_POWERTIPJQ),tipTarget=element.data(DATA_POWERTIPTARGET),targetElement,content;if(tipText){if($.isFunction(tipText)){tipText=tipText.call(element[0])}content=tipText}else if(tipObject){if($.isFunction(tipObject)){tipObject=tipObject.call(element[0])}if(tipObject.length>0){content=tipObject.clone(true,true)}}else if(tipTarget){targetElement=$("#"+tipTarget);if(targetElement.length>0){content=targetElement.html()}}return content}function getViewportCollisions(coords,elementWidth,elementHeight){var viewportTop=session.scrollTop,viewportLeft=session.scrollLeft,viewportBottom=viewportTop+session.windowHeight,viewportRight=viewportLeft+session.windowWidth,collisions=Collision.none;if(coords.topviewportBottom||Math.abs(coords.bottom-session.windowHeight)>viewportBottom){collisions|=Collision.bottom}if(coords.leftviewportRight){collisions|=Collision.left}if(coords.left+elementWidth>viewportRight||coords.right1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery);/*! SmartMenus jQuery Plugin - v1.1.0 - September 17, 2017 + * http://www.smartmenus.org/ + * Copyright Vasil Dinkov, Vadikom Web Ltd. http://vadikom.com; Licensed MIT */(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(jQuery)})(function($){function initMouseDetection(t){var e=".smartmenus_mouse";if(mouseDetectionEnabled||t)mouseDetectionEnabled&&t&&($(document).off(e),mouseDetectionEnabled=!1);else{var i=!0,s=null,o={mousemove:function(t){var e={x:t.pageX,y:t.pageY,timeStamp:(new Date).getTime()};if(s){var o=Math.abs(s.x-e.x),a=Math.abs(s.y-e.y);if((o>0||a>0)&&2>=o&&2>=a&&300>=e.timeStamp-s.timeStamp&&(mouse=!0,i)){var n=$(t.target).closest("a");n.is("a")&&$.each(menuTrees,function(){return $.contains(this.$root[0],n[0])?(this.itemEnter({currentTarget:n[0]}),!1):void 0}),i=!1}}s=e}};o[touchEvents?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(t){isTouchEvent(t.originalEvent)&&(mouse=!1)},$(document).on(getEventsNS(o,e)),mouseDetectionEnabled=!0}}function isTouchEvent(t){return!/^(4|mouse)$/.test(t.pointerType)}function getEventsNS(t,e){e||(e="");var i={};for(var s in t)i[s.split(" ").join(e+" ")+e]=t[s];return i}var menuTrees=[],mouse=!1,touchEvents="ontouchstart"in window,mouseDetectionEnabled=!1,requestAnimationFrame=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},cancelAnimationFrame=window.cancelAnimationFrame||function(t){clearTimeout(t)},canAnimate=!!$.fn.animate;return $.SmartMenus=function(t,e){this.$root=$(t),this.opts=e,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in t.style||"webkitPerspective"in t.style,this.wasCollapsible=!1,this.init()},$.extend($.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){for(;menuTrees.length;)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(t){var e=this;if(!t){menuTrees.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var i=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(getEventsNS({"mouseover focusin":$.proxy(this.rootOver,this),"mouseout focusout":$.proxy(this.rootOut,this),keydown:$.proxy(this.rootKeyDown,this)},i)).on(getEventsNS({mouseenter:$.proxy(this.itemEnter,this),mouseleave:$.proxy(this.itemLeave,this),mousedown:$.proxy(this.itemDown,this),focus:$.proxy(this.itemFocus,this),blur:$.proxy(this.itemBlur,this),click:$.proxy(this.itemClick,this)},i),"a"),i+=this.rootId,this.opts.hideOnClick&&$(document).on(getEventsNS({touchstart:$.proxy(this.docTouchStart,this),touchmove:$.proxy(this.docTouchMove,this),touchend:$.proxy(this.docTouchEnd,this),click:$.proxy(this.docClick,this)},i)),$(window).on(getEventsNS({"resize orientationchange":$.proxy(this.winResize,this)},i)),this.opts.subIndicators&&(this.$subArrow=$("").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}if(this.$firstSub=this.$root.find("ul").each(function(){e.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var s=/(index|default)\.[^#\?\/]*/i,o=/#.*/,a=window.location.href.replace(s,""),n=a.replace(o,"");this.$root.find("a").each(function(){var t=this.href.replace(s,""),i=$(this);(t==a||t==n)&&(i.addClass("current"),e.opts.markCurrentTree&&i.parentsUntil("[data-smartmenus-id]","ul").each(function(){$(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(t){if(!t){var e=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(e),e+=this.rootId,$(document).off(e),$(window).off(e),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var i=this;this.$root.find("ul").each(function(){var t=$(this);t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.dataSM("shown-before")&&((i.opts.subMenusMinWidth||i.opts.subMenusMaxWidth)&&t.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(t.attr("id")||"").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var t=$(this);0==t.attr("id").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),t||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1))},disable:function(t){if(!this.disabled){if(this.menuHideAll(),!t&&!this.opts.isPopup&&this.$root.is(":visible")){var e=this.$root.offset();this.$disableOverlay=$('
    ').css({position:"absolute",top:e.top,left:e.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(t){return this.$touchScrollingSub?(this.$touchScrollingSub=null,void 0):((this.visibleSubMenus.length&&!$.contains(this.$root[0],t.target)||$(t.target).closest("a").length)&&this.menuHideAll(),void 0)},docTouchEnd:function(){if(this.lastTouch){if(!(!this.visibleSubMenus.length||void 0!==this.lastTouch.x2&&this.lastTouch.x1!=this.lastTouch.x2||void 0!==this.lastTouch.y2&&this.lastTouch.y1!=this.lastTouch.y2||this.lastTouch.target&&$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var t=this;this.hideTimeout=setTimeout(function(){t.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(t){if(this.lastTouch){var e=t.originalEvent.touches[0];this.lastTouch.x2=e.pageX,this.lastTouch.y2=e.pageY}},docTouchStart:function(t){var e=t.originalEvent.touches[0];this.lastTouch={x1:e.pageX,y1:e.pageY,target:e.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(t){for(var e=$(t).closest("ul");e.dataSM("in-mega");)e=e.parent().closest("ul");return e[0]||null},getHeight:function(t){return this.getOffset(t,!0)},getOffset:function(t,e){var i;"none"==t.css("display")&&(i={position:t[0].style.position,visibility:t[0].style.visibility},t.css({position:"absolute",visibility:"hidden"}).show());var s=t[0].getBoundingClientRect&&t[0].getBoundingClientRect(),o=s&&(e?s.height||s.bottom-s.top:s.width||s.right-s.left);return o||0===o||(o=e?t[0].offsetHeight:t[0].offsetWidth),i&&t.hide().css(i),o},getStartZIndex:function(t){var e=parseInt(this[t?"$root":"$firstSub"].css("z-index"));return!t&&isNaN(e)&&(e=parseInt(this.$root.css("z-index"))),isNaN(e)?1:e},getTouchPoint:function(t){return t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t},getViewport:function(t){var e=t?"Height":"Width",i=document.documentElement["client"+e],s=window["inner"+e];return s&&(i=Math.min(i,s)),i},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(t){return this.getOffset(t)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(t){return this.handleEvents()&&!this.isLinkInMegaMenu(t)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var t="fixed"==this.$root.css("position");return t||this.$root.parentsUntil("body").each(function(){return"fixed"==$(this).css("position")?(t=!0,!1):void 0}),t},isLinkInMegaMenu:function(t){return $(this.getClosestMenu(t[0])).hasClass("mega-menu")},isTouchMode:function(){return!mouse||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(t,e){var i=t.closest("ul"),s=i.dataSM("level");if(s>1&&(!this.activatedItems[s-2]||this.activatedItems[s-2][0]!=i.dataSM("parent-a")[0])){var o=this;$(i.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(i).each(function(){o.itemActivate($(this).dataSM("parent-a"))})}if((!this.isCollapsible()||e)&&this.menuHideSubMenus(this.activatedItems[s-1]&&this.activatedItems[s-1][0]==t[0]?s:s-1),this.activatedItems[s-1]=t,this.$root.triggerHandler("activate.smapi",t[0])!==!1){var a=t.dataSM("sub");a&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(a)}},itemBlur:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&this.$root.triggerHandler("blur.smapi",e[0])},itemClick:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==e.closest("ul")[0])return this.$touchScrollingSub=null,t.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",e[0])===!1)return!1;var i=$(t.target).is(".sub-arrow"),s=e.dataSM("sub"),o=s?2==s.dataSM("level"):!1,a=this.isCollapsible(),n=/toggle$/.test(this.opts.collapsibleBehavior),r=/link$/.test(this.opts.collapsibleBehavior),h=/^accordion/.test(this.opts.collapsibleBehavior);if(s&&!s.is(":visible")){if((!r||!a||i)&&(this.opts.showOnClick&&o&&(this.clickActivated=!0),this.itemActivate(e,h),s.is(":visible")))return this.focusActivated=!0,!1}else if(a&&(n||i))return this.itemActivate(e,h),this.menuHide(s),n&&(this.focusActivated=!1),!1;return this.opts.showOnClick&&o||e.hasClass("disabled")||this.$root.triggerHandler("select.smapi",e[0])===!1?!1:void 0}},itemDown:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&e.dataSM("mousedown",!0)},itemEnter:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var i=this;this.showTimeout=setTimeout(function(){i.itemActivate(e)},this.opts.showOnClick&&1==e.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",e[0])}},itemFocus:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(!this.focusActivated||this.isTouchMode()&&e.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==e[0]||this.itemActivate(e,!0),this.$root.triggerHandler("focus.smapi",e[0]))},itemLeave:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(this.isTouchMode()||(e[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),e.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",e[0]))},menuHide:function(t){if(this.$root.triggerHandler("beforehide.smapi",t[0])!==!1&&(canAnimate&&t.stop(!0,!0),"none"!=t.css("display"))){var e=function(){t.css("z-index","")};this.isCollapsible()?canAnimate&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,t,e):t.hide(this.opts.collapsibleHideDuration,e):canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,t,e):t.hide(this.opts.hideDuration,e),t.dataSM("scroll")&&(this.menuScrollStop(t),t.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),t.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),t.attr({"aria-expanded":"false","aria-hidden":"true"});var i=t.dataSM("level");this.activatedItems.splice(i-1,1),this.visibleSubMenus.splice($.inArray(t,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",t[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var t=this.opts.isPopup?1:0,e=this.visibleSubMenus.length-1;e>=t;e--)this.menuHide(this.visibleSubMenus[e]);this.opts.isPopup&&(canAnimate&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(t){for(var e=this.activatedItems.length-1;e>=t;e--){var i=this.activatedItems[e].dataSM("sub");i&&this.menuHide(i)}},menuInit:function(t){if(!t.dataSM("in-mega")){t.hasClass("mega-menu")&&t.find("ul").dataSM("in-mega",!0);for(var e=2,i=t[0];(i=i.parentNode.parentNode)!=this.$root[0];)e++;var s=t.prevAll("a").eq(-1);s.length||(s=t.prevAll().find("a").eq(-1)),s.addClass("has-submenu").dataSM("sub",t),t.dataSM("parent-a",s).dataSM("level",e).parent().dataSM("sub",t);var o=s.attr("id")||this.accessIdPrefix+ ++this.idInc,a=t.attr("id")||this.accessIdPrefix+ ++this.idInc;s.attr({id:o,"aria-haspopup":"true","aria-controls":a,"aria-expanded":"false"}),t.attr({id:a,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"}),this.opts.subIndicators&&s[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(t){var e,i,s=t.dataSM("parent-a"),o=s.closest("li"),a=o.parent(),n=t.dataSM("level"),r=this.getWidth(t),h=this.getHeight(t),u=s.offset(),l=u.left,c=u.top,d=this.getWidth(s),m=this.getHeight(s),p=$(window),f=p.scrollLeft(),v=p.scrollTop(),b=this.getViewportWidth(),S=this.getViewportHeight(),g=a.parent().is("[data-sm-horizontal-sub]")||2==n&&!a.hasClass("sm-vertical"),M=this.opts.rightToLeftSubMenus&&!o.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&o.is("[data-sm-reverse]"),w=2==n?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,T=2==n?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(g?(e=M?d-r-w:w,i=this.opts.bottomToTopSubMenus?-h-T:m+T):(e=M?w-r:d-w,i=this.opts.bottomToTopSubMenus?m-T-h:T),this.opts.keepInViewport){var y=l+e,I=c+i;if(M&&f>y?e=g?f-y+e:d-w:!M&&y+r>f+b&&(e=g?f+b-r-y+e:w-r),g||(S>h&&I+h>v+S?i+=v+S-h-I:(h>=S||v>I)&&(i+=v-I)),g&&(I+h>v+S+.49||v>I)||!g&&h>S+.49){var x=this;t.dataSM("scroll-arrows")||t.dataSM("scroll-arrows",$([$('')[0],$('')[0]]).on({mouseenter:function(){t.dataSM("scroll").up=$(this).hasClass("scroll-up"),x.menuScroll(t)},mouseleave:function(e){x.menuScrollStop(t),x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(t){t.preventDefault()}}).insertAfter(t));var A=".smartmenus_scroll";if(t.dataSM("scroll",{y:this.cssTransforms3d?0:i-m,step:1,itemH:m,subH:h,arrowDownH:this.getHeight(t.dataSM("scroll-arrows").eq(1))}).on(getEventsNS({mouseover:function(e){x.menuScrollOver(t,e)},mouseout:function(e){x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(e){x.menuScrollMousewheel(t,e)}},A)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:e+(parseInt(t.css("border-left-width"))||0),width:r-(parseInt(t.css("border-left-width"))||0)-(parseInt(t.css("border-right-width"))||0),zIndex:t.css("z-index")}).eq(g&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var C={};C[touchEvents?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(e){x.menuScrollTouch(t,e)},t.css({"touch-action":"none","-ms-touch-action":"none"}).on(getEventsNS(C,A))}}}t.css({top:"auto",left:"0",marginLeft:e,marginTop:i-m})},menuScroll:function(t,e,i){var s,o=t.dataSM("scroll"),a=t.dataSM("scroll-arrows"),n=o.up?o.upEnd:o.downEnd;if(!e&&o.momentum){if(o.momentum*=.92,s=o.momentum,.5>s)return this.menuScrollStop(t),void 0}else s=i||(e||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(o.step));var r=t.dataSM("level");if(this.activatedItems[r-1]&&this.activatedItems[r-1].dataSM("sub")&&this.activatedItems[r-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(r-1),o.y=o.up&&o.y>=n||!o.up&&n>=o.y?o.y:Math.abs(n-o.y)>s?o.y+(o.up?s:-s):n,t.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+o.y+"px, 0)",transform:"translate3d(0, "+o.y+"px, 0)"}:{marginTop:o.y}),mouse&&(o.up&&o.y>o.downEnd||!o.up&&o.y0;t.dataSM("scroll-arrows").eq(i?0:1).is(":visible")&&(t.dataSM("scroll").up=i,this.menuScroll(t,!0))}e.preventDefault()},menuScrollOut:function(t,e){mouse&&(/^scroll-(up|down)/.test((e.relatedTarget||"").className)||(t[0]==e.relatedTarget||$.contains(t[0],e.relatedTarget))&&this.getClosestMenu(e.relatedTarget)==t[0]||t.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(t,e){if(mouse&&!/^scroll-(up|down)/.test(e.target.className)&&this.getClosestMenu(e.target)==t[0]){this.menuScrollRefreshData(t);var i=t.dataSM("scroll"),s=$(window).scrollTop()-t.dataSM("parent-a").offset().top-i.itemH;t.dataSM("scroll-arrows").eq(0).css("margin-top",s).end().eq(1).css("margin-top",s+this.getViewportHeight()-i.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(t){var e=t.dataSM("scroll"),i=$(window).scrollTop()-t.dataSM("parent-a").offset().top-e.itemH;this.cssTransforms3d&&(i=-(parseFloat(t.css("margin-top"))-i)),$.extend(e,{upEnd:i,downEnd:i+this.getViewportHeight()-e.subH})},menuScrollStop:function(t){return this.scrollTimeout?(cancelAnimationFrame(this.scrollTimeout),this.scrollTimeout=0,t.dataSM("scroll").step=1,!0):void 0},menuScrollTouch:function(t,e){if(e=e.originalEvent,isTouchEvent(e)){var i=this.getTouchPoint(e);if(this.getClosestMenu(i.target)==t[0]){var s=t.dataSM("scroll");if(/(start|down)$/i.test(e.type))this.menuScrollStop(t)?(e.preventDefault(),this.$touchScrollingSub=t):this.$touchScrollingSub=null,this.menuScrollRefreshData(t),$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp});else if(/move$/i.test(e.type)){var o=void 0!==s.touchY?s.touchY:s.touchStartY;if(void 0!==o&&o!=i.pageY){this.$touchScrollingSub=t;var a=i.pageY>o;void 0!==s.up&&s.up!=a&&$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp}),$.extend(s,{up:a,touchY:i.pageY}),this.menuScroll(t,!0,Math.abs(i.pageY-o))}e.preventDefault()}else void 0!==s.touchY&&((s.momentum=15*Math.pow(Math.abs(i.pageY-s.touchStartY)/(e.timeStamp-s.touchStartTime),2))&&(this.menuScrollStop(t),this.menuScroll(t),e.preventDefault()),delete s.touchY)}}},menuShow:function(t){if((t.dataSM("beforefirstshowfired")||(t.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",t[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",t[0])!==!1&&(t.dataSM("shown-before",!0),canAnimate&&t.stop(!0,!0),!t.is(":visible"))){var e=t.dataSM("parent-a"),i=this.isCollapsible();if((this.opts.keepHighlighted||i)&&e.addClass("highlighted"),i)t.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(t.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(t.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&t.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var s=this.getWidth(t);t.css("max-width",this.opts.subMenusMaxWidth),s>this.getWidth(t)&&t.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(t)}var o=function(){t.css("overflow","")};i?canAnimate&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,t,o):t.show(this.opts.collapsibleShowDuration,o):canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,t,o):t.show(this.opts.showDuration,o),e.attr("aria-expanded","true"),t.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(t),this.$root.triggerHandler("show.smapi",t[0])}},popupHide:function(t){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},t?1:this.opts.hideTimeout)},popupShow:function(t,e){if(!this.opts.isPopup)return alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.'),void 0;if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0),canAnimate&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:t,top:e});var i=this,s=function(){i.$root.css("overflow","")};canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,s):this.$root.show(this.opts.showDuration,s),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(t){if(this.handleEvents())switch(t.keyCode){case 27:var e=this.activatedItems[0];if(e){this.menuHideAll(),e[0].focus();var i=e.dataSM("sub");i&&this.menuHide(i)}break;case 32:var s=$(t.target);if(s.is("a")&&this.handleItemEvents(s)){var i=s.dataSM("sub");i&&!i.is(":visible")&&(this.itemClick({currentTarget:t.target}),t.preventDefault())}}},rootOut:function(t){if(this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(t){this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(t){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==t.type){var e=this.isCollapsible();this.wasCollapsible&&e||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=e}}else if(this.$disableOverlay){var i=this.$root.offset();this.$disableOverlay.css({top:i.top,left:i.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),$.fn.dataSM=function(t,e){return e?this.data(t+"_smartmenus",e):this.data(t+"_smartmenus")},$.fn.removeDataSM=function(t){return this.removeData(t+"_smartmenus")},$.fn.smartmenus=function(options){if("string"==typeof options){var args=arguments,method=options;return Array.prototype.shift.call(args),this.each(function(){var t=$(this).data("smartmenus");t&&t[method]&&t[method].apply(t,args)})}return this.each(function(){var dataOpts=$(this).data("sm-options")||null;if(dataOpts)try{dataOpts=eval("("+dataOpts+")")}catch(e){dataOpts=null,alert('ERROR\n\nSmartMenus jQuery init:\nInvalid "data-sm-options" attribute value syntax.')}new $.SmartMenus(this,$.extend({},$.fn.smartmenus.defaults,options,dataOpts))})},$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(t,e){t.fadeOut(200,e)},collapsibleShowDuration:0,collapsibleShowFunction:function(t,e){t.slideDown(200,e)},collapsibleHideDuration:0,collapsibleHideFunction:function(t,e){t.slideUp(200,e)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,collapsibleBehavior:"default"},$}); \ No newline at end of file diff --git a/docs/3.3/main_8dox.html b/docs/3.3/main_8dox.html new file mode 100644 index 0000000..1d844af --- /dev/null +++ b/docs/3.3/main_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: main.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    main.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.3/menu.js b/docs/3.3/menu.js new file mode 100644 index 0000000..433c15b --- /dev/null +++ b/docs/3.3/menu.js @@ -0,0 +1,50 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { + function makeTree(data,relPath) { + var result=''; + if ('children' in data) { + result+=''; + } + return result; + } + + $('#main-nav').append(makeTree(menudata,relPath)); + $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); + if (searchEnabled) { + if (serverSide) { + $('#main-menu').append('
  • '); + } else { + $('#main-menu').append('
  • '); + } + } + $('#main-menu').smartmenus(); +} +/* @license-end */ diff --git a/docs/3.3/menudata.js b/docs/3.3/menudata.js new file mode 100644 index 0000000..7a4b948 --- /dev/null +++ b/docs/3.3/menudata.js @@ -0,0 +1,28 @@ +/* +@licstart The following is the entire license notice for the +JavaScript code in this file. + +Copyright (C) 1997-2019 by Dimitri van Heesch + +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +@licend The above is the entire license notice +for the JavaScript code in this file +*/ +var menudata={children:[ +{text:"Introduction",url:"index.html"}, +{text:"Tutorial",url:"quick_guide.html"}, +{text:"Guides",url:"pages.html"}, +{text:"Reference",url:"modules.html"}, +{text:"Files",url:"files.html"}]} diff --git a/docs/3.3/modules.html b/docs/3.3/modules.html new file mode 100644 index 0000000..83079a9 --- /dev/null +++ b/docs/3.3/modules.html @@ -0,0 +1,94 @@ + + + + + + + +GLFW: Reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Reference
    +
    +
    +
    Here is a list of all modules:
    +
    [detail level 12]
    + + + + + + + + + + + + + + + + +
     Context referenceFunctions and types related to OpenGL and OpenGL ES contexts
     Initialization, version and error referenceFunctions and types related to initialization and error handling
     Error codesError codes
     Input referenceFunctions and types related to input handling
     Gamepad axesGamepad axes
     Gamepad buttonsGamepad buttons
     Joystick hat statesJoystick hat states
     JoysticksJoystick IDs
     Keyboard keysKeyboard key IDs
     Modifier key flagsModifier key flags
     Mouse buttonsMouse button IDs
     Standard cursor shapesStandard system cursor shapes
     Monitor referenceFunctions and types related to monitors
     Native accessFunctions related to accessing native handles
     Vulkan support referenceFunctions and types related to Vulkan
     Window referenceFunctions and types related to windows
    +
    +
    + + + diff --git a/docs/3.3/monitor.html b/docs/3.3/monitor.html new file mode 120000 index 0000000..116d9ef --- /dev/null +++ b/docs/3.3/monitor.html @@ -0,0 +1 @@ +monitor_guide.html \ No newline at end of file diff --git a/docs/3.3/monitor_8dox.html b/docs/3.3/monitor_8dox.html new file mode 100644 index 0000000..df3311b --- /dev/null +++ b/docs/3.3/monitor_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: monitor.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    monitor.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.3/monitor_guide.html b/docs/3.3/monitor_guide.html new file mode 100644 index 0000000..175b878 --- /dev/null +++ b/docs/3.3/monitor_guide.html @@ -0,0 +1,222 @@ + + + + + + + +GLFW: Monitor guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Monitor guide
    +
    +
    + +

    This guide introduces the monitor related functions of GLFW. For details on a specific function in this category, see the Monitor reference. There are also guides for the other areas of GLFW.

    + +

    +Monitor objects

    +

    A monitor object represents a currently connected monitor and is represented as a pointer to the opaque type GLFWmonitor. 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 terminated.

    +

    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.

    +

    The virtual position of a monitor is in screen coordinates and, together with the current video mode, describes the viewports that the connected monitors provide into the virtual desktop that spans them.

    +

    To see how GLFW views your monitor setup and its available video modes, run the monitors test program.

    +

    +Retrieving monitors

    +

    The primary monitor is returned by glfwGetPrimaryMonitor. It is the user's preferred monitor and is usually the one with global UI elements like task bar or menu bar.

    +

    You can retrieve all currently connected monitors with glfwGetMonitors. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    +
    GLFWmonitor** monitors = glfwGetMonitors(&count);
    +

    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.

    +

    +Monitor configuration changes

    +

    If you wish to be notified when a monitor is connected or disconnected, set a monitor callback.

    +
    glfwSetMonitorCallback(monitor_callback);
    +

    The callback function receives the handle for the monitor that has been connected or disconnected and the event that occurred.

    +
    void monitor_callback(GLFWmonitor* monitor, int event)
    +
    {
    +
    if (event == GLFW_CONNECTED)
    +
    {
    +
    // The monitor was connected
    +
    }
    +
    else if (event == GLFW_DISCONNECTED)
    +
    {
    +
    // The monitor was disconnected
    +
    }
    +
    }
    +

    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 glfwGetMonitorName and glfwGetMonitorUserPointer will return useful values for a disconnected monitor and only before the monitor callback returns.

    +

    +Monitor properties

    +

    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.

    +

    +Video modes

    +

    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.

    +

    Video modes are represented as GLFWvidmode structures. You can get an array of the video modes supported by a monitor with glfwGetVideoModes. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    +
    GLFWvidmode* modes = glfwGetVideoModes(monitor, &count);
    +

    To get the current video mode of a monitor call glfwGetVideoMode. See the reference documentation for the lifetime of the returned pointer.

    +
    const GLFWvidmode* mode = glfwGetVideoMode(monitor);
    +

    The resolution of a video mode is specified in screen coordinates, not pixels.

    +

    +Physical size

    +

    The physical size of a monitor in millimetres, or an estimation of it, can be retrieved with glfwGetMonitorPhysicalSize. This has no relation to its current resolution, i.e. the width and height of its current video mode.

    +
    int width_mm, height_mm;
    +
    glfwGetMonitorPhysicalSize(monitor, &width_mm, &height_mm);
    +

    While this can be used to calculate the raw DPI of a monitor, this is often not useful. Instead use the monitor content scale and window content scale to scale your content.

    +

    +Content scale

    +

    The content scale for a monitor can be retrieved with glfwGetMonitorContentScale.

    +
    float xscale, yscale;
    +
    glfwGetMonitorContentScale(monitor, &xscale, &yscale);
    +

    The content scale is the ratio between the current DPI and the platform's default DPI. This is especially important for text and any UI elements. If the pixel dimensions of your UI scaled by this look appropriate on your machine then it should appear at a reasonable size on other machines regardless of their DPI and scaling settings. This relies on the system DPI and scaling settings being somewhat correct.

    +

    The content scale may depend on both the monitor resolution and pixel density and on user settings. It may be very different from the raw DPI calculated from the physical size and current resolution.

    +

    +Virtual position

    +

    The position of the monitor on the virtual desktop, in screen coordinates, can be retrieved with glfwGetMonitorPos.

    +
    int xpos, ypos;
    +
    glfwGetMonitorPos(monitor, &xpos, &ypos);
    +

    +Work area

    +

    The area of a monitor not occupied by global task bars or menu bars is the work area. This is specified in screen coordinates and can be retrieved with glfwGetMonitorWorkarea.

    +
    int xpos, ypos, width, height;
    +
    glfwGetMonitorWorkarea(monitor, &xpos, &ypos, &width, &height);
    +

    +Human-readable name

    +

    The human-readable, UTF-8 encoded name of a monitor is returned by glfwGetMonitorName. See the reference documentation for the lifetime of the returned string.

    +
    const char* name = glfwGetMonitorName(monitor);
    +

    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.

    +

    +User pointer

    +

    Each monitor has a user pointer that can be set with glfwSetMonitorUserPointer and queried with glfwGetMonitorUserPointer. 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.

    +

    The initial value of the pointer is NULL.

    +

    +Gamma ramp

    +

    The gamma ramp of a monitor can be set with glfwSetGammaRamp, which accepts a monitor handle and a pointer to a GLFWgammaramp structure.

    +
    +
    unsigned short red[256], green[256], blue[256];
    +
    +
    ramp.size = 256;
    +
    ramp.red = red;
    +
    ramp.green = green;
    +
    ramp.blue = blue;
    +
    +
    for (i = 0; i < ramp.size; i++)
    +
    {
    +
    // Fill out gamma ramp arrays as desired
    +
    }
    +
    +
    glfwSetGammaRamp(monitor, &ramp);
    +

    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.

    +

    It is recommended that your gamma ramp have the same size as the current gamma ramp for that monitor.

    +

    The current gamma ramp for a monitor is returned by glfwGetGammaRamp. See the reference documentation for the lifetime of the returned structure.

    +
    const GLFWgammaramp* ramp = glfwGetGammaRamp(monitor);
    +

    If you wish to set a regular gamma ramp, you can have GLFW calculate it for you from the desired exponent with glfwSetGamma, which in turn calls glfwSetGammaRamp with the resulting ramp.

    +
    glfwSetGamma(monitor, 1.0);
    +

    To experiment with gamma correction via the glfwSetGamma function, run the gamma test program.

    +
    Note
    The software controlled gamma ramp is applied in addition to the hardware gamma correction, which today is usually 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.
    +
    +
    +
    void glfwGetMonitorContentScale(GLFWmonitor *monitor, float *xscale, float *yscale)
    Retrieves the content scale for the specified monitor.
    +
    GLFWmonitorfun glfwSetMonitorCallback(GLFWmonitorfun callback)
    Sets the monitor configuration callback.
    +
    Gamma ramp.
    Definition: glfw3.h:1683
    +
    void glfwGetMonitorWorkarea(GLFWmonitor *monitor, int *xpos, int *ypos, int *width, int *height)
    Retrieves the work area of the monitor.
    +
    void glfwSetGammaRamp(GLFWmonitor *monitor, const GLFWgammaramp *ramp)
    Sets the current gamma ramp for the specified monitor.
    +
    const char * glfwGetMonitorName(GLFWmonitor *monitor)
    Returns the name of the specified monitor.
    +
    GLFWmonitor * glfwGetPrimaryMonitor(void)
    Returns the primary monitor.
    +
    GLFWmonitor ** glfwGetMonitors(int *count)
    Returns the currently connected monitors.
    +
    const GLFWvidmode * glfwGetVideoModes(GLFWmonitor *monitor, int *count)
    Returns the available video modes for the specified monitor.
    +
    unsigned short * green
    Definition: glfw3.h:1690
    +
    #define GLFW_DISCONNECTED
    Definition: glfw3.h:1100
    +
    void glfwGetMonitorPos(GLFWmonitor *monitor, int *xpos, int *ypos)
    Returns the position of the monitor's viewport on the virtual screen.
    +
    unsigned int size
    Definition: glfw3.h:1696
    +
    unsigned short * red
    Definition: glfw3.h:1687
    +
    void glfwGetMonitorPhysicalSize(GLFWmonitor *monitor, int *widthMM, int *heightMM)
    Returns the physical size of the monitor.
    +
    const GLFWgammaramp * glfwGetGammaRamp(GLFWmonitor *monitor)
    Returns the current gamma ramp for the specified monitor.
    +
    #define GLFW_CONNECTED
    Definition: glfw3.h:1099
    +
    unsigned short * blue
    Definition: glfw3.h:1693
    +
    Video mode type.
    Definition: glfw3.h:1649
    +
    void glfwSetGamma(GLFWmonitor *monitor, float gamma)
    Generates a gamma ramp and sets it for the specified monitor.
    +
    const GLFWvidmode * glfwGetVideoMode(GLFWmonitor *monitor)
    Returns the current mode of the specified monitor.
    +
    struct GLFWmonitor GLFWmonitor
    Opaque monitor object.
    Definition: glfw3.h:1165
    + + + diff --git a/docs/3.3/moving.html b/docs/3.3/moving.html new file mode 120000 index 0000000..9c74da0 --- /dev/null +++ b/docs/3.3/moving.html @@ -0,0 +1 @@ +moving_guide.html \ No newline at end of file diff --git a/docs/3.3/moving_8dox.html b/docs/3.3/moving_8dox.html new file mode 100644 index 0000000..75b40f3 --- /dev/null +++ b/docs/3.3/moving_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: moving.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    moving.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.3/moving_guide.html b/docs/3.3/moving_guide.html new file mode 100644 index 0000000..df7ab4d --- /dev/null +++ b/docs/3.3/moving_guide.html @@ -0,0 +1,367 @@ + + + + + + + +GLFW: Moving from GLFW 2 to 3 + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Moving from GLFW 2 to 3
    +
    +
    + +

    This is a transition guide for moving from GLFW 2 to 3. It describes what has changed or been removed, but does not include new features unless they are required when moving an existing code base onto the new API. For example, the new multi-monitor functions are required to create full screen windows with GLFW 3.

    +

    +Changed and removed features

    +

    +Renamed library and header file

    +

    The GLFW 3 header is named glfw3.h and moved to the GLFW directory, to avoid collisions with the headers of other major versions. Similarly, the GLFW 3 library is named glfw3, except when it's installed as a shared library on Unix-like systems, where it uses the soname libglfw.so.3.

    +
    Old syntax
    #include <GL/glfw.h>
    +
    +
    New syntax
    #include <GLFW/glfw3.h>
    +
    +

    +Removal of threading functions

    +

    The threading functions have been removed, including the per-thread sleep function. They were fairly primitive, under-used, poorly integrated and took time away from the focus of GLFW (i.e. context, input and window). There are better threading libraries available and native threading support is available in both C++11 and C11, both of which are gaining traction.

    +

    If you wish to use the C++11 or C11 facilities but your compiler doesn't yet support them, see the TinyThread++ and TinyCThread projects created by the original author of GLFW. These libraries implement a usable subset of the threading APIs in C++11 and C11, and in fact some GLFW 3 test programs use TinyCThread.

    +

    However, GLFW 3 has better support for use from multiple threads than GLFW 2 had. Contexts can be made current on any thread, although only a single thread at a time, and the documentation explicitly states which functions may be used from any thread and which must only be used from the main thread.

    +
    Removed functions
    glfwSleep, glfwCreateThread, glfwDestroyThread, glfwWaitThread, glfwGetThreadID, glfwCreateMutex, glfwDestroyMutex, glfwLockMutex, glfwUnlockMutex, glfwCreateCond, glfwDestroyCond, glfwWaitCond, glfwSignalCond, glfwBroadcastCond and glfwGetNumberOfProcessors.
    +
    Removed types
    GLFWthreadfun
    +

    +Removal of image and texture loading

    +

    The image and texture loading functions have been removed. They only supported the Targa image format, making them mostly useful for beginner level examples. To become of sufficiently high quality to warrant keeping them in GLFW 3, they would need not only to support other formats, but also modern extensions to OpenGL texturing. This would either add a number of external dependencies (libjpeg, libpng, etc.), or force GLFW to ship with inline versions of these libraries.

    +

    As there already are libraries doing this, it is unnecessary both to duplicate the work and to tie the duplicate to GLFW. The resulting library would also be platform-independent, as both OpenGL and stdio are available wherever GLFW is.

    +
    Removed functions
    glfwReadImage, glfwReadMemoryImage, glfwFreeImage, glfwLoadTexture2D, glfwLoadMemoryTexture2D and glfwLoadTextureImage2D.
    +

    +Removal of GLFWCALL macro

    +

    The GLFWCALL macro, which made callback functions use __stdcall on Windows, has been removed. GLFW is written in C, not Pascal. Removing this macro means there's one less thing for application programmers to remember, i.e. the requirement to mark all callback functions with GLFWCALL. It also simplifies the creation of DLLs and DLL link libraries, as there's no need to explicitly disable @n entry point suffixes.

    +
    Old syntax
    void GLFWCALL callback_function(...);
    +
    +
    New syntax
    void callback_function(...);
    +
    +

    +Window handle parameters

    +

    Because GLFW 3 supports multiple windows, window handle parameters have been added to all window-related GLFW functions and callbacks. The handle of a newly created window is returned by glfwCreateWindow (formerly glfwOpenWindow). Window handles are pointers to the opaque type GLFWwindow.

    +
    Old syntax
    glfwSetWindowTitle("New Window Title");
    +
    +
    New syntax
    glfwSetWindowTitle(window, "New Window Title");
    +
    +

    +Explicit monitor selection

    +

    GLFW 3 provides support for multiple monitors. To request a full screen mode window, instead of passing GLFW_FULLSCREEN you specify which monitor you wish the window to use. The glfwGetPrimaryMonitor function returns the monitor that GLFW 2 would have selected, but there are many other monitor functions. Monitor handles are pointers to the opaque type GLFWmonitor.

    +
    Old basic full screen
    glfwOpenWindow(640, 480, 8, 8, 8, 0, 24, 0, GLFW_FULLSCREEN);
    +
    +
    New basic full screen
    window = glfwCreateWindow(640, 480, "My Window", glfwGetPrimaryMonitor(), NULL);
    +
    +
    Note
    The framebuffer bit depth parameters of glfwOpenWindow have been turned into window hints, but as they have been given sane defaults you rarely need to set these hints.
    +

    +Removal of automatic event polling

    +

    GLFW 3 does not automatically poll for events in glfwSwapBuffers, meaning you need to call glfwPollEvents or glfwWaitEvents yourself. Unlike buffer swap, which acts on a single window, the event processing functions act on all windows at once.

    +
    Old basic main loop
    while (...)
    +
    {
    +
    // Process input
    +
    // Render output
    + +
    }
    +
    +
    New basic main loop
    while (...)
    +
    {
    +
    // Process input
    +
    // Render output
    +
    glfwSwapBuffers(window);
    + +
    }
    +
    +

    +Explicit context management

    +

    Each GLFW 3 window has its own OpenGL context and only you, the application programmer, can know which context should be current on which thread at any given time. Therefore, GLFW 3 leaves that decision to you.

    +

    This means that you need to call glfwMakeContextCurrent after creating a window before you can call any OpenGL functions.

    +

    +Separation of window and framebuffer sizes

    +

    Window positions and sizes now use screen coordinates, which may not be the same as pixels on machines with high-DPI monitors. This is important as OpenGL uses pixels, not screen coordinates. For example, the rectangle specified with glViewport needs to use pixels. Therefore, framebuffer size functions have been added. You can retrieve the size of the framebuffer of a window with glfwGetFramebufferSize function. A framebuffer size callback has also been added, which can be set with glfwSetFramebufferSizeCallback.

    +
    Old basic viewport setup
    glfwGetWindowSize(&width, &height);
    +
    glViewport(0, 0, width, height);
    +
    +
    New basic viewport setup
    glfwGetFramebufferSize(window, &width, &height);
    +
    glViewport(0, 0, width, height);
    +
    +

    +Window closing changes

    +

    The GLFW_OPENED window parameter has been removed. As long as the window has not been destroyed, whether through glfwDestroyWindow or glfwTerminate, the window is "open".

    +

    A user attempting to close a window is now just an event like any other. Unlike GLFW 2, windows and contexts created with GLFW 3 will never be destroyed unless you choose them to be. Each window now has a close flag that is set to GLFW_TRUE when the user attempts to close that window. By default, nothing else happens and the window stays visible. It is then up to you to either destroy the window, take some other action or ignore the request.

    +

    You can query the close flag at any time with glfwWindowShouldClose and set it at any time with glfwSetWindowShouldClose.

    +
    Old basic main loop
    while (glfwGetWindowParam(GLFW_OPENED))
    +
    {
    +
    ...
    +
    }
    +
    +
    New basic main loop
    while (!glfwWindowShouldClose(window))
    +
    {
    +
    ...
    +
    }
    +
    +

    The close callback no longer returns a value. Instead, it is called after the close flag has been set so it can override its value, if it chooses to, before event processing completes. You may however not call glfwDestroyWindow from the close callback (or any other window related callback).

    +
    Old syntax
    int GLFWCALL window_close_callback(void);
    +
    +
    New syntax
    void window_close_callback(GLFWwindow* window);
    +
    +
    Note
    GLFW never clears the close flag to GLFW_FALSE, meaning you can use it for other reasons to close the window as well, for example the user choosing Quit from an in-game menu.
    +

    +Persistent window hints

    +

    The glfwOpenWindowHint function has been renamed to glfwWindowHint.

    +

    Window hints are no longer reset to their default values on window creation, but instead retain their values until modified by glfwWindowHint or glfwDefaultWindowHints, or until the library is terminated and re-initialized.

    +

    +Video mode enumeration

    +

    Video mode enumeration is now per-monitor. The glfwGetVideoModes function now returns all available modes for a specific monitor instead of requiring you to guess how large an array you need. The glfwGetDesktopMode function, which had poorly defined behavior, has been replaced by glfwGetVideoMode, which returns the current mode of a monitor.

    +

    +Removal of character actions

    +

    The action parameter of the character callback has been removed. This was an artefact of the origin of GLFW, i.e. being developed in English by a Swede. However, many keyboard layouts require more than one key to produce characters with diacritical marks. Even the Swedish keyboard layout requires this for uncommon cases like ü.

    +
    Old syntax
    void GLFWCALL character_callback(int character, int action);
    +
    +
    New syntax
    void character_callback(GLFWwindow* window, int character);
    +
    +

    +Cursor position changes

    +

    The glfwGetMousePos function has been renamed to glfwGetCursorPos, glfwSetMousePos to glfwSetCursorPos and glfwSetMousePosCallback to glfwSetCursorPosCallback.

    +

    The cursor position is now double instead of int, both for the direct functions and for the callback. Some platforms can provide sub-pixel cursor movement and this data is now passed on to the application where available. On platforms where this is not provided, the decimal part is zero.

    +

    GLFW 3 only allows you to position the cursor within a window using glfwSetCursorPos (formerly glfwSetMousePos) when that window is active. Unless the window is active, the function fails silently.

    +

    +Wheel position replaced by scroll offsets

    +

    The glfwGetMouseWheel function has been removed. Scrolling is the input of offsets and has no absolute position. The mouse wheel callback has been replaced by a scroll callback that receives two-dimensional floating point scroll offsets. This allows you to receive precise scroll data from for example modern touchpads.

    +
    Old syntax
    void GLFWCALL mouse_wheel_callback(int position);
    +
    +
    New syntax
    void scroll_callback(GLFWwindow* window, double xoffset, double yoffset);
    +
    +
    Removed functions
    glfwGetMouseWheel
    +

    +Key repeat action

    +

    The GLFW_KEY_REPEAT enable has been removed and key repeat is always enabled for both keys and characters. A new key action, GLFW_REPEAT, has been added to allow the key callback to distinguish an initial key press from a repeat. Note that glfwGetKey still returns only GLFW_PRESS or GLFW_RELEASE.

    +

    +Physical key input

    +

    GLFW 3 key tokens map to physical keys, unlike in GLFW 2 where they mapped to the values generated by the current keyboard layout. The tokens are named according to the values they would have using the standard US layout, but this is only a convenience, as most programmers are assumed to know that layout. This means that (for example) GLFW_KEY_LEFT_BRACKET is always a single key and is the same key in the same place regardless of what keyboard layouts the users of your program has.

    +

    The key input facility was never meant for text input, although using it that way worked slightly better in GLFW 2. If you were using it to input text, you should be using the character callback instead, on both GLFW 2 and 3. This will give you the characters being input, as opposed to the keys being pressed.

    +

    GLFW 3 has key tokens for all keys on a standard 105 key keyboard, so instead of having to remember whether to check for a or A, you now check for GLFW_KEY_A.

    +

    +Joystick function changes

    +

    The glfwGetJoystickPos function has been renamed to glfwGetJoystickAxes.

    +

    The glfwGetJoystickParam function and the GLFW_PRESENT, GLFW_AXES and GLFW_BUTTONS tokens have been replaced by the glfwJoystickPresent function as well as axis and button counts returned by the glfwGetJoystickAxes and glfwGetJoystickButtons functions.

    +

    +Win32 MBCS support

    +

    The Win32 port of GLFW 3 will not compile in MBCS mode. However, because the use of the Unicode version of the Win32 API doesn't affect the process as a whole, but only those windows created using it, it's perfectly possible to call MBCS functions from other parts of the same application. Therefore, even if an application using GLFW has MBCS mode code, there's no need for GLFW itself to support it.

    +

    +Support for versions of Windows older than XP

    +

    All explicit support for version of Windows older than XP has been removed. There is no code that actively prevents GLFW 3 from running on these earlier versions, but it uses Win32 functions that those versions lack.

    +

    Windows XP was released in 2001, and by now (January 2015) it has not only replaced almost all earlier versions of Windows, but is itself rapidly being replaced by Windows 7 and 8. The MSDN library doesn't even provide documentation for version older than Windows 2000, making it difficult to maintain compatibility with these versions even if it was deemed worth the effort.

    +

    The Win32 API has also not stood still, and GLFW 3 uses many functions only present on Windows XP or later. Even supporting an OS as new as XP (new from the perspective of GLFW 2, which still supports Windows 95) requires runtime checking for a number of functions that are present only on modern version of Windows.

    +

    +Capture of system-wide hotkeys

    +

    The ability to disable and capture system-wide hotkeys like Alt+Tab has been removed. Modern applications, whether they're games, scientific visualisations or something else, are nowadays expected to be good desktop citizens and allow these hotkeys to function even when running in full screen mode.

    +

    +Automatic termination

    +

    GLFW 3 does not register glfwTerminate with atexit at initialization, because exit calls registered functions from the calling thread and while it is permitted to call exit from any thread, glfwTerminate must only be called from the main thread.

    +

    To release all resources allocated by GLFW, you should call glfwTerminate yourself, from the main thread, before the program terminates. Note that this destroys all windows not already destroyed with glfwDestroyWindow, invalidating any window handles you may still have.

    +

    +GLU header inclusion

    +

    GLFW 3 does not by default include the GLU header and GLU itself has been deprecated by Khronos. New projects should not use GLU, but if you need it for legacy code that has been moved to GLFW 3, you can request that the GLFW header includes it by defining GLFW_INCLUDE_GLU before the inclusion of the GLFW header.

    +
    Old syntax
    #include <GL/glfw.h>
    +
    +
    New syntax
    #define GLFW_INCLUDE_GLU
    +
    #include <GLFW/glfw3.h>
    +
    +

    There are many libraries that offer replacements for the functionality offered by GLU. For the matrix helper functions, see math libraries like GLM (for C++), linmath.h (for C) and others. For the tessellation functions, see for example libtess2.

    +

    +Name change tables

    +

    +Renamed functions

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFW 2 GLFW 3 Notes
    glfwOpenWindow glfwCreateWindow All channel bit depths are now hints
    glfwCloseWindow glfwDestroyWindow
    glfwOpenWindowHint glfwWindowHint Now accepts all GLFW_*_BITS tokens
    glfwEnable glfwSetInputMode
    glfwDisable glfwSetInputMode
    glfwGetMousePos glfwGetCursorPos
    glfwSetMousePos glfwSetCursorPos
    glfwSetMousePosCallback glfwSetCursorPosCallback
    glfwSetMouseWheelCallback glfwSetScrollCallback Accepts two-dimensional scroll offsets as doubles
    glfwGetJoystickPos glfwGetJoystickAxes
    glfwGetWindowParam glfwGetWindowAttrib
    glfwGetGLVersion glfwGetWindowAttrib Use GLFW_CONTEXT_VERSION_MAJOR, GLFW_CONTEXT_VERSION_MINOR and GLFW_CONTEXT_REVISION
    glfwGetDesktopMode glfwGetVideoMode Returns the current mode of a monitor
    glfwGetJoystickParam glfwJoystickPresent The axis and button counts are provided by glfwGetJoystickAxes and glfwGetJoystickButtons
    +

    +Renamed types

    + + + + + + + +
    GLFW 2 GLFW 3 Notes
    GLFWmousewheelfun GLFWscrollfun
    GLFWmouseposfun GLFWcursorposfun
    +

    +Renamed tokens

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFW 2 GLFW 3 Notes
    GLFW_OPENGL_VERSION_MAJOR GLFW_CONTEXT_VERSION_MAJOR Renamed as it applies to OpenGL ES as well
    GLFW_OPENGL_VERSION_MINOR GLFW_CONTEXT_VERSION_MINOR Renamed as it applies to OpenGL ES as well
    GLFW_FSAA_SAMPLES GLFW_SAMPLES Renamed to match the OpenGL API
    GLFW_ACTIVE GLFW_FOCUSED Renamed to match the window focus callback
    GLFW_WINDOW_NO_RESIZE GLFW_RESIZABLE The default has been inverted
    GLFW_MOUSE_CURSOR GLFW_CURSOR Used with glfwSetInputMode
    GLFW_KEY_ESC GLFW_KEY_ESCAPE
    GLFW_KEY_DEL GLFW_KEY_DELETE
    GLFW_KEY_PAGEUP GLFW_KEY_PAGE_UP
    GLFW_KEY_PAGEDOWN GLFW_KEY_PAGE_DOWN
    GLFW_KEY_KP_NUM_LOCK GLFW_KEY_NUM_LOCK
    GLFW_KEY_LCTRL GLFW_KEY_LEFT_CONTROL
    GLFW_KEY_LSHIFT GLFW_KEY_LEFT_SHIFT
    GLFW_KEY_LALT GLFW_KEY_LEFT_ALT
    GLFW_KEY_LSUPER GLFW_KEY_LEFT_SUPER
    GLFW_KEY_RCTRL GLFW_KEY_RIGHT_CONTROL
    GLFW_KEY_RSHIFT GLFW_KEY_RIGHT_SHIFT
    GLFW_KEY_RALT GLFW_KEY_RIGHT_ALT
    GLFW_KEY_RSUPER GLFW_KEY_RIGHT_SUPER
    +
    +
    +
    The header of the GLFW 3 API.
    +
    void glfwSetWindowTitle(GLFWwindow *window, const char *title)
    Sets the title of the specified window.
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1177
    +
    void glfwSwapBuffers(GLFWwindow *window)
    Swaps the front and back buffers of the specified window.
    +
    int glfwWindowShouldClose(GLFWwindow *window)
    Checks the close flag of the specified window.
    +
    void glfwPollEvents(void)
    Processes all pending events.
    +
    GLFWmonitor * glfwGetPrimaryMonitor(void)
    Returns the primary monitor.
    +
    GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
    Creates a window and its associated context.
    +
    void glfwGetWindowSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the content area of the specified window.
    +
    void glfwGetFramebufferSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the framebuffer of the specified window.
    + + + diff --git a/docs/3.3/nav_f.png b/docs/3.3/nav_f.png new file mode 100644 index 0000000000000000000000000000000000000000..72a58a529ed3a9ed6aa0c51a79cf207e026deee2 GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQVE_ejv*C{Z|{2ZH7M}7UYxc) zn!W8uqtnIQ>_z8U literal 0 HcmV?d00001 diff --git a/docs/3.3/nav_g.png b/docs/3.3/nav_g.png new file mode 100644 index 0000000000000000000000000000000000000000..2093a237a94f6c83e19ec6e5fd42f7ddabdafa81 GIT binary patch literal 95 zcmeAS@N?(olHy`uVBq!ia0vp^j6lrB!3HFm1ilyoDK$?Q$B+ufw|5PB85lU25BhtE tr?otc=hd~V+ws&_A@j8Fiv!KF$B+ufw|5=67#uj90@pIL wZ=Q8~_Ju`#59=RjDrmm`tMD@M=!-l18IR?&vFVdQ&MBb@0HFXL + + + + + + +GLFW: Release notes + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Release notes
    +
    +
    +

    Table of Contents

    + +
    +

    +Release notes for version 3.3

    +

    These are the release notes for version 3.3. For a more detailed view including all fixed bugs see the version history.

    +

    Please review the caveats, deprecations and removals if your project was written against an earlier version of GLFW 3.

    +

    +New features in version 3.3

    +

    +Gamepad input via SDL_GameControllerDB

    +

    GLFW can now remap game controllers to a standard Xbox-like layout using a built-in copy of SDL_GameControllerDB. Call glfwJoystickIsGamepad to check if a joystick has a mapping, glfwGetGamepadState to retrieve its input state, glfwUpdateGamepadMappings to add newer mappings and glfwGetGamepadName and glfwGetJoystickGUID for mapping related information.

    +

    For more information see Gamepad input.

    +

    +Support for Vulkan on macOS via MoltenVK

    +

    GLFW now supports MoltenVK, a Vulkan implementation on top of the Metal API, and its VK_MVK_macos_surface window surface creation extension. MoltenVK is included in the macOS Vulkan SDK.

    +

    For more information see Vulkan guide.

    +

    +Content scale queries for DPI-aware rendering

    +

    GLFW now provides content scales for windows and monitors, i.e. the ratio between their current DPI and the platform's default DPI, with glfwGetWindowContentScale and glfwGetMonitorContentScale.

    +

    Changes of the content scale of a window can be received with the window content scale callback, set with glfwSetWindowContentScaleCallback.

    +

    The GLFW_SCALE_TO_MONITOR window hint enables automatic resizing of a window by the content scale of the monitor it is placed, on platforms like Windows where this is necessary. This takes effect both on creation and when the window is moved between monitors. It is related to but different from GLFW_COCOA_RETINA_FRAMEBUFFER.

    +

    For more information see Window content scale.

    +

    +Support for updating window attributes

    +

    GLFW now supports changing the GLFW_DECORATED, GLFW_RESIZABLE, GLFW_FLOATING, GLFW_AUTO_ICONIFY and GLFW_FOCUS_ON_SHOW attributes for existing windows with glfwSetWindowAttrib.

    +

    For more information see Window attributes.

    +

    +Support for raw mouse motion

    +

    GLFW now supports raw (unscaled and unaccelerated) mouse motion in disabled cursor mode with the GLFW_RAW_MOUSE_MOTION input mode. Raw mouse motion input is not yet implemented on macOS. Call glfwRawMouseMotionSupported to check if GLFW can provide raw mouse motion on the current system.

    +

    For more information see Raw mouse motion.

    +

    +Joystick hats

    +

    GLFW can now return the state of hats (i.e. POVs or D-pads) of a joystick with glfwGetJoystickHats. For compatibility, hats are also exposed as buttons. This can be disabled with the GLFW_JOYSTICK_HAT_BUTTONS initialization hint.

    +

    For more information see Joystick hat states.

    +

    +Error query

    +

    GLFW now supports querying the last error code for the calling thread and its human-readable description with glfwGetError. This can be used instead of or together with the error callback.

    +

    For more information see Error handling.

    +

    +Support for initialization hints

    +

    GLFW now supports setting library initialization hints with glfwInitHint. These must be set before initialization to take effect. Some of these hints are platform specific but are safe to set on any platform.

    +

    For more information see Initialization hints.

    +

    +User attention request

    +

    GLFW now supports requesting user attention with glfwRequestWindowAttention. Where possible this calls attention to the specified window. On platforms like macOS it calls attention to the whole application.

    +

    For more information see Window attention request.

    +

    +Window maximization callback

    +

    GLFW now supports notifying the application that the window has been maximized glfwSetWindowMaximizeCallback. This is called both when the window was maximized by the user and when it was done with glfwMaximizeWindow.

    +

    For more information see Window maximization.

    +

    +Query for the monitor work area

    +

    GLFW now supports querying the work area of a monitor, i.e. the area not occupied by task bars or global menu bars, with glfwGetMonitorWorkarea. On platforms that lack this concept, the whole area of the monitor is returned.

    +

    For more information see Work area.

    +

    +Transparent windows and framebuffers

    +

    GLFW now supports the creation of windows with transparent framebuffers on systems with desktop compositing enabled with the GLFW_TRANSPARENT_FRAMEBUFFER window hint and attribute. This hint must be set before window creation and leaves any window decorations opaque.

    +

    GLFW now also supports whole window transparency with glfwGetWindowOpacity and glfwSetWindowOpacity. This value controls the opacity of the whole window including decorations and unlike framebuffer transparency can be changed at any time after window creation.

    +

    For more information see Window transparency.

    +

    +Query for the scancode of a key

    +

    GLFW now supports querying the platform dependent scancode of any physical key with glfwGetKeyScancode.

    +

    For more information see Key input.

    +

    +Cursor centering window hint

    +

    GLFW now supports controlling whether the cursor is centered over newly created full screen windows with the GLFW_CENTER_CURSOR window hint. It is enabled by default.

    +

    +Mouse cursor hover window attribute

    +

    GLFW now supports polling whether the cursor is hovering over the window content area with the GLFW_HOVERED window attribute. This attribute corresponds to the cursor enter/leave event.

    +

    +Window hint and attribute for input focus on show

    +

    GLFW now has the GLFW_FOCUS_ON_SHOW window hint and attribute for controlling whether a window gets input focus when shown. It is enabled by default. It applies both when creating an visible window with glfwCreateWindow and when showing it with glfwShowWindow.

    +

    This is a workaround for GLFW 3.0 lacking glfwFocusWindow and will be corrected in the next major version.

    +

    For more information see Window visibility.

    +

    +Monitor and joystick user pointers

    +

    GLFW now supports setting and querying user pointers for connected monitors and joysticks with glfwSetMonitorUserPointer, glfwGetMonitorUserPointer, glfwSetJoystickUserPointer and glfwGetJoystickUserPointer.

    +

    For more information see User pointer and Joystick user pointer.

    +

    +macOS menu bar from nib file

    +

    GLFW will now load a MainMenu.nib file if found in the Contents/Resources directory of the application bundle, as a way to replace the GLFW menu bar without recompiling GLFW. This behavior can be disabled with the GLFW_COCOA_MENUBAR initialization hint.

    +

    +Support for more context creation extensions

    +

    The context hint GLFW_SRGB_CAPABLE now supports OpenGL ES via WGL_EXT_colorspace, the context hint GLFW_CONTEXT_NO_ERROR now supports WGL_ARB_create_context_no_error and GLX_ARB_create_context_no_error, the context hint GLFW_CONTEXT_RELEASE_BEHAVIOR now supports EGL_KHR_context_flush_control and glfwGetProcAddress now supports EGL_KHR_get_all_proc_addresses.

    +

    +OSMesa off-screen context creation support

    +

    GLFW now supports creating off-screen OpenGL contexts using OSMesa by setting GLFW_CONTEXT_CREATION_API to GLFW_OSMESA_CONTEXT_API. Native access function have been added to retrieve the OSMesa color and depth buffers.

    +

    There is also a new null backend that uses OSMesa as its native context creation API, intended for automated testing. This backend does not provide input.

    +

    +Caveats for version 3.3

    +

    +Layout of joysticks have changed

    +

    The way joystick elements are arranged have changed to match SDL2 in order to support SDL_GameControllerDB mappings. The layout of joysticks may change again if required for compatibility with SDL2. If you need a known and stable layout for game controllers, see if you can switch to Gamepad input.

    +

    Existing code that depends on a specific joystick layout will likely have to be updated.

    +

    +No window required to wait for events

    +

    The glfwWaitEvents and glfwWaitEventsTimeout functions no longer need a window to be created to wait for events. Before version 3.3 these functions would return immediately if there were no user-created windows. On platforms where only windows can receive events, an internal helper window is used.

    +

    Existing code that depends on the earlier behavior will likely have to be updated.

    +

    +Gamma ramp size of 256 may be rejected

    +

    The documentation for versions before 3.3 stated that a gamma ramp size of 256 would always be accepted. This was never the case on X11 and could lead to artifacts on macOS. The glfwSetGamma function has been updated to always generate a ramp of the correct size.

    +

    Existing code that hardcodes a size of 256 should be updated to use the size of the current ramp of a monitor when setting a new ramp for that monitor.

    +

    +Windows XInput deadzone removed

    +

    GLFW no longer applies any deadzone to the input state received from the XInput API. This was never done for any other platform joystick API so this change makes the behavior more consistent but you will need to apply your own deadzone if desired.

    +

    +X11 clipboard transfer limits

    +

    GLFW now supports reading clipboard text via the INCR method, which removes the limit on how much text can be read with glfwGetClipboardString. However, writing via this method is not yet supported, so you may not be able to write a very large string with glfwSetClipboardString even if you read it from the clipboard earlier.

    +

    The exact size limit for writing to the clipboard is negotiated with each receiving application but is at least several tens of kilobytes. Note that only the read limit has changed. Any string that could be written before still can be.

    +

    +X11 extension libraries are loaded dynamically

    +

    GLFW now loads all X11 extension libraries at initialization. The only X11 library you need to link against is libX11. The header files for the extension libraries are still required for compilation.

    +

    Existing projects and makefiles that link GLFW directly against the extension libraries should still build correctly but will add these libraries as load-time dependencies.

    +

    +CMake 3.0 or later is required

    +

    The minimum CMake version has been raised from 2.8.12 to 3.0. This is only a requirement of the GLFW CMake files. The GLFW source files do not depend on CMake.

    +

    +Framebuffer transparency requires DWM transparency

    +

    GLFW no longer supports framebuffer transparency enabled via GLFW_TRANSPARENT_FRAMEBUFFER on Windows 7 if DWM transparency is off (the Transparency setting under Personalization > Window Color).

    +

    +Deprecations in version 3.3

    +

    +Character with modifiers callback

    +

    The character with modifiers callback set with glfwSetCharModsCallback has been deprecated and should if possible not be used.

    +

    Existing code should still work but further bug fixes will likely not be made. The callback will be removed in the next major version.

    +

    +Window parameter to clipboard functions

    +

    The window parameter of the clipboard functions glfwGetClipboardString and glfwSetClipboardString has been deprecated and is no longer used on any platform. On platforms where the clipboard must be owned by a specific window, an internal helper window is used.

    +

    Existing code should still work unless it depends on a specific window owning the clipboard. New code may pass NULL as the window argument. The parameter will be removed in a future release.

    +

    +Removals in 3.3

    +

    +macOS specific CMake options and macros

    +

    The GLFW_USE_RETINA, GLFW_USE_CHDIR and GLFW_USE_MENUBAR CMake options and the _GLFW_USE_RETINA, _GLFW_USE_CHDIR and _GLFW_USE_MENUBAR compile-time macros have been removed.

    +

    These options and macros are replaced by the window hint GLFW_COCOA_RETINA_FRAMEBUFFER and the init hints GLFW_COCOA_CHDIR_RESOURCES and GLFW_COCOA_MENUBAR.

    +

    Existing projects and makefiles that set these options or define these macros during compilation of GLFW will still build but it will have no effect and the default behaviors will be used.

    +

    +LunarG Vulkan SDK dependency

    +

    The GLFW test programs that previously depended on the LunarG Vulkan SDK now instead uses a Vulkan loader generated by glad2. This means the GLFW CMake files no longer look for the Vulkan SDK.

    +

    Existing CMake projects that depended on the Vulkan SDK cache variables from GLFW will need to call find_package(Vulkan) themselves. CMake 3.7 and later already comes with a Vulkan find module similar to the one GLFW previously included.

    +

    +CMake option LIB_SUFFIX

    +

    The LIB_SUFFIX CMake option has been removed. GLFW now uses the GNUInstallDirs CMake package to handle platform specific details like the library directory suffix and the LIB_SUFFIX CMake option has been removed.

    +

    Existing projects and makefiles that set the LIB_SUFFIX option will use the suffix chosen by the GNUInstallDirs package and the option will be ignored.

    +

    +Mir support

    +

    The experimental Mir support has been completely removed as the Mir project has implemented support for the Wayland protocol and is recommending that applications use that instead.

    +

    Existing projects and makefiles that select Mir when compiling GLFW will fail. Use Wayland or X11 instead.

    +

    +New symbols in version 3.3

    +

    +New functions in version 3.3

    + +

    +New types in version 3.3

    + +

    +New constants in version 3.3

    + +

    +Release notes for 3.2

    +

    These are the release notes for version 3.2. For a more detailed view including all fixed bugs see the version history.

    +

    +New features in version 3.2

    +

    +Support for Vulkan

    +

    GLFW now supports basic integration with Vulkan with glfwVulkanSupported, glfwGetRequiredInstanceExtensions, glfwGetInstanceProcAddress, glfwGetPhysicalDevicePresentationSupport and glfwCreateWindowSurface. Vulkan header inclusion can be selected with GLFW_INCLUDE_VULKAN.

    +

    +Window mode switching

    +

    GLFW now supports switching between windowed and full screen modes and updating the monitor and desired resolution and refresh rate of full screen windows with glfwSetWindowMonitor.

    +

    +Window maxmimization support

    +

    GLFW now supports window maximization with glfwMaximizeWindow and the GLFW_MAXIMIZED window hint and attribute.

    +

    +Window input focus control

    +

    GLFW now supports giving windows input focus with glfwFocusWindow.

    +

    +Window size limit support

    +

    GLFW now supports setting both absolute and relative window size limits with glfwSetWindowSizeLimits and glfwSetWindowAspectRatio.

    +

    +Localized key names

    +

    GLFW now supports querying the localized name of printable keys with glfwGetKeyName, either by key token or by scancode.

    +

    +Wait for events with timeout

    +

    GLFW now supports waiting for events for a set amount of time with glfwWaitEventsTimeout.

    +

    +Window icon support

    +

    GLFW now supports setting the icon of windows with glfwSetWindowIcon.

    +

    +Raw timer access

    +

    GLFW now supports raw timer values with glfwGetTimerValue and glfwGetTimerFrequency.

    +

    +Joystick connection callback

    +

    GLFW now supports notifying when a joystick has been connected or disconnected with glfwSetJoystickCallback.

    +

    +Context-less windows

    +

    GLFW now supports creating windows without a OpenGL or OpenGL ES context by setting the GLFW_CLIENT_API hint to GLFW_NO_API.

    +

    +Run-time context creation API selection

    +

    GLFW now supports selecting and querying the context creation API at run-time with the GLFW_CONTEXT_CREATION_API hint and attribute.

    +

    +Error-free context creation

    +

    GLFW now supports creating and querying OpenGL and OpenGL ES contexts that do not emit errors with the GLFW_CONTEXT_NO_ERROR hint, provided the machine supports the GL_KHR_no_error extension.

    +

    +CMake config-file package support

    +

    GLFW now supports being used as a config-file package from other projects for easy linking with the library and its dependencies.

    +

    +Release notes for 3.1

    +

    These are the release notes for version 3.1. For a more detailed view including all fixed bugs see the version history.

    +

    +New features in version 3.1

    +

    +Custom mouse cursor images

    +

    GLFW now supports creating and setting both custom cursor images and standard cursor shapes. They are created with glfwCreateCursor or glfwCreateStandardCursor, set with glfwSetCursor and destroyed with glfwDestroyCursor.

    +
    See also
    Cursor objects
    +

    +Path drop event

    +

    GLFW now provides a callback for receiving the paths of files and directories dropped onto GLFW windows. The callback is set with glfwSetDropCallback.

    +
    See also
    Path drop input
    +

    +Main thread wake-up

    +

    GLFW now provides the glfwPostEmptyEvent function for posting an empty event from another thread to the main thread event queue, causing glfwWaitEvents to return.

    +
    See also
    Event processing
    +

    +Window frame size query

    +

    GLFW now supports querying the size, on each side, of the frame around the content area of a window, with glfwGetWindowFrameSize.

    +
    See also
    Window size
    +

    +Simultaneous multi-monitor rendering

    +

    GLFW now supports disabling auto-iconification of full screen windows with the GLFW_AUTO_ICONIFY window hint. This is intended for people building multi-monitor installations, where you need windows to stay in full screen despite losing input focus.

    +

    +Floating windows

    +

    GLFW now supports floating windows, also called topmost or always on top, for easier debugging with the GLFW_FLOATING window hint and attribute.

    +

    +Initially unfocused windows

    +

    GLFW now supports preventing a windowed mode window from gaining input focus on creation, with the GLFW_FOCUSED window hint.

    +

    +Direct access for window attributes and cursor position

    +

    GLFW now queries the window input focus, visibility and iconification attributes and the cursor position directly instead of returning cached data.

    +

    +Character with modifiers callback

    +

    GLFW now provides a callback for character events with modifier key bits. The callback is set with glfwSetCharModsCallback. Unlike the regular character callback, this will report character events that will not result in a character being input, for example if the Control key is held down.

    +
    See also
    Text input
    +

    +Single buffered framebuffers

    +

    GLFW now supports the creation of single buffered windows, with the GLFW_DOUBLEBUFFER hint.

    +

    +Macro for including extension header

    +

    GLFW now includes the extension header appropriate for the chosen OpenGL or OpenGL ES header when GLFW_INCLUDE_GLEXT is defined. GLFW does not provide these headers. They must be provided by your development environment or your OpenGL or OpenGL ES SDK.

    +

    +Context release behaviors

    +

    GLFW now supports controlling and querying whether the pipeline is flushed when a context is made non-current, with the GLFW_CONTEXT_RELEASE_BEHAVIOR hint and attribute, provided the machine supports the GL_KHR_context_flush_control extension.

    +

    +(Experimental) Wayland support

    +

    GLFW now has an experimental Wayland display protocol backend that can be selected on Linux with a CMake option.

    +

    +(Experimental) Mir support

    +

    GLFW now has an experimental Mir display server backend that can be selected on Linux with a CMake option.

    +

    +Release notes for 3.0

    +

    These are the release notes for version 3.0. For a more detailed view including all fixed bugs see the version history.

    +

    +New features in version 3.0

    +

    +CMake build system

    +

    GLFW now uses the CMake build system instead of the various makefiles and project files used by earlier versions. CMake is available for all platforms supported by GLFW, is present in most package systems and can generate makefiles and/or project files for most popular development environments.

    +

    For more information on how to use CMake, see the CMake manual.

    +

    +Multi-window support

    +

    GLFW now supports the creation of multiple windows, each with their own OpenGL or OpenGL ES context, and all window functions now take a window handle. Event callbacks are now per-window and are provided with the handle of the window that received the event. The glfwMakeContextCurrent function has been added to select which context is current on a given thread.

    +

    +Multi-monitor support

    +

    GLFW now explicitly supports multiple monitors. They can be enumerated with glfwGetMonitors, queried with glfwGetVideoModes, glfwGetMonitorPos, glfwGetMonitorName and glfwGetMonitorPhysicalSize, and specified at window creation to make the newly created window full screen on that specific monitor.

    +

    +Unicode support

    +

    All string arguments to GLFW functions and all strings returned by GLFW now use the UTF-8 encoding. This includes the window title, error string, clipboard text, monitor and joystick names as well as the extension function arguments (as ASCII is a subset of UTF-8).

    +

    +Clipboard text I/O

    +

    GLFW now supports reading and writing plain text to and from the system clipboard, with the glfwGetClipboardString and glfwSetClipboardString functions.

    +

    +Gamma ramp support

    +

    GLFW now supports setting and reading back the gamma ramp of monitors, with the glfwGetGammaRamp and glfwSetGammaRamp functions. There is also glfwSetGamma, which generates a ramp from a gamma value and then sets it.

    +

    +OpenGL ES support

    +

    GLFW now supports the creation of OpenGL ES contexts, by setting the GLFW_CLIENT_API hint to GLFW_OPENGL_ES_API, where creation of such contexts are supported. Note that GLFW does not implement OpenGL ES, so your driver must provide support in a way usable by GLFW. Modern Nvidia and Intel drivers support creation of OpenGL ES context using the GLX and WGL APIs, while AMD provides an EGL implementation instead.

    +

    +(Experimental) EGL support

    +

    GLFW now has an experimental EGL context creation back end that can be selected through CMake options.

    +

    +High-DPI support

    +

    GLFW now supports high-DPI monitors on both Windows and macOS, giving windows full resolution framebuffers where other UI elements are scaled up. To achieve this, glfwGetFramebufferSize and glfwSetFramebufferSizeCallback have been added. These work with pixels, while the rest of the GLFW API works with screen coordinates. This is important as OpenGL uses pixels, not screen coordinates.

    +

    +Error callback

    +

    GLFW now has an error callback, which can provide your application with much more detailed diagnostics than was previously possible. The callback is passed an error code and a description string.

    +

    +Per-window user pointer

    +

    Each window now has a user-defined pointer, retrieved with glfwGetWindowUserPointer and set with glfwSetWindowUserPointer, to make it easier to integrate GLFW into C++ code.

    +

    +Window iconification callback

    +

    Each window now has a callback for iconification and restoration events, which is set with glfwSetWindowIconifyCallback.

    +

    +Window position callback

    +

    Each window now has a callback for position events, which is set with glfwSetWindowPosCallback.

    +

    +Window position query

    +

    The position of a window can now be retrieved using glfwGetWindowPos.

    +

    +Window focus callback

    +

    Each windows now has a callback for focus events, which is set with glfwSetWindowFocusCallback.

    +

    +Cursor enter/leave callback

    +

    Each window now has a callback for when the mouse cursor enters or leaves its content area, which is set with glfwSetCursorEnterCallback.

    +

    +Initial window title

    +

    The title of a window is now specified at creation time, as one of the arguments to glfwCreateWindow.

    +

    +Hidden windows

    +

    Windows can now be hidden with glfwHideWindow, shown using glfwShowWindow and created initially hidden with the GLFW_VISIBLE window hint and attribute. This allows for off-screen rendering in a way compatible with most drivers, as well as moving a window to a specific position before showing it.

    +

    +Undecorated windows

    +

    Windowed mode windows can now be created without decorations, e.g. things like a frame, a title bar, with the GLFW_DECORATED window hint and attribute. This allows for the creation of things like splash screens.

    +

    +Modifier key bit masks

    +

    Modifier key bit mask parameters have been added to the mouse button and key callbacks.

    +

    +Platform-specific scancodes

    +

    A scancode parameter has been added to the key callback. Keys that don't have a key token still get passed on with the key parameter set to GLFW_KEY_UNKNOWN. These scancodes will vary between machines and are intended to be used for key bindings.

    +

    +Joystick names

    +

    The name of a joystick can now be retrieved using glfwGetJoystickName.

    +

    +Doxygen documentation

    +

    You are reading it.

    +
    +
    + + + diff --git a/docs/3.3/news_8dox.html b/docs/3.3/news_8dox.html new file mode 100644 index 0000000..8c062d4 --- /dev/null +++ b/docs/3.3/news_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: news.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    news.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.3/open.png b/docs/3.3/open.png new file mode 100644 index 0000000000000000000000000000000000000000..30f75c7efe2dd0c9e956e35b69777a02751f048b GIT binary patch literal 123 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{VPM$7~Ar*{o?;hlAFyLXmaDC0y znK1_#cQqJWPES%4Uujug^TE?jMft$}Eq^WaR~)%f)vSNs&gek&x%A9X9sM + + + + + + +GLFW: Guides + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Guides
    +
    + + + + diff --git a/docs/3.3/quick.html b/docs/3.3/quick.html new file mode 120000 index 0000000..ecb98b4 --- /dev/null +++ b/docs/3.3/quick.html @@ -0,0 +1 @@ +quick_guide.html \ No newline at end of file diff --git a/docs/3.3/quick_8dox.html b/docs/3.3/quick_8dox.html new file mode 100644 index 0000000..882a005 --- /dev/null +++ b/docs/3.3/quick_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: quick.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    quick.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.3/quick_guide.html b/docs/3.3/quick_guide.html new file mode 100644 index 0000000..efad619 --- /dev/null +++ b/docs/3.3/quick_guide.html @@ -0,0 +1,391 @@ + + + + + + + +GLFW: Getting started + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Getting started
    +
    +
    + +

    This guide takes you through writing a simple application using GLFW 3. The application will create a window and OpenGL context, render a rotating triangle and exit when the user closes the window or presses Escape. This guide will introduce a few of the most commonly used functions, but there are many more.

    +

    This guide assumes no experience with earlier versions of GLFW. If you have used GLFW 2 in the past, read Moving from GLFW 2 to 3, as some functions behave differently in GLFW 3.

    +

    +Step by step

    +

    +Including the GLFW header

    +

    In the source files of your application where you use GLFW, you need to include its header file.

    +
    #include <GLFW/glfw3.h>
    +

    This header provides all the constants, types and function prototypes of the GLFW API.

    +

    By default it also includes the OpenGL header from your development environment. On some platforms this header only supports older versions of OpenGL. The most extreme case is Windows, where it typically only supports OpenGL 1.2.

    +

    Most programs will instead use an extension loader library and include its header. This example uses files generated by glad. The GLFW header can detect most such headers if they are included first and will then not include the one from your development environment.

    +
    #include <glad/gl.h>
    +
    #include <GLFW/glfw3.h>
    +

    To make sure there will be no header conflicts, you can define GLFW_INCLUDE_NONE before the GLFW header to explicitly disable inclusion of the development environment header. This also allows the two headers to be included in any order.

    +
    #define GLFW_INCLUDE_NONE
    +
    #include <GLFW/glfw3.h>
    +
    #include <glad/gl.h>
    +

    +Initializing and terminating GLFW

    +

    Before you can use most GLFW functions, the library must be initialized. On successful initialization, GLFW_TRUE is returned. If an error occurred, GLFW_FALSE is returned.

    +
    if (!glfwInit())
    +
    {
    +
    // Initialization failed
    +
    }
    +

    Note that GLFW_TRUE and GLFW_FALSE are and will always be one and zero.

    +

    When you are done using GLFW, typically just before the application exits, you need to terminate GLFW.

    +

    This destroys any remaining windows and releases any other resources allocated by GLFW. After this call, you must initialize GLFW again before using any GLFW functions that require it.

    +

    +Setting an error callback

    +

    Most events are reported through callbacks, whether it's a key being pressed, a GLFW window being moved, or an error occurring. Callbacks are C functions (or C++ static methods) that are called by GLFW with arguments describing the event.

    +

    In case a GLFW function fails, an error is reported to the GLFW error callback. You can receive these reports with an error callback. This function must have the signature below but may do anything permitted in other callbacks.

    +
    void error_callback(int error, const char* description)
    +
    {
    +
    fprintf(stderr, "Error: %s\n", description);
    +
    }
    +

    Callback functions must be set, so GLFW knows to call them. The function to set the error callback is one of the few GLFW functions that may be called before initialization, which lets you be notified of errors both during and after initialization.

    +
    glfwSetErrorCallback(error_callback);
    +

    +Creating a window and context

    +

    The window and its OpenGL context are created with a single call to glfwCreateWindow, which returns a handle to the created combined window and context object

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", NULL, NULL);
    +
    if (!window)
    +
    {
    +
    // Window or OpenGL context creation failed
    +
    }
    +

    This creates a 640 by 480 windowed mode window with an OpenGL context. If window or OpenGL context creation fails, NULL will be returned. You should always check the return value. While window creation rarely fails, context creation depends on properly installed drivers and may fail even on machines with the necessary hardware.

    +

    By default, the OpenGL context GLFW creates may have any version. You can require a minimum OpenGL version by setting the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints before creation. If the required minimum version is not supported on the machine, context (and window) creation fails.

    +
    + +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", NULL, NULL);
    +
    if (!window)
    +
    {
    +
    // Window or context creation failed
    +
    }
    +

    The window handle is passed to all window related functions and is provided to along to all window related callbacks, so they can tell which window received the event.

    +

    When a window and context is no longer needed, destroy it.

    +

    Once this function is called, no more events will be delivered for that window and its handle becomes invalid.

    +

    +Making the OpenGL context current

    +

    Before you can use the OpenGL API, you must have a current OpenGL context.

    +

    The context will remain current until you make another context current or until the window owning the current context is destroyed.

    +

    If you are using an extension loader library to access modern OpenGL then this is when to initialize it, as the loader needs a current context to load from. This example uses glad, but the same rule applies to all such libraries.

    +
    gladLoadGL(glfwGetProcAddress);
    +

    +Checking the window close flag

    +

    Each window has a flag indicating whether the window should be closed.

    +

    When the user attempts to close the window, either by pressing the close widget in the title bar or using a key combination like Alt+F4, this flag is set to 1. Note that the window isn't actually closed, so you are expected to monitor this flag and either destroy the window or give some kind of feedback to the user.

    +
    while (!glfwWindowShouldClose(window))
    +
    {
    +
    // Keep running
    +
    }
    +

    You can be notified when the user is attempting to close the window by setting a close callback with glfwSetWindowCloseCallback. The callback will be called immediately after the close flag has been set.

    +

    You can also set it yourself with glfwSetWindowShouldClose. This can be useful if you want to interpret other kinds of input as closing the window, like for example pressing the Escape key.

    +

    +Receiving input events

    +

    Each window has a large number of callbacks that can be set to receive all the various kinds of events. To receive key press and release events, create a key callback function.

    +
    static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
    +
    {
    +
    if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS)
    + +
    }
    +

    The key callback, like other window related callbacks, are set per-window.

    +
    glfwSetKeyCallback(window, key_callback);
    +

    In order for event callbacks to be called when events occur, you need to process events as described below.

    +

    +Rendering with OpenGL

    +

    Once you have a current OpenGL context, you can use OpenGL normally. In this tutorial, a multi-colored rotating triangle will be rendered. The framebuffer size needs to be retrieved for glViewport.

    +
    int width, height;
    +
    glfwGetFramebufferSize(window, &width, &height);
    +
    glViewport(0, 0, width, height);
    +

    You can also set a framebuffer size callback using glfwSetFramebufferSizeCallback and be notified when the size changes.

    +

    The details of how to render with OpenGL is outside the scope of this tutorial, but there are many excellent resources for learning modern OpenGL. Here are a few of them:

    + +

    These all happen to use GLFW, but OpenGL itself works the same whatever API you use to create the window and context.

    +

    +Reading the timer

    +

    To create smooth animation, a time source is needed. GLFW provides a timer that returns the number of seconds since initialization. The time source used is the most accurate on each platform and generally has micro- or nanosecond resolution.

    +
    double time = glfwGetTime();
    +

    +Swapping buffers

    +

    GLFW windows by default use double buffering. That means that each window has two rendering buffers; a front buffer and a back buffer. The front buffer is the one being displayed and the back buffer the one you render to.

    +

    When the entire frame has been rendered, the buffers need to be swapped with one another, so the back buffer becomes the front buffer and vice versa.

    +
    +

    The swap interval indicates how many frames to wait until swapping the buffers, commonly known as vsync. By default, the swap interval is zero, meaning buffer swapping will occur immediately. On fast machines, many of those frames will never be seen, as the screen is still only updated typically 60-75 times per second, so this wastes a lot of CPU and GPU cycles.

    +

    Also, because the buffers will be swapped in the middle the screen update, leading to screen tearing.

    +

    For these reasons, applications will typically want to set the swap interval to one. It can be set to higher values, but this is usually not recommended, because of the input latency it leads to.

    +

    This function acts on the current context and will fail unless a context is current.

    +

    +Processing events

    +

    GLFW needs to communicate regularly with the window system both in order to receive events and to show that the application hasn't locked up. Event processing must be done regularly while you have visible windows and is normally done each frame after buffer swapping.

    +

    There are two methods for processing pending events; polling and waiting. This example will use event polling, which processes only those events that have already been received and then returns immediately.

    +

    This is the best choice when rendering continually, like most games do. If instead you only need to update your rendering once you have received new input, glfwWaitEvents is a better choice. It waits until at least one event has been received, putting the thread to sleep in the meantime, and then processes all received events. This saves a great deal of CPU cycles and is useful for, for example, many kinds of editing tools.

    +

    +Putting it together

    +

    Now that you know how to initialize GLFW, create a window and poll for keyboard input, it's possible to create a simple program.

    +

    This program creates a 640 by 480 windowed mode window and starts a loop that clears the screen, renders a triangle and processes events until the user either presses Escape or closes the window.

    +
    +
    #include <glad/gl.h>
    +
    #define GLFW_INCLUDE_NONE
    +
    #include <GLFW/glfw3.h>
    +
    +
    #include "linmath.h"
    +
    +
    #include <stdlib.h>
    +
    #include <stdio.h>
    +
    +
    static const struct
    +
    {
    +
    float x, y;
    +
    float r, g, b;
    +
    } vertices[3] =
    +
    {
    +
    { -0.6f, -0.4f, 1.f, 0.f, 0.f },
    +
    { 0.6f, -0.4f, 0.f, 1.f, 0.f },
    +
    { 0.f, 0.6f, 0.f, 0.f, 1.f }
    +
    };
    +
    +
    static const char* vertex_shader_text =
    +
    "#version 110\n"
    +
    "uniform mat4 MVP;\n"
    +
    "attribute vec3 vCol;\n"
    +
    "attribute vec2 vPos;\n"
    +
    "varying vec3 color;\n"
    +
    "void main()\n"
    +
    "{\n"
    +
    " gl_Position = MVP * vec4(vPos, 0.0, 1.0);\n"
    +
    " color = vCol;\n"
    +
    "}\n";
    +
    +
    static const char* fragment_shader_text =
    +
    "#version 110\n"
    +
    "varying vec3 color;\n"
    +
    "void main()\n"
    +
    "{\n"
    +
    " gl_FragColor = vec4(color, 1.0);\n"
    +
    "}\n";
    +
    +
    static void error_callback(int error, const char* description)
    +
    {
    +
    fprintf(stderr, "Error: %s\n", description);
    +
    }
    +
    +
    static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
    +
    {
    +
    if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS)
    + +
    }
    +
    +
    int main(void)
    +
    {
    +
    GLFWwindow* window;
    +
    GLuint vertex_buffer, vertex_shader, fragment_shader, program;
    +
    GLint mvp_location, vpos_location, vcol_location;
    +
    +
    glfwSetErrorCallback(error_callback);
    +
    +
    if (!glfwInit())
    +
    exit(EXIT_FAILURE);
    +
    + + +
    +
    window = glfwCreateWindow(640, 480, "Simple example", NULL, NULL);
    +
    if (!window)
    +
    {
    + +
    exit(EXIT_FAILURE);
    +
    }
    +
    +
    glfwSetKeyCallback(window, key_callback);
    +
    + +
    gladLoadGL(glfwGetProcAddress);
    + +
    +
    // NOTE: OpenGL error checks have been omitted for brevity
    +
    +
    glGenBuffers(1, &vertex_buffer);
    +
    glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer);
    +
    glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
    +
    +
    vertex_shader = glCreateShader(GL_VERTEX_SHADER);
    +
    glShaderSource(vertex_shader, 1, &vertex_shader_text, NULL);
    +
    glCompileShader(vertex_shader);
    +
    +
    fragment_shader = glCreateShader(GL_FRAGMENT_SHADER);
    +
    glShaderSource(fragment_shader, 1, &fragment_shader_text, NULL);
    +
    glCompileShader(fragment_shader);
    +
    +
    program = glCreateProgram();
    +
    glAttachShader(program, vertex_shader);
    +
    glAttachShader(program, fragment_shader);
    +
    glLinkProgram(program);
    +
    +
    mvp_location = glGetUniformLocation(program, "MVP");
    +
    vpos_location = glGetAttribLocation(program, "vPos");
    +
    vcol_location = glGetAttribLocation(program, "vCol");
    +
    +
    glEnableVertexAttribArray(vpos_location);
    +
    glVertexAttribPointer(vpos_location, 2, GL_FLOAT, GL_FALSE,
    +
    sizeof(vertices[0]), (void*) 0);
    +
    glEnableVertexAttribArray(vcol_location);
    +
    glVertexAttribPointer(vcol_location, 3, GL_FLOAT, GL_FALSE,
    +
    sizeof(vertices[0]), (void*) (sizeof(float) * 2));
    +
    +
    while (!glfwWindowShouldClose(window))
    +
    {
    +
    float ratio;
    +
    int width, height;
    +
    mat4x4 m, p, mvp;
    +
    +
    glfwGetFramebufferSize(window, &width, &height);
    +
    ratio = width / (float) height;
    +
    +
    glViewport(0, 0, width, height);
    +
    glClear(GL_COLOR_BUFFER_BIT);
    +
    +
    mat4x4_identity(m);
    +
    mat4x4_rotate_Z(m, m, (float) glfwGetTime());
    +
    mat4x4_ortho(p, -ratio, ratio, -1.f, 1.f, 1.f, -1.f);
    +
    mat4x4_mul(mvp, p, m);
    +
    +
    glUseProgram(program);
    +
    glUniformMatrix4fv(mvp_location, 1, GL_FALSE, (const GLfloat*) mvp);
    +
    glDrawArrays(GL_TRIANGLES, 0, 3);
    +
    +
    glfwSwapBuffers(window);
    + +
    }
    +
    + +
    + +
    exit(EXIT_SUCCESS);
    +
    }
    +
    +

    The program above can be found in the source package as examples/simple.c and is compiled along with all other examples when you build GLFW. If you built GLFW from the source package then you already have this as simple.exe on Windows, simple on Linux or simple.app on macOS.

    +

    This tutorial used only a few of the many functions GLFW provides. There are guides for each of the areas covered by GLFW. Each guide will introduce all the functions for that category.

    + +

    You can access reference documentation for any GLFW function by clicking it and the reference for each function links to related functions and guide sections.

    +

    The tutorial ends here. Once you have written a program that uses GLFW, you will need to compile and link it. How to do that depends on the development environment you are using and is best explained by the documentation for that environment. To learn about the details that are specific to GLFW, see Building applications.

    +
    +
    +
    double glfwGetTime(void)
    Returns the GLFW time.
    +
    #define GLFW_PRESS
    The key or mouse button was pressed.
    Definition: glfw3.h:331
    +
    The header of the GLFW 3 API.
    +
    #define GLFW_CONTEXT_VERSION_MINOR
    Context client API minor version hint and attribute.
    Definition: glfw3.h:954
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1177
    +
    void glfwTerminate(void)
    Terminates the GLFW library.
    +
    void glfwSwapBuffers(GLFWwindow *window)
    Swaps the front and back buffers of the specified window.
    +
    void glfwMakeContextCurrent(GLFWwindow *window)
    Makes the context of the specified window current for the calling thread.
    +
    void glfwSwapInterval(int interval)
    Sets the swap interval for the current context.
    +
    int glfwWindowShouldClose(GLFWwindow *window)
    Checks the close flag of the specified window.
    +
    void glfwPollEvents(void)
    Processes all pending events.
    +
    #define GLFW_TRUE
    One.
    Definition: glfw3.h:305
    +
    #define GLFW_CONTEXT_VERSION_MAJOR
    Context client API major version hint and attribute.
    Definition: glfw3.h:948
    +
    GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
    Creates a window and its associated context.
    +
    void glfwSetWindowShouldClose(GLFWwindow *window, int value)
    Sets the close flag of the specified window.
    +
    #define GLFW_KEY_ESCAPE
    Definition: glfw3.h:439
    +
    int glfwInit(void)
    Initializes the GLFW library.
    +
    GLFWglproc glfwGetProcAddress(const char *procname)
    Returns the address of the specified function for the current context.
    +
    GLFWkeyfun glfwSetKeyCallback(GLFWwindow *window, GLFWkeyfun callback)
    Sets the key callback.
    +
    GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun callback)
    Sets the error callback.
    +
    void glfwGetFramebufferSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the framebuffer of the specified window.
    +
    void glfwWindowHint(int hint, int value)
    Sets the specified window hint to the desired value.
    +
    void glfwDestroyWindow(GLFWwindow *window)
    Destroys the specified window and its context.
    + + + diff --git a/docs/3.3/search/all_0.html b/docs/3.3/search/all_0.html new file mode 100644 index 0000000..a52d5f0 --- /dev/null +++ b/docs/3.3/search/all_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_0.js b/docs/3.3/search/all_0.js new file mode 100644 index 0000000..c61320f --- /dev/null +++ b/docs/3.3/search/all_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['axes_0',['axes',['../structGLFWgamepadstate.html#a8b2c8939b1d31458de5359998375c189',1,'GLFWgamepadstate']]] +]; diff --git a/docs/3.3/search/all_1.html b/docs/3.3/search/all_1.html new file mode 100644 index 0000000..0fcb704 --- /dev/null +++ b/docs/3.3/search/all_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_1.js b/docs/3.3/search/all_1.js new file mode 100644 index 0000000..7208b95 --- /dev/null +++ b/docs/3.3/search/all_1.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['blue_1',['blue',['../structGLFWgammaramp.html#acf0c836d0efe29c392fe8d1a1042744b',1,'GLFWgammaramp']]], + ['bluebits_2',['blueBits',['../structGLFWvidmode.html#af310977f58d2e3b188175b6e3d314047',1,'GLFWvidmode']]], + ['bug_20list_3',['Bug List',['../bug.html',1,'']]], + ['build_2edox_4',['build.dox',['../build_8dox.html',1,'']]], + ['building_20applications_5',['Building applications',['../build_guide.html',1,'']]], + ['buttons_6',['buttons',['../structGLFWgamepadstate.html#a27e9896b51c65df15fba2c7139bfdb9a',1,'GLFWgamepadstate']]] +]; diff --git a/docs/3.3/search/all_10.html b/docs/3.3/search/all_10.html new file mode 100644 index 0000000..c234738 --- /dev/null +++ b/docs/3.3/search/all_10.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_10.js b/docs/3.3/search/all_10.js new file mode 100644 index 0000000..93f0adc --- /dev/null +++ b/docs/3.3/search/all_10.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['vulkan_20support_20reference_520',['Vulkan support reference',['../group__vulkan.html',1,'']]], + ['vulkan_2edox_521',['vulkan.dox',['../vulkan_8dox.html',1,'']]], + ['vulkan_20guide_522',['Vulkan guide',['../vulkan_guide.html',1,'']]] +]; diff --git a/docs/3.3/search/all_11.html b/docs/3.3/search/all_11.html new file mode 100644 index 0000000..2f927fe --- /dev/null +++ b/docs/3.3/search/all_11.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_11.js b/docs/3.3/search/all_11.js new file mode 100644 index 0000000..d95a294 --- /dev/null +++ b/docs/3.3/search/all_11.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['width_523',['width',['../structGLFWvidmode.html#a698dcb200562051a7249cb6ae154c71d',1,'GLFWvidmode::width()'],['../structGLFWimage.html#af6a71cc999fe6d3aea31dd7e9687d835',1,'GLFWimage::width()']]], + ['window_20reference_524',['Window reference',['../group__window.html',1,'']]], + ['window_2edox_525',['window.dox',['../window_8dox.html',1,'']]], + ['window_20guide_526',['Window guide',['../window_guide.html',1,'']]] +]; diff --git a/docs/3.3/search/all_2.html b/docs/3.3/search/all_2.html new file mode 100644 index 0000000..19c530f --- /dev/null +++ b/docs/3.3/search/all_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_2.js b/docs/3.3/search/all_2.js new file mode 100644 index 0000000..ef90f7a --- /dev/null +++ b/docs/3.3/search/all_2.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['compat_2edox_7',['compat.dox',['../compat_8dox.html',1,'']]], + ['compile_2edox_8',['compile.dox',['../compile_8dox.html',1,'']]], + ['compiling_20glfw_9',['Compiling GLFW',['../compile_guide.html',1,'']]], + ['context_20reference_10',['Context reference',['../group__context.html',1,'']]], + ['context_2edox_11',['context.dox',['../context_8dox.html',1,'']]], + ['context_20guide_12',['Context guide',['../context_guide.html',1,'']]] +]; diff --git a/docs/3.3/search/all_3.html b/docs/3.3/search/all_3.html new file mode 100644 index 0000000..1ae887f --- /dev/null +++ b/docs/3.3/search/all_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_3.js b/docs/3.3/search/all_3.js new file mode 100644 index 0000000..835cae5 --- /dev/null +++ b/docs/3.3/search/all_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['deprecated_20list_13',['Deprecated List',['../deprecated.html',1,'']]] +]; diff --git a/docs/3.3/search/all_4.html b/docs/3.3/search/all_4.html new file mode 100644 index 0000000..14c90ef --- /dev/null +++ b/docs/3.3/search/all_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_4.js b/docs/3.3/search/all_4.js new file mode 100644 index 0000000..b735eaf --- /dev/null +++ b/docs/3.3/search/all_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['error_20codes_14',['Error codes',['../group__errors.html',1,'']]] +]; diff --git a/docs/3.3/search/all_5.html b/docs/3.3/search/all_5.html new file mode 100644 index 0000000..60fa53e --- /dev/null +++ b/docs/3.3/search/all_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_5.js b/docs/3.3/search/all_5.js new file mode 100644 index 0000000..6155345 --- /dev/null +++ b/docs/3.3/search/all_5.js @@ -0,0 +1,476 @@ +var searchData= +[ + ['gamepad_20axes_15',['Gamepad axes',['../group__gamepad__axes.html',1,'']]], + ['gamepad_20buttons_16',['Gamepad buttons',['../group__gamepad__buttons.html',1,'']]], + ['glapientry_17',['GLAPIENTRY',['../glfw3_8h.html#aa97755eb47e4bf2727ad45d610e18206',1,'glfw3.h']]], + ['glfw3_2eh_18',['glfw3.h',['../glfw3_8h.html',1,'']]], + ['glfw3native_2eh_19',['glfw3native.h',['../glfw3native_8h.html',1,'']]], + ['glfw_5faccum_5falpha_5fbits_20',['GLFW_ACCUM_ALPHA_BITS',['../group__window.html#gae829b55591c18169a40ab4067a041b1f',1,'glfw3.h']]], + ['glfw_5faccum_5fblue_5fbits_21',['GLFW_ACCUM_BLUE_BITS',['../group__window.html#ga22bbe9104a8ce1f8b88fb4f186aa36ce',1,'glfw3.h']]], + ['glfw_5faccum_5fgreen_5fbits_22',['GLFW_ACCUM_GREEN_BITS',['../group__window.html#ga65713cee1326f8e9d806fdf93187b471',1,'glfw3.h']]], + ['glfw_5faccum_5fred_5fbits_23',['GLFW_ACCUM_RED_BITS',['../group__window.html#gaead34a9a683b2bc20eecf30ba738bfc6',1,'glfw3.h']]], + ['glfw_5falpha_5fbits_24',['GLFW_ALPHA_BITS',['../group__window.html#gafed79a3f468997877da86c449bd43e8c',1,'glfw3.h']]], + ['glfw_5fany_5frelease_5fbehavior_25',['GLFW_ANY_RELEASE_BEHAVIOR',['../glfw3_8h.html#a6b47d806f285efe9bfd7aeec667297ee',1,'glfw3.h']]], + ['glfw_5fapi_5funavailable_26',['GLFW_API_UNAVAILABLE',['../group__errors.html#ga56882b290db23261cc6c053c40c2d08e',1,'glfw3.h']]], + ['glfw_5fapientry_5fdefined_27',['GLFW_APIENTRY_DEFINED',['../glfw3_8h.html#a8a8538c5500308b4211844f2fb26c7b9',1,'glfw3.h']]], + ['glfw_5farrow_5fcursor_28',['GLFW_ARROW_CURSOR',['../group__shapes.html#ga8ab0e717245b85506cb0eaefdea39d0a',1,'glfw3.h']]], + ['glfw_5fauto_5ficonify_29',['GLFW_AUTO_ICONIFY',['../group__window.html#ga9d9874fc928200136a6dcdad726aa252',1,'glfw3.h']]], + ['glfw_5faux_5fbuffers_30',['GLFW_AUX_BUFFERS',['../group__window.html#gab05108c5029443b371112b031d1fa174',1,'glfw3.h']]], + ['glfw_5fblue_5fbits_31',['GLFW_BLUE_BITS',['../group__window.html#gab292ea403db6d514537b515311bf9ae3',1,'glfw3.h']]], + ['glfw_5fcenter_5fcursor_32',['GLFW_CENTER_CURSOR',['../group__window.html#ga5ac0847c0aa0b3619f2855707b8a7a77',1,'glfw3.h']]], + ['glfw_5fclient_5fapi_33',['GLFW_CLIENT_API',['../group__window.html#ga649309cf72a3d3de5b1348ca7936c95b',1,'glfw3.h']]], + ['glfw_5fcocoa_5fchdir_5fresources_34',['GLFW_COCOA_CHDIR_RESOURCES',['../group__init.html#gab937983147a3158d45f88fad7129d9f2',1,'glfw3.h']]], + ['glfw_5fcocoa_5fframe_5fname_35',['GLFW_COCOA_FRAME_NAME',['../group__window.html#ga70fa0fbc745de6aa824df79a580e84b5',1,'glfw3.h']]], + ['glfw_5fcocoa_5fgraphics_5fswitching_36',['GLFW_COCOA_GRAPHICS_SWITCHING',['../group__window.html#ga53c84ed2ddd94e15bbd44b1f6f7feafc',1,'glfw3.h']]], + ['glfw_5fcocoa_5fmenubar_37',['GLFW_COCOA_MENUBAR',['../group__init.html#ga71e0b4ce2f2696a84a9b8c5e12dc70cf',1,'glfw3.h']]], + ['glfw_5fcocoa_5fretina_5fframebuffer_38',['GLFW_COCOA_RETINA_FRAMEBUFFER',['../group__window.html#gab6ef2d02eb55800d249ccf1af253c35e',1,'glfw3.h']]], + ['glfw_5fconnected_39',['GLFW_CONNECTED',['../glfw3_8h.html#abe11513fd1ffbee5bb9b173f06028b9e',1,'glfw3.h']]], + ['glfw_5fcontext_5fcreation_5fapi_40',['GLFW_CONTEXT_CREATION_API',['../group__window.html#ga5154cebfcd831c1cc63a4d5ac9bb4486',1,'glfw3.h']]], + ['glfw_5fcontext_5fno_5ferror_41',['GLFW_CONTEXT_NO_ERROR',['../group__window.html#ga5a52fdfd46d8249c211f923675728082',1,'glfw3.h']]], + ['glfw_5fcontext_5frelease_5fbehavior_42',['GLFW_CONTEXT_RELEASE_BEHAVIOR',['../group__window.html#ga72b648a8378fe3310c7c7bbecc0f7be6',1,'glfw3.h']]], + ['glfw_5fcontext_5frevision_43',['GLFW_CONTEXT_REVISION',['../group__window.html#gafb9475071aa77c6fb05ca5a5c8678a08',1,'glfw3.h']]], + ['glfw_5fcontext_5frobustness_44',['GLFW_CONTEXT_ROBUSTNESS',['../group__window.html#gade3593916b4c507900aa2d6844810e00',1,'glfw3.h']]], + ['glfw_5fcontext_5fversion_5fmajor_45',['GLFW_CONTEXT_VERSION_MAJOR',['../group__window.html#gafe5e4922de1f9932d7e9849bb053b0c0',1,'glfw3.h']]], + ['glfw_5fcontext_5fversion_5fminor_46',['GLFW_CONTEXT_VERSION_MINOR',['../group__window.html#ga31aca791e4b538c4e4a771eb95cc2d07',1,'glfw3.h']]], + ['glfw_5fcrosshair_5fcursor_47',['GLFW_CROSSHAIR_CURSOR',['../group__shapes.html#ga8af88c0ea05ab9e8f9ac1530e8873c22',1,'glfw3.h']]], + ['glfw_5fcursor_48',['GLFW_CURSOR',['../glfw3_8h.html#aade31da5b884a84a7625c6b059b9132c',1,'glfw3.h']]], + ['glfw_5fcursor_5fdisabled_49',['GLFW_CURSOR_DISABLED',['../glfw3_8h.html#a2315b99a329ce53e6a13a9d46fd5ca88',1,'glfw3.h']]], + ['glfw_5fcursor_5fhidden_50',['GLFW_CURSOR_HIDDEN',['../glfw3_8h.html#ac4d5cb9d78de8573349c58763d53bf11',1,'glfw3.h']]], + ['glfw_5fcursor_5fnormal_51',['GLFW_CURSOR_NORMAL',['../glfw3_8h.html#ae04dd25c8577e19fa8c97368561f6c68',1,'glfw3.h']]], + ['glfw_5fdecorated_52',['GLFW_DECORATED',['../group__window.html#ga21b854d36314c94d65aed84405b2f25e',1,'glfw3.h']]], + ['glfw_5fdepth_5fbits_53',['GLFW_DEPTH_BITS',['../group__window.html#ga318a55eac1fee57dfe593b6d38149d07',1,'glfw3.h']]], + ['glfw_5fdisconnected_54',['GLFW_DISCONNECTED',['../glfw3_8h.html#aab64b25921ef21d89252d6f0a71bfc32',1,'glfw3.h']]], + ['glfw_5fdont_5fcare_55',['GLFW_DONT_CARE',['../glfw3_8h.html#a7a2edf2c18446833d27d07f1b7f3d571',1,'glfw3.h']]], + ['glfw_5fdoublebuffer_56',['GLFW_DOUBLEBUFFER',['../group__window.html#ga714a5d569e8a274ea58fdfa020955339',1,'glfw3.h']]], + ['glfw_5fegl_5fcontext_5fapi_57',['GLFW_EGL_CONTEXT_API',['../glfw3_8h.html#a03cf65c9ab01fc8b872ba58842c531c9',1,'glfw3.h']]], + ['glfw_5ffalse_58',['GLFW_FALSE',['../group__init.html#gac877fe3b627d21ef3a0a23e0a73ba8c5',1,'glfw3.h']]], + ['glfw_5ffloating_59',['GLFW_FLOATING',['../group__window.html#ga7fb0be51407783b41adbf5bec0b09d80',1,'glfw3.h']]], + ['glfw_5ffocus_5fon_5fshow_60',['GLFW_FOCUS_ON_SHOW',['../group__window.html#gafa94b1da34bfd6488c0d709761504dfc',1,'glfw3.h']]], + ['glfw_5ffocused_61',['GLFW_FOCUSED',['../group__window.html#ga54ddb14825a1541a56e22afb5f832a9e',1,'glfw3.h']]], + ['glfw_5fformat_5funavailable_62',['GLFW_FORMAT_UNAVAILABLE',['../group__errors.html#ga196e125ef261d94184e2b55c05762f14',1,'glfw3.h']]], + ['glfw_5fgamepad_5faxis_5flast_63',['GLFW_GAMEPAD_AXIS_LAST',['../group__gamepad__axes.html#ga0818fd9433e1359692b7443293e5ac86',1,'glfw3.h']]], + ['glfw_5fgamepad_5faxis_5fleft_5ftrigger_64',['GLFW_GAMEPAD_AXIS_LEFT_TRIGGER',['../group__gamepad__axes.html#ga6d79561dd8907c37354426242901b86e',1,'glfw3.h']]], + ['glfw_5fgamepad_5faxis_5fleft_5fx_65',['GLFW_GAMEPAD_AXIS_LEFT_X',['../group__gamepad__axes.html#ga544e396d092036a7d80c1e5f233f7a38',1,'glfw3.h']]], + ['glfw_5fgamepad_5faxis_5fleft_5fy_66',['GLFW_GAMEPAD_AXIS_LEFT_Y',['../group__gamepad__axes.html#ga64dcf2c6e9be50b7c556ff7671996dd5',1,'glfw3.h']]], + ['glfw_5fgamepad_5faxis_5fright_5ftrigger_67',['GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER',['../group__gamepad__axes.html#ga121a7d5d20589a423cd1634dd6ee6eab',1,'glfw3.h']]], + ['glfw_5fgamepad_5faxis_5fright_5fx_68',['GLFW_GAMEPAD_AXIS_RIGHT_X',['../group__gamepad__axes.html#gabd6785106cd3c5a044a6e49a395ee2fc',1,'glfw3.h']]], + ['glfw_5fgamepad_5faxis_5fright_5fy_69',['GLFW_GAMEPAD_AXIS_RIGHT_Y',['../group__gamepad__axes.html#ga1cc20566d44d521b7183681a8e88e2e4',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fa_70',['GLFW_GAMEPAD_BUTTON_A',['../group__gamepad__buttons.html#gae055a12fbf4b48b5954c8e1cd129b810',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fb_71',['GLFW_GAMEPAD_BUTTON_B',['../group__gamepad__buttons.html#ga2228a6512fd5950cdb51ba07846546fa',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fback_72',['GLFW_GAMEPAD_BUTTON_BACK',['../group__gamepad__buttons.html#gabc7c0264ce778835b516a472b47f6caf',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fcircle_73',['GLFW_GAMEPAD_BUTTON_CIRCLE',['../group__gamepad__buttons.html#gaaef094b3dacbf15f272b274516839b82',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fcross_74',['GLFW_GAMEPAD_BUTTON_CROSS',['../group__gamepad__buttons.html#gaf08d0df26527c9305253422bd98ed63a',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fdpad_5fdown_75',['GLFW_GAMEPAD_BUTTON_DPAD_DOWN',['../group__gamepad__buttons.html#ga8f2b731b97d80f90f11967a83207665c',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fdpad_5fleft_76',['GLFW_GAMEPAD_BUTTON_DPAD_LEFT',['../group__gamepad__buttons.html#gaf0697e0e8607b2ebe1c93b0c6befe301',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fdpad_5fright_77',['GLFW_GAMEPAD_BUTTON_DPAD_RIGHT',['../group__gamepad__buttons.html#gae2a780d2a8c79e0b77c0b7b601ca57c6',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fdpad_5fup_78',['GLFW_GAMEPAD_BUTTON_DPAD_UP',['../group__gamepad__buttons.html#ga4f1ed6f974a47bc8930d4874a283476a',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fguide_79',['GLFW_GAMEPAD_BUTTON_GUIDE',['../group__gamepad__buttons.html#ga7fa48c32e5b2f5db2f080aa0b8b573dc',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5flast_80',['GLFW_GAMEPAD_BUTTON_LAST',['../group__gamepad__buttons.html#ga5cc98882f4f81dacf761639a567f61eb',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fleft_5fbumper_81',['GLFW_GAMEPAD_BUTTON_LEFT_BUMPER',['../group__gamepad__buttons.html#ga17d67b4f39a39d6b813bd1567a3507c3',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fleft_5fthumb_82',['GLFW_GAMEPAD_BUTTON_LEFT_THUMB',['../group__gamepad__buttons.html#ga3e089787327454f7bfca7364d6ca206a',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fright_5fbumper_83',['GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER',['../group__gamepad__buttons.html#gadfbc9ea9bf3aae896b79fa49fdc85c7f',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fright_5fthumb_84',['GLFW_GAMEPAD_BUTTON_RIGHT_THUMB',['../group__gamepad__buttons.html#ga1c003f52b5aebb45272475b48953b21a',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fsquare_85',['GLFW_GAMEPAD_BUTTON_SQUARE',['../group__gamepad__buttons.html#gafc7821e87d77d41ed2cd3e1f726ec35f',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fstart_86',['GLFW_GAMEPAD_BUTTON_START',['../group__gamepad__buttons.html#ga04606949dd9139434b8a1bedf4ac1021',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5ftriangle_87',['GLFW_GAMEPAD_BUTTON_TRIANGLE',['../group__gamepad__buttons.html#ga3a7ef6bcb768a08cd3bf142f7f09f802',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fx_88',['GLFW_GAMEPAD_BUTTON_X',['../group__gamepad__buttons.html#ga52cc94785cf3fe9a12e246539259887c',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fy_89',['GLFW_GAMEPAD_BUTTON_Y',['../group__gamepad__buttons.html#gafc931248bda494b530cbe057f386a5ed',1,'glfw3.h']]], + ['glfw_5fgreen_5fbits_90',['GLFW_GREEN_BITS',['../group__window.html#gafba3b72638c914e5fb8a237dd4c50d4d',1,'glfw3.h']]], + ['glfw_5fhand_5fcursor_91',['GLFW_HAND_CURSOR',['../group__shapes.html#ga1db35e20849e0837c82e3dc1fd797263',1,'glfw3.h']]], + ['glfw_5fhat_5fcentered_92',['GLFW_HAT_CENTERED',['../group__hat__state.html#gae2c0bcb7aec609e4736437554f6638fd',1,'glfw3.h']]], + ['glfw_5fhat_5fdown_93',['GLFW_HAT_DOWN',['../group__hat__state.html#gad60d1fd0dc85c18f2642cbae96d3deff',1,'glfw3.h']]], + ['glfw_5fhat_5fleft_94',['GLFW_HAT_LEFT',['../group__hat__state.html#gac775f4b3154fdf5db93eb432ba546dff',1,'glfw3.h']]], + ['glfw_5fhat_5fleft_5fdown_95',['GLFW_HAT_LEFT_DOWN',['../group__hat__state.html#ga76c02baf1ea345fcbe3e8ff176a73e19',1,'glfw3.h']]], + ['glfw_5fhat_5fleft_5fup_96',['GLFW_HAT_LEFT_UP',['../group__hat__state.html#ga638f0e20dc5de90de21a33564e8ce129',1,'glfw3.h']]], + ['glfw_5fhat_5fright_97',['GLFW_HAT_RIGHT',['../group__hat__state.html#ga252586e3bbde75f4b0e07ad3124867f5',1,'glfw3.h']]], + ['glfw_5fhat_5fright_5fdown_98',['GLFW_HAT_RIGHT_DOWN',['../group__hat__state.html#gad7f0e4f52fd68d734863aaeadab3a3f5',1,'glfw3.h']]], + ['glfw_5fhat_5fright_5fup_99',['GLFW_HAT_RIGHT_UP',['../group__hat__state.html#ga94aea0ae241a8b902883536c592ee693',1,'glfw3.h']]], + ['glfw_5fhat_5fup_100',['GLFW_HAT_UP',['../group__hat__state.html#ga8c9720c76cd1b912738159ed74c85b36',1,'glfw3.h']]], + ['glfw_5fhovered_101',['GLFW_HOVERED',['../group__window.html#ga8665c71c6fa3d22425c6a0e8a3f89d8a',1,'glfw3.h']]], + ['glfw_5fhresize_5fcursor_102',['GLFW_HRESIZE_CURSOR',['../group__shapes.html#gabb3eb0109f11bb808fc34659177ca962',1,'glfw3.h']]], + ['glfw_5fibeam_5fcursor_103',['GLFW_IBEAM_CURSOR',['../group__shapes.html#ga36185f4375eaada1b04e431244774c86',1,'glfw3.h']]], + ['glfw_5ficonified_104',['GLFW_ICONIFIED',['../group__window.html#ga39d44b7c056e55e581355a92d240b58a',1,'glfw3.h']]], + ['glfw_5finvalid_5fenum_105',['GLFW_INVALID_ENUM',['../group__errors.html#ga76f6bb9c4eea73db675f096b404593ce',1,'glfw3.h']]], + ['glfw_5finvalid_5fvalue_106',['GLFW_INVALID_VALUE',['../group__errors.html#gaaf2ef9aa8202c2b82ac2d921e554c687',1,'glfw3.h']]], + ['glfw_5fjoystick_5f1_107',['GLFW_JOYSTICK_1',['../group__joysticks.html#ga34a0443d059e9f22272cd4669073f73d',1,'glfw3.h']]], + ['glfw_5fjoystick_5f10_108',['GLFW_JOYSTICK_10',['../group__joysticks.html#gaef55389ee605d6dfc31aef6fe98c54ec',1,'glfw3.h']]], + ['glfw_5fjoystick_5f11_109',['GLFW_JOYSTICK_11',['../group__joysticks.html#gae7d26e3df447c2c14a569fcc18516af4',1,'glfw3.h']]], + ['glfw_5fjoystick_5f12_110',['GLFW_JOYSTICK_12',['../group__joysticks.html#gab91bbf5b7ca6be8d3ac5c4d89ff48ac7',1,'glfw3.h']]], + ['glfw_5fjoystick_5f13_111',['GLFW_JOYSTICK_13',['../group__joysticks.html#ga5c84fb4e49bf661d7d7c78eb4018c508',1,'glfw3.h']]], + ['glfw_5fjoystick_5f14_112',['GLFW_JOYSTICK_14',['../group__joysticks.html#ga89540873278ae5a42b3e70d64164dc74',1,'glfw3.h']]], + ['glfw_5fjoystick_5f15_113',['GLFW_JOYSTICK_15',['../group__joysticks.html#ga7b02ab70daf7a78bcc942d5d4cc1dcf9',1,'glfw3.h']]], + ['glfw_5fjoystick_5f16_114',['GLFW_JOYSTICK_16',['../group__joysticks.html#ga453edeeabf350827646b6857df4f80ce',1,'glfw3.h']]], + ['glfw_5fjoystick_5f2_115',['GLFW_JOYSTICK_2',['../group__joysticks.html#ga6eab65ec88e65e0850ef8413504cb50c',1,'glfw3.h']]], + ['glfw_5fjoystick_5f3_116',['GLFW_JOYSTICK_3',['../group__joysticks.html#gae6f3eedfeb42424c2f5e3161efb0b654',1,'glfw3.h']]], + ['glfw_5fjoystick_5f4_117',['GLFW_JOYSTICK_4',['../group__joysticks.html#ga97ddbcad02b7f48d74fad4ddb08fff59',1,'glfw3.h']]], + ['glfw_5fjoystick_5f5_118',['GLFW_JOYSTICK_5',['../group__joysticks.html#gae43281bc66d3fa5089fb50c3e7a28695',1,'glfw3.h']]], + ['glfw_5fjoystick_5f6_119',['GLFW_JOYSTICK_6',['../group__joysticks.html#ga74771620aa53bd68a487186dea66fd77',1,'glfw3.h']]], + ['glfw_5fjoystick_5f7_120',['GLFW_JOYSTICK_7',['../group__joysticks.html#ga20a9f4f3aaefed9ea5e66072fc588b87',1,'glfw3.h']]], + ['glfw_5fjoystick_5f8_121',['GLFW_JOYSTICK_8',['../group__joysticks.html#ga21a934c940bcf25db0e4c8fe9b364bdb',1,'glfw3.h']]], + ['glfw_5fjoystick_5f9_122',['GLFW_JOYSTICK_9',['../group__joysticks.html#ga87689d47df0ba6f9f5fcbbcaf7b3cecf',1,'glfw3.h']]], + ['glfw_5fjoystick_5fhat_5fbuttons_123',['GLFW_JOYSTICK_HAT_BUTTONS',['../group__init.html#gab9c0534709fda03ec8959201da3a9a18',1,'glfw3.h']]], + ['glfw_5fjoystick_5flast_124',['GLFW_JOYSTICK_LAST',['../group__joysticks.html#ga9ca13ebf24c331dd98df17d84a4b72c9',1,'glfw3.h']]], + ['glfw_5fkey_5f0_125',['GLFW_KEY_0',['../group__keys.html#ga50391730e9d7112ad4fd42d0bd1597c1',1,'glfw3.h']]], + ['glfw_5fkey_5f1_126',['GLFW_KEY_1',['../group__keys.html#ga05e4cae9ddb8d40cf6d82c8f11f2502f',1,'glfw3.h']]], + ['glfw_5fkey_5f2_127',['GLFW_KEY_2',['../group__keys.html#gadc8e66b3a4c4b5c39ad1305cf852863c',1,'glfw3.h']]], + ['glfw_5fkey_5f3_128',['GLFW_KEY_3',['../group__keys.html#ga812f0273fe1a981e1fa002ae73e92271',1,'glfw3.h']]], + ['glfw_5fkey_5f4_129',['GLFW_KEY_4',['../group__keys.html#ga9e14b6975a9cc8f66cdd5cb3d3861356',1,'glfw3.h']]], + ['glfw_5fkey_5f5_130',['GLFW_KEY_5',['../group__keys.html#ga4d74ddaa5d4c609993b4d4a15736c924',1,'glfw3.h']]], + ['glfw_5fkey_5f6_131',['GLFW_KEY_6',['../group__keys.html#ga9ea4ab80c313a227b14d0a7c6f810b5d',1,'glfw3.h']]], + ['glfw_5fkey_5f7_132',['GLFW_KEY_7',['../group__keys.html#gab79b1cfae7bd630cfc4604c1f263c666',1,'glfw3.h']]], + ['glfw_5fkey_5f8_133',['GLFW_KEY_8',['../group__keys.html#gadeaa109a0f9f5afc94fe4a108e686f6f',1,'glfw3.h']]], + ['glfw_5fkey_5f9_134',['GLFW_KEY_9',['../group__keys.html#ga2924cb5349ebbf97c8987f3521c44f39',1,'glfw3.h']]], + ['glfw_5fkey_5fa_135',['GLFW_KEY_A',['../group__keys.html#ga03e842608e1ea323370889d33b8f70ff',1,'glfw3.h']]], + ['glfw_5fkey_5fapostrophe_136',['GLFW_KEY_APOSTROPHE',['../group__keys.html#ga6059b0b048ba6980b6107fffbd3b4b24',1,'glfw3.h']]], + ['glfw_5fkey_5fb_137',['GLFW_KEY_B',['../group__keys.html#ga8e3fb647ff3aca9e8dbf14fe66332941',1,'glfw3.h']]], + ['glfw_5fkey_5fbackslash_138',['GLFW_KEY_BACKSLASH',['../group__keys.html#gab8155ea99d1ab27ff56f24f8dc73f8d1',1,'glfw3.h']]], + ['glfw_5fkey_5fbackspace_139',['GLFW_KEY_BACKSPACE',['../group__keys.html#ga6c0df1fe2f156bbd5a98c66d76ff3635',1,'glfw3.h']]], + ['glfw_5fkey_5fc_140',['GLFW_KEY_C',['../group__keys.html#ga00ccf3475d9ee2e679480d540d554669',1,'glfw3.h']]], + ['glfw_5fkey_5fcaps_5flock_141',['GLFW_KEY_CAPS_LOCK',['../group__keys.html#ga92c1d2c9d63485f3d70f94f688d48672',1,'glfw3.h']]], + ['glfw_5fkey_5fcomma_142',['GLFW_KEY_COMMA',['../group__keys.html#gab3d5d72e59d3055f494627b0a524926c',1,'glfw3.h']]], + ['glfw_5fkey_5fd_143',['GLFW_KEY_D',['../group__keys.html#ga011f7cdc9a654da984a2506479606933',1,'glfw3.h']]], + ['glfw_5fkey_5fdelete_144',['GLFW_KEY_DELETE',['../group__keys.html#gadb111e4df74b8a715f2c05dad58d2682',1,'glfw3.h']]], + ['glfw_5fkey_5fdown_145',['GLFW_KEY_DOWN',['../group__keys.html#gae2e3958c71595607416aa7bf082be2f9',1,'glfw3.h']]], + ['glfw_5fkey_5fe_146',['GLFW_KEY_E',['../group__keys.html#gabf48fcc3afbe69349df432b470c96ef2',1,'glfw3.h']]], + ['glfw_5fkey_5fend_147',['GLFW_KEY_END',['../group__keys.html#ga86587ea1df19a65978d3e3b8439bedd9',1,'glfw3.h']]], + ['glfw_5fkey_5fenter_148',['GLFW_KEY_ENTER',['../group__keys.html#ga9555a92ecbecdbc1f3435219c571d667',1,'glfw3.h']]], + ['glfw_5fkey_5fequal_149',['GLFW_KEY_EQUAL',['../group__keys.html#gae1a2de47240d6664423c204bdd91bd17',1,'glfw3.h']]], + ['glfw_5fkey_5fescape_150',['GLFW_KEY_ESCAPE',['../group__keys.html#gaac6596c350b635c245113b81c2123b93',1,'glfw3.h']]], + ['glfw_5fkey_5ff_151',['GLFW_KEY_F',['../group__keys.html#ga5df402e02aca08444240058fd9b42a55',1,'glfw3.h']]], + ['glfw_5fkey_5ff1_152',['GLFW_KEY_F1',['../group__keys.html#gafb8d66c573acf22e364049477dcbea30',1,'glfw3.h']]], + ['glfw_5fkey_5ff10_153',['GLFW_KEY_F10',['../group__keys.html#ga718d11d2f7d57471a2f6a894235995b1',1,'glfw3.h']]], + ['glfw_5fkey_5ff11_154',['GLFW_KEY_F11',['../group__keys.html#ga0bc04b11627e7d69339151e7306b2832',1,'glfw3.h']]], + ['glfw_5fkey_5ff12_155',['GLFW_KEY_F12',['../group__keys.html#gaf5908fa9b0a906ae03fc2c61ac7aa3e2',1,'glfw3.h']]], + ['glfw_5fkey_5ff13_156',['GLFW_KEY_F13',['../group__keys.html#gad637f4308655e1001bd6ad942bc0fd4b',1,'glfw3.h']]], + ['glfw_5fkey_5ff14_157',['GLFW_KEY_F14',['../group__keys.html#gaf14c66cff3396e5bd46e803c035e6c1f',1,'glfw3.h']]], + ['glfw_5fkey_5ff15_158',['GLFW_KEY_F15',['../group__keys.html#ga7f70970db6e8be1794da8516a6d14058',1,'glfw3.h']]], + ['glfw_5fkey_5ff16_159',['GLFW_KEY_F16',['../group__keys.html#gaa582dbb1d2ba2050aa1dca0838095b27',1,'glfw3.h']]], + ['glfw_5fkey_5ff17_160',['GLFW_KEY_F17',['../group__keys.html#ga972ce5c365e2394b36104b0e3125c748',1,'glfw3.h']]], + ['glfw_5fkey_5ff18_161',['GLFW_KEY_F18',['../group__keys.html#gaebf6391058d5566601e357edc5ea737c',1,'glfw3.h']]], + ['glfw_5fkey_5ff19_162',['GLFW_KEY_F19',['../group__keys.html#gaec011d9ba044058cb54529da710e9791',1,'glfw3.h']]], + ['glfw_5fkey_5ff2_163',['GLFW_KEY_F2',['../group__keys.html#ga0900750aff94889b940f5e428c07daee',1,'glfw3.h']]], + ['glfw_5fkey_5ff20_164',['GLFW_KEY_F20',['../group__keys.html#ga82b9c721ada04cd5ca8de767da38022f',1,'glfw3.h']]], + ['glfw_5fkey_5ff21_165',['GLFW_KEY_F21',['../group__keys.html#ga356afb14d3440ff2bb378f74f7ebc60f',1,'glfw3.h']]], + ['glfw_5fkey_5ff22_166',['GLFW_KEY_F22',['../group__keys.html#ga90960bd2a155f2b09675324d3dff1565',1,'glfw3.h']]], + ['glfw_5fkey_5ff23_167',['GLFW_KEY_F23',['../group__keys.html#ga43c21099aac10952d1be909a8ddee4d5',1,'glfw3.h']]], + ['glfw_5fkey_5ff24_168',['GLFW_KEY_F24',['../group__keys.html#ga8150374677b5bed3043408732152dea2',1,'glfw3.h']]], + ['glfw_5fkey_5ff25_169',['GLFW_KEY_F25',['../group__keys.html#gaa4bbd93ed73bb4c6ae7d83df880b7199',1,'glfw3.h']]], + ['glfw_5fkey_5ff3_170',['GLFW_KEY_F3',['../group__keys.html#gaed7cd729c0147a551bb8b7bb36c17015',1,'glfw3.h']]], + ['glfw_5fkey_5ff4_171',['GLFW_KEY_F4',['../group__keys.html#ga9b61ebd0c63b44b7332fda2c9763eaa6',1,'glfw3.h']]], + ['glfw_5fkey_5ff5_172',['GLFW_KEY_F5',['../group__keys.html#gaf258dda9947daa428377938ed577c8c2',1,'glfw3.h']]], + ['glfw_5fkey_5ff6_173',['GLFW_KEY_F6',['../group__keys.html#ga6dc2d3f87b9d51ffbbbe2ef0299d8e1d',1,'glfw3.h']]], + ['glfw_5fkey_5ff7_174',['GLFW_KEY_F7',['../group__keys.html#gacca6ef8a2162c52a0ac1d881e8d9c38a',1,'glfw3.h']]], + ['glfw_5fkey_5ff8_175',['GLFW_KEY_F8',['../group__keys.html#gac9d39390336ae14e4a93e295de43c7e8',1,'glfw3.h']]], + ['glfw_5fkey_5ff9_176',['GLFW_KEY_F9',['../group__keys.html#gae40de0de1c9f21cd26c9afa3d7050851',1,'glfw3.h']]], + ['glfw_5fkey_5fg_177',['GLFW_KEY_G',['../group__keys.html#gae74ecddf7cc96104ab23989b1cdab536',1,'glfw3.h']]], + ['glfw_5fkey_5fgrave_5faccent_178',['GLFW_KEY_GRAVE_ACCENT',['../group__keys.html#ga7a3701fb4e2a0b136ff4b568c3c8d668',1,'glfw3.h']]], + ['glfw_5fkey_5fh_179',['GLFW_KEY_H',['../group__keys.html#gad4cc98fc8f35f015d9e2fb94bf136076',1,'glfw3.h']]], + ['glfw_5fkey_5fhome_180',['GLFW_KEY_HOME',['../group__keys.html#ga41452c7287195d481e43207318c126a7',1,'glfw3.h']]], + ['glfw_5fkey_5fi_181',['GLFW_KEY_I',['../group__keys.html#ga274655c8bfe39742684ca393cf8ed093',1,'glfw3.h']]], + ['glfw_5fkey_5finsert_182',['GLFW_KEY_INSERT',['../group__keys.html#ga373ac7365435d6b0eb1068f470e34f47',1,'glfw3.h']]], + ['glfw_5fkey_5fj_183',['GLFW_KEY_J',['../group__keys.html#ga65ff2aedb129a3149ad9cb3e4159a75f',1,'glfw3.h']]], + ['glfw_5fkey_5fk_184',['GLFW_KEY_K',['../group__keys.html#ga4ae8debadf6d2a691badae0b53ea3ba0',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f0_185',['GLFW_KEY_KP_0',['../group__keys.html#ga10515dafc55b71e7683f5b4fedd1c70d',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f1_186',['GLFW_KEY_KP_1',['../group__keys.html#gaf3a29a334402c5eaf0b3439edf5587c3',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f2_187',['GLFW_KEY_KP_2',['../group__keys.html#gaf82d5a802ab8213c72653d7480c16f13',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f3_188',['GLFW_KEY_KP_3',['../group__keys.html#ga7e25ff30d56cd512828c1d4ae8d54ef2',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f4_189',['GLFW_KEY_KP_4',['../group__keys.html#gada7ec86778b85e0b4de0beea72234aea',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f5_190',['GLFW_KEY_KP_5',['../group__keys.html#ga9a5be274434866c51738cafbb6d26b45',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f6_191',['GLFW_KEY_KP_6',['../group__keys.html#gafc141b0f8450519084c01092a3157faa',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f7_192',['GLFW_KEY_KP_7',['../group__keys.html#ga8882f411f05d04ec77a9563974bbfa53',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f8_193',['GLFW_KEY_KP_8',['../group__keys.html#gab2ea2e6a12f89d315045af520ac78cec',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f9_194',['GLFW_KEY_KP_9',['../group__keys.html#gafb21426b630ed4fcc084868699ba74c1',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fadd_195',['GLFW_KEY_KP_ADD',['../group__keys.html#gad09c7c98acc79e89aa6a0a91275becac',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fdecimal_196',['GLFW_KEY_KP_DECIMAL',['../group__keys.html#ga4e231d968796331a9ea0dbfb98d4005b',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fdivide_197',['GLFW_KEY_KP_DIVIDE',['../group__keys.html#gabca1733780a273d549129ad0f250d1e5',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fenter_198',['GLFW_KEY_KP_ENTER',['../group__keys.html#ga4f728f8738f2986bd63eedd3d412e8cf',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fequal_199',['GLFW_KEY_KP_EQUAL',['../group__keys.html#gaebdc76d4a808191e6d21b7e4ad2acd97',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fmultiply_200',['GLFW_KEY_KP_MULTIPLY',['../group__keys.html#ga9ada267eb0e78ed2ada8701dd24a56ef',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fsubtract_201',['GLFW_KEY_KP_SUBTRACT',['../group__keys.html#gaa3dbd60782ff93d6082a124bce1fa236',1,'glfw3.h']]], + ['glfw_5fkey_5fl_202',['GLFW_KEY_L',['../group__keys.html#gaaa8b54a13f6b1eed85ac86f82d550db2',1,'glfw3.h']]], + ['glfw_5fkey_5flast_203',['GLFW_KEY_LAST',['../group__keys.html#ga442cbaef7bfb9a4ba13594dd7fbf2789',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_204',['GLFW_KEY_LEFT',['../group__keys.html#gae12a010d33c309a67ab9460c51eb2462',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5falt_205',['GLFW_KEY_LEFT_ALT',['../group__keys.html#ga7f27dabf63a7789daa31e1c96790219b',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fbracket_206',['GLFW_KEY_LEFT_BRACKET',['../group__keys.html#gad1c8d9adac53925276ecb1d592511d8a',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fcontrol_207',['GLFW_KEY_LEFT_CONTROL',['../group__keys.html#ga9f97b743e81460ac4b2deddecd10a464',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fshift_208',['GLFW_KEY_LEFT_SHIFT',['../group__keys.html#ga8a530a28a65c44ab5d00b759b756d3f6',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fsuper_209',['GLFW_KEY_LEFT_SUPER',['../group__keys.html#gafb1207c91997fc295afd1835fbc5641a',1,'glfw3.h']]], + ['glfw_5fkey_5fm_210',['GLFW_KEY_M',['../group__keys.html#ga4d7f0260c82e4ea3d6ebc7a21d6e3716',1,'glfw3.h']]], + ['glfw_5fkey_5fmenu_211',['GLFW_KEY_MENU',['../group__keys.html#ga9845be48a745fc232045c9ec174d8820',1,'glfw3.h']]], + ['glfw_5fkey_5fminus_212',['GLFW_KEY_MINUS',['../group__keys.html#gac556b360f7f6fca4b70ba0aecf313fd4',1,'glfw3.h']]], + ['glfw_5fkey_5fn_213',['GLFW_KEY_N',['../group__keys.html#gae00856dfeb5d13aafebf59d44de5cdda',1,'glfw3.h']]], + ['glfw_5fkey_5fnum_5flock_214',['GLFW_KEY_NUM_LOCK',['../group__keys.html#ga3946edc362aeff213b2be6304296cf43',1,'glfw3.h']]], + ['glfw_5fkey_5fo_215',['GLFW_KEY_O',['../group__keys.html#gaecbbb79130df419d58dd7f09a169efe9',1,'glfw3.h']]], + ['glfw_5fkey_5fp_216',['GLFW_KEY_P',['../group__keys.html#ga8fc15819c1094fb2afa01d84546b33e1',1,'glfw3.h']]], + ['glfw_5fkey_5fpage_5fdown_217',['GLFW_KEY_PAGE_DOWN',['../group__keys.html#gaee0a8fa442001cc2147812f84b59041c',1,'glfw3.h']]], + ['glfw_5fkey_5fpage_5fup_218',['GLFW_KEY_PAGE_UP',['../group__keys.html#ga3ab731f9622f0db280178a5f3cc6d586',1,'glfw3.h']]], + ['glfw_5fkey_5fpause_219',['GLFW_KEY_PAUSE',['../group__keys.html#ga8116b9692d87382afb5849b6d8907f18',1,'glfw3.h']]], + ['glfw_5fkey_5fperiod_220',['GLFW_KEY_PERIOD',['../group__keys.html#ga37e296b650eab419fc474ff69033d927',1,'glfw3.h']]], + ['glfw_5fkey_5fprint_5fscreen_221',['GLFW_KEY_PRINT_SCREEN',['../group__keys.html#gaf964c2e65e97d0cf785a5636ee8df642',1,'glfw3.h']]], + ['glfw_5fkey_5fq_222',['GLFW_KEY_Q',['../group__keys.html#gafdd01e38b120d67cf51e348bb47f3964',1,'glfw3.h']]], + ['glfw_5fkey_5fr_223',['GLFW_KEY_R',['../group__keys.html#ga4ce6c70a0c98c50b3fe4ab9a728d4d36',1,'glfw3.h']]], + ['glfw_5fkey_5fright_224',['GLFW_KEY_RIGHT',['../group__keys.html#ga06ba07662e8c291a4a84535379ffc7ac',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5falt_225',['GLFW_KEY_RIGHT_ALT',['../group__keys.html#ga687b38009131cfdd07a8d05fff8fa446',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fbracket_226',['GLFW_KEY_RIGHT_BRACKET',['../group__keys.html#ga86ef225fd6a66404caae71044cdd58d8',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fcontrol_227',['GLFW_KEY_RIGHT_CONTROL',['../group__keys.html#gad1ca2094b2694e7251d0ab1fd34f8519',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fshift_228',['GLFW_KEY_RIGHT_SHIFT',['../group__keys.html#gaffca36b99c9dce1a19cb9befbadce691',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fsuper_229',['GLFW_KEY_RIGHT_SUPER',['../group__keys.html#gad4547a3e8e247594acb60423fe6502db',1,'glfw3.h']]], + ['glfw_5fkey_5fs_230',['GLFW_KEY_S',['../group__keys.html#ga1570e2ccaab036ea82bed66fc1dab2a9',1,'glfw3.h']]], + ['glfw_5fkey_5fscroll_5flock_231',['GLFW_KEY_SCROLL_LOCK',['../group__keys.html#gaf622b63b9537f7084c2ab649b8365630',1,'glfw3.h']]], + ['glfw_5fkey_5fsemicolon_232',['GLFW_KEY_SEMICOLON',['../group__keys.html#ga84233de9ee5bb3e8788a5aa07d80af7d',1,'glfw3.h']]], + ['glfw_5fkey_5fslash_233',['GLFW_KEY_SLASH',['../group__keys.html#gadf3d753b2d479148d711de34b83fd0db',1,'glfw3.h']]], + ['glfw_5fkey_5fspace_234',['GLFW_KEY_SPACE',['../group__keys.html#gaddb2c23772b97fd7e26e8ee66f1ad014',1,'glfw3.h']]], + ['glfw_5fkey_5ft_235',['GLFW_KEY_T',['../group__keys.html#ga90e0560422ec7a30e7f3f375bc9f37f9',1,'glfw3.h']]], + ['glfw_5fkey_5ftab_236',['GLFW_KEY_TAB',['../group__keys.html#ga6908a4bda9950a3e2b73f794bbe985df',1,'glfw3.h']]], + ['glfw_5fkey_5fu_237',['GLFW_KEY_U',['../group__keys.html#gacad52f3bf7d378fc0ffa72a76769256d',1,'glfw3.h']]], + ['glfw_5fkey_5funknown_238',['GLFW_KEY_UNKNOWN',['../group__keys.html#ga99aacc875b6b27a072552631e13775c7',1,'glfw3.h']]], + ['glfw_5fkey_5fup_239',['GLFW_KEY_UP',['../group__keys.html#ga2f3342b194020d3544c67e3506b6f144',1,'glfw3.h']]], + ['glfw_5fkey_5fv_240',['GLFW_KEY_V',['../group__keys.html#ga22c7763899ecf7788862e5f90eacce6b',1,'glfw3.h']]], + ['glfw_5fkey_5fw_241',['GLFW_KEY_W',['../group__keys.html#gaa06a712e6202661fc03da5bdb7b6e545',1,'glfw3.h']]], + ['glfw_5fkey_5fworld_5f1_242',['GLFW_KEY_WORLD_1',['../group__keys.html#gadc78dad3dab76bcd4b5c20114052577a',1,'glfw3.h']]], + ['glfw_5fkey_5fworld_5f2_243',['GLFW_KEY_WORLD_2',['../group__keys.html#ga20494bfebf0bb4fc9503afca18ab2c5e',1,'glfw3.h']]], + ['glfw_5fkey_5fx_244',['GLFW_KEY_X',['../group__keys.html#gac1c42c0bf4192cea713c55598b06b744',1,'glfw3.h']]], + ['glfw_5fkey_5fy_245',['GLFW_KEY_Y',['../group__keys.html#gafd9f115a549effdf8e372a787c360313',1,'glfw3.h']]], + ['glfw_5fkey_5fz_246',['GLFW_KEY_Z',['../group__keys.html#gac489e208c26afda8d4938ed88718760a',1,'glfw3.h']]], + ['glfw_5flock_5fkey_5fmods_247',['GLFW_LOCK_KEY_MODS',['../glfw3_8h.html#a07b84de0b52143e1958f88a7d9105947',1,'glfw3.h']]], + ['glfw_5flose_5fcontext_5fon_5freset_248',['GLFW_LOSE_CONTEXT_ON_RESET',['../glfw3_8h.html#aec1132f245143fc915b2f0995228564c',1,'glfw3.h']]], + ['glfw_5fmaximized_249',['GLFW_MAXIMIZED',['../group__window.html#gad8ccb396253ad0b72c6d4c917eb38a03',1,'glfw3.h']]], + ['glfw_5fmod_5falt_250',['GLFW_MOD_ALT',['../group__mods.html#gad2acd5633463c29e07008687ea73c0f4',1,'glfw3.h']]], + ['glfw_5fmod_5fcaps_5flock_251',['GLFW_MOD_CAPS_LOCK',['../group__mods.html#gaefeef8fcf825a6e43e241b337897200f',1,'glfw3.h']]], + ['glfw_5fmod_5fcontrol_252',['GLFW_MOD_CONTROL',['../group__mods.html#ga6ed94871c3208eefd85713fa929d45aa',1,'glfw3.h']]], + ['glfw_5fmod_5fnum_5flock_253',['GLFW_MOD_NUM_LOCK',['../group__mods.html#ga64e020b8a42af8376e944baf61feecbe',1,'glfw3.h']]], + ['glfw_5fmod_5fshift_254',['GLFW_MOD_SHIFT',['../group__mods.html#ga14994d3196c290aaa347248e51740274',1,'glfw3.h']]], + ['glfw_5fmod_5fsuper_255',['GLFW_MOD_SUPER',['../group__mods.html#ga6b64ba10ea0227cf6f42efd0a220aba1',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f1_256',['GLFW_MOUSE_BUTTON_1',['../group__buttons.html#ga181a6e875251fd8671654eff00f9112e',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f2_257',['GLFW_MOUSE_BUTTON_2',['../group__buttons.html#ga604b39b92c88ce9bd332e97fc3f4156c',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f3_258',['GLFW_MOUSE_BUTTON_3',['../group__buttons.html#ga0130d505563d0236a6f85545f19e1721',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f4_259',['GLFW_MOUSE_BUTTON_4',['../group__buttons.html#ga53f4097bb01d5521c7d9513418c91ca9',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f5_260',['GLFW_MOUSE_BUTTON_5',['../group__buttons.html#gaf08c4ddecb051d3d9667db1d5e417c9c',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f6_261',['GLFW_MOUSE_BUTTON_6',['../group__buttons.html#gae8513e06aab8aa393b595f22c6d8257a',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f7_262',['GLFW_MOUSE_BUTTON_7',['../group__buttons.html#ga8b02a1ab55dde45b3a3883d54ffd7dc7',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f8_263',['GLFW_MOUSE_BUTTON_8',['../group__buttons.html#ga35d5c4263e0dc0d0a4731ca6c562f32c',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5flast_264',['GLFW_MOUSE_BUTTON_LAST',['../group__buttons.html#gab1fd86a4518a9141ec7bcde2e15a2fdf',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5fleft_265',['GLFW_MOUSE_BUTTON_LEFT',['../group__buttons.html#gaf37100431dcd5082d48f95ee8bc8cd56',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5fmiddle_266',['GLFW_MOUSE_BUTTON_MIDDLE',['../group__buttons.html#ga34a4d2a701434f763fd93a2ff842b95a',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5fright_267',['GLFW_MOUSE_BUTTON_RIGHT',['../group__buttons.html#ga3e2f2cf3c4942df73cc094247d275e74',1,'glfw3.h']]], + ['glfw_5fnative_5fcontext_5fapi_268',['GLFW_NATIVE_CONTEXT_API',['../glfw3_8h.html#a0494c9bfd3f584ab41e6dbeeaa0e6a19',1,'glfw3.h']]], + ['glfw_5fno_5fapi_269',['GLFW_NO_API',['../glfw3_8h.html#a8f6dcdc968d214ff14779564f1389264',1,'glfw3.h']]], + ['glfw_5fno_5fcurrent_5fcontext_270',['GLFW_NO_CURRENT_CONTEXT',['../group__errors.html#gaa8290386e9528ccb9e42a3a4e16fc0d0',1,'glfw3.h']]], + ['glfw_5fno_5ferror_271',['GLFW_NO_ERROR',['../group__errors.html#gafa30deee5db4d69c4c93d116ed87dbf4',1,'glfw3.h']]], + ['glfw_5fno_5freset_5fnotification_272',['GLFW_NO_RESET_NOTIFICATION',['../glfw3_8h.html#aee84a679230d205005e22487ff678a85',1,'glfw3.h']]], + ['glfw_5fno_5frobustness_273',['GLFW_NO_ROBUSTNESS',['../glfw3_8h.html#a8b306cb27f5bb0d6d67c7356a0e0fc34',1,'glfw3.h']]], + ['glfw_5fno_5fwindow_5fcontext_274',['GLFW_NO_WINDOW_CONTEXT',['../group__errors.html#gacff24d2757da752ae4c80bf452356487',1,'glfw3.h']]], + ['glfw_5fnot_5finitialized_275',['GLFW_NOT_INITIALIZED',['../group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a',1,'glfw3.h']]], + ['glfw_5fopengl_5fany_5fprofile_276',['GLFW_OPENGL_ANY_PROFILE',['../glfw3_8h.html#ad6f2335d6f21cc9bab96633b1c111d5f',1,'glfw3.h']]], + ['glfw_5fopengl_5fapi_277',['GLFW_OPENGL_API',['../glfw3_8h.html#a01b3f66db266341425e9abee6b257db2',1,'glfw3.h']]], + ['glfw_5fopengl_5fcompat_5fprofile_278',['GLFW_OPENGL_COMPAT_PROFILE',['../glfw3_8h.html#ac06b663d79c8fcf04669cc8fcc0b7670',1,'glfw3.h']]], + ['glfw_5fopengl_5fcore_5fprofile_279',['GLFW_OPENGL_CORE_PROFILE',['../glfw3_8h.html#af094bb16da76f66ebceb19ee213b3de8',1,'glfw3.h']]], + ['glfw_5fopengl_5fdebug_5fcontext_280',['GLFW_OPENGL_DEBUG_CONTEXT',['../group__window.html#ga87ec2df0b915201e950ca42d5d0831e1',1,'glfw3.h']]], + ['glfw_5fopengl_5fes_5fapi_281',['GLFW_OPENGL_ES_API',['../glfw3_8h.html#a28d9b3bc6c2a522d815c8e146595051f',1,'glfw3.h']]], + ['glfw_5fopengl_5fforward_5fcompat_282',['GLFW_OPENGL_FORWARD_COMPAT',['../group__window.html#ga13d24b12465da8b28985f46c8557925b',1,'glfw3.h']]], + ['glfw_5fopengl_5fprofile_283',['GLFW_OPENGL_PROFILE',['../group__window.html#ga44f3a6b4261fbe351e0b950b0f372e12',1,'glfw3.h']]], + ['glfw_5fosmesa_5fcontext_5fapi_284',['GLFW_OSMESA_CONTEXT_API',['../glfw3_8h.html#afd34a473af9fa81f317910ea371b19e3',1,'glfw3.h']]], + ['glfw_5fout_5fof_5fmemory_285',['GLFW_OUT_OF_MEMORY',['../group__errors.html#ga9023953a2bcb98c2906afd071d21ee7f',1,'glfw3.h']]], + ['glfw_5fplatform_5ferror_286',['GLFW_PLATFORM_ERROR',['../group__errors.html#gad44162d78100ea5e87cdd38426b8c7a1',1,'glfw3.h']]], + ['glfw_5fpress_287',['GLFW_PRESS',['../group__input.html#ga2485743d0b59df3791c45951c4195265',1,'glfw3.h']]], + ['glfw_5fraw_5fmouse_5fmotion_288',['GLFW_RAW_MOUSE_MOTION',['../glfw3_8h.html#aeeda1be76a44a1fc97c1282e06281fbb',1,'glfw3.h']]], + ['glfw_5fred_5fbits_289',['GLFW_RED_BITS',['../group__window.html#gaf78ed8e417dbcc1e354906cc2708c982',1,'glfw3.h']]], + ['glfw_5frefresh_5frate_290',['GLFW_REFRESH_RATE',['../group__window.html#ga0f20825e6e47ee8ba389024519682212',1,'glfw3.h']]], + ['glfw_5frelease_291',['GLFW_RELEASE',['../group__input.html#gada11d965c4da13090ad336e030e4d11f',1,'glfw3.h']]], + ['glfw_5frelease_5fbehavior_5fflush_292',['GLFW_RELEASE_BEHAVIOR_FLUSH',['../glfw3_8h.html#a999961d391db49cb4f949c1dece0e13b',1,'glfw3.h']]], + ['glfw_5frelease_5fbehavior_5fnone_293',['GLFW_RELEASE_BEHAVIOR_NONE',['../glfw3_8h.html#afca09088eccacdce4b59036cfae349c5',1,'glfw3.h']]], + ['glfw_5frepeat_294',['GLFW_REPEAT',['../group__input.html#gac96fd3b9fc66c6f0eebaf6532595338f',1,'glfw3.h']]], + ['glfw_5fresizable_295',['GLFW_RESIZABLE',['../group__window.html#gadba13c7a1b3aa40831eb2beedbd5bd1d',1,'glfw3.h']]], + ['glfw_5fsamples_296',['GLFW_SAMPLES',['../group__window.html#ga2cdf86fdcb7722fb8829c4e201607535',1,'glfw3.h']]], + ['glfw_5fscale_5fto_5fmonitor_297',['GLFW_SCALE_TO_MONITOR',['../group__window.html#ga620bc4280c7eab81ac9f02204500ed47',1,'glfw3.h']]], + ['glfw_5fsrgb_5fcapable_298',['GLFW_SRGB_CAPABLE',['../group__window.html#ga444a8f00414a63220591f9fdb7b5642b',1,'glfw3.h']]], + ['glfw_5fstencil_5fbits_299',['GLFW_STENCIL_BITS',['../group__window.html#ga5339890a45a1fb38e93cb9fcc5fd069d',1,'glfw3.h']]], + ['glfw_5fstereo_300',['GLFW_STEREO',['../group__window.html#ga83d991efca02537e2d69969135b77b03',1,'glfw3.h']]], + ['glfw_5fsticky_5fkeys_301',['GLFW_STICKY_KEYS',['../glfw3_8h.html#ae3bbe2315b7691ab088159eb6c9110fc',1,'glfw3.h']]], + ['glfw_5fsticky_5fmouse_5fbuttons_302',['GLFW_STICKY_MOUSE_BUTTONS',['../glfw3_8h.html#a4d7ce8ce71030c3b04e2b78145bc59d1',1,'glfw3.h']]], + ['glfw_5ftransparent_5fframebuffer_303',['GLFW_TRANSPARENT_FRAMEBUFFER',['../group__window.html#ga60a0578c3b9449027d683a9c6abb9f14',1,'glfw3.h']]], + ['glfw_5ftrue_304',['GLFW_TRUE',['../group__init.html#ga2744fbb29b5631bb28802dbe0cf36eba',1,'glfw3.h']]], + ['glfw_5fversion_5fmajor_305',['GLFW_VERSION_MAJOR',['../group__init.html#ga6337d9ea43b22fc529b2bba066b4a576',1,'glfw3.h']]], + ['glfw_5fversion_5fminor_306',['GLFW_VERSION_MINOR',['../group__init.html#gaf80d40f0aea7088ff337606e9c48f7a3',1,'glfw3.h']]], + ['glfw_5fversion_5frevision_307',['GLFW_VERSION_REVISION',['../group__init.html#gab72ae2e2035d9ea461abc3495eac0502',1,'glfw3.h']]], + ['glfw_5fversion_5funavailable_308',['GLFW_VERSION_UNAVAILABLE',['../group__errors.html#gad16c5565b4a69f9c2a9ac2c0dbc89462',1,'glfw3.h']]], + ['glfw_5fvisible_309',['GLFW_VISIBLE',['../group__window.html#gafb3cdc45297e06d8f1eb13adc69ca6c4',1,'glfw3.h']]], + ['glfw_5fvresize_5fcursor_310',['GLFW_VRESIZE_CURSOR',['../group__shapes.html#gaf024f0e1ff8366fb2b5c260509a1fce5',1,'glfw3.h']]], + ['glfw_5fx11_5fclass_5fname_311',['GLFW_X11_CLASS_NAME',['../group__window.html#gae5a9ea2fccccd92edbd343fc56461114',1,'glfw3.h']]], + ['glfw_5fx11_5finstance_5fname_312',['GLFW_X11_INSTANCE_NAME',['../group__window.html#ga494c3c0d911e4b860b946530a3e389e8',1,'glfw3.h']]], + ['glfwcharfun_313',['GLFWcharfun',['../group__input.html#gabf24451c7ceb1952bc02b17a0d5c3e5f',1,'glfw3.h']]], + ['glfwcharmodsfun_314',['GLFWcharmodsfun',['../group__input.html#gae36fb6897d2b7df9b128900c8ce9c507',1,'glfw3.h']]], + ['glfwcreatecursor_315',['glfwCreateCursor',['../group__input.html#gafca356935e10135016aa49ffa464c355',1,'glfw3.h']]], + ['glfwcreatestandardcursor_316',['glfwCreateStandardCursor',['../group__input.html#gaa65f416d03ebbbb5b8db71a489fcb894',1,'glfw3.h']]], + ['glfwcreatewindow_317',['glfwCreateWindow',['../group__window.html#ga5c336fddf2cbb5b92f65f10fb6043344',1,'glfw3.h']]], + ['glfwcreatewindowsurface_318',['glfwCreateWindowSurface',['../group__vulkan.html#ga1a24536bec3f80b08ead18e28e6ae965',1,'glfw3.h']]], + ['glfwcursor_319',['GLFWcursor',['../group__input.html#ga89261ae18c75e863aaf2656ecdd238f4',1,'glfw3.h']]], + ['glfwcursorenterfun_320',['GLFWcursorenterfun',['../group__input.html#ga51ab436c41eeaed6db5a0c9403b1c840',1,'glfw3.h']]], + ['glfwcursorposfun_321',['GLFWcursorposfun',['../group__input.html#ga4cfad918fa836f09541e7b9acd36686c',1,'glfw3.h']]], + ['glfwdefaultwindowhints_322',['glfwDefaultWindowHints',['../group__window.html#gaa77c4898dfb83344a6b4f76aa16b9a4a',1,'glfw3.h']]], + ['glfwdestroycursor_323',['glfwDestroyCursor',['../group__input.html#ga81b952cd1764274d0db7fb3c5a79ba6a',1,'glfw3.h']]], + ['glfwdestroywindow_324',['glfwDestroyWindow',['../group__window.html#gacdf43e51376051d2c091662e9fe3d7b2',1,'glfw3.h']]], + ['glfwdropfun_325',['GLFWdropfun',['../group__input.html#gafd0493dc32cd5ca5810e6148c0c026ea',1,'glfw3.h']]], + ['glfwerrorfun_326',['GLFWerrorfun',['../group__init.html#ga6b8a2639706d5c409fc1287e8f55e928',1,'glfw3.h']]], + ['glfwextensionsupported_327',['glfwExtensionSupported',['../group__context.html#ga87425065c011cef1ebd6aac75e059dfa',1,'glfw3.h']]], + ['glfwfocuswindow_328',['glfwFocusWindow',['../group__window.html#ga873780357abd3f3a081d71a40aae45a1',1,'glfw3.h']]], + ['glfwframebuffersizefun_329',['GLFWframebuffersizefun',['../group__window.html#ga3e218ef9ff826129c55a7d5f6971a285',1,'glfw3.h']]], + ['glfwgamepadstate_330',['GLFWgamepadstate',['../structGLFWgamepadstate.html',1,'GLFWgamepadstate'],['../group__input.html#ga0b86867abb735af3b959f61c44b1d029',1,'GLFWgamepadstate(): glfw3.h']]], + ['glfwgammaramp_331',['GLFWgammaramp',['../structGLFWgammaramp.html',1,'GLFWgammaramp'],['../group__monitor.html#gaec0bd37af673be8813592849f13e02f0',1,'GLFWgammaramp(): glfw3.h']]], + ['glfwgetclipboardstring_332',['glfwGetClipboardString',['../group__input.html#ga5aba1d704d9ab539282b1fbe9f18bb94',1,'glfw3.h']]], + ['glfwgetcocoamonitor_333',['glfwGetCocoaMonitor',['../group__native.html#gaf22f429aec4b1aab316142d66d9be3e6',1,'glfw3native.h']]], + ['glfwgetcocoawindow_334',['glfwGetCocoaWindow',['../group__native.html#gac3ed9d495d0c2bb9652de5a50c648715',1,'glfw3native.h']]], + ['glfwgetcurrentcontext_335',['glfwGetCurrentContext',['../group__context.html#gac84759b1f6c2d271a4fea8ae89ec980d',1,'glfw3.h']]], + ['glfwgetcursorpos_336',['glfwGetCursorPos',['../group__input.html#ga01d37b6c40133676b9cea60ca1d7c0cc',1,'glfw3.h']]], + ['glfwgeteglcontext_337',['glfwGetEGLContext',['../group__native.html#ga671c5072becd085f4ab5771a9c8efcf1',1,'glfw3native.h']]], + ['glfwgetegldisplay_338',['glfwGetEGLDisplay',['../group__native.html#ga1cd8d973f47aacb5532d368147cc3138',1,'glfw3native.h']]], + ['glfwgeteglsurface_339',['glfwGetEGLSurface',['../group__native.html#ga2199b36117a6a695fec8441d8052eee6',1,'glfw3native.h']]], + ['glfwgeterror_340',['glfwGetError',['../group__init.html#ga944986b4ec0b928d488141f92982aa18',1,'glfw3.h']]], + ['glfwgetframebuffersize_341',['glfwGetFramebufferSize',['../group__window.html#ga0e2637a4161afb283f5300c7f94785c9',1,'glfw3.h']]], + ['glfwgetgamepadname_342',['glfwGetGamepadName',['../group__input.html#ga5c71e3533b2d384db9317fcd7661b210',1,'glfw3.h']]], + ['glfwgetgamepadstate_343',['glfwGetGamepadState',['../group__input.html#gadccddea8bce6113fa459de379ddaf051',1,'glfw3.h']]], + ['glfwgetgammaramp_344',['glfwGetGammaRamp',['../group__monitor.html#gab7c41deb2219bde3e1eb756ddaa9ec80',1,'glfw3.h']]], + ['glfwgetglxcontext_345',['glfwGetGLXContext',['../group__native.html#ga62d884114b0abfcdc2930e89f20867e2',1,'glfw3native.h']]], + ['glfwgetglxwindow_346',['glfwGetGLXWindow',['../group__native.html#ga1ed27b8766e859a21381e8f8ce18d049',1,'glfw3native.h']]], + ['glfwgetinputmode_347',['glfwGetInputMode',['../group__input.html#gaf5b859dbe19bdf434e42695ea45cc5f4',1,'glfw3.h']]], + ['glfwgetinstanceprocaddress_348',['glfwGetInstanceProcAddress',['../group__vulkan.html#gadf228fac94c5fd8f12423ec9af9ff1e9',1,'glfw3.h']]], + ['glfwgetjoystickaxes_349',['glfwGetJoystickAxes',['../group__input.html#gaa8806536731e92c061bc70bcff6edbd0',1,'glfw3.h']]], + ['glfwgetjoystickbuttons_350',['glfwGetJoystickButtons',['../group__input.html#gadb3cbf44af90a1536f519659a53bddd6',1,'glfw3.h']]], + ['glfwgetjoystickguid_351',['glfwGetJoystickGUID',['../group__input.html#gae168c2c0b8cf2a1cb67c6b3c00bdd543',1,'glfw3.h']]], + ['glfwgetjoystickhats_352',['glfwGetJoystickHats',['../group__input.html#ga2d8d0634bb81c180899aeb07477a67ea',1,'glfw3.h']]], + ['glfwgetjoystickname_353',['glfwGetJoystickName',['../group__input.html#gafbe3e51f670320908cfe4e20d3e5559e',1,'glfw3.h']]], + ['glfwgetjoystickuserpointer_354',['glfwGetJoystickUserPointer',['../group__input.html#ga06290acb7ed23895bf26b8e981827ebd',1,'glfw3.h']]], + ['glfwgetkey_355',['glfwGetKey',['../group__input.html#gadd341da06bc8d418b4dc3a3518af9ad2',1,'glfw3.h']]], + ['glfwgetkeyname_356',['glfwGetKeyName',['../group__input.html#ga237a182e5ec0b21ce64543f3b5e7e2be',1,'glfw3.h']]], + ['glfwgetkeyscancode_357',['glfwGetKeyScancode',['../group__input.html#ga67ddd1b7dcbbaff03e4a76c0ea67103a',1,'glfw3.h']]], + ['glfwgetmonitorcontentscale_358',['glfwGetMonitorContentScale',['../group__monitor.html#gad3152e84465fa620b601265ebfcdb21b',1,'glfw3.h']]], + ['glfwgetmonitorname_359',['glfwGetMonitorName',['../group__monitor.html#ga79a34ee22ff080ca954a9663e4679daf',1,'glfw3.h']]], + ['glfwgetmonitorphysicalsize_360',['glfwGetMonitorPhysicalSize',['../group__monitor.html#ga7d8bffc6c55539286a6bd20d32a8d7ea',1,'glfw3.h']]], + ['glfwgetmonitorpos_361',['glfwGetMonitorPos',['../group__monitor.html#ga102f54e7acc9149edbcf0997152df8c9',1,'glfw3.h']]], + ['glfwgetmonitors_362',['glfwGetMonitors',['../group__monitor.html#ga3fba51c8bd36491d4712aa5bd074a537',1,'glfw3.h']]], + ['glfwgetmonitoruserpointer_363',['glfwGetMonitorUserPointer',['../group__monitor.html#gac2d4209016b049222877f620010ed0d8',1,'glfw3.h']]], + ['glfwgetmonitorworkarea_364',['glfwGetMonitorWorkarea',['../group__monitor.html#ga7387a3bdb64bfe8ebf2b9e54f5b6c9d0',1,'glfw3.h']]], + ['glfwgetmousebutton_365',['glfwGetMouseButton',['../group__input.html#gac1473feacb5996c01a7a5a33b5066704',1,'glfw3.h']]], + ['glfwgetnsglcontext_366',['glfwGetNSGLContext',['../group__native.html#ga559e002e3cd63c979881770cd4dc63bc',1,'glfw3native.h']]], + ['glfwgetosmesacolorbuffer_367',['glfwGetOSMesaColorBuffer',['../group__native.html#ga3b36e3e3dcf308b776427b6bd73cc132',1,'glfw3native.h']]], + ['glfwgetosmesacontext_368',['glfwGetOSMesaContext',['../group__native.html#ga9e47700080094eb569cb053afaa88773',1,'glfw3native.h']]], + ['glfwgetosmesadepthbuffer_369',['glfwGetOSMesaDepthBuffer',['../group__native.html#ga6b64039ffc88a7a2f57f0956c0c75d53',1,'glfw3native.h']]], + ['glfwgetphysicaldevicepresentationsupport_370',['glfwGetPhysicalDevicePresentationSupport',['../group__vulkan.html#gaff3823355cdd7e2f3f9f4d9ea9518d92',1,'glfw3.h']]], + ['glfwgetprimarymonitor_371',['glfwGetPrimaryMonitor',['../group__monitor.html#ga721867d84c6d18d6790d64d2847ca0b1',1,'glfw3.h']]], + ['glfwgetprocaddress_372',['glfwGetProcAddress',['../group__context.html#ga35f1837e6f666781842483937612f163',1,'glfw3.h']]], + ['glfwgetrequiredinstanceextensions_373',['glfwGetRequiredInstanceExtensions',['../group__vulkan.html#ga1abcbe61033958f22f63ef82008874b1',1,'glfw3.h']]], + ['glfwgettime_374',['glfwGetTime',['../group__input.html#gaa6cf4e7a77158a3b8fd00328b1720a4a',1,'glfw3.h']]], + ['glfwgettimerfrequency_375',['glfwGetTimerFrequency',['../group__input.html#ga3289ee876572f6e91f06df3a24824443',1,'glfw3.h']]], + ['glfwgettimervalue_376',['glfwGetTimerValue',['../group__input.html#ga09b2bd37d328e0b9456c7ec575cc26aa',1,'glfw3.h']]], + ['glfwgetversion_377',['glfwGetVersion',['../group__init.html#ga9f8ffaacf3c269cc48eafbf8b9b71197',1,'glfw3.h']]], + ['glfwgetversionstring_378',['glfwGetVersionString',['../group__init.html#ga23d47dc013fce2bf58036da66079a657',1,'glfw3.h']]], + ['glfwgetvideomode_379',['glfwGetVideoMode',['../group__monitor.html#gafc1bb972a921ad5b3bd5d63a95fc2d52',1,'glfw3.h']]], + ['glfwgetvideomodes_380',['glfwGetVideoModes',['../group__monitor.html#ga820b0ce9a5237d645ea7cbb4bd383458',1,'glfw3.h']]], + ['glfwgetwaylanddisplay_381',['glfwGetWaylandDisplay',['../group__native.html#gaaf8118a3c877f3a6bc8e7a649519de5e',1,'glfw3native.h']]], + ['glfwgetwaylandmonitor_382',['glfwGetWaylandMonitor',['../group__native.html#gab10427a667b6cd91eec7709f7a906bd3',1,'glfw3native.h']]], + ['glfwgetwaylandwindow_383',['glfwGetWaylandWindow',['../group__native.html#ga4738d7aca4191363519a9a641c3ab64c',1,'glfw3native.h']]], + ['glfwgetwglcontext_384',['glfwGetWGLContext',['../group__native.html#gadc4010d91d9cc1134d040eeb1202a143',1,'glfw3native.h']]], + ['glfwgetwin32adapter_385',['glfwGetWin32Adapter',['../group__native.html#gac84f63a3f9db145b9435e5e0dbc4183d',1,'glfw3native.h']]], + ['glfwgetwin32monitor_386',['glfwGetWin32Monitor',['../group__native.html#gac408b09a330749402d5d1fa1f5894dd9',1,'glfw3native.h']]], + ['glfwgetwin32window_387',['glfwGetWin32Window',['../group__native.html#gafe5079aa79038b0079fc09d5f0a8e667',1,'glfw3native.h']]], + ['glfwgetwindowattrib_388',['glfwGetWindowAttrib',['../group__window.html#gacccb29947ea4b16860ebef42c2cb9337',1,'glfw3.h']]], + ['glfwgetwindowcontentscale_389',['glfwGetWindowContentScale',['../group__window.html#gaf5d31de9c19c4f994facea64d2b3106c',1,'glfw3.h']]], + ['glfwgetwindowframesize_390',['glfwGetWindowFrameSize',['../group__window.html#ga1a9fd382058c53101b21cf211898f1f1',1,'glfw3.h']]], + ['glfwgetwindowmonitor_391',['glfwGetWindowMonitor',['../group__window.html#gaeac25e64789974ccbe0811766bd91a16',1,'glfw3.h']]], + ['glfwgetwindowopacity_392',['glfwGetWindowOpacity',['../group__window.html#gad09f0bd7a6307c4533b7061828480a84',1,'glfw3.h']]], + ['glfwgetwindowpos_393',['glfwGetWindowPos',['../group__window.html#ga73cb526c000876fd8ddf571570fdb634',1,'glfw3.h']]], + ['glfwgetwindowsize_394',['glfwGetWindowSize',['../group__window.html#gaeea7cbc03373a41fb51cfbf9f2a5d4c6',1,'glfw3.h']]], + ['glfwgetwindowuserpointer_395',['glfwGetWindowUserPointer',['../group__window.html#ga17807ce0f45ac3f8bb50d6dcc59a4e06',1,'glfw3.h']]], + ['glfwgetx11adapter_396',['glfwGetX11Adapter',['../group__native.html#ga088fbfa80f50569402b41be71ad66e40',1,'glfw3native.h']]], + ['glfwgetx11display_397',['glfwGetX11Display',['../group__native.html#ga8519b66594ea3ef6eeafaa2e3ee37406',1,'glfw3native.h']]], + ['glfwgetx11monitor_398',['glfwGetX11Monitor',['../group__native.html#gab2f8cc043905e9fa9b12bfdbbcfe874c',1,'glfw3native.h']]], + ['glfwgetx11selectionstring_399',['glfwGetX11SelectionString',['../group__native.html#ga72f23e3980b83788c70aa854eca31430',1,'glfw3native.h']]], + ['glfwgetx11window_400',['glfwGetX11Window',['../group__native.html#ga90ca676322740842db446999a1b1f21d',1,'glfw3native.h']]], + ['glfwglproc_401',['GLFWglproc',['../group__context.html#ga3d47c2d2fbe0be9c505d0e04e91a133c',1,'glfw3.h']]], + ['glfwhidewindow_402',['glfwHideWindow',['../group__window.html#ga49401f82a1ba5f15db5590728314d47c',1,'glfw3.h']]], + ['glfwiconifywindow_403',['glfwIconifyWindow',['../group__window.html#ga1bb559c0ebaad63c5c05ad2a066779c4',1,'glfw3.h']]], + ['glfwimage_404',['GLFWimage',['../structGLFWimage.html',1,'GLFWimage'],['../group__window.html#gac81c32f4437de7b3aa58ab62c3d9e5b1',1,'GLFWimage(): glfw3.h']]], + ['glfwinit_405',['glfwInit',['../group__init.html#ga317aac130a235ab08c6db0834907d85e',1,'glfw3.h']]], + ['glfwinithint_406',['glfwInitHint',['../group__init.html#ga110fd1d3f0412822b4f1908c026f724a',1,'glfw3.h']]], + ['glfwjoystickfun_407',['GLFWjoystickfun',['../group__input.html#gaa67aa597e974298c748bfe4fb17d406d',1,'glfw3.h']]], + ['glfwjoystickisgamepad_408',['glfwJoystickIsGamepad',['../group__input.html#gad0f676860f329d80f7e47e9f06a96f00',1,'glfw3.h']]], + ['glfwjoystickpresent_409',['glfwJoystickPresent',['../group__input.html#gaed0966cee139d815317f9ffcba64c9f1',1,'glfw3.h']]], + ['glfwkeyfun_410',['GLFWkeyfun',['../group__input.html#ga0192a232a41e4e82948217c8ba94fdfd',1,'glfw3.h']]], + ['glfwmakecontextcurrent_411',['glfwMakeContextCurrent',['../group__context.html#ga1c04dc242268f827290fe40aa1c91157',1,'glfw3.h']]], + ['glfwmaximizewindow_412',['glfwMaximizeWindow',['../group__window.html#ga3f541387449d911274324ae7f17ec56b',1,'glfw3.h']]], + ['glfwmonitor_413',['GLFWmonitor',['../group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3',1,'glfw3.h']]], + ['glfwmonitorfun_414',['GLFWmonitorfun',['../group__monitor.html#ga8a7ee579a66720f24d656526f3e44c63',1,'glfw3.h']]], + ['glfwmousebuttonfun_415',['GLFWmousebuttonfun',['../group__input.html#ga39893a4a7e7c3239c98d29c9e084350c',1,'glfw3.h']]], + ['glfwpollevents_416',['glfwPollEvents',['../group__window.html#ga37bd57223967b4211d60ca1a0bf3c832',1,'glfw3.h']]], + ['glfwpostemptyevent_417',['glfwPostEmptyEvent',['../group__window.html#gab5997a25187e9fd5c6f2ecbbc8dfd7e9',1,'glfw3.h']]], + ['glfwrawmousemotionsupported_418',['glfwRawMouseMotionSupported',['../group__input.html#gae4ee0dbd0d256183e1ea4026d897e1c2',1,'glfw3.h']]], + ['glfwrequestwindowattention_419',['glfwRequestWindowAttention',['../group__window.html#ga2f8d59323fc4692c1d54ba08c863a703',1,'glfw3.h']]], + ['glfwrestorewindow_420',['glfwRestoreWindow',['../group__window.html#ga52527a5904b47d802b6b4bb519cdebc7',1,'glfw3.h']]], + ['glfwscrollfun_421',['GLFWscrollfun',['../group__input.html#ga4687e2199c60a18a8dd1da532e6d75c9',1,'glfw3.h']]], + ['glfwsetcharcallback_422',['glfwSetCharCallback',['../group__input.html#gab25c4a220fd8f5717718dbc487828996',1,'glfw3.h']]], + ['glfwsetcharmodscallback_423',['glfwSetCharModsCallback',['../group__input.html#ga0b7f4ad13c2b17435ff13b6dcfb4e43c',1,'glfw3.h']]], + ['glfwsetclipboardstring_424',['glfwSetClipboardString',['../group__input.html#gaba1f022c5eb07dfac421df34cdcd31dd',1,'glfw3.h']]], + ['glfwsetcursor_425',['glfwSetCursor',['../group__input.html#gad3b4f38c8d5dae036bc8fa959e18343e',1,'glfw3.h']]], + ['glfwsetcursorentercallback_426',['glfwSetCursorEnterCallback',['../group__input.html#gad27f8ad0142c038a281466c0966817d8',1,'glfw3.h']]], + ['glfwsetcursorpos_427',['glfwSetCursorPos',['../group__input.html#ga04b03af936d906ca123c8f4ee08b39e7',1,'glfw3.h']]], + ['glfwsetcursorposcallback_428',['glfwSetCursorPosCallback',['../group__input.html#gac1f879ab7435d54d4d79bb469fe225d7',1,'glfw3.h']]], + ['glfwsetdropcallback_429',['glfwSetDropCallback',['../group__input.html#gab773f0ee0a07cff77a210cea40bc1f6b',1,'glfw3.h']]], + ['glfwseterrorcallback_430',['glfwSetErrorCallback',['../group__init.html#gaff45816610d53f0b83656092a4034f40',1,'glfw3.h']]], + ['glfwsetframebuffersizecallback_431',['glfwSetFramebufferSizeCallback',['../group__window.html#gab3fb7c3366577daef18c0023e2a8591f',1,'glfw3.h']]], + ['glfwsetgamma_432',['glfwSetGamma',['../group__monitor.html#ga6ac582625c990220785ddd34efa3169a',1,'glfw3.h']]], + ['glfwsetgammaramp_433',['glfwSetGammaRamp',['../group__monitor.html#ga583f0ffd0d29613d8cd172b996bbf0dd',1,'glfw3.h']]], + ['glfwsetinputmode_434',['glfwSetInputMode',['../group__input.html#gaa92336e173da9c8834558b54ee80563b',1,'glfw3.h']]], + ['glfwsetjoystickcallback_435',['glfwSetJoystickCallback',['../group__input.html#ga2f60a0e5b7bd8d1b7344dc0a7cb32b4c',1,'glfw3.h']]], + ['glfwsetjoystickuserpointer_436',['glfwSetJoystickUserPointer',['../group__input.html#ga6b2f72d64d636b48a727b437cbb7489e',1,'glfw3.h']]], + ['glfwsetkeycallback_437',['glfwSetKeyCallback',['../group__input.html#ga1caf18159767e761185e49a3be019f8d',1,'glfw3.h']]], + ['glfwsetmonitorcallback_438',['glfwSetMonitorCallback',['../group__monitor.html#gab39df645587c8518192aa746c2fb06c3',1,'glfw3.h']]], + ['glfwsetmonitoruserpointer_439',['glfwSetMonitorUserPointer',['../group__monitor.html#ga702750e24313a686d3637297b6e85fda',1,'glfw3.h']]], + ['glfwsetmousebuttoncallback_440',['glfwSetMouseButtonCallback',['../group__input.html#ga6ab84420974d812bee700e45284a723c',1,'glfw3.h']]], + ['glfwsetscrollcallback_441',['glfwSetScrollCallback',['../group__input.html#ga571e45a030ae4061f746ed56cb76aede',1,'glfw3.h']]], + ['glfwsettime_442',['glfwSetTime',['../group__input.html#gaf59589ef6e8b8c8b5ad184b25afd4dc0',1,'glfw3.h']]], + ['glfwsetwindowaspectratio_443',['glfwSetWindowAspectRatio',['../group__window.html#ga72ac8cb1ee2e312a878b55153d81b937',1,'glfw3.h']]], + ['glfwsetwindowattrib_444',['glfwSetWindowAttrib',['../group__window.html#gace2afda29b4116ec012e410a6819033e',1,'glfw3.h']]], + ['glfwsetwindowclosecallback_445',['glfwSetWindowCloseCallback',['../group__window.html#gada646d775a7776a95ac000cfc1885331',1,'glfw3.h']]], + ['glfwsetwindowcontentscalecallback_446',['glfwSetWindowContentScaleCallback',['../group__window.html#gaf2832ebb5aa6c252a2d261de002c92d6',1,'glfw3.h']]], + ['glfwsetwindowfocuscallback_447',['glfwSetWindowFocusCallback',['../group__window.html#gac2d83c4a10f071baf841f6730528e66c',1,'glfw3.h']]], + ['glfwsetwindowicon_448',['glfwSetWindowIcon',['../group__window.html#gadd7ccd39fe7a7d1f0904666ae5932dc5',1,'glfw3.h']]], + ['glfwsetwindowiconifycallback_449',['glfwSetWindowIconifyCallback',['../group__window.html#gac793e9efd255567b5fb8b445052cfd3e',1,'glfw3.h']]], + ['glfwsetwindowmaximizecallback_450',['glfwSetWindowMaximizeCallback',['../group__window.html#gacbe64c339fbd94885e62145563b6dc93',1,'glfw3.h']]], + ['glfwsetwindowmonitor_451',['glfwSetWindowMonitor',['../group__window.html#ga81c76c418af80a1cce7055bccb0ae0a7',1,'glfw3.h']]], + ['glfwsetwindowopacity_452',['glfwSetWindowOpacity',['../group__window.html#gac31caeb3d1088831b13d2c8a156802e9',1,'glfw3.h']]], + ['glfwsetwindowpos_453',['glfwSetWindowPos',['../group__window.html#ga1abb6d690e8c88e0c8cd1751356dbca8',1,'glfw3.h']]], + ['glfwsetwindowposcallback_454',['glfwSetWindowPosCallback',['../group__window.html#ga08bdfbba88934f9c4f92fd757979ac74',1,'glfw3.h']]], + ['glfwsetwindowrefreshcallback_455',['glfwSetWindowRefreshCallback',['../group__window.html#ga1c5c7eb889c33c7f4d10dd35b327654e',1,'glfw3.h']]], + ['glfwsetwindowshouldclose_456',['glfwSetWindowShouldClose',['../group__window.html#ga49c449dde2a6f87d996f4daaa09d6708',1,'glfw3.h']]], + ['glfwsetwindowsize_457',['glfwSetWindowSize',['../group__window.html#ga371911f12c74c504dd8d47d832d095cb',1,'glfw3.h']]], + ['glfwsetwindowsizecallback_458',['glfwSetWindowSizeCallback',['../group__window.html#gad91b8b047a0c4c6033c38853864c34f8',1,'glfw3.h']]], + ['glfwsetwindowsizelimits_459',['glfwSetWindowSizeLimits',['../group__window.html#gac314fa6cec7d2d307be9963e2709cc90',1,'glfw3.h']]], + ['glfwsetwindowtitle_460',['glfwSetWindowTitle',['../group__window.html#ga5d877f09e968cef7a360b513306f17ff',1,'glfw3.h']]], + ['glfwsetwindowuserpointer_461',['glfwSetWindowUserPointer',['../group__window.html#ga3d2fc6026e690ab31a13f78bc9fd3651',1,'glfw3.h']]], + ['glfwsetx11selectionstring_462',['glfwSetX11SelectionString',['../group__native.html#ga55f879ab02d93367f966186b6f0133f7',1,'glfw3native.h']]], + ['glfwshowwindow_463',['glfwShowWindow',['../group__window.html#ga61be47917b72536a148300f46494fc66',1,'glfw3.h']]], + ['glfwswapbuffers_464',['glfwSwapBuffers',['../group__window.html#ga15a5a1ee5b3c2ca6b15ca209a12efd14',1,'glfw3.h']]], + ['glfwswapinterval_465',['glfwSwapInterval',['../group__context.html#ga6d4e0cdf151b5e579bd67f13202994ed',1,'glfw3.h']]], + ['glfwterminate_466',['glfwTerminate',['../group__init.html#gaaae48c0a18607ea4a4ba951d939f0901',1,'glfw3.h']]], + ['glfwupdategamepadmappings_467',['glfwUpdateGamepadMappings',['../group__input.html#gaed5104612f2fa8e66aa6e846652ad00f',1,'glfw3.h']]], + ['glfwvidmode_468',['GLFWvidmode',['../structGLFWvidmode.html',1,'GLFWvidmode'],['../group__monitor.html#gae48aadf4ea0967e6605c8f58fa5daccb',1,'GLFWvidmode(): glfw3.h']]], + ['glfwvkproc_469',['GLFWvkproc',['../group__vulkan.html#ga70c01918dc9d233a4fbe0681a43018af',1,'glfw3.h']]], + ['glfwvulkansupported_470',['glfwVulkanSupported',['../group__vulkan.html#ga2e7f30931e02464b5bc8d0d4b6f9fe2b',1,'glfw3.h']]], + ['glfwwaitevents_471',['glfwWaitEvents',['../group__window.html#ga554e37d781f0a997656c26b2c56c835e',1,'glfw3.h']]], + ['glfwwaiteventstimeout_472',['glfwWaitEventsTimeout',['../group__window.html#ga605a178db92f1a7f1a925563ef3ea2cf',1,'glfw3.h']]], + ['glfwwindow_473',['GLFWwindow',['../group__window.html#ga3c96d80d363e67d13a41b5d1821f3242',1,'glfw3.h']]], + ['glfwwindowclosefun_474',['GLFWwindowclosefun',['../group__window.html#ga93e7c2555bd837f4ed8b20f76cada72e',1,'glfw3.h']]], + ['glfwwindowcontentscalefun_475',['GLFWwindowcontentscalefun',['../group__window.html#ga1da46b65eafcc1a7ff0adb8f4a7b72fd',1,'glfw3.h']]], + ['glfwwindowfocusfun_476',['GLFWwindowfocusfun',['../group__window.html#ga58be2061828dd35080bb438405d3a7e2',1,'glfw3.h']]], + ['glfwwindowhint_477',['glfwWindowHint',['../group__window.html#ga7d9c8c62384b1e2821c4dc48952d2033',1,'glfw3.h']]], + ['glfwwindowhintstring_478',['glfwWindowHintString',['../group__window.html#ga8cb2782861c9d997bcf2dea97f363e5f',1,'glfw3.h']]], + ['glfwwindowiconifyfun_479',['GLFWwindowiconifyfun',['../group__window.html#gad2d4e4c3d28b1242e742e8268b9528af',1,'glfw3.h']]], + ['glfwwindowmaximizefun_480',['GLFWwindowmaximizefun',['../group__window.html#ga7269a3d1cb100c0081f95fc09afa4949',1,'glfw3.h']]], + ['glfwwindowposfun_481',['GLFWwindowposfun',['../group__window.html#gafd8db81fdb0e850549dc6bace5ed697a',1,'glfw3.h']]], + ['glfwwindowrefreshfun_482',['GLFWwindowrefreshfun',['../group__window.html#ga7a56f9e0227e2cd9470d80d919032e08',1,'glfw3.h']]], + ['glfwwindowshouldclose_483',['glfwWindowShouldClose',['../group__window.html#ga24e02fbfefbb81fc45320989f8140ab5',1,'glfw3.h']]], + ['glfwwindowsizefun_484',['GLFWwindowsizefun',['../group__window.html#gae49ee6ebc03fa2da024b89943a331355',1,'glfw3.h']]], + ['green_485',['green',['../structGLFWgammaramp.html#affccc6f5df47820b6562d709da3a5a3a',1,'GLFWgammaramp']]], + ['greenbits_486',['greenBits',['../structGLFWvidmode.html#a292fdd281f3485fb3ff102a5bda43faa',1,'GLFWvidmode']]], + ['getting_20started_487',['Getting started',['../quick_guide.html',1,'']]] +]; diff --git a/docs/3.3/search/all_6.html b/docs/3.3/search/all_6.html new file mode 100644 index 0000000..7180363 --- /dev/null +++ b/docs/3.3/search/all_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_6.js b/docs/3.3/search/all_6.js new file mode 100644 index 0000000..2900e7a --- /dev/null +++ b/docs/3.3/search/all_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['height_488',['height',['../structGLFWvidmode.html#ac65942a5f6981695517437a9d571d03c',1,'GLFWvidmode::height()'],['../structGLFWimage.html#a0b7d95368f0c80d5e5c9875057c7dbec',1,'GLFWimage::height()']]] +]; diff --git a/docs/3.3/search/all_7.html b/docs/3.3/search/all_7.html new file mode 100644 index 0000000..ee6d2e4 --- /dev/null +++ b/docs/3.3/search/all_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_7.js b/docs/3.3/search/all_7.js new file mode 100644 index 0000000..f46ed4e --- /dev/null +++ b/docs/3.3/search/all_7.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['initialization_2c_20version_20and_20error_20reference_489',['Initialization, version and error reference',['../group__init.html',1,'']]], + ['input_20reference_490',['Input reference',['../group__input.html',1,'']]], + ['input_2edox_491',['input.dox',['../input_8dox.html',1,'']]], + ['input_20guide_492',['Input guide',['../input_guide.html',1,'']]], + ['internal_2edox_493',['internal.dox',['../internal_8dox.html',1,'']]], + ['internal_20structure_494',['Internal structure',['../internals_guide.html',1,'']]], + ['intro_2edox_495',['intro.dox',['../intro_8dox.html',1,'']]], + ['introduction_20to_20the_20api_496',['Introduction to the API',['../intro_guide.html',1,'']]] +]; diff --git a/docs/3.3/search/all_8.html b/docs/3.3/search/all_8.html new file mode 100644 index 0000000..7829aa4 --- /dev/null +++ b/docs/3.3/search/all_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_8.js b/docs/3.3/search/all_8.js new file mode 100644 index 0000000..c2aa460 --- /dev/null +++ b/docs/3.3/search/all_8.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['joystick_20hat_20states_497',['Joystick hat states',['../group__hat__state.html',1,'']]], + ['joysticks_498',['Joysticks',['../group__joysticks.html',1,'']]] +]; diff --git a/docs/3.3/search/all_9.html b/docs/3.3/search/all_9.html new file mode 100644 index 0000000..e4242c7 --- /dev/null +++ b/docs/3.3/search/all_9.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_9.js b/docs/3.3/search/all_9.js new file mode 100644 index 0000000..9d9bb73 --- /dev/null +++ b/docs/3.3/search/all_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['keyboard_20keys_499',['Keyboard keys',['../group__keys.html',1,'']]] +]; diff --git a/docs/3.3/search/all_a.html b/docs/3.3/search/all_a.html new file mode 100644 index 0000000..47a4a78 --- /dev/null +++ b/docs/3.3/search/all_a.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_a.js b/docs/3.3/search/all_a.js new file mode 100644 index 0000000..90fbc11 --- /dev/null +++ b/docs/3.3/search/all_a.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['mouse_20buttons_500',['Mouse buttons',['../group__buttons.html',1,'']]], + ['main_2edox_501',['main.dox',['../main_8dox.html',1,'']]], + ['modifier_20key_20flags_502',['Modifier key flags',['../group__mods.html',1,'']]], + ['monitor_20reference_503',['Monitor reference',['../group__monitor.html',1,'']]], + ['monitor_2edox_504',['monitor.dox',['../monitor_8dox.html',1,'']]], + ['monitor_20guide_505',['Monitor guide',['../monitor_guide.html',1,'']]], + ['moving_2edox_506',['moving.dox',['../moving_8dox.html',1,'']]], + ['moving_20from_20glfw_202_20to_203_507',['Moving from GLFW 2 to 3',['../moving_guide.html',1,'']]] +]; diff --git a/docs/3.3/search/all_b.html b/docs/3.3/search/all_b.html new file mode 100644 index 0000000..1320a43 --- /dev/null +++ b/docs/3.3/search/all_b.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_b.js b/docs/3.3/search/all_b.js new file mode 100644 index 0000000..4bee0e1 --- /dev/null +++ b/docs/3.3/search/all_b.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['notitle_508',['notitle',['../index.html',1,'']]], + ['native_20access_509',['Native access',['../group__native.html',1,'']]], + ['news_2edox_510',['news.dox',['../news_8dox.html',1,'']]] +]; diff --git a/docs/3.3/search/all_c.html b/docs/3.3/search/all_c.html new file mode 100644 index 0000000..32a3a1b --- /dev/null +++ b/docs/3.3/search/all_c.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_c.js b/docs/3.3/search/all_c.js new file mode 100644 index 0000000..881ea40 --- /dev/null +++ b/docs/3.3/search/all_c.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['pixels_511',['pixels',['../structGLFWimage.html#a0c532a5c2bb715555279b7817daba0fb',1,'GLFWimage']]] +]; diff --git a/docs/3.3/search/all_d.html b/docs/3.3/search/all_d.html new file mode 100644 index 0000000..a386096 --- /dev/null +++ b/docs/3.3/search/all_d.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_d.js b/docs/3.3/search/all_d.js new file mode 100644 index 0000000..69a491d --- /dev/null +++ b/docs/3.3/search/all_d.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['quick_2edox_512',['quick.dox',['../quick_8dox.html',1,'']]] +]; diff --git a/docs/3.3/search/all_e.html b/docs/3.3/search/all_e.html new file mode 100644 index 0000000..2931618 --- /dev/null +++ b/docs/3.3/search/all_e.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_e.js b/docs/3.3/search/all_e.js new file mode 100644 index 0000000..7afd0b6 --- /dev/null +++ b/docs/3.3/search/all_e.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['release_20notes_513',['Release notes',['../news.html',1,'']]], + ['red_514',['red',['../structGLFWgammaramp.html#a2cce5d968734b685623eef913e635138',1,'GLFWgammaramp']]], + ['redbits_515',['redBits',['../structGLFWvidmode.html#a6066c4ecd251098700062d3b735dba1b',1,'GLFWvidmode']]], + ['refreshrate_516',['refreshRate',['../structGLFWvidmode.html#a791bdd6c7697b09f7e9c97054bf05649',1,'GLFWvidmode']]] +]; diff --git a/docs/3.3/search/all_f.html b/docs/3.3/search/all_f.html new file mode 100644 index 0000000..ca42a52 --- /dev/null +++ b/docs/3.3/search/all_f.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/all_f.js b/docs/3.3/search/all_f.js new file mode 100644 index 0000000..acb3f94 --- /dev/null +++ b/docs/3.3/search/all_f.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['standards_20conformance_517',['Standards conformance',['../compat_guide.html',1,'']]], + ['standard_20cursor_20shapes_518',['Standard cursor shapes',['../group__shapes.html',1,'']]], + ['size_519',['size',['../structGLFWgammaramp.html#ad620e1cffbff9a32c51bca46301b59a5',1,'GLFWgammaramp']]] +]; diff --git a/docs/3.3/search/classes_0.html b/docs/3.3/search/classes_0.html new file mode 100644 index 0000000..d585e6a --- /dev/null +++ b/docs/3.3/search/classes_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/classes_0.js b/docs/3.3/search/classes_0.js new file mode 100644 index 0000000..c5f2139 --- /dev/null +++ b/docs/3.3/search/classes_0.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['glfwgamepadstate_527',['GLFWgamepadstate',['../structGLFWgamepadstate.html',1,'']]], + ['glfwgammaramp_528',['GLFWgammaramp',['../structGLFWgammaramp.html',1,'']]], + ['glfwimage_529',['GLFWimage',['../structGLFWimage.html',1,'']]], + ['glfwvidmode_530',['GLFWvidmode',['../structGLFWvidmode.html',1,'']]] +]; diff --git a/docs/3.3/search/close.png b/docs/3.3/search/close.png new file mode 100644 index 0000000000000000000000000000000000000000..9342d3dfeea7b7c4ee610987e717804b5a42ceb9 GIT binary patch literal 273 zcmV+s0q*{ZP)4(RlMby96)VwnbG{ zbe&}^BDn7x>$<{ck4zAK-=nT;=hHG)kmplIF${xqm8db3oX6wT3bvp`TE@m0cg;b) zBuSL}5?N7O(iZLdAlz@)b)Rd~DnSsSX&P5qC`XwuFwcAYLC+d2>+1(8on;wpt8QIC X2MT$R4iQDd00000NkvXXu0mjfia~GN literal 0 HcmV?d00001 diff --git a/docs/3.3/search/defines_0.html b/docs/3.3/search/defines_0.html new file mode 100644 index 0000000..8fb07b8 --- /dev/null +++ b/docs/3.3/search/defines_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/defines_0.js b/docs/3.3/search/defines_0.js new file mode 100644 index 0000000..2800d1e --- /dev/null +++ b/docs/3.3/search/defines_0.js @@ -0,0 +1,31 @@ +var searchData= +[ + ['glapientry_732',['GLAPIENTRY',['../glfw3_8h.html#aa97755eb47e4bf2727ad45d610e18206',1,'glfw3.h']]], + ['glfw_5fany_5frelease_5fbehavior_733',['GLFW_ANY_RELEASE_BEHAVIOR',['../glfw3_8h.html#a6b47d806f285efe9bfd7aeec667297ee',1,'glfw3.h']]], + ['glfw_5fapientry_5fdefined_734',['GLFW_APIENTRY_DEFINED',['../glfw3_8h.html#a8a8538c5500308b4211844f2fb26c7b9',1,'glfw3.h']]], + ['glfw_5fconnected_735',['GLFW_CONNECTED',['../glfw3_8h.html#abe11513fd1ffbee5bb9b173f06028b9e',1,'glfw3.h']]], + ['glfw_5fcursor_736',['GLFW_CURSOR',['../glfw3_8h.html#aade31da5b884a84a7625c6b059b9132c',1,'glfw3.h']]], + ['glfw_5fcursor_5fdisabled_737',['GLFW_CURSOR_DISABLED',['../glfw3_8h.html#a2315b99a329ce53e6a13a9d46fd5ca88',1,'glfw3.h']]], + ['glfw_5fcursor_5fhidden_738',['GLFW_CURSOR_HIDDEN',['../glfw3_8h.html#ac4d5cb9d78de8573349c58763d53bf11',1,'glfw3.h']]], + ['glfw_5fcursor_5fnormal_739',['GLFW_CURSOR_NORMAL',['../glfw3_8h.html#ae04dd25c8577e19fa8c97368561f6c68',1,'glfw3.h']]], + ['glfw_5fdisconnected_740',['GLFW_DISCONNECTED',['../glfw3_8h.html#aab64b25921ef21d89252d6f0a71bfc32',1,'glfw3.h']]], + ['glfw_5fdont_5fcare_741',['GLFW_DONT_CARE',['../glfw3_8h.html#a7a2edf2c18446833d27d07f1b7f3d571',1,'glfw3.h']]], + ['glfw_5fegl_5fcontext_5fapi_742',['GLFW_EGL_CONTEXT_API',['../glfw3_8h.html#a03cf65c9ab01fc8b872ba58842c531c9',1,'glfw3.h']]], + ['glfw_5flock_5fkey_5fmods_743',['GLFW_LOCK_KEY_MODS',['../glfw3_8h.html#a07b84de0b52143e1958f88a7d9105947',1,'glfw3.h']]], + ['glfw_5flose_5fcontext_5fon_5freset_744',['GLFW_LOSE_CONTEXT_ON_RESET',['../glfw3_8h.html#aec1132f245143fc915b2f0995228564c',1,'glfw3.h']]], + ['glfw_5fnative_5fcontext_5fapi_745',['GLFW_NATIVE_CONTEXT_API',['../glfw3_8h.html#a0494c9bfd3f584ab41e6dbeeaa0e6a19',1,'glfw3.h']]], + ['glfw_5fno_5fapi_746',['GLFW_NO_API',['../glfw3_8h.html#a8f6dcdc968d214ff14779564f1389264',1,'glfw3.h']]], + ['glfw_5fno_5freset_5fnotification_747',['GLFW_NO_RESET_NOTIFICATION',['../glfw3_8h.html#aee84a679230d205005e22487ff678a85',1,'glfw3.h']]], + ['glfw_5fno_5frobustness_748',['GLFW_NO_ROBUSTNESS',['../glfw3_8h.html#a8b306cb27f5bb0d6d67c7356a0e0fc34',1,'glfw3.h']]], + ['glfw_5fopengl_5fany_5fprofile_749',['GLFW_OPENGL_ANY_PROFILE',['../glfw3_8h.html#ad6f2335d6f21cc9bab96633b1c111d5f',1,'glfw3.h']]], + ['glfw_5fopengl_5fapi_750',['GLFW_OPENGL_API',['../glfw3_8h.html#a01b3f66db266341425e9abee6b257db2',1,'glfw3.h']]], + ['glfw_5fopengl_5fcompat_5fprofile_751',['GLFW_OPENGL_COMPAT_PROFILE',['../glfw3_8h.html#ac06b663d79c8fcf04669cc8fcc0b7670',1,'glfw3.h']]], + ['glfw_5fopengl_5fcore_5fprofile_752',['GLFW_OPENGL_CORE_PROFILE',['../glfw3_8h.html#af094bb16da76f66ebceb19ee213b3de8',1,'glfw3.h']]], + ['glfw_5fopengl_5fes_5fapi_753',['GLFW_OPENGL_ES_API',['../glfw3_8h.html#a28d9b3bc6c2a522d815c8e146595051f',1,'glfw3.h']]], + ['glfw_5fosmesa_5fcontext_5fapi_754',['GLFW_OSMESA_CONTEXT_API',['../glfw3_8h.html#afd34a473af9fa81f317910ea371b19e3',1,'glfw3.h']]], + ['glfw_5fraw_5fmouse_5fmotion_755',['GLFW_RAW_MOUSE_MOTION',['../glfw3_8h.html#aeeda1be76a44a1fc97c1282e06281fbb',1,'glfw3.h']]], + ['glfw_5frelease_5fbehavior_5fflush_756',['GLFW_RELEASE_BEHAVIOR_FLUSH',['../glfw3_8h.html#a999961d391db49cb4f949c1dece0e13b',1,'glfw3.h']]], + ['glfw_5frelease_5fbehavior_5fnone_757',['GLFW_RELEASE_BEHAVIOR_NONE',['../glfw3_8h.html#afca09088eccacdce4b59036cfae349c5',1,'glfw3.h']]], + ['glfw_5fsticky_5fkeys_758',['GLFW_STICKY_KEYS',['../glfw3_8h.html#ae3bbe2315b7691ab088159eb6c9110fc',1,'glfw3.h']]], + ['glfw_5fsticky_5fmouse_5fbuttons_759',['GLFW_STICKY_MOUSE_BUTTONS',['../glfw3_8h.html#a4d7ce8ce71030c3b04e2b78145bc59d1',1,'glfw3.h']]] +]; diff --git a/docs/3.3/search/files_0.html b/docs/3.3/search/files_0.html new file mode 100644 index 0000000..de151d5 --- /dev/null +++ b/docs/3.3/search/files_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/files_0.js b/docs/3.3/search/files_0.js new file mode 100644 index 0000000..49f69d5 --- /dev/null +++ b/docs/3.3/search/files_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['build_2edox_531',['build.dox',['../build_8dox.html',1,'']]] +]; diff --git a/docs/3.3/search/files_1.html b/docs/3.3/search/files_1.html new file mode 100644 index 0000000..73e2c8b --- /dev/null +++ b/docs/3.3/search/files_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/files_1.js b/docs/3.3/search/files_1.js new file mode 100644 index 0000000..90ed3d2 --- /dev/null +++ b/docs/3.3/search/files_1.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['compat_2edox_532',['compat.dox',['../compat_8dox.html',1,'']]], + ['compile_2edox_533',['compile.dox',['../compile_8dox.html',1,'']]], + ['context_2edox_534',['context.dox',['../context_8dox.html',1,'']]] +]; diff --git a/docs/3.3/search/files_2.html b/docs/3.3/search/files_2.html new file mode 100644 index 0000000..24cb541 --- /dev/null +++ b/docs/3.3/search/files_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/files_2.js b/docs/3.3/search/files_2.js new file mode 100644 index 0000000..d4c2a14 --- /dev/null +++ b/docs/3.3/search/files_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['glfw3_2eh_535',['glfw3.h',['../glfw3_8h.html',1,'']]], + ['glfw3native_2eh_536',['glfw3native.h',['../glfw3native_8h.html',1,'']]] +]; diff --git a/docs/3.3/search/files_3.html b/docs/3.3/search/files_3.html new file mode 100644 index 0000000..ef0b0ff --- /dev/null +++ b/docs/3.3/search/files_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/files_3.js b/docs/3.3/search/files_3.js new file mode 100644 index 0000000..aab2bfc --- /dev/null +++ b/docs/3.3/search/files_3.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['input_2edox_537',['input.dox',['../input_8dox.html',1,'']]], + ['internal_2edox_538',['internal.dox',['../internal_8dox.html',1,'']]], + ['intro_2edox_539',['intro.dox',['../intro_8dox.html',1,'']]] +]; diff --git a/docs/3.3/search/files_4.html b/docs/3.3/search/files_4.html new file mode 100644 index 0000000..324abe4 --- /dev/null +++ b/docs/3.3/search/files_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/files_4.js b/docs/3.3/search/files_4.js new file mode 100644 index 0000000..947ad04 --- /dev/null +++ b/docs/3.3/search/files_4.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['main_2edox_540',['main.dox',['../main_8dox.html',1,'']]], + ['monitor_2edox_541',['monitor.dox',['../monitor_8dox.html',1,'']]], + ['moving_2edox_542',['moving.dox',['../moving_8dox.html',1,'']]] +]; diff --git a/docs/3.3/search/files_5.html b/docs/3.3/search/files_5.html new file mode 100644 index 0000000..7d68816 --- /dev/null +++ b/docs/3.3/search/files_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/files_5.js b/docs/3.3/search/files_5.js new file mode 100644 index 0000000..01b83bc --- /dev/null +++ b/docs/3.3/search/files_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['news_2edox_543',['news.dox',['../news_8dox.html',1,'']]] +]; diff --git a/docs/3.3/search/files_6.html b/docs/3.3/search/files_6.html new file mode 100644 index 0000000..cc06fb2 --- /dev/null +++ b/docs/3.3/search/files_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/files_6.js b/docs/3.3/search/files_6.js new file mode 100644 index 0000000..88ef51c --- /dev/null +++ b/docs/3.3/search/files_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['quick_2edox_544',['quick.dox',['../quick_8dox.html',1,'']]] +]; diff --git a/docs/3.3/search/files_7.html b/docs/3.3/search/files_7.html new file mode 100644 index 0000000..10c2046 --- /dev/null +++ b/docs/3.3/search/files_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/files_7.js b/docs/3.3/search/files_7.js new file mode 100644 index 0000000..5bf62b2 --- /dev/null +++ b/docs/3.3/search/files_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['vulkan_2edox_545',['vulkan.dox',['../vulkan_8dox.html',1,'']]] +]; diff --git a/docs/3.3/search/files_8.html b/docs/3.3/search/files_8.html new file mode 100644 index 0000000..6ee57c5 --- /dev/null +++ b/docs/3.3/search/files_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/files_8.js b/docs/3.3/search/files_8.js new file mode 100644 index 0000000..252792b --- /dev/null +++ b/docs/3.3/search/files_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window_2edox_546',['window.dox',['../window_8dox.html',1,'']]] +]; diff --git a/docs/3.3/search/functions_0.html b/docs/3.3/search/functions_0.html new file mode 100644 index 0000000..8a729f7 --- /dev/null +++ b/docs/3.3/search/functions_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/functions_0.js b/docs/3.3/search/functions_0.js new file mode 100644 index 0000000..59cad20 --- /dev/null +++ b/docs/3.3/search/functions_0.js @@ -0,0 +1,146 @@ +var searchData= +[ + ['glfwcreatecursor_547',['glfwCreateCursor',['../group__input.html#gafca356935e10135016aa49ffa464c355',1,'glfw3.h']]], + ['glfwcreatestandardcursor_548',['glfwCreateStandardCursor',['../group__input.html#gaa65f416d03ebbbb5b8db71a489fcb894',1,'glfw3.h']]], + ['glfwcreatewindow_549',['glfwCreateWindow',['../group__window.html#ga5c336fddf2cbb5b92f65f10fb6043344',1,'glfw3.h']]], + ['glfwcreatewindowsurface_550',['glfwCreateWindowSurface',['../group__vulkan.html#ga1a24536bec3f80b08ead18e28e6ae965',1,'glfw3.h']]], + ['glfwdefaultwindowhints_551',['glfwDefaultWindowHints',['../group__window.html#gaa77c4898dfb83344a6b4f76aa16b9a4a',1,'glfw3.h']]], + ['glfwdestroycursor_552',['glfwDestroyCursor',['../group__input.html#ga81b952cd1764274d0db7fb3c5a79ba6a',1,'glfw3.h']]], + ['glfwdestroywindow_553',['glfwDestroyWindow',['../group__window.html#gacdf43e51376051d2c091662e9fe3d7b2',1,'glfw3.h']]], + ['glfwextensionsupported_554',['glfwExtensionSupported',['../group__context.html#ga87425065c011cef1ebd6aac75e059dfa',1,'glfw3.h']]], + ['glfwfocuswindow_555',['glfwFocusWindow',['../group__window.html#ga873780357abd3f3a081d71a40aae45a1',1,'glfw3.h']]], + ['glfwgetclipboardstring_556',['glfwGetClipboardString',['../group__input.html#ga5aba1d704d9ab539282b1fbe9f18bb94',1,'glfw3.h']]], + ['glfwgetcocoamonitor_557',['glfwGetCocoaMonitor',['../group__native.html#gaf22f429aec4b1aab316142d66d9be3e6',1,'glfw3native.h']]], + ['glfwgetcocoawindow_558',['glfwGetCocoaWindow',['../group__native.html#gac3ed9d495d0c2bb9652de5a50c648715',1,'glfw3native.h']]], + ['glfwgetcurrentcontext_559',['glfwGetCurrentContext',['../group__context.html#gac84759b1f6c2d271a4fea8ae89ec980d',1,'glfw3.h']]], + ['glfwgetcursorpos_560',['glfwGetCursorPos',['../group__input.html#ga01d37b6c40133676b9cea60ca1d7c0cc',1,'glfw3.h']]], + ['glfwgeteglcontext_561',['glfwGetEGLContext',['../group__native.html#ga671c5072becd085f4ab5771a9c8efcf1',1,'glfw3native.h']]], + ['glfwgetegldisplay_562',['glfwGetEGLDisplay',['../group__native.html#ga1cd8d973f47aacb5532d368147cc3138',1,'glfw3native.h']]], + ['glfwgeteglsurface_563',['glfwGetEGLSurface',['../group__native.html#ga2199b36117a6a695fec8441d8052eee6',1,'glfw3native.h']]], + ['glfwgeterror_564',['glfwGetError',['../group__init.html#ga944986b4ec0b928d488141f92982aa18',1,'glfw3.h']]], + ['glfwgetframebuffersize_565',['glfwGetFramebufferSize',['../group__window.html#ga0e2637a4161afb283f5300c7f94785c9',1,'glfw3.h']]], + ['glfwgetgamepadname_566',['glfwGetGamepadName',['../group__input.html#ga5c71e3533b2d384db9317fcd7661b210',1,'glfw3.h']]], + ['glfwgetgamepadstate_567',['glfwGetGamepadState',['../group__input.html#gadccddea8bce6113fa459de379ddaf051',1,'glfw3.h']]], + ['glfwgetgammaramp_568',['glfwGetGammaRamp',['../group__monitor.html#gab7c41deb2219bde3e1eb756ddaa9ec80',1,'glfw3.h']]], + ['glfwgetglxcontext_569',['glfwGetGLXContext',['../group__native.html#ga62d884114b0abfcdc2930e89f20867e2',1,'glfw3native.h']]], + ['glfwgetglxwindow_570',['glfwGetGLXWindow',['../group__native.html#ga1ed27b8766e859a21381e8f8ce18d049',1,'glfw3native.h']]], + ['glfwgetinputmode_571',['glfwGetInputMode',['../group__input.html#gaf5b859dbe19bdf434e42695ea45cc5f4',1,'glfw3.h']]], + ['glfwgetinstanceprocaddress_572',['glfwGetInstanceProcAddress',['../group__vulkan.html#gadf228fac94c5fd8f12423ec9af9ff1e9',1,'glfw3.h']]], + ['glfwgetjoystickaxes_573',['glfwGetJoystickAxes',['../group__input.html#gaa8806536731e92c061bc70bcff6edbd0',1,'glfw3.h']]], + ['glfwgetjoystickbuttons_574',['glfwGetJoystickButtons',['../group__input.html#gadb3cbf44af90a1536f519659a53bddd6',1,'glfw3.h']]], + ['glfwgetjoystickguid_575',['glfwGetJoystickGUID',['../group__input.html#gae168c2c0b8cf2a1cb67c6b3c00bdd543',1,'glfw3.h']]], + ['glfwgetjoystickhats_576',['glfwGetJoystickHats',['../group__input.html#ga2d8d0634bb81c180899aeb07477a67ea',1,'glfw3.h']]], + ['glfwgetjoystickname_577',['glfwGetJoystickName',['../group__input.html#gafbe3e51f670320908cfe4e20d3e5559e',1,'glfw3.h']]], + ['glfwgetjoystickuserpointer_578',['glfwGetJoystickUserPointer',['../group__input.html#ga06290acb7ed23895bf26b8e981827ebd',1,'glfw3.h']]], + ['glfwgetkey_579',['glfwGetKey',['../group__input.html#gadd341da06bc8d418b4dc3a3518af9ad2',1,'glfw3.h']]], + ['glfwgetkeyname_580',['glfwGetKeyName',['../group__input.html#ga237a182e5ec0b21ce64543f3b5e7e2be',1,'glfw3.h']]], + ['glfwgetkeyscancode_581',['glfwGetKeyScancode',['../group__input.html#ga67ddd1b7dcbbaff03e4a76c0ea67103a',1,'glfw3.h']]], + ['glfwgetmonitorcontentscale_582',['glfwGetMonitorContentScale',['../group__monitor.html#gad3152e84465fa620b601265ebfcdb21b',1,'glfw3.h']]], + ['glfwgetmonitorname_583',['glfwGetMonitorName',['../group__monitor.html#ga79a34ee22ff080ca954a9663e4679daf',1,'glfw3.h']]], + ['glfwgetmonitorphysicalsize_584',['glfwGetMonitorPhysicalSize',['../group__monitor.html#ga7d8bffc6c55539286a6bd20d32a8d7ea',1,'glfw3.h']]], + ['glfwgetmonitorpos_585',['glfwGetMonitorPos',['../group__monitor.html#ga102f54e7acc9149edbcf0997152df8c9',1,'glfw3.h']]], + ['glfwgetmonitors_586',['glfwGetMonitors',['../group__monitor.html#ga3fba51c8bd36491d4712aa5bd074a537',1,'glfw3.h']]], + ['glfwgetmonitoruserpointer_587',['glfwGetMonitorUserPointer',['../group__monitor.html#gac2d4209016b049222877f620010ed0d8',1,'glfw3.h']]], + ['glfwgetmonitorworkarea_588',['glfwGetMonitorWorkarea',['../group__monitor.html#ga7387a3bdb64bfe8ebf2b9e54f5b6c9d0',1,'glfw3.h']]], + ['glfwgetmousebutton_589',['glfwGetMouseButton',['../group__input.html#gac1473feacb5996c01a7a5a33b5066704',1,'glfw3.h']]], + ['glfwgetnsglcontext_590',['glfwGetNSGLContext',['../group__native.html#ga559e002e3cd63c979881770cd4dc63bc',1,'glfw3native.h']]], + ['glfwgetosmesacolorbuffer_591',['glfwGetOSMesaColorBuffer',['../group__native.html#ga3b36e3e3dcf308b776427b6bd73cc132',1,'glfw3native.h']]], + ['glfwgetosmesacontext_592',['glfwGetOSMesaContext',['../group__native.html#ga9e47700080094eb569cb053afaa88773',1,'glfw3native.h']]], + ['glfwgetosmesadepthbuffer_593',['glfwGetOSMesaDepthBuffer',['../group__native.html#ga6b64039ffc88a7a2f57f0956c0c75d53',1,'glfw3native.h']]], + ['glfwgetphysicaldevicepresentationsupport_594',['glfwGetPhysicalDevicePresentationSupport',['../group__vulkan.html#gaff3823355cdd7e2f3f9f4d9ea9518d92',1,'glfw3.h']]], + ['glfwgetprimarymonitor_595',['glfwGetPrimaryMonitor',['../group__monitor.html#ga721867d84c6d18d6790d64d2847ca0b1',1,'glfw3.h']]], + ['glfwgetprocaddress_596',['glfwGetProcAddress',['../group__context.html#ga35f1837e6f666781842483937612f163',1,'glfw3.h']]], + ['glfwgetrequiredinstanceextensions_597',['glfwGetRequiredInstanceExtensions',['../group__vulkan.html#ga1abcbe61033958f22f63ef82008874b1',1,'glfw3.h']]], + ['glfwgettime_598',['glfwGetTime',['../group__input.html#gaa6cf4e7a77158a3b8fd00328b1720a4a',1,'glfw3.h']]], + ['glfwgettimerfrequency_599',['glfwGetTimerFrequency',['../group__input.html#ga3289ee876572f6e91f06df3a24824443',1,'glfw3.h']]], + ['glfwgettimervalue_600',['glfwGetTimerValue',['../group__input.html#ga09b2bd37d328e0b9456c7ec575cc26aa',1,'glfw3.h']]], + ['glfwgetversion_601',['glfwGetVersion',['../group__init.html#ga9f8ffaacf3c269cc48eafbf8b9b71197',1,'glfw3.h']]], + ['glfwgetversionstring_602',['glfwGetVersionString',['../group__init.html#ga23d47dc013fce2bf58036da66079a657',1,'glfw3.h']]], + ['glfwgetvideomode_603',['glfwGetVideoMode',['../group__monitor.html#gafc1bb972a921ad5b3bd5d63a95fc2d52',1,'glfw3.h']]], + ['glfwgetvideomodes_604',['glfwGetVideoModes',['../group__monitor.html#ga820b0ce9a5237d645ea7cbb4bd383458',1,'glfw3.h']]], + ['glfwgetwaylanddisplay_605',['glfwGetWaylandDisplay',['../group__native.html#gaaf8118a3c877f3a6bc8e7a649519de5e',1,'glfw3native.h']]], + ['glfwgetwaylandmonitor_606',['glfwGetWaylandMonitor',['../group__native.html#gab10427a667b6cd91eec7709f7a906bd3',1,'glfw3native.h']]], + ['glfwgetwaylandwindow_607',['glfwGetWaylandWindow',['../group__native.html#ga4738d7aca4191363519a9a641c3ab64c',1,'glfw3native.h']]], + ['glfwgetwglcontext_608',['glfwGetWGLContext',['../group__native.html#gadc4010d91d9cc1134d040eeb1202a143',1,'glfw3native.h']]], + ['glfwgetwin32adapter_609',['glfwGetWin32Adapter',['../group__native.html#gac84f63a3f9db145b9435e5e0dbc4183d',1,'glfw3native.h']]], + ['glfwgetwin32monitor_610',['glfwGetWin32Monitor',['../group__native.html#gac408b09a330749402d5d1fa1f5894dd9',1,'glfw3native.h']]], + ['glfwgetwin32window_611',['glfwGetWin32Window',['../group__native.html#gafe5079aa79038b0079fc09d5f0a8e667',1,'glfw3native.h']]], + ['glfwgetwindowattrib_612',['glfwGetWindowAttrib',['../group__window.html#gacccb29947ea4b16860ebef42c2cb9337',1,'glfw3.h']]], + ['glfwgetwindowcontentscale_613',['glfwGetWindowContentScale',['../group__window.html#gaf5d31de9c19c4f994facea64d2b3106c',1,'glfw3.h']]], + ['glfwgetwindowframesize_614',['glfwGetWindowFrameSize',['../group__window.html#ga1a9fd382058c53101b21cf211898f1f1',1,'glfw3.h']]], + ['glfwgetwindowmonitor_615',['glfwGetWindowMonitor',['../group__window.html#gaeac25e64789974ccbe0811766bd91a16',1,'glfw3.h']]], + ['glfwgetwindowopacity_616',['glfwGetWindowOpacity',['../group__window.html#gad09f0bd7a6307c4533b7061828480a84',1,'glfw3.h']]], + ['glfwgetwindowpos_617',['glfwGetWindowPos',['../group__window.html#ga73cb526c000876fd8ddf571570fdb634',1,'glfw3.h']]], + ['glfwgetwindowsize_618',['glfwGetWindowSize',['../group__window.html#gaeea7cbc03373a41fb51cfbf9f2a5d4c6',1,'glfw3.h']]], + ['glfwgetwindowuserpointer_619',['glfwGetWindowUserPointer',['../group__window.html#ga17807ce0f45ac3f8bb50d6dcc59a4e06',1,'glfw3.h']]], + ['glfwgetx11adapter_620',['glfwGetX11Adapter',['../group__native.html#ga088fbfa80f50569402b41be71ad66e40',1,'glfw3native.h']]], + ['glfwgetx11display_621',['glfwGetX11Display',['../group__native.html#ga8519b66594ea3ef6eeafaa2e3ee37406',1,'glfw3native.h']]], + ['glfwgetx11monitor_622',['glfwGetX11Monitor',['../group__native.html#gab2f8cc043905e9fa9b12bfdbbcfe874c',1,'glfw3native.h']]], + ['glfwgetx11selectionstring_623',['glfwGetX11SelectionString',['../group__native.html#ga72f23e3980b83788c70aa854eca31430',1,'glfw3native.h']]], + ['glfwgetx11window_624',['glfwGetX11Window',['../group__native.html#ga90ca676322740842db446999a1b1f21d',1,'glfw3native.h']]], + ['glfwhidewindow_625',['glfwHideWindow',['../group__window.html#ga49401f82a1ba5f15db5590728314d47c',1,'glfw3.h']]], + ['glfwiconifywindow_626',['glfwIconifyWindow',['../group__window.html#ga1bb559c0ebaad63c5c05ad2a066779c4',1,'glfw3.h']]], + ['glfwinit_627',['glfwInit',['../group__init.html#ga317aac130a235ab08c6db0834907d85e',1,'glfw3.h']]], + ['glfwinithint_628',['glfwInitHint',['../group__init.html#ga110fd1d3f0412822b4f1908c026f724a',1,'glfw3.h']]], + ['glfwjoystickisgamepad_629',['glfwJoystickIsGamepad',['../group__input.html#gad0f676860f329d80f7e47e9f06a96f00',1,'glfw3.h']]], + ['glfwjoystickpresent_630',['glfwJoystickPresent',['../group__input.html#gaed0966cee139d815317f9ffcba64c9f1',1,'glfw3.h']]], + ['glfwmakecontextcurrent_631',['glfwMakeContextCurrent',['../group__context.html#ga1c04dc242268f827290fe40aa1c91157',1,'glfw3.h']]], + ['glfwmaximizewindow_632',['glfwMaximizeWindow',['../group__window.html#ga3f541387449d911274324ae7f17ec56b',1,'glfw3.h']]], + ['glfwpollevents_633',['glfwPollEvents',['../group__window.html#ga37bd57223967b4211d60ca1a0bf3c832',1,'glfw3.h']]], + ['glfwpostemptyevent_634',['glfwPostEmptyEvent',['../group__window.html#gab5997a25187e9fd5c6f2ecbbc8dfd7e9',1,'glfw3.h']]], + ['glfwrawmousemotionsupported_635',['glfwRawMouseMotionSupported',['../group__input.html#gae4ee0dbd0d256183e1ea4026d897e1c2',1,'glfw3.h']]], + ['glfwrequestwindowattention_636',['glfwRequestWindowAttention',['../group__window.html#ga2f8d59323fc4692c1d54ba08c863a703',1,'glfw3.h']]], + ['glfwrestorewindow_637',['glfwRestoreWindow',['../group__window.html#ga52527a5904b47d802b6b4bb519cdebc7',1,'glfw3.h']]], + ['glfwsetcharcallback_638',['glfwSetCharCallback',['../group__input.html#gab25c4a220fd8f5717718dbc487828996',1,'glfw3.h']]], + ['glfwsetcharmodscallback_639',['glfwSetCharModsCallback',['../group__input.html#ga0b7f4ad13c2b17435ff13b6dcfb4e43c',1,'glfw3.h']]], + ['glfwsetclipboardstring_640',['glfwSetClipboardString',['../group__input.html#gaba1f022c5eb07dfac421df34cdcd31dd',1,'glfw3.h']]], + ['glfwsetcursor_641',['glfwSetCursor',['../group__input.html#gad3b4f38c8d5dae036bc8fa959e18343e',1,'glfw3.h']]], + ['glfwsetcursorentercallback_642',['glfwSetCursorEnterCallback',['../group__input.html#gad27f8ad0142c038a281466c0966817d8',1,'glfw3.h']]], + ['glfwsetcursorpos_643',['glfwSetCursorPos',['../group__input.html#ga04b03af936d906ca123c8f4ee08b39e7',1,'glfw3.h']]], + ['glfwsetcursorposcallback_644',['glfwSetCursorPosCallback',['../group__input.html#gac1f879ab7435d54d4d79bb469fe225d7',1,'glfw3.h']]], + ['glfwsetdropcallback_645',['glfwSetDropCallback',['../group__input.html#gab773f0ee0a07cff77a210cea40bc1f6b',1,'glfw3.h']]], + ['glfwseterrorcallback_646',['glfwSetErrorCallback',['../group__init.html#gaff45816610d53f0b83656092a4034f40',1,'glfw3.h']]], + ['glfwsetframebuffersizecallback_647',['glfwSetFramebufferSizeCallback',['../group__window.html#gab3fb7c3366577daef18c0023e2a8591f',1,'glfw3.h']]], + ['glfwsetgamma_648',['glfwSetGamma',['../group__monitor.html#ga6ac582625c990220785ddd34efa3169a',1,'glfw3.h']]], + ['glfwsetgammaramp_649',['glfwSetGammaRamp',['../group__monitor.html#ga583f0ffd0d29613d8cd172b996bbf0dd',1,'glfw3.h']]], + ['glfwsetinputmode_650',['glfwSetInputMode',['../group__input.html#gaa92336e173da9c8834558b54ee80563b',1,'glfw3.h']]], + ['glfwsetjoystickcallback_651',['glfwSetJoystickCallback',['../group__input.html#ga2f60a0e5b7bd8d1b7344dc0a7cb32b4c',1,'glfw3.h']]], + ['glfwsetjoystickuserpointer_652',['glfwSetJoystickUserPointer',['../group__input.html#ga6b2f72d64d636b48a727b437cbb7489e',1,'glfw3.h']]], + ['glfwsetkeycallback_653',['glfwSetKeyCallback',['../group__input.html#ga1caf18159767e761185e49a3be019f8d',1,'glfw3.h']]], + ['glfwsetmonitorcallback_654',['glfwSetMonitorCallback',['../group__monitor.html#gab39df645587c8518192aa746c2fb06c3',1,'glfw3.h']]], + ['glfwsetmonitoruserpointer_655',['glfwSetMonitorUserPointer',['../group__monitor.html#ga702750e24313a686d3637297b6e85fda',1,'glfw3.h']]], + ['glfwsetmousebuttoncallback_656',['glfwSetMouseButtonCallback',['../group__input.html#ga6ab84420974d812bee700e45284a723c',1,'glfw3.h']]], + ['glfwsetscrollcallback_657',['glfwSetScrollCallback',['../group__input.html#ga571e45a030ae4061f746ed56cb76aede',1,'glfw3.h']]], + ['glfwsettime_658',['glfwSetTime',['../group__input.html#gaf59589ef6e8b8c8b5ad184b25afd4dc0',1,'glfw3.h']]], + ['glfwsetwindowaspectratio_659',['glfwSetWindowAspectRatio',['../group__window.html#ga72ac8cb1ee2e312a878b55153d81b937',1,'glfw3.h']]], + ['glfwsetwindowattrib_660',['glfwSetWindowAttrib',['../group__window.html#gace2afda29b4116ec012e410a6819033e',1,'glfw3.h']]], + ['glfwsetwindowclosecallback_661',['glfwSetWindowCloseCallback',['../group__window.html#gada646d775a7776a95ac000cfc1885331',1,'glfw3.h']]], + ['glfwsetwindowcontentscalecallback_662',['glfwSetWindowContentScaleCallback',['../group__window.html#gaf2832ebb5aa6c252a2d261de002c92d6',1,'glfw3.h']]], + ['glfwsetwindowfocuscallback_663',['glfwSetWindowFocusCallback',['../group__window.html#gac2d83c4a10f071baf841f6730528e66c',1,'glfw3.h']]], + ['glfwsetwindowicon_664',['glfwSetWindowIcon',['../group__window.html#gadd7ccd39fe7a7d1f0904666ae5932dc5',1,'glfw3.h']]], + ['glfwsetwindowiconifycallback_665',['glfwSetWindowIconifyCallback',['../group__window.html#gac793e9efd255567b5fb8b445052cfd3e',1,'glfw3.h']]], + ['glfwsetwindowmaximizecallback_666',['glfwSetWindowMaximizeCallback',['../group__window.html#gacbe64c339fbd94885e62145563b6dc93',1,'glfw3.h']]], + ['glfwsetwindowmonitor_667',['glfwSetWindowMonitor',['../group__window.html#ga81c76c418af80a1cce7055bccb0ae0a7',1,'glfw3.h']]], + ['glfwsetwindowopacity_668',['glfwSetWindowOpacity',['../group__window.html#gac31caeb3d1088831b13d2c8a156802e9',1,'glfw3.h']]], + ['glfwsetwindowpos_669',['glfwSetWindowPos',['../group__window.html#ga1abb6d690e8c88e0c8cd1751356dbca8',1,'glfw3.h']]], + ['glfwsetwindowposcallback_670',['glfwSetWindowPosCallback',['../group__window.html#ga08bdfbba88934f9c4f92fd757979ac74',1,'glfw3.h']]], + ['glfwsetwindowrefreshcallback_671',['glfwSetWindowRefreshCallback',['../group__window.html#ga1c5c7eb889c33c7f4d10dd35b327654e',1,'glfw3.h']]], + ['glfwsetwindowshouldclose_672',['glfwSetWindowShouldClose',['../group__window.html#ga49c449dde2a6f87d996f4daaa09d6708',1,'glfw3.h']]], + ['glfwsetwindowsize_673',['glfwSetWindowSize',['../group__window.html#ga371911f12c74c504dd8d47d832d095cb',1,'glfw3.h']]], + ['glfwsetwindowsizecallback_674',['glfwSetWindowSizeCallback',['../group__window.html#gad91b8b047a0c4c6033c38853864c34f8',1,'glfw3.h']]], + ['glfwsetwindowsizelimits_675',['glfwSetWindowSizeLimits',['../group__window.html#gac314fa6cec7d2d307be9963e2709cc90',1,'glfw3.h']]], + ['glfwsetwindowtitle_676',['glfwSetWindowTitle',['../group__window.html#ga5d877f09e968cef7a360b513306f17ff',1,'glfw3.h']]], + ['glfwsetwindowuserpointer_677',['glfwSetWindowUserPointer',['../group__window.html#ga3d2fc6026e690ab31a13f78bc9fd3651',1,'glfw3.h']]], + ['glfwsetx11selectionstring_678',['glfwSetX11SelectionString',['../group__native.html#ga55f879ab02d93367f966186b6f0133f7',1,'glfw3native.h']]], + ['glfwshowwindow_679',['glfwShowWindow',['../group__window.html#ga61be47917b72536a148300f46494fc66',1,'glfw3.h']]], + ['glfwswapbuffers_680',['glfwSwapBuffers',['../group__window.html#ga15a5a1ee5b3c2ca6b15ca209a12efd14',1,'glfw3.h']]], + ['glfwswapinterval_681',['glfwSwapInterval',['../group__context.html#ga6d4e0cdf151b5e579bd67f13202994ed',1,'glfw3.h']]], + ['glfwterminate_682',['glfwTerminate',['../group__init.html#gaaae48c0a18607ea4a4ba951d939f0901',1,'glfw3.h']]], + ['glfwupdategamepadmappings_683',['glfwUpdateGamepadMappings',['../group__input.html#gaed5104612f2fa8e66aa6e846652ad00f',1,'glfw3.h']]], + ['glfwvulkansupported_684',['glfwVulkanSupported',['../group__vulkan.html#ga2e7f30931e02464b5bc8d0d4b6f9fe2b',1,'glfw3.h']]], + ['glfwwaitevents_685',['glfwWaitEvents',['../group__window.html#ga554e37d781f0a997656c26b2c56c835e',1,'glfw3.h']]], + ['glfwwaiteventstimeout_686',['glfwWaitEventsTimeout',['../group__window.html#ga605a178db92f1a7f1a925563ef3ea2cf',1,'glfw3.h']]], + ['glfwwindowhint_687',['glfwWindowHint',['../group__window.html#ga7d9c8c62384b1e2821c4dc48952d2033',1,'glfw3.h']]], + ['glfwwindowhintstring_688',['glfwWindowHintString',['../group__window.html#ga8cb2782861c9d997bcf2dea97f363e5f',1,'glfw3.h']]], + ['glfwwindowshouldclose_689',['glfwWindowShouldClose',['../group__window.html#ga24e02fbfefbb81fc45320989f8140ab5',1,'glfw3.h']]] +]; diff --git a/docs/3.3/search/groups_0.html b/docs/3.3/search/groups_0.html new file mode 100644 index 0000000..49412e8 --- /dev/null +++ b/docs/3.3/search/groups_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/groups_0.js b/docs/3.3/search/groups_0.js new file mode 100644 index 0000000..54c4c34 --- /dev/null +++ b/docs/3.3/search/groups_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['context_20reference_760',['Context reference',['../group__context.html',1,'']]] +]; diff --git a/docs/3.3/search/groups_1.html b/docs/3.3/search/groups_1.html new file mode 100644 index 0000000..8e3ac96 --- /dev/null +++ b/docs/3.3/search/groups_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/groups_1.js b/docs/3.3/search/groups_1.js new file mode 100644 index 0000000..8743706 --- /dev/null +++ b/docs/3.3/search/groups_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['error_20codes_761',['Error codes',['../group__errors.html',1,'']]] +]; diff --git a/docs/3.3/search/groups_2.html b/docs/3.3/search/groups_2.html new file mode 100644 index 0000000..9c46700 --- /dev/null +++ b/docs/3.3/search/groups_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/groups_2.js b/docs/3.3/search/groups_2.js new file mode 100644 index 0000000..957f23a --- /dev/null +++ b/docs/3.3/search/groups_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['gamepad_20axes_762',['Gamepad axes',['../group__gamepad__axes.html',1,'']]], + ['gamepad_20buttons_763',['Gamepad buttons',['../group__gamepad__buttons.html',1,'']]] +]; diff --git a/docs/3.3/search/groups_3.html b/docs/3.3/search/groups_3.html new file mode 100644 index 0000000..8eb56c9 --- /dev/null +++ b/docs/3.3/search/groups_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/groups_3.js b/docs/3.3/search/groups_3.js new file mode 100644 index 0000000..41628d8 --- /dev/null +++ b/docs/3.3/search/groups_3.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['initialization_2c_20version_20and_20error_20reference_764',['Initialization, version and error reference',['../group__init.html',1,'']]], + ['input_20reference_765',['Input reference',['../group__input.html',1,'']]] +]; diff --git a/docs/3.3/search/groups_4.html b/docs/3.3/search/groups_4.html new file mode 100644 index 0000000..42b5567 --- /dev/null +++ b/docs/3.3/search/groups_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/groups_4.js b/docs/3.3/search/groups_4.js new file mode 100644 index 0000000..b90c807 --- /dev/null +++ b/docs/3.3/search/groups_4.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['joystick_20hat_20states_766',['Joystick hat states',['../group__hat__state.html',1,'']]], + ['joysticks_767',['Joysticks',['../group__joysticks.html',1,'']]] +]; diff --git a/docs/3.3/search/groups_5.html b/docs/3.3/search/groups_5.html new file mode 100644 index 0000000..8d01ff1 --- /dev/null +++ b/docs/3.3/search/groups_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/groups_5.js b/docs/3.3/search/groups_5.js new file mode 100644 index 0000000..8018640 --- /dev/null +++ b/docs/3.3/search/groups_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['keyboard_20keys_768',['Keyboard keys',['../group__keys.html',1,'']]] +]; diff --git a/docs/3.3/search/groups_6.html b/docs/3.3/search/groups_6.html new file mode 100644 index 0000000..4989cbc --- /dev/null +++ b/docs/3.3/search/groups_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/groups_6.js b/docs/3.3/search/groups_6.js new file mode 100644 index 0000000..e9ae43f --- /dev/null +++ b/docs/3.3/search/groups_6.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['mouse_20buttons_769',['Mouse buttons',['../group__buttons.html',1,'']]], + ['modifier_20key_20flags_770',['Modifier key flags',['../group__mods.html',1,'']]], + ['monitor_20reference_771',['Monitor reference',['../group__monitor.html',1,'']]] +]; diff --git a/docs/3.3/search/groups_7.html b/docs/3.3/search/groups_7.html new file mode 100644 index 0000000..c51bb3d --- /dev/null +++ b/docs/3.3/search/groups_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/groups_7.js b/docs/3.3/search/groups_7.js new file mode 100644 index 0000000..6a3478f --- /dev/null +++ b/docs/3.3/search/groups_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['native_20access_772',['Native access',['../group__native.html',1,'']]] +]; diff --git a/docs/3.3/search/groups_8.html b/docs/3.3/search/groups_8.html new file mode 100644 index 0000000..a533f14 --- /dev/null +++ b/docs/3.3/search/groups_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/groups_8.js b/docs/3.3/search/groups_8.js new file mode 100644 index 0000000..298b08e --- /dev/null +++ b/docs/3.3/search/groups_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['standard_20cursor_20shapes_773',['Standard cursor shapes',['../group__shapes.html',1,'']]] +]; diff --git a/docs/3.3/search/groups_9.html b/docs/3.3/search/groups_9.html new file mode 100644 index 0000000..464b748 --- /dev/null +++ b/docs/3.3/search/groups_9.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/groups_9.js b/docs/3.3/search/groups_9.js new file mode 100644 index 0000000..fd836a1 --- /dev/null +++ b/docs/3.3/search/groups_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['vulkan_20support_20reference_774',['Vulkan support reference',['../group__vulkan.html',1,'']]] +]; diff --git a/docs/3.3/search/groups_a.html b/docs/3.3/search/groups_a.html new file mode 100644 index 0000000..ac547d3 --- /dev/null +++ b/docs/3.3/search/groups_a.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/groups_a.js b/docs/3.3/search/groups_a.js new file mode 100644 index 0000000..d6ffb8d --- /dev/null +++ b/docs/3.3/search/groups_a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window_20reference_775',['Window reference',['../group__window.html',1,'']]] +]; diff --git a/docs/3.3/search/mag_sel.png b/docs/3.3/search/mag_sel.png new file mode 100644 index 0000000000000000000000000000000000000000..39c0ed52a25dd9d080ee0d42ae6c6042bdfa04d7 GIT binary patch literal 465 zcmeAS@N?(olHy`uVBq!ia0vp^B0wz6!2%?$TA$hhDVB6cUq=Rpjs4tz5?O(Kg=CK) zUj~NU84L`?eGCi_EEpJ?t}-xGu`@87+QPtK?83kxQ`TapwHK(CDaqU2h2ejD|C#+j z9%q3^WHAE+w=f7ZGR&GI0Tg5}@$_|Nf5gMiEhFgvHvB$N=!mC_V~EE2vzPXI9ZnEo zd+1zHor@dYLod2Y{ z@R$7$Z!PXTbY$|@#T!bMzm?`b<(R`cbw(gxJHzu zB$lLFB^RXvDF!10LknF)BV7aY5JN*NBMU1-b8Q0yD+2>vd*|CI8glbfGSez?Ylunu RoetE%;OXk;vd$@?2>>CYplSdB literal 0 HcmV?d00001 diff --git a/docs/3.3/search/nomatches.html b/docs/3.3/search/nomatches.html new file mode 100644 index 0000000..4377320 --- /dev/null +++ b/docs/3.3/search/nomatches.html @@ -0,0 +1,12 @@ + + + + + + + +
    +
    No Matches
    +
    + + diff --git a/docs/3.3/search/pages_0.html b/docs/3.3/search/pages_0.html new file mode 100644 index 0000000..32cbf49 --- /dev/null +++ b/docs/3.3/search/pages_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/pages_0.js b/docs/3.3/search/pages_0.js new file mode 100644 index 0000000..acb491e --- /dev/null +++ b/docs/3.3/search/pages_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['bug_20list_776',['Bug List',['../bug.html',1,'']]], + ['building_20applications_777',['Building applications',['../build_guide.html',1,'']]] +]; diff --git a/docs/3.3/search/pages_1.html b/docs/3.3/search/pages_1.html new file mode 100644 index 0000000..86c9cd3 --- /dev/null +++ b/docs/3.3/search/pages_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/pages_1.js b/docs/3.3/search/pages_1.js new file mode 100644 index 0000000..e0aa793 --- /dev/null +++ b/docs/3.3/search/pages_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['compiling_20glfw_778',['Compiling GLFW',['../compile_guide.html',1,'']]], + ['context_20guide_779',['Context guide',['../context_guide.html',1,'']]] +]; diff --git a/docs/3.3/search/pages_2.html b/docs/3.3/search/pages_2.html new file mode 100644 index 0000000..0c8adf5 --- /dev/null +++ b/docs/3.3/search/pages_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/pages_2.js b/docs/3.3/search/pages_2.js new file mode 100644 index 0000000..20be980 --- /dev/null +++ b/docs/3.3/search/pages_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['deprecated_20list_780',['Deprecated List',['../deprecated.html',1,'']]] +]; diff --git a/docs/3.3/search/pages_3.html b/docs/3.3/search/pages_3.html new file mode 100644 index 0000000..7c591a2 --- /dev/null +++ b/docs/3.3/search/pages_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/pages_3.js b/docs/3.3/search/pages_3.js new file mode 100644 index 0000000..0826ff2 --- /dev/null +++ b/docs/3.3/search/pages_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['getting_20started_781',['Getting started',['../quick_guide.html',1,'']]] +]; diff --git a/docs/3.3/search/pages_4.html b/docs/3.3/search/pages_4.html new file mode 100644 index 0000000..63ed7c7 --- /dev/null +++ b/docs/3.3/search/pages_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/pages_4.js b/docs/3.3/search/pages_4.js new file mode 100644 index 0000000..e0a9cbe --- /dev/null +++ b/docs/3.3/search/pages_4.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['input_20guide_782',['Input guide',['../input_guide.html',1,'']]], + ['internal_20structure_783',['Internal structure',['../internals_guide.html',1,'']]], + ['introduction_20to_20the_20api_784',['Introduction to the API',['../intro_guide.html',1,'']]] +]; diff --git a/docs/3.3/search/pages_5.html b/docs/3.3/search/pages_5.html new file mode 100644 index 0000000..5ef74eb --- /dev/null +++ b/docs/3.3/search/pages_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/pages_5.js b/docs/3.3/search/pages_5.js new file mode 100644 index 0000000..7c9f329 --- /dev/null +++ b/docs/3.3/search/pages_5.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['monitor_20guide_785',['Monitor guide',['../monitor_guide.html',1,'']]], + ['moving_20from_20glfw_202_20to_203_786',['Moving from GLFW 2 to 3',['../moving_guide.html',1,'']]] +]; diff --git a/docs/3.3/search/pages_6.html b/docs/3.3/search/pages_6.html new file mode 100644 index 0000000..cd867a0 --- /dev/null +++ b/docs/3.3/search/pages_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/pages_6.js b/docs/3.3/search/pages_6.js new file mode 100644 index 0000000..b3ac062 --- /dev/null +++ b/docs/3.3/search/pages_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['notitle_787',['notitle',['../index.html',1,'']]] +]; diff --git a/docs/3.3/search/pages_7.html b/docs/3.3/search/pages_7.html new file mode 100644 index 0000000..2a0841f --- /dev/null +++ b/docs/3.3/search/pages_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/pages_7.js b/docs/3.3/search/pages_7.js new file mode 100644 index 0000000..90c6a3f --- /dev/null +++ b/docs/3.3/search/pages_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['release_20notes_788',['Release notes',['../news.html',1,'']]] +]; diff --git a/docs/3.3/search/pages_8.html b/docs/3.3/search/pages_8.html new file mode 100644 index 0000000..b30ace9 --- /dev/null +++ b/docs/3.3/search/pages_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/pages_8.js b/docs/3.3/search/pages_8.js new file mode 100644 index 0000000..d24ed05 --- /dev/null +++ b/docs/3.3/search/pages_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['standards_20conformance_789',['Standards conformance',['../compat_guide.html',1,'']]] +]; diff --git a/docs/3.3/search/pages_9.html b/docs/3.3/search/pages_9.html new file mode 100644 index 0000000..7cdd670 --- /dev/null +++ b/docs/3.3/search/pages_9.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/pages_9.js b/docs/3.3/search/pages_9.js new file mode 100644 index 0000000..0b20185 --- /dev/null +++ b/docs/3.3/search/pages_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['vulkan_20guide_790',['Vulkan guide',['../vulkan_guide.html',1,'']]] +]; diff --git a/docs/3.3/search/pages_a.html b/docs/3.3/search/pages_a.html new file mode 100644 index 0000000..8cee6b8 --- /dev/null +++ b/docs/3.3/search/pages_a.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/pages_a.js b/docs/3.3/search/pages_a.js new file mode 100644 index 0000000..190771f --- /dev/null +++ b/docs/3.3/search/pages_a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window_20guide_791',['Window guide',['../window_guide.html',1,'']]] +]; diff --git a/docs/3.3/search/search.css b/docs/3.3/search/search.css new file mode 100644 index 0000000..3cf9df9 --- /dev/null +++ b/docs/3.3/search/search.css @@ -0,0 +1,271 @@ +/*---------------- Search Box */ + +#FSearchBox { + float: left; +} + +#MSearchBox { + white-space : nowrap; + float: none; + margin-top: 8px; + right: 0px; + width: 170px; + height: 24px; + z-index: 102; +} + +#MSearchBox .left +{ + display:block; + position:absolute; + left:10px; + width:20px; + height:19px; + background:url('search_l.png') no-repeat; + background-position:right; +} + +#MSearchSelect { + display:block; + position:absolute; + width:20px; + height:19px; +} + +.left #MSearchSelect { + left:4px; +} + +.right #MSearchSelect { + right:5px; +} + +#MSearchField { + display:block; + position:absolute; + height:19px; + background:url('search_m.png') repeat-x; + border:none; + width:115px; + margin-left:20px; + padding-left:4px; + color: #909090; + outline: none; + font: 9pt Arial, Verdana, sans-serif; + -webkit-border-radius: 0px; +} + +#FSearchBox #MSearchField { + margin-left:15px; +} + +#MSearchBox .right { + display:block; + position:absolute; + right:10px; + top:8px; + width:20px; + height:19px; + background:url('search_r.png') no-repeat; + background-position:left; +} + +#MSearchClose { + display: none; + position: absolute; + top: 4px; + background : none; + border: none; + margin: 0px 4px 0px 0px; + padding: 0px 0px; + outline: none; +} + +.left #MSearchClose { + left: 6px; +} + +.right #MSearchClose { + right: 2px; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 10001; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; + z-index:10000; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; +} + +.SRResult { + display: none; +} + +DIV.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.searchresult { + background-color: #F0F3F8; +} + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: url("../tab_a.png"); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/docs/3.3/search/search.js b/docs/3.3/search/search.js new file mode 100644 index 0000000..a554ab9 --- /dev/null +++ b/docs/3.3/search/search.js @@ -0,0 +1,814 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var idxChar = searchValue.substr(0, 1).toLowerCase(); + if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair + { + idxChar = searchValue.substr(0, 2); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); + if (idx!=-1) + { + var hexCode=idx.toString(16); + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches.html'; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName == 'DIV' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName == 'DIV' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults() +{ + var results = document.getElementById("SRResults"); + for (var e=0; e(R!W8j_r#qQ#gnr4kAxdU#F0+OBry$Z+ z_0PMi;P|#{d%mw(dnw=jM%@$onTJa%@6Nm3`;2S#nwtVFJI#`U@2Q@@JCCctagvF- z8H=anvo~dTmJ2YA%wA6IHRv%{vxvUm|R)kgZeo zmX%Zb;mpflGZdXCTAgit`||AFzkI#z&(3d4(htA?U2FOL4WF6wY&TB#n3n*I4+hl| z*NBpo#FA92vEu822WQ%mvv4FO#qs` BFGc_W literal 0 HcmV?d00001 diff --git a/docs/3.3/search/search_r.png b/docs/3.3/search/search_r.png new file mode 100644 index 0000000000000000000000000000000000000000..1af5d21ee13e070d7600f1c4657fde843b953a69 GIT binary patch literal 553 zcmeAS@N?(olHy`uVBq!ia0vp^LO?9c!2%@BXHTsJQY`6?zK#qG8~eHcB(ehe3dtTp zz6=bxGZ+|(`xqD=STHa&U1eaXVrO7DwS|Gf*oA>XrmV$GYcEhOQT(QLuS{~ooZ2P@v=Xc@RKW@Irliv8_;wroU0*)0O?temdsA~70jrdux+`@W7 z-N(<(C)L?hOO?KV{>8(jC{hpKsws)#Fh zvsO>IB+gb@b+rGWaO&!a9Z{!U+fV*s7TS>fdt&j$L%^U@Epd$~Nl7e8wMs5Z1yT$~ z28I^8hDN#u<{^fLRz?<9hUVG^237_Jy7tbuQ8eV{r(~v8;?@w8^gA7>fx*+&&t;uc GLK6VEQpiUD literal 0 HcmV?d00001 diff --git a/docs/3.3/search/searchdata.js b/docs/3.3/search/searchdata.js new file mode 100644 index 0000000..26680a5 --- /dev/null +++ b/docs/3.3/search/searchdata.js @@ -0,0 +1,39 @@ +var indexSectionsWithContent = +{ + 0: "abcdeghijkmnpqrsvw", + 1: "g", + 2: "bcgimnqvw", + 3: "g", + 4: "abghprsw", + 5: "g", + 6: "g", + 7: "cegijkmnsvw", + 8: "bcdgimnrsvw" +}; + +var indexSectionNames = +{ + 0: "all", + 1: "classes", + 2: "files", + 3: "functions", + 4: "variables", + 5: "typedefs", + 6: "defines", + 7: "groups", + 8: "pages" +}; + +var indexSectionLabels = +{ + 0: "All", + 1: "Data Structures", + 2: "Files", + 3: "Functions", + 4: "Variables", + 5: "Typedefs", + 6: "Macros", + 7: "Modules", + 8: "Pages" +}; + diff --git a/docs/3.3/search/typedefs_0.html b/docs/3.3/search/typedefs_0.html new file mode 100644 index 0000000..8f30b85 --- /dev/null +++ b/docs/3.3/search/typedefs_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/typedefs_0.js b/docs/3.3/search/typedefs_0.js new file mode 100644 index 0000000..88ea741 --- /dev/null +++ b/docs/3.3/search/typedefs_0.js @@ -0,0 +1,32 @@ +var searchData= +[ + ['glfwcharfun_703',['GLFWcharfun',['../group__input.html#gabf24451c7ceb1952bc02b17a0d5c3e5f',1,'glfw3.h']]], + ['glfwcharmodsfun_704',['GLFWcharmodsfun',['../group__input.html#gae36fb6897d2b7df9b128900c8ce9c507',1,'glfw3.h']]], + ['glfwcursor_705',['GLFWcursor',['../group__input.html#ga89261ae18c75e863aaf2656ecdd238f4',1,'glfw3.h']]], + ['glfwcursorenterfun_706',['GLFWcursorenterfun',['../group__input.html#ga51ab436c41eeaed6db5a0c9403b1c840',1,'glfw3.h']]], + ['glfwcursorposfun_707',['GLFWcursorposfun',['../group__input.html#ga4cfad918fa836f09541e7b9acd36686c',1,'glfw3.h']]], + ['glfwdropfun_708',['GLFWdropfun',['../group__input.html#gafd0493dc32cd5ca5810e6148c0c026ea',1,'glfw3.h']]], + ['glfwerrorfun_709',['GLFWerrorfun',['../group__init.html#ga6b8a2639706d5c409fc1287e8f55e928',1,'glfw3.h']]], + ['glfwframebuffersizefun_710',['GLFWframebuffersizefun',['../group__window.html#ga3e218ef9ff826129c55a7d5f6971a285',1,'glfw3.h']]], + ['glfwgamepadstate_711',['GLFWgamepadstate',['../group__input.html#ga0b86867abb735af3b959f61c44b1d029',1,'glfw3.h']]], + ['glfwgammaramp_712',['GLFWgammaramp',['../group__monitor.html#gaec0bd37af673be8813592849f13e02f0',1,'glfw3.h']]], + ['glfwglproc_713',['GLFWglproc',['../group__context.html#ga3d47c2d2fbe0be9c505d0e04e91a133c',1,'glfw3.h']]], + ['glfwimage_714',['GLFWimage',['../group__window.html#gac81c32f4437de7b3aa58ab62c3d9e5b1',1,'glfw3.h']]], + ['glfwjoystickfun_715',['GLFWjoystickfun',['../group__input.html#gaa67aa597e974298c748bfe4fb17d406d',1,'glfw3.h']]], + ['glfwkeyfun_716',['GLFWkeyfun',['../group__input.html#ga0192a232a41e4e82948217c8ba94fdfd',1,'glfw3.h']]], + ['glfwmonitor_717',['GLFWmonitor',['../group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3',1,'glfw3.h']]], + ['glfwmonitorfun_718',['GLFWmonitorfun',['../group__monitor.html#ga8a7ee579a66720f24d656526f3e44c63',1,'glfw3.h']]], + ['glfwmousebuttonfun_719',['GLFWmousebuttonfun',['../group__input.html#ga39893a4a7e7c3239c98d29c9e084350c',1,'glfw3.h']]], + ['glfwscrollfun_720',['GLFWscrollfun',['../group__input.html#ga4687e2199c60a18a8dd1da532e6d75c9',1,'glfw3.h']]], + ['glfwvidmode_721',['GLFWvidmode',['../group__monitor.html#gae48aadf4ea0967e6605c8f58fa5daccb',1,'glfw3.h']]], + ['glfwvkproc_722',['GLFWvkproc',['../group__vulkan.html#ga70c01918dc9d233a4fbe0681a43018af',1,'glfw3.h']]], + ['glfwwindow_723',['GLFWwindow',['../group__window.html#ga3c96d80d363e67d13a41b5d1821f3242',1,'glfw3.h']]], + ['glfwwindowclosefun_724',['GLFWwindowclosefun',['../group__window.html#ga93e7c2555bd837f4ed8b20f76cada72e',1,'glfw3.h']]], + ['glfwwindowcontentscalefun_725',['GLFWwindowcontentscalefun',['../group__window.html#ga1da46b65eafcc1a7ff0adb8f4a7b72fd',1,'glfw3.h']]], + ['glfwwindowfocusfun_726',['GLFWwindowfocusfun',['../group__window.html#ga58be2061828dd35080bb438405d3a7e2',1,'glfw3.h']]], + ['glfwwindowiconifyfun_727',['GLFWwindowiconifyfun',['../group__window.html#gad2d4e4c3d28b1242e742e8268b9528af',1,'glfw3.h']]], + ['glfwwindowmaximizefun_728',['GLFWwindowmaximizefun',['../group__window.html#ga7269a3d1cb100c0081f95fc09afa4949',1,'glfw3.h']]], + ['glfwwindowposfun_729',['GLFWwindowposfun',['../group__window.html#gafd8db81fdb0e850549dc6bace5ed697a',1,'glfw3.h']]], + ['glfwwindowrefreshfun_730',['GLFWwindowrefreshfun',['../group__window.html#ga7a56f9e0227e2cd9470d80d919032e08',1,'glfw3.h']]], + ['glfwwindowsizefun_731',['GLFWwindowsizefun',['../group__window.html#gae49ee6ebc03fa2da024b89943a331355',1,'glfw3.h']]] +]; diff --git a/docs/3.3/search/variables_0.html b/docs/3.3/search/variables_0.html new file mode 100644 index 0000000..a2a3ae6 --- /dev/null +++ b/docs/3.3/search/variables_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/variables_0.js b/docs/3.3/search/variables_0.js new file mode 100644 index 0000000..161d776 --- /dev/null +++ b/docs/3.3/search/variables_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['axes_690',['axes',['../structGLFWgamepadstate.html#a8b2c8939b1d31458de5359998375c189',1,'GLFWgamepadstate']]] +]; diff --git a/docs/3.3/search/variables_1.html b/docs/3.3/search/variables_1.html new file mode 100644 index 0000000..b243c42 --- /dev/null +++ b/docs/3.3/search/variables_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/variables_1.js b/docs/3.3/search/variables_1.js new file mode 100644 index 0000000..3cbbfce --- /dev/null +++ b/docs/3.3/search/variables_1.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['blue_691',['blue',['../structGLFWgammaramp.html#acf0c836d0efe29c392fe8d1a1042744b',1,'GLFWgammaramp']]], + ['bluebits_692',['blueBits',['../structGLFWvidmode.html#af310977f58d2e3b188175b6e3d314047',1,'GLFWvidmode']]], + ['buttons_693',['buttons',['../structGLFWgamepadstate.html#a27e9896b51c65df15fba2c7139bfdb9a',1,'GLFWgamepadstate']]] +]; diff --git a/docs/3.3/search/variables_2.html b/docs/3.3/search/variables_2.html new file mode 100644 index 0000000..647df20 --- /dev/null +++ b/docs/3.3/search/variables_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/variables_2.js b/docs/3.3/search/variables_2.js new file mode 100644 index 0000000..d3ce5c4 --- /dev/null +++ b/docs/3.3/search/variables_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['green_694',['green',['../structGLFWgammaramp.html#affccc6f5df47820b6562d709da3a5a3a',1,'GLFWgammaramp']]], + ['greenbits_695',['greenBits',['../structGLFWvidmode.html#a292fdd281f3485fb3ff102a5bda43faa',1,'GLFWvidmode']]] +]; diff --git a/docs/3.3/search/variables_3.html b/docs/3.3/search/variables_3.html new file mode 100644 index 0000000..9dc9b89 --- /dev/null +++ b/docs/3.3/search/variables_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/variables_3.js b/docs/3.3/search/variables_3.js new file mode 100644 index 0000000..1d8bc16 --- /dev/null +++ b/docs/3.3/search/variables_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['height_696',['height',['../structGLFWvidmode.html#ac65942a5f6981695517437a9d571d03c',1,'GLFWvidmode::height()'],['../structGLFWimage.html#a0b7d95368f0c80d5e5c9875057c7dbec',1,'GLFWimage::height()']]] +]; diff --git a/docs/3.3/search/variables_4.html b/docs/3.3/search/variables_4.html new file mode 100644 index 0000000..78cc2c7 --- /dev/null +++ b/docs/3.3/search/variables_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/variables_4.js b/docs/3.3/search/variables_4.js new file mode 100644 index 0000000..88ab5ec --- /dev/null +++ b/docs/3.3/search/variables_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['pixels_697',['pixels',['../structGLFWimage.html#a0c532a5c2bb715555279b7817daba0fb',1,'GLFWimage']]] +]; diff --git a/docs/3.3/search/variables_5.html b/docs/3.3/search/variables_5.html new file mode 100644 index 0000000..dfa3558 --- /dev/null +++ b/docs/3.3/search/variables_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/variables_5.js b/docs/3.3/search/variables_5.js new file mode 100644 index 0000000..5fb8b13 --- /dev/null +++ b/docs/3.3/search/variables_5.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['red_698',['red',['../structGLFWgammaramp.html#a2cce5d968734b685623eef913e635138',1,'GLFWgammaramp']]], + ['redbits_699',['redBits',['../structGLFWvidmode.html#a6066c4ecd251098700062d3b735dba1b',1,'GLFWvidmode']]], + ['refreshrate_700',['refreshRate',['../structGLFWvidmode.html#a791bdd6c7697b09f7e9c97054bf05649',1,'GLFWvidmode']]] +]; diff --git a/docs/3.3/search/variables_6.html b/docs/3.3/search/variables_6.html new file mode 100644 index 0000000..cd462bd --- /dev/null +++ b/docs/3.3/search/variables_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/variables_6.js b/docs/3.3/search/variables_6.js new file mode 100644 index 0000000..5c34f0d --- /dev/null +++ b/docs/3.3/search/variables_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['size_701',['size',['../structGLFWgammaramp.html#ad620e1cffbff9a32c51bca46301b59a5',1,'GLFWgammaramp']]] +]; diff --git a/docs/3.3/search/variables_7.html b/docs/3.3/search/variables_7.html new file mode 100644 index 0000000..47994b8 --- /dev/null +++ b/docs/3.3/search/variables_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.3/search/variables_7.js b/docs/3.3/search/variables_7.js new file mode 100644 index 0000000..c6cd71e --- /dev/null +++ b/docs/3.3/search/variables_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['width_702',['width',['../structGLFWvidmode.html#a698dcb200562051a7249cb6ae154c71d',1,'GLFWvidmode::width()'],['../structGLFWimage.html#af6a71cc999fe6d3aea31dd7e9687d835',1,'GLFWimage::width()']]] +]; diff --git a/docs/3.3/spaces.svg b/docs/3.3/spaces.svg new file mode 100644 index 0000000..5b32646 --- /dev/null +++ b/docs/3.3/spaces.svg @@ -0,0 +1,877 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/3.3/splitbar.png b/docs/3.3/splitbar.png new file mode 100644 index 0000000000000000000000000000000000000000..fe895f2c58179b471a22d8320b39a4bd7312ec8e GIT binary patch literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T literal 0 HcmV?d00001 diff --git a/docs/3.3/structGLFWgamepadstate.html b/docs/3.3/structGLFWgamepadstate.html new file mode 100644 index 0000000..925e449 --- /dev/null +++ b/docs/3.3/structGLFWgamepadstate.html @@ -0,0 +1,127 @@ + + + + + + + +GLFW: GLFWgamepadstate Struct Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    GLFWgamepadstate Struct Reference
    +
    +
    + +

    Gamepad input state. + More...

    + + + + + + +

    +Data Fields

    unsigned char buttons [15]
     
    float axes [6]
     
    +

    Detailed Description

    +

    This describes the input state of a gamepad.

    +
    See also
    Gamepad input
    +
    +glfwGetGamepadState
    +
    Since
    Added in version 3.3.
    +

    Field Documentation

    + +

    ◆ buttons

    + +
    +
    + + + + +
    unsigned char GLFWgamepadstate::buttons[15]
    +
    +

    The states of each gamepad button, GLFW_PRESS or GLFW_RELEASE.

    + +
    +
    + +

    ◆ axes

    + +
    +
    + + + + +
    float GLFWgamepadstate::axes[6]
    +
    +

    The states of each gamepad axis, in the range -1.0 to 1.0 inclusive.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/3.3/structGLFWgammaramp.html b/docs/3.3/structGLFWgammaramp.html new file mode 100644 index 0000000..edd7bdd --- /dev/null +++ b/docs/3.3/structGLFWgammaramp.html @@ -0,0 +1,163 @@ + + + + + + + +GLFW: GLFWgammaramp Struct Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    GLFWgammaramp Struct Reference
    +
    +
    + +

    Gamma ramp. + More...

    + + + + + + + + + + +

    +Data Fields

    unsigned short * red
     
    unsigned short * green
     
    unsigned short * blue
     
    unsigned int size
     
    +

    Detailed Description

    +

    This describes the gamma ramp for a monitor.

    +
    See also
    Gamma ramp
    +
    +glfwGetGammaRamp
    +
    +glfwSetGammaRamp
    +
    Since
    Added in version 3.0.
    +

    Field Documentation

    + +

    ◆ red

    + +
    +
    + + + + +
    unsigned short* GLFWgammaramp::red
    +
    +

    An array of value describing the response of the red channel.

    + +
    +
    + +

    ◆ green

    + +
    +
    + + + + +
    unsigned short* GLFWgammaramp::green
    +
    +

    An array of value describing the response of the green channel.

    + +
    +
    + +

    ◆ blue

    + +
    +
    + + + + +
    unsigned short* GLFWgammaramp::blue
    +
    +

    An array of value describing the response of the blue channel.

    + +
    +
    + +

    ◆ size

    + +
    +
    + + + + +
    unsigned int GLFWgammaramp::size
    +
    +

    The number of elements in each array.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/3.3/structGLFWimage.html b/docs/3.3/structGLFWimage.html new file mode 100644 index 0000000..3b948c3 --- /dev/null +++ b/docs/3.3/structGLFWimage.html @@ -0,0 +1,144 @@ + + + + + + + +GLFW: GLFWimage Struct Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    GLFWimage Struct Reference
    +
    +
    + +

    Image data. + More...

    + + + + + + + + +

    +Data Fields

    int width
     
    int height
     
    unsigned char * pixels
     
    +

    Detailed Description

    +

    This describes a single 2D image. See the documentation for each related function what the expected pixel format is.

    +
    See also
    Custom cursor creation
    +
    +Window icon
    +
    Since
    Added in version 2.1. GLFW 3: Removed format and bytes-per-pixel members.
    +

    Field Documentation

    + +

    ◆ width

    + +
    +
    + + + + +
    int GLFWimage::width
    +
    +

    The width, in pixels, of this image.

    + +
    +
    + +

    ◆ height

    + +
    +
    + + + + +
    int GLFWimage::height
    +
    +

    The height, in pixels, of this image.

    + +
    +
    + +

    ◆ pixels

    + +
    +
    + + + + +
    unsigned char* GLFWimage::pixels
    +
    +

    The pixel data of this image, arranged left-to-right, top-to-bottom.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/3.3/structGLFWvidmode.html b/docs/3.3/structGLFWvidmode.html new file mode 100644 index 0000000..d916de4 --- /dev/null +++ b/docs/3.3/structGLFWvidmode.html @@ -0,0 +1,197 @@ + + + + + + + +GLFW: GLFWvidmode Struct Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    GLFWvidmode Struct Reference
    +
    +
    + +

    Video mode type. + More...

    + + + + + + + + + + + + + + +

    +Data Fields

    int width
     
    int height
     
    int redBits
     
    int greenBits
     
    int blueBits
     
    int refreshRate
     
    +

    Detailed Description

    +

    This describes a single video mode.

    +
    See also
    Video modes
    +
    +glfwGetVideoMode
    +
    +glfwGetVideoModes
    +
    Since
    Added in version 1.0. GLFW 3: Added refresh rate member.
    +

    Field Documentation

    + +

    ◆ width

    + +
    +
    + + + + +
    int GLFWvidmode::width
    +
    +

    The width, in screen coordinates, of the video mode.

    + +
    +
    + +

    ◆ height

    + +
    +
    + + + + +
    int GLFWvidmode::height
    +
    +

    The height, in screen coordinates, of the video mode.

    + +
    +
    + +

    ◆ redBits

    + +
    +
    + + + + +
    int GLFWvidmode::redBits
    +
    +

    The bit depth of the red channel of the video mode.

    + +
    +
    + +

    ◆ greenBits

    + +
    +
    + + + + +
    int GLFWvidmode::greenBits
    +
    +

    The bit depth of the green channel of the video mode.

    + +
    +
    + +

    ◆ blueBits

    + +
    +
    + + + + +
    int GLFWvidmode::blueBits
    +
    +

    The bit depth of the blue channel of the video mode.

    + +
    +
    + +

    ◆ refreshRate

    + +
    +
    + + + + +
    int GLFWvidmode::refreshRate
    +
    +

    The refresh rate, in Hz, of the video mode.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/3.3/sync_off.png b/docs/3.3/sync_off.png new file mode 100644 index 0000000000000000000000000000000000000000..3b443fc62892114406e3d399421b2a881b897acc GIT binary patch literal 853 zcmV-b1FHOqP)oT|#XixUYy%lpuf3i8{fX!o zUyDD0jOrAiT^tq>fLSOOABs-#u{dV^F$b{L9&!2=9&RmV;;8s^x&UqB$PCj4FdKbh zoB1WTskPUPu05XzFbA}=KZ-GP1fPpAfSs>6AHb12UlR%-i&uOlTpFNS7{jm@mkU1V zh`nrXr~+^lsV-s1dkZOaI|kYyVj3WBpPCY{n~yd%u%e+d=f%`N0FItMPtdgBb@py; zq@v6NVArhyTC7)ULw-Jy8y42S1~4n(3LkrW8mW(F-4oXUP3E`e#g**YyqI7h-J2zK zK{m9##m4ri!7N>CqQqCcnI3hqo1I;Yh&QLNY4T`*ptiQGozK>FF$!$+84Z`xwmeMh zJ0WT+OH$WYFALEaGj2_l+#DC3t7_S`vHpSivNeFbP6+r50cO8iu)`7i%Z4BTPh@_m3Tk!nAm^)5Bqnr%Ov|Baunj#&RPtRuK& z4RGz|D5HNrW83-#ydk}tVKJrNmyYt-sTxLGlJY5nc&Re zU4SgHNPx8~Yxwr$bsju?4q&%T1874xxzq+_%?h8_ofw~(bld=o3iC)LUNR*BY%c0y zWd_jX{Y8`l%z+ol1$@Qa?Cy!(0CVIEeYpKZ`(9{z>3$CIe;pJDQk$m3p}$>xBm4lb zKo{4S)`wdU9Ba9jJbVJ0C=SOefZe%d$8=2r={nu<_^a3~>c#t_U6dye5)JrR(_a^E f@}b6j1K9lwFJq@>o)+Ry00000NkvXXu0mjfWa5j* literal 0 HcmV?d00001 diff --git a/docs/3.3/sync_on.png b/docs/3.3/sync_on.png new file mode 100644 index 0000000000000000000000000000000000000000..e08320fb64e6fa33b573005ed6d8fe294e19db76 GIT binary patch literal 845 zcmV-T1G4;yP)Y;xxyHF2B5Wzm| zOOGupOTn@c(JmBOl)e;XMNnZuiTJP>rM8<|Q`7I_))aP?*T)ow&n59{}X4$3Goat zgjs?*aasfbrokzG5cT4K=uG`E14xZl@z)F={P0Y^?$4t z>v!teRnNZym<6h{7sLyF1V0HsfEl+l6TrZpsfr1}luH~F7L}ktXu|*uVX^RG$L0`K zWs3j|0tIvVe(N%_?2{(iCPFGf#B6Hjy6o&}D$A%W%jfO8_W%ZO#-mh}EM$LMn7joJ z05dHr!5Y92g+31l<%i1(=L1a1pXX+OYnalY>31V4K}BjyRe3)9n#;-cCVRD_IG1fT zOKGeNY8q;TL@K{dj@D^scf&VCs*-Jb>8b>|`b*osv52-!A?BpbYtTQBns5EAU**$m zSnVSm(teh>tQi*S*A>#ySc=n;`BHz`DuG4&g4Kf8lLhca+zvZ7t7RflD6-i-mcK=M z!=^P$*u2)bkY5asG4gsss!Hn%u~>}kIW`vMs%lJLH+u*9<4PaV_c6U`KqWXQH%+Nu zTv41O(^ZVi@qhjQdG!fbZw&y+2o!iYymO^?ud3{P*HdoX83YV*Uu_HB=?U&W9%AU# z80}k1SS-CXTU7dcQlsm<^oYLxVSseqY6NO}dc`Nj?8vrhNuCdm@^{a3AQ_>6myOj+ z`1RsLUXF|dm|3k7s2jD(B{rzE>WI2scH8i1;=O5Cc9xB3^aJk%fQjqsu+kH#0=_5a z0nCE8@dbQa-|YIuUVvG0L_IwHMEhOj$Mj4Uq05 X8=0q~qBNan00000NkvXXu0mjfptF>5 literal 0 HcmV?d00001 diff --git a/docs/3.3/tab_a.png b/docs/3.3/tab_a.png new file mode 100644 index 0000000000000000000000000000000000000000..3b725c41c5a527a3a3e40097077d0e206a681247 GIT binary patch literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QlXwMjv*C{Z|8b*H5dputLHD# z=<0|*y7z(Vor?d;H&?EG&cXR}?!j-Lm&u1OOI7AIF5&c)RFE;&p0MYK>*Kl@eiymD r@|NpwKX@^z+;{u_Z~trSBfrMKa%3`zocFjEXaR$#tDnm{r-UW|TZ1%4 literal 0 HcmV?d00001 diff --git a/docs/3.3/tab_b.png b/docs/3.3/tab_b.png new file mode 100644 index 0000000000000000000000000000000000000000..e2b4a8638cb3496a016eaed9e16ffc12846dea18 GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QU#tajv*C{Z}0l@H7kg?K0Lnr z!j&C6_(~HV9oQ0Pa6x{-v0AGV_E?vLn=ZI-;YrdjIl`U`uzuDWSP?o#Dmo{%SgM#oan kX~E1%D-|#H#QbHoIja2U-MgvsK&LQxy85}Sb4q9e0Efg%P5=M^ literal 0 HcmV?d00001 diff --git a/docs/3.3/tabs.css b/docs/3.3/tabs.css new file mode 100644 index 0000000..85a0cd5 --- /dev/null +++ b/docs/3.3/tabs.css @@ -0,0 +1 @@ +.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace!important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0!important;-webkit-border-radius:0;border-radius:0!important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px!important;-webkit-border-radius:5px;border-radius:5px!important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0!important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px!important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file diff --git a/docs/3.3/vulkan.html b/docs/3.3/vulkan.html new file mode 120000 index 0000000..245e69a --- /dev/null +++ b/docs/3.3/vulkan.html @@ -0,0 +1 @@ +vulkan_guide.html \ No newline at end of file diff --git a/docs/3.3/vulkan_8dox.html b/docs/3.3/vulkan_8dox.html new file mode 100644 index 0000000..64b8a6d --- /dev/null +++ b/docs/3.3/vulkan_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: vulkan.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    vulkan.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.3/vulkan_guide.html b/docs/3.3/vulkan_guide.html new file mode 100644 index 0000000..9d84d3b --- /dev/null +++ b/docs/3.3/vulkan_guide.html @@ -0,0 +1,188 @@ + + + + + + + +GLFW: Vulkan guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Vulkan guide
    +
    +
    + +

    This guide is intended to fill the gaps between the official Vulkan resources and the rest of the GLFW documentation and is not a replacement for either. It assumes some familiarity with Vulkan concepts like loaders, devices, queues and surfaces and leaves it to the Vulkan documentation to explain the details of Vulkan functions.

    +

    To develop for Vulkan you should download the LunarG Vulkan SDK for your platform. Apart from headers and link libraries, they also provide the validation layers necessary for development.

    +

    The Vulkan Tutorial has more information on how to use GLFW and Vulkan. The Khronos Vulkan Samples also use GLFW, although with a small framework in between.

    +

    For details on a specific Vulkan support function, see the Vulkan support reference. There are also guides for the other areas of the GLFW API.

    + +

    +Linking against the Vulkan loader

    +

    By default, GLFW will look for the Vulkan loader on demand at runtime via its standard name (vulkan-1.dll on Windows, libvulkan.so.1 on Linux and other Unix-like systems and libvulkan.1.dylib on macOS). This means that GLFW does not need to be linked against the loader. However, it also means that if you are using the static library form of the Vulkan loader GLFW will either fail to find it or (worse) use the wrong one.

    +

    The GLFW_VULKAN_STATIC CMake option makes GLFW call the Vulkan loader directly instead of dynamically loading it at runtime. Not linking against the Vulkan loader will then be a compile-time error.

    +

    macOS: Because the Vulkan loader and ICD are not installed globally on macOS, you need to set up the application bundle according to the LunarG SDK documentation. This is explained in more detail in the SDK documentation for macOS.

    +

    +Including the Vulkan and GLFW header files

    +

    To include the Vulkan header, define GLFW_INCLUDE_VULKAN before including the GLFW header.

    +
    #define GLFW_INCLUDE_VULKAN
    +
    #include <GLFW/glfw3.h>
    +

    If you instead want to include the Vulkan header from a custom location or use your own custom Vulkan header then do this before the GLFW header.

    +
    #include <path/to/vulkan.h>
    +
    #include <GLFW/glfw3.h>
    +

    Unless a Vulkan header is included, either by the GLFW header or above it, any GLFW functions that take or return Vulkan types will not be declared.

    +

    The VK_USE_PLATFORM_*_KHR macros do not need to be defined for the Vulkan part of GLFW to work. Define them only if you are using these extensions directly.

    +

    +Querying for Vulkan support

    +

    If you are linking directly against the Vulkan loader then you can skip this section. The canonical desktop loader library exports all Vulkan core and Khronos extension functions, allowing them to be called directly.

    +

    If you are loading the Vulkan loader dynamically instead of linking directly against it, you can check for the availability of a loader and ICD with glfwVulkanSupported.

    +
    +
    {
    +
    // Vulkan is available, at least for compute
    +
    }
    +

    This function returns GLFW_TRUE if the Vulkan loader and any minimally functional ICD was found.

    +

    If if one or both were not found, calling any other Vulkan related GLFW function will generate a GLFW_API_UNAVAILABLE error.

    +

    +Querying Vulkan function pointers

    +

    To load any Vulkan core or extension function from the found loader, call glfwGetInstanceProcAddress. To load functions needed for instance creation, pass NULL as the instance.

    +
    PFN_vkCreateInstance pfnCreateInstance = (PFN_vkCreateInstance)
    +
    glfwGetInstanceProcAddress(NULL, "vkCreateInstance");
    +

    Once you have created an instance, you can load from it all other Vulkan core functions and functions from any instance extensions you enabled.

    +
    PFN_vkCreateDevice pfnCreateDevice = (PFN_vkCreateDevice)
    +
    glfwGetInstanceProcAddress(instance, "vkCreateDevice");
    +

    This function in turn calls vkGetInstanceProcAddr. If that fails, the function falls back to a platform-specific query of the Vulkan loader (i.e. dlsym or GetProcAddress). If that also fails, the function returns NULL. For more information about vkGetInstanceProcAddr, see the Vulkan documentation.

    +

    Vulkan also provides vkGetDeviceProcAddr for loading device-specific versions of Vulkan function. This function can be retrieved from an instance with glfwGetInstanceProcAddress.

    +
    PFN_vkGetDeviceProcAddr pfnGetDeviceProcAddr = (PFN_vkGetDeviceProcAddr)
    +
    glfwGetInstanceProcAddress(instance, "vkGetDeviceProcAddr");
    +

    Device-specific functions may execute a little bit faster, due to not having to dispatch internally based on the device passed to them. For more information about vkGetDeviceProcAddr, see the Vulkan documentation.

    +

    +Querying required Vulkan extensions

    +

    To do anything useful with Vulkan you need to create an instance. If you want to use Vulkan to render to a window, you must enable the instance extensions GLFW requires to create Vulkan surfaces.

    +

    To query the instance extensions required, call glfwGetRequiredInstanceExtensions.

    +
    uint32_t count;
    +
    const char** extensions = glfwGetRequiredInstanceExtensions(&count);
    +

    These extensions must all be enabled when creating instances that are going to be passed to glfwGetPhysicalDevicePresentationSupport and glfwCreateWindowSurface. The set of extensions will vary depending on platform and may also vary depending on graphics drivers and other factors.

    +

    If it fails it will return NULL and GLFW will not be able to create Vulkan window surfaces. You can still use Vulkan for off-screen rendering and compute work.

    +

    If successful the returned array will always include VK_KHR_surface, so if you don't require any additional extensions you can pass this list directly to the VkInstanceCreateInfo struct.

    +
    VkInstanceCreateInfo ici;
    +
    +
    memset(&ici, 0, sizeof(ici));
    +
    ici.enabledExtensionCount = count;
    +
    ici.ppEnabledExtensionNames = extensions;
    +
    ...
    +

    Additional extensions may be required by future versions of GLFW. You should check whether any extensions you wish to enable are already in the returned array, as it is an error to specify an extension more than once in the VkInstanceCreateInfo struct.

    +

    +Querying for Vulkan presentation support

    +

    Not every queue family of every Vulkan device can present images to surfaces. To check whether a specific queue family of a physical device supports image presentation without first having to create a window and surface, call glfwGetPhysicalDevicePresentationSupport.

    +
    if (glfwGetPhysicalDevicePresentationSupport(instance, physical_device, queue_family_index))
    +
    {
    +
    // Queue family supports image presentation
    +
    }
    +

    The VK_KHR_surface extension additionally provides the vkGetPhysicalDeviceSurfaceSupportKHR function, which performs the same test on an existing Vulkan surface.

    +

    +Creating the window

    +

    Unless you will be using OpenGL or OpenGL ES with the same window as Vulkan, there is no need to create a context. You can disable context creation with the GLFW_CLIENT_API hint.

    +
    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "Window Title", NULL, NULL);
    +

    See Windows without contexts for more information.

    +

    +Creating a Vulkan window surface

    +

    You can create a Vulkan surface (as defined by the VK_KHR_surface extension) for a GLFW window with glfwCreateWindowSurface.

    +
    VkSurfaceKHR surface;
    +
    VkResult err = glfwCreateWindowSurface(instance, window, NULL, &surface);
    +
    if (err)
    +
    {
    +
    // Window surface creation failed
    +
    }
    +

    If an OpenGL or OpenGL ES context was created on the window, the context has ownership of the presentation on the window and a Vulkan surface cannot be created.

    +

    It is your responsibility to destroy the surface. GLFW does not destroy it for you. Call vkDestroySurfaceKHR function from the same extension to destroy it.

    +
    +
    +
    The header of the GLFW 3 API.
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1177
    +
    const char ** glfwGetRequiredInstanceExtensions(uint32_t *count)
    Returns the Vulkan instance extensions required by GLFW.
    +
    int glfwVulkanSupported(void)
    Returns whether the Vulkan loader and an ICD have been found.
    +
    VkResult glfwCreateWindowSurface(VkInstance instance, GLFWwindow *window, const VkAllocationCallbacks *allocator, VkSurfaceKHR *surface)
    Creates a Vulkan surface for the specified window.
    +
    #define GLFW_NO_API
    Definition: glfw3.h:1029
    +
    #define GLFW_CLIENT_API
    Context client API hint and attribute.
    Definition: glfw3.h:942
    +
    GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
    Creates a window and its associated context.
    +
    void glfwWindowHint(int hint, int value)
    Sets the specified window hint to the desired value.
    +
    int glfwGetPhysicalDevicePresentationSupport(VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily)
    Returns whether the specified queue family can present images.
    +
    GLFWvkproc glfwGetInstanceProcAddress(VkInstance instance, const char *procname)
    Returns the address of the specified Vulkan instance function.
    + + + diff --git a/docs/3.3/window.html b/docs/3.3/window.html new file mode 120000 index 0000000..de56de0 --- /dev/null +++ b/docs/3.3/window.html @@ -0,0 +1 @@ +window_guide.html \ No newline at end of file diff --git a/docs/3.3/window_8dox.html b/docs/3.3/window_8dox.html new file mode 100644 index 0000000..6d61674 --- /dev/null +++ b/docs/3.3/window_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: window.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    window.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.3/window_guide.html b/docs/3.3/window_guide.html new file mode 100644 index 0000000..390cbf5 --- /dev/null +++ b/docs/3.3/window_guide.html @@ -0,0 +1,752 @@ + + + + + + + +GLFW: Window guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Window guide
    +
    +
    + +

    This guide introduces the window related functions of GLFW. For details on a specific function in this category, see the Window reference. There are also guides for the other areas of GLFW.

    + +

    +Window objects

    +

    The GLFWwindow object encapsulates both a window and a context. They are created with glfwCreateWindow and destroyed with glfwDestroyWindow, or glfwTerminate, if any remain. As the window and context are inseparably linked, the object pointer is used as both a context and window handle.

    +

    To see the event stream provided to the various window related callbacks, run the events test program.

    +

    +Window creation

    +

    A window and its OpenGL or OpenGL ES context are created with glfwCreateWindow, which returns a handle to the created window object. For example, this creates a 640 by 480 windowed mode window:

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", NULL, NULL);
    +

    If window creation fails, NULL will be returned, so it is necessary to check the return value.

    +

    The window handle is passed to all window related functions and is provided to along with all input events, so event handlers can tell which window received the event.

    +

    +Full screen windows

    +

    To create a full screen window, you need to specify which monitor the window should use. In most cases, the user's primary monitor is a good choice. For more information about retrieving monitors, see Retrieving monitors.

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", glfwGetPrimaryMonitor(), NULL);
    +

    Full screen windows cover the entire display area of a monitor, have no border or decorations.

    +

    Windowed mode windows can be made full screen by setting a monitor with glfwSetWindowMonitor, and full screen ones can be made windowed by unsetting it with the same function.

    +

    Each field of the GLFWvidmode structure corresponds to a function parameter or window hint and combine to form the desired video mode for that window. The supported video mode most closely matching the desired video mode will be set for the chosen monitor as long as the window has input focus. For more information about retrieving video modes, see Video modes.

    + + + + + + + + + + + + + + + +
    Video mode field Corresponds to
    GLFWvidmode.width width parameter of glfwCreateWindow
    GLFWvidmode.height height parameter of glfwCreateWindow
    GLFWvidmode.redBits GLFW_RED_BITS hint
    GLFWvidmode.greenBits GLFW_GREEN_BITS hint
    GLFWvidmode.blueBits GLFW_BLUE_BITS hint
    GLFWvidmode.refreshRate GLFW_REFRESH_RATE hint
    +

    Once you have a full screen window, you can change its resolution, refresh rate and monitor with glfwSetWindowMonitor. If you only need change its resolution you can also call glfwSetWindowSize. In all cases, the new video mode will be selected the same way as the video mode chosen by glfwCreateWindow. If the window has an OpenGL or OpenGL ES context, it will be unaffected.

    +

    By default, the original video mode of the monitor will be restored and the window iconified if it loses input focus, to allow the user to switch back to the desktop. This behavior can be disabled with the GLFW_AUTO_ICONIFY window hint, for example if you wish to simultaneously cover multiple monitors with full screen windows.

    +

    If a monitor is disconnected, all windows that are full screen on that monitor will be switched to windowed mode. See Monitor configuration changes for more information.

    +

    +"Windowed full screen" windows

    +

    If the closest match for the desired video mode is the current one, the video mode will not be changed, making window creation faster and application switching much smoother. This is sometimes called windowed full screen or borderless full screen window and counts as a full screen window. To create such a window, request the current video mode.

    +

    This also works for windowed mode windows that are made full screen.

    +
    const GLFWvidmode* mode = glfwGetVideoMode(monitor);
    +
    +
    glfwSetWindowMonitor(window, monitor, 0, 0, mode->width, mode->height, mode->refreshRate);
    +

    Note that glfwGetVideoMode returns the current video mode of a monitor, so if you already have a full screen window on that monitor that you want to make windowed full screen, you need to have saved the desktop resolution before.

    +

    +Window destruction

    +

    When a window is no longer needed, destroy it with glfwDestroyWindow.

    +

    Window destruction always succeeds. Before the actual destruction, all callbacks are removed so no further events will be delivered for the window. All windows remaining when glfwTerminate is called are destroyed as well.

    +

    When a full screen window is destroyed, the original video mode of its monitor is restored, but the gamma ramp is left untouched.

    +

    +Window creation hints

    +

    There are a number of hints that can be set before the creation of a window and context. Some affect the window itself, others affect the framebuffer or context. These hints are set to their default values each time the library is initialized with glfwInit. Integer value hints can be set individually with glfwWindowHint and string value hints with glfwWindowHintString. You can reset all at once to their defaults with glfwDefaultWindowHints.

    +

    Some hints are platform specific. These are always valid to set on any platform but they will only affect their specific platform. Other platforms will ignore them. Setting these hints requires no platform specific headers or calls.

    +
    Note
    Window hints need to be set before the creation of the window and context you wish to have the specified attributes. They function as additional arguments to glfwCreateWindow.
    +

    +Hard and soft constraints

    +

    Some window hints are hard constraints. These must match the available capabilities exactly for window and context creation to succeed. Hints that are not hard constraints are matched as closely as possible, but the resulting context and framebuffer may differ from what these hints requested.

    +

    The following hints are always hard constraints:

    +

    The following additional hints are hard constraints when requesting an OpenGL context, but are ignored when requesting an OpenGL ES context:

    +

    +Window related hints

    +

    GLFW_RESIZABLE specifies whether the windowed mode window will be resizable by the user. The window will still be resizable using the glfwSetWindowSize function. Possible values are GLFW_TRUE and GLFW_FALSE. This hint is ignored for full screen and undecorated windows.

    +

    GLFW_VISIBLE specifies whether the windowed mode window will be initially visible. Possible values are GLFW_TRUE and GLFW_FALSE. This hint is ignored for full screen windows.

    +

    GLFW_DECORATED specifies whether the windowed mode window will have window decorations such as a border, a close widget, etc. An undecorated window will not be resizable by the user but will still allow the user to generate close events on some platforms. Possible values are GLFW_TRUE and GLFW_FALSE. This hint is ignored for full screen windows.

    +

    GLFW_FOCUSED specifies whether the windowed mode window will be given input focus when created. Possible values are GLFW_TRUE and GLFW_FALSE. This hint is ignored for full screen and initially hidden windows.

    +

    GLFW_AUTO_ICONIFY specifies whether the full screen window will automatically iconify and restore the previous video mode on input focus loss. Possible values are GLFW_TRUE and GLFW_FALSE. This hint is ignored for windowed mode windows.

    +

    GLFW_FLOATING specifies whether the windowed mode window will be floating above other regular windows, also called topmost or always-on-top. This is intended primarily for debugging purposes and cannot be used to implement proper full screen windows. Possible values are GLFW_TRUE and GLFW_FALSE. This hint is ignored for full screen windows.

    +

    GLFW_MAXIMIZED specifies whether the windowed mode window will be maximized when created. Possible values are GLFW_TRUE and GLFW_FALSE. This hint is ignored for full screen windows.

    +

    GLFW_CENTER_CURSOR specifies whether the cursor should be centered over newly created full screen windows. Possible values are GLFW_TRUE and GLFW_FALSE. This hint is ignored for windowed mode windows.

    +

    GLFW_TRANSPARENT_FRAMEBUFFER specifies whether the window framebuffer will be transparent. If enabled and supported by the system, the window framebuffer alpha channel will be used to combine the framebuffer with the background. This does not affect window decorations. Possible values are GLFW_TRUE and GLFW_FALSE.

    +

    GLFW_FOCUS_ON_SHOW specifies whether the window will be given input focus when glfwShowWindow is called. Possible values are GLFW_TRUE and GLFW_FALSE.

    +

    GLFW_SCALE_TO_MONITOR specified whether the window content area should be resized based on the monitor content scale of any monitor it is placed on. This includes the initial placement when the window is created. Possible values are GLFW_TRUE and GLFW_FALSE.

    +

    This hint only has an effect on platforms where screen coordinates and pixels always map 1:1 such as Windows and X11. On platforms like macOS the resolution of the framebuffer is changed independently of the window size.

    +

    +Framebuffer related hints

    +

    GLFW_RED_BITS, GLFW_GREEN_BITS, GLFW_BLUE_BITS, GLFW_ALPHA_BITS, GLFW_DEPTH_BITS and GLFW_STENCIL_BITS specify the desired bit depths of the various components of the default framebuffer. A value of GLFW_DONT_CARE means the application has no preference.

    +

    GLFW_ACCUM_RED_BITS, GLFW_ACCUM_GREEN_BITS, GLFW_ACCUM_BLUE_BITS and GLFW_ACCUM_ALPHA_BITS specify the desired bit depths of the various components of the accumulation buffer. A value of GLFW_DONT_CARE means the application has no preference.

    +
    Accumulation buffers are a legacy OpenGL feature and should not be used in new code.
    +

    GLFW_AUX_BUFFERS specifies the desired number of auxiliary buffers. A value of GLFW_DONT_CARE means the application has no preference.

    +
    Auxiliary buffers are a legacy OpenGL feature and should not be used in new code.
    +

    GLFW_STEREO specifies whether to use OpenGL stereoscopic rendering. Possible values are GLFW_TRUE and GLFW_FALSE. This is a hard constraint.

    +

    GLFW_SAMPLES specifies the desired number of samples to use for multisampling. Zero disables multisampling. A value of GLFW_DONT_CARE means the application has no preference.

    +

    GLFW_SRGB_CAPABLE specifies whether the framebuffer should be sRGB capable. Possible values are GLFW_TRUE and GLFW_FALSE.

    +
    OpenGL: If enabled and supported by the system, the GL_FRAMEBUFFER_SRGB enable will control sRGB rendering. By default, sRGB rendering will be disabled.
    +
    OpenGL ES: If enabled and supported by the system, the context will always have sRGB rendering enabled.
    +

    GLFW_DOUBLEBUFFER specifies whether the framebuffer should be double buffered. You nearly always want to use double buffering. This is a hard constraint. Possible values are GLFW_TRUE and GLFW_FALSE.

    +

    +Monitor related hints

    +

    GLFW_REFRESH_RATE specifies the desired refresh rate for full screen windows. A value of GLFW_DONT_CARE means the highest available refresh rate will be used. This hint is ignored for windowed mode windows.

    +

    +Context related hints

    +

    GLFW_CLIENT_API specifies which client API to create the context for. Possible values are GLFW_OPENGL_API, GLFW_OPENGL_ES_API and GLFW_NO_API. This is a hard constraint.

    +

    GLFW_CONTEXT_CREATION_API specifies which context creation API to use to create the context. Possible values are GLFW_NATIVE_CONTEXT_API, GLFW_EGL_CONTEXT_API and GLFW_OSMESA_CONTEXT_API. This is a hard constraint. If no client API is requested, this hint is ignored.

    +
    macOS: The EGL API is not available on this platform and requests to use it will fail.
    +
    Wayland: The EGL API is the native context creation API, so this hint will have no effect.
    +
    OSMesa: As its name implies, an OpenGL context created with OSMesa does not update the window contents when its buffers are swapped. Use OpenGL functions or the OSMesa native access functions glfwGetOSMesaColorBuffer and glfwGetOSMesaDepthBuffer to retrieve the framebuffer contents.
    +
    Note
    An OpenGL extension loader library that assumes it knows which context creation API is used on a given platform may fail if you change this hint. This can be resolved by having it load via glfwGetProcAddress, which always uses the selected API.
    +
    Bug:
    On some Linux systems, creating contexts via both the native and EGL APIs in a single process will cause the application to segfault. Stick to one API or the other on Linux for now.
    +

    GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR specify the client API version that the created context must be compatible with. The exact behavior of these hints depend on the requested client API.

    +
    Note
    Do not confuse these hints with GLFW_VERSION_MAJOR and GLFW_VERSION_MINOR, which provide the API version of the GLFW header.
    +
    OpenGL: These hints are not hard constraints, but creation will fail if the OpenGL version of the created context is less than the one requested. It is therefore perfectly safe to use the default of version 1.0 for legacy code and you will still get backwards-compatible contexts of version 3.0 and above when available.
    +
    While there is no way to ask the driver for a context of the highest supported version, GLFW will attempt to provide this when you ask for a version 1.0 context, which is the default for these hints.
    +
    OpenGL ES: These hints are not hard constraints, but creation will fail if the OpenGL ES version of the created context is less than the one requested. Additionally, OpenGL ES 1.x cannot be returned if 2.0 or later was requested, and vice versa. This is because OpenGL ES 3.x is backward compatible with 2.0, but OpenGL ES 2.0 is not backward compatible with 1.x.
    +
    Note
    macOS: The OS only supports forward-compatible core profile contexts for OpenGL versions 3.2 and later. Before creating an OpenGL context of version 3.2 or later you must set the GLFW_OPENGL_FORWARD_COMPAT and GLFW_OPENGL_PROFILE hints accordingly. OpenGL 3.0 and 3.1 contexts are not supported at all on macOS.
    +

    GLFW_OPENGL_FORWARD_COMPAT specifies whether the OpenGL context should be forward-compatible, i.e. one where all functionality deprecated in the requested version of OpenGL is removed. This must only be used if the requested OpenGL version is 3.0 or above. If OpenGL ES is requested, this hint is ignored.

    +
    Forward-compatibility is described in detail in the OpenGL Reference Manual.
    +

    GLFW_OPENGL_DEBUG_CONTEXT specifies whether the context should be created in debug mode, which may provide additional error and diagnostic reporting functionality. Possible values are GLFW_TRUE and GLFW_FALSE.

    +
    Debug contexts for OpenGL and OpenGL ES are described in detail by the GL_KHR_debug extension.
    +

    GLFW_OPENGL_PROFILE specifies which OpenGL profile to create the context for. Possible values are one of GLFW_OPENGL_CORE_PROFILE or GLFW_OPENGL_COMPAT_PROFILE, or GLFW_OPENGL_ANY_PROFILE to not request a specific profile. If requesting an OpenGL version below 3.2, GLFW_OPENGL_ANY_PROFILE must be used. If OpenGL ES is requested, this hint is ignored.

    +
    OpenGL profiles are described in detail in the OpenGL Reference Manual.
    +

    GLFW_CONTEXT_ROBUSTNESS specifies the robustness strategy to be used by the context. This can be one of GLFW_NO_RESET_NOTIFICATION or GLFW_LOSE_CONTEXT_ON_RESET, or GLFW_NO_ROBUSTNESS to not request a robustness strategy.

    +

    GLFW_CONTEXT_RELEASE_BEHAVIOR specifies the release behavior to be used by the context. Possible values are one of GLFW_ANY_RELEASE_BEHAVIOR, GLFW_RELEASE_BEHAVIOR_FLUSH or GLFW_RELEASE_BEHAVIOR_NONE. If the behavior is GLFW_ANY_RELEASE_BEHAVIOR, the default behavior of the context creation API will be used. If the behavior is GLFW_RELEASE_BEHAVIOR_FLUSH, the pipeline will be flushed whenever the context is released from being the current one. If the behavior is GLFW_RELEASE_BEHAVIOR_NONE, the pipeline will not be flushed on release.

    +
    Context release behaviors are described in detail by the GL_KHR_context_flush_control extension.
    +

    GLFW_CONTEXT_NO_ERROR specifies whether errors should be generated by the context. Possible values are GLFW_TRUE and GLFW_FALSE. If enabled, situations that would have generated errors instead cause undefined behavior.

    +
    The no error mode for OpenGL and OpenGL ES is described in detail by the GL_KHR_no_error extension.
    +

    +macOS specific window hints

    +

    GLFW_COCOA_RETINA_FRAMEBUFFER specifies whether to use full resolution framebuffers on Retina displays. Possible values are GLFW_TRUE and GLFW_FALSE. This is ignored on other platforms.

    +

    GLFW_COCOA_FRAME_NAME specifies the UTF-8 encoded name to use for autosaving the window frame, or if empty disables frame autosaving for the window. This is ignored on other platforms. This is set with glfwWindowHintString.

    +

    GLFW_COCOA_GRAPHICS_SWITCHING specifies whether to in Automatic Graphics Switching, i.e. to allow the system to choose the integrated GPU for the OpenGL context and move it between GPUs if necessary or whether to force it to always run on the discrete GPU. This only affects systems with both integrated and discrete GPUs. Possible values are GLFW_TRUE and GLFW_FALSE. This is ignored on other platforms.

    +
    Simpler programs and tools may want to enable this to save power, while games and other applications performing advanced rendering will want to leave it disabled.
    +
    A bundled application that wishes to participate in Automatic Graphics Switching should also declare this in its Info.plist by setting the NSSupportsAutomaticGraphicsSwitching key to true.
    +

    +X11 specific window hints

    +

    GLFW_X11_CLASS_NAME and GLFW_X11_INSTANCE_NAME specifies the desired ASCII encoded class and instance parts of the ICCCM WM_CLASS window property. These are set with glfwWindowHintString.

    +

    +Supported and default values

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Window hint Default value Supported values
    GLFW_RESIZABLE GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_VISIBLE GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_DECORATED GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_FOCUSED GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_AUTO_ICONIFY GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_FLOATING GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_MAXIMIZED GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_CENTER_CURSOR GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_TRANSPARENT_FRAMEBUFFER GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_FOCUS_ON_SHOW GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_SCALE_TO_MONITOR GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_RED_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_GREEN_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_BLUE_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ALPHA_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_DEPTH_BITS 24 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_STENCIL_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ACCUM_RED_BITS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ACCUM_GREEN_BITS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ACCUM_BLUE_BITS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ACCUM_ALPHA_BITS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_AUX_BUFFERS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_SAMPLES 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_REFRESH_RATE GLFW_DONT_CARE 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_STEREO GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_SRGB_CAPABLE GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_DOUBLEBUFFER GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_CLIENT_API GLFW_OPENGL_API GLFW_OPENGL_API, GLFW_OPENGL_ES_API or GLFW_NO_API
    GLFW_CONTEXT_CREATION_API GLFW_NATIVE_CONTEXT_API GLFW_NATIVE_CONTEXT_API, GLFW_EGL_CONTEXT_API or GLFW_OSMESA_CONTEXT_API
    GLFW_CONTEXT_VERSION_MAJOR 1 Any valid major version number of the chosen client API
    GLFW_CONTEXT_VERSION_MINOR 0 Any valid minor version number of the chosen client API
    GLFW_CONTEXT_ROBUSTNESS GLFW_NO_ROBUSTNESS GLFW_NO_ROBUSTNESS, GLFW_NO_RESET_NOTIFICATION or GLFW_LOSE_CONTEXT_ON_RESET
    GLFW_CONTEXT_RELEASE_BEHAVIOR GLFW_ANY_RELEASE_BEHAVIOR GLFW_ANY_RELEASE_BEHAVIOR, GLFW_RELEASE_BEHAVIOR_FLUSH or GLFW_RELEASE_BEHAVIOR_NONE
    GLFW_OPENGL_FORWARD_COMPAT GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_OPENGL_DEBUG_CONTEXT GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_OPENGL_PROFILE GLFW_OPENGL_ANY_PROFILE GLFW_OPENGL_ANY_PROFILE, GLFW_OPENGL_COMPAT_PROFILE or GLFW_OPENGL_CORE_PROFILE
    GLFW_COCOA_RETINA_FRAMEBUFFER GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_COCOA_FRAME_NAME "" A UTF-8 encoded frame autosave name
    GLFW_COCOA_GRAPHICS_SWITCHING GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_X11_CLASS_NAME "" An ASCII encoded WM_CLASS class name
    GLFW_X11_INSTANCE_NAME "" An ASCII encoded WM_CLASS instance name
    +

    +Window event processing

    +

    See Event processing.

    +

    +Window properties and events

    +

    +User pointer

    +

    Each window has a user pointer that can be set with glfwSetWindowUserPointer and queried with glfwGetWindowUserPointer. This can be used for any purpose you need and will not be modified by GLFW throughout the life-time of the window.

    +

    The initial value of the pointer is NULL.

    +

    +Window closing and close flag

    +

    When the user attempts to close the window, for example by clicking the close widget or using a key chord like Alt+F4, the close flag of the window is set. The window is however not actually destroyed and, unless you watch for this state change, nothing further happens.

    +

    The current state of the close flag is returned by glfwWindowShouldClose and can be set or cleared directly with glfwSetWindowShouldClose. A common pattern is to use the close flag as a main loop condition.

    +
    while (!glfwWindowShouldClose(window))
    +
    {
    +
    render(window);
    +
    +
    glfwSwapBuffers(window);
    + +
    }
    +

    If you wish to be notified when the user attempts to close a window, set a close callback.

    +
    glfwSetWindowCloseCallback(window, window_close_callback);
    +

    The callback function is called directly after the close flag has been set. It can be used for example to filter close requests and clear the close flag again unless certain conditions are met.

    +
    void window_close_callback(GLFWwindow* window)
    +
    {
    +
    if (!time_to_close)
    + +
    }
    +

    +Window size

    +

    The size of a window can be changed with glfwSetWindowSize. For windowed mode windows, this sets the size, in screen coordinates of the content area or content area of the window. The window system may impose limits on window size.

    +
    glfwSetWindowSize(window, 640, 480);
    +

    For full screen windows, the specified size becomes the new resolution of the window's desired video mode. The video mode most closely matching the new desired video mode is set immediately. The window is resized to fit the resolution of the set video mode.

    +

    If you wish to be notified when a window is resized, whether by the user, the system or your own code, set a size callback.

    +
    glfwSetWindowSizeCallback(window, window_size_callback);
    +

    The callback function receives the new size, in screen coordinates, of the content area of the window when the window is resized.

    +
    void window_size_callback(GLFWwindow* window, int width, int height)
    +
    {
    +
    }
    +

    There is also glfwGetWindowSize for directly retrieving the current size of a window.

    +
    int width, height;
    +
    glfwGetWindowSize(window, &width, &height);
    +
    Note
    Do not pass the window size to glViewport or other pixel-based OpenGL calls. The window size is in screen coordinates, not pixels. Use the framebuffer size, which is in pixels, for pixel-based calls.
    +

    The above functions work with the size of the content area, but decorated windows typically have title bars and window frames around this rectangle. You can retrieve the extents of these with glfwGetWindowFrameSize.

    +
    int left, top, right, bottom;
    +
    glfwGetWindowFrameSize(window, &left, &top, &right, &bottom);
    +

    The returned values are the distances, in screen coordinates, from the edges of the content area to the corresponding edges of the full window. As they are distances and not coordinates, they are always zero or positive.

    +

    +Framebuffer size

    +

    While the size of a window is measured in screen coordinates, OpenGL works with pixels. The size you pass into glViewport, for example, should be in pixels. On some machines screen coordinates and pixels are the same, but on others they will not be. There is a second set of functions to retrieve the size, in pixels, of the framebuffer of a window.

    +

    If you wish to be notified when the framebuffer of a window is resized, whether by the user or the system, set a size callback.

    +
    glfwSetFramebufferSizeCallback(window, framebuffer_size_callback);
    +

    The callback function receives the new size of the framebuffer when it is resized, which can for example be used to update the OpenGL viewport.

    +
    void framebuffer_size_callback(GLFWwindow* window, int width, int height)
    +
    {
    +
    glViewport(0, 0, width, height);
    +
    }
    +

    There is also glfwGetFramebufferSize for directly retrieving the current size of the framebuffer of a window.

    +
    int width, height;
    +
    glfwGetFramebufferSize(window, &width, &height);
    +
    glViewport(0, 0, width, height);
    +

    The size of a framebuffer may change independently of the size of a window, for example if the window is dragged between a regular monitor and a high-DPI one.

    +

    +Window content scale

    +

    The content scale for a window can be retrieved with glfwGetWindowContentScale.

    +
    float xscale, yscale;
    +
    glfwGetWindowContentScale(window, &xscale, &yscale);
    +

    The content scale is the ratio between the current DPI and the platform's default DPI. This is especially important for text and any UI elements. If the pixel dimensions of your UI scaled by this look appropriate on your machine then it should appear at a reasonable size on other machines regardless of their DPI and scaling settings. This relies on the system DPI and scaling settings being somewhat correct.

    +

    On systems where each monitors can have its own content scale, the window content scale will depend on which monitor the system considers the window to be on.

    +

    If you wish to be notified when the content scale of a window changes, whether because of a system setting change or because it was moved to a monitor with a different scale, set a content scale callback.

    +
    glfwSetWindowContentScaleCallback(window, window_content_scale_callback);
    +

    The callback function receives the new content scale of the window.

    +
    void window_content_scale_callback(GLFWwindow* window, float xscale, float yscale)
    +
    {
    +
    set_interface_scale(xscale, yscale);
    +
    }
    +

    On platforms where pixels and screen coordinates always map 1:1, the window will need to be resized to appear the same size when it is moved to a monitor with a different content scale. To have this done automatically both when the window is created and when its content scale later changes, set the GLFW_SCALE_TO_MONITOR window hint.

    +

    +Window size limits

    +

    The minimum and maximum size of the content area of a windowed mode window can be enforced with glfwSetWindowSizeLimits. The user may resize the window to any size and aspect ratio within the specified limits, unless the aspect ratio is also set.

    +
    glfwSetWindowSizeLimits(window, 200, 200, 400, 400);
    +

    To specify only a minimum size or only a maximum one, set the other pair to GLFW_DONT_CARE.

    +

    To disable size limits for a window, set them all to GLFW_DONT_CARE.

    +

    The aspect ratio of the content area of a windowed mode window can be enforced with glfwSetWindowAspectRatio. The user may resize the window freely unless size limits are also set, but the size will be constrained to maintain the aspect ratio.

    +
    glfwSetWindowAspectRatio(window, 16, 9);
    +

    The aspect ratio is specified as a numerator and denominator, corresponding to the width and height, respectively. If you want a window to maintain its current aspect ratio, use its current size as the ratio.

    +
    int width, height;
    +
    glfwGetWindowSize(window, &width, &height);
    +
    glfwSetWindowAspectRatio(window, width, height);
    +

    To disable the aspect ratio limit for a window, set both terms to GLFW_DONT_CARE.

    +

    You can have both size limits and aspect ratio set for a window, but the results are undefined if they conflict.

    +

    +Window position

    +

    The position of a windowed-mode window can be changed with glfwSetWindowPos. This moves the window so that the upper-left corner of its content area has the specified screen coordinates. The window system may put limitations on window placement.

    +
    glfwSetWindowPos(window, 100, 100);
    +

    If you wish to be notified when a window is moved, whether by the user, the system or your own code, set a position callback.

    +
    glfwSetWindowPosCallback(window, window_pos_callback);
    +

    The callback function receives the new position, in screen coordinates, of the upper-left corner of the content area when the window is moved.

    +
    void window_pos_callback(GLFWwindow* window, int xpos, int ypos)
    +
    {
    +
    }
    +

    There is also glfwGetWindowPos for directly retrieving the current position of the content area of the window.

    +
    int xpos, ypos;
    +
    glfwGetWindowPos(window, &xpos, &ypos);
    +

    +Window title

    +

    All GLFW windows have a title, although undecorated or full screen windows may not display it or only display it in a task bar or similar interface. You can set a UTF-8 encoded window title with glfwSetWindowTitle.

    +
    glfwSetWindowTitle(window, "My Window");
    +

    The specified string is copied before the function returns, so there is no need to keep it around.

    +

    As long as your source file is encoded as UTF-8, you can use any Unicode characters directly in the source.

    +
    glfwSetWindowTitle(window, "ラストエグザイル");
    +

    If you are using C++11 or C11, you can use a UTF-8 string literal.

    +
    glfwSetWindowTitle(window, u8"This is always a UTF-8 string");
    +

    +Window icon

    +

    Decorated windows have icons on some platforms. You can set this icon by specifying a list of candidate images with glfwSetWindowIcon.

    +
    GLFWimage images[2];
    +
    images[0] = load_icon("my_icon.png");
    +
    images[1] = load_icon("my_icon_small.png");
    +
    +
    glfwSetWindowIcon(window, 2, images);
    +

    The image data is 32-bit, little-endian, non-premultiplied RGBA, i.e. eight bits per channel with the red channel first. The pixels are arranged canonically as sequential rows, starting from the top-left corner.

    +

    To revert to the default window icon, pass in an empty image array.

    +
    glfwSetWindowIcon(window, 0, NULL);
    +

    +Window monitor

    +

    Full screen windows are associated with a specific monitor. You can get the handle for this monitor with glfwGetWindowMonitor.

    +
    GLFWmonitor* monitor = glfwGetWindowMonitor(window);
    +

    This monitor handle is one of those returned by glfwGetMonitors.

    +

    For windowed mode windows, this function returns NULL. This is how to tell full screen windows from windowed mode windows.

    +

    You can move windows between monitors or between full screen and windowed mode with glfwSetWindowMonitor. When making a window full screen on the same or on a different monitor, specify the desired monitor, resolution and refresh rate. The position arguments are ignored.

    +
    const GLFWvidmode* mode = glfwGetVideoMode(monitor);
    +
    +
    glfwSetWindowMonitor(window, monitor, 0, 0, mode->width, mode->height, mode->refreshRate);
    +

    When making the window windowed, specify the desired position and size. The refresh rate argument is ignored.

    +
    glfwSetWindowMonitor(window, NULL, xpos, ypos, width, height, 0);
    +

    This restores any previous window settings such as whether it is decorated, floating, resizable, has size or aspect ratio limits, etc.. To restore a window that was originally windowed to its original size and position, save these before making it full screen and then pass them in as above.

    +

    +Window iconification

    +

    Windows can be iconified (i.e. minimized) with glfwIconifyWindow.

    +

    When a full screen window is iconified, the original video mode of its monitor is restored until the user or application restores the window.

    +

    Iconified windows can be restored with glfwRestoreWindow. This function also restores windows from maximization.

    +

    When a full screen window is restored, the desired video mode is restored to its monitor as well.

    +

    If you wish to be notified when a window is iconified or restored, whether by the user, system or your own code, set an iconify callback.

    +
    glfwSetWindowIconifyCallback(window, window_iconify_callback);
    +

    The callback function receives changes in the iconification state of the window.

    +
    void window_iconify_callback(GLFWwindow* window, int iconified)
    +
    {
    +
    if (iconified)
    +
    {
    +
    // The window was iconified
    +
    }
    +
    else
    +
    {
    +
    // The window was restored
    +
    }
    +
    }
    +

    You can also get the current iconification state with glfwGetWindowAttrib.

    +
    int iconified = glfwGetWindowAttrib(window, GLFW_ICONIFIED);
    +

    +Window maximization

    +

    Windows can be maximized (i.e. zoomed) with glfwMaximizeWindow.

    +

    Full screen windows cannot be maximized and passing a full screen window to this function does nothing.

    +

    Maximized windows can be restored with glfwRestoreWindow. This function also restores windows from iconification.

    +

    If you wish to be notified when a window is maximized or restored, whether by the user, system or your own code, set a maximize callback.

    +
    glfwSetWindowMaximizeCallback(window, window_maximize_callback);
    +

    The callback function receives changes in the maximization state of the window.

    +
    void window_maximize_callback(GLFWwindow* window, int maximized)
    +
    {
    +
    if (maximized)
    +
    {
    +
    // The window was maximized
    +
    }
    +
    else
    +
    {
    +
    // The window was restored
    +
    }
    +
    }
    +

    You can also get the current maximization state with glfwGetWindowAttrib.

    +
    int maximized = glfwGetWindowAttrib(window, GLFW_MAXIMIZED);
    +

    By default, newly created windows are not maximized. You can change this behavior by setting the GLFW_MAXIMIZED window hint before creating the window.

    +

    +Window visibility

    +

    Windowed mode windows can be hidden with glfwHideWindow.

    +
    +

    This makes the window completely invisible to the user, including removing it from the task bar, dock or window list. Full screen windows cannot be hidden and calling glfwHideWindow on a full screen window does nothing.

    +

    Hidden windows can be shown with glfwShowWindow.

    +
    +

    By default, this function will also set the input focus to that window. Set the GLFW_FOCUS_ON_SHOW window hint to change this behavior for all newly created windows, or change the behavior for an existing window with glfwSetWindowAttrib.

    +

    You can also get the current visibility state with glfwGetWindowAttrib.

    +
    int visible = glfwGetWindowAttrib(window, GLFW_VISIBLE);
    +

    By default, newly created windows are visible. You can change this behavior by setting the GLFW_VISIBLE window hint before creating the window.

    +

    Windows created hidden are completely invisible to the user until shown. This can be useful if you need to set up your window further before showing it, for example moving it to a specific location.

    +

    +Window input focus

    +

    Windows can be given input focus and brought to the front with glfwFocusWindow.

    +
    +

    Keep in mind that it can be very disruptive to the user when a window is forced to the top. For a less disruptive way of getting the user's attention, see attention requests.

    +

    If you wish to be notified when a window gains or loses input focus, whether by the user, system or your own code, set a focus callback.

    +
    glfwSetWindowFocusCallback(window, window_focus_callback);
    +

    The callback function receives changes in the input focus state of the window.

    +
    void window_focus_callback(GLFWwindow* window, int focused)
    +
    {
    +
    if (focused)
    +
    {
    +
    // The window gained input focus
    +
    }
    +
    else
    +
    {
    +
    // The window lost input focus
    +
    }
    +
    }
    +

    You can also get the current input focus state with glfwGetWindowAttrib.

    +
    int focused = glfwGetWindowAttrib(window, GLFW_FOCUSED);
    +

    By default, newly created windows are given input focus. You can change this behavior by setting the GLFW_FOCUSED window hint before creating the window.

    +

    +Window attention request

    +

    If you wish to notify the user of an event without interrupting, you can request attention with glfwRequestWindowAttention.

    +

    The system will highlight the specified window, or on platforms where this is not supported, the application as a whole. Once the user has given it attention, the system will automatically end the request.

    +

    +Window damage and refresh

    +

    If you wish to be notified when the contents of a window is damaged and needs to be refreshed, set a window refresh callback.

    +
    glfwSetWindowRefreshCallback(m_handle, window_refresh_callback);
    +

    The callback function is called when the contents of the window needs to be refreshed.

    +
    void window_refresh_callback(GLFWwindow* window)
    +
    {
    +
    draw_editor_ui(window);
    +
    glfwSwapBuffers(window);
    +
    }
    +
    Note
    On compositing window systems such as Aero, Compiz or Aqua, where the window contents are saved off-screen, this callback might only be called when the window or framebuffer is resized.
    +

    +Window transparency

    +

    GLFW supports two kinds of transparency for windows; framebuffer transparency and whole window transparency. A single window may not use both methods. The results of doing this are undefined.

    +

    Both methods require the platform to support it and not every version of every platform GLFW supports does this, so there are mechanisms to check whether the window really is transparent.

    +

    Window framebuffers can be made transparent on a per-pixel per-frame basis with the GLFW_TRANSPARENT_FRAMEBUFFER window hint.

    +

    If supported by the system, the window content area will be composited with the background using the framebuffer per-pixel alpha channel. This requires desktop compositing to be enabled on the system. It does not affect window decorations.

    +

    You can check whether the window framebuffer was successfully made transparent with the GLFW_TRANSPARENT_FRAMEBUFFER window attribute.

    +
    +
    {
    +
    // window framebuffer is currently transparent
    +
    }
    +

    GLFW comes with an example that enabled framebuffer transparency called gears.

    +

    The opacity of the whole window, including any decorations, can be set with glfwSetWindowOpacity.

    +
    glfwSetWindowOpacity(window, 0.5f);
    +

    The opacity (or alpha) value is a positive finite number between zero and one, where 0 (zero) is fully transparent and 1 (one) is fully opaque. The initial opacity value for newly created windows is 1.

    +

    The current opacity of a window can be queried with glfwGetWindowOpacity.

    +
    float opacity = glfwGetWindowOpacity(window);
    +

    If the system does not support whole window transparency, this function always returns one.

    +

    GLFW comes with a test program that lets you control whole window transparency at run-time called opacity.

    +

    +Window attributes

    +

    Windows have a number of attributes that can be returned using glfwGetWindowAttrib. Some reflect state that may change as a result of user interaction, (e.g. whether it has input focus), while others reflect inherent properties of the window (e.g. what kind of border it has). Some are related to the window and others to its OpenGL or OpenGL ES context.

    +
    +
    {
    +
    // window has input focus
    +
    }
    +

    The GLFW_DECORATED, GLFW_RESIZABLE, GLFW_FLOATING, GLFW_AUTO_ICONIFY and GLFW_FOCUS_ON_SHOW window attributes can be changed with glfwSetWindowAttrib.

    +

    +Window related attributes

    +

    GLFW_FOCUSED indicates whether the specified window has input focus. See Window input focus for details.

    +

    GLFW_ICONIFIED indicates whether the specified window is iconified. See Window iconification for details.

    +

    GLFW_MAXIMIZED indicates whether the specified window is maximized. See Window maximization for details.

    +

    GLFW_HOVERED indicates whether the cursor is currently directly over the content area of the window, with no other windows between. See Cursor enter/leave events for details.

    +

    GLFW_VISIBLE indicates whether the specified window is visible. See Window visibility for details.

    +

    GLFW_RESIZABLE indicates whether the specified window is resizable by the user. This can be set before creation with the GLFW_RESIZABLE window hint or after with glfwSetWindowAttrib.

    +

    GLFW_DECORATED indicates whether the specified window has decorations such as a border, a close widget, etc. This can be set before creation with the GLFW_DECORATED window hint or after with glfwSetWindowAttrib.

    +

    GLFW_AUTO_ICONIFY indicates whether the specified full screen window is iconified on focus loss, a close widget, etc. This can be set before creation with the GLFW_AUTO_ICONIFY window hint or after with glfwSetWindowAttrib.

    +

    GLFW_FLOATING indicates whether the specified window is floating, also called topmost or always-on-top. This can be set before creation with the GLFW_FLOATING window hint or after with glfwSetWindowAttrib.

    +

    GLFW_TRANSPARENT_FRAMEBUFFER indicates whether the specified window has a transparent framebuffer, i.e. the window contents is composited with the background using the window framebuffer alpha channel. See Window transparency for details.

    +

    GLFW_FOCUS_ON_SHOW specifies whether the window will be given input focus when glfwShowWindow is called. This can be set before creation with the GLFW_FOCUS_ON_SHOW window hint or after with glfwSetWindowAttrib.

    +

    +Context related attributes

    +

    GLFW_CLIENT_API indicates the client API provided by the window's context; either GLFW_OPENGL_API, GLFW_OPENGL_ES_API or GLFW_NO_API.

    +

    GLFW_CONTEXT_CREATION_API indicates the context creation API used to create the window's context; either GLFW_NATIVE_CONTEXT_API, GLFW_EGL_CONTEXT_API or GLFW_OSMESA_CONTEXT_API.

    +

    GLFW_CONTEXT_VERSION_MAJOR, GLFW_CONTEXT_VERSION_MINOR and GLFW_CONTEXT_REVISION indicate the client API version of the window's context.

    +
    Note
    Do not confuse these attributes with GLFW_VERSION_MAJOR, GLFW_VERSION_MINOR and GLFW_VERSION_REVISION which provide the API version of the GLFW header.
    +

    GLFW_OPENGL_FORWARD_COMPAT is GLFW_TRUE if the window's context is an OpenGL forward-compatible one, or GLFW_FALSE otherwise.

    +

    GLFW_OPENGL_DEBUG_CONTEXT is GLFW_TRUE if the window's context is in debug mode, or GLFW_FALSE otherwise.

    +

    GLFW_OPENGL_PROFILE indicates the OpenGL profile used by the context. This is GLFW_OPENGL_CORE_PROFILE or GLFW_OPENGL_COMPAT_PROFILE if the context uses a known profile, or GLFW_OPENGL_ANY_PROFILE if the OpenGL profile is unknown or the context is an OpenGL ES context. Note that the returned profile may not match the profile bits of the context flags, as GLFW will try other means of detecting the profile when no bits are set.

    +

    GLFW_CONTEXT_RELEASE_BEHAVIOR indicates the release used by the context. Possible values are one of GLFW_ANY_RELEASE_BEHAVIOR, GLFW_RELEASE_BEHAVIOR_FLUSH or GLFW_RELEASE_BEHAVIOR_NONE. If the behavior is GLFW_ANY_RELEASE_BEHAVIOR, the default behavior of the context creation API will be used. If the behavior is GLFW_RELEASE_BEHAVIOR_FLUSH, the pipeline will be flushed whenever the context is released from being the current one. If the behavior is GLFW_RELEASE_BEHAVIOR_NONE, the pipeline will not be flushed on release.

    +

    GLFW_CONTEXT_NO_ERROR indicates whether errors are generated by the context. Possible values are GLFW_TRUE and GLFW_FALSE. If enabled, situations that would have generated errors instead cause undefined behavior.

    +

    GLFW_CONTEXT_ROBUSTNESS indicates the robustness strategy used by the context. This is GLFW_LOSE_CONTEXT_ON_RESET or GLFW_NO_RESET_NOTIFICATION if the window's context supports robustness, or GLFW_NO_ROBUSTNESS otherwise.

    +

    +Framebuffer related attributes

    +

    GLFW does not expose attributes of the default framebuffer (i.e. the framebuffer attached to the window) as these can be queried directly with either OpenGL, OpenGL ES or Vulkan.

    +

    If you are using version 3.0 or later of OpenGL or OpenGL ES, the glGetFramebufferAttachmentParameteriv function can be used to retrieve the number of bits for the red, green, blue, alpha, depth and stencil buffer channels. Otherwise, the glGetIntegerv function can be used.

    +

    The number of MSAA samples are always retrieved with glGetIntegerv. For contexts supporting framebuffer objects, the number of samples of the currently bound framebuffer is returned.

    + + + + + + + + + + + + + + + + + +
    Attribute glGetIntegerv glGetFramebufferAttachmentParameteriv
    Red bits GL_RED_BITS GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE
    Green bits GL_GREEN_BITS GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE
    Blue bits GL_BLUE_BITS GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE
    Alpha bits GL_ALPHA_BITS GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE
    Depth bits GL_DEPTH_BITS GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE
    Stencil bits GL_STENCIL_BITS GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE
    MSAA samples GL_SAMPLES Not provided by this function
    +

    When calling glGetFramebufferAttachmentParameteriv, the red, green, blue and alpha sizes are queried from the GL_BACK_LEFT, while the depth and stencil sizes are queried from the GL_DEPTH and GL_STENCIL attachments, respectively.

    +

    +Buffer swapping

    +

    GLFW windows are by default double buffered. That means that you have two rendering buffers; a front buffer and a back buffer. The front buffer is the one being displayed and the back buffer the one you render to.

    +

    When the entire frame has been rendered, it is time to swap the back and the front buffers in order to display what has been rendered and begin rendering a new frame. This is done with glfwSwapBuffers.

    +
    +

    Sometimes it can be useful to select when the buffer swap will occur. With the function glfwSwapInterval it is possible to select the minimum number of monitor refreshes the driver should wait from the time glfwSwapBuffers was called before swapping the buffers:

    +

    If the interval is zero, the swap will take place immediately when glfwSwapBuffers is called without waiting for a refresh. Otherwise at least interval retraces will pass between each buffer swap. Using a swap interval of zero can be useful for benchmarking purposes, when it is not desirable to measure the time it takes to wait for the vertical retrace. However, a swap interval of one lets you avoid tearing.

    +

    Note that this may not work on all machines, as some drivers have user-controlled settings that override any swap interval the application requests.

    +

    A context that supports either the WGL_EXT_swap_control_tear or the GLX_EXT_swap_control_tear extension also accepts negative swap intervals, which allows the driver to swap immediately even if a frame arrives a little bit late. This trades the risk of visible tears for greater framerate stability. You can check for these extensions with glfwExtensionSupported.

    +
    +
    +
    #define GLFW_TRANSPARENT_FRAMEBUFFER
    Window framebuffer transparency hint and attribute.
    Definition: glfw3.h:843
    +
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback(GLFWwindow *window, GLFWframebuffersizefun callback)
    Sets the framebuffer resize callback for the specified window.
    +
    void glfwSetWindowSize(GLFWwindow *window, int width, int height)
    Sets the size of the content area of the specified window.
    +
    #define GLFW_RED_BITS
    Framebuffer bit depth hint.
    Definition: glfw3.h:860
    +
    void glfwSetWindowPos(GLFWwindow *window, int xpos, int ypos)
    Sets the position of the content area of the specified window.
    +
    void glfwSetWindowAttrib(GLFWwindow *window, int attrib, int value)
    Sets an attribute of the specified window.
    +
    void glfwRestoreWindow(GLFWwindow *window)
    Restores the specified window.
    +
    void glfwGetWindowContentScale(GLFWwindow *window, float *xscale, float *yscale)
    Retrieves the content scale for the specified window.
    +
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback(GLFWwindow *window, GLFWwindowrefreshfun callback)
    Sets the refresh callback for the specified window.
    +
    GLFWwindowsizefun glfwSetWindowSizeCallback(GLFWwindow *window, GLFWwindowsizefun callback)
    Sets the size callback for the specified window.
    +
    void glfwSetWindowMonitor(GLFWwindow *window, GLFWmonitor *monitor, int xpos, int ypos, int width, int height, int refreshRate)
    Sets the mode, monitor, video mode and placement of a window.
    +
    void glfwGetWindowPos(GLFWwindow *window, int *xpos, int *ypos)
    Retrieves the position of the content area of the specified window.
    +
    GLFWwindowmaximizefun glfwSetWindowMaximizeCallback(GLFWwindow *window, GLFWwindowmaximizefun callback)
    Sets the maximize callback for the specified window.
    +
    void glfwSetWindowTitle(GLFWwindow *window, const char *title)
    Sets the title of the specified window.
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1177
    +
    void glfwSwapBuffers(GLFWwindow *window)
    Swaps the front and back buffers of the specified window.
    +
    void glfwSwapInterval(int interval)
    Sets the swap interval for the current context.
    +
    int blueBits
    Definition: glfw3.h:1665
    +
    void glfwGetWindowFrameSize(GLFWwindow *window, int *left, int *top, int *right, int *bottom)
    Retrieves the size of the frame of the window.
    +
    #define GLFW_GREEN_BITS
    Framebuffer bit depth hint.
    Definition: glfw3.h:865
    +
    int glfwWindowShouldClose(GLFWwindow *window)
    Checks the close flag of the specified window.
    +
    void glfwPollEvents(void)
    Processes all pending events.
    +
    void glfwSetWindowSizeLimits(GLFWwindow *window, int minwidth, int minheight, int maxwidth, int maxheight)
    Sets the size limits of the specified window.
    +
    GLFWmonitor * glfwGetPrimaryMonitor(void)
    Returns the primary monitor.
    +
    GLFWwindowfocusfun glfwSetWindowFocusCallback(GLFWwindow *window, GLFWwindowfocusfun callback)
    Sets the focus callback for the specified window.
    +
    GLFWwindowclosefun glfwSetWindowCloseCallback(GLFWwindow *window, GLFWwindowclosefun callback)
    Sets the close callback for the specified window.
    +
    void glfwFocusWindow(GLFWwindow *window)
    Brings the specified window to front and sets input focus.
    +
    int height
    Definition: glfw3.h:1656
    +
    GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback(GLFWwindow *window, GLFWwindowcontentscalefun callback)
    Sets the window content scale callback for the specified window.
    +
    GLFWwindowposfun glfwSetWindowPosCallback(GLFWwindow *window, GLFWwindowposfun callback)
    Sets the position callback for the specified window.
    +
    #define GLFW_FALSE
    Zero.
    Definition: glfw3.h:314
    +
    #define GLFW_DONT_CARE
    Definition: glfw3.h:1121
    +
    void glfwShowWindow(GLFWwindow *window)
    Makes the specified window visible.
    +
    #define GLFW_TRUE
    One.
    Definition: glfw3.h:305
    +
    #define GLFW_ICONIFIED
    Window iconification window attribute.
    Definition: glfw3.h:795
    +
    void glfwRequestWindowAttention(GLFWwindow *window)
    Requests user attention to the specified window.
    +
    #define GLFW_RESIZABLE
    Window resize-ability window hint and attribute.
    Definition: glfw3.h:801
    +
    #define GLFW_FOCUSED
    Input focus window hint and attribute.
    Definition: glfw3.h:790
    +
    #define GLFW_BLUE_BITS
    Framebuffer bit depth hint.
    Definition: glfw3.h:870
    +
    void glfwHideWindow(GLFWwindow *window)
    Hides the specified window.
    +
    int width
    Definition: glfw3.h:1653
    +
    void glfwMaximizeWindow(GLFWwindow *window)
    Maximizes the specified window.
    +
    void glfwSetWindowIcon(GLFWwindow *window, int count, const GLFWimage *images)
    Sets the icon for the specified window.
    +
    GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
    Creates a window and its associated context.
    +
    void glfwSetWindowShouldClose(GLFWwindow *window, int value)
    Sets the close flag of the specified window.
    +
    void glfwSetWindowAspectRatio(GLFWwindow *window, int numer, int denom)
    Sets the aspect ratio of the specified window.
    +
    int greenBits
    Definition: glfw3.h:1662
    +
    float glfwGetWindowOpacity(GLFWwindow *window)
    Returns the opacity of the whole window.
    +
    Image data.
    Definition: glfw3.h:1712
    +
    void glfwSetWindowOpacity(GLFWwindow *window, float opacity)
    Sets the opacity of the whole window.
    +
    GLFWmonitor * glfwGetWindowMonitor(GLFWwindow *window)
    Returns the monitor that the window uses for full screen mode.
    +
    void glfwIconifyWindow(GLFWwindow *window)
    Iconifies the specified window.
    +
    #define GLFW_MAXIMIZED
    Window maximization window hint and attribute.
    Definition: glfw3.h:831
    +
    int glfwGetWindowAttrib(GLFWwindow *window, int attrib)
    Returns an attribute of the specified window.
    +
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback(GLFWwindow *window, GLFWwindowiconifyfun callback)
    Sets the iconify callback for the specified window.
    +
    void glfwGetWindowSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the content area of the specified window.
    +
    Video mode type.
    Definition: glfw3.h:1649
    +
    void glfwGetFramebufferSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the framebuffer of the specified window.
    +
    int redBits
    Definition: glfw3.h:1659
    +
    #define GLFW_REFRESH_RATE
    Monitor refresh rate hint.
    Definition: glfw3.h:930
    +
    void glfwWindowHint(int hint, int value)
    Sets the specified window hint to the desired value.
    +
    #define GLFW_VISIBLE
    Window visibility window hint and attribute.
    Definition: glfw3.h:807
    +
    const GLFWvidmode * glfwGetVideoMode(GLFWmonitor *monitor)
    Returns the current mode of the specified monitor.
    +
    void glfwDestroyWindow(GLFWwindow *window)
    Destroys the specified window and its context.
    +
    struct GLFWmonitor GLFWmonitor
    Opaque monitor object.
    Definition: glfw3.h:1165
    +
    int refreshRate
    Definition: glfw3.h:1668
    + + + diff --git a/docs/3.4/bc_s.png b/docs/3.4/bc_s.png new file mode 100644 index 0000000000000000000000000000000000000000..224b29aa9847d5a4b3902efd602b7ddf7d33e6c2 GIT binary patch literal 676 zcmV;V0$crwP)y__>=_9%My z{n931IS})GlGUF8K#6VIbs%684A^L3@%PlP2>_sk`UWPq@f;rU*V%rPy_ekbhXT&s z(GN{DxFv}*vZp`F>S!r||M`I*nOwwKX+BC~3P5N3-)Y{65c;ywYiAh-1*hZcToLHK ztpl1xomJ+Yb}K(cfbJr2=GNOnT!UFA7Vy~fBz8?J>XHsbZoDad^8PxfSa0GDgENZS zuLCEqzb*xWX2CG*b&5IiO#NzrW*;`VC9455M`o1NBh+(k8~`XCEEoC1Ybwf;vr4K3 zg|EB<07?SOqHp9DhLpS&bzgo70I+ghB_#)K7H%AMU3v}xuyQq9&Bm~++VYhF09a+U zl7>n7Jjm$K#b*FONz~fj;I->Bf;ule1prFN9FovcDGBkpg>)O*-}eLnC{6oZHZ$o% zXKW$;0_{8hxHQ>l;_*HATI(`7t#^{$(zLe}h*mqwOc*nRY9=?Sx4OOeVIfI|0V(V2 zBrW#G7Ss9wvzr@>H*`r>zE z+e8bOBgqIgldUJlG(YUDviMB`9+DH8n-s9SXRLyJHO1!=wY^79WYZMTa(wiZ!zP66 zA~!21vmF3H2{ngD;+`6j#~6j;$*f*G_2ZD1E;9(yaw7d-QnSCpK(cR1zU3qU0000< KMNUMnLSTYoA~SLT literal 0 HcmV?d00001 diff --git a/docs/3.4/bdwn.png b/docs/3.4/bdwn.png new file mode 100644 index 0000000000000000000000000000000000000000..940a0b950443a0bb1b216ac03c45b8a16c955452 GIT binary patch literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^>_E)H!3HEvS)PKZC{Gv1kP61Pb5HX&C2wk~_T + + + + + + +GLFW: Bug List + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Bug List
    +
    +
    +
    +
    Page Window guide
    +
    On some Linux systems, creating contexts via both the native and EGL APIs in a single process will cause the application to segfault. Stick to one API or the other on Linux for now.
    +
    +
    +
    + + + diff --git a/docs/3.4/build.html b/docs/3.4/build.html new file mode 120000 index 0000000..c7922c8 --- /dev/null +++ b/docs/3.4/build.html @@ -0,0 +1 @@ +build_guide.html \ No newline at end of file diff --git a/docs/3.4/build_8dox.html b/docs/3.4/build_8dox.html new file mode 100644 index 0000000..1733ff6 --- /dev/null +++ b/docs/3.4/build_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: build.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    build.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.4/build_guide.html b/docs/3.4/build_guide.html new file mode 100644 index 0000000..89df17a --- /dev/null +++ b/docs/3.4/build_guide.html @@ -0,0 +1,188 @@ + + + + + + + +GLFW: Building applications + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Building applications
    +
    +
    + +

    This is about compiling and linking applications that use GLFW. For information on how to write such applications, start with the introductory tutorial. For information on how to compile the GLFW library itself, see Compiling GLFW.

    +

    This is not a tutorial on compilation or linking. It assumes basic understanding of how to compile and link a C program as well as how to use the specific compiler of your chosen development environment. The compilation and linking process should be explained in your C programming material and in the documentation for your development environment.

    +

    +Including the GLFW header file

    +

    You should include the GLFW header in the source files where you use OpenGL or GLFW.

    +
    #include <GLFW/glfw3.h>
    +

    This header defines all the constants and declares all the types and function prototypes of the GLFW API. By default it also includes the OpenGL header from your development environment. See option macros below for how to select OpenGL ES headers and more.

    +

    The GLFW header also defines any platform-specific macros needed by your OpenGL header, so that it can be included without needing any window system headers.

    +

    It does this only when needed, so if window system headers are included, the GLFW header does not try to redefine those symbols. The reverse is not true, i.e. windows.h cannot cope if any Win32 symbols have already been defined.

    +

    In other words:

    +
      +
    • Use the GLFW header to include OpenGL or OpenGL ES headers portably
    • +
    • Do not include window system headers unless you will use those APIs directly
    • +
    • If you do need such headers, include them before the GLFW header
    • +
    +

    If you are using an OpenGL extension loading library such as glad, the extension loader header should be included before the GLFW one. GLFW attempts to detect any OpenGL or OpenGL ES header or extension loader header included before it and will then disable the inclusion of the default OpenGL header. Most extension loaders also define macros that disable similar headers below it.

    +
    #include <glad/gl.h>
    +
    #include <GLFW/glfw3.h>
    +

    Both of these mechanisms depend on the extension loader header defining a known macro. If yours doesn't or you don't know which one your users will pick, the GLFW_INCLUDE_NONE macro will explicitly to prevent the GLFW header from including the OpenGL header. This will also allow you to include the two headers in any order.

    +
    #define GLFW_INCLUDE_NONE
    +
    #include <GLFW/glfw3.h>
    +
    #include <glad/gl.h>
    +

    +GLFW header option macros

    +

    These macros may be defined before the inclusion of the GLFW header and affect its behavior.

    +

    GLFW_DLL is required on Windows when using the GLFW DLL, to tell the compiler that the GLFW functions are defined in a DLL.

    +

    The following macros control which OpenGL or OpenGL ES API header is included. Only one of these may be defined at a time.

    +
    Note
    GLFW does not provide any of the API headers mentioned below. They are provided by your development environment or your OpenGL, OpenGL ES or Vulkan SDK, and most of them can be downloaded from the Khronos Registry.
    +

    GLFW_INCLUDE_GLCOREARB makes the GLFW header include the modern GL/glcorearb.h header (OpenGL/gl3.h on macOS) instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES1 makes the GLFW header include the OpenGL ES 1.x GLES/gl.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES2 makes the GLFW header include the OpenGL ES 2.0 GLES2/gl2.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES3 makes the GLFW header include the OpenGL ES 3.0 GLES3/gl3.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES31 makes the GLFW header include the OpenGL ES 3.1 GLES3/gl31.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_ES32 makes the GLFW header include the OpenGL ES 3.2 GLES3/gl32.h header instead of the regular OpenGL header.

    +

    GLFW_INCLUDE_NONE makes the GLFW header not include any OpenGL or OpenGL ES API header. This is useful in combination with an extension loading library.

    +

    If none of the above inclusion macros are defined, the standard OpenGL GL/gl.h header (OpenGL/gl.h on macOS) is included, unless GLFW detects the inclusion guards of any OpenGL, OpenGL ES or extension loader header it knows about.

    +

    The following macros control the inclusion of additional API headers. Any number of these may be defined simultaneously, and/or together with one of the above macros.

    +

    GLFW_INCLUDE_VULKAN makes the GLFW header include the Vulkan vulkan/vulkan.h header in addition to any selected OpenGL or OpenGL ES header.

    +

    GLFW_INCLUDE_GLEXT makes the GLFW header include the appropriate extension header for the OpenGL or OpenGL ES header selected above after and in addition to that header.

    +

    GLFW_INCLUDE_GLU makes the header include the GLU header in addition to the header selected above. This should only be used with the standard OpenGL header and only for compatibility with legacy code. GLU has been deprecated and should not be used in new code.

    +
    Note
    None of these macros may be defined during the compilation of GLFW itself. If your build includes GLFW and you define any these in your build files, make sure they are not applied to the GLFW sources.
    +

    +Link with the right libraries

    +

    GLFW is essentially a wrapper of various platform-specific APIs and therefore needs to link against many different system libraries. If you are using GLFW as a shared library / dynamic library / DLL then it takes care of these links. However, if you are using GLFW as a static library then your executable will need to link against these libraries.

    +

    On Windows and macOS, the list of system libraries is static and can be hard-coded into your build environment. See the section for your development environment below. On Linux and other Unix-like operating systems, the list varies but can be retrieved in various ways as described below.

    +

    A good general introduction to linking is Beginner's Guide to Linkers by David Drysdale.

    +

    +With MinGW or Visual C++ on Windows

    +

    The static version of the GLFW library is named glfw3. When using this version, it is also necessary to link with some libraries that GLFW uses.

    +

    When using MinGW to link an application with the static version of GLFW, you must also explicitly link with gdi32. Other toolchains including MinGW-w64 include it in the set of default libraries along with other dependencies like user32 and kernel32.

    +

    The link library for the GLFW DLL is named glfw3dll. When compiling an application that uses the DLL version of GLFW, you need to define the GLFW_DLL macro before any inclusion of the GLFW header. This can be done either with a compiler switch or by defining it in your source code.

    +

    +With CMake and GLFW source

    +

    This section is about using CMake to compile and link GLFW along with your application. If you want to use an installed binary instead, see With CMake and installed GLFW binaries.

    +

    With a few changes to your CMakeLists.txt you can have the GLFW source tree built along with your application.

    +

    Add the root directory of the GLFW source tree to your project. This will add the glfw target to your project.

    +
    add_subdirectory(path/to/glfw)
    +

    Once GLFW has been added, link your application against the glfw target. This adds the GLFW library and its link-time dependencies as it is currently configured, the include directory for the GLFW header and, when applicable, the GLFW_DLL macro.

    +
    target_link_libraries(myapp glfw)
    +

    Note that the glfw target does not depend on OpenGL, as GLFW loads any OpenGL, OpenGL ES or Vulkan libraries it needs at runtime. If your application calls OpenGL directly, instead of using a modern extension loader library, use the OpenGL CMake package.

    +
    find_package(OpenGL REQUIRED)
    +

    If OpenGL is found, the OpenGL::GL target is added to your project, containing library and include directory paths. Link against this like any other library.

    +
    target_link_libraries(myapp OpenGL::GL)
    +

    For a minimal example of a program and GLFW sources built with CMake, see the GLFW CMake Starter on GitHub.

    +

    +With CMake and installed GLFW binaries

    +

    This section is about using CMake to link GLFW after it has been built and installed. If you want to build it along with your application instead, see With CMake and GLFW source.

    +

    With a few changes to your CMakeLists.txt you can locate the package and target files generated when GLFW is installed.

    +
    find_package(glfw3 3.4 REQUIRED)
    +

    Once GLFW has been added to the project, link against it with the glfw target. This adds the GLFW library and its link-time dependencies, the include directory for the GLFW header and, when applicable, the GLFW_DLL macro.

    +
    target_link_libraries(myapp glfw)
    +

    Note that the glfw target does not depend on OpenGL, as GLFW loads any OpenGL, OpenGL ES or Vulkan libraries it needs at runtime. If your application calls OpenGL directly, instead of using a modern extension loader library, use the OpenGL CMake package.

    +
    find_package(OpenGL REQUIRED)
    +

    If OpenGL is found, the OpenGL::GL target is added to your project, containing library and include directory paths. Link against this like any other library.

    +
    target_link_libraries(myapp OpenGL::GL)
    +

    +With makefiles and pkg-config on Unix

    +

    GLFW supports pkg-config, and the glfw3.pc pkg-config file is generated when the GLFW library is built and is installed along with it. A pkg-config file describes all necessary compile-time and link-time flags and dependencies needed to use a library. When they are updated or if they differ between systems, you will get the correct ones automatically.

    +

    A typical compile and link command-line when using the static version of the GLFW library may look like this:

    +
    cc $(pkg-config --cflags glfw3) -o myprog myprog.c $(pkg-config --static --libs glfw3)
    +

    If you are using the shared version of the GLFW library, omit the --static flag.

    +
    cc $(pkg-config --cflags glfw3) -o myprog myprog.c $(pkg-config --libs glfw3)
    +

    You can also use the glfw3.pc file without installing it first, by using the PKG_CONFIG_PATH environment variable.

    +
    env PKG_CONFIG_PATH=path/to/glfw/src cc $(pkg-config --cflags glfw3) -o myprog myprog.c $(pkg-config --libs glfw3)
    +

    The dependencies do not include OpenGL, as GLFW loads any OpenGL, OpenGL ES or Vulkan libraries it needs at runtime. If your application calls OpenGL directly, instead of using a modern extension loader library, you should add the gl pkg-config package.

    +
    cc $(pkg-config --cflags glfw3 gl) -o myprog myprog.c $(pkg-config --libs glfw3 gl)
    +

    +With Xcode on macOS

    +

    If you are using the dynamic library version of GLFW, add it to the project dependencies.

    +

    If you are using the static library version of GLFW, add it and the Cocoa, OpenGL and IOKit frameworks to the project as dependencies. They can all be found in /System/Library/Frameworks.

    +

    +With command-line on macOS

    +

    It is recommended that you use pkg-config when building from the command line on macOS. That way you will get any new dependencies added automatically. If you still wish to build manually, you need to add the required frameworks and libraries to your command-line yourself using the -l and -framework switches.

    +

    If you are using the dynamic GLFW library, which is named libglfw.3.dylib, do:

    +
    cc -o myprog myprog.c -lglfw -framework Cocoa -framework OpenGL -framework IOKit
    +

    If you are using the static library, named libglfw3.a, substitute -lglfw3 for -lglfw.

    +

    Note that you do not add the .framework extension to a framework when linking against it from the command-line.

    +
    Note
    Your machine may have libGL.*.dylib style OpenGL library, but that is for the X Window System and will not work with the macOS native version of GLFW.
    +
    +
    +
    The header of the GLFW 3 API.
    + + + diff --git a/docs/3.4/closed.png b/docs/3.4/closed.png new file mode 100644 index 0000000000000000000000000000000000000000..98cc2c909da37a6df914fbf67780eebd99c597f5 GIT binary patch literal 132 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{V-kvUwAr*{o@8{^CZMh(5KoB^r_<4^zF@3)Cp&&t3hdujKf f*?bjBoY!V+E))@{xMcbjXe@)LtDnm{r-UW|*e5JT literal 0 HcmV?d00001 diff --git a/docs/3.4/compat.html b/docs/3.4/compat.html new file mode 120000 index 0000000..59cff9e --- /dev/null +++ b/docs/3.4/compat.html @@ -0,0 +1 @@ +compat_guide.html \ No newline at end of file diff --git a/docs/3.4/compat_8dox.html b/docs/3.4/compat_8dox.html new file mode 100644 index 0000000..843df4a --- /dev/null +++ b/docs/3.4/compat_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: compat.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    compat.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.4/compat_guide.html b/docs/3.4/compat_guide.html new file mode 100644 index 0000000..269aa9a --- /dev/null +++ b/docs/3.4/compat_guide.html @@ -0,0 +1,146 @@ + + + + + + + +GLFW: Standards conformance + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Standards conformance
    +
    +
    + +

    This guide describes the various API extensions used by this version of GLFW. It lists what are essentially implementation details, but which are nonetheless vital knowledge for developers intending to deploy their applications on a wide range of machines.

    +

    The information in this guide is not a part of GLFW API, but merely preconditions for some parts of the library to function on a given machine. Any part of this information may change in future versions of GLFW and that will not be considered a breaking API change.

    +

    +X11 extensions, protocols and IPC standards

    +

    As GLFW uses Xlib directly, without any intervening toolkit library, it has sole responsibility for interacting well with the many and varied window managers in use on Unix-like systems. In order for applications and window managers to work well together, a number of standards and conventions have been developed that regulate behavior outside the scope of the X11 API; most importantly the Inter-Client Communication Conventions Manual (ICCCM) and Extended Window Manager Hints (EWMH) standards.

    +

    GLFW uses the _MOTIF_WM_HINTS window property to support borderless windows. If the running window manager does not support this property, the GLFW_DECORATED hint will have no effect.

    +

    GLFW uses the ICCCM WM_DELETE_WINDOW protocol to intercept the user attempting to close the GLFW window. If the running window manager does not support this protocol, the close callback will never be called.

    +

    GLFW uses the EWMH _NET_WM_PING protocol, allowing the window manager notify the user when the application has stopped responding, i.e. when it has ceased to process events. If the running window manager does not support this protocol, the user will not be notified if the application locks up.

    +

    GLFW uses the EWMH _NET_WM_STATE_FULLSCREEN window state to tell the window manager to make the GLFW window full screen. If the running window manager does not support this state, full screen windows may not work properly. GLFW has a fallback code path in case this state is unavailable, but every window manager behaves slightly differently in this regard.

    +

    GLFW uses the EWMH _NET_WM_BYPASS_COMPOSITOR window property to tell a compositing window manager to un-redirect full screen GLFW windows. If the running window manager uses compositing but does not support this property then additional copying may be performed for each buffer swap of full screen windows.

    +

    GLFW uses the clipboard manager protocol to push a clipboard string (i.e. selection) owned by a GLFW window about to be destroyed to the clipboard manager. If there is no running clipboard manager, the clipboard string will be unavailable once the window has been destroyed.

    +

    GLFW uses the X drag-and-drop protocol to provide file drop events. If the application originating the drag does not support this protocol, drag and drop will not work.

    +

    GLFW uses the XRandR 1.3 extension to provide multi-monitor support. If the running X server does not support this version of this extension, multi-monitor support will not function and only a single, desktop-spanning monitor will be reported.

    +

    GLFW uses the XRandR 1.3 and Xf86vidmode extensions to provide gamma ramp support. If the running X server does not support either or both of these extensions, gamma ramp support will not function.

    +

    GLFW uses the Xkb extension and detectable auto-repeat to provide keyboard input. If the running X server does not support this extension, a non-Xkb fallback path is used.

    +

    GLFW uses the XInput2 extension to provide raw, non-accelerated mouse motion when the cursor is disabled. If the running X server does not support this extension, regular accelerated mouse motion will be used.

    +

    GLFW uses both the XRender extension and the compositing manager to support transparent window framebuffers. If the running X server does not support this extension or there is no running compositing manager, the GLFW_TRANSPARENT_FRAMEBUFFER framebuffer hint will have no effect.

    +

    GLFW uses both the Xcursor extension and the freedesktop cursor conventions to provide an expanded set of standard cursor shapes. If the running X server does not support this extension or the current cursor theme does not support the conventions, the GLFW_RESIZE_NWSE_CURSOR, GLFW_RESIZE_NESW_CURSOR and GLFW_NOT_ALLOWED_CURSOR shapes will not be available and other shapes may use legacy images.

    +

    +Wayland protocols and IPC standards

    +

    As GLFW uses libwayland directly, without any intervening toolkit library, it has sole responsibility for interacting well with every compositor in use on Unix-like systems. Most of the features are provided by the core protocol, while cursor support is provided by the libwayland-cursor helper library, EGL integration by libwayland-egl, and keyboard handling by libxkbcommon. In addition, GLFW uses some protocols from wayland-protocols to provide additional features if the compositor supports them.

    +

    GLFW uses xkbcommon 0.5.0 to provide compose key support. When it has been built against an older xkbcommon, the compose key will be disabled even if it has been configured in the compositor.

    +

    GLFW uses the xdg-shell protocol to provide better window management. This protocol is part of wayland-protocols 1.12, and is mandatory for GLFW to display a window.

    +

    GLFW uses the relative pointer protocol alongside the pointer constraints protocol to implement disabled cursor. These two protocols are part of wayland-protocols 1.1, and mandatory at build time. If the running compositor does not support both of these protocols, disabling the cursor will have no effect.

    +

    GLFW uses the idle inhibit protocol to prohibit the screensaver from starting. This protocol is part of wayland-protocols 1.6, and mandatory at build time. If the running compositor does not support this protocol, the screensaver may start even for full screen windows.

    +

    GLFW uses the xdg-decoration protocol to request decorations to be drawn around its windows. This protocol is part of wayland-protocols 1.15, and mandatory at build time. If the running compositor does not support this protocol, a very simple frame will be drawn by GLFW itself, using the viewporter protocol alongside subsurfaces. This protocol is part of wayland-protocols 1.4, and mandatory at build time. If the running compositor does not support this protocol either, no decorations will be drawn around windows.

    +

    +GLX extensions

    +

    The GLX API is the default API used to create OpenGL contexts on Unix-like systems using the X Window System.

    +

    GLFW uses the GLX 1.3 GLXFBConfig functions to enumerate and select framebuffer pixel formats. If GLX 1.3 is not supported, glfwInit will fail.

    +

    GLFW uses the GLX_MESA_swap_control, GLX_EXT_swap_control and GLX_SGI_swap_control extensions to provide vertical retrace synchronization (or vsync), in that order of preference. Where none of these extension are available, calling glfwSwapInterval will have no effect.

    +

    GLFW uses the GLX_ARB_multisample extension to create contexts with multisampling anti-aliasing. Where this extension is unavailable, the GLFW_SAMPLES hint will have no effect.

    +

    GLFW uses the GLX_ARB_create_context extension when available, even when creating OpenGL contexts of version 2.1 and below. Where this extension is unavailable, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will only be partially supported, the GLFW_CONTEXT_DEBUG hint will have no effect, and setting the GLFW_OPENGL_PROFILE or GLFW_OPENGL_FORWARD_COMPAT hints to GLFW_TRUE will cause glfwCreateWindow to fail.

    +

    GLFW uses the GLX_ARB_create_context_profile extension to provide support for context profiles. Where this extension is unavailable, setting the GLFW_OPENGL_PROFILE hint to anything but GLFW_OPENGL_ANY_PROFILE, or setting GLFW_CLIENT_API to anything but GLFW_OPENGL_API or GLFW_NO_API will cause glfwCreateWindow to fail.

    +

    GLFW uses the GLX_ARB_context_flush_control extension to provide control over whether a context is flushed when it is released (made non-current). Where this extension is unavailable, the GLFW_CONTEXT_RELEASE_BEHAVIOR hint will have no effect and the context will always be flushed when released.

    +

    GLFW uses the GLX_ARB_framebuffer_sRGB and GLX_EXT_framebuffer_sRGB extensions to provide support for sRGB framebuffers. Where both of these extensions are unavailable, the GLFW_SRGB_CAPABLE hint will have no effect.

    +

    +WGL extensions

    +

    The WGL API is used to create OpenGL contexts on Microsoft Windows and other implementations of the Win32 API, such as Wine.

    +

    GLFW uses either the WGL_EXT_extension_string or the WGL_ARB_extension_string extension to check for the presence of all other WGL extensions listed below. If both are available, the EXT one is preferred. If neither is available, no other extensions are used and many GLFW features related to context creation will have no effect or cause errors when used.

    +

    GLFW uses the WGL_EXT_swap_control extension to provide vertical retrace synchronization (or vsync). Where this extension is unavailable, calling glfwSwapInterval will have no effect.

    +

    GLFW uses the WGL_ARB_pixel_format and WGL_ARB_multisample extensions to create contexts with multisampling anti-aliasing. Where these extensions are unavailable, the GLFW_SAMPLES hint will have no effect.

    +

    GLFW uses the WGL_ARB_create_context extension when available, even when creating OpenGL contexts of version 2.1 and below. Where this extension is unavailable, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will only be partially supported, the GLFW_CONTEXT_DEBUG hint will have no effect, and setting the GLFW_OPENGL_PROFILE or GLFW_OPENGL_FORWARD_COMPAT hints to GLFW_TRUE will cause glfwCreateWindow to fail.

    +

    GLFW uses the WGL_ARB_create_context_profile extension to provide support for context profiles. Where this extension is unavailable, setting the GLFW_OPENGL_PROFILE hint to anything but GLFW_OPENGL_ANY_PROFILE will cause glfwCreateWindow to fail.

    +

    GLFW uses the WGL_ARB_context_flush_control extension to provide control over whether a context is flushed when it is released (made non-current). Where this extension is unavailable, the GLFW_CONTEXT_RELEASE_BEHAVIOR hint will have no effect and the context will always be flushed when released.

    +

    GLFW uses the WGL_ARB_framebuffer_sRGB and WGL_EXT_framebuffer_sRGB extensions to provide support for sRGB framebuffers. Where both of these extension are unavailable, the GLFW_SRGB_CAPABLE hint will have no effect.

    +

    +OpenGL on macOS

    +

    Support for OpenGL 3.2 and above was introduced with OS X 10.7 and even then only forward-compatible, core profile contexts are supported. Support for OpenGL 4.1 was introduced with OS X 10.9, also limited to forward-compatible, core profile contexts. There is also still no mechanism for requesting debug contexts or no-error contexts. Versions of Mac OS X earlier than 10.7 support at most OpenGL version 2.1.

    +

    Because of this, on OS X 10.7 and later, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will cause glfwCreateWindow to fail if given version 3.0 or 3.1. The GLFW_OPENGL_PROFILE hint must be set to GLFW_OPENGL_CORE_PROFILE when creating OpenGL 3.2 and later contexts. The GLFW_CONTEXT_DEBUG and GLFW_CONTEXT_NO_ERROR hints are ignored.

    +

    Also, on Mac OS X 10.6 and below, the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints will fail if given a version above 2.1, setting the GLFW_OPENGL_PROFILE or GLFW_OPENGL_FORWARD_COMPAT hints to a non-default value will cause glfwCreateWindow to fail and the GLFW_CONTEXT_DEBUG hint is ignored.

    +

    +Vulkan loader and API

    +

    By default, GLFW uses the standard system-wide Vulkan loader to access the Vulkan API on all platforms except macOS. This is installed by both graphics drivers and Vulkan SDKs. If either the loader or at least one minimally functional ICD is missing, glfwVulkanSupported will return GLFW_FALSE and all other Vulkan-related functions will fail with an GLFW_API_UNAVAILABLE error.

    +

    +Vulkan WSI extensions

    +

    The Vulkan WSI extensions are used to create Vulkan surfaces for GLFW windows on all supported platforms.

    +

    GLFW uses the VK_KHR_surface and VK_KHR_win32_surface extensions to create surfaces on Microsoft Windows. If any of these extensions are not available, glfwGetRequiredInstanceExtensions will return an empty list and window surface creation will fail.

    +

    GLFW uses the VK_KHR_surface and either the VK_MVK_macos_surface or VK_EXT_metal_surface extensions to create surfaces on macOS. If any of these extensions are not available, glfwGetRequiredInstanceExtensions will return an empty list and window surface creation will fail.

    +

    GLFW uses the VK_KHR_surface and either the VK_KHR_xlib_surface or VK_KHR_xcb_surface extensions to create surfaces on X11. If VK_KHR_surface or both VK_KHR_xlib_surface and VK_KHR_xcb_surface are not available, glfwGetRequiredInstanceExtensions will return an empty list and window surface creation will fail.

    +

    GLFW uses the VK_KHR_surface and VK_KHR_wayland_surface extensions to create surfaces on Wayland. If any of these extensions are not available, glfwGetRequiredInstanceExtensions will return an empty list and window surface creation will fail.

    +
    +
    + + + diff --git a/docs/3.4/compile.html b/docs/3.4/compile.html new file mode 120000 index 0000000..356831f --- /dev/null +++ b/docs/3.4/compile.html @@ -0,0 +1 @@ +compile_guide.html \ No newline at end of file diff --git a/docs/3.4/compile_8dox.html b/docs/3.4/compile_8dox.html new file mode 100644 index 0000000..c3aeb82 --- /dev/null +++ b/docs/3.4/compile_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: compile.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    compile.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.4/compile_guide.html b/docs/3.4/compile_guide.html new file mode 100644 index 0000000..e18dc1d --- /dev/null +++ b/docs/3.4/compile_guide.html @@ -0,0 +1,198 @@ + + + + + + + +GLFW: Compiling GLFW + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Compiling GLFW
    +
    +
    + +

    This is about compiling the GLFW library itself. For information on how to build applications that use GLFW, see Building applications.

    +

    +Using CMake

    +

    GLFW uses CMake to generate project files or makefiles for a particular development environment. If you are on a Unix-like system such as Linux or FreeBSD or have a package system like Fink, MacPorts, Cygwin or Homebrew, you can install its CMake package. If not, you can download installers for Windows and macOS from the CMake website.

    +
    Note
    CMake only generates project files or makefiles. It does not compile the actual GLFW library. To compile GLFW, first generate these files for your chosen development environment and then use them to compile the actual GLFW library.
    +

    +Dependencies

    +

    Once you have installed CMake, make sure that all other dependencies are available. On some platforms, GLFW needs a few additional packages to be installed. See the section for your chosen platform and development environment below.

    +

    +Dependencies for Visual C++ on Windows

    +

    The Windows SDK bundled with Visual C++ already contains all the necessary headers, link libraries and tools except for CMake. Move on to Generating build files with CMake.

    +

    +Dependencies for MinGW or MinGW-w64 on Windows

    +

    Both the MinGW and the MinGW-w64 packages already contain all the necessary headers, link libraries and tools except for CMake. Move on to Generating build files with CMake.

    +

    +Dependencies for MinGW or MinGW-w64 cross-compilation

    +

    Both Cygwin and many Linux distributions have MinGW or MinGW-w64 packages. For example, Cygwin has the mingw64-i686-gcc and mingw64-x86_64-gcc packages for 32- and 64-bit version of MinGW-w64, while Debian GNU/Linux and derivatives like Ubuntu have the mingw-w64 package for both.

    +

    GLFW has CMake toolchain files in the CMake/ directory that set up cross-compilation of Windows binaries. To use these files you add an option when running cmake to generate the project files or makefiles:

    +
    cmake -DCMAKE_TOOLCHAIN_FILE=<toolchain-file> .
    +

    The exact toolchain file to use depends on the prefix used by the MinGW or MinGW-w64 binaries on your system. You can usually see this in the /usr directory. For example, both the Debian/Ubuntu and Cygwin MinGW-w64 packages have /usr/x86_64-w64-mingw32 for the 64-bit compilers, so the correct invocation would be:

    +
    cmake -DCMAKE_TOOLCHAIN_FILE=CMake/x86_64-w64-mingw32.cmake .
    +

    For more details see the article CMake Cross Compiling on the CMake wiki.

    +

    Once you have this set up, move on to Generating build files with CMake.

    +

    +Dependencies for Xcode on macOS

    +

    Xcode comes with all necessary tools except for CMake. The required headers and libraries are included in the core macOS frameworks. Xcode can be downloaded from the Mac App Store or from the ADC Member Center.

    +

    Once you have Xcode installed, move on to Generating build files with CMake.

    +

    +Dependencies for Linux and X11

    +

    To compile GLFW for X11, you need to have the X11 packages installed, as well as the basic development tools like GCC and make. For example, on Ubuntu and other distributions based on Debian GNU/Linux, you need to install the xorg-dev package, which pulls in all X.org header packages.

    +

    Once you have installed the necessary packages, move on to Generating build files with CMake.

    +

    +Dependencies for Linux and Wayland

    +

    To compile GLFW for Wayland, you need to have the Wayland packages installed, as well as the basic development tools like GCC and make. For example, on Ubuntu and other distributions based on Debian GNU/Linux, you need to install the libwayland-dev package, which contains all Wayland headers and pulls in wayland-scanner, as well as the wayland-protocols and extra-cmake-modules packages.

    +

    Once you have installed the necessary packages, move on to Generating build files with CMake.

    +

    +Dependencies for Linux and OSMesa

    +

    To compile GLFW for OSMesa, you need to install the OSMesa library and header packages. For example, on Ubuntu and other distributions based on Debian GNU/Linux, you need to install the libosmesa6-dev package. The OSMesa library is required at runtime for context creation and is loaded on demand.

    +

    Once you have installed the necessary packages, move on to Generating build files with CMake.

    +

    +Generating build files with CMake

    +

    Once you have all necessary dependencies it is time to generate the project files or makefiles for your development environment. CMake needs to know two paths for this: the path to the root directory of the GLFW source tree (i.e. not the src subdirectory) and the target path for the generated files and compiled binaries. If these are the same, it is called an in-tree build, otherwise it is called an out-of-tree build.

    +

    One of several advantages of out-of-tree builds is that you can generate files and compile for different development environments using a single source tree.

    +
    Note
    This section is about generating the project files or makefiles necessary to compile the GLFW library, not about compiling the actual library.
    +

    +Generating files with the CMake command-line tool

    +

    To make an in-tree build, enter the root directory of the GLFW source tree (i.e. not the src subdirectory) and run CMake. The current directory is used as target path, while the path provided as an argument is used to find the source tree.

    +
    cd <glfw-root-dir>
    +
    cmake .
    +

    To make an out-of-tree build, make a directory outside of the source tree, enter it and run CMake with the (relative or absolute) path to the root of the source tree as an argument.

    +
    mkdir glfw-build
    +
    cd glfw-build
    +
    cmake <glfw-root-dir>
    +

    Once you have generated the project files or makefiles for your chosen development environment, move on to Compiling the library.

    +

    +Generating files with the CMake GUI

    +

    If you are using the GUI version, choose the root of the GLFW source tree as source location and the same directory or another, empty directory as the destination for binaries. Choose Configure, change any options you wish to, Configure again to let the changes take effect and then Generate.

    +

    Once you have generated the project files or makefiles for your chosen development environment, move on to Compiling the library.

    +

    +Compiling the library

    +

    You should now have all required dependencies and the project files or makefiles necessary to compile GLFW. Go ahead and compile the actual GLFW library with these files, as you would with any other project.

    +

    Once the GLFW library is compiled, you are ready to build your applications, linking it to the GLFW library. See Building applications for more information.

    +

    +CMake options

    +

    The CMake files for GLFW provide a number of options, although not all are available on all supported platforms. Some of these are de facto standards among projects using CMake and so have no GLFW_ prefix.

    +

    If you are using the GUI version of CMake, these are listed and can be changed from there. If you are using the command-line version of CMake you can use the ccmake ncurses GUI to set options. Some package systems like Ubuntu and other distributions based on Debian GNU/Linux have this tool in a separate cmake-curses-gui package.

    +

    Finally, if you don't want to use any GUI, you can set options from the cmake command-line with the -D flag.

    +
    cmake -DBUILD_SHARED_LIBS=ON .
    +

    +Shared CMake options

    +

    BUILD_SHARED_LIBS determines whether GLFW is built as a static library or as a DLL / shared library / dynamic library.

    +

    GLFW_BUILD_EXAMPLES determines whether the GLFW examples are built along with the library. This is enabled by default unless GLFW is being built as a sub-project.

    +

    GLFW_BUILD_TESTS determines whether the GLFW test programs are built along with the library. This is enabled by default unless GLFW is being built as a sub-project.

    +

    GLFW_BUILD_DOCS determines whether the GLFW documentation is built along with the library.

    +

    GLFW_VULKAN_STATIC determines whether to use the Vulkan loader linked directly with the application.

    +

    +Windows specific CMake options

    +

    USE_MSVC_RUNTIME_LIBRARY_DLL determines whether to use the DLL version or the static library version of the Visual C++ runtime library. If set to ON, the DLL version of the Visual C++ library is used.

    +

    GLFW_USE_HYBRID_HPG determines whether to export the NvOptimusEnablement and AmdPowerXpressRequestHighPerformance symbols, which force the use of the high-performance GPU on Nvidia Optimus and AMD PowerXpress systems. These symbols need to be exported by the EXE to be detected by the driver, so the override will not work if GLFW is built as a DLL.

    +

    +Compiling GLFW manually

    +

    If you wish to compile GLFW without its CMake build environment then you will have to do at least some of the platform detection yourself. GLFW needs a configuration macro to be defined in order to know what window system it's being compiled for and also has optional, platform-specific ones for various features.

    +

    When building with CMake, the glfw_config.h configuration header is generated based on the current platform and CMake options. The GLFW CMake environment defines GLFW_USE_CONFIG_H, which causes this header to be included by internal.h. Without this macro, GLFW will expect the necessary configuration macros to be defined on the command-line.

    +

    The window creation API is used to create windows, handle input, monitors, gamma ramps and clipboard. The options are:

    +
      +
    • _GLFW_COCOA to use the Cocoa frameworks
    • +
    • _GLFW_WIN32 to use the Win32 API
    • +
    • _GLFW_X11 to use the X Window System
    • +
    • _GLFW_WAYLAND to use the Wayland API (experimental and incomplete)
    • +
    • _GLFW_OSMESA to use the OSMesa API (headless and non-interactive)
    • +
    +

    If you are building GLFW as a shared library / dynamic library / DLL then you must also define _GLFW_BUILD_DLL. Otherwise, you must not define it.

    +

    If you are linking the Vulkan loader directly with your application then you must also define _GLFW_VULKAN_STATIC. Otherwise, GLFW will attempt to use the external version.

    +

    If you are using a custom name for the Vulkan, EGL, GLX, OSMesa, OpenGL, GLESv1 or GLESv2 library, you can override the default names by defining those you need of _GLFW_VULKAN_LIBRARY, _GLFW_EGL_LIBRARY, _GLFW_GLX_LIBRARY, _GLFW_OSMESA_LIBRARY, _GLFW_OPENGL_LIBRARY, _GLFW_GLESV1_LIBRARY and _GLFW_GLESV2_LIBRARY. Otherwise, GLFW will use the built-in default names.

    +

    For the EGL context creation API, the following options are available:

    +
      +
    • _GLFW_USE_EGLPLATFORM_H to use an existing EGL/eglplatform.h header file for native handle types (fallback)
    • +
    +
    Note
    None of the GLFW header option macros may be defined during the compilation of GLFW. If you define any of these in your build files, make sure they are not applied to the GLFW sources.
    +
    +
    + + + diff --git a/docs/3.4/context.html b/docs/3.4/context.html new file mode 120000 index 0000000..e4f5d8e --- /dev/null +++ b/docs/3.4/context.html @@ -0,0 +1 @@ +context_guide.html \ No newline at end of file diff --git a/docs/3.4/context_8dox.html b/docs/3.4/context_8dox.html new file mode 100644 index 0000000..801a205 --- /dev/null +++ b/docs/3.4/context_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: context.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    context.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.4/context_guide.html b/docs/3.4/context_guide.html new file mode 100644 index 0000000..d0d47f0 --- /dev/null +++ b/docs/3.4/context_guide.html @@ -0,0 +1,250 @@ + + + + + + + +GLFW: Context guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Context guide
    +
    +
    + +

    This guide introduces the OpenGL and OpenGL ES context related functions of GLFW. For details on a specific function in this category, see the Context reference. There are also guides for the other areas of the GLFW API.

    + +

    +Context objects

    +

    A window object encapsulates both a top-level window and an OpenGL or OpenGL ES context. It is created with glfwCreateWindow and destroyed with glfwDestroyWindow or glfwTerminate. See Window creation for more information.

    +

    As the window and context are inseparably linked, the window object also serves as the context handle.

    +

    To test the creation of various kinds of contexts and see their properties, run the glfwinfo test program.

    +
    Note
    Vulkan does not have a context and the Vulkan instance is created via the Vulkan API itself. If you will be using Vulkan to render to a window, disable context creation by setting the GLFW_CLIENT_API hint to GLFW_NO_API. For more information, see the Vulkan guide.
    +

    +Context creation hints

    +

    There are a number of hints, specified using glfwWindowHint, related to what kind of context is created. See context related hints in the window guide.

    +

    +Context object sharing

    +

    When creating a window and its OpenGL or OpenGL ES context with glfwCreateWindow, you can specify another window whose context the new one should share its objects (textures, vertex and element buffers, etc.) with.

    +
    GLFWwindow* second_window = glfwCreateWindow(640, 480, "Second Window", NULL, first_window);
    +

    Object sharing is implemented by the operating system and graphics driver. On platforms where it is possible to choose which types of objects are shared, GLFW requests that all types are shared.

    +

    See the relevant chapter of the OpenGL or OpenGL ES reference documents for more information. The name and number of this chapter unfortunately varies between versions and APIs, but has at times been named Shared Objects and Multiple Contexts.

    +

    GLFW comes with a barebones object sharing example program called sharing.

    +

    +Offscreen contexts

    +

    GLFW doesn't support creating contexts without an associated window. However, contexts with hidden windows can be created with the GLFW_VISIBLE window hint.

    +
    +
    +
    GLFWwindow* offscreen_context = glfwCreateWindow(640, 480, "", NULL, NULL);
    +

    The window never needs to be shown and its context can be used as a plain offscreen context. Depending on the window manager, the size of a hidden window's framebuffer may not be usable or modifiable, so framebuffer objects are recommended for rendering with such contexts.

    +

    You should still process events as long as you have at least one window, even if none of them are visible.

    +

    +Windows without contexts

    +

    You can disable context creation by setting the GLFW_CLIENT_API hint to GLFW_NO_API. Windows without contexts must not be passed to glfwMakeContextCurrent or glfwSwapBuffers.

    +

    +Current context

    +

    Before you can make OpenGL or OpenGL ES calls, you need to have a current context of the correct type. A context can only be current for a single thread at a time, and a thread can only have a single context current at a time.

    +

    When moving a context between threads, you must make it non-current on the old thread before making it current on the new one.

    +

    The context of a window is made current with glfwMakeContextCurrent.

    +

    The window of the current context is returned by glfwGetCurrentContext.

    +

    The following GLFW functions require a context to be current. Calling any these functions without a current context will generate a GLFW_NO_CURRENT_CONTEXT error.

    + +

    +Buffer swapping

    +

    See Buffer swapping in the window guide.

    +

    +OpenGL and OpenGL ES extensions

    +

    One of the benefits of OpenGL and OpenGL ES is their extensibility. Hardware vendors may include extensions in their implementations that extend the API before that functionality is included in a new version of the OpenGL or OpenGL ES specification, and some extensions are never included and remain as extensions until they become obsolete.

    +

    An extension is defined by:

    +
      +
    • An extension name (e.g. GL_ARB_debug_output)
    • +
    • New OpenGL tokens (e.g. GL_DEBUG_SEVERITY_HIGH_ARB)
    • +
    • New OpenGL functions (e.g. glGetDebugMessageLogARB)
    • +
    +

    Note the ARB affix, which stands for Architecture Review Board and is used for official extensions. The extension above was created by the ARB, but there are many different affixes, like NV for Nvidia and AMD for, well, AMD. Any group may also use the generic EXT affix. Lists of extensions, together with their specifications, can be found at the OpenGL Registry and OpenGL ES Registry.

    +

    +Loading extension with a loader library

    +

    An extension loader library is the easiest and best way to access both OpenGL and OpenGL ES extensions and modern versions of the core OpenGL or OpenGL ES APIs. They will take care of all the details of declaring and loading everything you need. One such library is glad and there are several others.

    +

    The following example will use glad but all extension loader libraries work similarly.

    +

    First you need to generate the source files using the glad Python script. This example generates a loader for any version of OpenGL, which is the default for both GLFW and glad, but loaders for OpenGL ES, as well as loaders for specific API versions and extension sets can be generated. The generated files are written to the output directory.

    +
    python main.py --generator c --no-loader --out-path output
    +

    The --no-loader option is added because GLFW already provides a function for loading OpenGL and OpenGL ES function pointers, one that automatically uses the selected context creation API, and glad can call this instead of having to implement its own. There are several other command-line options as well. See the glad documentation for details.

    +

    Add the generated output/src/glad.c, output/include/glad/glad.h and output/include/KHR/khrplatform.h files to your build. Then you need to include the glad header file, which will replace the OpenGL header of your development environment. By including the glad header before the GLFW header, it suppresses the development environment's OpenGL or OpenGL ES header.

    +
    #include <glad/glad.h>
    +
    #include <GLFW/glfw3.h>
    +

    Finally you need to initialize glad once you have a suitable current context.

    +
    window = glfwCreateWindow(640, 480, "My Window", NULL, NULL);
    +
    if (!window)
    +
    {
    +
    ...
    +
    }
    +
    + +
    +
    gladLoadGLLoader((GLADloadproc) glfwGetProcAddress);
    +

    Once glad has been loaded, you have access to all OpenGL core and extension functions supported by both the context you created and the glad loader you generated and you are ready to start rendering.

    +

    You can specify a minimum required OpenGL or OpenGL ES version with context hints. If your needs are more complex, you can check the actual OpenGL or OpenGL ES version with context attributes, or you can check whether a specific version is supported by the current context with the GLAD_GL_VERSION_x_x booleans.

    +
    if (GLAD_GL_VERSION_3_2)
    +
    {
    +
    // Call OpenGL 3.2+ specific code
    +
    }
    +

    To check whether a specific extension is supported, use the GLAD_GL_xxx booleans.

    +
    if (GLAD_GL_ARB_debug_output)
    +
    {
    +
    // Use GL_ARB_debug_output
    +
    }
    +

    +Loading extensions manually

    +

    Do not use this technique unless it is absolutely necessary. An extension loader library will save you a ton of tedious, repetitive, error prone work.

    +

    To use a certain extension, you must first check whether the context supports that extension and then, if it introduces new functions, retrieve the pointers to those functions. GLFW provides glfwExtensionSupported and glfwGetProcAddress for manual loading of extensions and new API functions.

    +

    This section will demonstrate manual loading of OpenGL extensions. The loading of OpenGL ES extensions is identical except for the name of the extension header.

    +

    +The glext.h header

    +

    The glext.h extension header is a continually updated file that defines the interfaces for all OpenGL extensions. The latest version of this can always be found at the OpenGL Registry. There are also extension headers for the various versions of OpenGL ES at the OpenGL ES Registry. It it strongly recommended that you use your own copy of the extension header, as the one included in your development environment may be several years out of date and may not include the extensions you wish to use.

    +

    The header defines function pointer types for all functions of all extensions it supports. These have names like PFNGLGETDEBUGMESSAGELOGARBPROC (for glGetDebugMessageLogARB), i.e. the name is made uppercase and PFN (pointer to function) and PROC (procedure) are added to the ends.

    +

    To include the extension header, define GLFW_INCLUDE_GLEXT before including the GLFW header.

    +
    #define GLFW_INCLUDE_GLEXT
    +
    #include <GLFW/glfw3.h>
    +

    +Checking for extensions

    +

    A given machine may not actually support the extension (it may have older drivers or a graphics card that lacks the necessary hardware features), so it is necessary to check at run-time whether the context supports the extension. This is done with glfwExtensionSupported.

    +
    if (glfwExtensionSupported("GL_ARB_debug_output"))
    +
    {
    +
    // The extension is supported by the current context
    +
    }
    +

    The argument is a null terminated ASCII string with the extension name. If the extension is supported, glfwExtensionSupported returns GLFW_TRUE, otherwise it returns GLFW_FALSE.

    +

    +Fetching function pointers

    +

    Many extensions, though not all, require the use of new OpenGL functions. These functions often do not have entry points in the client API libraries of your operating system, making it necessary to fetch them at run time. You can retrieve pointers to these functions with glfwGetProcAddress.

    +
    PFNGLGETDEBUGMESSAGELOGARBPROC pfnGetDebugMessageLog = glfwGetProcAddress("glGetDebugMessageLogARB");
    +

    In general, you should avoid giving the function pointer variables the (exact) same name as the function, as this may confuse your linker. Instead, you can use a different prefix, like above, or some other naming scheme.

    +

    Now that all the pieces have been introduced, here is what they might look like when used together.

    +
    #define GLFW_INCLUDE_GLEXT
    +
    #include <GLFW/glfw3.h>
    +
    +
    #define glGetDebugMessageLogARB pfnGetDebugMessageLog
    +
    PFNGLGETDEBUGMESSAGELOGARBPROC pfnGetDebugMessageLog;
    +
    +
    // Flag indicating whether the extension is supported
    +
    int has_ARB_debug_output = 0;
    +
    +
    void load_extensions(void)
    +
    {
    +
    if (glfwExtensionSupported("GL_ARB_debug_output"))
    +
    {
    +
    pfnGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGARBPROC)
    +
    glfwGetProcAddress("glGetDebugMessageLogARB");
    +
    has_ARB_debug_output = 1;
    +
    }
    +
    }
    +
    +
    void some_function(void)
    +
    {
    +
    if (has_ARB_debug_output)
    +
    {
    +
    // Now the extension function can be called as usual
    +
    glGetDebugMessageLogARB(...);
    +
    }
    +
    }
    +
    +
    +
    The header of the GLFW 3 API.
    +
    GLFWwindow * glfwGetCurrentContext(void)
    Returns the window whose context is current on the calling thread.
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1312
    +
    int glfwExtensionSupported(const char *extension)
    Returns whether the specified extension is available.
    +
    void glfwMakeContextCurrent(GLFWwindow *window)
    Makes the context of the specified window current for the calling thread.
    +
    #define GLFW_FALSE
    Zero.
    Definition: glfw3.h:318
    +
    GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
    Creates a window and its associated context.
    +
    GLFWglproc glfwGetProcAddress(const char *procname)
    Returns the address of the specified function for the current context.
    +
    void glfwWindowHint(int hint, int value)
    Sets the specified window hint to the desired value.
    +
    #define GLFW_VISIBLE
    Window visibility window hint and attribute.
    Definition: glfw3.h:849
    + + + diff --git a/docs/3.4/deprecated.html b/docs/3.4/deprecated.html new file mode 100644 index 0000000..82eb535 --- /dev/null +++ b/docs/3.4/deprecated.html @@ -0,0 +1,81 @@ + + + + + + + +GLFW: Deprecated List + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Deprecated List
    +
    +
    +
    +
    Global GLFWcharmodsfun )(GLFWwindow *, unsigned int, int)
    +
    Scheduled for removal in version 4.0.
    +
    Global glfwSetCharModsCallback (GLFWwindow *window, GLFWcharmodsfun callback)
    +
    Scheduled for removal in version 4.0.
    +
    +
    +
    + + + diff --git a/docs/3.4/dir_49e56c817e5e54854c35e136979f97ca.html b/docs/3.4/dir_49e56c817e5e54854c35e136979f97ca.html new file mode 100644 index 0000000..ff0b14c --- /dev/null +++ b/docs/3.4/dir_49e56c817e5e54854c35e136979f97ca.html @@ -0,0 +1,78 @@ + + + + + + + +GLFW: docs Directory Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    docs Directory Reference
    +
    +
    +
    + + + diff --git a/docs/3.4/dir_7d046523570a4bf058ddf3b10b545b6c.html b/docs/3.4/dir_7d046523570a4bf058ddf3b10b545b6c.html new file mode 100644 index 0000000..d6baea6 --- /dev/null +++ b/docs/3.4/dir_7d046523570a4bf058ddf3b10b545b6c.html @@ -0,0 +1,88 @@ + + + + + + + +GLFW: GLFW Directory Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    GLFW Directory Reference
    +
    +
    + + + + + + + + +

    +Files

    file  glfw3.h [code]
     The header of the GLFW 3 API.
     
    file  glfw3native.h [code]
     The header of the native access functions.
     
    +
    + + + diff --git a/docs/3.4/dir_d44c64559bbebec7f509842c48db8b23.html b/docs/3.4/dir_d44c64559bbebec7f509842c48db8b23.html new file mode 100644 index 0000000..8c7da25 --- /dev/null +++ b/docs/3.4/dir_d44c64559bbebec7f509842c48db8b23.html @@ -0,0 +1,84 @@ + + + + + + + +GLFW: include Directory Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    include Directory Reference
    +
    +
    + + + + +

    +Directories

    directory  GLFW
     
    +
    + + + diff --git a/docs/3.4/doc.png b/docs/3.4/doc.png new file mode 100644 index 0000000000000000000000000000000000000000..17edabff95f7b8da13c9516a04efe05493c29501 GIT binary patch literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t literal 0 HcmV?d00001 diff --git a/docs/3.4/doxygen.css b/docs/3.4/doxygen.css new file mode 100644 index 0000000..5e35db3 --- /dev/null +++ b/docs/3.4/doxygen.css @@ -0,0 +1,1730 @@ +/* The standard CSS for doxygen 1.8.18 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +p.reference, p.definition { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +ul.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; + column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +th p.starttd, p.intertd, p.endtd { + font-size: 100%; + font-weight: 700; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +p.interli { +} + +p.interdd { +} + +p.intertd { +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #FFFFFF; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #FFFFFF; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +ul { + overflow: hidden; /*Fixed: list item bullets overlap floating elements*/ +} + +#side-nav ul { + overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */ +} + +#main-nav ul { + overflow: visible; /* reset ul rule for the navigation bar drop down lists */ +} + +.fragment { + text-align: left; + direction: ltr; + overflow-x: auto; /*Fixed: fragment lines overlap floating elements*/ + overflow-y: hidden; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ + margin: 4px 8px 4px 2px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line:after { + content:"\000A"; + white-space: pre; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +.lineno { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +div.ah, span.ah { + background-color: black; + font-weight: bold; + color: #FFFFFF; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl, img.inline { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +blockquote.DocNodeRTL { + border-left: 0; + border-right: 2px solid #9CAFD4; + margin: 0 4px 0 24px; + padding: 0 16px 0 12px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight, .memTemplItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtitle { + padding: 8px; + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + border-top-right-radius: 4px; + border-top-left-radius: 4px; + margin-bottom: -1px; + background-image: url('nav_f.png'); + background-repeat: repeat-x; + background-color: #E2E8F2; + line-height: 1.25; + font-weight: 300; + float:left; +} + +.permalink +{ + font-size: 65%; + display: inline-block; + vertical-align: middle; +} + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: 400; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-color: #DFE5F1; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + +} + +.overload { + font-family: "courier new",courier,monospace; + font-size: 65%; +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype, .tparams .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir, .tparams .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #9CAFD4; + border-bottom: 1px solid #9CAFD4; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +.arrow { + color: #9CAFD4; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: Arial, Helvetica; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: #728DC1; + color: white; + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderopen.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderclosed.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('doc.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +table.directory { + font: 400 14px Roboto,sans-serif; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable caption { + caption-side: top; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + font-weight: 400; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +table.classindex +{ + margin: 10px; + white-space: nowrap; + margin-left: 3%; + margin-right: 3%; + width: 94%; + border: 0; + border-spacing: 0; + padding: 0; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +.PageDocRTL-title div.headertitle { + text-align: right; + direction: rtl; +} + +dl { + padding: 0 0 0 0; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug, dl.examples */ +dl.section { + margin-left: 0px; + padding-left: 0px; +} + +dl.section.DocNodeRTL { + margin-right: 0px; + padding-right: 0px; +} + +dl.note { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #D0C000; +} + +dl.note.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #FF0000; +} + +dl.warning.DocNodeRTL, dl.attention.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00D000; +} + +dl.pre.DocNodeRTL, dl.post.DocNodeRTL, dl.invariant.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #00D000; +} + +dl.deprecated { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #505050; +} + +dl.deprecated.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #505050; +} + +dl.todo { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00C0E0; +} + +dl.todo.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #00C0E0; +} + +dl.test { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #3030E0; +} + +dl.test.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #3030E0; +} + +dl.bug { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #C08050; +} + +dl.bug.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectalign +{ + vertical-align: middle; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.plantumlgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 8px 10px 10px; + width: 200px; +} + +.PageDocRTL-title div.toc { + float: left !important; + text-align: right; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +.PageDocRTL-title div.toc li { + background-position-x: right !important; + padding-left: 0 !important; + padding-right: 10px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.PageDocRTL-title div.toc li.level1 { + margin-left: 0 !important; + margin-right: 0; +} + +.PageDocRTL-title div.toc li.level2 { + margin-left: 0 !important; + margin-right: 15px; +} + +.PageDocRTL-title div.toc li.level3 { + margin-left: 0 !important; + margin-right: 30px; +} + +.PageDocRTL-title div.toc li.level4 { + margin-left: 0 !important; + margin-right: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + white-space: nowrap; + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #FFFFFF; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #FFFFFF; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #FFFFFF; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #FFFFFF; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + +/* @group Markdown */ + +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTable tr { +} + +th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft, td.markdownTableBodyLeft { + text-align: left +} + +th.markdownTableHeadRight, td.markdownTableBodyRight { + text-align: right +} + +th.markdownTableHeadCenter, td.markdownTableBodyCenter { + text-align: center +} + +.DocNodeRTL { + text-align: right; + direction: rtl; +} + +.DocNodeLTR { + text-align: left; + direction: ltr; +} + +table.DocNodeRTL { + width: auto; + margin-right: 0; + margin-left: auto; +} + +table.DocNodeLTR { + width: auto; + margin-right: auto; + margin-left: 0; +} + +tt, code, kbd, samp +{ + display: inline-block; + direction:ltr; +} +/* @end */ + +u { + text-decoration: underline; +} + diff --git a/docs/3.4/doxygen.png b/docs/3.4/doxygen.png new file mode 100644 index 0000000000000000000000000000000000000000..3ff17d807fd8aa003bed8bb2a69e8f0909592fd1 GIT binary patch literal 3779 zcmV;!4m|ORP)tMIv#Q0*~7*`IBSO7_x;@a8#Zk6_PeKR_s92J&)(m+);m9Iz3blw)z#Gi zP!9lj4$%+*>Hz@HCmM9L9|8c+0u=!H$O3?R0Kgx|#WP<6fKfC8fM-CQZT|_r@`>VO zX^Hgb|9cJqpdJA5$MCEK`F_2@2Y@s>^+;pF`~jdI0Pvr|vl4`=C)EH@1IFe7pdJ8F zH(qGi004~QnF)Ggga~8v08kGAs2hKTATxr7pwfNk|4#_AaT>w8P6TV+R2kbS$v==} zAjf`s0g#V8lB+b3)5oEI*q+{Yt$MZDruD2^;$+(_%Qn+%v0X-bJO=;@kiJ^ygLBnC z?1OVv_%aex1M@jKU|Z~$eI?PoF4Vj>fDzyo zAiLfpXY*a^Sj-S5D0S3@#V$sRW)g)_1e#$%8xdM>Jm7?!h zu0P2X=xoN>^!4DoPRgph2(2va07yfpXF+WH7EOg1GY%Zn z7~1A<(z7Q$ktEXhW_?GMpHp9l_UL18F3KOsxu81pqoBiNbFSGsof-W z6~eloMoz=4?OOnl2J268x5rOY`dCk0us(uS#Ud4yqOr@?=Q57a}tit|BhY>}~frH1sP`ScHS_d)oqH^lYy zZ%VP`#10MlE~P?cE(%(#(AUSv_T{+;t@$U}El}(1ig`vZo`Rm;+5&(AYzJ^Ae=h2X z@Re%vHwZU>|f0NI&%$*4eJweC5OROQrpPMA@*w|o z()A==l}(@bv^&>H1Ob3C=<^|hob?0+xJ?QQ3-ueQC}zy&JQNib!OqSO@-=>XzxlSF zAZ^U*1l6EEmg3r};_HY>&Jo_{dOPEFTWPmt=U&F#+0(O59^UIlHbNX+eF8UzyDR*T z(=5X$VF3!gm@RooS-&iiUYGG^`hMR(07zr_xP`d!^BH?uD>Phl8Rdifx3Af^Zr`Ku ztL+~HkVeL#bJ)7;`=>;{KNRvjmc}1}c58Sr#Treq=4{xo!ATy|c>iRSp4`dzMMVd@ zL8?uwXDY}Wqgh4mH`|$BTXpUIu6A1-cSq%hJw;@^Zr8TP=GMh*p(m(tN7@!^D~sl$ zz^tf4II4|};+irE$Fnm4NTc5%p{PRA`%}Zk`CE5?#h3|xcyQsS#iONZ z6H(@^i9td!$z~bZiJLTax$o>r(p}3o@< zyD7%(>ZYvy=6$U3e!F{Z`uSaYy`xQyl?b{}eg|G3&fz*`QH@mDUn)1%#5u`0m$%D} z?;tZ0u(mWeMV0QtzjgN!lT*pNRj;6510Wwx?Yi_=tYw|J#7@(Xe7ifDzXuK;JB;QO z#bg~K$cgm$@{QiL_3yr}y&~wuv=P=#O&Tj=Sr)aCUlYmZMcw?)T?c%0rUe1cS+o!qs_ zQ6Gp)-{)V!;=q}llyK3|^WeLKyjf%y;xHku;9(vM!j|~<7w1c*Mk-;P{T&yG) z@C-8E?QPynNQ<8f01D`2qexcVEIOU?y}MG)TAE6&VT5`rK8s(4PE;uQ92LTXUQ<>^ ztyQ@=@kRdh@ebUG^Z6NWWIL;_IGJ2ST>$t!$m$qvtj0Qmw8moN6GUV^!QKNK zHBXCtUH8)RY9++gH_TUV4^=-j$t}dD3qsN7GclJ^Zc&(j6&a_!$jCf}%c5ey`pm~1)@{yI3 zTdWyB+*X{JFw#z;PwRr5evb2!ueWF;v`B0HoUu4-(~aL=z;OXUUEtG`_$)Oxw6FKg zEzY`CyKaSBK3xt#8gA|r_|Kehn_HYVBMpEwbn9-fI*!u*eTA1ef8Mkl1=!jV4oYwWYM}i`A>_F4nhmlCIC6WLa zY%;4&@AlnaG11ejl61Jev21|r*m+?Kru3;1tFDl}#!OzUp6c>go4{C|^erwpG*&h6bspUPJag}oOkN2912Y3I?(eRc@U9>z#HPBHC?nps7H5!zP``90!Q1n80jo+B3TWXp!8Pe zwuKuLLI6l3Gv@+QH*Y}2wPLPQ1^EZhT#+Ed8q8Wo z1pTmIBxv14-{l&QVKxAyQF#8Q@NeJwWdKk>?cpiJLkJr+aZ!Me+Cfp!?FWSRf^j2k z73BRR{WSKaMkJ>1Nbx5dan5hg^_}O{Tj6u%iV%#QGz0Q@j{R^Ik)Z*+(YvY2ziBG)?AmJa|JV%4UT$k`hcOg5r9R?5>?o~JzK zJCrj&{i#hG>N7!B4kNX(%igb%kDj0fOQThC-8mtfap82PNRXr1D>lbgg)dYTQ(kbx z`Ee5kXG~Bh+BHQBf|kJEy6(ga%WfhvdQNDuOfQoe377l#ht&DrMGeIsI5C<&ai zWG$|hop2@@q5YDa)_-A?B02W;#fH!%k`daQLEItaJJ8Yf1L%8x;kg?)k)00P-lH+w z)5$QNV6r2$YtnV(4o=0^3{kmaXn*Dm0F*fU(@o)yVVjk|ln8ea6BMy%vZAhW9|wvA z8RoDkVoMEz1d>|5(k0Nw>22ZT){V<3$^C-cN+|~hKt2)){+l-?3m@-$c?-dlzQ)q- zZ)j%n^gerV{|+t}9m1_&&Ly!9$rtG4XX|WQ8`xYzGC~U@nYh~g(z9)bdAl#xH)xd5a=@|qql z|FzEil{P5(@gy!4ek05i$>`E^G~{;pnf6ftpLh$h#W?^#4UkPfa;;?bsIe&kz!+40 zI|6`F2n020)-r`pFaZ38F!S-lJM-o&inOw|66=GMeP@xQU5ghQH{~5Uh~TMTd;I9` z>YhVB`e^EVj*S7JF39ZgNf}A-0DwOcTT63ydN$I3b?yBQtUI*_fae~kPvzoD$zjX3 zoqBe#>12im4WzZ=f^4+u=!lA|#r%1`WB0-6*3BL#at`47#ebPpR|D1b)3BjT34nYY z%Ds%d?5$|{LgOIaRO{{oC&RK`O91$fqwM0(C_TALcozu*fWHb%%q&p-q{_8*2Zsi^ zh1ZCnr^UYa;4vQEtHk{~zi>wwMC5o{S=$P0X681y`SXwFH?Ewn{x-MOZynmc)JT5v zuHLwh;tLfxRrr%|k370}GofLl7thg>ACWWY&msqaVu&ry+`7+Ss>NL^%T1|z{IGMA zW-SKl=V-^{(f!Kf^#3(|T2W47d(%JVCI4JgRrT1pNz>+ietmFToNv^`gzC@&O-)+i zPQ~RwK8%C_vf%;%e>NyTp~dM5;!C|N0Q^6|CEb7Bw=Vz~$1#FA;Z*?mKSC)Hl-20s t8QyHj(g6VK0RYbl8UjE)0O0w=e*@m04r>stuEhWV002ovPDHLkV1hl;dM*F} literal 0 HcmV?d00001 diff --git a/docs/3.4/dynsections.js b/docs/3.4/dynsections.js new file mode 100644 index 0000000..3174bd7 --- /dev/null +++ b/docs/3.4/dynsections.js @@ -0,0 +1,121 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} + +function toggleLevel(level) +{ + $('table.directory tr').each(function() { + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (lli:last-child{margin:0 0 0 auto}.contents{min-height:590px}div.contents,div.header{max-width:920px;margin:0 auto;padding:0 32px;background:#fff none}table.doxtable th,table.markdownTable th,dl.reflist dt{background:linear-gradient(to bottom, #ffa733 0%, #ff6600 100%);box-shadow:inset 0 0 32px #f60;text-shadow:0 -1px 1px #b34700;text-align:left;color:#fff}dl.reflist dt a.el{color:#f60;padding:.2em;border-radius:4px;background-color:#ffe0cc}div.toc{float:none;width:auto}div.toc h3{font-size:1.17em}div.toc ul{padding-left:1.5em}div.toc li{font-size:1em;padding-left:0;list-style-type:disc}div.toc,.memproto,div.qindex,div.ah{background:linear-gradient(to bottom, #f2f2f2 0%, #e6e6e6 100%);box-shadow:inset 0 0 32px #e6e6e6;text-shadow:0 1px 1px #fff;color:#1a1a1a;border:2px solid #e6e6e6;border-radius:4px}.paramname{color:#803300}dl.reflist dt{border:2px solid #f60;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom:none}dl.reflist dd{border:2px solid #f60;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-top:none}table.doxtable,table.markdownTable{border-collapse:inherit;border-spacing:0;border:2px solid #f60;border-radius:4px}a,a:hover,a:visited,a:visited:hover,.contents a:visited,.el,a.el:visited,#glfwhome:hover,#main-menu a:hover,span.lineno a:hover{color:#f60;text-decoration:none}div.directory{border-collapse:inherit;border-spacing:0;border:2px solid #f60;border-radius:4px}hr,.memSeparator{height:2px;background:linear-gradient(to right, #f2f2f2 0%, #d9d9d9 50%, #f2f2f2 100%)}dl.note,dl.pre,dl.post,dl.invariant{background:linear-gradient(to bottom, #ddfad1 0%, #cbf7ba 100%);box-shadow:inset 0 0 32px #baf5a3;color:#1e5309;border:2px solid #afe699}dl.warning,dl.attention{background:linear-gradient(to bottom, #fae8d1 0%, #f7ddba 100%);box-shadow:inset 0 0 32px #f5d1a3;color:#533309;border:2px solid #e6c499}dl.deprecated,dl.bug{background:linear-gradient(to bottom, #fad1e3 0%, #f7bad6 100%);box-shadow:inset 0 0 32px #f5a3c8;color:#53092a;border:2px solid #e699bb}dl.todo,dl.test{background:linear-gradient(to bottom, #d1ecfa 0%, #bae3f7 100%);box-shadow:inset 0 0 32px #a3daf5;color:#093a53;border:2px solid #99cce6}dl.note,dl.pre,dl.post,dl.invariant,dl.warning,dl.attention,dl.deprecated,dl.bug,dl.todo,dl.test{border-radius:4px;padding:1em;text-shadow:0 1px 1px #fff;margin:1em 0}.note a,.pre a,.post a,.invariant a,.warning a,.attention a,.deprecated a,.bug a,.todo a,.test a,.note a:visited,.pre a:visited,.post a:visited,.invariant a:visited,.warning a:visited,.attention a:visited,.deprecated a:visited,.bug a:visited,.todo a:visited,.test a:visited{color:inherit}div.line{line-height:inherit}div.fragment,pre.fragment{background:#f2f2f2;border-radius:4px;border:none;padding:1em;overflow:auto;border-left:4px solid #ccc;margin:1em 0}.lineno a,.lineno a:visited,.line,pre.fragment{color:#4d4d4d}span.preprocessor,span.comment{color:#007899}a.code,a.code:visited{color:#e64500}span.keyword,span.keywordtype,span.keywordflow{color:#404040;font-weight:bold}span.stringliteral{color:#360099}code{padding:.1em;border-radius:4px}/*# sourceMappingURL=extra.css.map */ diff --git a/docs/3.4/files.html b/docs/3.4/files.html new file mode 100644 index 0000000..376b25c --- /dev/null +++ b/docs/3.4/files.html @@ -0,0 +1,80 @@ + + + + + + + +GLFW: Files + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Files
    +
    +
    +
    Here is a list of all files with brief descriptions:
    + + + +
     glfw3.hThe header of the GLFW 3 API
     glfw3native.hThe header of the native access functions
    +
    +
    + + + diff --git a/docs/3.4/folderclosed.png b/docs/3.4/folderclosed.png new file mode 100644 index 0000000000000000000000000000000000000000..bb8ab35edce8e97554e360005ee9fc5bffb36e66 GIT binary patch literal 616 zcmV-u0+;=XP)a9#ETzayK)T~Jw&MMH>OIr#&;dC}is*2Mqdf&akCc=O@`qC+4i z5Iu3w#1M@KqXCz8TIZd1wli&kkl2HVcAiZ8PUn5z_kG@-y;?yK06=cA0U%H0PH+kU zl6dp}OR(|r8-RG+YLu`zbI}5TlOU6ToR41{9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6` zBLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XUdOZN~c=dLt_h_k!dbxm_*ibDM zlFX`g{k$X}yIe%$N)cn1LNu=q9_CS)*>A zsX_mM4L@`(cSNQKMFc$RtYbx{79#j-J7hk*>*+ZZhM4Hw?I?rsXCi#mRWJ=-0LGV5a-WR0Qgt<|Nqf)C-@80`5gIz45^_20000IqP)X=#(TiCT&PiIIVc55T}TU}EUh*{q$|`3@{d>{Tc9Bo>e= zfmF3!f>fbI9#GoEHh0f`i5)wkLpva0ztf%HpZneK?w-7AK@b4Itw{y|Zd3k!fH?q2 zlhckHd_V2M_X7+)U&_Xcfvtw60l;--DgZmLSw-Y?S>)zIqMyJ1#FwLU*%bl38ok+! zh78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5jDplgxd44}9;IRqUH1YHH|@6oFe%z( zo4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=|)Rz|V`sGfHNrJ)0gJb8xx+SBmRf@1l zvuzt=vGfI)<-F9!o&3l?>9~0QbUDT(wFdnQPv%xdD)m*g%!20>Bc9iYmGAp<9YAa( z0QgYgTWqf1qN++Gqp z8@AYPTB3E|6s=WLG?xw0tm|U!o=&zd+H0oRYE;Dbx+Na9s^STqX|Gnq%H8s(nGDGJ j8vwW|`Ts`)fSK|Kx=IK@RG@g200000NkvXXu0mjfauFEA literal 0 HcmV?d00001 diff --git a/docs/3.4/glfw3_8h.html b/docs/3.4/glfw3_8h.html new file mode 100644 index 0000000..dadb2a6 --- /dev/null +++ b/docs/3.4/glfw3_8h.html @@ -0,0 +1,1756 @@ + + + + + + + +GLFW: glfw3.h File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    + +
    +
    glfw3.h File Reference
    +
    +
    +

    Description

    +

    This is the header file of the GLFW 3 API. It defines all its types and declares all its functions.

    +

    For more information about how to use this file, see Including the GLFW header file.

    +
    +

    Go to the source code of this file.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_APIENTRY_DEFINED
     
    #define GLFW_TRUE   1
     One. More...
     
    #define GLFW_FALSE   0
     Zero. More...
     
    #define GLFW_HAT_CENTERED   0
     
    #define GLFW_HAT_UP   1
     
    #define GLFW_HAT_RIGHT   2
     
    #define GLFW_HAT_DOWN   4
     
    #define GLFW_HAT_LEFT   8
     
    #define GLFW_HAT_RIGHT_UP   (GLFW_HAT_RIGHT | GLFW_HAT_UP)
     
    #define GLFW_HAT_RIGHT_DOWN   (GLFW_HAT_RIGHT | GLFW_HAT_DOWN)
     
    #define GLFW_HAT_LEFT_UP   (GLFW_HAT_LEFT | GLFW_HAT_UP)
     
    #define GLFW_HAT_LEFT_DOWN   (GLFW_HAT_LEFT | GLFW_HAT_DOWN)
     
    #define GLFW_KEY_UNKNOWN   -1
     
    #define GLFW_KEY_SPACE   32
     
    #define GLFW_KEY_APOSTROPHE   39 /* ' */
     
    #define GLFW_KEY_COMMA   44 /* , */
     
    #define GLFW_KEY_MINUS   45 /* - */
     
    #define GLFW_KEY_PERIOD   46 /* . */
     
    #define GLFW_KEY_SLASH   47 /* / */
     
    #define GLFW_KEY_0   48
     
    #define GLFW_KEY_1   49
     
    #define GLFW_KEY_2   50
     
    #define GLFW_KEY_3   51
     
    #define GLFW_KEY_4   52
     
    #define GLFW_KEY_5   53
     
    #define GLFW_KEY_6   54
     
    #define GLFW_KEY_7   55
     
    #define GLFW_KEY_8   56
     
    #define GLFW_KEY_9   57
     
    #define GLFW_KEY_SEMICOLON   59 /* ; */
     
    #define GLFW_KEY_EQUAL   61 /* = */
     
    #define GLFW_KEY_A   65
     
    #define GLFW_KEY_B   66
     
    #define GLFW_KEY_C   67
     
    #define GLFW_KEY_D   68
     
    #define GLFW_KEY_E   69
     
    #define GLFW_KEY_F   70
     
    #define GLFW_KEY_G   71
     
    #define GLFW_KEY_H   72
     
    #define GLFW_KEY_I   73
     
    #define GLFW_KEY_J   74
     
    #define GLFW_KEY_K   75
     
    #define GLFW_KEY_L   76
     
    #define GLFW_KEY_M   77
     
    #define GLFW_KEY_N   78
     
    #define GLFW_KEY_O   79
     
    #define GLFW_KEY_P   80
     
    #define GLFW_KEY_Q   81
     
    #define GLFW_KEY_R   82
     
    #define GLFW_KEY_S   83
     
    #define GLFW_KEY_T   84
     
    #define GLFW_KEY_U   85
     
    #define GLFW_KEY_V   86
     
    #define GLFW_KEY_W   87
     
    #define GLFW_KEY_X   88
     
    #define GLFW_KEY_Y   89
     
    #define GLFW_KEY_Z   90
     
    #define GLFW_KEY_LEFT_BRACKET   91 /* [ */
     
    #define GLFW_KEY_BACKSLASH   92 /* \ */
     
    #define GLFW_KEY_RIGHT_BRACKET   93 /* ] */
     
    #define GLFW_KEY_GRAVE_ACCENT   96 /* ` */
     
    #define GLFW_KEY_WORLD_1   161 /* non-US #1 */
     
    #define GLFW_KEY_WORLD_2   162 /* non-US #2 */
     
    #define GLFW_KEY_ESCAPE   256
     
    #define GLFW_KEY_ENTER   257
     
    #define GLFW_KEY_TAB   258
     
    #define GLFW_KEY_BACKSPACE   259
     
    #define GLFW_KEY_INSERT   260
     
    #define GLFW_KEY_DELETE   261
     
    #define GLFW_KEY_RIGHT   262
     
    #define GLFW_KEY_LEFT   263
     
    #define GLFW_KEY_DOWN   264
     
    #define GLFW_KEY_UP   265
     
    #define GLFW_KEY_PAGE_UP   266
     
    #define GLFW_KEY_PAGE_DOWN   267
     
    #define GLFW_KEY_HOME   268
     
    #define GLFW_KEY_END   269
     
    #define GLFW_KEY_CAPS_LOCK   280
     
    #define GLFW_KEY_SCROLL_LOCK   281
     
    #define GLFW_KEY_NUM_LOCK   282
     
    #define GLFW_KEY_PRINT_SCREEN   283
     
    #define GLFW_KEY_PAUSE   284
     
    #define GLFW_KEY_F1   290
     
    #define GLFW_KEY_F2   291
     
    #define GLFW_KEY_F3   292
     
    #define GLFW_KEY_F4   293
     
    #define GLFW_KEY_F5   294
     
    #define GLFW_KEY_F6   295
     
    #define GLFW_KEY_F7   296
     
    #define GLFW_KEY_F8   297
     
    #define GLFW_KEY_F9   298
     
    #define GLFW_KEY_F10   299
     
    #define GLFW_KEY_F11   300
     
    #define GLFW_KEY_F12   301
     
    #define GLFW_KEY_F13   302
     
    #define GLFW_KEY_F14   303
     
    #define GLFW_KEY_F15   304
     
    #define GLFW_KEY_F16   305
     
    #define GLFW_KEY_F17   306
     
    #define GLFW_KEY_F18   307
     
    #define GLFW_KEY_F19   308
     
    #define GLFW_KEY_F20   309
     
    #define GLFW_KEY_F21   310
     
    #define GLFW_KEY_F22   311
     
    #define GLFW_KEY_F23   312
     
    #define GLFW_KEY_F24   313
     
    #define GLFW_KEY_F25   314
     
    #define GLFW_KEY_KP_0   320
     
    #define GLFW_KEY_KP_1   321
     
    #define GLFW_KEY_KP_2   322
     
    #define GLFW_KEY_KP_3   323
     
    #define GLFW_KEY_KP_4   324
     
    #define GLFW_KEY_KP_5   325
     
    #define GLFW_KEY_KP_6   326
     
    #define GLFW_KEY_KP_7   327
     
    #define GLFW_KEY_KP_8   328
     
    #define GLFW_KEY_KP_9   329
     
    #define GLFW_KEY_KP_DECIMAL   330
     
    #define GLFW_KEY_KP_DIVIDE   331
     
    #define GLFW_KEY_KP_MULTIPLY   332
     
    #define GLFW_KEY_KP_SUBTRACT   333
     
    #define GLFW_KEY_KP_ADD   334
     
    #define GLFW_KEY_KP_ENTER   335
     
    #define GLFW_KEY_KP_EQUAL   336
     
    #define GLFW_KEY_LEFT_SHIFT   340
     
    #define GLFW_KEY_LEFT_CONTROL   341
     
    #define GLFW_KEY_LEFT_ALT   342
     
    #define GLFW_KEY_LEFT_SUPER   343
     
    #define GLFW_KEY_RIGHT_SHIFT   344
     
    #define GLFW_KEY_RIGHT_CONTROL   345
     
    #define GLFW_KEY_RIGHT_ALT   346
     
    #define GLFW_KEY_RIGHT_SUPER   347
     
    #define GLFW_KEY_MENU   348
     
    #define GLFW_KEY_LAST   GLFW_KEY_MENU
     
    #define GLFW_MOD_SHIFT   0x0001
     If this bit is set one or more Shift keys were held down. More...
     
    #define GLFW_MOD_CONTROL   0x0002
     If this bit is set one or more Control keys were held down. More...
     
    #define GLFW_MOD_ALT   0x0004
     If this bit is set one or more Alt keys were held down. More...
     
    #define GLFW_MOD_SUPER   0x0008
     If this bit is set one or more Super keys were held down. More...
     
    #define GLFW_MOD_CAPS_LOCK   0x0010
     If this bit is set the Caps Lock key is enabled. More...
     
    #define GLFW_MOD_NUM_LOCK   0x0020
     If this bit is set the Num Lock key is enabled. More...
     
    #define GLFW_MOUSE_BUTTON_1   0
     
    #define GLFW_MOUSE_BUTTON_2   1
     
    #define GLFW_MOUSE_BUTTON_3   2
     
    #define GLFW_MOUSE_BUTTON_4   3
     
    #define GLFW_MOUSE_BUTTON_5   4
     
    #define GLFW_MOUSE_BUTTON_6   5
     
    #define GLFW_MOUSE_BUTTON_7   6
     
    #define GLFW_MOUSE_BUTTON_8   7
     
    #define GLFW_MOUSE_BUTTON_LAST   GLFW_MOUSE_BUTTON_8
     
    #define GLFW_MOUSE_BUTTON_LEFT   GLFW_MOUSE_BUTTON_1
     
    #define GLFW_MOUSE_BUTTON_RIGHT   GLFW_MOUSE_BUTTON_2
     
    #define GLFW_MOUSE_BUTTON_MIDDLE   GLFW_MOUSE_BUTTON_3
     
    #define GLFW_JOYSTICK_1   0
     
    #define GLFW_JOYSTICK_2   1
     
    #define GLFW_JOYSTICK_3   2
     
    #define GLFW_JOYSTICK_4   3
     
    #define GLFW_JOYSTICK_5   4
     
    #define GLFW_JOYSTICK_6   5
     
    #define GLFW_JOYSTICK_7   6
     
    #define GLFW_JOYSTICK_8   7
     
    #define GLFW_JOYSTICK_9   8
     
    #define GLFW_JOYSTICK_10   9
     
    #define GLFW_JOYSTICK_11   10
     
    #define GLFW_JOYSTICK_12   11
     
    #define GLFW_JOYSTICK_13   12
     
    #define GLFW_JOYSTICK_14   13
     
    #define GLFW_JOYSTICK_15   14
     
    #define GLFW_JOYSTICK_16   15
     
    #define GLFW_JOYSTICK_LAST   GLFW_JOYSTICK_16
     
    #define GLFW_GAMEPAD_BUTTON_A   0
     
    #define GLFW_GAMEPAD_BUTTON_B   1
     
    #define GLFW_GAMEPAD_BUTTON_X   2
     
    #define GLFW_GAMEPAD_BUTTON_Y   3
     
    #define GLFW_GAMEPAD_BUTTON_LEFT_BUMPER   4
     
    #define GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER   5
     
    #define GLFW_GAMEPAD_BUTTON_BACK   6
     
    #define GLFW_GAMEPAD_BUTTON_START   7
     
    #define GLFW_GAMEPAD_BUTTON_GUIDE   8
     
    #define GLFW_GAMEPAD_BUTTON_LEFT_THUMB   9
     
    #define GLFW_GAMEPAD_BUTTON_RIGHT_THUMB   10
     
    #define GLFW_GAMEPAD_BUTTON_DPAD_UP   11
     
    #define GLFW_GAMEPAD_BUTTON_DPAD_RIGHT   12
     
    #define GLFW_GAMEPAD_BUTTON_DPAD_DOWN   13
     
    #define GLFW_GAMEPAD_BUTTON_DPAD_LEFT   14
     
    #define GLFW_GAMEPAD_BUTTON_LAST   GLFW_GAMEPAD_BUTTON_DPAD_LEFT
     
    #define GLFW_GAMEPAD_BUTTON_CROSS   GLFW_GAMEPAD_BUTTON_A
     
    #define GLFW_GAMEPAD_BUTTON_CIRCLE   GLFW_GAMEPAD_BUTTON_B
     
    #define GLFW_GAMEPAD_BUTTON_SQUARE   GLFW_GAMEPAD_BUTTON_X
     
    #define GLFW_GAMEPAD_BUTTON_TRIANGLE   GLFW_GAMEPAD_BUTTON_Y
     
    #define GLFW_GAMEPAD_AXIS_LEFT_X   0
     
    #define GLFW_GAMEPAD_AXIS_LEFT_Y   1
     
    #define GLFW_GAMEPAD_AXIS_RIGHT_X   2
     
    #define GLFW_GAMEPAD_AXIS_RIGHT_Y   3
     
    #define GLFW_GAMEPAD_AXIS_LEFT_TRIGGER   4
     
    #define GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER   5
     
    #define GLFW_GAMEPAD_AXIS_LAST   GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER
     
    #define GLFW_NO_ERROR   0
     No error has occurred. More...
     
    #define GLFW_NOT_INITIALIZED   0x00010001
     GLFW has not been initialized. More...
     
    #define GLFW_NO_CURRENT_CONTEXT   0x00010002
     No context is current for this thread. More...
     
    #define GLFW_INVALID_ENUM   0x00010003
     One of the arguments to the function was an invalid enum value. More...
     
    #define GLFW_INVALID_VALUE   0x00010004
     One of the arguments to the function was an invalid value. More...
     
    #define GLFW_OUT_OF_MEMORY   0x00010005
     A memory allocation failed. More...
     
    #define GLFW_API_UNAVAILABLE   0x00010006
     GLFW could not find support for the requested API on the system. More...
     
    #define GLFW_VERSION_UNAVAILABLE   0x00010007
     The requested OpenGL or OpenGL ES version is not available. More...
     
    #define GLFW_PLATFORM_ERROR   0x00010008
     A platform-specific error occurred that does not match any of the more specific categories. More...
     
    #define GLFW_FORMAT_UNAVAILABLE   0x00010009
     The requested format is not supported or available. More...
     
    #define GLFW_NO_WINDOW_CONTEXT   0x0001000A
     The specified window does not have an OpenGL or OpenGL ES context. More...
     
    #define GLFW_CURSOR_UNAVAILABLE   0x0001000B
     The specified cursor shape is not available. More...
     
    #define GLFW_FEATURE_UNAVAILABLE   0x0001000C
     The requested feature is not provided by the platform. More...
     
    #define GLFW_FEATURE_UNIMPLEMENTED   0x0001000D
     The requested feature is not implemented for the platform. More...
     
    #define GLFW_FOCUSED   0x00020001
     Input focus window hint and attribute. More...
     
    #define GLFW_ICONIFIED   0x00020002
     Window iconification window attribute. More...
     
    #define GLFW_RESIZABLE   0x00020003
     Window resize-ability window hint and attribute. More...
     
    #define GLFW_VISIBLE   0x00020004
     Window visibility window hint and attribute. More...
     
    #define GLFW_DECORATED   0x00020005
     Window decoration window hint and attribute. More...
     
    #define GLFW_AUTO_ICONIFY   0x00020006
     Window auto-iconification window hint and attribute. More...
     
    #define GLFW_FLOATING   0x00020007
     Window decoration window hint and attribute. More...
     
    #define GLFW_MAXIMIZED   0x00020008
     Window maximization window hint and attribute. More...
     
    #define GLFW_CENTER_CURSOR   0x00020009
     Cursor centering window hint. More...
     
    #define GLFW_TRANSPARENT_FRAMEBUFFER   0x0002000A
     Window framebuffer transparency hint and attribute. More...
     
    #define GLFW_HOVERED   0x0002000B
     Mouse cursor hover window attribute. More...
     
    #define GLFW_FOCUS_ON_SHOW   0x0002000C
     Input focus on calling show window hint and attribute. More...
     
    #define GLFW_MOUSE_PASSTHROUGH   0x0002000D
     Mouse input transparency window hint and attribute. More...
     
    #define GLFW_RED_BITS   0x00021001
     Framebuffer bit depth hint. More...
     
    #define GLFW_GREEN_BITS   0x00021002
     Framebuffer bit depth hint. More...
     
    #define GLFW_BLUE_BITS   0x00021003
     Framebuffer bit depth hint. More...
     
    #define GLFW_ALPHA_BITS   0x00021004
     Framebuffer bit depth hint. More...
     
    #define GLFW_DEPTH_BITS   0x00021005
     Framebuffer bit depth hint. More...
     
    #define GLFW_STENCIL_BITS   0x00021006
     Framebuffer bit depth hint. More...
     
    #define GLFW_ACCUM_RED_BITS   0x00021007
     Framebuffer bit depth hint. More...
     
    #define GLFW_ACCUM_GREEN_BITS   0x00021008
     Framebuffer bit depth hint. More...
     
    #define GLFW_ACCUM_BLUE_BITS   0x00021009
     Framebuffer bit depth hint. More...
     
    #define GLFW_ACCUM_ALPHA_BITS   0x0002100A
     Framebuffer bit depth hint. More...
     
    #define GLFW_AUX_BUFFERS   0x0002100B
     Framebuffer auxiliary buffer hint. More...
     
    #define GLFW_STEREO   0x0002100C
     OpenGL stereoscopic rendering hint. More...
     
    #define GLFW_SAMPLES   0x0002100D
     Framebuffer MSAA samples hint. More...
     
    #define GLFW_SRGB_CAPABLE   0x0002100E
     Framebuffer sRGB hint. More...
     
    #define GLFW_REFRESH_RATE   0x0002100F
     Monitor refresh rate hint. More...
     
    #define GLFW_DOUBLEBUFFER   0x00021010
     Framebuffer double buffering hint. More...
     
    #define GLFW_CLIENT_API   0x00022001
     Context client API hint and attribute. More...
     
    #define GLFW_CONTEXT_VERSION_MAJOR   0x00022002
     Context client API major version hint and attribute. More...
     
    #define GLFW_CONTEXT_VERSION_MINOR   0x00022003
     Context client API minor version hint and attribute. More...
     
    #define GLFW_CONTEXT_REVISION   0x00022004
     Context client API revision number hint and attribute. More...
     
    #define GLFW_CONTEXT_ROBUSTNESS   0x00022005
     Context robustness hint and attribute. More...
     
    #define GLFW_OPENGL_FORWARD_COMPAT   0x00022006
     OpenGL forward-compatibility hint and attribute. More...
     
    #define GLFW_CONTEXT_DEBUG   0x00022007
     Debug mode context hint and attribute. More...
     
    #define GLFW_OPENGL_DEBUG_CONTEXT   GLFW_CONTEXT_DEBUG
     Legacy name for compatibility. More...
     
    #define GLFW_OPENGL_PROFILE   0x00022008
     OpenGL profile hint and attribute. More...
     
    #define GLFW_CONTEXT_RELEASE_BEHAVIOR   0x00022009
     Context flush-on-release hint and attribute. More...
     
    #define GLFW_CONTEXT_NO_ERROR   0x0002200A
     Context error suppression hint and attribute. More...
     
    #define GLFW_CONTEXT_CREATION_API   0x0002200B
     Context creation API hint and attribute. More...
     
    #define GLFW_SCALE_TO_MONITOR   0x0002200C
     Window content area scaling window window hint. More...
     
    #define GLFW_COCOA_RETINA_FRAMEBUFFER   0x00023001
     macOS specific window hint. More...
     
    #define GLFW_COCOA_FRAME_NAME   0x00023002
     macOS specific window hint. More...
     
    #define GLFW_COCOA_GRAPHICS_SWITCHING   0x00023003
     macOS specific window hint. More...
     
    #define GLFW_X11_CLASS_NAME   0x00024001
     X11 specific window hint. More...
     
    #define GLFW_X11_INSTANCE_NAME   0x00024002
     X11 specific window hint. More...
     
    #define GLFW_WIN32_KEYBOARD_MENU   0x00025001
     
    #define GLFW_NO_API   0
     
    #define GLFW_OPENGL_API   0x00030001
     
    #define GLFW_OPENGL_ES_API   0x00030002
     
    #define GLFW_NO_ROBUSTNESS   0
     
    #define GLFW_NO_RESET_NOTIFICATION   0x00031001
     
    #define GLFW_LOSE_CONTEXT_ON_RESET   0x00031002
     
    #define GLFW_OPENGL_ANY_PROFILE   0
     
    #define GLFW_OPENGL_CORE_PROFILE   0x00032001
     
    #define GLFW_OPENGL_COMPAT_PROFILE   0x00032002
     
    #define GLFW_CURSOR   0x00033001
     
    #define GLFW_STICKY_KEYS   0x00033002
     
    #define GLFW_STICKY_MOUSE_BUTTONS   0x00033003
     
    #define GLFW_LOCK_KEY_MODS   0x00033004
     
    #define GLFW_RAW_MOUSE_MOTION   0x00033005
     
    #define GLFW_CURSOR_NORMAL   0x00034001
     
    #define GLFW_CURSOR_HIDDEN   0x00034002
     
    #define GLFW_CURSOR_DISABLED   0x00034003
     
    #define GLFW_ANY_RELEASE_BEHAVIOR   0
     
    #define GLFW_RELEASE_BEHAVIOR_FLUSH   0x00035001
     
    #define GLFW_RELEASE_BEHAVIOR_NONE   0x00035002
     
    #define GLFW_NATIVE_CONTEXT_API   0x00036001
     
    #define GLFW_EGL_CONTEXT_API   0x00036002
     
    #define GLFW_OSMESA_CONTEXT_API   0x00036003
     
    #define GLFW_ANGLE_PLATFORM_TYPE_NONE   0x00037001
     
    #define GLFW_ANGLE_PLATFORM_TYPE_OPENGL   0x00037002
     
    #define GLFW_ANGLE_PLATFORM_TYPE_OPENGLES   0x00037003
     
    #define GLFW_ANGLE_PLATFORM_TYPE_D3D9   0x00037004
     
    #define GLFW_ANGLE_PLATFORM_TYPE_D3D11   0x00037005
     
    #define GLFW_ANGLE_PLATFORM_TYPE_VULKAN   0x00037007
     
    #define GLFW_ANGLE_PLATFORM_TYPE_METAL   0x00037008
     
    #define GLFW_ARROW_CURSOR   0x00036001
     The regular arrow cursor shape. More...
     
    #define GLFW_IBEAM_CURSOR   0x00036002
     The text input I-beam cursor shape. More...
     
    #define GLFW_CROSSHAIR_CURSOR   0x00036003
     The crosshair cursor shape. More...
     
    #define GLFW_POINTING_HAND_CURSOR   0x00036004
     The pointing hand cursor shape. More...
     
    #define GLFW_RESIZE_EW_CURSOR   0x00036005
     The horizontal resize/move arrow shape. More...
     
    #define GLFW_RESIZE_NS_CURSOR   0x00036006
     The vertical resize/move arrow shape. More...
     
    #define GLFW_RESIZE_NWSE_CURSOR   0x00036007
     The top-left to bottom-right diagonal resize/move arrow shape. More...
     
    #define GLFW_RESIZE_NESW_CURSOR   0x00036008
     The top-right to bottom-left diagonal resize/move arrow shape. More...
     
    #define GLFW_RESIZE_ALL_CURSOR   0x00036009
     The omni-directional resize/move cursor shape. More...
     
    #define GLFW_NOT_ALLOWED_CURSOR   0x0003600A
     The operation-not-allowed shape. More...
     
    #define GLFW_HRESIZE_CURSOR   GLFW_RESIZE_EW_CURSOR
     Legacy name for compatibility. More...
     
    #define GLFW_VRESIZE_CURSOR   GLFW_RESIZE_NS_CURSOR
     Legacy name for compatibility. More...
     
    #define GLFW_HAND_CURSOR   GLFW_POINTING_HAND_CURSOR
     Legacy name for compatibility. More...
     
    #define GLFW_CONNECTED   0x00040001
     
    #define GLFW_DISCONNECTED   0x00040002
     
    #define GLFW_JOYSTICK_HAT_BUTTONS   0x00050001
     Joystick hat buttons init hint. More...
     
    #define GLFW_ANGLE_PLATFORM_TYPE   0x00050002
     ANGLE rendering backend init hint. More...
     
    #define GLFW_COCOA_CHDIR_RESOURCES   0x00051001
     macOS specific init hint. More...
     
    #define GLFW_COCOA_MENUBAR   0x00051002
     macOS specific init hint. More...
     
    #define GLFW_DONT_CARE   -1
     
    #define GLAPIENTRY   APIENTRY
     
    GLFW version macros
    #define GLFW_VERSION_MAJOR   3
     The major version number of the GLFW library. More...
     
    #define GLFW_VERSION_MINOR   4
     The minor version number of the GLFW library. More...
     
    #define GLFW_VERSION_REVISION   0
     The revision number of the GLFW library. More...
     
    Key and button actions
    #define GLFW_RELEASE   0
     The key or mouse button was released. More...
     
    #define GLFW_PRESS   1
     The key or mouse button was pressed. More...
     
    #define GLFW_REPEAT   2
     The key was held down until it repeated. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Typedefs

    typedef void(* GLFWglproc) (void)
     Client API function pointer type. More...
     
    typedef void(* GLFWvkproc) (void)
     Vulkan API function pointer type. More...
     
    typedef struct GLFWmonitor GLFWmonitor
     Opaque monitor object. More...
     
    typedef struct GLFWwindow GLFWwindow
     Opaque window object. More...
     
    typedef struct GLFWcursor GLFWcursor
     Opaque cursor object. More...
     
    typedef void(* GLFWerrorfun) (int, const char *)
     The function pointer type for error callbacks. More...
     
    typedef void(* GLFWwindowposfun) (GLFWwindow *, int, int)
     The function pointer type for window position callbacks. More...
     
    typedef void(* GLFWwindowsizefun) (GLFWwindow *, int, int)
     The function pointer type for window size callbacks. More...
     
    typedef void(* GLFWwindowclosefun) (GLFWwindow *)
     The function pointer type for window close callbacks. More...
     
    typedef void(* GLFWwindowrefreshfun) (GLFWwindow *)
     The function pointer type for window content refresh callbacks. More...
     
    typedef void(* GLFWwindowfocusfun) (GLFWwindow *, int)
     The function pointer type for window focus callbacks. More...
     
    typedef void(* GLFWwindowiconifyfun) (GLFWwindow *, int)
     The function pointer type for window iconify callbacks. More...
     
    typedef void(* GLFWwindowmaximizefun) (GLFWwindow *, int)
     The function pointer type for window maximize callbacks. More...
     
    typedef void(* GLFWframebuffersizefun) (GLFWwindow *, int, int)
     The function pointer type for framebuffer size callbacks. More...
     
    typedef void(* GLFWwindowcontentscalefun) (GLFWwindow *, float, float)
     The function pointer type for window content scale callbacks. More...
     
    typedef void(* GLFWmousebuttonfun) (GLFWwindow *, int, int, int)
     The function pointer type for mouse button callbacks. More...
     
    typedef void(* GLFWcursorposfun) (GLFWwindow *, double, double)
     The function pointer type for cursor position callbacks. More...
     
    typedef void(* GLFWcursorenterfun) (GLFWwindow *, int)
     The function pointer type for cursor enter/leave callbacks. More...
     
    typedef void(* GLFWscrollfun) (GLFWwindow *, double, double)
     The function pointer type for scroll callbacks. More...
     
    typedef void(* GLFWkeyfun) (GLFWwindow *, int, int, int, int)
     The function pointer type for keyboard key callbacks. More...
     
    typedef void(* GLFWcharfun) (GLFWwindow *, unsigned int)
     The function pointer type for Unicode character callbacks. More...
     
    typedef void(* GLFWcharmodsfun) (GLFWwindow *, unsigned int, int)
     The function pointer type for Unicode character with modifiers callbacks. More...
     
    typedef void(* GLFWdropfun) (GLFWwindow *, int, const char *[])
     The function pointer type for path drop callbacks. More...
     
    typedef void(* GLFWmonitorfun) (GLFWmonitor *, int)
     The function pointer type for monitor configuration callbacks. More...
     
    typedef void(* GLFWjoystickfun) (int, int)
     The function pointer type for joystick configuration callbacks. More...
     
    typedef struct GLFWvidmode GLFWvidmode
     Video mode type. More...
     
    typedef struct GLFWgammaramp GLFWgammaramp
     Gamma ramp. More...
     
    typedef struct GLFWimage GLFWimage
     Image data. More...
     
    typedef struct GLFWgamepadstate GLFWgamepadstate
     Gamepad input state. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    int glfwInit (void)
     Initializes the GLFW library. More...
     
    void glfwTerminate (void)
     Terminates the GLFW library. More...
     
    void glfwInitHint (int hint, int value)
     Sets the specified init hint to the desired value. More...
     
    void glfwGetVersion (int *major, int *minor, int *rev)
     Retrieves the version of the GLFW library. More...
     
    const char * glfwGetVersionString (void)
     Returns a string describing the compile-time configuration. More...
     
    int glfwGetError (const char **description)
     Returns and clears the last error for the calling thread. More...
     
    GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun callback)
     Sets the error callback. More...
     
    GLFWmonitor ** glfwGetMonitors (int *count)
     Returns the currently connected monitors. More...
     
    GLFWmonitorglfwGetPrimaryMonitor (void)
     Returns the primary monitor. More...
     
    void glfwGetMonitorPos (GLFWmonitor *monitor, int *xpos, int *ypos)
     Returns the position of the monitor's viewport on the virtual screen. More...
     
    void glfwGetMonitorWorkarea (GLFWmonitor *monitor, int *xpos, int *ypos, int *width, int *height)
     Retrieves the work area of the monitor. More...
     
    void glfwGetMonitorPhysicalSize (GLFWmonitor *monitor, int *widthMM, int *heightMM)
     Returns the physical size of the monitor. More...
     
    void glfwGetMonitorContentScale (GLFWmonitor *monitor, float *xscale, float *yscale)
     Retrieves the content scale for the specified monitor. More...
     
    const char * glfwGetMonitorName (GLFWmonitor *monitor)
     Returns the name of the specified monitor. More...
     
    void glfwSetMonitorUserPointer (GLFWmonitor *monitor, void *pointer)
     Sets the user pointer of the specified monitor. More...
     
    void * glfwGetMonitorUserPointer (GLFWmonitor *monitor)
     Returns the user pointer of the specified monitor. More...
     
    GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun callback)
     Sets the monitor configuration callback. More...
     
    const GLFWvidmodeglfwGetVideoModes (GLFWmonitor *monitor, int *count)
     Returns the available video modes for the specified monitor. More...
     
    const GLFWvidmodeglfwGetVideoMode (GLFWmonitor *monitor)
     Returns the current mode of the specified monitor. More...
     
    void glfwSetGamma (GLFWmonitor *monitor, float gamma)
     Generates a gamma ramp and sets it for the specified monitor. More...
     
    const GLFWgammarampglfwGetGammaRamp (GLFWmonitor *monitor)
     Returns the current gamma ramp for the specified monitor. More...
     
    void glfwSetGammaRamp (GLFWmonitor *monitor, const GLFWgammaramp *ramp)
     Sets the current gamma ramp for the specified monitor. More...
     
    void glfwDefaultWindowHints (void)
     Resets all window hints to their default values. More...
     
    void glfwWindowHint (int hint, int value)
     Sets the specified window hint to the desired value. More...
     
    void glfwWindowHintString (int hint, const char *value)
     Sets the specified window hint to the desired value. More...
     
    GLFWwindowglfwCreateWindow (int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
     Creates a window and its associated context. More...
     
    void glfwDestroyWindow (GLFWwindow *window)
     Destroys the specified window and its context. More...
     
    int glfwWindowShouldClose (GLFWwindow *window)
     Checks the close flag of the specified window. More...
     
    void glfwSetWindowShouldClose (GLFWwindow *window, int value)
     Sets the close flag of the specified window. More...
     
    void glfwSetWindowTitle (GLFWwindow *window, const char *title)
     Sets the title of the specified window. More...
     
    void glfwSetWindowIcon (GLFWwindow *window, int count, const GLFWimage *images)
     Sets the icon for the specified window. More...
     
    void glfwGetWindowPos (GLFWwindow *window, int *xpos, int *ypos)
     Retrieves the position of the content area of the specified window. More...
     
    void glfwSetWindowPos (GLFWwindow *window, int xpos, int ypos)
     Sets the position of the content area of the specified window. More...
     
    void glfwGetWindowSize (GLFWwindow *window, int *width, int *height)
     Retrieves the size of the content area of the specified window. More...
     
    void glfwSetWindowSizeLimits (GLFWwindow *window, int minwidth, int minheight, int maxwidth, int maxheight)
     Sets the size limits of the specified window. More...
     
    void glfwSetWindowAspectRatio (GLFWwindow *window, int numer, int denom)
     Sets the aspect ratio of the specified window. More...
     
    void glfwSetWindowSize (GLFWwindow *window, int width, int height)
     Sets the size of the content area of the specified window. More...
     
    void glfwGetFramebufferSize (GLFWwindow *window, int *width, int *height)
     Retrieves the size of the framebuffer of the specified window. More...
     
    void glfwGetWindowFrameSize (GLFWwindow *window, int *left, int *top, int *right, int *bottom)
     Retrieves the size of the frame of the window. More...
     
    void glfwGetWindowContentScale (GLFWwindow *window, float *xscale, float *yscale)
     Retrieves the content scale for the specified window. More...
     
    float glfwGetWindowOpacity (GLFWwindow *window)
     Returns the opacity of the whole window. More...
     
    void glfwSetWindowOpacity (GLFWwindow *window, float opacity)
     Sets the opacity of the whole window. More...
     
    void glfwIconifyWindow (GLFWwindow *window)
     Iconifies the specified window. More...
     
    void glfwRestoreWindow (GLFWwindow *window)
     Restores the specified window. More...
     
    void glfwMaximizeWindow (GLFWwindow *window)
     Maximizes the specified window. More...
     
    void glfwShowWindow (GLFWwindow *window)
     Makes the specified window visible. More...
     
    void glfwHideWindow (GLFWwindow *window)
     Hides the specified window. More...
     
    void glfwFocusWindow (GLFWwindow *window)
     Brings the specified window to front and sets input focus. More...
     
    void glfwRequestWindowAttention (GLFWwindow *window)
     Requests user attention to the specified window. More...
     
    GLFWmonitorglfwGetWindowMonitor (GLFWwindow *window)
     Returns the monitor that the window uses for full screen mode. More...
     
    void glfwSetWindowMonitor (GLFWwindow *window, GLFWmonitor *monitor, int xpos, int ypos, int width, int height, int refreshRate)
     Sets the mode, monitor, video mode and placement of a window. More...
     
    int glfwGetWindowAttrib (GLFWwindow *window, int attrib)
     Returns an attribute of the specified window. More...
     
    void glfwSetWindowAttrib (GLFWwindow *window, int attrib, int value)
     Sets an attribute of the specified window. More...
     
    void glfwSetWindowUserPointer (GLFWwindow *window, void *pointer)
     Sets the user pointer of the specified window. More...
     
    void * glfwGetWindowUserPointer (GLFWwindow *window)
     Returns the user pointer of the specified window. More...
     
    GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindow *window, GLFWwindowposfun callback)
     Sets the position callback for the specified window. More...
     
    GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindow *window, GLFWwindowsizefun callback)
     Sets the size callback for the specified window. More...
     
    GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindow *window, GLFWwindowclosefun callback)
     Sets the close callback for the specified window. More...
     
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindow *window, GLFWwindowrefreshfun callback)
     Sets the refresh callback for the specified window. More...
     
    GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindow *window, GLFWwindowfocusfun callback)
     Sets the focus callback for the specified window. More...
     
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindow *window, GLFWwindowiconifyfun callback)
     Sets the iconify callback for the specified window. More...
     
    GLFWwindowmaximizefun glfwSetWindowMaximizeCallback (GLFWwindow *window, GLFWwindowmaximizefun callback)
     Sets the maximize callback for the specified window. More...
     
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindow *window, GLFWframebuffersizefun callback)
     Sets the framebuffer resize callback for the specified window. More...
     
    GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback (GLFWwindow *window, GLFWwindowcontentscalefun callback)
     Sets the window content scale callback for the specified window. More...
     
    void glfwPollEvents (void)
     Processes all pending events. More...
     
    void glfwWaitEvents (void)
     Waits until events are queued and processes them. More...
     
    void glfwWaitEventsTimeout (double timeout)
     Waits with timeout until events are queued and processes them. More...
     
    void glfwPostEmptyEvent (void)
     Posts an empty event to the event queue. More...
     
    int glfwGetInputMode (GLFWwindow *window, int mode)
     Returns the value of an input option for the specified window. More...
     
    void glfwSetInputMode (GLFWwindow *window, int mode, int value)
     Sets an input option for the specified window. More...
     
    int glfwRawMouseMotionSupported (void)
     Returns whether raw mouse motion is supported. More...
     
    const char * glfwGetKeyName (int key, int scancode)
     Returns the layout-specific name of the specified printable key. More...
     
    int glfwGetKeyScancode (int key)
     Returns the platform-specific scancode of the specified key. More...
     
    int glfwGetKey (GLFWwindow *window, int key)
     Returns the last reported state of a keyboard key for the specified window. More...
     
    int glfwGetMouseButton (GLFWwindow *window, int button)
     Returns the last reported state of a mouse button for the specified window. More...
     
    void glfwGetCursorPos (GLFWwindow *window, double *xpos, double *ypos)
     Retrieves the position of the cursor relative to the content area of the window. More...
     
    void glfwSetCursorPos (GLFWwindow *window, double xpos, double ypos)
     Sets the position of the cursor, relative to the content area of the window. More...
     
    GLFWcursorglfwCreateCursor (const GLFWimage *image, int xhot, int yhot)
     Creates a custom cursor. More...
     
    GLFWcursorglfwCreateStandardCursor (int shape)
     Creates a cursor with a standard shape. More...
     
    void glfwDestroyCursor (GLFWcursor *cursor)
     Destroys a cursor. More...
     
    void glfwSetCursor (GLFWwindow *window, GLFWcursor *cursor)
     Sets the cursor for the window. More...
     
    GLFWkeyfun glfwSetKeyCallback (GLFWwindow *window, GLFWkeyfun callback)
     Sets the key callback. More...
     
    GLFWcharfun glfwSetCharCallback (GLFWwindow *window, GLFWcharfun callback)
     Sets the Unicode character callback. More...
     
    GLFWcharmodsfun glfwSetCharModsCallback (GLFWwindow *window, GLFWcharmodsfun callback)
     Sets the Unicode character with modifiers callback. More...
     
    GLFWmousebuttonfun glfwSetMouseButtonCallback (GLFWwindow *window, GLFWmousebuttonfun callback)
     Sets the mouse button callback. More...
     
    GLFWcursorposfun glfwSetCursorPosCallback (GLFWwindow *window, GLFWcursorposfun callback)
     Sets the cursor position callback. More...
     
    GLFWcursorenterfun glfwSetCursorEnterCallback (GLFWwindow *window, GLFWcursorenterfun callback)
     Sets the cursor enter/leave callback. More...
     
    GLFWscrollfun glfwSetScrollCallback (GLFWwindow *window, GLFWscrollfun callback)
     Sets the scroll callback. More...
     
    GLFWdropfun glfwSetDropCallback (GLFWwindow *window, GLFWdropfun callback)
     Sets the path drop callback. More...
     
    int glfwJoystickPresent (int jid)
     Returns whether the specified joystick is present. More...
     
    const float * glfwGetJoystickAxes (int jid, int *count)
     Returns the values of all axes of the specified joystick. More...
     
    const unsigned char * glfwGetJoystickButtons (int jid, int *count)
     Returns the state of all buttons of the specified joystick. More...
     
    const unsigned char * glfwGetJoystickHats (int jid, int *count)
     Returns the state of all hats of the specified joystick. More...
     
    const char * glfwGetJoystickName (int jid)
     Returns the name of the specified joystick. More...
     
    const char * glfwGetJoystickGUID (int jid)
     Returns the SDL compatible GUID of the specified joystick. More...
     
    void glfwSetJoystickUserPointer (int jid, void *pointer)
     Sets the user pointer of the specified joystick. More...
     
    void * glfwGetJoystickUserPointer (int jid)
     Returns the user pointer of the specified joystick. More...
     
    int glfwJoystickIsGamepad (int jid)
     Returns whether the specified joystick has a gamepad mapping. More...
     
    GLFWjoystickfun glfwSetJoystickCallback (GLFWjoystickfun callback)
     Sets the joystick configuration callback. More...
     
    int glfwUpdateGamepadMappings (const char *string)
     Adds the specified SDL_GameControllerDB gamepad mappings. More...
     
    const char * glfwGetGamepadName (int jid)
     Returns the human-readable gamepad name for the specified joystick. More...
     
    int glfwGetGamepadState (int jid, GLFWgamepadstate *state)
     Retrieves the state of the specified joystick remapped as a gamepad. More...
     
    void glfwSetClipboardString (GLFWwindow *window, const char *string)
     Sets the clipboard to the specified string. More...
     
    const char * glfwGetClipboardString (GLFWwindow *window)
     Returns the contents of the clipboard as a string. More...
     
    double glfwGetTime (void)
     Returns the GLFW time. More...
     
    void glfwSetTime (double time)
     Sets the GLFW time. More...
     
    uint64_t glfwGetTimerValue (void)
     Returns the current value of the raw timer. More...
     
    uint64_t glfwGetTimerFrequency (void)
     Returns the frequency, in Hz, of the raw timer. More...
     
    void glfwMakeContextCurrent (GLFWwindow *window)
     Makes the context of the specified window current for the calling thread. More...
     
    GLFWwindowglfwGetCurrentContext (void)
     Returns the window whose context is current on the calling thread. More...
     
    void glfwSwapBuffers (GLFWwindow *window)
     Swaps the front and back buffers of the specified window. More...
     
    void glfwSwapInterval (int interval)
     Sets the swap interval for the current context. More...
     
    int glfwExtensionSupported (const char *extension)
     Returns whether the specified extension is available. More...
     
    GLFWglproc glfwGetProcAddress (const char *procname)
     Returns the address of the specified function for the current context. More...
     
    int glfwVulkanSupported (void)
     Returns whether the Vulkan loader and an ICD have been found. More...
     
    const char ** glfwGetRequiredInstanceExtensions (uint32_t *count)
     Returns the Vulkan instance extensions required by GLFW. More...
     
    GLFWvkproc glfwGetInstanceProcAddress (VkInstance instance, const char *procname)
     Returns the address of the specified Vulkan instance function. More...
     
    int glfwGetPhysicalDevicePresentationSupport (VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily)
     Returns whether the specified queue family can present images. More...
     
    VkResult glfwCreateWindowSurface (VkInstance instance, GLFWwindow *window, const VkAllocationCallbacks *allocator, VkSurfaceKHR *surface)
     Creates a Vulkan surface for the specified window. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_APIENTRY_DEFINED

    + +
    +
    + + + + +
    #define GLFW_APIENTRY_DEFINED
    +
    + +
    +
    + +

    ◆ GLFW_NO_API

    + +
    +
    + + + + +
    #define GLFW_NO_API   0
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_API

    + +
    +
    + + + + +
    #define GLFW_OPENGL_API   0x00030001
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_ES_API

    + +
    +
    + + + + +
    #define GLFW_OPENGL_ES_API   0x00030002
    +
    + +
    +
    + +

    ◆ GLFW_NO_ROBUSTNESS

    + +
    +
    + + + + +
    #define GLFW_NO_ROBUSTNESS   0
    +
    + +
    +
    + +

    ◆ GLFW_NO_RESET_NOTIFICATION

    + +
    +
    + + + + +
    #define GLFW_NO_RESET_NOTIFICATION   0x00031001
    +
    + +
    +
    + +

    ◆ GLFW_LOSE_CONTEXT_ON_RESET

    + +
    +
    + + + + +
    #define GLFW_LOSE_CONTEXT_ON_RESET   0x00031002
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_ANY_PROFILE

    + +
    +
    + + + + +
    #define GLFW_OPENGL_ANY_PROFILE   0
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_CORE_PROFILE

    + +
    +
    + + + + +
    #define GLFW_OPENGL_CORE_PROFILE   0x00032001
    +
    + +
    +
    + +

    ◆ GLFW_OPENGL_COMPAT_PROFILE

    + +
    +
    + + + + +
    #define GLFW_OPENGL_COMPAT_PROFILE   0x00032002
    +
    + +
    +
    + +

    ◆ GLFW_CURSOR

    + +
    +
    + + + + +
    #define GLFW_CURSOR   0x00033001
    +
    + +
    +
    + +

    ◆ GLFW_STICKY_KEYS

    + +
    +
    + + + + +
    #define GLFW_STICKY_KEYS   0x00033002
    +
    + +
    +
    + +

    ◆ GLFW_STICKY_MOUSE_BUTTONS

    + +
    +
    + + + + +
    #define GLFW_STICKY_MOUSE_BUTTONS   0x00033003
    +
    + +
    +
    + +

    ◆ GLFW_LOCK_KEY_MODS

    + +
    +
    + + + + +
    #define GLFW_LOCK_KEY_MODS   0x00033004
    +
    + +
    +
    + +

    ◆ GLFW_RAW_MOUSE_MOTION

    + +
    +
    + + + + +
    #define GLFW_RAW_MOUSE_MOTION   0x00033005
    +
    + +
    +
    + +

    ◆ GLFW_CURSOR_NORMAL

    + +
    +
    + + + + +
    #define GLFW_CURSOR_NORMAL   0x00034001
    +
    + +
    +
    + +

    ◆ GLFW_CURSOR_HIDDEN

    + +
    +
    + + + + +
    #define GLFW_CURSOR_HIDDEN   0x00034002
    +
    + +
    +
    + +

    ◆ GLFW_CURSOR_DISABLED

    + +
    +
    + + + + +
    #define GLFW_CURSOR_DISABLED   0x00034003
    +
    + +
    +
    + +

    ◆ GLFW_ANY_RELEASE_BEHAVIOR

    + +
    +
    + + + + +
    #define GLFW_ANY_RELEASE_BEHAVIOR   0
    +
    + +
    +
    + +

    ◆ GLFW_RELEASE_BEHAVIOR_FLUSH

    + +
    +
    + + + + +
    #define GLFW_RELEASE_BEHAVIOR_FLUSH   0x00035001
    +
    + +
    +
    + +

    ◆ GLFW_RELEASE_BEHAVIOR_NONE

    + +
    +
    + + + + +
    #define GLFW_RELEASE_BEHAVIOR_NONE   0x00035002
    +
    + +
    +
    + +

    ◆ GLFW_NATIVE_CONTEXT_API

    + +
    +
    + + + + +
    #define GLFW_NATIVE_CONTEXT_API   0x00036001
    +
    + +
    +
    + +

    ◆ GLFW_EGL_CONTEXT_API

    + +
    +
    + + + + +
    #define GLFW_EGL_CONTEXT_API   0x00036002
    +
    + +
    +
    + +

    ◆ GLFW_OSMESA_CONTEXT_API

    + +
    +
    + + + + +
    #define GLFW_OSMESA_CONTEXT_API   0x00036003
    +
    + +
    +
    + +

    ◆ GLFW_ANGLE_PLATFORM_TYPE_NONE

    + +
    +
    + + + + +
    #define GLFW_ANGLE_PLATFORM_TYPE_NONE   0x00037001
    +
    + +
    +
    + +

    ◆ GLFW_ANGLE_PLATFORM_TYPE_OPENGL

    + +
    +
    + + + + +
    #define GLFW_ANGLE_PLATFORM_TYPE_OPENGL   0x00037002
    +
    + +
    +
    + +

    ◆ GLFW_ANGLE_PLATFORM_TYPE_OPENGLES

    + +
    +
    + + + + +
    #define GLFW_ANGLE_PLATFORM_TYPE_OPENGLES   0x00037003
    +
    + +
    +
    + +

    ◆ GLFW_ANGLE_PLATFORM_TYPE_D3D9

    + +
    +
    + + + + +
    #define GLFW_ANGLE_PLATFORM_TYPE_D3D9   0x00037004
    +
    + +
    +
    + +

    ◆ GLFW_ANGLE_PLATFORM_TYPE_D3D11

    + +
    +
    + + + + +
    #define GLFW_ANGLE_PLATFORM_TYPE_D3D11   0x00037005
    +
    + +
    +
    + +

    ◆ GLFW_ANGLE_PLATFORM_TYPE_VULKAN

    + +
    +
    + + + + +
    #define GLFW_ANGLE_PLATFORM_TYPE_VULKAN   0x00037007
    +
    + +
    +
    + +

    ◆ GLFW_ANGLE_PLATFORM_TYPE_METAL

    + +
    +
    + + + + +
    #define GLFW_ANGLE_PLATFORM_TYPE_METAL   0x00037008
    +
    + +
    +
    + +

    ◆ GLFW_CONNECTED

    + +
    +
    + + + + +
    #define GLFW_CONNECTED   0x00040001
    +
    + +
    +
    + +

    ◆ GLFW_DISCONNECTED

    + +
    +
    + + + + +
    #define GLFW_DISCONNECTED   0x00040002
    +
    + +
    +
    + +

    ◆ GLFW_DONT_CARE

    + +
    +
    + + + + +
    #define GLFW_DONT_CARE   -1
    +
    + +
    +
    + +

    ◆ GLAPIENTRY

    + +
    +
    + + + + +
    #define GLAPIENTRY   APIENTRY
    +
    + +
    +
    +
    + + + diff --git a/docs/3.4/glfw3_8h_source.html b/docs/3.4/glfw3_8h_source.html new file mode 100644 index 0000000..30cfade --- /dev/null +++ b/docs/3.4/glfw3_8h_source.html @@ -0,0 +1,1267 @@ + + + + + + + +GLFW: glfw3.h Source File + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    glfw3.h
    +
    +
    +Go to the documentation of this file.
    1 /*************************************************************************
    +
    2  * GLFW 3.4 - www.glfw.org
    +
    3  * A library for OpenGL, window and input
    +
    4  *------------------------------------------------------------------------
    +
    5  * Copyright (c) 2002-2006 Marcus Geelnard
    +
    6  * Copyright (c) 2006-2019 Camilla Löwy <elmindreda@glfw.org>
    +
    7  *
    +
    8  * This software is provided 'as-is', without any express or implied
    +
    9  * warranty. In no event will the authors be held liable for any damages
    +
    10  * arising from the use of this software.
    +
    11  *
    +
    12  * Permission is granted to anyone to use this software for any purpose,
    +
    13  * including commercial applications, and to alter it and redistribute it
    +
    14  * freely, subject to the following restrictions:
    +
    15  *
    +
    16  * 1. The origin of this software must not be misrepresented; you must not
    +
    17  * claim that you wrote the original software. If you use this software
    +
    18  * in a product, an acknowledgment in the product documentation would
    +
    19  * be appreciated but is not required.
    +
    20  *
    +
    21  * 2. Altered source versions must be plainly marked as such, and must not
    +
    22  * be misrepresented as being the original software.
    +
    23  *
    +
    24  * 3. This notice may not be removed or altered from any source
    +
    25  * distribution.
    +
    26  *
    +
    27  *************************************************************************/
    +
    28 
    +
    29 #ifndef _glfw3_h_
    +
    30 #define _glfw3_h_
    +
    31 
    +
    32 #ifdef __cplusplus
    +
    33 extern "C" {
    +
    34 #endif
    +
    35 
    +
    36 
    +
    37 /*************************************************************************
    +
    38  * Doxygen documentation
    +
    39  *************************************************************************/
    +
    40 
    +
    89 /*************************************************************************
    +
    90  * Compiler- and platform-specific preprocessor work
    +
    91  *************************************************************************/
    +
    92 
    +
    93 /* If we are we on Windows, we want a single define for it.
    +
    94  */
    +
    95 #if !defined(_WIN32) && (defined(__WIN32__) || defined(WIN32) || defined(__MINGW32__))
    +
    96  #define _WIN32
    +
    97 #endif /* _WIN32 */
    +
    98 
    +
    99 /* Include because most Windows GLU headers need wchar_t and
    +
    100  * the macOS OpenGL header blocks the definition of ptrdiff_t by glext.h.
    +
    101  * Include it unconditionally to avoid surprising side-effects.
    +
    102  */
    +
    103 #include <stddef.h>
    +
    104 
    +
    105 /* Include because it is needed by Vulkan and related functions.
    +
    106  * Include it unconditionally to avoid surprising side-effects.
    +
    107  */
    +
    108 #include <stdint.h>
    +
    109 
    +
    110 #if defined(GLFW_INCLUDE_VULKAN)
    +
    111  #include <vulkan/vulkan.h>
    +
    112 #endif /* Vulkan header */
    +
    113 
    +
    114 /* The Vulkan header may have indirectly included windows.h (because of
    +
    115  * VK_USE_PLATFORM_WIN32_KHR) so we offer our replacement symbols after it.
    +
    116  */
    +
    117 
    +
    118 /* It is customary to use APIENTRY for OpenGL function pointer declarations on
    +
    119  * all platforms. Additionally, the Windows OpenGL header needs APIENTRY.
    +
    120  */
    +
    121 #if !defined(APIENTRY)
    +
    122  #if defined(_WIN32)
    +
    123  #define APIENTRY __stdcall
    +
    124  #else
    +
    125  #define APIENTRY
    +
    126  #endif
    +
    127  #define GLFW_APIENTRY_DEFINED
    +
    128 #endif /* APIENTRY */
    +
    129 
    +
    130 /* Some Windows OpenGL headers need this.
    +
    131  */
    +
    132 #if !defined(WINGDIAPI) && defined(_WIN32)
    +
    133  #define WINGDIAPI __declspec(dllimport)
    +
    134  #define GLFW_WINGDIAPI_DEFINED
    +
    135 #endif /* WINGDIAPI */
    +
    136 
    +
    137 /* Some Windows GLU headers need this.
    +
    138  */
    +
    139 #if !defined(CALLBACK) && defined(_WIN32)
    +
    140  #define CALLBACK __stdcall
    +
    141  #define GLFW_CALLBACK_DEFINED
    +
    142 #endif /* CALLBACK */
    +
    143 
    +
    144 /* Include the chosen OpenGL or OpenGL ES headers.
    +
    145  */
    +
    146 #if defined(GLFW_INCLUDE_ES1)
    +
    147 
    +
    148  #include <GLES/gl.h>
    +
    149  #if defined(GLFW_INCLUDE_GLEXT)
    +
    150  #include <GLES/glext.h>
    +
    151  #endif
    +
    152 
    +
    153 #elif defined(GLFW_INCLUDE_ES2)
    +
    154 
    +
    155  #include <GLES2/gl2.h>
    +
    156  #if defined(GLFW_INCLUDE_GLEXT)
    +
    157  #include <GLES2/gl2ext.h>
    +
    158  #endif
    +
    159 
    +
    160 #elif defined(GLFW_INCLUDE_ES3)
    +
    161 
    +
    162  #include <GLES3/gl3.h>
    +
    163  #if defined(GLFW_INCLUDE_GLEXT)
    +
    164  #include <GLES2/gl2ext.h>
    +
    165  #endif
    +
    166 
    +
    167 #elif defined(GLFW_INCLUDE_ES31)
    +
    168 
    +
    169  #include <GLES3/gl31.h>
    +
    170  #if defined(GLFW_INCLUDE_GLEXT)
    +
    171  #include <GLES2/gl2ext.h>
    +
    172  #endif
    +
    173 
    +
    174 #elif defined(GLFW_INCLUDE_ES32)
    +
    175 
    +
    176  #include <GLES3/gl32.h>
    +
    177  #if defined(GLFW_INCLUDE_GLEXT)
    +
    178  #include <GLES2/gl2ext.h>
    +
    179  #endif
    +
    180 
    +
    181 #elif defined(GLFW_INCLUDE_GLCOREARB)
    +
    182 
    +
    183  #if defined(__APPLE__)
    +
    184 
    +
    185  #include <OpenGL/gl3.h>
    +
    186  #if defined(GLFW_INCLUDE_GLEXT)
    +
    187  #include <OpenGL/gl3ext.h>
    +
    188  #endif /*GLFW_INCLUDE_GLEXT*/
    +
    189 
    +
    190  #else /*__APPLE__*/
    +
    191 
    +
    192  #include <GL/glcorearb.h>
    +
    193 
    +
    194  #endif /*__APPLE__*/
    +
    195 
    +
    196 #elif defined(GLFW_INCLUDE_GLU)
    +
    197 
    +
    198  #if defined(__APPLE__)
    +
    199 
    +
    200  #if defined(GLFW_INCLUDE_GLU)
    +
    201  #include <OpenGL/glu.h>
    +
    202  #endif
    +
    203 
    +
    204  #else /*__APPLE__*/
    +
    205 
    +
    206  #if defined(GLFW_INCLUDE_GLU)
    +
    207  #include <GL/glu.h>
    +
    208  #endif
    +
    209 
    +
    210  #endif /*__APPLE__*/
    +
    211 
    +
    212 #elif !defined(GLFW_INCLUDE_NONE) && \
    +
    213  !defined(__gl_h_) && \
    +
    214  !defined(__gles1_gl_h_) && \
    +
    215  !defined(__gles2_gl2_h_) && \
    +
    216  !defined(__gles2_gl3_h_) && \
    +
    217  !defined(__gles2_gl31_h_) && \
    +
    218  !defined(__gles2_gl32_h_) && \
    +
    219  !defined(__gl_glcorearb_h_) && \
    +
    220  !defined(__gl2_h_) /*legacy*/ && \
    +
    221  !defined(__gl3_h_) /*legacy*/ && \
    +
    222  !defined(__gl31_h_) /*legacy*/ && \
    +
    223  !defined(__gl32_h_) /*legacy*/ && \
    +
    224  !defined(__glcorearb_h_) /*legacy*/ && \
    +
    225  !defined(__GL_H__) /*non-standard*/ && \
    +
    226  !defined(__gltypes_h_) /*non-standard*/ && \
    +
    227  !defined(__glee_h_) /*non-standard*/
    +
    228 
    +
    229  #if defined(__APPLE__)
    +
    230 
    +
    231  #if !defined(GLFW_INCLUDE_GLEXT)
    +
    232  #define GL_GLEXT_LEGACY
    +
    233  #endif
    +
    234  #include <OpenGL/gl.h>
    +
    235 
    +
    236  #else /*__APPLE__*/
    +
    237 
    +
    238  #include <GL/gl.h>
    +
    239  #if defined(GLFW_INCLUDE_GLEXT)
    +
    240  #include <GL/glext.h>
    +
    241  #endif
    +
    242 
    +
    243  #endif /*__APPLE__*/
    +
    244 
    +
    245 #endif /* OpenGL and OpenGL ES headers */
    +
    246 
    +
    247 #if defined(GLFW_DLL) && defined(_GLFW_BUILD_DLL)
    +
    248  /* GLFW_DLL must be defined by applications that are linking against the DLL
    +
    249  * version of the GLFW library. _GLFW_BUILD_DLL is defined by the GLFW
    +
    250  * configuration header when compiling the DLL version of the library.
    +
    251  */
    +
    252  #error "You must not have both GLFW_DLL and _GLFW_BUILD_DLL defined"
    +
    253 #endif
    +
    254 
    +
    255 /* GLFWAPI is used to declare public API functions for export
    +
    256  * from the DLL / shared library / dynamic library.
    +
    257  */
    +
    258 #if defined(_WIN32) && defined(_GLFW_BUILD_DLL)
    +
    259  /* We are building GLFW as a Win32 DLL */
    +
    260  #define GLFWAPI __declspec(dllexport)
    +
    261 #elif defined(_WIN32) && defined(GLFW_DLL)
    +
    262  /* We are calling GLFW as a Win32 DLL */
    +
    263  #define GLFWAPI __declspec(dllimport)
    +
    264 #elif defined(__GNUC__) && defined(_GLFW_BUILD_DLL)
    +
    265  /* We are building GLFW as a shared / dynamic library */
    +
    266  #define GLFWAPI __attribute__((visibility("default")))
    +
    267 #else
    +
    268  /* We are building or calling GLFW as a static library */
    +
    269  #define GLFWAPI
    +
    270 #endif
    +
    271 
    +
    272 
    +
    273 /*************************************************************************
    +
    274  * GLFW API tokens
    +
    275  *************************************************************************/
    +
    276 
    +
    284 #define GLFW_VERSION_MAJOR 3
    +
    285 
    +
    291 #define GLFW_VERSION_MINOR 4
    +
    292 
    +
    298 #define GLFW_VERSION_REVISION 0
    +
    299 
    +
    309 #define GLFW_TRUE 1
    +
    310 
    +
    318 #define GLFW_FALSE 0
    +
    319 
    +
    328 #define GLFW_RELEASE 0
    +
    329 
    +
    335 #define GLFW_PRESS 1
    +
    336 
    +
    342 #define GLFW_REPEAT 2
    +
    343 
    +
    352 #define GLFW_HAT_CENTERED 0
    +
    353 #define GLFW_HAT_UP 1
    +
    354 #define GLFW_HAT_RIGHT 2
    +
    355 #define GLFW_HAT_DOWN 4
    +
    356 #define GLFW_HAT_LEFT 8
    +
    357 #define GLFW_HAT_RIGHT_UP (GLFW_HAT_RIGHT | GLFW_HAT_UP)
    +
    358 #define GLFW_HAT_RIGHT_DOWN (GLFW_HAT_RIGHT | GLFW_HAT_DOWN)
    +
    359 #define GLFW_HAT_LEFT_UP (GLFW_HAT_LEFT | GLFW_HAT_UP)
    +
    360 #define GLFW_HAT_LEFT_DOWN (GLFW_HAT_LEFT | GLFW_HAT_DOWN)
    +
    361 
    +
    387 /* The unknown key */
    +
    388 #define GLFW_KEY_UNKNOWN -1
    +
    389 
    +
    390 /* Printable keys */
    +
    391 #define GLFW_KEY_SPACE 32
    +
    392 #define GLFW_KEY_APOSTROPHE 39 /* ' */
    +
    393 #define GLFW_KEY_COMMA 44 /* , */
    +
    394 #define GLFW_KEY_MINUS 45 /* - */
    +
    395 #define GLFW_KEY_PERIOD 46 /* . */
    +
    396 #define GLFW_KEY_SLASH 47 /* / */
    +
    397 #define GLFW_KEY_0 48
    +
    398 #define GLFW_KEY_1 49
    +
    399 #define GLFW_KEY_2 50
    +
    400 #define GLFW_KEY_3 51
    +
    401 #define GLFW_KEY_4 52
    +
    402 #define GLFW_KEY_5 53
    +
    403 #define GLFW_KEY_6 54
    +
    404 #define GLFW_KEY_7 55
    +
    405 #define GLFW_KEY_8 56
    +
    406 #define GLFW_KEY_9 57
    +
    407 #define GLFW_KEY_SEMICOLON 59 /* ; */
    +
    408 #define GLFW_KEY_EQUAL 61 /* = */
    +
    409 #define GLFW_KEY_A 65
    +
    410 #define GLFW_KEY_B 66
    +
    411 #define GLFW_KEY_C 67
    +
    412 #define GLFW_KEY_D 68
    +
    413 #define GLFW_KEY_E 69
    +
    414 #define GLFW_KEY_F 70
    +
    415 #define GLFW_KEY_G 71
    +
    416 #define GLFW_KEY_H 72
    +
    417 #define GLFW_KEY_I 73
    +
    418 #define GLFW_KEY_J 74
    +
    419 #define GLFW_KEY_K 75
    +
    420 #define GLFW_KEY_L 76
    +
    421 #define GLFW_KEY_M 77
    +
    422 #define GLFW_KEY_N 78
    +
    423 #define GLFW_KEY_O 79
    +
    424 #define GLFW_KEY_P 80
    +
    425 #define GLFW_KEY_Q 81
    +
    426 #define GLFW_KEY_R 82
    +
    427 #define GLFW_KEY_S 83
    +
    428 #define GLFW_KEY_T 84
    +
    429 #define GLFW_KEY_U 85
    +
    430 #define GLFW_KEY_V 86
    +
    431 #define GLFW_KEY_W 87
    +
    432 #define GLFW_KEY_X 88
    +
    433 #define GLFW_KEY_Y 89
    +
    434 #define GLFW_KEY_Z 90
    +
    435 #define GLFW_KEY_LEFT_BRACKET 91 /* [ */
    +
    436 #define GLFW_KEY_BACKSLASH 92 /* \ */
    +
    437 #define GLFW_KEY_RIGHT_BRACKET 93 /* ] */
    +
    438 #define GLFW_KEY_GRAVE_ACCENT 96 /* ` */
    +
    439 #define GLFW_KEY_WORLD_1 161 /* non-US #1 */
    +
    440 #define GLFW_KEY_WORLD_2 162 /* non-US #2 */
    +
    441 
    +
    442 /* Function keys */
    +
    443 #define GLFW_KEY_ESCAPE 256
    +
    444 #define GLFW_KEY_ENTER 257
    +
    445 #define GLFW_KEY_TAB 258
    +
    446 #define GLFW_KEY_BACKSPACE 259
    +
    447 #define GLFW_KEY_INSERT 260
    +
    448 #define GLFW_KEY_DELETE 261
    +
    449 #define GLFW_KEY_RIGHT 262
    +
    450 #define GLFW_KEY_LEFT 263
    +
    451 #define GLFW_KEY_DOWN 264
    +
    452 #define GLFW_KEY_UP 265
    +
    453 #define GLFW_KEY_PAGE_UP 266
    +
    454 #define GLFW_KEY_PAGE_DOWN 267
    +
    455 #define GLFW_KEY_HOME 268
    +
    456 #define GLFW_KEY_END 269
    +
    457 #define GLFW_KEY_CAPS_LOCK 280
    +
    458 #define GLFW_KEY_SCROLL_LOCK 281
    +
    459 #define GLFW_KEY_NUM_LOCK 282
    +
    460 #define GLFW_KEY_PRINT_SCREEN 283
    +
    461 #define GLFW_KEY_PAUSE 284
    +
    462 #define GLFW_KEY_F1 290
    +
    463 #define GLFW_KEY_F2 291
    +
    464 #define GLFW_KEY_F3 292
    +
    465 #define GLFW_KEY_F4 293
    +
    466 #define GLFW_KEY_F5 294
    +
    467 #define GLFW_KEY_F6 295
    +
    468 #define GLFW_KEY_F7 296
    +
    469 #define GLFW_KEY_F8 297
    +
    470 #define GLFW_KEY_F9 298
    +
    471 #define GLFW_KEY_F10 299
    +
    472 #define GLFW_KEY_F11 300
    +
    473 #define GLFW_KEY_F12 301
    +
    474 #define GLFW_KEY_F13 302
    +
    475 #define GLFW_KEY_F14 303
    +
    476 #define GLFW_KEY_F15 304
    +
    477 #define GLFW_KEY_F16 305
    +
    478 #define GLFW_KEY_F17 306
    +
    479 #define GLFW_KEY_F18 307
    +
    480 #define GLFW_KEY_F19 308
    +
    481 #define GLFW_KEY_F20 309
    +
    482 #define GLFW_KEY_F21 310
    +
    483 #define GLFW_KEY_F22 311
    +
    484 #define GLFW_KEY_F23 312
    +
    485 #define GLFW_KEY_F24 313
    +
    486 #define GLFW_KEY_F25 314
    +
    487 #define GLFW_KEY_KP_0 320
    +
    488 #define GLFW_KEY_KP_1 321
    +
    489 #define GLFW_KEY_KP_2 322
    +
    490 #define GLFW_KEY_KP_3 323
    +
    491 #define GLFW_KEY_KP_4 324
    +
    492 #define GLFW_KEY_KP_5 325
    +
    493 #define GLFW_KEY_KP_6 326
    +
    494 #define GLFW_KEY_KP_7 327
    +
    495 #define GLFW_KEY_KP_8 328
    +
    496 #define GLFW_KEY_KP_9 329
    +
    497 #define GLFW_KEY_KP_DECIMAL 330
    +
    498 #define GLFW_KEY_KP_DIVIDE 331
    +
    499 #define GLFW_KEY_KP_MULTIPLY 332
    +
    500 #define GLFW_KEY_KP_SUBTRACT 333
    +
    501 #define GLFW_KEY_KP_ADD 334
    +
    502 #define GLFW_KEY_KP_ENTER 335
    +
    503 #define GLFW_KEY_KP_EQUAL 336
    +
    504 #define GLFW_KEY_LEFT_SHIFT 340
    +
    505 #define GLFW_KEY_LEFT_CONTROL 341
    +
    506 #define GLFW_KEY_LEFT_ALT 342
    +
    507 #define GLFW_KEY_LEFT_SUPER 343
    +
    508 #define GLFW_KEY_RIGHT_SHIFT 344
    +
    509 #define GLFW_KEY_RIGHT_CONTROL 345
    +
    510 #define GLFW_KEY_RIGHT_ALT 346
    +
    511 #define GLFW_KEY_RIGHT_SUPER 347
    +
    512 #define GLFW_KEY_MENU 348
    +
    513 
    +
    514 #define GLFW_KEY_LAST GLFW_KEY_MENU
    +
    515 
    +
    530 #define GLFW_MOD_SHIFT 0x0001
    +
    531 
    +
    535 #define GLFW_MOD_CONTROL 0x0002
    +
    536 
    +
    540 #define GLFW_MOD_ALT 0x0004
    +
    541 
    +
    545 #define GLFW_MOD_SUPER 0x0008
    +
    546 
    +
    551 #define GLFW_MOD_CAPS_LOCK 0x0010
    +
    552 
    +
    557 #define GLFW_MOD_NUM_LOCK 0x0020
    +
    558 
    +
    568 #define GLFW_MOUSE_BUTTON_1 0
    +
    569 #define GLFW_MOUSE_BUTTON_2 1
    +
    570 #define GLFW_MOUSE_BUTTON_3 2
    +
    571 #define GLFW_MOUSE_BUTTON_4 3
    +
    572 #define GLFW_MOUSE_BUTTON_5 4
    +
    573 #define GLFW_MOUSE_BUTTON_6 5
    +
    574 #define GLFW_MOUSE_BUTTON_7 6
    +
    575 #define GLFW_MOUSE_BUTTON_8 7
    +
    576 #define GLFW_MOUSE_BUTTON_LAST GLFW_MOUSE_BUTTON_8
    +
    577 #define GLFW_MOUSE_BUTTON_LEFT GLFW_MOUSE_BUTTON_1
    +
    578 #define GLFW_MOUSE_BUTTON_RIGHT GLFW_MOUSE_BUTTON_2
    +
    579 #define GLFW_MOUSE_BUTTON_MIDDLE GLFW_MOUSE_BUTTON_3
    +
    580 
    +
    589 #define GLFW_JOYSTICK_1 0
    +
    590 #define GLFW_JOYSTICK_2 1
    +
    591 #define GLFW_JOYSTICK_3 2
    +
    592 #define GLFW_JOYSTICK_4 3
    +
    593 #define GLFW_JOYSTICK_5 4
    +
    594 #define GLFW_JOYSTICK_6 5
    +
    595 #define GLFW_JOYSTICK_7 6
    +
    596 #define GLFW_JOYSTICK_8 7
    +
    597 #define GLFW_JOYSTICK_9 8
    +
    598 #define GLFW_JOYSTICK_10 9
    +
    599 #define GLFW_JOYSTICK_11 10
    +
    600 #define GLFW_JOYSTICK_12 11
    +
    601 #define GLFW_JOYSTICK_13 12
    +
    602 #define GLFW_JOYSTICK_14 13
    +
    603 #define GLFW_JOYSTICK_15 14
    +
    604 #define GLFW_JOYSTICK_16 15
    +
    605 #define GLFW_JOYSTICK_LAST GLFW_JOYSTICK_16
    +
    606 
    +
    615 #define GLFW_GAMEPAD_BUTTON_A 0
    +
    616 #define GLFW_GAMEPAD_BUTTON_B 1
    +
    617 #define GLFW_GAMEPAD_BUTTON_X 2
    +
    618 #define GLFW_GAMEPAD_BUTTON_Y 3
    +
    619 #define GLFW_GAMEPAD_BUTTON_LEFT_BUMPER 4
    +
    620 #define GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER 5
    +
    621 #define GLFW_GAMEPAD_BUTTON_BACK 6
    +
    622 #define GLFW_GAMEPAD_BUTTON_START 7
    +
    623 #define GLFW_GAMEPAD_BUTTON_GUIDE 8
    +
    624 #define GLFW_GAMEPAD_BUTTON_LEFT_THUMB 9
    +
    625 #define GLFW_GAMEPAD_BUTTON_RIGHT_THUMB 10
    +
    626 #define GLFW_GAMEPAD_BUTTON_DPAD_UP 11
    +
    627 #define GLFW_GAMEPAD_BUTTON_DPAD_RIGHT 12
    +
    628 #define GLFW_GAMEPAD_BUTTON_DPAD_DOWN 13
    +
    629 #define GLFW_GAMEPAD_BUTTON_DPAD_LEFT 14
    +
    630 #define GLFW_GAMEPAD_BUTTON_LAST GLFW_GAMEPAD_BUTTON_DPAD_LEFT
    +
    631 
    +
    632 #define GLFW_GAMEPAD_BUTTON_CROSS GLFW_GAMEPAD_BUTTON_A
    +
    633 #define GLFW_GAMEPAD_BUTTON_CIRCLE GLFW_GAMEPAD_BUTTON_B
    +
    634 #define GLFW_GAMEPAD_BUTTON_SQUARE GLFW_GAMEPAD_BUTTON_X
    +
    635 #define GLFW_GAMEPAD_BUTTON_TRIANGLE GLFW_GAMEPAD_BUTTON_Y
    +
    636 
    +
    645 #define GLFW_GAMEPAD_AXIS_LEFT_X 0
    +
    646 #define GLFW_GAMEPAD_AXIS_LEFT_Y 1
    +
    647 #define GLFW_GAMEPAD_AXIS_RIGHT_X 2
    +
    648 #define GLFW_GAMEPAD_AXIS_RIGHT_Y 3
    +
    649 #define GLFW_GAMEPAD_AXIS_LEFT_TRIGGER 4
    +
    650 #define GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER 5
    +
    651 #define GLFW_GAMEPAD_AXIS_LAST GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER
    +
    652 
    +
    667 #define GLFW_NO_ERROR 0
    +
    668 
    +
    676 #define GLFW_NOT_INITIALIZED 0x00010001
    +
    677 
    +
    686 #define GLFW_NO_CURRENT_CONTEXT 0x00010002
    +
    687 
    +
    694 #define GLFW_INVALID_ENUM 0x00010003
    +
    695 
    +
    705 #define GLFW_INVALID_VALUE 0x00010004
    +
    706 
    +
    713 #define GLFW_OUT_OF_MEMORY 0x00010005
    +
    714 
    +
    729 #define GLFW_API_UNAVAILABLE 0x00010006
    +
    730 
    +
    746 #define GLFW_VERSION_UNAVAILABLE 0x00010007
    +
    747 
    +
    757 #define GLFW_PLATFORM_ERROR 0x00010008
    +
    758 
    +
    776 #define GLFW_FORMAT_UNAVAILABLE 0x00010009
    +
    777 
    +
    784 #define GLFW_NO_WINDOW_CONTEXT 0x0001000A
    +
    785 
    +
    795 #define GLFW_CURSOR_UNAVAILABLE 0x0001000B
    +
    796 
    +
    809 #define GLFW_FEATURE_UNAVAILABLE 0x0001000C
    +
    810 
    +
    822 #define GLFW_FEATURE_UNIMPLEMENTED 0x0001000D
    +
    823 
    +
    832 #define GLFW_FOCUSED 0x00020001
    +
    833 
    +
    837 #define GLFW_ICONIFIED 0x00020002
    +
    838 
    +
    843 #define GLFW_RESIZABLE 0x00020003
    +
    844 
    +
    849 #define GLFW_VISIBLE 0x00020004
    +
    850 
    +
    855 #define GLFW_DECORATED 0x00020005
    +
    856 
    +
    861 #define GLFW_AUTO_ICONIFY 0x00020006
    +
    862 
    +
    867 #define GLFW_FLOATING 0x00020007
    +
    868 
    +
    873 #define GLFW_MAXIMIZED 0x00020008
    +
    874 
    +
    878 #define GLFW_CENTER_CURSOR 0x00020009
    +
    879 
    +
    885 #define GLFW_TRANSPARENT_FRAMEBUFFER 0x0002000A
    +
    886 
    +
    890 #define GLFW_HOVERED 0x0002000B
    +
    891 
    +
    896 #define GLFW_FOCUS_ON_SHOW 0x0002000C
    +
    897 
    +
    903 #define GLFW_MOUSE_PASSTHROUGH 0x0002000D
    +
    904 
    +
    909 #define GLFW_RED_BITS 0x00021001
    +
    910 
    +
    914 #define GLFW_GREEN_BITS 0x00021002
    +
    915 
    +
    919 #define GLFW_BLUE_BITS 0x00021003
    +
    920 
    +
    924 #define GLFW_ALPHA_BITS 0x00021004
    +
    925 
    +
    929 #define GLFW_DEPTH_BITS 0x00021005
    +
    930 
    +
    934 #define GLFW_STENCIL_BITS 0x00021006
    +
    935 
    +
    939 #define GLFW_ACCUM_RED_BITS 0x00021007
    +
    940 
    +
    944 #define GLFW_ACCUM_GREEN_BITS 0x00021008
    +
    945 
    +
    949 #define GLFW_ACCUM_BLUE_BITS 0x00021009
    +
    950 
    +
    954 #define GLFW_ACCUM_ALPHA_BITS 0x0002100A
    +
    955 
    +
    959 #define GLFW_AUX_BUFFERS 0x0002100B
    +
    960 
    +
    964 #define GLFW_STEREO 0x0002100C
    +
    965 
    +
    969 #define GLFW_SAMPLES 0x0002100D
    +
    970 
    +
    974 #define GLFW_SRGB_CAPABLE 0x0002100E
    +
    975 
    +
    979 #define GLFW_REFRESH_RATE 0x0002100F
    +
    980 
    +
    984 #define GLFW_DOUBLEBUFFER 0x00021010
    +
    985 
    +
    991 #define GLFW_CLIENT_API 0x00022001
    +
    992 
    +
    997 #define GLFW_CONTEXT_VERSION_MAJOR 0x00022002
    +
    998 
    +
    1003 #define GLFW_CONTEXT_VERSION_MINOR 0x00022003
    + +
    1009 #define GLFW_CONTEXT_REVISION 0x00022004
    + +
    1015 #define GLFW_CONTEXT_ROBUSTNESS 0x00022005
    + +
    1021 #define GLFW_OPENGL_FORWARD_COMPAT 0x00022006
    + +
    1027 #define GLFW_CONTEXT_DEBUG 0x00022007
    + +
    1032 #define GLFW_OPENGL_DEBUG_CONTEXT GLFW_CONTEXT_DEBUG
    + +
    1038 #define GLFW_OPENGL_PROFILE 0x00022008
    + +
    1044 #define GLFW_CONTEXT_RELEASE_BEHAVIOR 0x00022009
    + +
    1050 #define GLFW_CONTEXT_NO_ERROR 0x0002200A
    + +
    1056 #define GLFW_CONTEXT_CREATION_API 0x0002200B
    + +
    1060 #define GLFW_SCALE_TO_MONITOR 0x0002200C
    + +
    1064 #define GLFW_COCOA_RETINA_FRAMEBUFFER 0x00023001
    + +
    1068 #define GLFW_COCOA_FRAME_NAME 0x00023002
    + +
    1072 #define GLFW_COCOA_GRAPHICS_SWITCHING 0x00023003
    + +
    1076 #define GLFW_X11_CLASS_NAME 0x00024001
    + +
    1080 #define GLFW_X11_INSTANCE_NAME 0x00024002
    +
    1081 #define GLFW_WIN32_KEYBOARD_MENU 0x00025001
    + +
    1084 #define GLFW_NO_API 0
    +
    1085 #define GLFW_OPENGL_API 0x00030001
    +
    1086 #define GLFW_OPENGL_ES_API 0x00030002
    + +
    1088 #define GLFW_NO_ROBUSTNESS 0
    +
    1089 #define GLFW_NO_RESET_NOTIFICATION 0x00031001
    +
    1090 #define GLFW_LOSE_CONTEXT_ON_RESET 0x00031002
    + +
    1092 #define GLFW_OPENGL_ANY_PROFILE 0
    +
    1093 #define GLFW_OPENGL_CORE_PROFILE 0x00032001
    +
    1094 #define GLFW_OPENGL_COMPAT_PROFILE 0x00032002
    + +
    1096 #define GLFW_CURSOR 0x00033001
    +
    1097 #define GLFW_STICKY_KEYS 0x00033002
    +
    1098 #define GLFW_STICKY_MOUSE_BUTTONS 0x00033003
    +
    1099 #define GLFW_LOCK_KEY_MODS 0x00033004
    +
    1100 #define GLFW_RAW_MOUSE_MOTION 0x00033005
    + +
    1102 #define GLFW_CURSOR_NORMAL 0x00034001
    +
    1103 #define GLFW_CURSOR_HIDDEN 0x00034002
    +
    1104 #define GLFW_CURSOR_DISABLED 0x00034003
    + +
    1106 #define GLFW_ANY_RELEASE_BEHAVIOR 0
    +
    1107 #define GLFW_RELEASE_BEHAVIOR_FLUSH 0x00035001
    +
    1108 #define GLFW_RELEASE_BEHAVIOR_NONE 0x00035002
    + +
    1110 #define GLFW_NATIVE_CONTEXT_API 0x00036001
    +
    1111 #define GLFW_EGL_CONTEXT_API 0x00036002
    +
    1112 #define GLFW_OSMESA_CONTEXT_API 0x00036003
    + +
    1114 #define GLFW_ANGLE_PLATFORM_TYPE_NONE 0x00037001
    +
    1115 #define GLFW_ANGLE_PLATFORM_TYPE_OPENGL 0x00037002
    +
    1116 #define GLFW_ANGLE_PLATFORM_TYPE_OPENGLES 0x00037003
    +
    1117 #define GLFW_ANGLE_PLATFORM_TYPE_D3D9 0x00037004
    +
    1118 #define GLFW_ANGLE_PLATFORM_TYPE_D3D11 0x00037005
    +
    1119 #define GLFW_ANGLE_PLATFORM_TYPE_VULKAN 0x00037007
    +
    1120 #define GLFW_ANGLE_PLATFORM_TYPE_METAL 0x00037008
    + +
    1135 #define GLFW_ARROW_CURSOR 0x00036001
    + +
    1140 #define GLFW_IBEAM_CURSOR 0x00036002
    + +
    1145 #define GLFW_CROSSHAIR_CURSOR 0x00036003
    + +
    1150 #define GLFW_POINTING_HAND_CURSOR 0x00036004
    + +
    1156 #define GLFW_RESIZE_EW_CURSOR 0x00036005
    + +
    1162 #define GLFW_RESIZE_NS_CURSOR 0x00036006
    + +
    1177 #define GLFW_RESIZE_NWSE_CURSOR 0x00036007
    + +
    1192 #define GLFW_RESIZE_NESW_CURSOR 0x00036008
    + +
    1198 #define GLFW_RESIZE_ALL_CURSOR 0x00036009
    + +
    1210 #define GLFW_NOT_ALLOWED_CURSOR 0x0003600A
    + +
    1215 #define GLFW_HRESIZE_CURSOR GLFW_RESIZE_EW_CURSOR
    + +
    1220 #define GLFW_VRESIZE_CURSOR GLFW_RESIZE_NS_CURSOR
    + +
    1225 #define GLFW_HAND_CURSOR GLFW_POINTING_HAND_CURSOR
    + +
    1228 #define GLFW_CONNECTED 0x00040001
    +
    1229 #define GLFW_DISCONNECTED 0x00040002
    + +
    1237 #define GLFW_JOYSTICK_HAT_BUTTONS 0x00050001
    + +
    1242 #define GLFW_ANGLE_PLATFORM_TYPE 0x00050002
    + +
    1247 #define GLFW_COCOA_CHDIR_RESOURCES 0x00051001
    + +
    1252 #define GLFW_COCOA_MENUBAR 0x00051002
    + +
    1255 #define GLFW_DONT_CARE -1
    + +
    1257 
    +
    1258 /*************************************************************************
    +
    1259  * GLFW API types
    +
    1260  *************************************************************************/
    +
    1261 
    +
    1274 typedef void (*GLFWglproc)(void);
    +
    1275 
    +
    1288 typedef void (*GLFWvkproc)(void);
    +
    1289 
    +
    1300 typedef struct GLFWmonitor GLFWmonitor;
    +
    1301 
    +
    1312 typedef struct GLFWwindow GLFWwindow;
    +
    1313 
    +
    1324 typedef struct GLFWcursor GLFWcursor;
    +
    1325 
    +
    1348 typedef void (* GLFWerrorfun)(int,const char*);
    +
    1349 
    +
    1371 typedef void (* GLFWwindowposfun)(GLFWwindow*,int,int);
    +
    1372 
    +
    1393 typedef void (* GLFWwindowsizefun)(GLFWwindow*,int,int);
    +
    1394 
    +
    1413 typedef void (* GLFWwindowclosefun)(GLFWwindow*);
    +
    1414 
    + +
    1434 
    +
    1454 typedef void (* GLFWwindowfocusfun)(GLFWwindow*,int);
    +
    1455 
    +
    1475 typedef void (* GLFWwindowiconifyfun)(GLFWwindow*,int);
    +
    1476 
    +
    1496 typedef void (* GLFWwindowmaximizefun)(GLFWwindow*,int);
    +
    1497 
    +
    1517 typedef void (* GLFWframebuffersizefun)(GLFWwindow*,int,int);
    +
    1518 
    +
    1538 typedef void (* GLFWwindowcontentscalefun)(GLFWwindow*,float,float);
    +
    1539 
    +
    1564 typedef void (* GLFWmousebuttonfun)(GLFWwindow*,int,int,int);
    +
    1565 
    +
    1587 typedef void (* GLFWcursorposfun)(GLFWwindow*,double,double);
    +
    1588 
    +
    1608 typedef void (* GLFWcursorenterfun)(GLFWwindow*,int);
    +
    1609 
    +
    1629 typedef void (* GLFWscrollfun)(GLFWwindow*,double,double);
    +
    1630 
    +
    1655 typedef void (* GLFWkeyfun)(GLFWwindow*,int,int,int,int);
    +
    1656 
    +
    1676 typedef void (* GLFWcharfun)(GLFWwindow*,unsigned int);
    +
    1677 
    +
    1703 typedef void (* GLFWcharmodsfun)(GLFWwindow*,unsigned int,int);
    +
    1704 
    +
    1727 typedef void (* GLFWdropfun)(GLFWwindow*,int,const char*[]);
    +
    1728 
    +
    1748 typedef void (* GLFWmonitorfun)(GLFWmonitor*,int);
    +
    1749 
    +
    1769 typedef void (* GLFWjoystickfun)(int,int);
    +
    1770 
    +
    1784 typedef struct GLFWvidmode
    +
    1785 {
    +
    1788  int width;
    +
    1791  int height;
    +
    1794  int redBits;
    + + + + +
    1805 
    +
    1818 typedef struct GLFWgammaramp
    +
    1819 {
    +
    1822  unsigned short* red;
    +
    1825  unsigned short* green;
    +
    1828  unsigned short* blue;
    +
    1831  unsigned int size;
    + +
    1833 
    +
    1847 typedef struct GLFWimage
    +
    1848 {
    +
    1851  int width;
    +
    1854  int height;
    +
    1857  unsigned char* pixels;
    + +
    1859 
    +
    1871 typedef struct GLFWgamepadstate
    +
    1872 {
    +
    1876  unsigned char buttons[15];
    +
    1880  float axes[6];
    + +
    1882 
    +
    1883 
    +
    1884 /*************************************************************************
    +
    1885  * GLFW API functions
    +
    1886  *************************************************************************/
    +
    1887 
    +
    1932 GLFWAPI int glfwInit(void);
    +
    1933 
    +
    1966 GLFWAPI void glfwTerminate(void);
    +
    1967 
    +
    1998 GLFWAPI void glfwInitHint(int hint, int value);
    +
    1999 
    +
    2025 GLFWAPI void glfwGetVersion(int* major, int* minor, int* rev);
    +
    2026 
    +
    2056 GLFWAPI const char* glfwGetVersionString(void);
    +
    2057 
    +
    2087 GLFWAPI int glfwGetError(const char** description);
    +
    2088 
    + +
    2134 
    +
    2162 GLFWAPI GLFWmonitor** glfwGetMonitors(int* count);
    +
    2163 
    + +
    2187 
    +
    2211 GLFWAPI void glfwGetMonitorPos(GLFWmonitor* monitor, int* xpos, int* ypos);
    +
    2212 
    +
    2242 GLFWAPI void glfwGetMonitorWorkarea(GLFWmonitor* monitor, int* xpos, int* ypos, int* width, int* height);
    +
    2243 
    +
    2276 GLFWAPI void glfwGetMonitorPhysicalSize(GLFWmonitor* monitor, int* widthMM, int* heightMM);
    +
    2277 
    +
    2308 GLFWAPI void glfwGetMonitorContentScale(GLFWmonitor* monitor, float* xscale, float* yscale);
    +
    2309 
    +
    2334 GLFWAPI const char* glfwGetMonitorName(GLFWmonitor* monitor);
    +
    2335 
    +
    2360 GLFWAPI void glfwSetMonitorUserPointer(GLFWmonitor* monitor, void* pointer);
    +
    2361 
    +
    2384 GLFWAPI void* glfwGetMonitorUserPointer(GLFWmonitor* monitor);
    +
    2385 
    + +
    2415 
    +
    2447 GLFWAPI const GLFWvidmode* glfwGetVideoModes(GLFWmonitor* monitor, int* count);
    +
    2448 
    +
    2475 GLFWAPI const GLFWvidmode* glfwGetVideoMode(GLFWmonitor* monitor);
    +
    2476 
    +
    2508 GLFWAPI void glfwSetGamma(GLFWmonitor* monitor, float gamma);
    +
    2509 
    +
    2538 GLFWAPI const GLFWgammaramp* glfwGetGammaRamp(GLFWmonitor* monitor);
    +
    2539 
    +
    2579 GLFWAPI void glfwSetGammaRamp(GLFWmonitor* monitor, const GLFWgammaramp* ramp);
    +
    2580 
    +
    2598 GLFWAPI void glfwDefaultWindowHints(void);
    +
    2599 
    +
    2633 GLFWAPI void glfwWindowHint(int hint, int value);
    +
    2634 
    +
    2671 GLFWAPI void glfwWindowHintString(int hint, const char* value);
    +
    2672 
    +
    2817 GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height, const char* title, GLFWmonitor* monitor, GLFWwindow* share);
    +
    2818 
    +
    2846 GLFWAPI void glfwDestroyWindow(GLFWwindow* window);
    +
    2847 
    +
    2866 GLFWAPI int glfwWindowShouldClose(GLFWwindow* window);
    +
    2867 
    +
    2888 GLFWAPI void glfwSetWindowShouldClose(GLFWwindow* window, int value);
    +
    2889 
    +
    2913 GLFWAPI void glfwSetWindowTitle(GLFWwindow* window, const char* title);
    +
    2914 
    +
    2960 GLFWAPI void glfwSetWindowIcon(GLFWwindow* window, int count, const GLFWimage* images);
    +
    2961 
    +
    2992 GLFWAPI void glfwGetWindowPos(GLFWwindow* window, int* xpos, int* ypos);
    +
    2993 
    +
    3027 GLFWAPI void glfwSetWindowPos(GLFWwindow* window, int xpos, int ypos);
    +
    3028 
    +
    3057 GLFWAPI void glfwGetWindowSize(GLFWwindow* window, int* width, int* height);
    +
    3058 
    +
    3100 GLFWAPI void glfwSetWindowSizeLimits(GLFWwindow* window, int minwidth, int minheight, int maxwidth, int maxheight);
    +
    3101 
    +
    3143 GLFWAPI void glfwSetWindowAspectRatio(GLFWwindow* window, int numer, int denom);
    +
    3144 
    +
    3184 GLFWAPI void glfwSetWindowSize(GLFWwindow* window, int width, int height);
    +
    3185 
    +
    3213 GLFWAPI void glfwGetFramebufferSize(GLFWwindow* window, int* width, int* height);
    +
    3214 
    +
    3250 GLFWAPI void glfwGetWindowFrameSize(GLFWwindow* window, int* left, int* top, int* right, int* bottom);
    +
    3251 
    +
    3283 GLFWAPI void glfwGetWindowContentScale(GLFWwindow* window, float* xscale, float* yscale);
    +
    3284 
    +
    3310 GLFWAPI float glfwGetWindowOpacity(GLFWwindow* window);
    +
    3311 
    +
    3342 GLFWAPI void glfwSetWindowOpacity(GLFWwindow* window, float opacity);
    +
    3343 
    +
    3373 GLFWAPI void glfwIconifyWindow(GLFWwindow* window);
    +
    3374 
    +
    3400 GLFWAPI void glfwRestoreWindow(GLFWwindow* window);
    +
    3401 
    +
    3425 GLFWAPI void glfwMaximizeWindow(GLFWwindow* window);
    +
    3426 
    +
    3452 GLFWAPI void glfwShowWindow(GLFWwindow* window);
    +
    3453 
    +
    3474 GLFWAPI void glfwHideWindow(GLFWwindow* window);
    +
    3475 
    +
    3513 GLFWAPI void glfwFocusWindow(GLFWwindow* window);
    +
    3514 
    + +
    3541 
    + +
    3563 
    +
    3621 GLFWAPI void glfwSetWindowMonitor(GLFWwindow* window, GLFWmonitor* monitor, int xpos, int ypos, int width, int height, int refreshRate);
    +
    3622 
    +
    3655 GLFWAPI int glfwGetWindowAttrib(GLFWwindow* window, int attrib);
    +
    3656 
    +
    3693 GLFWAPI void glfwSetWindowAttrib(GLFWwindow* window, int attrib, int value);
    +
    3694 
    +
    3716 GLFWAPI void glfwSetWindowUserPointer(GLFWwindow* window, void* pointer);
    +
    3717 
    +
    3737 GLFWAPI void* glfwGetWindowUserPointer(GLFWwindow* window);
    +
    3738 
    + +
    3773 
    + +
    3805 
    + +
    3845 
    + +
    3881 
    + +
    3916 
    + +
    3946 
    + +
    3976 
    + +
    4006 
    + +
    4037 
    +
    4074 GLFWAPI void glfwPollEvents(void);
    +
    4075 
    +
    4119 GLFWAPI void glfwWaitEvents(void);
    +
    4120 
    +
    4168 GLFWAPI void glfwWaitEventsTimeout(double timeout);
    +
    4169 
    +
    4188 GLFWAPI void glfwPostEmptyEvent(void);
    +
    4189 
    +
    4213 GLFWAPI int glfwGetInputMode(GLFWwindow* window, int mode);
    +
    4214 
    +
    4276 GLFWAPI void glfwSetInputMode(GLFWwindow* window, int mode, int value);
    +
    4277 
    + +
    4306 
    +
    4373 GLFWAPI const char* glfwGetKeyName(int key, int scancode);
    +
    4374 
    +
    4397 GLFWAPI int glfwGetKeyScancode(int key);
    +
    4398 
    +
    4437 GLFWAPI int glfwGetKey(GLFWwindow* window, int key);
    +
    4438 
    +
    4466 GLFWAPI int glfwGetMouseButton(GLFWwindow* window, int button);
    +
    4467 
    +
    4504 GLFWAPI void glfwGetCursorPos(GLFWwindow* window, double* xpos, double* ypos);
    +
    4505 
    +
    4544 GLFWAPI void glfwSetCursorPos(GLFWwindow* window, double xpos, double ypos);
    +
    4545 
    +
    4582 GLFWAPI GLFWcursor* glfwCreateCursor(const GLFWimage* image, int xhot, int yhot);
    +
    4583 
    + +
    4631 
    +
    4657 GLFWAPI void glfwDestroyCursor(GLFWcursor* cursor);
    +
    4658 
    +
    4684 GLFWAPI void glfwSetCursor(GLFWwindow* window, GLFWcursor* cursor);
    +
    4685 
    + +
    4735 
    + +
    4778 
    + +
    4820 
    + +
    4857 
    + +
    4889 
    + +
    4920 
    + +
    4954 
    + +
    4991 
    +
    5014 GLFWAPI int glfwJoystickPresent(int jid);
    +
    5015 
    +
    5047 GLFWAPI const float* glfwGetJoystickAxes(int jid, int* count);
    +
    5048 
    +
    5088 GLFWAPI const unsigned char* glfwGetJoystickButtons(int jid, int* count);
    +
    5089 
    +
    5145 GLFWAPI const unsigned char* glfwGetJoystickHats(int jid, int* count);
    +
    5146 
    +
    5176 GLFWAPI const char* glfwGetJoystickName(int jid);
    +
    5177 
    +
    5217 GLFWAPI const char* glfwGetJoystickGUID(int jid);
    +
    5218 
    +
    5243 GLFWAPI void glfwSetJoystickUserPointer(int jid, void* pointer);
    +
    5244 
    +
    5267 GLFWAPI void* glfwGetJoystickUserPointer(int jid);
    +
    5268 
    +
    5295 GLFWAPI int glfwJoystickIsGamepad(int jid);
    +
    5296 
    + +
    5332 
    +
    5365 GLFWAPI int glfwUpdateGamepadMappings(const char* string);
    +
    5366 
    +
    5395 GLFWAPI const char* glfwGetGamepadName(int jid);
    +
    5396 
    +
    5433 GLFWAPI int glfwGetGamepadState(int jid, GLFWgamepadstate* state);
    +
    5434 
    +
    5458 GLFWAPI void glfwSetClipboardString(GLFWwindow* window, const char* string);
    +
    5459 
    +
    5488 GLFWAPI const char* glfwGetClipboardString(GLFWwindow* window);
    +
    5489 
    +
    5518 GLFWAPI double glfwGetTime(void);
    +
    5519 
    +
    5548 GLFWAPI void glfwSetTime(double time);
    +
    5549 
    +
    5570 GLFWAPI uint64_t glfwGetTimerValue(void);
    +
    5571 
    +
    5590 GLFWAPI uint64_t glfwGetTimerFrequency(void);
    +
    5591 
    +
    5628 GLFWAPI void glfwMakeContextCurrent(GLFWwindow* window);
    +
    5629 
    + +
    5650 
    +
    5683 GLFWAPI void glfwSwapBuffers(GLFWwindow* window);
    +
    5684 
    +
    5729 GLFWAPI void glfwSwapInterval(int interval);
    +
    5730 
    +
    5767 GLFWAPI int glfwExtensionSupported(const char* extension);
    +
    5768 
    +
    5809 GLFWAPI GLFWglproc glfwGetProcAddress(const char* procname);
    +
    5810 
    +
    5837 GLFWAPI int glfwVulkanSupported(void);
    +
    5838 
    +
    5885 GLFWAPI const char** glfwGetRequiredInstanceExtensions(uint32_t* count);
    +
    5886 
    +
    5887 #if defined(VK_VERSION_1_0)
    +
    5888 
    +
    5928 GLFWAPI GLFWvkproc glfwGetInstanceProcAddress(VkInstance instance, const char* procname);
    +
    5929 
    +
    5965 GLFWAPI int glfwGetPhysicalDevicePresentationSupport(VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily);
    +
    5966 
    +
    6026 GLFWAPI VkResult glfwCreateWindowSurface(VkInstance instance, GLFWwindow* window, const VkAllocationCallbacks* allocator, VkSurfaceKHR* surface);
    +
    6027 
    +
    6028 #endif /*VK_VERSION_1_0*/
    +
    6029 
    +
    6030 
    +
    6031 /*************************************************************************
    +
    6032  * Global definition cleanup
    +
    6033  *************************************************************************/
    +
    6034 
    +
    6035 /* ------------------- BEGIN SYSTEM/COMPILER SPECIFIC -------------------- */
    +
    6036 
    +
    6037 #ifdef GLFW_WINGDIAPI_DEFINED
    +
    6038  #undef WINGDIAPI
    +
    6039  #undef GLFW_WINGDIAPI_DEFINED
    +
    6040 #endif
    +
    6041 
    +
    6042 #ifdef GLFW_CALLBACK_DEFINED
    +
    6043  #undef CALLBACK
    +
    6044  #undef GLFW_CALLBACK_DEFINED
    +
    6045 #endif
    +
    6046 
    +
    6047 /* Some OpenGL related headers need GLAPIENTRY, but it is unconditionally
    +
    6048  * defined by some gl.h variants (OpenBSD) so define it after if needed.
    +
    6049  */
    +
    6050 #ifndef GLAPIENTRY
    +
    6051  #define GLAPIENTRY APIENTRY
    +
    6052 #endif
    +
    6053 
    +
    6054 /* -------------------- END SYSTEM/COMPILER SPECIFIC --------------------- */
    +
    6055 
    +
    6056 
    +
    6057 #ifdef __cplusplus
    +
    6058 }
    +
    6059 #endif
    +
    6060 
    +
    6061 #endif /* _glfw3_h_ */
    +
    6062 
    +
    +
    void(* GLFWwindowclosefun)(GLFWwindow *)
    The function pointer type for window close callbacks.
    Definition: glfw3.h:1413
    +
    void * glfwGetJoystickUserPointer(int jid)
    Returns the user pointer of the specified joystick.
    +
    int glfwGetGamepadState(int jid, GLFWgamepadstate *state)
    Retrieves the state of the specified joystick remapped as a gamepad.
    +
    int glfwGetError(const char **description)
    Returns and clears the last error for the calling thread.
    +
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback(GLFWwindow *window, GLFWframebuffersizefun callback)
    Sets the framebuffer resize callback for the specified window.
    +
    void glfwSetWindowSize(GLFWwindow *window, int width, int height)
    Sets the size of the content area of the specified window.
    +
    void(* GLFWwindowrefreshfun)(GLFWwindow *)
    The function pointer type for window content refresh callbacks.
    Definition: glfw3.h:1433
    +
    double glfwGetTime(void)
    Returns the GLFW time.
    +
    void glfwSetWindowPos(GLFWwindow *window, int xpos, int ypos)
    Sets the position of the content area of the specified window.
    +
    void glfwSetCursorPos(GLFWwindow *window, double xpos, double ypos)
    Sets the position of the cursor, relative to the content area of the window.
    +
    int glfwUpdateGamepadMappings(const char *string)
    Adds the specified SDL_GameControllerDB gamepad mappings.
    +
    const char * glfwGetJoystickName(int jid)
    Returns the name of the specified joystick.
    +
    void glfwSetWindowAttrib(GLFWwindow *window, int attrib, int value)
    Sets an attribute of the specified window.
    +
    struct GLFWvidmode GLFWvidmode
    Video mode type.
    +
    void glfwRestoreWindow(GLFWwindow *window)
    Restores the specified window.
    +
    int glfwGetMouseButton(GLFWwindow *window, int button)
    Returns the last reported state of a mouse button for the specified window.
    +
    int glfwGetKeyScancode(int key)
    Returns the platform-specific scancode of the specified key.
    +
    void(* GLFWmonitorfun)(GLFWmonitor *, int)
    The function pointer type for monitor configuration callbacks.
    Definition: glfw3.h:1748
    +
    void glfwGetMonitorContentScale(GLFWmonitor *monitor, float *xscale, float *yscale)
    Retrieves the content scale for the specified monitor.
    +
    void(* GLFWmousebuttonfun)(GLFWwindow *, int, int, int)
    The function pointer type for mouse button callbacks.
    Definition: glfw3.h:1564
    +
    GLFWcursor * glfwCreateCursor(const GLFWimage *image, int xhot, int yhot)
    Creates a custom cursor.
    +
    void glfwGetWindowContentScale(GLFWwindow *window, float *xscale, float *yscale)
    Retrieves the content scale for the specified window.
    +
    const char * glfwGetKeyName(int key, int scancode)
    Returns the layout-specific name of the specified printable key.
    +
    void(* GLFWdropfun)(GLFWwindow *, int, const char *[])
    The function pointer type for path drop callbacks.
    Definition: glfw3.h:1727
    +
    struct GLFWimage GLFWimage
    Image data.
    +
    void(* GLFWerrorfun)(int, const char *)
    The function pointer type for error callbacks.
    Definition: glfw3.h:1348
    +
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback(GLFWwindow *window, GLFWwindowrefreshfun callback)
    Sets the refresh callback for the specified window.
    +
    GLFWmonitorfun glfwSetMonitorCallback(GLFWmonitorfun callback)
    Sets the monitor configuration callback.
    +
    int height
    Definition: glfw3.h:1854
    +
    Gamma ramp.
    Definition: glfw3.h:1819
    +
    void glfwSetInputMode(GLFWwindow *window, int mode, int value)
    Sets an input option for the specified window.
    +
    void(* GLFWkeyfun)(GLFWwindow *, int, int, int, int)
    The function pointer type for keyboard key callbacks.
    Definition: glfw3.h:1655
    +
    GLFWwindowsizefun glfwSetWindowSizeCallback(GLFWwindow *window, GLFWwindowsizefun callback)
    Sets the size callback for the specified window.
    +
    struct GLFWgamepadstate GLFWgamepadstate
    Gamepad input state.
    +
    GLFWwindow * glfwGetCurrentContext(void)
    Returns the window whose context is current on the calling thread.
    +
    void glfwSetWindowMonitor(GLFWwindow *window, GLFWmonitor *monitor, int xpos, int ypos, int width, int height, int refreshRate)
    Sets the mode, monitor, video mode and placement of a window.
    +
    void glfwGetWindowPos(GLFWwindow *window, int *xpos, int *ypos)
    Retrieves the position of the content area of the specified window.
    +
    GLFWwindowmaximizefun glfwSetWindowMaximizeCallback(GLFWwindow *window, GLFWwindowmaximizefun callback)
    Sets the maximize callback for the specified window.
    +
    void(* GLFWvkproc)(void)
    Vulkan API function pointer type.
    Definition: glfw3.h:1288
    +
    int glfwGetInputMode(GLFWwindow *window, int mode)
    Returns the value of an input option for the specified window.
    +
    void glfwSetWindowTitle(GLFWwindow *window, const char *title)
    Sets the title of the specified window.
    +
    void(* GLFWwindowiconifyfun)(GLFWwindow *, int)
    The function pointer type for window iconify callbacks.
    Definition: glfw3.h:1475
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1312
    +
    void glfwGetMonitorWorkarea(GLFWmonitor *monitor, int *xpos, int *ypos, int *width, int *height)
    Retrieves the work area of the monitor.
    +
    void glfwSetJoystickUserPointer(int jid, void *pointer)
    Sets the user pointer of the specified joystick.
    +
    void glfwTerminate(void)
    Terminates the GLFW library.
    +
    int glfwExtensionSupported(const char *extension)
    Returns whether the specified extension is available.
    +
    void(* GLFWwindowsizefun)(GLFWwindow *, int, int)
    The function pointer type for window size callbacks.
    Definition: glfw3.h:1393
    +
    GLFWmousebuttonfun glfwSetMouseButtonCallback(GLFWwindow *window, GLFWmousebuttonfun callback)
    Sets the mouse button callback.
    +
    void glfwSwapBuffers(GLFWwindow *window)
    Swaps the front and back buffers of the specified window.
    +
    void glfwMakeContextCurrent(GLFWwindow *window)
    Makes the context of the specified window current for the calling thread.
    +
    void glfwSwapInterval(int interval)
    Sets the swap interval for the current context.
    +
    const unsigned char * glfwGetJoystickHats(int jid, int *count)
    Returns the state of all hats of the specified joystick.
    +
    int blueBits
    Definition: glfw3.h:1800
    +
    void glfwGetWindowFrameSize(GLFWwindow *window, int *left, int *top, int *right, int *bottom)
    Retrieves the size of the frame of the window.
    +
    const char * glfwGetGamepadName(int jid)
    Returns the human-readable gamepad name for the specified joystick.
    +
    int glfwWindowShouldClose(GLFWwindow *window)
    Checks the close flag of the specified window.
    +
    void glfwSetTime(double time)
    Sets the GLFW time.
    +
    void glfwSetGammaRamp(GLFWmonitor *monitor, const GLFWgammaramp *ramp)
    Sets the current gamma ramp for the specified monitor.
    +
    void glfwGetCursorPos(GLFWwindow *window, double *xpos, double *ypos)
    Retrieves the position of the cursor relative to the content area of the window.
    +
    void glfwInitHint(int hint, int value)
    Sets the specified init hint to the desired value.
    +
    int glfwJoystickIsGamepad(int jid)
    Returns whether the specified joystick has a gamepad mapping.
    +
    void glfwPollEvents(void)
    Processes all pending events.
    +
    void glfwWaitEvents(void)
    Waits until events are queued and processes them.
    +
    void glfwDestroyCursor(GLFWcursor *cursor)
    Destroys a cursor.
    +
    const unsigned char * glfwGetJoystickButtons(int jid, int *count)
    Returns the state of all buttons of the specified joystick.
    +
    const char * glfwGetMonitorName(GLFWmonitor *monitor)
    Returns the name of the specified monitor.
    +
    GLFWcharfun glfwSetCharCallback(GLFWwindow *window, GLFWcharfun callback)
    Sets the Unicode character callback.
    +
    void glfwSetWindowSizeLimits(GLFWwindow *window, int minwidth, int minheight, int maxwidth, int maxheight)
    Sets the size limits of the specified window.
    +
    GLFWmonitor * glfwGetPrimaryMonitor(void)
    Returns the primary monitor.
    +
    const char * glfwGetJoystickGUID(int jid)
    Returns the SDL compatible GUID of the specified joystick.
    +
    GLFWwindowfocusfun glfwSetWindowFocusCallback(GLFWwindow *window, GLFWwindowfocusfun callback)
    Sets the focus callback for the specified window.
    +
    const char ** glfwGetRequiredInstanceExtensions(uint32_t *count)
    Returns the Vulkan instance extensions required by GLFW.
    +
    GLFWwindowclosefun glfwSetWindowCloseCallback(GLFWwindow *window, GLFWwindowclosefun callback)
    Sets the close callback for the specified window.
    +
    void(* GLFWscrollfun)(GLFWwindow *, double, double)
    The function pointer type for scroll callbacks.
    Definition: glfw3.h:1629
    +
    void glfwFocusWindow(GLFWwindow *window)
    Brings the specified window to front and sets input focus.
    +
    void(* GLFWglproc)(void)
    Client API function pointer type.
    Definition: glfw3.h:1274
    +
    const char * glfwGetClipboardString(GLFWwindow *window)
    Returns the contents of the clipboard as a string.
    +
    int height
    Definition: glfw3.h:1791
    +
    GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback(GLFWwindow *window, GLFWwindowcontentscalefun callback)
    Sets the window content scale callback for the specified window.
    +
    GLFWwindowposfun glfwSetWindowPosCallback(GLFWwindow *window, GLFWwindowposfun callback)
    Sets the position callback for the specified window.
    +
    GLFWcursorenterfun glfwSetCursorEnterCallback(GLFWwindow *window, GLFWcursorenterfun callback)
    Sets the cursor enter/leave callback.
    +
    void glfwSetCursor(GLFWwindow *window, GLFWcursor *cursor)
    Sets the cursor for the window.
    +
    GLFWmonitor ** glfwGetMonitors(int *count)
    Returns the currently connected monitors.
    +
    int glfwRawMouseMotionSupported(void)
    Returns whether raw mouse motion is supported.
    +
    void glfwSetMonitorUserPointer(GLFWmonitor *monitor, void *pointer)
    Sets the user pointer of the specified monitor.
    +
    unsigned char * pixels
    Definition: glfw3.h:1857
    +
    const GLFWvidmode * glfwGetVideoModes(GLFWmonitor *monitor, int *count)
    Returns the available video modes for the specified monitor.
    +
    void glfwShowWindow(GLFWwindow *window)
    Makes the specified window visible.
    +
    unsigned short * green
    Definition: glfw3.h:1825
    +
    void(* GLFWwindowmaximizefun)(GLFWwindow *, int)
    The function pointer type for window maximize callbacks.
    Definition: glfw3.h:1496
    +
    void(* GLFWframebuffersizefun)(GLFWwindow *, int, int)
    The function pointer type for framebuffer size callbacks.
    Definition: glfw3.h:1517
    +
    void glfwRequestWindowAttention(GLFWwindow *window)
    Requests user attention to the specified window.
    +
    int glfwJoystickPresent(int jid)
    Returns whether the specified joystick is present.
    +
    unsigned char buttons[15]
    Definition: glfw3.h:1876
    +
    int glfwVulkanSupported(void)
    Returns whether the Vulkan loader and an ICD have been found.
    +
    void glfwGetMonitorPos(GLFWmonitor *monitor, int *xpos, int *ypos)
    Returns the position of the monitor's viewport on the virtual screen.
    +
    void glfwHideWindow(GLFWwindow *window)
    Hides the specified window.
    +
    int width
    Definition: glfw3.h:1788
    +
    void glfwMaximizeWindow(GLFWwindow *window)
    Maximizes the specified window.
    +
    unsigned int size
    Definition: glfw3.h:1831
    +
    VkResult glfwCreateWindowSurface(VkInstance instance, GLFWwindow *window, const VkAllocationCallbacks *allocator, VkSurfaceKHR *surface)
    Creates a Vulkan surface for the specified window.
    +
    struct GLFWgammaramp GLFWgammaramp
    Gamma ramp.
    +
    uint64_t glfwGetTimerValue(void)
    Returns the current value of the raw timer.
    +
    unsigned short * red
    Definition: glfw3.h:1822
    +
    void glfwDefaultWindowHints(void)
    Resets all window hints to their default values.
    +
    GLFWcursorposfun glfwSetCursorPosCallback(GLFWwindow *window, GLFWcursorposfun callback)
    Sets the cursor position callback.
    +
    uint64_t glfwGetTimerFrequency(void)
    Returns the frequency, in Hz, of the raw timer.
    +
    void(* GLFWwindowcontentscalefun)(GLFWwindow *, float, float)
    The function pointer type for window content scale callbacks.
    Definition: glfw3.h:1538
    +
    void glfwSetWindowIcon(GLFWwindow *window, int count, const GLFWimage *images)
    Sets the icon for the specified window.
    +
    int width
    Definition: glfw3.h:1851
    +
    GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
    Creates a window and its associated context.
    +
    GLFWcharmodsfun glfwSetCharModsCallback(GLFWwindow *window, GLFWcharmodsfun callback)
    Sets the Unicode character with modifiers callback.
    +
    void glfwSetWindowShouldClose(GLFWwindow *window, int value)
    Sets the close flag of the specified window.
    +
    void glfwSetWindowAspectRatio(GLFWwindow *window, int numer, int denom)
    Sets the aspect ratio of the specified window.
    +
    void * glfwGetMonitorUserPointer(GLFWmonitor *monitor)
    Returns the user pointer of the specified monitor.
    +
    void(* GLFWwindowfocusfun)(GLFWwindow *, int)
    The function pointer type for window focus callbacks.
    Definition: glfw3.h:1454
    +
    void glfwWaitEventsTimeout(double timeout)
    Waits with timeout until events are queued and processes them.
    +
    int greenBits
    Definition: glfw3.h:1797
    +
    void(* GLFWwindowposfun)(GLFWwindow *, int, int)
    The function pointer type for window position callbacks.
    Definition: glfw3.h:1371
    +
    void glfwGetMonitorPhysicalSize(GLFWmonitor *monitor, int *widthMM, int *heightMM)
    Returns the physical size of the monitor.
    +
    GLFWjoystickfun glfwSetJoystickCallback(GLFWjoystickfun callback)
    Sets the joystick configuration callback.
    +
    Gamepad input state.
    Definition: glfw3.h:1872
    +
    struct GLFWcursor GLFWcursor
    Opaque cursor object.
    Definition: glfw3.h:1324
    +
    GLFWcursor * glfwCreateStandardCursor(int shape)
    Creates a cursor with a standard shape.
    +
    int glfwInit(void)
    Initializes the GLFW library.
    +
    float axes[6]
    Definition: glfw3.h:1880
    +
    void glfwWindowHintString(int hint, const char *value)
    Sets the specified window hint to the desired value.
    +
    float glfwGetWindowOpacity(GLFWwindow *window)
    Returns the opacity of the whole window.
    +
    Image data.
    Definition: glfw3.h:1848
    +
    void glfwSetWindowOpacity(GLFWwindow *window, float opacity)
    Sets the opacity of the whole window.
    +
    GLFWglproc glfwGetProcAddress(const char *procname)
    Returns the address of the specified function for the current context.
    +
    const GLFWgammaramp * glfwGetGammaRamp(GLFWmonitor *monitor)
    Returns the current gamma ramp for the specified monitor.
    +
    void(* GLFWcharmodsfun)(GLFWwindow *, unsigned int, int)
    The function pointer type for Unicode character with modifiers callbacks.
    Definition: glfw3.h:1703
    +
    void(* GLFWcursorenterfun)(GLFWwindow *, int)
    The function pointer type for cursor enter/leave callbacks.
    Definition: glfw3.h:1608
    +
    GLFWdropfun glfwSetDropCallback(GLFWwindow *window, GLFWdropfun callback)
    Sets the path drop callback.
    +
    unsigned short * blue
    Definition: glfw3.h:1828
    +
    GLFWmonitor * glfwGetWindowMonitor(GLFWwindow *window)
    Returns the monitor that the window uses for full screen mode.
    +
    GLFWkeyfun glfwSetKeyCallback(GLFWwindow *window, GLFWkeyfun callback)
    Sets the key callback.
    +
    void glfwIconifyWindow(GLFWwindow *window)
    Iconifies the specified window.
    +
    void(* GLFWcharfun)(GLFWwindow *, unsigned int)
    The function pointer type for Unicode character callbacks.
    Definition: glfw3.h:1676
    +
    const char * glfwGetVersionString(void)
    Returns a string describing the compile-time configuration.
    +
    void glfwSetWindowUserPointer(GLFWwindow *window, void *pointer)
    Sets the user pointer of the specified window.
    +
    void(* GLFWjoystickfun)(int, int)
    The function pointer type for joystick configuration callbacks.
    Definition: glfw3.h:1769
    +
    void glfwPostEmptyEvent(void)
    Posts an empty event to the event queue.
    +
    int glfwGetWindowAttrib(GLFWwindow *window, int attrib)
    Returns an attribute of the specified window.
    +
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback(GLFWwindow *window, GLFWwindowiconifyfun callback)
    Sets the iconify callback for the specified window.
    +
    GLFWscrollfun glfwSetScrollCallback(GLFWwindow *window, GLFWscrollfun callback)
    Sets the scroll callback.
    +
    int glfwGetKey(GLFWwindow *window, int key)
    Returns the last reported state of a keyboard key for the specified window.
    +
    void(* GLFWcursorposfun)(GLFWwindow *, double, double)
    The function pointer type for cursor position callbacks.
    Definition: glfw3.h:1587
    +
    void glfwGetWindowSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the content area of the specified window.
    +
    const float * glfwGetJoystickAxes(int jid, int *count)
    Returns the values of all axes of the specified joystick.
    +
    Video mode type.
    Definition: glfw3.h:1785
    +
    GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun callback)
    Sets the error callback.
    +
    void glfwGetFramebufferSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the framebuffer of the specified window.
    +
    int redBits
    Definition: glfw3.h:1794
    +
    void glfwWindowHint(int hint, int value)
    Sets the specified window hint to the desired value.
    +
    void glfwGetVersion(int *major, int *minor, int *rev)
    Retrieves the version of the GLFW library.
    +
    int glfwGetPhysicalDevicePresentationSupport(VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily)
    Returns whether the specified queue family can present images.
    +
    void glfwSetGamma(GLFWmonitor *monitor, float gamma)
    Generates a gamma ramp and sets it for the specified monitor.
    +
    const GLFWvidmode * glfwGetVideoMode(GLFWmonitor *monitor)
    Returns the current mode of the specified monitor.
    +
    void glfwSetClipboardString(GLFWwindow *window, const char *string)
    Sets the clipboard to the specified string.
    +
    void glfwDestroyWindow(GLFWwindow *window)
    Destroys the specified window and its context.
    +
    struct GLFWmonitor GLFWmonitor
    Opaque monitor object.
    Definition: glfw3.h:1300
    +
    int refreshRate
    Definition: glfw3.h:1803
    +
    void * glfwGetWindowUserPointer(GLFWwindow *window)
    Returns the user pointer of the specified window.
    +
    GLFWvkproc glfwGetInstanceProcAddress(VkInstance instance, const char *procname)
    Returns the address of the specified Vulkan instance function.
    + + + diff --git a/docs/3.4/glfw3native_8h.html b/docs/3.4/glfw3native_8h.html new file mode 100644 index 0000000..292c473 --- /dev/null +++ b/docs/3.4/glfw3native_8h.html @@ -0,0 +1,160 @@ + + + + + + + +GLFW: glfw3native.h File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    + +
    +
    glfw3native.h File Reference
    +
    +
    +

    Description

    +

    This is the header file of the native access functions. See Native access for more information.

    +
    +

    Go to the source code of this file.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    const char * glfwGetWin32Adapter (GLFWmonitor *monitor)
     Returns the adapter device name of the specified monitor. More...
     
    const char * glfwGetWin32Monitor (GLFWmonitor *monitor)
     Returns the display device name of the specified monitor. More...
     
    HWND glfwGetWin32Window (GLFWwindow *window)
     Returns the HWND of the specified window. More...
     
    HGLRC glfwGetWGLContext (GLFWwindow *window)
     Returns the HGLRC of the specified window. More...
     
    CGDirectDisplayID glfwGetCocoaMonitor (GLFWmonitor *monitor)
     Returns the CGDirectDisplayID of the specified monitor. More...
     
    id glfwGetCocoaWindow (GLFWwindow *window)
     Returns the NSWindow of the specified window. More...
     
    id glfwGetNSGLContext (GLFWwindow *window)
     Returns the NSOpenGLContext of the specified window. More...
     
    Display * glfwGetX11Display (void)
     Returns the Display used by GLFW. More...
     
    RRCrtc glfwGetX11Adapter (GLFWmonitor *monitor)
     Returns the RRCrtc of the specified monitor. More...
     
    RROutput glfwGetX11Monitor (GLFWmonitor *monitor)
     Returns the RROutput of the specified monitor. More...
     
    Window glfwGetX11Window (GLFWwindow *window)
     Returns the Window of the specified window. More...
     
    void glfwSetX11SelectionString (const char *string)
     Sets the current primary selection to the specified string. More...
     
    const char * glfwGetX11SelectionString (void)
     Returns the contents of the current primary selection as a string. More...
     
    GLXContext glfwGetGLXContext (GLFWwindow *window)
     Returns the GLXContext of the specified window. More...
     
    GLXWindow glfwGetGLXWindow (GLFWwindow *window)
     Returns the GLXWindow of the specified window. More...
     
    struct wl_display * glfwGetWaylandDisplay (void)
     Returns the struct wl_display* used by GLFW. More...
     
    struct wl_output * glfwGetWaylandMonitor (GLFWmonitor *monitor)
     Returns the struct wl_output* of the specified monitor. More...
     
    struct wl_surface * glfwGetWaylandWindow (GLFWwindow *window)
     Returns the main struct wl_surface* of the specified window. More...
     
    EGLDisplay glfwGetEGLDisplay (void)
     Returns the EGLDisplay used by GLFW. More...
     
    EGLContext glfwGetEGLContext (GLFWwindow *window)
     Returns the EGLContext of the specified window. More...
     
    EGLSurface glfwGetEGLSurface (GLFWwindow *window)
     Returns the EGLSurface of the specified window. More...
     
    int glfwGetOSMesaColorBuffer (GLFWwindow *window, int *width, int *height, int *format, void **buffer)
     Retrieves the color buffer associated with the specified window. More...
     
    int glfwGetOSMesaDepthBuffer (GLFWwindow *window, int *width, int *height, int *bytesPerValue, void **buffer)
     Retrieves the depth buffer associated with the specified window. More...
     
    OSMesaContext glfwGetOSMesaContext (GLFWwindow *window)
     Returns the OSMesaContext of the specified window. More...
     
    +
    + + + diff --git a/docs/3.4/glfw3native_8h_source.html b/docs/3.4/glfw3native_8h_source.html new file mode 100644 index 0000000..8ad5fca --- /dev/null +++ b/docs/3.4/glfw3native_8h_source.html @@ -0,0 +1,273 @@ + + + + + + + +GLFW: glfw3native.h Source File + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    glfw3native.h
    +
    +
    +Go to the documentation of this file.
    1 /*************************************************************************
    +
    2  * GLFW 3.4 - www.glfw.org
    +
    3  * A library for OpenGL, window and input
    +
    4  *------------------------------------------------------------------------
    +
    5  * Copyright (c) 2002-2006 Marcus Geelnard
    +
    6  * Copyright (c) 2006-2018 Camilla Löwy <elmindreda@glfw.org>
    +
    7  *
    +
    8  * This software is provided 'as-is', without any express or implied
    +
    9  * warranty. In no event will the authors be held liable for any damages
    +
    10  * arising from the use of this software.
    +
    11  *
    +
    12  * Permission is granted to anyone to use this software for any purpose,
    +
    13  * including commercial applications, and to alter it and redistribute it
    +
    14  * freely, subject to the following restrictions:
    +
    15  *
    +
    16  * 1. The origin of this software must not be misrepresented; you must not
    +
    17  * claim that you wrote the original software. If you use this software
    +
    18  * in a product, an acknowledgment in the product documentation would
    +
    19  * be appreciated but is not required.
    +
    20  *
    +
    21  * 2. Altered source versions must be plainly marked as such, and must not
    +
    22  * be misrepresented as being the original software.
    +
    23  *
    +
    24  * 3. This notice may not be removed or altered from any source
    +
    25  * distribution.
    +
    26  *
    +
    27  *************************************************************************/
    +
    28 
    +
    29 #ifndef _glfw3_native_h_
    +
    30 #define _glfw3_native_h_
    +
    31 
    +
    32 #ifdef __cplusplus
    +
    33 extern "C" {
    +
    34 #endif
    +
    35 
    +
    36 
    +
    37 /*************************************************************************
    +
    38  * Doxygen documentation
    +
    39  *************************************************************************/
    +
    40 
    +
    80 /*************************************************************************
    +
    81  * System headers and types
    +
    82  *************************************************************************/
    +
    83 
    +
    84 #if defined(GLFW_EXPOSE_NATIVE_WIN32) || defined(GLFW_EXPOSE_NATIVE_WGL)
    +
    85  // This is a workaround for the fact that glfw3.h needs to export APIENTRY (for
    +
    86  // example to allow applications to correctly declare a GL_ARB_debug_output
    +
    87  // callback) but windows.h assumes no one will define APIENTRY before it does
    +
    88  #if defined(GLFW_APIENTRY_DEFINED)
    +
    89  #undef APIENTRY
    +
    90  #undef GLFW_APIENTRY_DEFINED
    +
    91  #endif
    +
    92  #include <windows.h>
    +
    93 #elif defined(GLFW_EXPOSE_NATIVE_COCOA) || defined(GLFW_EXPOSE_NATIVE_NSGL)
    +
    94  #if defined(__OBJC__)
    +
    95  #import <Cocoa/Cocoa.h>
    +
    96  #else
    +
    97  #include <ApplicationServices/ApplicationServices.h>
    +
    98  typedef void* id;
    +
    99  #endif
    +
    100 #elif defined(GLFW_EXPOSE_NATIVE_X11) || defined(GLFW_EXPOSE_NATIVE_GLX)
    +
    101  #include <X11/Xlib.h>
    +
    102  #include <X11/extensions/Xrandr.h>
    +
    103 #elif defined(GLFW_EXPOSE_NATIVE_WAYLAND)
    +
    104  #include <wayland-client.h>
    +
    105 #endif
    +
    106 
    +
    107 #if defined(GLFW_EXPOSE_NATIVE_WGL)
    +
    108  /* WGL is declared by windows.h */
    +
    109 #endif
    +
    110 #if defined(GLFW_EXPOSE_NATIVE_NSGL)
    +
    111  /* NSGL is declared by Cocoa.h */
    +
    112 #endif
    +
    113 #if defined(GLFW_EXPOSE_NATIVE_GLX)
    +
    114  #include <GL/glx.h>
    +
    115 #endif
    +
    116 #if defined(GLFW_EXPOSE_NATIVE_EGL)
    +
    117  #include <EGL/egl.h>
    +
    118 #endif
    +
    119 #if defined(GLFW_EXPOSE_NATIVE_OSMESA)
    +
    120  #include <GL/osmesa.h>
    +
    121 #endif
    +
    122 
    +
    123 
    +
    124 /*************************************************************************
    +
    125  * Functions
    +
    126  *************************************************************************/
    +
    127 
    +
    128 #if defined(GLFW_EXPOSE_NATIVE_WIN32)
    +
    129 
    +
    142 GLFWAPI const char* glfwGetWin32Adapter(GLFWmonitor* monitor);
    +
    143 
    +
    157 GLFWAPI const char* glfwGetWin32Monitor(GLFWmonitor* monitor);
    +
    158 
    +
    171 GLFWAPI HWND glfwGetWin32Window(GLFWwindow* window);
    +
    172 #endif
    +
    173 
    +
    174 #if defined(GLFW_EXPOSE_NATIVE_WGL)
    +
    175 
    +
    187 GLFWAPI HGLRC glfwGetWGLContext(GLFWwindow* window);
    +
    188 #endif
    +
    189 
    +
    190 #if defined(GLFW_EXPOSE_NATIVE_COCOA)
    +
    191 
    +
    203 GLFWAPI CGDirectDisplayID glfwGetCocoaMonitor(GLFWmonitor* monitor);
    +
    204 
    +
    217 GLFWAPI id glfwGetCocoaWindow(GLFWwindow* window);
    +
    218 #endif
    +
    219 
    +
    220 #if defined(GLFW_EXPOSE_NATIVE_NSGL)
    +
    221 
    +
    233 GLFWAPI id glfwGetNSGLContext(GLFWwindow* window);
    +
    234 #endif
    +
    235 
    +
    236 #if defined(GLFW_EXPOSE_NATIVE_X11)
    +
    237 
    +
    249 GLFWAPI Display* glfwGetX11Display(void);
    +
    250 
    +
    263 GLFWAPI RRCrtc glfwGetX11Adapter(GLFWmonitor* monitor);
    +
    264 
    +
    277 GLFWAPI RROutput glfwGetX11Monitor(GLFWmonitor* monitor);
    +
    278 
    +
    291 GLFWAPI Window glfwGetX11Window(GLFWwindow* window);
    +
    292 
    +
    313 GLFWAPI void glfwSetX11SelectionString(const char* string);
    +
    314 
    +
    341 GLFWAPI const char* glfwGetX11SelectionString(void);
    +
    342 #endif
    +
    343 
    +
    344 #if defined(GLFW_EXPOSE_NATIVE_GLX)
    +
    345 
    +
    357 GLFWAPI GLXContext glfwGetGLXContext(GLFWwindow* window);
    +
    358 
    +
    371 GLFWAPI GLXWindow glfwGetGLXWindow(GLFWwindow* window);
    +
    372 #endif
    +
    373 
    +
    374 #if defined(GLFW_EXPOSE_NATIVE_WAYLAND)
    +
    375 
    +
    387 GLFWAPI struct wl_display* glfwGetWaylandDisplay(void);
    +
    388 
    +
    401 GLFWAPI struct wl_output* glfwGetWaylandMonitor(GLFWmonitor* monitor);
    +
    402 
    +
    415 GLFWAPI struct wl_surface* glfwGetWaylandWindow(GLFWwindow* window);
    +
    416 #endif
    +
    417 
    +
    418 #if defined(GLFW_EXPOSE_NATIVE_EGL)
    +
    419 
    +
    431 GLFWAPI EGLDisplay glfwGetEGLDisplay(void);
    +
    432 
    +
    445 GLFWAPI EGLContext glfwGetEGLContext(GLFWwindow* window);
    +
    446 
    +
    459 GLFWAPI EGLSurface glfwGetEGLSurface(GLFWwindow* window);
    +
    460 #endif
    +
    461 
    +
    462 #if defined(GLFW_EXPOSE_NATIVE_OSMESA)
    +
    463 
    +
    482 GLFWAPI int glfwGetOSMesaColorBuffer(GLFWwindow* window, int* width, int* height, int* format, void** buffer);
    +
    483 
    +
    503 GLFWAPI int glfwGetOSMesaDepthBuffer(GLFWwindow* window, int* width, int* height, int* bytesPerValue, void** buffer);
    +
    504 
    +
    517 GLFWAPI OSMesaContext glfwGetOSMesaContext(GLFWwindow* window);
    +
    518 #endif
    +
    519 
    +
    520 #ifdef __cplusplus
    +
    521 }
    +
    522 #endif
    +
    523 
    +
    524 #endif /* _glfw3_native_h_ */
    +
    525 
    +
    +
    int glfwGetOSMesaDepthBuffer(GLFWwindow *window, int *width, int *height, int *bytesPerValue, void **buffer)
    Retrieves the depth buffer associated with the specified window.
    +
    const char * glfwGetX11SelectionString(void)
    Returns the contents of the current primary selection as a string.
    +
    GLXWindow glfwGetGLXWindow(GLFWwindow *window)
    Returns the GLXWindow of the specified window.
    +
    struct wl_display * glfwGetWaylandDisplay(void)
    Returns the struct wl_display* used by GLFW.
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1312
    +
    CGDirectDisplayID glfwGetCocoaMonitor(GLFWmonitor *monitor)
    Returns the CGDirectDisplayID of the specified monitor.
    +
    EGLContext glfwGetEGLContext(GLFWwindow *window)
    Returns the EGLContext of the specified window.
    +
    void glfwSetX11SelectionString(const char *string)
    Sets the current primary selection to the specified string.
    +
    struct wl_output * glfwGetWaylandMonitor(GLFWmonitor *monitor)
    Returns the struct wl_output* of the specified monitor.
    +
    HGLRC glfwGetWGLContext(GLFWwindow *window)
    Returns the HGLRC of the specified window.
    +
    GLXContext glfwGetGLXContext(GLFWwindow *window)
    Returns the GLXContext of the specified window.
    +
    Display * glfwGetX11Display(void)
    Returns the Display used by GLFW.
    +
    id glfwGetCocoaWindow(GLFWwindow *window)
    Returns the NSWindow of the specified window.
    +
    struct wl_surface * glfwGetWaylandWindow(GLFWwindow *window)
    Returns the main struct wl_surface* of the specified window.
    +
    const char * glfwGetWin32Monitor(GLFWmonitor *monitor)
    Returns the display device name of the specified monitor.
    +
    id glfwGetNSGLContext(GLFWwindow *window)
    Returns the NSOpenGLContext of the specified window.
    +
    const char * glfwGetWin32Adapter(GLFWmonitor *monitor)
    Returns the adapter device name of the specified monitor.
    +
    OSMesaContext glfwGetOSMesaContext(GLFWwindow *window)
    Returns the OSMesaContext of the specified window.
    +
    Window glfwGetX11Window(GLFWwindow *window)
    Returns the Window of the specified window.
    +
    EGLSurface glfwGetEGLSurface(GLFWwindow *window)
    Returns the EGLSurface of the specified window.
    +
    int glfwGetOSMesaColorBuffer(GLFWwindow *window, int *width, int *height, int *format, void **buffer)
    Retrieves the color buffer associated with the specified window.
    +
    RROutput glfwGetX11Monitor(GLFWmonitor *monitor)
    Returns the RROutput of the specified monitor.
    +
    RRCrtc glfwGetX11Adapter(GLFWmonitor *monitor)
    Returns the RRCrtc of the specified monitor.
    +
    EGLDisplay glfwGetEGLDisplay(void)
    Returns the EGLDisplay used by GLFW.
    +
    HWND glfwGetWin32Window(GLFWwindow *window)
    Returns the HWND of the specified window.
    +
    struct GLFWmonitor GLFWmonitor
    Opaque monitor object.
    Definition: glfw3.h:1300
    + + + diff --git a/docs/3.4/group__buttons.html b/docs/3.4/group__buttons.html new file mode 100644 index 0000000..2bc446c --- /dev/null +++ b/docs/3.4/group__buttons.html @@ -0,0 +1,275 @@ + + + + + + + +GLFW: Mouse buttons + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Mouse buttons
    +
    +
    +

    Description

    +

    See mouse button input for how these are used.

    + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_MOUSE_BUTTON_1   0
     
    #define GLFW_MOUSE_BUTTON_2   1
     
    #define GLFW_MOUSE_BUTTON_3   2
     
    #define GLFW_MOUSE_BUTTON_4   3
     
    #define GLFW_MOUSE_BUTTON_5   4
     
    #define GLFW_MOUSE_BUTTON_6   5
     
    #define GLFW_MOUSE_BUTTON_7   6
     
    #define GLFW_MOUSE_BUTTON_8   7
     
    #define GLFW_MOUSE_BUTTON_LAST   GLFW_MOUSE_BUTTON_8
     
    #define GLFW_MOUSE_BUTTON_LEFT   GLFW_MOUSE_BUTTON_1
     
    #define GLFW_MOUSE_BUTTON_RIGHT   GLFW_MOUSE_BUTTON_2
     
    #define GLFW_MOUSE_BUTTON_MIDDLE   GLFW_MOUSE_BUTTON_3
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_MOUSE_BUTTON_1

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_1   0
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_2

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_2   1
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_3

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_3   2
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_4

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_4   3
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_5

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_5   4
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_6

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_6   5
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_7

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_7   6
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_8

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_8   7
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_LAST

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_LAST   GLFW_MOUSE_BUTTON_8
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_LEFT

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_LEFT   GLFW_MOUSE_BUTTON_1
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_RIGHT

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_RIGHT   GLFW_MOUSE_BUTTON_2
    +
    + +
    +
    + +

    ◆ GLFW_MOUSE_BUTTON_MIDDLE

    + +
    +
    + + + + +
    #define GLFW_MOUSE_BUTTON_MIDDLE   GLFW_MOUSE_BUTTON_3
    +
    + +
    +
    +
    + + + diff --git a/docs/3.4/group__context.html b/docs/3.4/group__context.html new file mode 100644 index 0000000..239bfad --- /dev/null +++ b/docs/3.4/group__context.html @@ -0,0 +1,295 @@ + + + + + + + +GLFW: Context reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Context reference
    +
    +
    +

    Description

    +

    This is the reference documentation for OpenGL and OpenGL ES context related functions. For more task-oriented information, see the Context guide.

    + + + + + +

    +Typedefs

    typedef void(* GLFWglproc) (void)
     Client API function pointer type. More...
     
    + + + + + + + + + + + + + + + + +

    +Functions

    void glfwMakeContextCurrent (GLFWwindow *window)
     Makes the context of the specified window current for the calling thread. More...
     
    GLFWwindowglfwGetCurrentContext (void)
     Returns the window whose context is current on the calling thread. More...
     
    void glfwSwapInterval (int interval)
     Sets the swap interval for the current context. More...
     
    int glfwExtensionSupported (const char *extension)
     Returns whether the specified extension is available. More...
     
    GLFWglproc glfwGetProcAddress (const char *procname)
     Returns the address of the specified function for the current context. More...
     
    +

    Typedef Documentation

    + +

    ◆ GLFWglproc

    + +
    +
    + + + + +
    typedef void(* GLFWglproc) (void)
    +
    +

    Generic function pointer used for returning client API function pointers without forcing a cast from a regular pointer.

    +
    See also
    OpenGL and OpenGL ES extensions
    +
    +glfwGetProcAddress
    +
    Since
    Added in version 3.0.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwMakeContextCurrent()

    + +
    +
    + + + + + + + + +
    void glfwMakeContextCurrent (GLFWwindowwindow)
    +
    +

    This function makes the OpenGL or OpenGL ES context of the specified window current on the calling thread. A context must only be made current on a single thread at a time and each thread can have only a single current context at a time.

    +

    When moving a context between threads, you must make it non-current on the old thread before making it current on the new one.

    +

    By default, making a context non-current implicitly forces a pipeline flush. On machines that support GL_KHR_context_flush_control, you can control whether a context performs this flush by setting the GLFW_CONTEXT_RELEASE_BEHAVIOR hint.

    +

    The specified window must have an OpenGL or OpenGL ES context. Specifying a window without a context will generate a GLFW_NO_WINDOW_CONTEXT error.

    +
    Parameters
    + + +
    [in]windowThe window whose context to make current, or NULL to detach the current context.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_NO_WINDOW_CONTEXT and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Current context
    +
    +glfwGetCurrentContext
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetCurrentContext()

    + +
    +
    + + + + + + + + +
    GLFWwindow* glfwGetCurrentContext (void )
    +
    +

    This function returns the window whose OpenGL or OpenGL ES context is current on the calling thread.

    +
    Returns
    The window whose context is current, or NULL if no window's context is current.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Current context
    +
    +glfwMakeContextCurrent
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSwapInterval()

    + +
    +
    + + + + + + + + +
    void glfwSwapInterval (int interval)
    +
    +

    This function sets the swap interval for the current OpenGL or OpenGL ES context, i.e. the number of screen updates to wait from the time glfwSwapBuffers was called before swapping the buffers and returning. This is sometimes called vertical synchronization, vertical retrace synchronization or just vsync.

    +

    A context that supports either of the WGL_EXT_swap_control_tear and GLX_EXT_swap_control_tear extensions also accepts negative swap intervals, which allows the driver to swap immediately even if a frame arrives a little bit late. You can check for these extensions with glfwExtensionSupported.

    +

    A context must be current on the calling thread. Calling this function without a current context will cause a GLFW_NO_CURRENT_CONTEXT error.

    +

    This function does not apply to Vulkan. If you are rendering with Vulkan, see the present mode of your swapchain instead.

    +
    Parameters
    + + +
    [in]intervalThe minimum number of screen updates to wait for until the buffers are swapped by glfwSwapBuffers.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_NO_CURRENT_CONTEXT and GLFW_PLATFORM_ERROR.
    +
    Remarks
    This function is not called during context creation, leaving the swap interval set to whatever is the default on that platform. This is done because some swap interval extensions used by GLFW do not allow the swap interval to be reset to zero once it has been set to a non-zero value.
    +
    +Some GPU drivers do not honor the requested swap interval, either because of a user setting that overrides the application's request or due to bugs in the driver.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Buffer swapping
    +
    +glfwSwapBuffers
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwExtensionSupported()

    + +
    +
    + + + + + + + + +
    int glfwExtensionSupported (const char * extension)
    +
    +

    This function returns whether the specified API extension is supported by the current OpenGL or OpenGL ES context. It searches both for client API extension and context creation API extensions.

    +

    A context must be current on the calling thread. Calling this function without a current context will cause a GLFW_NO_CURRENT_CONTEXT error.

    +

    As this functions retrieves and searches one or more extension strings each call, it is recommended that you cache its results if it is going to be used frequently. The extension strings will not change during the lifetime of a context, so there is no danger in doing this.

    +

    This function does not apply to Vulkan. If you are using Vulkan, see glfwGetRequiredInstanceExtensions, vkEnumerateInstanceExtensionProperties and vkEnumerateDeviceExtensionProperties instead.

    +
    Parameters
    + + +
    [in]extensionThe ASCII encoded name of the extension.
    +
    +
    +
    Returns
    GLFW_TRUE if the extension is available, or GLFW_FALSE otherwise.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_NO_CURRENT_CONTEXT, GLFW_INVALID_VALUE and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    OpenGL and OpenGL ES extensions
    +
    +glfwGetProcAddress
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwGetProcAddress()

    + +
    +
    + + + + + + + + +
    GLFWglproc glfwGetProcAddress (const char * procname)
    +
    +

    This function returns the address of the specified OpenGL or OpenGL ES core or extension function, if it is supported by the current context.

    +

    A context must be current on the calling thread. Calling this function without a current context will cause a GLFW_NO_CURRENT_CONTEXT error.

    +

    This function does not apply to Vulkan. If you are rendering with Vulkan, see glfwGetInstanceProcAddress, vkGetInstanceProcAddr and vkGetDeviceProcAddr instead.

    +
    Parameters
    + + +
    [in]procnameThe ASCII encoded name of the function.
    +
    +
    +
    Returns
    The address of the function, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_NO_CURRENT_CONTEXT and GLFW_PLATFORM_ERROR.
    +
    Remarks
    The address of a given function is not guaranteed to be the same between contexts.
    +
    +This function may return a non-NULL address despite the associated version or extension not being available. Always check the context version or extension string first.
    +
    Pointer lifetime
    The returned function pointer is valid until the context is destroyed or the library is terminated.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    OpenGL and OpenGL ES extensions
    +
    +glfwExtensionSupported
    +
    Since
    Added in version 1.0.
    + +
    +
    +
    + + + diff --git a/docs/3.4/group__errors.html b/docs/3.4/group__errors.html new file mode 100644 index 0000000..8c6d647 --- /dev/null +++ b/docs/3.4/group__errors.html @@ -0,0 +1,356 @@ + + + + + + + +GLFW: Error codes + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + + +
    +

    Description

    +

    See error handling for how these are used.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_NO_ERROR   0
     No error has occurred. More...
     
    #define GLFW_NOT_INITIALIZED   0x00010001
     GLFW has not been initialized. More...
     
    #define GLFW_NO_CURRENT_CONTEXT   0x00010002
     No context is current for this thread. More...
     
    #define GLFW_INVALID_ENUM   0x00010003
     One of the arguments to the function was an invalid enum value. More...
     
    #define GLFW_INVALID_VALUE   0x00010004
     One of the arguments to the function was an invalid value. More...
     
    #define GLFW_OUT_OF_MEMORY   0x00010005
     A memory allocation failed. More...
     
    #define GLFW_API_UNAVAILABLE   0x00010006
     GLFW could not find support for the requested API on the system. More...
     
    #define GLFW_VERSION_UNAVAILABLE   0x00010007
     The requested OpenGL or OpenGL ES version is not available. More...
     
    #define GLFW_PLATFORM_ERROR   0x00010008
     A platform-specific error occurred that does not match any of the more specific categories. More...
     
    #define GLFW_FORMAT_UNAVAILABLE   0x00010009
     The requested format is not supported or available. More...
     
    #define GLFW_NO_WINDOW_CONTEXT   0x0001000A
     The specified window does not have an OpenGL or OpenGL ES context. More...
     
    #define GLFW_CURSOR_UNAVAILABLE   0x0001000B
     The specified cursor shape is not available. More...
     
    #define GLFW_FEATURE_UNAVAILABLE   0x0001000C
     The requested feature is not provided by the platform. More...
     
    #define GLFW_FEATURE_UNIMPLEMENTED   0x0001000D
     The requested feature is not implemented for the platform. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_NO_ERROR

    + +
    +
    + + + + +
    #define GLFW_NO_ERROR   0
    +
    +

    No error has occurred.

    +
    Analysis
    Yay.
    + +
    +
    + +

    ◆ GLFW_NOT_INITIALIZED

    + +
    +
    + + + + +
    #define GLFW_NOT_INITIALIZED   0x00010001
    +
    +

    This occurs if a GLFW function was called that must not be called unless the library is initialized.

    +
    Analysis
    Application programmer error. Initialize GLFW before calling any function that requires initialization.
    + +
    +
    + +

    ◆ GLFW_NO_CURRENT_CONTEXT

    + +
    +
    + + + + +
    #define GLFW_NO_CURRENT_CONTEXT   0x00010002
    +
    +

    This occurs if a GLFW function was called that needs and operates on the current OpenGL or OpenGL ES context but no context is current on the calling thread. One such function is glfwSwapInterval.

    +
    Analysis
    Application programmer error. Ensure a context is current before calling functions that require a current context.
    + +
    +
    + +

    ◆ GLFW_INVALID_ENUM

    + +
    +
    + + + + +
    #define GLFW_INVALID_ENUM   0x00010003
    +
    +

    One of the arguments to the function was an invalid enum value, for example requesting GLFW_RED_BITS with glfwGetWindowAttrib.

    +
    Analysis
    Application programmer error. Fix the offending call.
    + +
    +
    + +

    ◆ GLFW_INVALID_VALUE

    + +
    +
    + + + + +
    #define GLFW_INVALID_VALUE   0x00010004
    +
    +

    One of the arguments to the function was an invalid value, for example requesting a non-existent OpenGL or OpenGL ES version like 2.7.

    +

    Requesting a valid but unavailable OpenGL or OpenGL ES version will instead result in a GLFW_VERSION_UNAVAILABLE error.

    +
    Analysis
    Application programmer error. Fix the offending call.
    + +
    +
    + +

    ◆ GLFW_OUT_OF_MEMORY

    + +
    +
    + + + + +
    #define GLFW_OUT_OF_MEMORY   0x00010005
    +
    +

    A memory allocation failed.

    +
    Analysis
    A bug in GLFW or the underlying operating system. Report the bug to our issue tracker.
    + +
    +
    + +

    ◆ GLFW_API_UNAVAILABLE

    + +
    +
    + + + + +
    #define GLFW_API_UNAVAILABLE   0x00010006
    +
    +

    GLFW could not find support for the requested API on the system.

    +
    Analysis
    The installed graphics driver does not support the requested API, or does not support it via the chosen context creation backend. Below are a few examples.
    +
    Some pre-installed Windows graphics drivers do not support OpenGL. AMD only supports OpenGL ES via EGL, while Nvidia and Intel only support it via a WGL or GLX extension. macOS does not provide OpenGL ES at all. The Mesa EGL, OpenGL and OpenGL ES libraries do not interface with the Nvidia binary driver. Older graphics drivers do not support Vulkan.
    + +
    +
    + +

    ◆ GLFW_VERSION_UNAVAILABLE

    + +
    +
    + + + + +
    #define GLFW_VERSION_UNAVAILABLE   0x00010007
    +
    +

    The requested OpenGL or OpenGL ES version (including any requested context or framebuffer hints) is not available on this machine.

    +
    Analysis
    The machine does not support your requirements. If your application is sufficiently flexible, downgrade your requirements and try again. Otherwise, inform the user that their machine does not match your requirements.
    +
    Future invalid OpenGL and OpenGL ES versions, for example OpenGL 4.8 if 5.0 comes out before the 4.x series gets that far, also fail with this error and not GLFW_INVALID_VALUE, because GLFW cannot know what future versions will exist.
    + +
    +
    + +

    ◆ GLFW_PLATFORM_ERROR

    + +
    +
    + + + + +
    #define GLFW_PLATFORM_ERROR   0x00010008
    +
    +

    A platform-specific error occurred that does not match any of the more specific categories.

    +
    Analysis
    A bug or configuration error in GLFW, the underlying operating system or its drivers, or a lack of required resources. Report the issue to our issue tracker.
    + +
    +
    + +

    ◆ GLFW_FORMAT_UNAVAILABLE

    + +
    +
    + + + + +
    #define GLFW_FORMAT_UNAVAILABLE   0x00010009
    +
    +

    If emitted during window creation, the requested pixel format is not supported.

    +

    If emitted when querying the clipboard, the contents of the clipboard could not be converted to the requested format.

    +
    Analysis
    If emitted during window creation, one or more hard constraints did not match any of the available pixel formats. If your application is sufficiently flexible, downgrade your requirements and try again. Otherwise, inform the user that their machine does not match your requirements.
    +
    If emitted when querying the clipboard, ignore the error or report it to the user, as appropriate.
    + +
    +
    + +

    ◆ GLFW_NO_WINDOW_CONTEXT

    + +
    +
    + + + + +
    #define GLFW_NO_WINDOW_CONTEXT   0x0001000A
    +
    +

    A window that does not have an OpenGL or OpenGL ES context was passed to a function that requires it to have one.

    +
    Analysis
    Application programmer error. Fix the offending call.
    + +
    +
    + +

    ◆ GLFW_CURSOR_UNAVAILABLE

    + +
    +
    + + + + +
    #define GLFW_CURSOR_UNAVAILABLE   0x0001000B
    +
    +

    The specified standard cursor shape is not available, either because the current system cursor theme does not provide it or because it is not available on the platform.

    +
    Analysis
    Platform or system settings limitation. Pick another standard cursor shape or create a custom cursor.
    + +
    +
    + +

    ◆ GLFW_FEATURE_UNAVAILABLE

    + +
    +
    + + + + +
    #define GLFW_FEATURE_UNAVAILABLE   0x0001000C
    +
    +

    The requested feature is not provided by the platform, so GLFW is unable to implement it. The documentation for each function notes if it could emit this error.

    +
    Analysis
    Platform or platform version limitation. The error can be ignored unless the feature is critical to the application.
    +
    A function call that emits this error has no effect other than the error and updating any existing out parameters.
    + +
    +
    + +

    ◆ GLFW_FEATURE_UNIMPLEMENTED

    + +
    +
    + + + + +
    #define GLFW_FEATURE_UNIMPLEMENTED   0x0001000D
    +
    +

    The requested feature has not yet been implemented in GLFW for this platform.

    +
    Analysis
    An incomplete implementation of GLFW for this platform, hopefully fixed in a future release. The error can be ignored unless the feature is critical to the application.
    +
    A function call that emits this error has no effect other than the error and updating any existing out parameters.
    + +
    +
    +
    + + + diff --git a/docs/3.4/group__gamepad__axes.html b/docs/3.4/group__gamepad__axes.html new file mode 100644 index 0000000..9247713 --- /dev/null +++ b/docs/3.4/group__gamepad__axes.html @@ -0,0 +1,195 @@ + + + + + + + +GLFW: Gamepad axes + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Gamepad axes
    +
    +
    +

    Description

    +

    See Gamepad input for how these are used.

    + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_GAMEPAD_AXIS_LEFT_X   0
     
    #define GLFW_GAMEPAD_AXIS_LEFT_Y   1
     
    #define GLFW_GAMEPAD_AXIS_RIGHT_X   2
     
    #define GLFW_GAMEPAD_AXIS_RIGHT_Y   3
     
    #define GLFW_GAMEPAD_AXIS_LEFT_TRIGGER   4
     
    #define GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER   5
     
    #define GLFW_GAMEPAD_AXIS_LAST   GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_GAMEPAD_AXIS_LEFT_X

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_AXIS_LEFT_X   0
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_AXIS_LEFT_Y

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_AXIS_LEFT_Y   1
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_AXIS_RIGHT_X

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_AXIS_RIGHT_X   2
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_AXIS_RIGHT_Y

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_AXIS_RIGHT_Y   3
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_AXIS_LEFT_TRIGGER

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_AXIS_LEFT_TRIGGER   4
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER   5
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_AXIS_LAST

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_AXIS_LAST   GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER
    +
    + +
    +
    +
    + + + diff --git a/docs/3.4/group__gamepad__buttons.html b/docs/3.4/group__gamepad__buttons.html new file mode 100644 index 0000000..a5f9396 --- /dev/null +++ b/docs/3.4/group__gamepad__buttons.html @@ -0,0 +1,403 @@ + + + + + + + +GLFW: Gamepad buttons + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Gamepad buttons
    +
    +
    +

    Description

    +

    See Gamepad input for how these are used.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_GAMEPAD_BUTTON_A   0
     
    #define GLFW_GAMEPAD_BUTTON_B   1
     
    #define GLFW_GAMEPAD_BUTTON_X   2
     
    #define GLFW_GAMEPAD_BUTTON_Y   3
     
    #define GLFW_GAMEPAD_BUTTON_LEFT_BUMPER   4
     
    #define GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER   5
     
    #define GLFW_GAMEPAD_BUTTON_BACK   6
     
    #define GLFW_GAMEPAD_BUTTON_START   7
     
    #define GLFW_GAMEPAD_BUTTON_GUIDE   8
     
    #define GLFW_GAMEPAD_BUTTON_LEFT_THUMB   9
     
    #define GLFW_GAMEPAD_BUTTON_RIGHT_THUMB   10
     
    #define GLFW_GAMEPAD_BUTTON_DPAD_UP   11
     
    #define GLFW_GAMEPAD_BUTTON_DPAD_RIGHT   12
     
    #define GLFW_GAMEPAD_BUTTON_DPAD_DOWN   13
     
    #define GLFW_GAMEPAD_BUTTON_DPAD_LEFT   14
     
    #define GLFW_GAMEPAD_BUTTON_LAST   GLFW_GAMEPAD_BUTTON_DPAD_LEFT
     
    #define GLFW_GAMEPAD_BUTTON_CROSS   GLFW_GAMEPAD_BUTTON_A
     
    #define GLFW_GAMEPAD_BUTTON_CIRCLE   GLFW_GAMEPAD_BUTTON_B
     
    #define GLFW_GAMEPAD_BUTTON_SQUARE   GLFW_GAMEPAD_BUTTON_X
     
    #define GLFW_GAMEPAD_BUTTON_TRIANGLE   GLFW_GAMEPAD_BUTTON_Y
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_GAMEPAD_BUTTON_A

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_A   0
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_B

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_B   1
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_X

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_X   2
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_Y

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_Y   3
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_LEFT_BUMPER

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_LEFT_BUMPER   4
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER   5
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_BACK

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_BACK   6
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_START

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_START   7
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_GUIDE

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_GUIDE   8
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_LEFT_THUMB

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_LEFT_THUMB   9
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_RIGHT_THUMB

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_RIGHT_THUMB   10
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_DPAD_UP

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_DPAD_UP   11
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_DPAD_RIGHT

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_DPAD_RIGHT   12
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_DPAD_DOWN

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_DPAD_DOWN   13
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_DPAD_LEFT

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_DPAD_LEFT   14
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_LAST

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_LAST   GLFW_GAMEPAD_BUTTON_DPAD_LEFT
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_CROSS

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_CROSS   GLFW_GAMEPAD_BUTTON_A
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_CIRCLE

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_CIRCLE   GLFW_GAMEPAD_BUTTON_B
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_SQUARE

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_SQUARE   GLFW_GAMEPAD_BUTTON_X
    +
    + +
    +
    + +

    ◆ GLFW_GAMEPAD_BUTTON_TRIANGLE

    + +
    +
    + + + + +
    #define GLFW_GAMEPAD_BUTTON_TRIANGLE   GLFW_GAMEPAD_BUTTON_Y
    +
    + +
    +
    +
    + + + diff --git a/docs/3.4/group__hat__state.html b/docs/3.4/group__hat__state.html new file mode 100644 index 0000000..d4d3b4d --- /dev/null +++ b/docs/3.4/group__hat__state.html @@ -0,0 +1,227 @@ + + + + + + + +GLFW: Joystick hat states + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Joystick hat states
    +
    +
    +

    Description

    +

    See joystick hat input for how these are used.

    + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_HAT_CENTERED   0
     
    #define GLFW_HAT_UP   1
     
    #define GLFW_HAT_RIGHT   2
     
    #define GLFW_HAT_DOWN   4
     
    #define GLFW_HAT_LEFT   8
     
    #define GLFW_HAT_RIGHT_UP   (GLFW_HAT_RIGHT | GLFW_HAT_UP)
     
    #define GLFW_HAT_RIGHT_DOWN   (GLFW_HAT_RIGHT | GLFW_HAT_DOWN)
     
    #define GLFW_HAT_LEFT_UP   (GLFW_HAT_LEFT | GLFW_HAT_UP)
     
    #define GLFW_HAT_LEFT_DOWN   (GLFW_HAT_LEFT | GLFW_HAT_DOWN)
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_HAT_CENTERED

    + +
    +
    + + + + +
    #define GLFW_HAT_CENTERED   0
    +
    + +
    +
    + +

    ◆ GLFW_HAT_UP

    + +
    +
    + + + + +
    #define GLFW_HAT_UP   1
    +
    + +
    +
    + +

    ◆ GLFW_HAT_RIGHT

    + +
    +
    + + + + +
    #define GLFW_HAT_RIGHT   2
    +
    + +
    +
    + +

    ◆ GLFW_HAT_DOWN

    + +
    +
    + + + + +
    #define GLFW_HAT_DOWN   4
    +
    + +
    +
    + +

    ◆ GLFW_HAT_LEFT

    + +
    +
    + + + + +
    #define GLFW_HAT_LEFT   8
    +
    + +
    +
    + +

    ◆ GLFW_HAT_RIGHT_UP

    + +
    +
    + + + + +
    #define GLFW_HAT_RIGHT_UP   (GLFW_HAT_RIGHT | GLFW_HAT_UP)
    +
    + +
    +
    + +

    ◆ GLFW_HAT_RIGHT_DOWN

    + +
    +
    + + + + +
    #define GLFW_HAT_RIGHT_DOWN   (GLFW_HAT_RIGHT | GLFW_HAT_DOWN)
    +
    + +
    +
    + +

    ◆ GLFW_HAT_LEFT_UP

    + +
    +
    + + + + +
    #define GLFW_HAT_LEFT_UP   (GLFW_HAT_LEFT | GLFW_HAT_UP)
    +
    + +
    +
    + +

    ◆ GLFW_HAT_LEFT_DOWN

    + +
    +
    + + + + +
    #define GLFW_HAT_LEFT_DOWN   (GLFW_HAT_LEFT | GLFW_HAT_DOWN)
    +
    + +
    +
    +
    + + + diff --git a/docs/3.4/group__init.html b/docs/3.4/group__init.html new file mode 100644 index 0000000..d214f5e --- /dev/null +++ b/docs/3.4/group__init.html @@ -0,0 +1,565 @@ + + + + + + + +GLFW: Initialization, version and error reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Initialization, version and error reference
    +
    +
    +

    Description

    +

    This is the reference documentation for initialization and termination of the library, version management and error handling. For more task-oriented information, see the Introduction to the API.

    + + + + + +

    +Modules

     Error codes
     Error codes.
     
    + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_TRUE   1
     One. More...
     
    #define GLFW_FALSE   0
     Zero. More...
     
    #define GLFW_JOYSTICK_HAT_BUTTONS   0x00050001
     Joystick hat buttons init hint. More...
     
    #define GLFW_ANGLE_PLATFORM_TYPE   0x00050002
     ANGLE rendering backend init hint. More...
     
    #define GLFW_COCOA_CHDIR_RESOURCES   0x00051001
     macOS specific init hint. More...
     
    #define GLFW_COCOA_MENUBAR   0x00051002
     macOS specific init hint. More...
     
    + + + + +

    +Typedefs

    typedef void(* GLFWerrorfun) (int, const char *)
     The function pointer type for error callbacks. More...
     
    + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    int glfwInit (void)
     Initializes the GLFW library. More...
     
    void glfwTerminate (void)
     Terminates the GLFW library. More...
     
    void glfwInitHint (int hint, int value)
     Sets the specified init hint to the desired value. More...
     
    void glfwGetVersion (int *major, int *minor, int *rev)
     Retrieves the version of the GLFW library. More...
     
    const char * glfwGetVersionString (void)
     Returns a string describing the compile-time configuration. More...
     
    int glfwGetError (const char **description)
     Returns and clears the last error for the calling thread. More...
     
    GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun callback)
     Sets the error callback. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_VERSION_MAJOR

    + +
    +
    + + + + +
    #define GLFW_VERSION_MAJOR   3
    +
    +

    This is incremented when the API is changed in non-compatible ways.

    + +
    +
    + +

    ◆ GLFW_VERSION_MINOR

    + +
    +
    + + + + +
    #define GLFW_VERSION_MINOR   4
    +
    +

    This is incremented when features are added to the API but it remains backward-compatible.

    + +
    +
    + +

    ◆ GLFW_VERSION_REVISION

    + +
    +
    + + + + +
    #define GLFW_VERSION_REVISION   0
    +
    +

    This is incremented when a bug fix release is made that does not contain any API changes.

    + +
    +
    + +

    ◆ GLFW_TRUE

    + +
    +
    + + + + +
    #define GLFW_TRUE   1
    +
    +

    This is only semantic sugar for the number 1. You can instead use 1 or true or _True or GL_TRUE or VK_TRUE or anything else that is equal to one.

    + +
    +
    + +

    ◆ GLFW_FALSE

    + +
    +
    + + + + +
    #define GLFW_FALSE   0
    +
    +

    This is only semantic sugar for the number 0. You can instead use 0 or false or _False or GL_FALSE or VK_FALSE or anything else that is equal to zero.

    + +
    +
    + +

    ◆ GLFW_JOYSTICK_HAT_BUTTONS

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_HAT_BUTTONS   0x00050001
    +
    +

    Joystick hat buttons init hint.

    + +
    +
    + +

    ◆ GLFW_ANGLE_PLATFORM_TYPE

    + +
    +
    + + + + +
    #define GLFW_ANGLE_PLATFORM_TYPE   0x00050002
    +
    +

    ANGLE rendering backend init hint.

    + +
    +
    + +

    ◆ GLFW_COCOA_CHDIR_RESOURCES

    + +
    +
    + + + + +
    #define GLFW_COCOA_CHDIR_RESOURCES   0x00051001
    +
    +

    macOS specific init hint.

    + +
    +
    + +

    ◆ GLFW_COCOA_MENUBAR

    + +
    +
    + + + + +
    #define GLFW_COCOA_MENUBAR   0x00051002
    +
    +

    macOS specific init hint.

    + +
    +
    +

    Typedef Documentation

    + +

    ◆ GLFWerrorfun

    + +
    +
    + + + + +
    typedef void(* GLFWerrorfun) (int, const char *)
    +
    +

    This is the function pointer type for error callbacks. An error callback function has the following signature:

    void callback_name(int error_code, const char* description)
    +
    Parameters
    + + + +
    [in]error_codeAn error code. Future releases may add more error codes.
    [in]descriptionA UTF-8 encoded string describing the error.
    +
    +
    +
    Pointer lifetime
    The error description string is valid until the callback function returns.
    +
    See also
    Error handling
    +
    +glfwSetErrorCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwInit()

    + +
    +
    + + + + + + + + +
    int glfwInit (void )
    +
    +

    This function initializes the GLFW library. Before most GLFW functions can be used, GLFW must be initialized, and before an application terminates GLFW should be terminated in order to free any resources allocated during or after initialization.

    +

    If this function fails, it calls glfwTerminate before returning. If it succeeds, you should call glfwTerminate before the application exits.

    +

    Additional calls to this function after successful initialization but before termination will return GLFW_TRUE immediately.

    +
    Returns
    GLFW_TRUE if successful, or GLFW_FALSE if an error occurred.
    +
    Errors
    Possible errors include GLFW_PLATFORM_ERROR.
    +
    Remarks
    macOS: This function will change the current directory of the application to the Contents/Resources subdirectory of the application's bundle, if present. This can be disabled with the GLFW_COCOA_CHDIR_RESOURCES init hint.
    +
    +macOS: This function will create the main menu and dock icon for the application. If GLFW finds a MainMenu.nib it is loaded and assumed to contain a menu bar. Otherwise a minimal menu bar is created manually with common commands like Hide, Quit and About. The About entry opens a minimal about dialog with information from the application's bundle. The menu bar and dock icon can be disabled entirely with the GLFW_COCOA_MENUBAR init hint.
    +
    +X11: This function will set the LC_CTYPE category of the application locale according to the current environment if that category is still "C". This is because the "C" locale breaks Unicode text input.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Initialization and termination
    +
    +glfwTerminate
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwTerminate()

    + +
    +
    + + + + + + + + +
    void glfwTerminate (void )
    +
    +

    This function destroys all remaining windows and cursors, restores any modified gamma ramps and frees any other allocated resources. Once this function is called, you must again call glfwInit successfully before you will be able to use most GLFW functions.

    +

    If GLFW has been successfully initialized, this function should be called before the application exits. If initialization fails, there is no need to call this function, as it is called by glfwInit before it returns failure.

    +

    This function has no effect if GLFW is not initialized.

    +
    Errors
    Possible errors include GLFW_PLATFORM_ERROR.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Warning
    The contexts of any remaining windows must not be current on any other thread when this function is called.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Initialization and termination
    +
    +glfwInit
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwInitHint()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwInitHint (int hint,
    int value 
    )
    +
    +

    This function sets hints for the next initialization of GLFW.

    +

    The values you set hints to are never reset by GLFW, but they only take effect during initialization. Once GLFW has been initialized, any values you set will be ignored until the library is terminated and initialized again.

    +

    Some hints are platform specific. These may be set on any platform but they will only affect their specific platform. Other platforms will ignore them. Setting these hints requires no platform specific headers or functions.

    +
    Parameters
    + + + +
    [in]hintThe init hint to set.
    [in]valueThe new value of the init hint.
    +
    +
    +
    Errors
    Possible errors include GLFW_INVALID_ENUM and GLFW_INVALID_VALUE.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    init_hints
    +
    +glfwInit
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetVersion()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetVersion (int * major,
    int * minor,
    int * rev 
    )
    +
    +

    This function retrieves the major, minor and revision numbers of the GLFW library. It is intended for when you are using GLFW as a shared library and want to ensure that you are using the minimum required version.

    +

    Any or all of the version arguments may be NULL.

    +
    Parameters
    + + + + +
    [out]majorWhere to store the major version number, or NULL.
    [out]minorWhere to store the minor version number, or NULL.
    [out]revWhere to store the revision number, or NULL.
    +
    +
    +
    Errors
    None.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Version management
    +
    +glfwGetVersionString
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwGetVersionString()

    + +
    +
    + + + + + + + + +
    const char* glfwGetVersionString (void )
    +
    +

    This function returns the compile-time generated version string of the GLFW library binary. It describes the version, platform, compiler and any platform-specific compile-time options. It should not be confused with the OpenGL or OpenGL ES version string, queried with glGetString.

    +

    Do not use the version string to parse the GLFW library version. The glfwGetVersion function provides the version of the running library binary in numerical format.

    +
    Returns
    The ASCII encoded GLFW version string.
    +
    Errors
    None.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Pointer lifetime
    The returned string is static and compile-time generated.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Version management
    +
    +glfwGetVersion
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetError()

    + +
    +
    + + + + + + + + +
    int glfwGetError (const char ** description)
    +
    +

    This function returns and clears the error code of the last error that occurred on the calling thread, and optionally a UTF-8 encoded human-readable description of it. If no error has occurred since the last call, it returns GLFW_NO_ERROR (zero) and the description pointer is set to NULL.

    +
    Parameters
    + + +
    [in]descriptionWhere to store the error description pointer, or NULL.
    +
    +
    +
    Returns
    The last error code for the calling thread, or GLFW_NO_ERROR (zero).
    +
    Errors
    None.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is guaranteed to be valid only until the next error occurs or the library is terminated.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Error handling
    +
    +glfwSetErrorCallback
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwSetErrorCallback()

    + +
    +
    + + + + + + + + +
    GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun callback)
    +
    +

    This function sets the error callback, which is called with an error code and a human-readable description each time a GLFW error occurs.

    +

    The error code is set before the callback is called. Calling glfwGetError from the error callback will return the same value as the error code argument.

    +

    The error callback is called on the thread where the error occurred. If you are using GLFW from multiple threads, your error callback needs to be written accordingly.

    +

    Because the description string may have been generated specifically for that error, it is not guaranteed to be valid after the callback has returned. If you wish to use it after the callback returns, you need to make a copy.

    +

    Once set, the error callback remains set even after the library has been terminated.

    +
    Parameters
    + + +
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set.
    +
    Callback signature
    void callback_name(int error_code, const char* description)
    +
    For more information about the callback parameters, see the callback pointer type.
    +
    Errors
    None.
    +
    Remarks
    This function may be called before glfwInit.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Error handling
    +
    +glfwGetError
    +
    Since
    Added in version 3.0.
    + +
    +
    +
    + + + diff --git a/docs/3.4/group__input.html b/docs/3.4/group__input.html new file mode 100644 index 0000000..de2514f --- /dev/null +++ b/docs/3.4/group__input.html @@ -0,0 +1,2255 @@ + + + + + + + +GLFW: Input reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Input reference
    +
    +
    +

    Description

    +

    This is the reference documentation for input related functions and types. For more task-oriented information, see the Input guide.

    + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Modules

     Gamepad axes
     Gamepad axes.
     
     Gamepad buttons
     Gamepad buttons.
     
     Joystick hat states
     Joystick hat states.
     
     Joysticks
     Joystick IDs.
     
     Keyboard keys
     Keyboard key IDs.
     
     Modifier key flags
     Modifier key flags.
     
     Mouse buttons
     Mouse button IDs.
     
     Standard cursor shapes
     Standard system cursor shapes.
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Typedefs

    typedef struct GLFWcursor GLFWcursor
     Opaque cursor object. More...
     
    typedef void(* GLFWmousebuttonfun) (GLFWwindow *, int, int, int)
     The function pointer type for mouse button callbacks. More...
     
    typedef void(* GLFWcursorposfun) (GLFWwindow *, double, double)
     The function pointer type for cursor position callbacks. More...
     
    typedef void(* GLFWcursorenterfun) (GLFWwindow *, int)
     The function pointer type for cursor enter/leave callbacks. More...
     
    typedef void(* GLFWscrollfun) (GLFWwindow *, double, double)
     The function pointer type for scroll callbacks. More...
     
    typedef void(* GLFWkeyfun) (GLFWwindow *, int, int, int, int)
     The function pointer type for keyboard key callbacks. More...
     
    typedef void(* GLFWcharfun) (GLFWwindow *, unsigned int)
     The function pointer type for Unicode character callbacks. More...
     
    typedef void(* GLFWcharmodsfun) (GLFWwindow *, unsigned int, int)
     The function pointer type for Unicode character with modifiers callbacks. More...
     
    typedef void(* GLFWdropfun) (GLFWwindow *, int, const char *[])
     The function pointer type for path drop callbacks. More...
     
    typedef void(* GLFWjoystickfun) (int, int)
     The function pointer type for joystick configuration callbacks. More...
     
    typedef struct GLFWgamepadstate GLFWgamepadstate
     Gamepad input state. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    int glfwGetInputMode (GLFWwindow *window, int mode)
     Returns the value of an input option for the specified window. More...
     
    void glfwSetInputMode (GLFWwindow *window, int mode, int value)
     Sets an input option for the specified window. More...
     
    int glfwRawMouseMotionSupported (void)
     Returns whether raw mouse motion is supported. More...
     
    const char * glfwGetKeyName (int key, int scancode)
     Returns the layout-specific name of the specified printable key. More...
     
    int glfwGetKeyScancode (int key)
     Returns the platform-specific scancode of the specified key. More...
     
    int glfwGetKey (GLFWwindow *window, int key)
     Returns the last reported state of a keyboard key for the specified window. More...
     
    int glfwGetMouseButton (GLFWwindow *window, int button)
     Returns the last reported state of a mouse button for the specified window. More...
     
    void glfwGetCursorPos (GLFWwindow *window, double *xpos, double *ypos)
     Retrieves the position of the cursor relative to the content area of the window. More...
     
    void glfwSetCursorPos (GLFWwindow *window, double xpos, double ypos)
     Sets the position of the cursor, relative to the content area of the window. More...
     
    GLFWcursorglfwCreateCursor (const GLFWimage *image, int xhot, int yhot)
     Creates a custom cursor. More...
     
    GLFWcursorglfwCreateStandardCursor (int shape)
     Creates a cursor with a standard shape. More...
     
    void glfwDestroyCursor (GLFWcursor *cursor)
     Destroys a cursor. More...
     
    void glfwSetCursor (GLFWwindow *window, GLFWcursor *cursor)
     Sets the cursor for the window. More...
     
    GLFWkeyfun glfwSetKeyCallback (GLFWwindow *window, GLFWkeyfun callback)
     Sets the key callback. More...
     
    GLFWcharfun glfwSetCharCallback (GLFWwindow *window, GLFWcharfun callback)
     Sets the Unicode character callback. More...
     
    GLFWcharmodsfun glfwSetCharModsCallback (GLFWwindow *window, GLFWcharmodsfun callback)
     Sets the Unicode character with modifiers callback. More...
     
    GLFWmousebuttonfun glfwSetMouseButtonCallback (GLFWwindow *window, GLFWmousebuttonfun callback)
     Sets the mouse button callback. More...
     
    GLFWcursorposfun glfwSetCursorPosCallback (GLFWwindow *window, GLFWcursorposfun callback)
     Sets the cursor position callback. More...
     
    GLFWcursorenterfun glfwSetCursorEnterCallback (GLFWwindow *window, GLFWcursorenterfun callback)
     Sets the cursor enter/leave callback. More...
     
    GLFWscrollfun glfwSetScrollCallback (GLFWwindow *window, GLFWscrollfun callback)
     Sets the scroll callback. More...
     
    GLFWdropfun glfwSetDropCallback (GLFWwindow *window, GLFWdropfun callback)
     Sets the path drop callback. More...
     
    int glfwJoystickPresent (int jid)
     Returns whether the specified joystick is present. More...
     
    const float * glfwGetJoystickAxes (int jid, int *count)
     Returns the values of all axes of the specified joystick. More...
     
    const unsigned char * glfwGetJoystickButtons (int jid, int *count)
     Returns the state of all buttons of the specified joystick. More...
     
    const unsigned char * glfwGetJoystickHats (int jid, int *count)
     Returns the state of all hats of the specified joystick. More...
     
    const char * glfwGetJoystickName (int jid)
     Returns the name of the specified joystick. More...
     
    const char * glfwGetJoystickGUID (int jid)
     Returns the SDL compatible GUID of the specified joystick. More...
     
    void glfwSetJoystickUserPointer (int jid, void *pointer)
     Sets the user pointer of the specified joystick. More...
     
    void * glfwGetJoystickUserPointer (int jid)
     Returns the user pointer of the specified joystick. More...
     
    int glfwJoystickIsGamepad (int jid)
     Returns whether the specified joystick has a gamepad mapping. More...
     
    GLFWjoystickfun glfwSetJoystickCallback (GLFWjoystickfun callback)
     Sets the joystick configuration callback. More...
     
    int glfwUpdateGamepadMappings (const char *string)
     Adds the specified SDL_GameControllerDB gamepad mappings. More...
     
    const char * glfwGetGamepadName (int jid)
     Returns the human-readable gamepad name for the specified joystick. More...
     
    int glfwGetGamepadState (int jid, GLFWgamepadstate *state)
     Retrieves the state of the specified joystick remapped as a gamepad. More...
     
    void glfwSetClipboardString (GLFWwindow *window, const char *string)
     Sets the clipboard to the specified string. More...
     
    const char * glfwGetClipboardString (GLFWwindow *window)
     Returns the contents of the clipboard as a string. More...
     
    double glfwGetTime (void)
     Returns the GLFW time. More...
     
    void glfwSetTime (double time)
     Sets the GLFW time. More...
     
    uint64_t glfwGetTimerValue (void)
     Returns the current value of the raw timer. More...
     
    uint64_t glfwGetTimerFrequency (void)
     Returns the frequency, in Hz, of the raw timer. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_RELEASE

    + +
    +
    + + + + +
    #define GLFW_RELEASE   0
    +
    +

    The key or mouse button was released.

    + +
    +
    + +

    ◆ GLFW_PRESS

    + +
    +
    + + + + +
    #define GLFW_PRESS   1
    +
    +

    The key or mouse button was pressed.

    + +
    +
    + +

    ◆ GLFW_REPEAT

    + +
    +
    + + + + +
    #define GLFW_REPEAT   2
    +
    +

    The key was held down until it repeated.

    + +
    +
    +

    Typedef Documentation

    + +

    ◆ GLFWcursor

    + +
    +
    + + + + +
    typedef struct GLFWcursor GLFWcursor
    +
    +

    Opaque cursor object.

    +
    See also
    Cursor objects
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ GLFWmousebuttonfun

    + +
    +
    + + + + +
    typedef void(* GLFWmousebuttonfun) (GLFWwindow *, int, int, int)
    +
    +

    This is the function pointer type for mouse button callback functions. A mouse button callback function has the following signature:

    void function_name(GLFWwindow* window, int button, int action, int mods)
    +
    Parameters
    + + + + + +
    [in]windowThe window that received the event.
    [in]buttonThe mouse button that was pressed or released.
    [in]actionOne of GLFW_PRESS or GLFW_RELEASE. Future releases may add more actions.
    [in]modsBit field describing which modifier keys were held down.
    +
    +
    +
    See also
    Mouse button input
    +
    +glfwSetMouseButtonCallback
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle and modifier mask parameters.
    + +
    +
    + +

    ◆ GLFWcursorposfun

    + +
    +
    + + + + +
    typedef void(* GLFWcursorposfun) (GLFWwindow *, double, double)
    +
    +

    This is the function pointer type for cursor position callbacks. A cursor position callback function has the following signature:

    void function_name(GLFWwindow* window, double xpos, double ypos);
    +
    Parameters
    + + + + +
    [in]windowThe window that received the event.
    [in]xposThe new cursor x-coordinate, relative to the left edge of the content area.
    [in]yposThe new cursor y-coordinate, relative to the top edge of the content area.
    +
    +
    +
    See also
    Cursor position
    +
    +glfwSetCursorPosCallback
    +
    Since
    Added in version 3.0. Replaces GLFWmouseposfun.
    + +
    +
    + +

    ◆ GLFWcursorenterfun

    + +
    +
    + + + + +
    typedef void(* GLFWcursorenterfun) (GLFWwindow *, int)
    +
    +

    This is the function pointer type for cursor enter/leave callbacks. A cursor enter/leave callback function has the following signature:

    void function_name(GLFWwindow* window, int entered)
    +
    Parameters
    + + + +
    [in]windowThe window that received the event.
    [in]enteredGLFW_TRUE if the cursor entered the window's content area, or GLFW_FALSE if it left it.
    +
    +
    +
    See also
    Cursor enter/leave events
    +
    +glfwSetCursorEnterCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWscrollfun

    + +
    +
    + + + + +
    typedef void(* GLFWscrollfun) (GLFWwindow *, double, double)
    +
    +

    This is the function pointer type for scroll callbacks. A scroll callback function has the following signature:

    void function_name(GLFWwindow* window, double xoffset, double yoffset)
    +
    Parameters
    + + + + +
    [in]windowThe window that received the event.
    [in]xoffsetThe scroll offset along the x-axis.
    [in]yoffsetThe scroll offset along the y-axis.
    +
    +
    +
    See also
    Scroll input
    +
    +glfwSetScrollCallback
    +
    Since
    Added in version 3.0. Replaces GLFWmousewheelfun.
    + +
    +
    + +

    ◆ GLFWkeyfun

    + +
    +
    + + + + +
    typedef void(* GLFWkeyfun) (GLFWwindow *, int, int, int, int)
    +
    +

    This is the function pointer type for keyboard key callbacks. A keyboard key callback function has the following signature:

    void function_name(GLFWwindow* window, int key, int scancode, int action, int mods)
    +
    Parameters
    + + + + + + +
    [in]windowThe window that received the event.
    [in]keyThe keyboard key that was pressed or released.
    [in]scancodeThe system-specific scancode of the key.
    [in]actionGLFW_PRESS, GLFW_RELEASE or GLFW_REPEAT. Future releases may add more actions.
    [in]modsBit field describing which modifier keys were held down.
    +
    +
    +
    See also
    Key input
    +
    +glfwSetKeyCallback
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle, scancode and modifier mask parameters.
    + +
    +
    + +

    ◆ GLFWcharfun

    + +
    +
    + + + + +
    typedef void(* GLFWcharfun) (GLFWwindow *, unsigned int)
    +
    +

    This is the function pointer type for Unicode character callbacks. A Unicode character callback function has the following signature:

    void function_name(GLFWwindow* window, unsigned int codepoint)
    +
    Parameters
    + + + +
    [in]windowThe window that received the event.
    [in]codepointThe Unicode code point of the character.
    +
    +
    +
    See also
    Text input
    +
    +glfwSetCharCallback
    +
    Since
    Added in version 2.4. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ GLFWcharmodsfun

    + +
    +
    + + + + +
    typedef void(* GLFWcharmodsfun) (GLFWwindow *, unsigned int, int)
    +
    +

    This is the function pointer type for Unicode character with modifiers callbacks. It is called for each input character, regardless of what modifier keys are held down. A Unicode character with modifiers callback function has the following signature:

    void function_name(GLFWwindow* window, unsigned int codepoint, int mods)
    +
    Parameters
    + + + + +
    [in]windowThe window that received the event.
    [in]codepointThe Unicode code point of the character.
    [in]modsBit field describing which modifier keys were held down.
    +
    +
    +
    See also
    Text input
    +
    +glfwSetCharModsCallback
    +
    Deprecated:
    Scheduled for removal in version 4.0.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ GLFWdropfun

    + +
    +
    + + + + +
    typedef void(* GLFWdropfun) (GLFWwindow *, int, const char *[])
    +
    +

    This is the function pointer type for path drop callbacks. A path drop callback function has the following signature:

    void function_name(GLFWwindow* window, int path_count, const char* paths[])
    +
    Parameters
    + + + + +
    [in]windowThe window that received the event.
    [in]path_countThe number of dropped paths.
    [in]pathsThe UTF-8 encoded file and/or directory path names.
    +
    +
    +
    Pointer lifetime
    The path array and its strings are valid until the callback function returns.
    +
    See also
    Path drop input
    +
    +glfwSetDropCallback
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ GLFWjoystickfun

    + +
    +
    + + + + +
    typedef void(* GLFWjoystickfun) (int, int)
    +
    +

    This is the function pointer type for joystick configuration callbacks. A joystick configuration callback function has the following signature:

    void function_name(int jid, int event)
    +
    Parameters
    + + + +
    [in]jidThe joystick that was connected or disconnected.
    [in]eventOne of GLFW_CONNECTED or GLFW_DISCONNECTED. Future releases may add more events.
    +
    +
    +
    See also
    Joystick configuration changes
    +
    +glfwSetJoystickCallback
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ GLFWgamepadstate

    + +
    +
    + + + + +
    typedef struct GLFWgamepadstate GLFWgamepadstate
    +
    +

    This describes the input state of a gamepad.

    +
    See also
    Gamepad input
    +
    +glfwGetGamepadState
    +
    Since
    Added in version 3.3.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwGetInputMode()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetInputMode (GLFWwindowwindow,
    int mode 
    )
    +
    +

    This function returns the value of an input option for the specified window. The mode must be one of GLFW_CURSOR, GLFW_STICKY_KEYS, GLFW_STICKY_MOUSE_BUTTONS, GLFW_LOCK_KEY_MODS or GLFW_RAW_MOUSE_MOTION.

    +
    Parameters
    + + + +
    [in]windowThe window to query.
    [in]modeOne of GLFW_CURSOR, GLFW_STICKY_KEYS, GLFW_STICKY_MOUSE_BUTTONS, GLFW_LOCK_KEY_MODS or GLFW_RAW_MOUSE_MOTION.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    glfwSetInputMode
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetInputMode()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetInputMode (GLFWwindowwindow,
    int mode,
    int value 
    )
    +
    +

    This function sets an input mode option for the specified window. The mode must be one of GLFW_CURSOR, GLFW_STICKY_KEYS, GLFW_STICKY_MOUSE_BUTTONS, GLFW_LOCK_KEY_MODS or GLFW_RAW_MOUSE_MOTION.

    +

    If the mode is GLFW_CURSOR, the value must be one of the following cursor modes:

      +
    • GLFW_CURSOR_NORMAL makes the cursor visible and behaving normally.
    • +
    • GLFW_CURSOR_HIDDEN makes the cursor invisible when it is over the content area of the window but does not restrict the cursor from leaving.
    • +
    • GLFW_CURSOR_DISABLED hides and grabs the cursor, providing virtual and unlimited cursor movement. This is useful for implementing for example 3D camera controls.
    • +
    +

    If the mode is GLFW_STICKY_KEYS, the value must be either GLFW_TRUE to enable sticky keys, or GLFW_FALSE to disable it. If sticky keys are enabled, a key press will ensure that glfwGetKey returns GLFW_PRESS the next time it is called even if the key had been released before the call. This is useful when you are only interested in whether keys have been pressed but not when or in which order.

    +

    If the mode is GLFW_STICKY_MOUSE_BUTTONS, the value must be either GLFW_TRUE to enable sticky mouse buttons, or GLFW_FALSE to disable it. If sticky mouse buttons are enabled, a mouse button press will ensure that glfwGetMouseButton returns GLFW_PRESS the next time it is called even if the mouse button had been released before the call. This is useful when you are only interested in whether mouse buttons have been pressed but not when or in which order.

    +

    If the mode is GLFW_LOCK_KEY_MODS, the value must be either GLFW_TRUE to enable lock key modifier bits, or GLFW_FALSE to disable them. If enabled, callbacks that receive modifier bits will also have the GLFW_MOD_CAPS_LOCK bit set when the event was generated with Caps Lock on, and the GLFW_MOD_NUM_LOCK bit when Num Lock was on.

    +

    If the mode is GLFW_RAW_MOUSE_MOTION, the value must be either GLFW_TRUE to enable raw (unscaled and unaccelerated) mouse motion when the cursor is disabled, or GLFW_FALSE to disable it. If raw motion is not supported, attempting to set this will emit GLFW_FEATURE_UNAVAILABLE. Call glfwRawMouseMotionSupported to check for support.

    +
    Parameters
    + + + + +
    [in]windowThe window whose input mode to set.
    [in]modeOne of GLFW_CURSOR, GLFW_STICKY_KEYS, GLFW_STICKY_MOUSE_BUTTONS, GLFW_LOCK_KEY_MODS or GLFW_RAW_MOUSE_MOTION.
    [in]valueThe new value of the specified input mode.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM, GLFW_PLATFORM_ERROR and GLFW_FEATURE_UNAVAILABLE (see above).
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    glfwGetInputMode
    +
    Since
    Added in version 3.0. Replaces glfwEnable and glfwDisable.
    + +
    +
    + +

    ◆ glfwRawMouseMotionSupported()

    + +
    +
    + + + + + + + + +
    int glfwRawMouseMotionSupported (void )
    +
    +

    This function returns whether raw mouse motion is supported on the current system. This status does not change after GLFW has been initialized so you only need to check this once. If you attempt to enable raw motion on a system that does not support it, GLFW_PLATFORM_ERROR will be emitted.

    +

    Raw mouse motion is closer to the actual motion of the mouse across a surface. It is not affected by the scaling and acceleration applied to the motion of the desktop cursor. That processing is suitable for a cursor while raw motion is better for controlling for example a 3D camera. Because of this, raw mouse motion is only provided when the cursor is disabled.

    +
    Returns
    GLFW_TRUE if raw mouse motion is supported on the current machine, or GLFW_FALSE otherwise.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Raw mouse motion
    +
    +glfwSetInputMode
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetKeyName()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const char* glfwGetKeyName (int key,
    int scancode 
    )
    +
    +

    This function returns the name of the specified printable key, encoded as UTF-8. This is typically the character that key would produce without any modifier keys, intended for displaying key bindings to the user. For dead keys, it is typically the diacritic it would add to a character.

    +

    Do not use this function for text input. You will break text input for many languages even if it happens to work for yours.

    +

    If the key is GLFW_KEY_UNKNOWN, the scancode is used to identify the key, otherwise the scancode is ignored. If you specify a non-printable key, or GLFW_KEY_UNKNOWN and a scancode that maps to a non-printable key, this function returns NULL but does not emit an error.

    +

    This behavior allows you to always pass in the arguments in the key callback without modification.

    +

    The printable keys are:

      +
    • GLFW_KEY_APOSTROPHE
    • +
    • GLFW_KEY_COMMA
    • +
    • GLFW_KEY_MINUS
    • +
    • GLFW_KEY_PERIOD
    • +
    • GLFW_KEY_SLASH
    • +
    • GLFW_KEY_SEMICOLON
    • +
    • GLFW_KEY_EQUAL
    • +
    • GLFW_KEY_LEFT_BRACKET
    • +
    • GLFW_KEY_RIGHT_BRACKET
    • +
    • GLFW_KEY_BACKSLASH
    • +
    • GLFW_KEY_WORLD_1
    • +
    • GLFW_KEY_WORLD_2
    • +
    • GLFW_KEY_0 to GLFW_KEY_9
    • +
    • GLFW_KEY_A to GLFW_KEY_Z
    • +
    • GLFW_KEY_KP_0 to GLFW_KEY_KP_9
    • +
    • GLFW_KEY_KP_DECIMAL
    • +
    • GLFW_KEY_KP_DIVIDE
    • +
    • GLFW_KEY_KP_MULTIPLY
    • +
    • GLFW_KEY_KP_SUBTRACT
    • +
    • GLFW_KEY_KP_ADD
    • +
    • GLFW_KEY_KP_EQUAL
    • +
    +

    Names for printable keys depend on keyboard layout, while names for non-printable keys are the same across layouts but depend on the application language and should be localized along with other user interface text.

    +
    Parameters
    + + + +
    [in]keyThe key to query, or GLFW_KEY_UNKNOWN.
    [in]scancodeThe scancode of the key to query.
    +
    +
    +
    Returns
    The UTF-8 encoded, layout-specific name of the key, or NULL.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    The contents of the returned string may change when a keyboard layout change event is received.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Key names
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetKeyScancode()

    + +
    +
    + + + + + + + + +
    int glfwGetKeyScancode (int key)
    +
    +

    This function returns the platform-specific scancode of the specified key.

    +

    If the key is GLFW_KEY_UNKNOWN or does not exist on the keyboard this method will return -1.

    +
    Parameters
    + + +
    [in]keyAny named key.
    +
    +
    +
    Returns
    The platform-specific scancode for the key, or -1 if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Key input
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetKey()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetKey (GLFWwindowwindow,
    int key 
    )
    +
    +

    This function returns the last state reported for the specified key to the specified window. The returned state is one of GLFW_PRESS or GLFW_RELEASE. The higher-level action GLFW_REPEAT is only reported to the key callback.

    +

    If the GLFW_STICKY_KEYS input mode is enabled, this function returns GLFW_PRESS the first time you call it for a key that was pressed, even if that key has already been released.

    +

    The key functions deal with physical keys, with key tokens named after their use on the standard US keyboard layout. If you want to input text, use the Unicode character callback instead.

    +

    The modifier key bit masks are not key tokens and cannot be used with this function.

    +

    Do not use this function to implement text input.

    +
    Parameters
    + + + +
    [in]windowThe desired window.
    [in]keyThe desired keyboard key. GLFW_KEY_UNKNOWN is not a valid key for this function.
    +
    +
    +
    Returns
    One of GLFW_PRESS or GLFW_RELEASE.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Key input
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwGetMouseButton()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetMouseButton (GLFWwindowwindow,
    int button 
    )
    +
    +

    This function returns the last state reported for the specified mouse button to the specified window. The returned state is one of GLFW_PRESS or GLFW_RELEASE.

    +

    If the GLFW_STICKY_MOUSE_BUTTONS input mode is enabled, this function returns GLFW_PRESS the first time you call it for a mouse button that was pressed, even if that mouse button has already been released.

    +
    Parameters
    + + + +
    [in]windowThe desired window.
    [in]buttonThe desired mouse button.
    +
    +
    +
    Returns
    One of GLFW_PRESS or GLFW_RELEASE.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Mouse button input
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwGetCursorPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetCursorPos (GLFWwindowwindow,
    double * xpos,
    double * ypos 
    )
    +
    +

    This function returns the position of the cursor, in screen coordinates, relative to the upper-left corner of the content area of the specified window.

    +

    If the cursor is disabled (with GLFW_CURSOR_DISABLED) then the cursor position is unbounded and limited only by the minimum and maximum values of a double.

    +

    The coordinate can be converted to their integer equivalents with the floor function. Casting directly to an integer type works for positive coordinates, but fails for negative ones.

    +

    Any or all of the position arguments may be NULL. If an error occurs, all non-NULL position arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]windowThe desired window.
    [out]xposWhere to store the cursor x-coordinate, relative to the left edge of the content area, or NULL.
    [out]yposWhere to store the cursor y-coordinate, relative to the to top edge of the content area, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor position
    +
    +glfwSetCursorPos
    +
    Since
    Added in version 3.0. Replaces glfwGetMousePos.
    + +
    +
    + +

    ◆ glfwSetCursorPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetCursorPos (GLFWwindowwindow,
    double xpos,
    double ypos 
    )
    +
    +

    This function sets the position, in screen coordinates, of the cursor relative to the upper-left corner of the content area of the specified window. The window must have input focus. If the window does not have input focus when this function is called, it fails silently.

    +

    Do not use this function to implement things like camera controls. GLFW already provides the GLFW_CURSOR_DISABLED cursor mode that hides the cursor, transparently re-centers it and provides unconstrained cursor motion. See glfwSetInputMode for more information.

    +

    If the cursor mode is GLFW_CURSOR_DISABLED then the cursor position is unconstrained and limited only by the minimum and maximum values of a double.

    +
    Parameters
    + + + + +
    [in]windowThe desired window.
    [in]xposThe desired x-coordinate, relative to the left edge of the content area.
    [in]yposThe desired y-coordinate, relative to the top edge of the content area.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Wayland: This function will only work when the cursor mode is GLFW_CURSOR_DISABLED, otherwise it will do nothing.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor position
    +
    +glfwGetCursorPos
    +
    Since
    Added in version 3.0. Replaces glfwSetMousePos.
    + +
    +
    + +

    ◆ glfwCreateCursor()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFWcursor* glfwCreateCursor (const GLFWimageimage,
    int xhot,
    int yhot 
    )
    +
    +

    Creates a new custom cursor image that can be set for a window with glfwSetCursor. The cursor can be destroyed with glfwDestroyCursor. Any remaining cursors are destroyed by glfwTerminate.

    +

    The pixels are 32-bit, little-endian, non-premultiplied RGBA, i.e. eight bits per channel with the red channel first. They are arranged canonically as packed sequential rows, starting from the top-left corner.

    +

    The cursor hotspot is specified in pixels, relative to the upper-left corner of the cursor image. Like all other coordinate systems in GLFW, the X-axis points to the right and the Y-axis points down.

    +
    Parameters
    + + + + +
    [in]imageThe desired cursor image.
    [in]xhotThe desired x-coordinate, in pixels, of the cursor hotspot.
    [in]yhotThe desired y-coordinate, in pixels, of the cursor hotspot.
    +
    +
    +
    Returns
    The handle of the created cursor, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The specified image data is copied before this function returns.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor objects
    +
    +glfwDestroyCursor
    +
    +glfwCreateStandardCursor
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwCreateStandardCursor()

    + +
    +
    + + + + + + + + +
    GLFWcursor* glfwCreateStandardCursor (int shape)
    +
    +

    Returns a cursor with a standard shape, that can be set for a window with glfwSetCursor. The images for these cursors come from the system cursor theme and their exact appearance will vary between platforms.

    +

    Most of these shapes are guaranteed to exist on every supported platform but a few may not be present. See the table below for details.

    + + + + + + + + + + + + + + + + + + + + + + + +
    Cursor shape Windows macOS X11 Wayland
    GLFW_ARROW_CURSOR Yes Yes Yes Yes
    GLFW_IBEAM_CURSOR Yes Yes Yes Yes
    GLFW_CROSSHAIR_CURSOR Yes Yes Yes Yes
    GLFW_POINTING_HAND_CURSOR Yes Yes Yes Yes
    GLFW_RESIZE_EW_CURSOR Yes Yes Yes Yes
    GLFW_RESIZE_NS_CURSOR Yes Yes Yes Yes
    GLFW_RESIZE_NWSE_CURSOR Yes Yes1 Maybe2 Maybe2
    GLFW_RESIZE_NESW_CURSOR Yes Yes1 Maybe2 Maybe2
    GLFW_RESIZE_ALL_CURSOR Yes Yes Yes Yes
    GLFW_NOT_ALLOWED_CURSOR Yes Yes Maybe2 Maybe2
    +

    1) This uses a private system API and may fail in the future.

    +

    2) This uses a newer standard that not all cursor themes support.

    +

    If the requested shape is not available, this function emits a GLFW_CURSOR_UNAVAILABLE error and returns NULL.

    +
    Parameters
    + + +
    [in]shapeOne of the standard shapes.
    +
    +
    +
    Returns
    A new cursor ready to use or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM, GLFW_CURSOR_UNAVAILABLE and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Standard cursor creation
    +
    +glfwCreateCursor
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwDestroyCursor()

    + +
    +
    + + + + + + + + +
    void glfwDestroyCursor (GLFWcursorcursor)
    +
    +

    This function destroys a cursor previously created with glfwCreateCursor. Any remaining cursors will be destroyed by glfwTerminate.

    +

    If the specified cursor is current for any window, that window will be reverted to the default cursor. This does not affect the cursor mode.

    +
    Parameters
    + + +
    [in]cursorThe cursor object to destroy.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor objects
    +
    +glfwCreateCursor
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwSetCursor()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetCursor (GLFWwindowwindow,
    GLFWcursorcursor 
    )
    +
    +

    This function sets the cursor image to be used when the cursor is over the content area of the specified window. The set cursor will only be visible when the cursor mode of the window is GLFW_CURSOR_NORMAL.

    +

    On some platforms, the set cursor may not be visible unless the window also has input focus.

    +
    Parameters
    + + + +
    [in]windowThe window to set the cursor for.
    [in]cursorThe cursor to set, or NULL to switch back to the default arrow cursor.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor objects
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwSetKeyCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWkeyfun glfwSetKeyCallback (GLFWwindowwindow,
    GLFWkeyfun callback 
    )
    +
    +

    This function sets the key callback of the specified window, which is called when a key is pressed, repeated or released.

    +

    The key functions deal with physical keys, with layout independent key tokens named after their values in the standard US keyboard layout. If you want to input text, use the character callback instead.

    +

    When a window loses input focus, it will generate synthetic key release events for all pressed keys. You can tell these events from user-generated events by the fact that the synthetic ones are generated after the focus loss event has been processed, i.e. after the window focus callback has been called.

    +

    The scancode of a key is specific to that platform or sometimes even to that machine. Scancodes are intended to allow users to bind keys that don't have a GLFW key token. Such keys have key set to GLFW_KEY_UNKNOWN, their state is not saved and so it cannot be queried with glfwGetKey.

    +

    Sometimes GLFW needs to generate synthetic key events, in which case the scancode may be zero.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new key callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int key, int scancode, int action, int mods)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Key input
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetCharCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWcharfun glfwSetCharCallback (GLFWwindowwindow,
    GLFWcharfun callback 
    )
    +
    +

    This function sets the character callback of the specified window, which is called when a Unicode character is input.

    +

    The character callback is intended for Unicode text input. As it deals with characters, it is keyboard layout dependent, whereas the key callback is not. Characters do not map 1:1 to physical keys, as a key may produce zero, one or more characters. If you want to know whether a specific physical key was pressed or released, see the key callback instead.

    +

    The character callback behaves as system text input normally does and will not be called if modifier keys are held down that would prevent normal text input on that platform, for example a Super (Command) key on macOS or Alt key on Windows.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, unsigned int codepoint)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Text input
    +
    Since
    Added in version 2.4. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetCharModsCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWcharmodsfun glfwSetCharModsCallback (GLFWwindowwindow,
    GLFWcharmodsfun callback 
    )
    +
    +

    This function sets the character with modifiers callback of the specified window, which is called when a Unicode character is input regardless of what modifier keys are used.

    +

    The character with modifiers callback is intended for implementing custom Unicode character input. For regular Unicode text input, see the character callback. Like the character callback, the character with modifiers callback deals with characters and is keyboard layout dependent. Characters do not map 1:1 to physical keys, as a key may produce zero, one or more characters. If you want to know whether a specific physical key was pressed or released, see the key callback instead.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or an error occurred.
    +
    Callback signature
    void function_name(GLFWwindow* window, unsigned int codepoint, int mods)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Deprecated:
    Scheduled for removal in version 4.0.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Text input
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwSetMouseButtonCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWmousebuttonfun glfwSetMouseButtonCallback (GLFWwindowwindow,
    GLFWmousebuttonfun callback 
    )
    +
    +

    This function sets the mouse button callback of the specified window, which is called when a mouse button is pressed or released.

    +

    When a window loses input focus, it will generate synthetic mouse button release events for all pressed mouse buttons. You can tell these events from user-generated events by the fact that the synthetic ones are generated after the focus loss event has been processed, i.e. after the window focus callback has been called.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int button, int action, int mods)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Mouse button input
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetCursorPosCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWcursorposfun glfwSetCursorPosCallback (GLFWwindowwindow,
    GLFWcursorposfun callback 
    )
    +
    +

    This function sets the cursor position callback of the specified window, which is called when the cursor is moved. The callback is provided with the position, in screen coordinates, relative to the upper-left corner of the content area of the window.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, double xpos, double ypos);
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor position
    +
    Since
    Added in version 3.0. Replaces glfwSetMousePosCallback.
    + +
    +
    + +

    ◆ glfwSetCursorEnterCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWcursorenterfun glfwSetCursorEnterCallback (GLFWwindowwindow,
    GLFWcursorenterfun callback 
    )
    +
    +

    This function sets the cursor boundary crossing callback of the specified window, which is called when the cursor enters or leaves the content area of the window.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int entered)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Cursor enter/leave events
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetScrollCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWscrollfun glfwSetScrollCallback (GLFWwindowwindow,
    GLFWscrollfun callback 
    )
    +
    +

    This function sets the scroll callback of the specified window, which is called when a scrolling device is used, such as a mouse wheel or scrolling area of a touchpad.

    +

    The scroll callback receives all scrolling input, like that from a mouse wheel or a touchpad scrolling area.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new scroll callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, double xoffset, double yoffset)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Scroll input
    +
    Since
    Added in version 3.0. Replaces glfwSetMouseWheelCallback.
    + +
    +
    + +

    ◆ glfwSetDropCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWdropfun glfwSetDropCallback (GLFWwindowwindow,
    GLFWdropfun callback 
    )
    +
    +

    This function sets the path drop callback of the specified window, which is called when one or more dragged paths are dropped on the window.

    +

    Because the path array and its strings may have been generated specifically for that event, they are not guaranteed to be valid after the callback has returned. If you wish to use them after the callback returns, you need to make a deep copy.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new file drop callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int path_count, const char* paths[])
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Remarks
    Wayland: File drop is currently unimplemented.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Path drop input
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwJoystickPresent()

    + +
    +
    + + + + + + + + +
    int glfwJoystickPresent (int jid)
    +
    +

    This function returns whether the specified joystick is present.

    +

    There is no need to call this function before other functions that accept a joystick ID, as they all check for presence before performing any other work.

    +
    Parameters
    + + +
    [in]jidThe joystick to query.
    +
    +
    +
    Returns
    GLFW_TRUE if the joystick is present, or GLFW_FALSE otherwise.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick input
    +
    Since
    Added in version 3.0. Replaces glfwGetJoystickParam.
    + +
    +
    + +

    ◆ glfwGetJoystickAxes()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const float* glfwGetJoystickAxes (int jid,
    int * count 
    )
    +
    +

    This function returns the values of all axes of the specified joystick. Each element in the array is a value between -1.0 and 1.0.

    +

    If the specified joystick is not present this function will return NULL but will not generate an error. This can be used instead of first calling glfwJoystickPresent.

    +
    Parameters
    + + + +
    [in]jidThe joystick to query.
    [out]countWhere to store the number of axis values in the returned array. This is set to zero if the joystick is not present or an error occurred.
    +
    +
    +
    Returns
    An array of axis values, or NULL if the joystick is not present or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick axis states
    +
    Since
    Added in version 3.0. Replaces glfwGetJoystickPos.
    + +
    +
    + +

    ◆ glfwGetJoystickButtons()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const unsigned char* glfwGetJoystickButtons (int jid,
    int * count 
    )
    +
    +

    This function returns the state of all buttons of the specified joystick. Each element in the array is either GLFW_PRESS or GLFW_RELEASE.

    +

    For backward compatibility with earlier versions that did not have glfwGetJoystickHats, the button array also includes all hats, each represented as four buttons. The hats are in the same order as returned by glfwGetJoystickHats and are in the order up, right, down and left. To disable these extra buttons, set the GLFW_JOYSTICK_HAT_BUTTONS init hint before initialization.

    +

    If the specified joystick is not present this function will return NULL but will not generate an error. This can be used instead of first calling glfwJoystickPresent.

    +
    Parameters
    + + + +
    [in]jidThe joystick to query.
    [out]countWhere to store the number of button states in the returned array. This is set to zero if the joystick is not present or an error occurred.
    +
    +
    +
    Returns
    An array of button states, or NULL if the joystick is not present or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick button states
    +
    Since
    Added in version 2.2. GLFW 3: Changed to return a dynamic array.
    + +
    +
    + +

    ◆ glfwGetJoystickHats()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const unsigned char* glfwGetJoystickHats (int jid,
    int * count 
    )
    +
    +

    This function returns the state of all hats of the specified joystick. Each element in the array is one of the following values:

    + + + + + + + + + + + + + + + + + + + + + +
    Name Value
    GLFW_HAT_CENTERED 0
    GLFW_HAT_UP 1
    GLFW_HAT_RIGHT 2
    GLFW_HAT_DOWN 4
    GLFW_HAT_LEFT 8
    GLFW_HAT_RIGHT_UP GLFW_HAT_RIGHT | GLFW_HAT_UP
    GLFW_HAT_RIGHT_DOWN GLFW_HAT_RIGHT | GLFW_HAT_DOWN
    GLFW_HAT_LEFT_UP GLFW_HAT_LEFT | GLFW_HAT_UP
    GLFW_HAT_LEFT_DOWN GLFW_HAT_LEFT | GLFW_HAT_DOWN
    +

    The diagonal directions are bitwise combinations of the primary (up, right, down and left) directions and you can test for these individually by ANDing it with the corresponding direction.

    +
    if (hats[2] & GLFW_HAT_RIGHT)
    +
    {
    +
    // State of hat 2 could be right-up, right or right-down
    +
    }
    +

    If the specified joystick is not present this function will return NULL but will not generate an error. This can be used instead of first calling glfwJoystickPresent.

    +
    Parameters
    + + + +
    [in]jidThe joystick to query.
    [out]countWhere to store the number of hat states in the returned array. This is set to zero if the joystick is not present or an error occurred.
    +
    +
    +
    Returns
    An array of hat states, or NULL if the joystick is not present or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected, this function is called again for that joystick or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick hat states
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetJoystickName()

    + +
    +
    + + + + + + + + +
    const char* glfwGetJoystickName (int jid)
    +
    +

    This function returns the name, encoded as UTF-8, of the specified joystick. The returned string is allocated and freed by GLFW. You should not free it yourself.

    +

    If the specified joystick is not present this function will return NULL but will not generate an error. This can be used instead of first calling glfwJoystickPresent.

    +
    Parameters
    + + +
    [in]jidThe joystick to query.
    +
    +
    +
    Returns
    The UTF-8 encoded name of the joystick, or NULL if the joystick is not present or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick name
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetJoystickGUID()

    + +
    +
    + + + + + + + + +
    const char* glfwGetJoystickGUID (int jid)
    +
    +

    This function returns the SDL compatible GUID, as a UTF-8 encoded hexadecimal string, of the specified joystick. The returned string is allocated and freed by GLFW. You should not free it yourself.

    +

    The GUID is what connects a joystick to a gamepad mapping. A connected joystick will always have a GUID even if there is no gamepad mapping assigned to it.

    +

    If the specified joystick is not present this function will return NULL but will not generate an error. This can be used instead of first calling glfwJoystickPresent.

    +

    The GUID uses the format introduced in SDL 2.0.5. This GUID tries to uniquely identify the make and model of a joystick but does not identify a specific unit, e.g. all wired Xbox 360 controllers will have the same GUID on that platform. The GUID for a unit may vary between platforms depending on what hardware information the platform specific APIs provide.

    +
    Parameters
    + + +
    [in]jidThe joystick to query.
    +
    +
    +
    Returns
    The UTF-8 encoded GUID of the joystick, or NULL if the joystick is not present or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamepad input
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwSetJoystickUserPointer()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetJoystickUserPointer (int jid,
    void * pointer 
    )
    +
    +

    This function sets the user-defined pointer of the specified joystick. The current value is retained until the joystick is disconnected. The initial value is NULL.

    +

    This function may be called from the joystick callback, even for a joystick that is being disconnected.

    +
    Parameters
    + + + +
    [in]jidThe joystick whose pointer to set.
    [in]pointerThe new value.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    Joystick user pointer
    +
    +glfwGetJoystickUserPointer
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetJoystickUserPointer()

    + +
    +
    + + + + + + + + +
    void* glfwGetJoystickUserPointer (int jid)
    +
    +

    This function returns the current value of the user-defined pointer of the specified joystick. The initial value is NULL.

    +

    This function may be called from the joystick callback, even for a joystick that is being disconnected.

    +
    Parameters
    + + +
    [in]jidThe joystick whose pointer to return.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    Joystick user pointer
    +
    +glfwSetJoystickUserPointer
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwJoystickIsGamepad()

    + +
    +
    + + + + + + + + +
    int glfwJoystickIsGamepad (int jid)
    +
    +

    This function returns whether the specified joystick is both present and has a gamepad mapping.

    +

    If the specified joystick is present but does not have a gamepad mapping this function will return GLFW_FALSE but will not generate an error. Call glfwJoystickPresent to check if a joystick is present regardless of whether it has a mapping.

    +
    Parameters
    + + +
    [in]jidThe joystick to query.
    +
    +
    +
    Returns
    GLFW_TRUE if a joystick is both present and has a gamepad mapping, or GLFW_FALSE otherwise.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamepad input
    +
    +glfwGetGamepadState
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwSetJoystickCallback()

    + +
    +
    + + + + + + + + +
    GLFWjoystickfun glfwSetJoystickCallback (GLFWjoystickfun callback)
    +
    +

    This function sets the joystick configuration callback, or removes the currently set callback. This is called when a joystick is connected to or disconnected from the system.

    +

    For joystick connection and disconnection events to be delivered on all platforms, you need to call one of the event processing functions. Joystick disconnection may also be detected and the callback called by joystick functions. The function will then return whatever it returns if the joystick is not present.

    +
    Parameters
    + + +
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(int jid, int event)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Joystick configuration changes
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwUpdateGamepadMappings()

    + +
    +
    + + + + + + + + +
    int glfwUpdateGamepadMappings (const char * string)
    +
    +

    This function parses the specified ASCII encoded string and updates the internal list with any gamepad mappings it finds. This string may contain either a single gamepad mapping or many mappings separated by newlines. The parser supports the full format of the gamecontrollerdb.txt source file including empty lines and comments.

    +

    See Gamepad mappings for a description of the format.

    +

    If there is already a gamepad mapping for a given GUID in the internal list, it will be replaced by the one passed to this function. If the library is terminated and re-initialized the internal list will revert to the built-in default.

    +
    Parameters
    + + +
    [in]stringThe string containing the gamepad mappings.
    +
    +
    +
    Returns
    GLFW_TRUE if successful, or GLFW_FALSE if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_VALUE.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamepad input
    +
    +glfwJoystickIsGamepad
    +
    +glfwGetGamepadName
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetGamepadName()

    + +
    +
    + + + + + + + + +
    const char* glfwGetGamepadName (int jid)
    +
    +

    This function returns the human-readable name of the gamepad from the gamepad mapping assigned to the specified joystick.

    +

    If the specified joystick is not present or does not have a gamepad mapping this function will return NULL but will not generate an error. Call glfwJoystickPresent to check whether it is present regardless of whether it has a mapping.

    +
    Parameters
    + + +
    [in]jidThe joystick to query.
    +
    +
    +
    Returns
    The UTF-8 encoded name of the gamepad, or NULL if the joystick is not present, does not have a mapping or an error occurred.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected, the gamepad mappings are updated or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamepad input
    +
    +glfwJoystickIsGamepad
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetGamepadState()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetGamepadState (int jid,
    GLFWgamepadstatestate 
    )
    +
    +

    This function retrieves the state of the specified joystick remapped to an Xbox-like gamepad.

    +

    If the specified joystick is not present or does not have a gamepad mapping this function will return GLFW_FALSE but will not generate an error. Call glfwJoystickPresent to check whether it is present regardless of whether it has a mapping.

    +

    The Guide button may not be available for input as it is often hooked by the system or the Steam client.

    +

    Not all devices have all the buttons or axes provided by GLFWgamepadstate. Unavailable buttons and axes will always report GLFW_RELEASE and 0.0 respectively.

    +
    Parameters
    + + + +
    [in]jidThe joystick to query.
    [out]stateThe gamepad input state of the joystick.
    +
    +
    +
    Returns
    GLFW_TRUE if successful, or GLFW_FALSE if no joystick is connected, it has no gamepad mapping or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamepad input
    +
    +glfwUpdateGamepadMappings
    +
    +glfwJoystickIsGamepad
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwSetClipboardString()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetClipboardString (GLFWwindowwindow,
    const char * string 
    )
    +
    +

    This function sets the system clipboard to the specified, UTF-8 encoded string.

    +
    Parameters
    + + + +
    [in]windowDeprecated. Any valid window or NULL.
    [in]stringA UTF-8 encoded string.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The specified string is copied before this function returns.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Clipboard input and output
    +
    +glfwGetClipboardString
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetClipboardString()

    + +
    +
    + + + + + + + + +
    const char* glfwGetClipboardString (GLFWwindowwindow)
    +
    +

    This function returns the contents of the system clipboard, if it contains or is convertible to a UTF-8 encoded string. If the clipboard is empty or if its contents cannot be converted, NULL is returned and a GLFW_FORMAT_UNAVAILABLE error is generated.

    +
    Parameters
    + + +
    [in]windowDeprecated. Any valid window or NULL.
    +
    +
    +
    Returns
    The contents of the clipboard as a UTF-8 encoded string, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the next call to glfwGetClipboardString or glfwSetClipboardString, or until the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Clipboard input and output
    +
    +glfwSetClipboardString
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetTime()

    + +
    +
    + + + + + + + + +
    double glfwGetTime (void )
    +
    +

    This function returns the current GLFW time, in seconds. Unless the time has been set using glfwSetTime it measures time elapsed since GLFW was initialized.

    +

    This function and glfwSetTime are helper functions on top of glfwGetTimerFrequency and glfwGetTimerValue.

    +

    The resolution of the timer is system dependent, but is usually on the order of a few micro- or nanoseconds. It uses the highest-resolution monotonic time source on each supported platform.

    +
    Returns
    The current time, in seconds, or zero if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Reading and writing of the internal base time is not atomic, so it needs to be externally synchronized with calls to glfwSetTime.
    +
    See also
    Time input
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwSetTime()

    + +
    +
    + + + + + + + + +
    void glfwSetTime (double time)
    +
    +

    This function sets the current GLFW time, in seconds. The value must be a positive finite number less than or equal to 18446744073.0, which is approximately 584.5 years.

    +

    This function and glfwGetTime are helper functions on top of glfwGetTimerFrequency and glfwGetTimerValue.

    +
    Parameters
    + + +
    [in]timeThe new value, in seconds.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_VALUE.
    +
    Remarks
    The upper limit of GLFW time is calculated as floor((264 - 1) / 109) and is due to implementations storing nanoseconds in 64 bits. The limit may be increased in the future.
    +
    Thread safety
    This function may be called from any thread. Reading and writing of the internal base time is not atomic, so it needs to be externally synchronized with calls to glfwGetTime.
    +
    See also
    Time input
    +
    Since
    Added in version 2.2.
    + +
    +
    + +

    ◆ glfwGetTimerValue()

    + +
    +
    + + + + + + + + +
    uint64_t glfwGetTimerValue (void )
    +
    +

    This function returns the current value of the raw timer, measured in 1 / frequency seconds. To get the frequency, call glfwGetTimerFrequency.

    +
    Returns
    The value of the timer, or zero if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Time input
    +
    +glfwGetTimerFrequency
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetTimerFrequency()

    + +
    +
    + + + + + + + + +
    uint64_t glfwGetTimerFrequency (void )
    +
    +

    This function returns the frequency, in Hz, of the raw timer.

    +
    Returns
    The frequency of the timer, in Hz, or zero if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Time input
    +
    +glfwGetTimerValue
    +
    Since
    Added in version 3.2.
    + +
    +
    +
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1312
    +
    #define GLFW_HAT_RIGHT
    Definition: glfw3.h:354
    + + + diff --git a/docs/3.4/group__joysticks.html b/docs/3.4/group__joysticks.html new file mode 100644 index 0000000..e533a98 --- /dev/null +++ b/docs/3.4/group__joysticks.html @@ -0,0 +1,355 @@ + + + + + + + +GLFW: Joysticks + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    +
    +
    +

    Description

    +

    See joystick input for how these are used.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_JOYSTICK_1   0
     
    #define GLFW_JOYSTICK_2   1
     
    #define GLFW_JOYSTICK_3   2
     
    #define GLFW_JOYSTICK_4   3
     
    #define GLFW_JOYSTICK_5   4
     
    #define GLFW_JOYSTICK_6   5
     
    #define GLFW_JOYSTICK_7   6
     
    #define GLFW_JOYSTICK_8   7
     
    #define GLFW_JOYSTICK_9   8
     
    #define GLFW_JOYSTICK_10   9
     
    #define GLFW_JOYSTICK_11   10
     
    #define GLFW_JOYSTICK_12   11
     
    #define GLFW_JOYSTICK_13   12
     
    #define GLFW_JOYSTICK_14   13
     
    #define GLFW_JOYSTICK_15   14
     
    #define GLFW_JOYSTICK_16   15
     
    #define GLFW_JOYSTICK_LAST   GLFW_JOYSTICK_16
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_JOYSTICK_1

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_1   0
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_2

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_2   1
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_3

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_3   2
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_4

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_4   3
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_5

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_5   4
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_6

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_6   5
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_7

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_7   6
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_8

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_8   7
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_9

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_9   8
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_10

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_10   9
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_11

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_11   10
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_12

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_12   11
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_13

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_13   12
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_14

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_14   13
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_15

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_15   14
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_16

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_16   15
    +
    + +
    +
    + +

    ◆ GLFW_JOYSTICK_LAST

    + +
    +
    + + + + +
    #define GLFW_JOYSTICK_LAST   GLFW_JOYSTICK_16
    +
    + +
    +
    +
    + + + diff --git a/docs/3.4/group__keys.html b/docs/3.4/group__keys.html new file mode 100644 index 0000000..13d269d --- /dev/null +++ b/docs/3.4/group__keys.html @@ -0,0 +1,2043 @@ + + + + + + + +GLFW: Keyboard keys + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Keyboard keys
    +
    +
    +

    Description

    +

    See key input for how these are used.

    +

    These key codes are inspired by the USB HID Usage Tables v1.12 (p. 53-60), but re-arranged to map to 7-bit ASCII for printable keys (function keys are put in the 256+ range).

    +

    The naming of the key codes follow these rules:

      +
    • The US keyboard layout is used
    • +
    • Names of printable alpha-numeric characters are used (e.g. "A", "R", "3", etc.)
    • +
    • For non-alphanumeric characters, Unicode:ish names are used (e.g. "COMMA", "LEFT_SQUARE_BRACKET", etc.). Note that some names do not correspond to the Unicode standard (usually for brevity)
    • +
    • Keys that lack a clear US mapping are named "WORLD_x"
    • +
    • For non-printable keys, custom names are used (e.g. "F4", "BACKSPACE", etc.)
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_KEY_UNKNOWN   -1
     
    #define GLFW_KEY_SPACE   32
     
    #define GLFW_KEY_APOSTROPHE   39 /* ' */
     
    #define GLFW_KEY_COMMA   44 /* , */
     
    #define GLFW_KEY_MINUS   45 /* - */
     
    #define GLFW_KEY_PERIOD   46 /* . */
     
    #define GLFW_KEY_SLASH   47 /* / */
     
    #define GLFW_KEY_0   48
     
    #define GLFW_KEY_1   49
     
    #define GLFW_KEY_2   50
     
    #define GLFW_KEY_3   51
     
    #define GLFW_KEY_4   52
     
    #define GLFW_KEY_5   53
     
    #define GLFW_KEY_6   54
     
    #define GLFW_KEY_7   55
     
    #define GLFW_KEY_8   56
     
    #define GLFW_KEY_9   57
     
    #define GLFW_KEY_SEMICOLON   59 /* ; */
     
    #define GLFW_KEY_EQUAL   61 /* = */
     
    #define GLFW_KEY_A   65
     
    #define GLFW_KEY_B   66
     
    #define GLFW_KEY_C   67
     
    #define GLFW_KEY_D   68
     
    #define GLFW_KEY_E   69
     
    #define GLFW_KEY_F   70
     
    #define GLFW_KEY_G   71
     
    #define GLFW_KEY_H   72
     
    #define GLFW_KEY_I   73
     
    #define GLFW_KEY_J   74
     
    #define GLFW_KEY_K   75
     
    #define GLFW_KEY_L   76
     
    #define GLFW_KEY_M   77
     
    #define GLFW_KEY_N   78
     
    #define GLFW_KEY_O   79
     
    #define GLFW_KEY_P   80
     
    #define GLFW_KEY_Q   81
     
    #define GLFW_KEY_R   82
     
    #define GLFW_KEY_S   83
     
    #define GLFW_KEY_T   84
     
    #define GLFW_KEY_U   85
     
    #define GLFW_KEY_V   86
     
    #define GLFW_KEY_W   87
     
    #define GLFW_KEY_X   88
     
    #define GLFW_KEY_Y   89
     
    #define GLFW_KEY_Z   90
     
    #define GLFW_KEY_LEFT_BRACKET   91 /* [ */
     
    #define GLFW_KEY_BACKSLASH   92 /* \ */
     
    #define GLFW_KEY_RIGHT_BRACKET   93 /* ] */
     
    #define GLFW_KEY_GRAVE_ACCENT   96 /* ` */
     
    #define GLFW_KEY_WORLD_1   161 /* non-US #1 */
     
    #define GLFW_KEY_WORLD_2   162 /* non-US #2 */
     
    #define GLFW_KEY_ESCAPE   256
     
    #define GLFW_KEY_ENTER   257
     
    #define GLFW_KEY_TAB   258
     
    #define GLFW_KEY_BACKSPACE   259
     
    #define GLFW_KEY_INSERT   260
     
    #define GLFW_KEY_DELETE   261
     
    #define GLFW_KEY_RIGHT   262
     
    #define GLFW_KEY_LEFT   263
     
    #define GLFW_KEY_DOWN   264
     
    #define GLFW_KEY_UP   265
     
    #define GLFW_KEY_PAGE_UP   266
     
    #define GLFW_KEY_PAGE_DOWN   267
     
    #define GLFW_KEY_HOME   268
     
    #define GLFW_KEY_END   269
     
    #define GLFW_KEY_CAPS_LOCK   280
     
    #define GLFW_KEY_SCROLL_LOCK   281
     
    #define GLFW_KEY_NUM_LOCK   282
     
    #define GLFW_KEY_PRINT_SCREEN   283
     
    #define GLFW_KEY_PAUSE   284
     
    #define GLFW_KEY_F1   290
     
    #define GLFW_KEY_F2   291
     
    #define GLFW_KEY_F3   292
     
    #define GLFW_KEY_F4   293
     
    #define GLFW_KEY_F5   294
     
    #define GLFW_KEY_F6   295
     
    #define GLFW_KEY_F7   296
     
    #define GLFW_KEY_F8   297
     
    #define GLFW_KEY_F9   298
     
    #define GLFW_KEY_F10   299
     
    #define GLFW_KEY_F11   300
     
    #define GLFW_KEY_F12   301
     
    #define GLFW_KEY_F13   302
     
    #define GLFW_KEY_F14   303
     
    #define GLFW_KEY_F15   304
     
    #define GLFW_KEY_F16   305
     
    #define GLFW_KEY_F17   306
     
    #define GLFW_KEY_F18   307
     
    #define GLFW_KEY_F19   308
     
    #define GLFW_KEY_F20   309
     
    #define GLFW_KEY_F21   310
     
    #define GLFW_KEY_F22   311
     
    #define GLFW_KEY_F23   312
     
    #define GLFW_KEY_F24   313
     
    #define GLFW_KEY_F25   314
     
    #define GLFW_KEY_KP_0   320
     
    #define GLFW_KEY_KP_1   321
     
    #define GLFW_KEY_KP_2   322
     
    #define GLFW_KEY_KP_3   323
     
    #define GLFW_KEY_KP_4   324
     
    #define GLFW_KEY_KP_5   325
     
    #define GLFW_KEY_KP_6   326
     
    #define GLFW_KEY_KP_7   327
     
    #define GLFW_KEY_KP_8   328
     
    #define GLFW_KEY_KP_9   329
     
    #define GLFW_KEY_KP_DECIMAL   330
     
    #define GLFW_KEY_KP_DIVIDE   331
     
    #define GLFW_KEY_KP_MULTIPLY   332
     
    #define GLFW_KEY_KP_SUBTRACT   333
     
    #define GLFW_KEY_KP_ADD   334
     
    #define GLFW_KEY_KP_ENTER   335
     
    #define GLFW_KEY_KP_EQUAL   336
     
    #define GLFW_KEY_LEFT_SHIFT   340
     
    #define GLFW_KEY_LEFT_CONTROL   341
     
    #define GLFW_KEY_LEFT_ALT   342
     
    #define GLFW_KEY_LEFT_SUPER   343
     
    #define GLFW_KEY_RIGHT_SHIFT   344
     
    #define GLFW_KEY_RIGHT_CONTROL   345
     
    #define GLFW_KEY_RIGHT_ALT   346
     
    #define GLFW_KEY_RIGHT_SUPER   347
     
    #define GLFW_KEY_MENU   348
     
    #define GLFW_KEY_LAST   GLFW_KEY_MENU
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_KEY_UNKNOWN

    + +
    +
    + + + + +
    #define GLFW_KEY_UNKNOWN   -1
    +
    + +
    +
    + +

    ◆ GLFW_KEY_SPACE

    + +
    +
    + + + + +
    #define GLFW_KEY_SPACE   32
    +
    + +
    +
    + +

    ◆ GLFW_KEY_APOSTROPHE

    + +
    +
    + + + + +
    #define GLFW_KEY_APOSTROPHE   39 /* ' */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_COMMA

    + +
    +
    + + + + +
    #define GLFW_KEY_COMMA   44 /* , */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_MINUS

    + +
    +
    + + + + +
    #define GLFW_KEY_MINUS   45 /* - */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PERIOD

    + +
    +
    + + + + +
    #define GLFW_KEY_PERIOD   46 /* . */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_SLASH

    + +
    +
    + + + + +
    #define GLFW_KEY_SLASH   47 /* / */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_0

    + +
    +
    + + + + +
    #define GLFW_KEY_0   48
    +
    + +
    +
    + +

    ◆ GLFW_KEY_1

    + +
    +
    + + + + +
    #define GLFW_KEY_1   49
    +
    + +
    +
    + +

    ◆ GLFW_KEY_2

    + +
    +
    + + + + +
    #define GLFW_KEY_2   50
    +
    + +
    +
    + +

    ◆ GLFW_KEY_3

    + +
    +
    + + + + +
    #define GLFW_KEY_3   51
    +
    + +
    +
    + +

    ◆ GLFW_KEY_4

    + +
    +
    + + + + +
    #define GLFW_KEY_4   52
    +
    + +
    +
    + +

    ◆ GLFW_KEY_5

    + +
    +
    + + + + +
    #define GLFW_KEY_5   53
    +
    + +
    +
    + +

    ◆ GLFW_KEY_6

    + +
    +
    + + + + +
    #define GLFW_KEY_6   54
    +
    + +
    +
    + +

    ◆ GLFW_KEY_7

    + +
    +
    + + + + +
    #define GLFW_KEY_7   55
    +
    + +
    +
    + +

    ◆ GLFW_KEY_8

    + +
    +
    + + + + +
    #define GLFW_KEY_8   56
    +
    + +
    +
    + +

    ◆ GLFW_KEY_9

    + +
    +
    + + + + +
    #define GLFW_KEY_9   57
    +
    + +
    +
    + +

    ◆ GLFW_KEY_SEMICOLON

    + +
    +
    + + + + +
    #define GLFW_KEY_SEMICOLON   59 /* ; */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_EQUAL

    + +
    +
    + + + + +
    #define GLFW_KEY_EQUAL   61 /* = */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_A

    + +
    +
    + + + + +
    #define GLFW_KEY_A   65
    +
    + +
    +
    + +

    ◆ GLFW_KEY_B

    + +
    +
    + + + + +
    #define GLFW_KEY_B   66
    +
    + +
    +
    + +

    ◆ GLFW_KEY_C

    + +
    +
    + + + + +
    #define GLFW_KEY_C   67
    +
    + +
    +
    + +

    ◆ GLFW_KEY_D

    + +
    +
    + + + + +
    #define GLFW_KEY_D   68
    +
    + +
    +
    + +

    ◆ GLFW_KEY_E

    + +
    +
    + + + + +
    #define GLFW_KEY_E   69
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F

    + +
    +
    + + + + +
    #define GLFW_KEY_F   70
    +
    + +
    +
    + +

    ◆ GLFW_KEY_G

    + +
    +
    + + + + +
    #define GLFW_KEY_G   71
    +
    + +
    +
    + +

    ◆ GLFW_KEY_H

    + +
    +
    + + + + +
    #define GLFW_KEY_H   72
    +
    + +
    +
    + +

    ◆ GLFW_KEY_I

    + +
    +
    + + + + +
    #define GLFW_KEY_I   73
    +
    + +
    +
    + +

    ◆ GLFW_KEY_J

    + +
    +
    + + + + +
    #define GLFW_KEY_J   74
    +
    + +
    +
    + +

    ◆ GLFW_KEY_K

    + +
    +
    + + + + +
    #define GLFW_KEY_K   75
    +
    + +
    +
    + +

    ◆ GLFW_KEY_L

    + +
    +
    + + + + +
    #define GLFW_KEY_L   76
    +
    + +
    +
    + +

    ◆ GLFW_KEY_M

    + +
    +
    + + + + +
    #define GLFW_KEY_M   77
    +
    + +
    +
    + +

    ◆ GLFW_KEY_N

    + +
    +
    + + + + +
    #define GLFW_KEY_N   78
    +
    + +
    +
    + +

    ◆ GLFW_KEY_O

    + +
    +
    + + + + +
    #define GLFW_KEY_O   79
    +
    + +
    +
    + +

    ◆ GLFW_KEY_P

    + +
    +
    + + + + +
    #define GLFW_KEY_P   80
    +
    + +
    +
    + +

    ◆ GLFW_KEY_Q

    + +
    +
    + + + + +
    #define GLFW_KEY_Q   81
    +
    + +
    +
    + +

    ◆ GLFW_KEY_R

    + +
    +
    + + + + +
    #define GLFW_KEY_R   82
    +
    + +
    +
    + +

    ◆ GLFW_KEY_S

    + +
    +
    + + + + +
    #define GLFW_KEY_S   83
    +
    + +
    +
    + +

    ◆ GLFW_KEY_T

    + +
    +
    + + + + +
    #define GLFW_KEY_T   84
    +
    + +
    +
    + +

    ◆ GLFW_KEY_U

    + +
    +
    + + + + +
    #define GLFW_KEY_U   85
    +
    + +
    +
    + +

    ◆ GLFW_KEY_V

    + +
    +
    + + + + +
    #define GLFW_KEY_V   86
    +
    + +
    +
    + +

    ◆ GLFW_KEY_W

    + +
    +
    + + + + +
    #define GLFW_KEY_W   87
    +
    + +
    +
    + +

    ◆ GLFW_KEY_X

    + +
    +
    + + + + +
    #define GLFW_KEY_X   88
    +
    + +
    +
    + +

    ◆ GLFW_KEY_Y

    + +
    +
    + + + + +
    #define GLFW_KEY_Y   89
    +
    + +
    +
    + +

    ◆ GLFW_KEY_Z

    + +
    +
    + + + + +
    #define GLFW_KEY_Z   90
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_BRACKET

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_BRACKET   91 /* [ */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_BACKSLASH

    + +
    +
    + + + + +
    #define GLFW_KEY_BACKSLASH   92 /* \ */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_BRACKET

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_BRACKET   93 /* ] */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_GRAVE_ACCENT

    + +
    +
    + + + + +
    #define GLFW_KEY_GRAVE_ACCENT   96 /* ` */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_WORLD_1

    + +
    +
    + + + + +
    #define GLFW_KEY_WORLD_1   161 /* non-US #1 */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_WORLD_2

    + +
    +
    + + + + +
    #define GLFW_KEY_WORLD_2   162 /* non-US #2 */
    +
    + +
    +
    + +

    ◆ GLFW_KEY_ESCAPE

    + +
    +
    + + + + +
    #define GLFW_KEY_ESCAPE   256
    +
    + +
    +
    + +

    ◆ GLFW_KEY_ENTER

    + +
    +
    + + + + +
    #define GLFW_KEY_ENTER   257
    +
    + +
    +
    + +

    ◆ GLFW_KEY_TAB

    + +
    +
    + + + + +
    #define GLFW_KEY_TAB   258
    +
    + +
    +
    + +

    ◆ GLFW_KEY_BACKSPACE

    + +
    +
    + + + + +
    #define GLFW_KEY_BACKSPACE   259
    +
    + +
    +
    + +

    ◆ GLFW_KEY_INSERT

    + +
    +
    + + + + +
    #define GLFW_KEY_INSERT   260
    +
    + +
    +
    + +

    ◆ GLFW_KEY_DELETE

    + +
    +
    + + + + +
    #define GLFW_KEY_DELETE   261
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT   262
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT   263
    +
    + +
    +
    + +

    ◆ GLFW_KEY_DOWN

    + +
    +
    + + + + +
    #define GLFW_KEY_DOWN   264
    +
    + +
    +
    + +

    ◆ GLFW_KEY_UP

    + +
    +
    + + + + +
    #define GLFW_KEY_UP   265
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PAGE_UP

    + +
    +
    + + + + +
    #define GLFW_KEY_PAGE_UP   266
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PAGE_DOWN

    + +
    +
    + + + + +
    #define GLFW_KEY_PAGE_DOWN   267
    +
    + +
    +
    + +

    ◆ GLFW_KEY_HOME

    + +
    +
    + + + + +
    #define GLFW_KEY_HOME   268
    +
    + +
    +
    + +

    ◆ GLFW_KEY_END

    + +
    +
    + + + + +
    #define GLFW_KEY_END   269
    +
    + +
    +
    + +

    ◆ GLFW_KEY_CAPS_LOCK

    + +
    +
    + + + + +
    #define GLFW_KEY_CAPS_LOCK   280
    +
    + +
    +
    + +

    ◆ GLFW_KEY_SCROLL_LOCK

    + +
    +
    + + + + +
    #define GLFW_KEY_SCROLL_LOCK   281
    +
    + +
    +
    + +

    ◆ GLFW_KEY_NUM_LOCK

    + +
    +
    + + + + +
    #define GLFW_KEY_NUM_LOCK   282
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PRINT_SCREEN

    + +
    +
    + + + + +
    #define GLFW_KEY_PRINT_SCREEN   283
    +
    + +
    +
    + +

    ◆ GLFW_KEY_PAUSE

    + +
    +
    + + + + +
    #define GLFW_KEY_PAUSE   284
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F1

    + +
    +
    + + + + +
    #define GLFW_KEY_F1   290
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F2

    + +
    +
    + + + + +
    #define GLFW_KEY_F2   291
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F3

    + +
    +
    + + + + +
    #define GLFW_KEY_F3   292
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F4

    + +
    +
    + + + + +
    #define GLFW_KEY_F4   293
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F5

    + +
    +
    + + + + +
    #define GLFW_KEY_F5   294
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F6

    + +
    +
    + + + + +
    #define GLFW_KEY_F6   295
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F7

    + +
    +
    + + + + +
    #define GLFW_KEY_F7   296
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F8

    + +
    +
    + + + + +
    #define GLFW_KEY_F8   297
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F9

    + +
    +
    + + + + +
    #define GLFW_KEY_F9   298
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F10

    + +
    +
    + + + + +
    #define GLFW_KEY_F10   299
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F11

    + +
    +
    + + + + +
    #define GLFW_KEY_F11   300
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F12

    + +
    +
    + + + + +
    #define GLFW_KEY_F12   301
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F13

    + +
    +
    + + + + +
    #define GLFW_KEY_F13   302
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F14

    + +
    +
    + + + + +
    #define GLFW_KEY_F14   303
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F15

    + +
    +
    + + + + +
    #define GLFW_KEY_F15   304
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F16

    + +
    +
    + + + + +
    #define GLFW_KEY_F16   305
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F17

    + +
    +
    + + + + +
    #define GLFW_KEY_F17   306
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F18

    + +
    +
    + + + + +
    #define GLFW_KEY_F18   307
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F19

    + +
    +
    + + + + +
    #define GLFW_KEY_F19   308
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F20

    + +
    +
    + + + + +
    #define GLFW_KEY_F20   309
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F21

    + +
    +
    + + + + +
    #define GLFW_KEY_F21   310
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F22

    + +
    +
    + + + + +
    #define GLFW_KEY_F22   311
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F23

    + +
    +
    + + + + +
    #define GLFW_KEY_F23   312
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F24

    + +
    +
    + + + + +
    #define GLFW_KEY_F24   313
    +
    + +
    +
    + +

    ◆ GLFW_KEY_F25

    + +
    +
    + + + + +
    #define GLFW_KEY_F25   314
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_0

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_0   320
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_1

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_1   321
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_2

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_2   322
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_3

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_3   323
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_4

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_4   324
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_5

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_5   325
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_6

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_6   326
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_7

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_7   327
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_8

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_8   328
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_9

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_9   329
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_DECIMAL

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_DECIMAL   330
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_DIVIDE

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_DIVIDE   331
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_MULTIPLY

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_MULTIPLY   332
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_SUBTRACT

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_SUBTRACT   333
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_ADD

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_ADD   334
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_ENTER

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_ENTER   335
    +
    + +
    +
    + +

    ◆ GLFW_KEY_KP_EQUAL

    + +
    +
    + + + + +
    #define GLFW_KEY_KP_EQUAL   336
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_SHIFT

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_SHIFT   340
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_CONTROL

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_CONTROL   341
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_ALT

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_ALT   342
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LEFT_SUPER

    + +
    +
    + + + + +
    #define GLFW_KEY_LEFT_SUPER   343
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_SHIFT

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_SHIFT   344
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_CONTROL

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_CONTROL   345
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_ALT

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_ALT   346
    +
    + +
    +
    + +

    ◆ GLFW_KEY_RIGHT_SUPER

    + +
    +
    + + + + +
    #define GLFW_KEY_RIGHT_SUPER   347
    +
    + +
    +
    + +

    ◆ GLFW_KEY_MENU

    + +
    +
    + + + + +
    #define GLFW_KEY_MENU   348
    +
    + +
    +
    + +

    ◆ GLFW_KEY_LAST

    + +
    +
    + + + + +
    #define GLFW_KEY_LAST   GLFW_KEY_MENU
    +
    + +
    +
    +
    + + + diff --git a/docs/3.4/group__mods.html b/docs/3.4/group__mods.html new file mode 100644 index 0000000..bc004b0 --- /dev/null +++ b/docs/3.4/group__mods.html @@ -0,0 +1,191 @@ + + + + + + + +GLFW: Modifier key flags + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Modifier key flags
    +
    +
    +

    Description

    +

    See key input for how these are used.

    + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_MOD_SHIFT   0x0001
     If this bit is set one or more Shift keys were held down. More...
     
    #define GLFW_MOD_CONTROL   0x0002
     If this bit is set one or more Control keys were held down. More...
     
    #define GLFW_MOD_ALT   0x0004
     If this bit is set one or more Alt keys were held down. More...
     
    #define GLFW_MOD_SUPER   0x0008
     If this bit is set one or more Super keys were held down. More...
     
    #define GLFW_MOD_CAPS_LOCK   0x0010
     If this bit is set the Caps Lock key is enabled. More...
     
    #define GLFW_MOD_NUM_LOCK   0x0020
     If this bit is set the Num Lock key is enabled. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_MOD_SHIFT

    + +
    +
    + + + + +
    #define GLFW_MOD_SHIFT   0x0001
    +
    +

    If this bit is set one or more Shift keys were held down.

    + +
    +
    + +

    ◆ GLFW_MOD_CONTROL

    + +
    +
    + + + + +
    #define GLFW_MOD_CONTROL   0x0002
    +
    +

    If this bit is set one or more Control keys were held down.

    + +
    +
    + +

    ◆ GLFW_MOD_ALT

    + +
    +
    + + + + +
    #define GLFW_MOD_ALT   0x0004
    +
    +

    If this bit is set one or more Alt keys were held down.

    + +
    +
    + +

    ◆ GLFW_MOD_SUPER

    + +
    +
    + + + + +
    #define GLFW_MOD_SUPER   0x0008
    +
    +

    If this bit is set one or more Super keys were held down.

    + +
    +
    + +

    ◆ GLFW_MOD_CAPS_LOCK

    + +
    +
    + + + + +
    #define GLFW_MOD_CAPS_LOCK   0x0010
    +
    +

    If this bit is set the Caps Lock key is enabled and the GLFW_LOCK_KEY_MODS input mode is set.

    + +
    +
    + +

    ◆ GLFW_MOD_NUM_LOCK

    + +
    +
    + + + + +
    #define GLFW_MOD_NUM_LOCK   0x0020
    +
    +

    If this bit is set the Num Lock key is enabled and the GLFW_LOCK_KEY_MODS input mode is set.

    + +
    +
    +
    + + + diff --git a/docs/3.4/group__monitor.html b/docs/3.4/group__monitor.html new file mode 100644 index 0000000..88e48a9 --- /dev/null +++ b/docs/3.4/group__monitor.html @@ -0,0 +1,841 @@ + + + + + + + +GLFW: Monitor reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Monitor reference
    +
    +
    +

    Description

    +

    This is the reference documentation for monitor related functions and types. For more task-oriented information, see the Monitor guide.

    + + + + + + + + + + + + + + +

    +Typedefs

    typedef struct GLFWmonitor GLFWmonitor
     Opaque monitor object. More...
     
    typedef void(* GLFWmonitorfun) (GLFWmonitor *, int)
     The function pointer type for monitor configuration callbacks. More...
     
    typedef struct GLFWvidmode GLFWvidmode
     Video mode type. More...
     
    typedef struct GLFWgammaramp GLFWgammaramp
     Gamma ramp. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    GLFWmonitor ** glfwGetMonitors (int *count)
     Returns the currently connected monitors. More...
     
    GLFWmonitorglfwGetPrimaryMonitor (void)
     Returns the primary monitor. More...
     
    void glfwGetMonitorPos (GLFWmonitor *monitor, int *xpos, int *ypos)
     Returns the position of the monitor's viewport on the virtual screen. More...
     
    void glfwGetMonitorWorkarea (GLFWmonitor *monitor, int *xpos, int *ypos, int *width, int *height)
     Retrieves the work area of the monitor. More...
     
    void glfwGetMonitorPhysicalSize (GLFWmonitor *monitor, int *widthMM, int *heightMM)
     Returns the physical size of the monitor. More...
     
    void glfwGetMonitorContentScale (GLFWmonitor *monitor, float *xscale, float *yscale)
     Retrieves the content scale for the specified monitor. More...
     
    const char * glfwGetMonitorName (GLFWmonitor *monitor)
     Returns the name of the specified monitor. More...
     
    void glfwSetMonitorUserPointer (GLFWmonitor *monitor, void *pointer)
     Sets the user pointer of the specified monitor. More...
     
    void * glfwGetMonitorUserPointer (GLFWmonitor *monitor)
     Returns the user pointer of the specified monitor. More...
     
    GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun callback)
     Sets the monitor configuration callback. More...
     
    const GLFWvidmodeglfwGetVideoModes (GLFWmonitor *monitor, int *count)
     Returns the available video modes for the specified monitor. More...
     
    const GLFWvidmodeglfwGetVideoMode (GLFWmonitor *monitor)
     Returns the current mode of the specified monitor. More...
     
    void glfwSetGamma (GLFWmonitor *monitor, float gamma)
     Generates a gamma ramp and sets it for the specified monitor. More...
     
    const GLFWgammarampglfwGetGammaRamp (GLFWmonitor *monitor)
     Returns the current gamma ramp for the specified monitor. More...
     
    void glfwSetGammaRamp (GLFWmonitor *monitor, const GLFWgammaramp *ramp)
     Sets the current gamma ramp for the specified monitor. More...
     
    +

    Typedef Documentation

    + +

    ◆ GLFWmonitor

    + +
    +
    + + + + +
    typedef struct GLFWmonitor GLFWmonitor
    +
    +

    Opaque monitor object.

    +
    See also
    Monitor objects
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWmonitorfun

    + +
    +
    + + + + +
    typedef void(* GLFWmonitorfun) (GLFWmonitor *, int)
    +
    +

    This is the function pointer type for monitor configuration callbacks. A monitor callback function has the following signature:

    void function_name(GLFWmonitor* monitor, int event)
    +
    Parameters
    + + + +
    [in]monitorThe monitor that was connected or disconnected.
    [in]eventOne of GLFW_CONNECTED or GLFW_DISCONNECTED. Future releases may add more events.
    +
    +
    +
    See also
    Monitor configuration changes
    +
    +glfwSetMonitorCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWvidmode

    + +
    +
    + + + + +
    typedef struct GLFWvidmode GLFWvidmode
    +
    +

    This describes a single video mode.

    +
    See also
    Video modes
    +
    +glfwGetVideoMode
    +
    +glfwGetVideoModes
    +
    Since
    Added in version 1.0. GLFW 3: Added refresh rate member.
    + +
    +
    + +

    ◆ GLFWgammaramp

    + +
    +
    + + + + +
    typedef struct GLFWgammaramp GLFWgammaramp
    +
    +

    This describes the gamma ramp for a monitor.

    +
    See also
    Gamma ramp
    +
    +glfwGetGammaRamp
    +
    +glfwSetGammaRamp
    +
    Since
    Added in version 3.0.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwGetMonitors()

    + +
    +
    + + + + + + + + +
    GLFWmonitor** glfwGetMonitors (int * count)
    +
    +

    This function returns an array of handles for all currently connected monitors. The primary monitor is always first in the returned array. If no monitors were found, this function returns NULL.

    +
    Parameters
    + + +
    [out]countWhere to store the number of monitors in the returned array. This is set to zero if an error occurred.
    +
    +
    +
    Returns
    An array of monitor handles, or NULL if no monitors were found or if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is guaranteed to be valid only until the monitor configuration changes or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Retrieving monitors
    +
    +Monitor configuration changes
    +
    +glfwGetPrimaryMonitor
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetPrimaryMonitor()

    + +
    +
    + + + + + + + + +
    GLFWmonitor* glfwGetPrimaryMonitor (void )
    +
    +

    This function returns the primary monitor. This is usually the monitor where elements like the task bar or global menu bar are located.

    +
    Returns
    The primary monitor, or NULL if no monitors were found or if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    Remarks
    The primary monitor is always first in the array returned by glfwGetMonitors.
    +
    See also
    Retrieving monitors
    +
    +glfwGetMonitors
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetMonitorPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetMonitorPos (GLFWmonitormonitor,
    int * xpos,
    int * ypos 
    )
    +
    +

    This function returns the position, in screen coordinates, of the upper-left corner of the specified monitor.

    +

    Any or all of the position arguments may be NULL. If an error occurs, all non-NULL position arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]monitorThe monitor to query.
    [out]xposWhere to store the monitor x-coordinate, or NULL.
    [out]yposWhere to store the monitor y-coordinate, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Monitor properties
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetMonitorWorkarea()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetMonitorWorkarea (GLFWmonitormonitor,
    int * xpos,
    int * ypos,
    int * width,
    int * height 
    )
    +
    +

    This function returns the position, in screen coordinates, of the upper-left corner of the work area of the specified monitor along with the work area size in screen coordinates. The work area is defined as the area of the monitor not occluded by the operating system task bar where present. If no task bar exists then the work area is the monitor resolution in screen coordinates.

    +

    Any or all of the position and size arguments may be NULL. If an error occurs, all non-NULL position and size arguments will be set to zero.

    +
    Parameters
    + + + + + + +
    [in]monitorThe monitor to query.
    [out]xposWhere to store the monitor x-coordinate, or NULL.
    [out]yposWhere to store the monitor y-coordinate, or NULL.
    [out]widthWhere to store the monitor width, or NULL.
    [out]heightWhere to store the monitor height, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Work area
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetMonitorPhysicalSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetMonitorPhysicalSize (GLFWmonitormonitor,
    int * widthMM,
    int * heightMM 
    )
    +
    +

    This function returns the size, in millimetres, of the display area of the specified monitor.

    +

    Some systems do not provide accurate monitor size information, either because the monitor EDID data is incorrect or because the driver does not report it accurately.

    +

    Any or all of the size arguments may be NULL. If an error occurs, all non-NULL size arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]monitorThe monitor to query.
    [out]widthMMWhere to store the width, in millimetres, of the monitor's display area, or NULL.
    [out]heightMMWhere to store the height, in millimetres, of the monitor's display area, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Remarks
    Windows: calculates the returned physical size from the current resolution and system DPI instead of querying the monitor EDID data.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Monitor properties
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetMonitorContentScale()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetMonitorContentScale (GLFWmonitormonitor,
    float * xscale,
    float * yscale 
    )
    +
    +

    This function retrieves the content scale for the specified monitor. The content scale is the ratio between the current DPI and the platform's default DPI. This is especially important for text and any UI elements. If the pixel dimensions of your UI scaled by this look appropriate on your machine then it should appear at a reasonable size on other machines regardless of their DPI and scaling settings. This relies on the system DPI and scaling settings being somewhat correct.

    +

    The content scale may depend on both the monitor resolution and pixel density and on user settings. It may be very different from the raw DPI calculated from the physical size and current resolution.

    +
    Parameters
    + + + + +
    [in]monitorThe monitor to query.
    [out]xscaleWhere to store the x-axis content scale, or NULL.
    [out]yscaleWhere to store the y-axis content scale, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Content scale
    +
    +glfwGetWindowContentScale
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetMonitorName()

    + +
    +
    + + + + + + + + +
    const char* glfwGetMonitorName (GLFWmonitormonitor)
    +
    +

    This function returns a human-readable name, encoded as UTF-8, of the specified monitor. The name typically reflects the make and model of the monitor and is not guaranteed to be unique among the connected monitors.

    +
    Parameters
    + + +
    [in]monitorThe monitor to query.
    +
    +
    +
    Returns
    The UTF-8 encoded name of the monitor, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified monitor is disconnected or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Monitor properties
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetMonitorUserPointer()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetMonitorUserPointer (GLFWmonitormonitor,
    void * pointer 
    )
    +
    +

    This function sets the user-defined pointer of the specified monitor. The current value is retained until the monitor is disconnected. The initial value is NULL.

    +

    This function may be called from the monitor callback, even for a monitor that is being disconnected.

    +
    Parameters
    + + + +
    [in]monitorThe monitor whose pointer to set.
    [in]pointerThe new value.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    User pointer
    +
    +glfwGetMonitorUserPointer
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetMonitorUserPointer()

    + +
    +
    + + + + + + + + +
    void* glfwGetMonitorUserPointer (GLFWmonitormonitor)
    +
    +

    This function returns the current value of the user-defined pointer of the specified monitor. The initial value is NULL.

    +

    This function may be called from the monitor callback, even for a monitor that is being disconnected.

    +
    Parameters
    + + +
    [in]monitorThe monitor whose pointer to return.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    User pointer
    +
    +glfwSetMonitorUserPointer
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwSetMonitorCallback()

    + +
    +
    + + + + + + + + +
    GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun callback)
    +
    +

    This function sets the monitor configuration callback, or removes the currently set callback. This is called when a monitor is connected to or disconnected from the system.

    +
    Parameters
    + + +
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWmonitor* monitor, int event)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Monitor configuration changes
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetVideoModes()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    const GLFWvidmode* glfwGetVideoModes (GLFWmonitormonitor,
    int * count 
    )
    +
    +

    This function returns an array of all video modes supported by the specified monitor. The returned array is sorted in ascending order, first by color bit depth (the sum of all channel depths) and then by resolution area (the product of width and height).

    +
    Parameters
    + + + +
    [in]monitorThe monitor to query.
    [out]countWhere to store the number of video modes in the returned array. This is set to zero if an error occurred.
    +
    +
    +
    Returns
    An array of video modes, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified monitor is disconnected, this function is called again for that monitor or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Video modes
    +
    +glfwGetVideoMode
    +
    Since
    Added in version 1.0. GLFW 3: Changed to return an array of modes for a specific monitor.
    + +
    +
    + +

    ◆ glfwGetVideoMode()

    + +
    +
    + + + + + + + + +
    const GLFWvidmode* glfwGetVideoMode (GLFWmonitormonitor)
    +
    +

    This function returns the current video mode of the specified monitor. If you have created a full screen window for that monitor, the return value will depend on whether that window is iconified.

    +
    Parameters
    + + +
    [in]monitorThe monitor to query.
    +
    +
    +
    Returns
    The current mode of the monitor, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified monitor is disconnected or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Video modes
    +
    +glfwGetVideoModes
    +
    Since
    Added in version 3.0. Replaces glfwGetDesktopMode.
    + +
    +
    + +

    ◆ glfwSetGamma()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetGamma (GLFWmonitormonitor,
    float gamma 
    )
    +
    +

    This function generates an appropriately sized gamma ramp from the specified exponent and then calls glfwSetGammaRamp with it. The value must be a finite number greater than zero.

    +

    The software controlled gamma ramp is applied in addition to the hardware gamma correction, which today is usually 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.

    +

    For gamma correct rendering with OpenGL or OpenGL ES, see the GLFW_SRGB_CAPABLE hint.

    +
    Parameters
    + + + +
    [in]monitorThe monitor whose gamma ramp to set.
    [in]gammaThe desired exponent.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_VALUE and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Wayland: Gamma handling is a privileged protocol, this function will thus never be implemented and emits GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamma ramp
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetGammaRamp()

    + +
    +
    + + + + + + + + +
    const GLFWgammaramp* glfwGetGammaRamp (GLFWmonitormonitor)
    +
    +

    This function returns the current gamma ramp of the specified monitor.

    +
    Parameters
    + + +
    [in]monitorThe monitor to query.
    +
    +
    +
    Returns
    The current gamma ramp, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Wayland: Gamma handling is a privileged protocol, this function will thus never be implemented and emits GLFW_PLATFORM_ERROR while returning NULL.
    +
    Pointer lifetime
    The returned structure and its arrays are allocated and freed by GLFW. You should not free them yourself. They are valid until the specified monitor is disconnected, this function is called again for that monitor or the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamma ramp
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetGammaRamp()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetGammaRamp (GLFWmonitormonitor,
    const GLFWgammarampramp 
    )
    +
    +

    This function sets the current gamma ramp for the specified monitor. The original gamma ramp for that monitor is saved by GLFW the first time this function is called and is restored by glfwTerminate.

    +

    The software controlled gamma ramp is applied in addition to the hardware gamma correction, which today is usually 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.

    +

    For gamma correct rendering with OpenGL or OpenGL ES, see the GLFW_SRGB_CAPABLE hint.

    +
    Parameters
    + + + +
    [in]monitorThe monitor whose gamma ramp to set.
    [in]rampThe gamma ramp to use.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    The size of the specified gamma ramp should match the size of the current ramp for that monitor.
    +
    +Windows: The gamma ramp size must be 256.
    +
    +Wayland: Gamma handling is a privileged protocol, this function will thus never be implemented and emits GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The specified gamma ramp is copied before this function returns.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Gamma ramp
    +
    Since
    Added in version 3.0.
    + +
    +
    +
    +
    struct GLFWmonitor GLFWmonitor
    Opaque monitor object.
    Definition: glfw3.h:1300
    + + + diff --git a/docs/3.4/group__native.html b/docs/3.4/group__native.html new file mode 100644 index 0000000..7f7f813 --- /dev/null +++ b/docs/3.4/group__native.html @@ -0,0 +1,771 @@ + + + + + + + +GLFW: Native access + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Native access
    +
    +
    +

    Description

    +

    By using the native access functions you assert that you know what you're doing and how to fix problems caused by using them. If you don't, you shouldn't be using them.

    +

    Before the inclusion of glfw3native.h, you may define zero or more window system API macro and zero or more context creation API macros.

    +

    The chosen backends must match those the library was compiled for. Failure to do this will cause a link-time error.

    +

    The available window API macros are:

      +
    • GLFW_EXPOSE_NATIVE_WIN32
    • +
    • GLFW_EXPOSE_NATIVE_COCOA
    • +
    • GLFW_EXPOSE_NATIVE_X11
    • +
    • GLFW_EXPOSE_NATIVE_WAYLAND
    • +
    +

    The available context API macros are:

      +
    • GLFW_EXPOSE_NATIVE_WGL
    • +
    • GLFW_EXPOSE_NATIVE_NSGL
    • +
    • GLFW_EXPOSE_NATIVE_GLX
    • +
    • GLFW_EXPOSE_NATIVE_EGL
    • +
    • GLFW_EXPOSE_NATIVE_OSMESA
    • +
    +

    These macros select which of the native access functions that are declared and which platform-specific headers to include. It is then up your (by definition platform-specific) code to handle which of these should be defined.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    const char * glfwGetWin32Adapter (GLFWmonitor *monitor)
     Returns the adapter device name of the specified monitor. More...
     
    const char * glfwGetWin32Monitor (GLFWmonitor *monitor)
     Returns the display device name of the specified monitor. More...
     
    HWND glfwGetWin32Window (GLFWwindow *window)
     Returns the HWND of the specified window. More...
     
    HGLRC glfwGetWGLContext (GLFWwindow *window)
     Returns the HGLRC of the specified window. More...
     
    CGDirectDisplayID glfwGetCocoaMonitor (GLFWmonitor *monitor)
     Returns the CGDirectDisplayID of the specified monitor. More...
     
    id glfwGetCocoaWindow (GLFWwindow *window)
     Returns the NSWindow of the specified window. More...
     
    id glfwGetNSGLContext (GLFWwindow *window)
     Returns the NSOpenGLContext of the specified window. More...
     
    Display * glfwGetX11Display (void)
     Returns the Display used by GLFW. More...
     
    RRCrtc glfwGetX11Adapter (GLFWmonitor *monitor)
     Returns the RRCrtc of the specified monitor. More...
     
    RROutput glfwGetX11Monitor (GLFWmonitor *monitor)
     Returns the RROutput of the specified monitor. More...
     
    Window glfwGetX11Window (GLFWwindow *window)
     Returns the Window of the specified window. More...
     
    void glfwSetX11SelectionString (const char *string)
     Sets the current primary selection to the specified string. More...
     
    const char * glfwGetX11SelectionString (void)
     Returns the contents of the current primary selection as a string. More...
     
    GLXContext glfwGetGLXContext (GLFWwindow *window)
     Returns the GLXContext of the specified window. More...
     
    GLXWindow glfwGetGLXWindow (GLFWwindow *window)
     Returns the GLXWindow of the specified window. More...
     
    struct wl_display * glfwGetWaylandDisplay (void)
     Returns the struct wl_display* used by GLFW. More...
     
    struct wl_output * glfwGetWaylandMonitor (GLFWmonitor *monitor)
     Returns the struct wl_output* of the specified monitor. More...
     
    struct wl_surface * glfwGetWaylandWindow (GLFWwindow *window)
     Returns the main struct wl_surface* of the specified window. More...
     
    EGLDisplay glfwGetEGLDisplay (void)
     Returns the EGLDisplay used by GLFW. More...
     
    EGLContext glfwGetEGLContext (GLFWwindow *window)
     Returns the EGLContext of the specified window. More...
     
    EGLSurface glfwGetEGLSurface (GLFWwindow *window)
     Returns the EGLSurface of the specified window. More...
     
    int glfwGetOSMesaColorBuffer (GLFWwindow *window, int *width, int *height, int *format, void **buffer)
     Retrieves the color buffer associated with the specified window. More...
     
    int glfwGetOSMesaDepthBuffer (GLFWwindow *window, int *width, int *height, int *bytesPerValue, void **buffer)
     Retrieves the depth buffer associated with the specified window. More...
     
    OSMesaContext glfwGetOSMesaContext (GLFWwindow *window)
     Returns the OSMesaContext of the specified window. More...
     
    +

    Function Documentation

    + +

    ◆ glfwGetWin32Adapter()

    + +
    +
    + + + + + + + + +
    const char* glfwGetWin32Adapter (GLFWmonitormonitor)
    +
    +
    Returns
    The UTF-8 encoded adapter device name (for example \\.\DISPLAY1) of the specified monitor, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetWin32Monitor()

    + +
    +
    + + + + + + + + +
    const char* glfwGetWin32Monitor (GLFWmonitormonitor)
    +
    +
    Returns
    The UTF-8 encoded display device name (for example \\.\DISPLAY1\Monitor0) of the specified monitor, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetWin32Window()

    + +
    +
    + + + + + + + + +
    HWND glfwGetWin32Window (GLFWwindowwindow)
    +
    +
    Returns
    The HWND of the specified window, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetWGLContext()

    + +
    +
    + + + + + + + + +
    HGLRC glfwGetWGLContext (GLFWwindowwindow)
    +
    +
    Returns
    The HGLRC of the specified window, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetCocoaMonitor()

    + +
    +
    + + + + + + + + +
    CGDirectDisplayID glfwGetCocoaMonitor (GLFWmonitormonitor)
    +
    +
    Returns
    The CGDirectDisplayID of the specified monitor, or kCGNullDirectDisplay if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetCocoaWindow()

    + +
    +
    + + + + + + + + +
    id glfwGetCocoaWindow (GLFWwindowwindow)
    +
    +
    Returns
    The NSWindow of the specified window, or nil if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetNSGLContext()

    + +
    +
    + + + + + + + + +
    id glfwGetNSGLContext (GLFWwindowwindow)
    +
    +
    Returns
    The NSOpenGLContext of the specified window, or nil if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetX11Display()

    + +
    +
    + + + + + + + + +
    Display* glfwGetX11Display (void )
    +
    +
    Returns
    The Display used by GLFW, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetX11Adapter()

    + +
    +
    + + + + + + + + +
    RRCrtc glfwGetX11Adapter (GLFWmonitormonitor)
    +
    +
    Returns
    The RRCrtc of the specified monitor, or None if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetX11Monitor()

    + +
    +
    + + + + + + + + +
    RROutput glfwGetX11Monitor (GLFWmonitormonitor)
    +
    +
    Returns
    The RROutput of the specified monitor, or None if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetX11Window()

    + +
    +
    + + + + + + + + +
    Window glfwGetX11Window (GLFWwindowwindow)
    +
    +
    Returns
    The Window of the specified window, or None if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetX11SelectionString()

    + +
    +
    + + + + + + + + +
    void glfwSetX11SelectionString (const char * string)
    +
    +
    Parameters
    + + +
    [in]stringA UTF-8 encoded string.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The specified string is copied before this function returns.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Clipboard input and output
    +
    +glfwGetX11SelectionString
    +
    +glfwSetClipboardString
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetX11SelectionString()

    + +
    +
    + + + + + + + + +
    const char* glfwGetX11SelectionString (void )
    +
    +

    If the selection is empty or if its contents cannot be converted, NULL is returned and a GLFW_FORMAT_UNAVAILABLE error is generated.

    +
    Returns
    The contents of the selection as a UTF-8 encoded string, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Pointer lifetime
    The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the next call to glfwGetX11SelectionString or glfwSetX11SelectionString, or until the library is terminated.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Clipboard input and output
    +
    +glfwSetX11SelectionString
    +
    +glfwGetClipboardString
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetGLXContext()

    + +
    +
    + + + + + + + + +
    GLXContext glfwGetGLXContext (GLFWwindowwindow)
    +
    +
    Returns
    The GLXContext of the specified window, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetGLXWindow()

    + +
    +
    + + + + + + + + +
    GLXWindow glfwGetGLXWindow (GLFWwindowwindow)
    +
    +
    Returns
    The GLXWindow of the specified window, or None if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetWaylandDisplay()

    + +
    +
    + + + + + + + + +
    struct wl_display* glfwGetWaylandDisplay (void )
    +
    +
    Returns
    The struct wl_display* used by GLFW, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetWaylandMonitor()

    + +
    +
    + + + + + + + + +
    struct wl_output* glfwGetWaylandMonitor (GLFWmonitormonitor)
    +
    +
    Returns
    The struct wl_output* of the specified monitor, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetWaylandWindow()

    + +
    +
    + + + + + + + + +
    struct wl_surface* glfwGetWaylandWindow (GLFWwindowwindow)
    +
    +
    Returns
    The main struct wl_surface* of the specified window, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetEGLDisplay()

    + +
    +
    + + + + + + + + +
    EGLDisplay glfwGetEGLDisplay (void )
    +
    +
    Returns
    The EGLDisplay used by GLFW, or EGL_NO_DISPLAY if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetEGLContext()

    + +
    +
    + + + + + + + + +
    EGLContext glfwGetEGLContext (GLFWwindowwindow)
    +
    +
    Returns
    The EGLContext of the specified window, or EGL_NO_CONTEXT if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetEGLSurface()

    + +
    +
    + + + + + + + + +
    EGLSurface glfwGetEGLSurface (GLFWwindowwindow)
    +
    +
    Returns
    The EGLSurface of the specified window, or EGL_NO_SURFACE if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetOSMesaColorBuffer()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    int glfwGetOSMesaColorBuffer (GLFWwindowwindow,
    int * width,
    int * height,
    int * format,
    void ** buffer 
    )
    +
    +
    Parameters
    + + + + + + +
    [in]windowThe window whose color buffer to retrieve.
    [out]widthWhere to store the width of the color buffer, or NULL.
    [out]heightWhere to store the height of the color buffer, or NULL.
    [out]formatWhere to store the OSMesa pixel format of the color buffer, or NULL.
    [out]bufferWhere to store the address of the color buffer, or NULL.
    +
    +
    +
    Returns
    GLFW_TRUE if successful, or GLFW_FALSE if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetOSMesaDepthBuffer()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    int glfwGetOSMesaDepthBuffer (GLFWwindowwindow,
    int * width,
    int * height,
    int * bytesPerValue,
    void ** buffer 
    )
    +
    +
    Parameters
    + + + + + + +
    [in]windowThe window whose depth buffer to retrieve.
    [out]widthWhere to store the width of the depth buffer, or NULL.
    [out]heightWhere to store the height of the depth buffer, or NULL.
    [out]bytesPerValueWhere to store the number of bytes per depth buffer element, or NULL.
    [out]bufferWhere to store the address of the depth buffer, or NULL.
    +
    +
    +
    Returns
    GLFW_TRUE if successful, or GLFW_FALSE if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetOSMesaContext()

    + +
    +
    + + + + + + + + +
    OSMesaContext glfwGetOSMesaContext (GLFWwindowwindow)
    +
    +
    Returns
    The OSMesaContext of the specified window, or NULL if an error occurred.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    Since
    Added in version 3.3.
    + +
    +
    +
    + + + diff --git a/docs/3.4/group__shapes.html b/docs/3.4/group__shapes.html new file mode 100644 index 0000000..bc01720 --- /dev/null +++ b/docs/3.4/group__shapes.html @@ -0,0 +1,330 @@ + + + + + + + +GLFW: Standard cursor shapes + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Standard cursor shapes
    +
    +
    +

    Description

    +

    These are the standard cursor shapes that can be requested from the window system.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_ARROW_CURSOR   0x00036001
     The regular arrow cursor shape. More...
     
    #define GLFW_IBEAM_CURSOR   0x00036002
     The text input I-beam cursor shape. More...
     
    #define GLFW_CROSSHAIR_CURSOR   0x00036003
     The crosshair cursor shape. More...
     
    #define GLFW_POINTING_HAND_CURSOR   0x00036004
     The pointing hand cursor shape. More...
     
    #define GLFW_RESIZE_EW_CURSOR   0x00036005
     The horizontal resize/move arrow shape. More...
     
    #define GLFW_RESIZE_NS_CURSOR   0x00036006
     The vertical resize/move arrow shape. More...
     
    #define GLFW_RESIZE_NWSE_CURSOR   0x00036007
     The top-left to bottom-right diagonal resize/move arrow shape. More...
     
    #define GLFW_RESIZE_NESW_CURSOR   0x00036008
     The top-right to bottom-left diagonal resize/move arrow shape. More...
     
    #define GLFW_RESIZE_ALL_CURSOR   0x00036009
     The omni-directional resize/move cursor shape. More...
     
    #define GLFW_NOT_ALLOWED_CURSOR   0x0003600A
     The operation-not-allowed shape. More...
     
    #define GLFW_HRESIZE_CURSOR   GLFW_RESIZE_EW_CURSOR
     Legacy name for compatibility. More...
     
    #define GLFW_VRESIZE_CURSOR   GLFW_RESIZE_NS_CURSOR
     Legacy name for compatibility. More...
     
    #define GLFW_HAND_CURSOR   GLFW_POINTING_HAND_CURSOR
     Legacy name for compatibility. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_ARROW_CURSOR

    + +
    +
    + + + + +
    #define GLFW_ARROW_CURSOR   0x00036001
    +
    +

    The regular arrow cursor shape.

    + +
    +
    + +

    ◆ GLFW_IBEAM_CURSOR

    + +
    +
    + + + + +
    #define GLFW_IBEAM_CURSOR   0x00036002
    +
    +

    The text input I-beam cursor shape.

    + +
    +
    + +

    ◆ GLFW_CROSSHAIR_CURSOR

    + +
    +
    + + + + +
    #define GLFW_CROSSHAIR_CURSOR   0x00036003
    +
    +

    The crosshair cursor shape.

    + +
    +
    + +

    ◆ GLFW_POINTING_HAND_CURSOR

    + +
    +
    + + + + +
    #define GLFW_POINTING_HAND_CURSOR   0x00036004
    +
    +

    The pointing hand cursor shape.

    + +
    +
    + +

    ◆ GLFW_RESIZE_EW_CURSOR

    + +
    +
    + + + + +
    #define GLFW_RESIZE_EW_CURSOR   0x00036005
    +
    +

    The horizontal resize/move arrow shape. This is usually a horizontal double-headed arrow.

    + +
    +
    + +

    ◆ GLFW_RESIZE_NS_CURSOR

    + +
    +
    + + + + +
    #define GLFW_RESIZE_NS_CURSOR   0x00036006
    +
    +

    The vertical resize/move shape. This is usually a vertical double-headed arrow.

    + +
    +
    + +

    ◆ GLFW_RESIZE_NWSE_CURSOR

    + +
    +
    + + + + +
    #define GLFW_RESIZE_NWSE_CURSOR   0x00036007
    +
    +

    The top-left to bottom-right diagonal resize/move shape. This is usually a diagonal double-headed arrow.

    +
    Note
    macOS: This shape is provided by a private system API and may fail with GLFW_CURSOR_UNAVAILABLE in the future.
    +
    +X11: This shape is provided by a newer standard not supported by all cursor themes.
    +
    +Wayland: This shape is provided by a newer standard not supported by all cursor themes.
    + +
    +
    + +

    ◆ GLFW_RESIZE_NESW_CURSOR

    + +
    +
    + + + + +
    #define GLFW_RESIZE_NESW_CURSOR   0x00036008
    +
    +

    The top-right to bottom-left diagonal resize/move shape. This is usually a diagonal double-headed arrow.

    +
    Note
    macOS: This shape is provided by a private system API and may fail with GLFW_CURSOR_UNAVAILABLE in the future.
    +
    +X11: This shape is provided by a newer standard not supported by all cursor themes.
    +
    +Wayland: This shape is provided by a newer standard not supported by all cursor themes.
    + +
    +
    + +

    ◆ GLFW_RESIZE_ALL_CURSOR

    + +
    +
    + + + + +
    #define GLFW_RESIZE_ALL_CURSOR   0x00036009
    +
    +

    The omni-directional resize cursor/move shape. This is usually either a combined horizontal and vertical double-headed arrow or a grabbing hand.

    + +
    +
    + +

    ◆ GLFW_NOT_ALLOWED_CURSOR

    + +
    +
    + + + + +
    #define GLFW_NOT_ALLOWED_CURSOR   0x0003600A
    +
    +

    The operation-not-allowed shape. This is usually a circle with a diagonal line through it.

    +
    Note
    X11: This shape is provided by a newer standard not supported by all cursor themes.
    +
    +Wayland: This shape is provided by a newer standard not supported by all cursor themes.
    + +
    +
    + +

    ◆ GLFW_HRESIZE_CURSOR

    + +
    +
    + + + + +
    #define GLFW_HRESIZE_CURSOR   GLFW_RESIZE_EW_CURSOR
    +
    +

    This is an alias for compatibility with earlier versions.

    + +
    +
    + +

    ◆ GLFW_VRESIZE_CURSOR

    + +
    +
    + + + + +
    #define GLFW_VRESIZE_CURSOR   GLFW_RESIZE_NS_CURSOR
    +
    +

    This is an alias for compatibility with earlier versions.

    + +
    +
    + +

    ◆ GLFW_HAND_CURSOR

    + +
    +
    + + + + +
    #define GLFW_HAND_CURSOR   GLFW_POINTING_HAND_CURSOR
    +
    +

    This is an alias for compatibility with earlier versions.

    + +
    +
    +
    + + + diff --git a/docs/3.4/group__vulkan.html b/docs/3.4/group__vulkan.html new file mode 100644 index 0000000..98437ee --- /dev/null +++ b/docs/3.4/group__vulkan.html @@ -0,0 +1,354 @@ + + + + + + + +GLFW: Vulkan support reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Vulkan support reference
    +
    +
    +

    Description

    +

    This is the reference documentation for Vulkan related functions and types. For more task-oriented information, see the Vulkan guide.

    + + + + + +

    +Typedefs

    typedef void(* GLFWvkproc) (void)
     Vulkan API function pointer type. More...
     
    + + + + + + + + + + + + + + + + +

    +Functions

    int glfwVulkanSupported (void)
     Returns whether the Vulkan loader and an ICD have been found. More...
     
    const char ** glfwGetRequiredInstanceExtensions (uint32_t *count)
     Returns the Vulkan instance extensions required by GLFW. More...
     
    GLFWvkproc glfwGetInstanceProcAddress (VkInstance instance, const char *procname)
     Returns the address of the specified Vulkan instance function. More...
     
    int glfwGetPhysicalDevicePresentationSupport (VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily)
     Returns whether the specified queue family can present images. More...
     
    VkResult glfwCreateWindowSurface (VkInstance instance, GLFWwindow *window, const VkAllocationCallbacks *allocator, VkSurfaceKHR *surface)
     Creates a Vulkan surface for the specified window. More...
     
    +

    Typedef Documentation

    + +

    ◆ GLFWvkproc

    + +
    +
    + + + + +
    typedef void(* GLFWvkproc) (void)
    +
    +

    Generic function pointer used for returning Vulkan API function pointers without forcing a cast from a regular pointer.

    +
    See also
    Querying Vulkan function pointers
    +
    +glfwGetInstanceProcAddress
    +
    Since
    Added in version 3.2.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwVulkanSupported()

    + +
    +
    + + + + + + + + +
    int glfwVulkanSupported (void )
    +
    +

    This function returns whether the Vulkan loader and any minimally functional ICD have been found.

    +

    The availability of a Vulkan loader and even an ICD does not by itself guarantee that surface creation or even instance creation is possible. For example, on Fermi systems Nvidia will install an ICD that provides no actual Vulkan support. Call glfwGetRequiredInstanceExtensions to check whether the extensions necessary for Vulkan surface creation are available and glfwGetPhysicalDevicePresentationSupport to check whether a queue family of a physical device supports image presentation.

    +
    Returns
    GLFW_TRUE if Vulkan is minimally available, or GLFW_FALSE otherwise.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Querying for Vulkan support
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetRequiredInstanceExtensions()

    + +
    +
    + + + + + + + + +
    const char** glfwGetRequiredInstanceExtensions (uint32_t * count)
    +
    +

    This function returns an array of names of Vulkan instance extensions required by GLFW for creating Vulkan surfaces for GLFW windows. If successful, the list will always contain VK_KHR_surface, so if you don't require any additional extensions you can pass this list directly to the VkInstanceCreateInfo struct.

    +

    If Vulkan is not available on the machine, this function returns NULL and generates a GLFW_API_UNAVAILABLE error. Call glfwVulkanSupported to check whether Vulkan is at least minimally available.

    +

    If Vulkan is available but no set of extensions allowing window surface creation was found, this function returns NULL. You may still use Vulkan for off-screen rendering and compute work.

    +
    Parameters
    + + +
    [out]countWhere to store the number of extensions in the returned array. This is set to zero if an error occurred.
    +
    +
    +
    Returns
    An array of ASCII encoded extension names, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_API_UNAVAILABLE.
    +
    Remarks
    Additional extensions may be required by future versions of GLFW. You should check if any extensions you wish to enable are already in the returned array, as it is an error to specify an extension more than once in the VkInstanceCreateInfo struct.
    +
    +macOS: This function currently supports either the VK_MVK_macos_surface extension from MoltenVK or VK_EXT_metal_surface extension.
    +
    Pointer lifetime
    The returned array is allocated and freed by GLFW. You should not free it yourself. It is guaranteed to be valid only until the library is terminated.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Querying required Vulkan extensions
    +
    +glfwCreateWindowSurface
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetInstanceProcAddress()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWvkproc glfwGetInstanceProcAddress (VkInstance instance,
    const char * procname 
    )
    +
    +

    This function returns the address of the specified Vulkan core or extension function for the specified instance. If instance is set to NULL it can return any function exported from the Vulkan loader, including at least the following functions:

    +
      +
    • vkEnumerateInstanceExtensionProperties
    • +
    • vkEnumerateInstanceLayerProperties
    • +
    • vkCreateInstance
    • +
    • vkGetInstanceProcAddr
    • +
    +

    If Vulkan is not available on the machine, this function returns NULL and generates a GLFW_API_UNAVAILABLE error. Call glfwVulkanSupported to check whether Vulkan is at least minimally available.

    +

    This function is equivalent to calling vkGetInstanceProcAddr with a platform-specific query of the Vulkan loader as a fallback.

    +
    Parameters
    + + + +
    [in]instanceThe Vulkan instance to query, or NULL to retrieve functions related to instance creation.
    [in]procnameThe ASCII encoded name of the function.
    +
    +
    +
    Returns
    The address of the function, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_API_UNAVAILABLE.
    +
    Pointer lifetime
    The returned function pointer is valid until the library is terminated.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Querying Vulkan function pointers
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetPhysicalDevicePresentationSupport()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    int glfwGetPhysicalDevicePresentationSupport (VkInstance instance,
    VkPhysicalDevice device,
    uint32_t queuefamily 
    )
    +
    +

    This function returns whether the specified queue family of the specified physical device supports presentation to the platform GLFW was built for.

    +

    If Vulkan or the required window surface creation instance extensions are not available on the machine, or if the specified instance was not created with the required extensions, this function returns GLFW_FALSE and generates a GLFW_API_UNAVAILABLE error. Call glfwVulkanSupported to check whether Vulkan is at least minimally available and glfwGetRequiredInstanceExtensions to check what instance extensions are required.

    +
    Parameters
    + + + + +
    [in]instanceThe instance that the physical device belongs to.
    [in]deviceThe physical device that the queue family belongs to.
    [in]queuefamilyThe index of the queue family to query.
    +
    +
    +
    Returns
    GLFW_TRUE if the queue family supports presentation, or GLFW_FALSE otherwise.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_API_UNAVAILABLE and GLFW_PLATFORM_ERROR.
    +
    Remarks
    macOS: This function currently always returns GLFW_TRUE, as the VK_MVK_macos_surface extension does not provide a vkGetPhysicalDevice*PresentationSupport type function.
    +
    Thread safety
    This function may be called from any thread. For synchronization details of Vulkan objects, see the Vulkan specification.
    +
    See also
    Querying for Vulkan presentation support
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwCreateWindowSurface()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    VkResult glfwCreateWindowSurface (VkInstance instance,
    GLFWwindowwindow,
    const VkAllocationCallbacks * allocator,
    VkSurfaceKHR * surface 
    )
    +
    +

    This function creates a Vulkan surface for the specified window.

    +

    If the Vulkan loader or at least one minimally functional ICD were not found, this function returns VK_ERROR_INITIALIZATION_FAILED and generates a GLFW_API_UNAVAILABLE error. Call glfwVulkanSupported to check whether Vulkan is at least minimally available.

    +

    If the required window surface creation instance extensions are not available or if the specified instance was not created with these extensions enabled, this function returns VK_ERROR_EXTENSION_NOT_PRESENT and generates a GLFW_API_UNAVAILABLE error. Call glfwGetRequiredInstanceExtensions to check what instance extensions are required.

    +

    The window surface cannot be shared with another API so the window must have been created with the client api hint set to GLFW_NO_API otherwise it generates a GLFW_INVALID_VALUE error and returns VK_ERROR_NATIVE_WINDOW_IN_USE_KHR.

    +

    The window surface must be destroyed before the specified Vulkan instance. It is the responsibility of the caller to destroy the window surface. GLFW does not destroy it for you. Call vkDestroySurfaceKHR to destroy the surface.

    +
    Parameters
    + + + + + +
    [in]instanceThe Vulkan instance to create the surface in.
    [in]windowThe window to create the surface for.
    [in]allocatorThe allocator to use, or NULL to use the default allocator.
    [out]surfaceWhere to store the handle of the surface. This is set to VK_NULL_HANDLE if an error occurred.
    +
    +
    +
    Returns
    VK_SUCCESS if successful, or a Vulkan error code if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_API_UNAVAILABLE, GLFW_PLATFORM_ERROR and GLFW_INVALID_VALUE
    +
    Remarks
    If an error occurs before the creation call is made, GLFW returns the Vulkan error code most appropriate for the error. Appropriate use of glfwVulkanSupported and glfwGetRequiredInstanceExtensions should eliminate almost all occurrences of these errors.
    +
    +macOS: This function currently only supports the VK_MVK_macos_surface extension from MoltenVK.
    +
    +macOS: This function creates and sets a CAMetalLayer instance for the window content view, which is required for MoltenVK to function.
    +
    Thread safety
    This function may be called from any thread. For synchronization details of Vulkan objects, see the Vulkan specification.
    +
    See also
    Creating a Vulkan window surface
    +
    +glfwGetRequiredInstanceExtensions
    +
    Since
    Added in version 3.2.
    + +
    +
    +
    + + + diff --git a/docs/3.4/group__window.html b/docs/3.4/group__window.html new file mode 100644 index 0000000..1f76d6d --- /dev/null +++ b/docs/3.4/group__window.html @@ -0,0 +1,3475 @@ + + + + + + + +GLFW: Window reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Window reference
    +
    +
    +

    Description

    +

    This is the reference documentation for window related functions and types, including creation, deletion and event polling. For more task-oriented information, see the Window guide.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Macros

    #define GLFW_FOCUSED   0x00020001
     Input focus window hint and attribute. More...
     
    #define GLFW_ICONIFIED   0x00020002
     Window iconification window attribute. More...
     
    #define GLFW_RESIZABLE   0x00020003
     Window resize-ability window hint and attribute. More...
     
    #define GLFW_VISIBLE   0x00020004
     Window visibility window hint and attribute. More...
     
    #define GLFW_DECORATED   0x00020005
     Window decoration window hint and attribute. More...
     
    #define GLFW_AUTO_ICONIFY   0x00020006
     Window auto-iconification window hint and attribute. More...
     
    #define GLFW_FLOATING   0x00020007
     Window decoration window hint and attribute. More...
     
    #define GLFW_MAXIMIZED   0x00020008
     Window maximization window hint and attribute. More...
     
    #define GLFW_CENTER_CURSOR   0x00020009
     Cursor centering window hint. More...
     
    #define GLFW_TRANSPARENT_FRAMEBUFFER   0x0002000A
     Window framebuffer transparency hint and attribute. More...
     
    #define GLFW_HOVERED   0x0002000B
     Mouse cursor hover window attribute. More...
     
    #define GLFW_FOCUS_ON_SHOW   0x0002000C
     Input focus on calling show window hint and attribute. More...
     
    #define GLFW_MOUSE_PASSTHROUGH   0x0002000D
     Mouse input transparency window hint and attribute. More...
     
    #define GLFW_RED_BITS   0x00021001
     Framebuffer bit depth hint. More...
     
    #define GLFW_GREEN_BITS   0x00021002
     Framebuffer bit depth hint. More...
     
    #define GLFW_BLUE_BITS   0x00021003
     Framebuffer bit depth hint. More...
     
    #define GLFW_ALPHA_BITS   0x00021004
     Framebuffer bit depth hint. More...
     
    #define GLFW_DEPTH_BITS   0x00021005
     Framebuffer bit depth hint. More...
     
    #define GLFW_STENCIL_BITS   0x00021006
     Framebuffer bit depth hint. More...
     
    #define GLFW_ACCUM_RED_BITS   0x00021007
     Framebuffer bit depth hint. More...
     
    #define GLFW_ACCUM_GREEN_BITS   0x00021008
     Framebuffer bit depth hint. More...
     
    #define GLFW_ACCUM_BLUE_BITS   0x00021009
     Framebuffer bit depth hint. More...
     
    #define GLFW_ACCUM_ALPHA_BITS   0x0002100A
     Framebuffer bit depth hint. More...
     
    #define GLFW_AUX_BUFFERS   0x0002100B
     Framebuffer auxiliary buffer hint. More...
     
    #define GLFW_STEREO   0x0002100C
     OpenGL stereoscopic rendering hint. More...
     
    #define GLFW_SAMPLES   0x0002100D
     Framebuffer MSAA samples hint. More...
     
    #define GLFW_SRGB_CAPABLE   0x0002100E
     Framebuffer sRGB hint. More...
     
    #define GLFW_REFRESH_RATE   0x0002100F
     Monitor refresh rate hint. More...
     
    #define GLFW_DOUBLEBUFFER   0x00021010
     Framebuffer double buffering hint. More...
     
    #define GLFW_CLIENT_API   0x00022001
     Context client API hint and attribute. More...
     
    #define GLFW_CONTEXT_VERSION_MAJOR   0x00022002
     Context client API major version hint and attribute. More...
     
    #define GLFW_CONTEXT_VERSION_MINOR   0x00022003
     Context client API minor version hint and attribute. More...
     
    #define GLFW_CONTEXT_REVISION   0x00022004
     Context client API revision number hint and attribute. More...
     
    #define GLFW_CONTEXT_ROBUSTNESS   0x00022005
     Context robustness hint and attribute. More...
     
    #define GLFW_OPENGL_FORWARD_COMPAT   0x00022006
     OpenGL forward-compatibility hint and attribute. More...
     
    #define GLFW_CONTEXT_DEBUG   0x00022007
     Debug mode context hint and attribute. More...
     
    #define GLFW_OPENGL_DEBUG_CONTEXT   GLFW_CONTEXT_DEBUG
     Legacy name for compatibility. More...
     
    #define GLFW_OPENGL_PROFILE   0x00022008
     OpenGL profile hint and attribute. More...
     
    #define GLFW_CONTEXT_RELEASE_BEHAVIOR   0x00022009
     Context flush-on-release hint and attribute. More...
     
    #define GLFW_CONTEXT_NO_ERROR   0x0002200A
     Context error suppression hint and attribute. More...
     
    #define GLFW_CONTEXT_CREATION_API   0x0002200B
     Context creation API hint and attribute. More...
     
    #define GLFW_SCALE_TO_MONITOR   0x0002200C
     Window content area scaling window window hint. More...
     
    #define GLFW_COCOA_RETINA_FRAMEBUFFER   0x00023001
     macOS specific window hint. More...
     
    #define GLFW_COCOA_FRAME_NAME   0x00023002
     macOS specific window hint. More...
     
    #define GLFW_COCOA_GRAPHICS_SWITCHING   0x00023003
     macOS specific window hint. More...
     
    #define GLFW_X11_CLASS_NAME   0x00024001
     X11 specific window hint. More...
     
    #define GLFW_X11_INSTANCE_NAME   0x00024002
     X11 specific window hint. More...
     
    #define GLFW_WIN32_KEYBOARD_MENU   0x00025001
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Typedefs

    typedef struct GLFWwindow GLFWwindow
     Opaque window object. More...
     
    typedef void(* GLFWwindowposfun) (GLFWwindow *, int, int)
     The function pointer type for window position callbacks. More...
     
    typedef void(* GLFWwindowsizefun) (GLFWwindow *, int, int)
     The function pointer type for window size callbacks. More...
     
    typedef void(* GLFWwindowclosefun) (GLFWwindow *)
     The function pointer type for window close callbacks. More...
     
    typedef void(* GLFWwindowrefreshfun) (GLFWwindow *)
     The function pointer type for window content refresh callbacks. More...
     
    typedef void(* GLFWwindowfocusfun) (GLFWwindow *, int)
     The function pointer type for window focus callbacks. More...
     
    typedef void(* GLFWwindowiconifyfun) (GLFWwindow *, int)
     The function pointer type for window iconify callbacks. More...
     
    typedef void(* GLFWwindowmaximizefun) (GLFWwindow *, int)
     The function pointer type for window maximize callbacks. More...
     
    typedef void(* GLFWframebuffersizefun) (GLFWwindow *, int, int)
     The function pointer type for framebuffer size callbacks. More...
     
    typedef void(* GLFWwindowcontentscalefun) (GLFWwindow *, float, float)
     The function pointer type for window content scale callbacks. More...
     
    typedef struct GLFWimage GLFWimage
     Image data. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    void glfwDefaultWindowHints (void)
     Resets all window hints to their default values. More...
     
    void glfwWindowHint (int hint, int value)
     Sets the specified window hint to the desired value. More...
     
    void glfwWindowHintString (int hint, const char *value)
     Sets the specified window hint to the desired value. More...
     
    GLFWwindowglfwCreateWindow (int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
     Creates a window and its associated context. More...
     
    void glfwDestroyWindow (GLFWwindow *window)
     Destroys the specified window and its context. More...
     
    int glfwWindowShouldClose (GLFWwindow *window)
     Checks the close flag of the specified window. More...
     
    void glfwSetWindowShouldClose (GLFWwindow *window, int value)
     Sets the close flag of the specified window. More...
     
    void glfwSetWindowTitle (GLFWwindow *window, const char *title)
     Sets the title of the specified window. More...
     
    void glfwSetWindowIcon (GLFWwindow *window, int count, const GLFWimage *images)
     Sets the icon for the specified window. More...
     
    void glfwGetWindowPos (GLFWwindow *window, int *xpos, int *ypos)
     Retrieves the position of the content area of the specified window. More...
     
    void glfwSetWindowPos (GLFWwindow *window, int xpos, int ypos)
     Sets the position of the content area of the specified window. More...
     
    void glfwGetWindowSize (GLFWwindow *window, int *width, int *height)
     Retrieves the size of the content area of the specified window. More...
     
    void glfwSetWindowSizeLimits (GLFWwindow *window, int minwidth, int minheight, int maxwidth, int maxheight)
     Sets the size limits of the specified window. More...
     
    void glfwSetWindowAspectRatio (GLFWwindow *window, int numer, int denom)
     Sets the aspect ratio of the specified window. More...
     
    void glfwSetWindowSize (GLFWwindow *window, int width, int height)
     Sets the size of the content area of the specified window. More...
     
    void glfwGetFramebufferSize (GLFWwindow *window, int *width, int *height)
     Retrieves the size of the framebuffer of the specified window. More...
     
    void glfwGetWindowFrameSize (GLFWwindow *window, int *left, int *top, int *right, int *bottom)
     Retrieves the size of the frame of the window. More...
     
    void glfwGetWindowContentScale (GLFWwindow *window, float *xscale, float *yscale)
     Retrieves the content scale for the specified window. More...
     
    float glfwGetWindowOpacity (GLFWwindow *window)
     Returns the opacity of the whole window. More...
     
    void glfwSetWindowOpacity (GLFWwindow *window, float opacity)
     Sets the opacity of the whole window. More...
     
    void glfwIconifyWindow (GLFWwindow *window)
     Iconifies the specified window. More...
     
    void glfwRestoreWindow (GLFWwindow *window)
     Restores the specified window. More...
     
    void glfwMaximizeWindow (GLFWwindow *window)
     Maximizes the specified window. More...
     
    void glfwShowWindow (GLFWwindow *window)
     Makes the specified window visible. More...
     
    void glfwHideWindow (GLFWwindow *window)
     Hides the specified window. More...
     
    void glfwFocusWindow (GLFWwindow *window)
     Brings the specified window to front and sets input focus. More...
     
    void glfwRequestWindowAttention (GLFWwindow *window)
     Requests user attention to the specified window. More...
     
    GLFWmonitorglfwGetWindowMonitor (GLFWwindow *window)
     Returns the monitor that the window uses for full screen mode. More...
     
    void glfwSetWindowMonitor (GLFWwindow *window, GLFWmonitor *monitor, int xpos, int ypos, int width, int height, int refreshRate)
     Sets the mode, monitor, video mode and placement of a window. More...
     
    int glfwGetWindowAttrib (GLFWwindow *window, int attrib)
     Returns an attribute of the specified window. More...
     
    void glfwSetWindowAttrib (GLFWwindow *window, int attrib, int value)
     Sets an attribute of the specified window. More...
     
    void glfwSetWindowUserPointer (GLFWwindow *window, void *pointer)
     Sets the user pointer of the specified window. More...
     
    void * glfwGetWindowUserPointer (GLFWwindow *window)
     Returns the user pointer of the specified window. More...
     
    GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindow *window, GLFWwindowposfun callback)
     Sets the position callback for the specified window. More...
     
    GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindow *window, GLFWwindowsizefun callback)
     Sets the size callback for the specified window. More...
     
    GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindow *window, GLFWwindowclosefun callback)
     Sets the close callback for the specified window. More...
     
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindow *window, GLFWwindowrefreshfun callback)
     Sets the refresh callback for the specified window. More...
     
    GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindow *window, GLFWwindowfocusfun callback)
     Sets the focus callback for the specified window. More...
     
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindow *window, GLFWwindowiconifyfun callback)
     Sets the iconify callback for the specified window. More...
     
    GLFWwindowmaximizefun glfwSetWindowMaximizeCallback (GLFWwindow *window, GLFWwindowmaximizefun callback)
     Sets the maximize callback for the specified window. More...
     
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindow *window, GLFWframebuffersizefun callback)
     Sets the framebuffer resize callback for the specified window. More...
     
    GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback (GLFWwindow *window, GLFWwindowcontentscalefun callback)
     Sets the window content scale callback for the specified window. More...
     
    void glfwPollEvents (void)
     Processes all pending events. More...
     
    void glfwWaitEvents (void)
     Waits until events are queued and processes them. More...
     
    void glfwWaitEventsTimeout (double timeout)
     Waits with timeout until events are queued and processes them. More...
     
    void glfwPostEmptyEvent (void)
     Posts an empty event to the event queue. More...
     
    void glfwSwapBuffers (GLFWwindow *window)
     Swaps the front and back buffers of the specified window. More...
     
    +

    Macro Definition Documentation

    + +

    ◆ GLFW_FOCUSED

    + +
    +
    + + + + +
    #define GLFW_FOCUSED   0x00020001
    +
    +

    Input focus window hint or window attribute.

    + +
    +
    + +

    ◆ GLFW_ICONIFIED

    + +
    +
    + + + + +
    #define GLFW_ICONIFIED   0x00020002
    +
    +

    Window iconification window attribute.

    + +
    +
    + +

    ◆ GLFW_RESIZABLE

    + +
    +
    + + + + +
    #define GLFW_RESIZABLE   0x00020003
    +
    +

    Window resize-ability window hint and window attribute.

    + +
    +
    + +

    ◆ GLFW_VISIBLE

    + +
    +
    + + + + +
    #define GLFW_VISIBLE   0x00020004
    +
    +

    Window visibility window hint and window attribute.

    + +
    +
    + +

    ◆ GLFW_DECORATED

    + +
    +
    + + + + +
    #define GLFW_DECORATED   0x00020005
    +
    +

    Window decoration window hint and window attribute.

    + +
    +
    + +

    ◆ GLFW_AUTO_ICONIFY

    + +
    +
    + + + + +
    #define GLFW_AUTO_ICONIFY   0x00020006
    +
    +

    Window auto-iconification window hint and window attribute.

    + +
    +
    + +

    ◆ GLFW_FLOATING

    + +
    +
    + + + + +
    #define GLFW_FLOATING   0x00020007
    +
    +

    Window decoration window hint and window attribute.

    + +
    +
    + +

    ◆ GLFW_MAXIMIZED

    + +
    +
    + + + + +
    #define GLFW_MAXIMIZED   0x00020008
    +
    +

    Window maximization window hint and window attribute.

    + +
    +
    + +

    ◆ GLFW_CENTER_CURSOR

    + +
    +
    + + + + +
    #define GLFW_CENTER_CURSOR   0x00020009
    +
    +

    Cursor centering window hint.

    + +
    +
    + +

    ◆ GLFW_TRANSPARENT_FRAMEBUFFER

    + +
    +
    + + + + +
    #define GLFW_TRANSPARENT_FRAMEBUFFER   0x0002000A
    +
    +

    Window framebuffer transparency window hint and window attribute.

    + +
    +
    + +

    ◆ GLFW_HOVERED

    + +
    +
    + + + + +
    #define GLFW_HOVERED   0x0002000B
    +
    +

    Mouse cursor hover window attribute.

    + +
    +
    + +

    ◆ GLFW_FOCUS_ON_SHOW

    + +
    +
    + + + + +
    #define GLFW_FOCUS_ON_SHOW   0x0002000C
    +
    +

    Input focus window hint or window attribute.

    + +
    +
    + +

    ◆ GLFW_MOUSE_PASSTHROUGH

    + +
    +
    + + + + +
    #define GLFW_MOUSE_PASSTHROUGH   0x0002000D
    +
    +

    Mouse input transparency window hint or window attribute.

    + +
    +
    + +

    ◆ GLFW_RED_BITS

    + +
    +
    + + + + +
    #define GLFW_RED_BITS   0x00021001
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_GREEN_BITS

    + +
    +
    + + + + +
    #define GLFW_GREEN_BITS   0x00021002
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_BLUE_BITS

    + +
    +
    + + + + +
    #define GLFW_BLUE_BITS   0x00021003
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_ALPHA_BITS

    + +
    +
    + + + + +
    #define GLFW_ALPHA_BITS   0x00021004
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_DEPTH_BITS

    + +
    +
    + + + + +
    #define GLFW_DEPTH_BITS   0x00021005
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_STENCIL_BITS

    + +
    +
    + + + + +
    #define GLFW_STENCIL_BITS   0x00021006
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_ACCUM_RED_BITS

    + +
    +
    + + + + +
    #define GLFW_ACCUM_RED_BITS   0x00021007
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_ACCUM_GREEN_BITS

    + +
    +
    + + + + +
    #define GLFW_ACCUM_GREEN_BITS   0x00021008
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_ACCUM_BLUE_BITS

    + +
    +
    + + + + +
    #define GLFW_ACCUM_BLUE_BITS   0x00021009
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_ACCUM_ALPHA_BITS

    + +
    +
    + + + + +
    #define GLFW_ACCUM_ALPHA_BITS   0x0002100A
    +
    +

    Framebuffer bit depth hint.

    + +
    +
    + +

    ◆ GLFW_AUX_BUFFERS

    + +
    +
    + + + + +
    #define GLFW_AUX_BUFFERS   0x0002100B
    +
    +

    Framebuffer auxiliary buffer hint.

    + +
    +
    + +

    ◆ GLFW_STEREO

    + +
    +
    + + + + +
    #define GLFW_STEREO   0x0002100C
    +
    +

    OpenGL stereoscopic rendering hint.

    + +
    +
    + +

    ◆ GLFW_SAMPLES

    + +
    +
    + + + + +
    #define GLFW_SAMPLES   0x0002100D
    +
    +

    Framebuffer MSAA samples hint.

    + +
    +
    + +

    ◆ GLFW_SRGB_CAPABLE

    + +
    +
    + + + + +
    #define GLFW_SRGB_CAPABLE   0x0002100E
    +
    +

    Framebuffer sRGB hint.

    + +
    +
    + +

    ◆ GLFW_REFRESH_RATE

    + +
    +
    + + + + +
    #define GLFW_REFRESH_RATE   0x0002100F
    +
    +

    Monitor refresh rate hint.

    + +
    +
    + +

    ◆ GLFW_DOUBLEBUFFER

    + +
    +
    + + + + +
    #define GLFW_DOUBLEBUFFER   0x00021010
    +
    +

    Framebuffer double buffering hint.

    + +
    +
    + +

    ◆ GLFW_CLIENT_API

    + +
    +
    + + + + +
    #define GLFW_CLIENT_API   0x00022001
    +
    +

    Context client API hint and attribute.

    + +
    +
    + +

    ◆ GLFW_CONTEXT_VERSION_MAJOR

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_VERSION_MAJOR   0x00022002
    +
    +

    Context client API major version hint and attribute.

    + +
    +
    + +

    ◆ GLFW_CONTEXT_VERSION_MINOR

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_VERSION_MINOR   0x00022003
    +
    +

    Context client API minor version hint and attribute.

    + +
    +
    + +

    ◆ GLFW_CONTEXT_REVISION

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_REVISION   0x00022004
    +
    +

    Context client API revision number attribute.

    + +
    +
    + +

    ◆ GLFW_CONTEXT_ROBUSTNESS

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_ROBUSTNESS   0x00022005
    +
    +

    Context client API revision number hint and attribute.

    + +
    +
    + +

    ◆ GLFW_OPENGL_FORWARD_COMPAT

    + +
    +
    + + + + +
    #define GLFW_OPENGL_FORWARD_COMPAT   0x00022006
    +
    +

    OpenGL forward-compatibility hint and attribute.

    + +
    +
    + +

    ◆ GLFW_CONTEXT_DEBUG

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_DEBUG   0x00022007
    +
    +

    Debug mode context hint and attribute.

    + +
    +
    + +

    ◆ GLFW_OPENGL_DEBUG_CONTEXT

    + +
    +
    + + + + +
    #define GLFW_OPENGL_DEBUG_CONTEXT   GLFW_CONTEXT_DEBUG
    +
    +

    This is an alias for compatibility with earlier versions.

    + +
    +
    + +

    ◆ GLFW_OPENGL_PROFILE

    + +
    +
    + + + + +
    #define GLFW_OPENGL_PROFILE   0x00022008
    +
    +

    OpenGL profile hint and attribute.

    + +
    +
    + +

    ◆ GLFW_CONTEXT_RELEASE_BEHAVIOR

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_RELEASE_BEHAVIOR   0x00022009
    +
    +

    Context flush-on-release hint and attribute.

    + +
    +
    + +

    ◆ GLFW_CONTEXT_NO_ERROR

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_NO_ERROR   0x0002200A
    +
    +

    Context error suppression hint and attribute.

    + +
    +
    + +

    ◆ GLFW_CONTEXT_CREATION_API

    + +
    +
    + + + + +
    #define GLFW_CONTEXT_CREATION_API   0x0002200B
    +
    +

    Context creation API hint and attribute.

    + +
    +
    + +

    ◆ GLFW_SCALE_TO_MONITOR

    + +
    +
    + + + + +
    #define GLFW_SCALE_TO_MONITOR   0x0002200C
    +
    + +
    +
    + +

    ◆ GLFW_COCOA_RETINA_FRAMEBUFFER

    + +
    +
    + + + + +
    #define GLFW_COCOA_RETINA_FRAMEBUFFER   0x00023001
    +
    + +
    +
    + +

    ◆ GLFW_COCOA_FRAME_NAME

    + +
    +
    + + + + +
    #define GLFW_COCOA_FRAME_NAME   0x00023002
    +
    + +
    +
    + +

    ◆ GLFW_COCOA_GRAPHICS_SWITCHING

    + +
    +
    + + + + +
    #define GLFW_COCOA_GRAPHICS_SWITCHING   0x00023003
    +
    + +
    +
    + +

    ◆ GLFW_X11_CLASS_NAME

    + +
    +
    + + + + +
    #define GLFW_X11_CLASS_NAME   0x00024001
    +
    + +
    +
    + +

    ◆ GLFW_X11_INSTANCE_NAME

    + +
    +
    + + + + +
    #define GLFW_X11_INSTANCE_NAME   0x00024002
    +
    + +
    +
    + +

    ◆ GLFW_WIN32_KEYBOARD_MENU

    + +
    +
    + + + + +
    #define GLFW_WIN32_KEYBOARD_MENU   0x00025001
    +
    + +
    +
    +

    Typedef Documentation

    + +

    ◆ GLFWwindow

    + +
    +
    + + + + +
    typedef struct GLFWwindow GLFWwindow
    +
    +

    Opaque window object.

    +
    See also
    Window objects
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWwindowposfun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowposfun) (GLFWwindow *, int, int)
    +
    +

    This is the function pointer type for window position callbacks. A window position callback function has the following signature:

    void callback_name(GLFWwindow* window, int xpos, int ypos)
    +
    Parameters
    + + + + +
    [in]windowThe window that was moved.
    [in]xposThe new x-coordinate, in screen coordinates, of the upper-left corner of the content area of the window.
    [in]yposThe new y-coordinate, in screen coordinates, of the upper-left corner of the content area of the window.
    +
    +
    +
    See also
    Window position
    +
    +glfwSetWindowPosCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWwindowsizefun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowsizefun) (GLFWwindow *, int, int)
    +
    +

    This is the function pointer type for window size callbacks. A window size callback function has the following signature:

    void callback_name(GLFWwindow* window, int width, int height)
    +
    Parameters
    + + + + +
    [in]windowThe window that was resized.
    [in]widthThe new width, in screen coordinates, of the window.
    [in]heightThe new height, in screen coordinates, of the window.
    +
    +
    +
    See also
    Window size
    +
    +glfwSetWindowSizeCallback
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ GLFWwindowclosefun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowclosefun) (GLFWwindow *)
    +
    +

    This is the function pointer type for window close callbacks. A window close callback function has the following signature:

    void function_name(GLFWwindow* window)
    +
    Parameters
    + + +
    [in]windowThe window that the user attempted to close.
    +
    +
    +
    See also
    Window closing and close flag
    +
    +glfwSetWindowCloseCallback
    +
    Since
    Added in version 2.5. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ GLFWwindowrefreshfun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowrefreshfun) (GLFWwindow *)
    +
    +

    This is the function pointer type for window content refresh callbacks. A window content refresh callback function has the following signature:

    void function_name(GLFWwindow* window);
    +
    Parameters
    + + +
    [in]windowThe window whose content needs to be refreshed.
    +
    +
    +
    See also
    Window damage and refresh
    +
    +glfwSetWindowRefreshCallback
    +
    Since
    Added in version 2.5. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ GLFWwindowfocusfun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowfocusfun) (GLFWwindow *, int)
    +
    +

    This is the function pointer type for window focus callbacks. A window focus callback function has the following signature:

    void function_name(GLFWwindow* window, int focused)
    +
    Parameters
    + + + +
    [in]windowThe window that gained or lost input focus.
    [in]focusedGLFW_TRUE if the window was given input focus, or GLFW_FALSE if it lost it.
    +
    +
    +
    See also
    Window input focus
    +
    +glfwSetWindowFocusCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWwindowiconifyfun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowiconifyfun) (GLFWwindow *, int)
    +
    +

    This is the function pointer type for window iconify callbacks. A window iconify callback function has the following signature:

    void function_name(GLFWwindow* window, int iconified)
    +
    Parameters
    + + + +
    [in]windowThe window that was iconified or restored.
    [in]iconifiedGLFW_TRUE if the window was iconified, or GLFW_FALSE if it was restored.
    +
    +
    +
    See also
    Window iconification
    +
    +glfwSetWindowIconifyCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWwindowmaximizefun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowmaximizefun) (GLFWwindow *, int)
    +
    +

    This is the function pointer type for window maximize callbacks. A window maximize callback function has the following signature:

    void function_name(GLFWwindow* window, int maximized)
    +
    Parameters
    + + + +
    [in]windowThe window that was maximized or restored.
    [in]maximizedGLFW_TRUE if the window was maximized, or GLFW_FALSE if it was restored.
    +
    +
    +
    See also
    Window maximization
    +
    +glfwSetWindowMaximizeCallback
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ GLFWframebuffersizefun

    + +
    +
    + + + + +
    typedef void(* GLFWframebuffersizefun) (GLFWwindow *, int, int)
    +
    +

    This is the function pointer type for framebuffer size callbacks. A framebuffer size callback function has the following signature:

    void function_name(GLFWwindow* window, int width, int height)
    +
    Parameters
    + + + + +
    [in]windowThe window whose framebuffer was resized.
    [in]widthThe new width, in pixels, of the framebuffer.
    [in]heightThe new height, in pixels, of the framebuffer.
    +
    +
    +
    See also
    Framebuffer size
    +
    +glfwSetFramebufferSizeCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ GLFWwindowcontentscalefun

    + +
    +
    + + + + +
    typedef void(* GLFWwindowcontentscalefun) (GLFWwindow *, float, float)
    +
    +

    This is the function pointer type for window content scale callbacks. A window content scale callback function has the following signature:

    void function_name(GLFWwindow* window, float xscale, float yscale)
    +
    Parameters
    + + + + +
    [in]windowThe window whose content scale changed.
    [in]xscaleThe new x-axis content scale of the window.
    [in]yscaleThe new y-axis content scale of the window.
    +
    +
    +
    See also
    Window content scale
    +
    +glfwSetWindowContentScaleCallback
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ GLFWimage

    + +
    +
    + + + + +
    typedef struct GLFWimage GLFWimage
    +
    +

    This describes a single 2D image. See the documentation for each related function what the expected pixel format is.

    +
    See also
    Custom cursor creation
    +
    +Window icon
    +
    Since
    Added in version 2.1. GLFW 3: Removed format and bytes-per-pixel members.
    + +
    +
    +

    Function Documentation

    + +

    ◆ glfwDefaultWindowHints()

    + +
    +
    + + + + + + + + +
    void glfwDefaultWindowHints (void )
    +
    +

    This function resets all window hints to their default values.

    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window creation hints
    +
    +glfwWindowHint
    +
    +glfwWindowHintString
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwWindowHint()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwWindowHint (int hint,
    int value 
    )
    +
    +

    This function sets hints for the next call to glfwCreateWindow. The hints, once set, retain their values until changed by a call to this function or glfwDefaultWindowHints, or until the library is terminated.

    +

    Only integer value hints can be set with this function. String value hints are set with glfwWindowHintString.

    +

    This function does not check whether the specified hint values are valid. If you set hints to invalid values this will instead be reported by the next call to glfwCreateWindow.

    +

    Some hints are platform specific. These may be set on any platform but they will only affect their specific platform. Other platforms will ignore them. Setting these hints requires no platform specific headers or functions.

    +
    Parameters
    + + + +
    [in]hintThe window hint to set.
    [in]valueThe new value of the window hint.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window creation hints
    +
    +glfwWindowHintString
    +
    +glfwDefaultWindowHints
    +
    Since
    Added in version 3.0. Replaces glfwOpenWindowHint.
    + +
    +
    + +

    ◆ glfwWindowHintString()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwWindowHintString (int hint,
    const char * value 
    )
    +
    +

    This function sets hints for the next call to glfwCreateWindow. The hints, once set, retain their values until changed by a call to this function or glfwDefaultWindowHints, or until the library is terminated.

    +

    Only string type hints can be set with this function. Integer value hints are set with glfwWindowHint.

    +

    This function does not check whether the specified hint values are valid. If you set hints to invalid values this will instead be reported by the next call to glfwCreateWindow.

    +

    Some hints are platform specific. These may be set on any platform but they will only affect their specific platform. Other platforms will ignore them. Setting these hints requires no platform specific headers or functions.

    +
    Parameters
    + + + +
    [in]hintThe window hint to set.
    [in]valueThe new value of the window hint.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_INVALID_ENUM.
    +
    Pointer lifetime
    The specified string is copied before this function returns.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window creation hints
    +
    +glfwWindowHint
    +
    +glfwDefaultWindowHints
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwCreateWindow()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFWwindow* glfwCreateWindow (int width,
    int height,
    const char * title,
    GLFWmonitormonitor,
    GLFWwindowshare 
    )
    +
    +

    This function creates a window and its associated OpenGL or OpenGL ES context. Most of the options controlling how the window and its context should be created are specified with window hints.

    +

    Successful creation does not change which context is current. Before you can use the newly created context, you need to make it current. For information about the share parameter, see Context object sharing.

    +

    The created window, framebuffer and context may differ from what you requested, as not all parameters and hints are hard constraints. This includes the size of the window, especially for full screen windows. To query the actual attributes of the created window, framebuffer and context, see glfwGetWindowAttrib, glfwGetWindowSize and glfwGetFramebufferSize.

    +

    To create a full screen window, you need to specify the monitor the window will cover. If no monitor is specified, the window will be windowed mode. Unless you have a way for the user to choose a specific monitor, it is recommended that you pick the primary monitor. For more information on how to query connected monitors, see Retrieving monitors.

    +

    For full screen windows, the specified size becomes the resolution of the window's desired video mode. As long as a full screen window is not iconified, the supported video mode most closely matching the desired video mode is set for the specified monitor. For more information about full screen windows, including the creation of so called windowed full screen or borderless full screen windows, see "Windowed full screen" windows.

    +

    Once you have created the window, you can switch it between windowed and full screen mode with glfwSetWindowMonitor. This will not affect its OpenGL or OpenGL ES context.

    +

    By default, newly created windows use the placement recommended by the window system. To create the window at a specific position, make it initially invisible using the GLFW_VISIBLE window hint, set its position and then show it.

    +

    As long as at least one full screen window is not iconified, the screensaver is prohibited from starting.

    +

    Window systems put limits on window sizes. Very large or very small window dimensions may be overridden by the window system on creation. Check the actual size after creation.

    +

    The swap interval is not set during window creation and the initial value may vary depending on driver settings and defaults.

    +
    Parameters
    + + + + + + +
    [in]widthThe desired width, in screen coordinates, of the window. This must be greater than zero.
    [in]heightThe desired height, in screen coordinates, of the window. This must be greater than zero.
    [in]titleThe initial, UTF-8 encoded window title.
    [in]monitorThe monitor to use for full screen mode, or NULL for windowed mode.
    [in]shareThe window whose context to share resources with, or NULL to not share resources.
    +
    +
    +
    Returns
    The handle of the created window, or NULL if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM, GLFW_INVALID_VALUE, GLFW_API_UNAVAILABLE, GLFW_VERSION_UNAVAILABLE, GLFW_FORMAT_UNAVAILABLE and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Windows: Window creation will fail if the Microsoft GDI software OpenGL implementation is the only one available.
    +
    +Windows: If the executable has an icon resource named GLFW_ICON, it will be set as the initial icon for the window. If no such icon is present, the IDI_APPLICATION icon will be used instead. To set a different icon, see glfwSetWindowIcon.
    +
    +Windows: The context to share resources with must not be current on any other thread.
    +
    +macOS: The OS only supports core profile contexts for OpenGL versions 3.2 and later. Before creating an OpenGL context of version 3.2 or later you must set the GLFW_OPENGL_PROFILE hint accordingly. OpenGL 3.0 and 3.1 contexts are not supported at all on macOS.
    +
    +macOS: The GLFW window has no icon, as it is not a document window, but the dock icon will be the same as the application bundle's icon. For more information on bundles, see the Bundle Programming Guide in the Mac Developer Library.
    +
    +macOS: On OS X 10.10 and later the window frame will not be rendered at full resolution on Retina displays unless the GLFW_COCOA_RETINA_FRAMEBUFFER hint is GLFW_TRUE and the NSHighResolutionCapable key is enabled in the application bundle's Info.plist. For more information, see High Resolution Guidelines for OS X in the Mac Developer Library. The GLFW test and example programs use a custom Info.plist template for this, which can be found as CMake/Info.plist.in in the source tree.
    +
    +macOS: When activating frame autosaving with GLFW_COCOA_FRAME_NAME, the specified window size and position may be overridden by previously saved values.
    +
    +X11: Some window managers will not respect the placement of initially hidden windows.
    +
    +X11: Due to the asynchronous nature of X11, it may take a moment for a window to reach its requested state. This means you may not be able to query the final size, position or other attributes directly after window creation.
    +
    +X11: The class part of the WM_CLASS window property will by default be set to the window title passed to this function. The instance part will use the contents of the RESOURCE_NAME environment variable, if present and not empty, or fall back to the window title. Set the GLFW_X11_CLASS_NAME and GLFW_X11_INSTANCE_NAME window hints to override this.
    +
    +Wayland: Compositors should implement the xdg-decoration protocol for GLFW to decorate the window properly. If this protocol isn't supported, or if the compositor prefers client-side decorations, a very simple fallback frame will be drawn using the wp_viewporter protocol. A compositor can still emit close, maximize or fullscreen events, using for instance a keybind mechanism. If neither of these protocols is supported, the window won't be decorated.
    +
    +Wayland: A full screen window will not attempt to change the mode, no matter what the requested size or refresh rate.
    +
    +Wayland: Screensaver inhibition requires the idle-inhibit protocol to be implemented in the user's compositor.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window creation
    +
    +glfwDestroyWindow
    +
    Since
    Added in version 3.0. Replaces glfwOpenWindow.
    + +
    +
    + +

    ◆ glfwDestroyWindow()

    + +
    +
    + + + + + + + + +
    void glfwDestroyWindow (GLFWwindowwindow)
    +
    +

    This function destroys the specified window and its context. On calling this function, no further callbacks will be called for that window.

    +

    If the context of the specified window is current on the main thread, it is detached before being destroyed.

    +
    Parameters
    + + +
    [in]windowThe window to destroy.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Note
    The context of the specified window must not be current on any other thread when this function is called.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window creation
    +
    +glfwCreateWindow
    +
    Since
    Added in version 3.0. Replaces glfwCloseWindow.
    + +
    +
    + +

    ◆ glfwWindowShouldClose()

    + +
    +
    + + + + + + + + +
    int glfwWindowShouldClose (GLFWwindowwindow)
    +
    +

    This function returns the value of the close flag of the specified window.

    +
    Parameters
    + + +
    [in]windowThe window to query.
    +
    +
    +
    Returns
    The value of the close flag.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    Window closing and close flag
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowShouldClose()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowShouldClose (GLFWwindowwindow,
    int value 
    )
    +
    +

    This function sets the value of the close flag of the specified window. This can be used to override the user's attempt to close the window, or to signal that it should be closed.

    +
    Parameters
    + + + +
    [in]windowThe window whose flag to change.
    [in]valueThe new value.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    Window closing and close flag
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowTitle()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowTitle (GLFWwindowwindow,
    const char * title 
    )
    +
    +

    This function sets the window title, encoded as UTF-8, of the specified window.

    +
    Parameters
    + + + +
    [in]windowThe window whose title to change.
    [in]titleThe UTF-8 encoded window title.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    macOS: The window title will not be updated until the next time you process events.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window title
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwSetWindowIcon()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowIcon (GLFWwindowwindow,
    int count,
    const GLFWimageimages 
    )
    +
    +

    This function sets the icon of the specified window. If passed an array of candidate images, those of or closest to the sizes desired by the system are selected. If no images are specified, the window reverts to its default icon.

    +

    The pixels are 32-bit, little-endian, non-premultiplied RGBA, i.e. eight bits per channel with the red channel first. They are arranged canonically as packed sequential rows, starting from the top-left corner.

    +

    The desired image sizes varies depending on platform and system settings. The selected images will be rescaled as needed. Good sizes include 16x16, 32x32 and 48x48.

    +
    Parameters
    + + + + +
    [in]windowThe window whose icon to set.
    [in]countThe number of images in the specified array, or zero to revert to the default window icon.
    [in]imagesThe images to create the icon from. This is ignored if count is zero.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_PLATFORM_ERROR and GLFW_FEATURE_UNAVAILABLE (see remarks).
    +
    Pointer lifetime
    The specified image data is copied before this function returns.
    +
    Remarks
    macOS: Regular windows do not have icons on macOS. This function will emit GLFW_FEATURE_UNAVAILABLE. The dock icon will be the same as the application bundle's icon. For more information on bundles, see the Bundle Programming Guide in the Mac Developer Library.
    +
    +Wayland: There is no existing protocol to change an icon, the window will thus inherit the one defined in the application's desktop file. This function will emit GLFW_FEATURE_UNAVAILABLE.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window icon
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetWindowPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetWindowPos (GLFWwindowwindow,
    int * xpos,
    int * ypos 
    )
    +
    +

    This function retrieves the position, in screen coordinates, of the upper-left corner of the content area of the specified window.

    +

    Any or all of the position arguments may be NULL. If an error occurs, all non-NULL position arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]windowThe window to query.
    [out]xposWhere to store the x-coordinate of the upper-left corner of the content area, or NULL.
    [out]yposWhere to store the y-coordinate of the upper-left corner of the content area, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_PLATFORM_ERROR and GLFW_FEATURE_UNAVAILABLE (see remarks).
    +
    Remarks
    Wayland: There is no way for an application to retrieve the global position of its windows. This function will emit GLFW_FEATURE_UNAVAILABLE.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window position
    +
    +glfwSetWindowPos
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowPos()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowPos (GLFWwindowwindow,
    int xpos,
    int ypos 
    )
    +
    +

    This function sets the position, in screen coordinates, of the upper-left corner of the content area of the specified windowed mode window. If the window is a full screen window, this function does nothing.

    +

    Do not use this function to move an already visible window unless you have very good reasons for doing so, as it will confuse and annoy the user.

    +

    The window manager may put limits on what positions are allowed. GLFW cannot and should not override these limits.

    +
    Parameters
    + + + + +
    [in]windowThe window to query.
    [in]xposThe x-coordinate of the upper-left corner of the content area.
    [in]yposThe y-coordinate of the upper-left corner of the content area.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_PLATFORM_ERROR and GLFW_FEATURE_UNAVAILABLE (see remarks).
    +
    Remarks
    Wayland: There is no way for an application to set the global position of its windows. This function will emit GLFW_FEATURE_UNAVAILABLE.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window position
    +
    +glfwGetWindowPos
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwGetWindowSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetWindowSize (GLFWwindowwindow,
    int * width,
    int * height 
    )
    +
    +

    This function retrieves the size, in screen coordinates, of the content area of the specified window. If you wish to retrieve the size of the framebuffer of the window in pixels, see glfwGetFramebufferSize.

    +

    Any or all of the size arguments may be NULL. If an error occurs, all non-NULL size arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]windowThe window whose size to retrieve.
    [out]widthWhere to store the width, in screen coordinates, of the content area, or NULL.
    [out]heightWhere to store the height, in screen coordinates, of the content area, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size
    +
    +glfwSetWindowSize
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwSetWindowSizeLimits()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowSizeLimits (GLFWwindowwindow,
    int minwidth,
    int minheight,
    int maxwidth,
    int maxheight 
    )
    +
    +

    This function sets the size limits of the content area of the specified window. If the window is full screen, the size limits only take effect once it is made windowed. If the window is not resizable, this function does nothing.

    +

    The size limits are applied immediately to a windowed mode window and may cause it to be resized.

    +

    The maximum dimensions must be greater than or equal to the minimum dimensions and all must be greater than or equal to zero.

    +
    Parameters
    + + + + + + +
    [in]windowThe window to set limits for.
    [in]minwidthThe minimum width, in screen coordinates, of the content area, or GLFW_DONT_CARE.
    [in]minheightThe minimum height, in screen coordinates, of the content area, or GLFW_DONT_CARE.
    [in]maxwidthThe maximum width, in screen coordinates, of the content area, or GLFW_DONT_CARE.
    [in]maxheightThe maximum height, in screen coordinates, of the content area, or GLFW_DONT_CARE.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_VALUE and GLFW_PLATFORM_ERROR.
    +
    Remarks
    If you set size limits and an aspect ratio that conflict, the results are undefined.
    +
    +Wayland: The size limits will not be applied until the window is actually resized, either by the user or by the compositor.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size limits
    +
    +glfwSetWindowAspectRatio
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwSetWindowAspectRatio()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowAspectRatio (GLFWwindowwindow,
    int numer,
    int denom 
    )
    +
    +

    This function sets the required aspect ratio of the content area of the specified window. If the window is full screen, the aspect ratio only takes effect once it is made windowed. If the window is not resizable, this function does nothing.

    +

    The aspect ratio is specified as a numerator and a denominator and both values must be greater than zero. For example, the common 16:9 aspect ratio is specified as 16 and 9, respectively.

    +

    If the numerator and denominator is set to GLFW_DONT_CARE then the aspect ratio limit is disabled.

    +

    The aspect ratio is applied immediately to a windowed mode window and may cause it to be resized.

    +
    Parameters
    + + + + +
    [in]windowThe window to set limits for.
    [in]numerThe numerator of the desired aspect ratio, or GLFW_DONT_CARE.
    [in]denomThe denominator of the desired aspect ratio, or GLFW_DONT_CARE.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_VALUE and GLFW_PLATFORM_ERROR.
    +
    Remarks
    If you set size limits and an aspect ratio that conflict, the results are undefined.
    +
    +Wayland: The aspect ratio will not be applied until the window is actually resized, either by the user or by the compositor.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size limits
    +
    +glfwSetWindowSizeLimits
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwSetWindowSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowSize (GLFWwindowwindow,
    int width,
    int height 
    )
    +
    +

    This function sets the size, in screen coordinates, of the content area of the specified window.

    +

    For full screen windows, this function updates the resolution of its desired video mode and switches to the video mode closest to it, without affecting the window's context. As the context is unaffected, the bit depths of the framebuffer remain unchanged.

    +

    If you wish to update the refresh rate of the desired video mode in addition to its resolution, see glfwSetWindowMonitor.

    +

    The window manager may put limits on what sizes are allowed. GLFW cannot and should not override these limits.

    +
    Parameters
    + + + + +
    [in]windowThe window to resize.
    [in]widthThe desired width, in screen coordinates, of the window content area.
    [in]heightThe desired height, in screen coordinates, of the window content area.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Wayland: A full screen window will not attempt to change the mode, no matter what the requested size.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size
    +
    +glfwGetWindowSize
    +
    +glfwSetWindowMonitor
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwGetFramebufferSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetFramebufferSize (GLFWwindowwindow,
    int * width,
    int * height 
    )
    +
    +

    This function retrieves the size, in pixels, of the framebuffer of the specified window. If you wish to retrieve the size of the window in screen coordinates, see glfwGetWindowSize.

    +

    Any or all of the size arguments may be NULL. If an error occurs, all non-NULL size arguments will be set to zero.

    +
    Parameters
    + + + + +
    [in]windowThe window whose framebuffer to query.
    [out]widthWhere to store the width, in pixels, of the framebuffer, or NULL.
    [out]heightWhere to store the height, in pixels, of the framebuffer, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Framebuffer size
    +
    +glfwSetFramebufferSizeCallback
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetWindowFrameSize()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetWindowFrameSize (GLFWwindowwindow,
    int * left,
    int * top,
    int * right,
    int * bottom 
    )
    +
    +

    This function retrieves the size, in screen coordinates, of each edge of the frame of the specified window. This size includes the title bar, if the window has one. The size of the frame may vary depending on the window-related hints used to create it.

    +

    Because this function retrieves the size of each window frame edge and not the offset along a particular coordinate axis, the retrieved values will always be zero or positive.

    +

    Any or all of the size arguments may be NULL. If an error occurs, all non-NULL size arguments will be set to zero.

    +
    Parameters
    + + + + + + +
    [in]windowThe window whose frame size to query.
    [out]leftWhere to store the size, in screen coordinates, of the left edge of the window frame, or NULL.
    [out]topWhere to store the size, in screen coordinates, of the top edge of the window frame, or NULL.
    [out]rightWhere to store the size, in screen coordinates, of the right edge of the window frame, or NULL.
    [out]bottomWhere to store the size, in screen coordinates, of the bottom edge of the window frame, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwGetWindowContentScale()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwGetWindowContentScale (GLFWwindowwindow,
    float * xscale,
    float * yscale 
    )
    +
    +

    This function retrieves the content scale for the specified window. The content scale is the ratio between the current DPI and the platform's default DPI. This is especially important for text and any UI elements. If the pixel dimensions of your UI scaled by this look appropriate on your machine then it should appear at a reasonable size on other machines regardless of their DPI and scaling settings. This relies on the system DPI and scaling settings being somewhat correct.

    +

    On systems where each monitors can have its own content scale, the window content scale will depend on which monitor the system considers the window to be on.

    +
    Parameters
    + + + + +
    [in]windowThe window to query.
    [out]xscaleWhere to store the x-axis content scale, or NULL.
    [out]yscaleWhere to store the y-axis content scale, or NULL.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window content scale
    +
    +glfwSetWindowContentScaleCallback
    +
    +glfwGetMonitorContentScale
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetWindowOpacity()

    + +
    +
    + + + + + + + + +
    float glfwGetWindowOpacity (GLFWwindowwindow)
    +
    +

    This function returns the opacity of the window, including any decorations.

    +

    The opacity (or alpha) value is a positive finite number between zero and one, where zero is fully transparent and one is fully opaque. If the system does not support whole window transparency, this function always returns one.

    +

    The initial opacity value for newly created windows is one.

    +
    Parameters
    + + +
    [in]windowThe window to query.
    +
    +
    +
    Returns
    The opacity value of the specified window.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window transparency
    +
    +glfwSetWindowOpacity
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwSetWindowOpacity()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowOpacity (GLFWwindowwindow,
    float opacity 
    )
    +
    +

    This function sets the opacity of the window, including any decorations.

    +

    The opacity (or alpha) value is a positive finite number between zero and one, where zero is fully transparent and one is fully opaque.

    +

    The initial opacity value for newly created windows is one.

    +

    A window created with framebuffer transparency may not use whole window transparency. The results of doing this are undefined.

    +
    Parameters
    + + + +
    [in]windowThe window to set the opacity for.
    [in]opacityThe desired opacity of the specified window.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_PLATFORM_ERROR and GLFW_FEATURE_UNAVAILABLE (see remarks).
    +
    Remarks
    Wayland: There is no way to set an opacity factor for a window. This function will emit GLFW_FEATURE_UNAVAILABLE.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window transparency
    +
    +glfwGetWindowOpacity
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwIconifyWindow()

    + +
    +
    + + + + + + + + +
    void glfwIconifyWindow (GLFWwindowwindow)
    +
    +

    This function iconifies (minimizes) the specified window if it was previously restored. If the window is already iconified, this function does nothing.

    +

    If the specified window is a full screen window, the original monitor resolution is restored until the window is restored.

    +
    Parameters
    + + +
    [in]windowThe window to iconify.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Wayland: Once a window is iconified, glfwRestoreWindow won’t be able to restore it. This is a design decision of the xdg-shell protocol.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window iconification
    +
    +glfwRestoreWindow
    +
    +glfwMaximizeWindow
    +
    Since
    Added in version 2.1. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwRestoreWindow()

    + +
    +
    + + + + + + + + +
    void glfwRestoreWindow (GLFWwindowwindow)
    +
    +

    This function restores the specified window if it was previously iconified (minimized) or maximized. If the window is already restored, this function does nothing.

    +

    If the specified window is a full screen window, the resolution chosen for the window is restored on the selected monitor.

    +
    Parameters
    + + +
    [in]windowThe window to restore.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window iconification
    +
    +glfwIconifyWindow
    +
    +glfwMaximizeWindow
    +
    Since
    Added in version 2.1. GLFW 3: Added window handle parameter.
    + +
    +
    + +

    ◆ glfwMaximizeWindow()

    + +
    +
    + + + + + + + + +
    void glfwMaximizeWindow (GLFWwindowwindow)
    +
    +

    This function maximizes the specified window if it was previously not maximized. If the window is already maximized, this function does nothing.

    +

    If the specified window is a full screen window, this function does nothing.

    +
    Parameters
    + + +
    [in]windowThe window to maximize.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread Safety
    This function may only be called from the main thread.
    +
    See also
    Window iconification
    +
    +glfwIconifyWindow
    +
    +glfwRestoreWindow
    +
    Since
    Added in GLFW 3.2.
    + +
    +
    + +

    ◆ glfwShowWindow()

    + +
    +
    + + + + + + + + +
    void glfwShowWindow (GLFWwindowwindow)
    +
    +

    This function makes the specified window visible if it was previously hidden. If the window is already visible or is in full screen mode, this function does nothing.

    +

    By default, windowed mode windows are focused when shown Set the GLFW_FOCUS_ON_SHOW window hint to change this behavior for all newly created windows, or change the behavior for an existing window with glfwSetWindowAttrib.

    +
    Parameters
    + + +
    [in]windowThe window to make visible.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window visibility
    +
    +glfwHideWindow
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwHideWindow()

    + +
    +
    + + + + + + + + +
    void glfwHideWindow (GLFWwindowwindow)
    +
    +

    This function hides the specified window if it was previously visible. If the window is already hidden or is in full screen mode, this function does nothing.

    +
    Parameters
    + + +
    [in]windowThe window to hide.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window visibility
    +
    +glfwShowWindow
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwFocusWindow()

    + +
    +
    + + + + + + + + +
    void glfwFocusWindow (GLFWwindowwindow)
    +
    +

    This function brings the specified window to front and sets input focus. The window should already be visible and not iconified.

    +

    By default, both windowed and full screen mode windows are focused when initially created. Set the GLFW_FOCUSED to disable this behavior.

    +

    Also by default, windowed mode windows are focused when shown with glfwShowWindow. Set the GLFW_FOCUS_ON_SHOW to disable this behavior.

    +

    Do not use this function to steal focus from other applications unless you are certain that is what the user wants. Focus stealing can be extremely disruptive.

    +

    For a less disruptive way of getting the user's attention, see attention requests.

    +
    Parameters
    + + +
    [in]windowThe window to give input focus.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_PLATFORM_ERROR and GLFW_FEATURE_UNAVAILABLE (see remarks).
    +
    Remarks
    Wayland: It is not possible for an application to set the input focus. This function will emit GLFW_FEATURE_UNAVAILABLE.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window input focus
    +
    +Window attention request
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwRequestWindowAttention()

    + +
    +
    + + + + + + + + +
    void glfwRequestWindowAttention (GLFWwindowwindow)
    +
    +

    This function requests user attention to the specified window. On platforms where this is not supported, attention is requested to the application as a whole.

    +

    Once the user has given attention, usually by focusing the window or application, the system will end the request automatically.

    +
    Parameters
    + + +
    [in]windowThe window to request attention to.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    macOS: Attention is requested to the application as a whole, not the specific window.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window attention request
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwGetWindowMonitor()

    + +
    +
    + + + + + + + + +
    GLFWmonitor* glfwGetWindowMonitor (GLFWwindowwindow)
    +
    +

    This function returns the handle of the monitor that the specified window is in full screen on.

    +
    Parameters
    + + +
    [in]windowThe window to query.
    +
    +
    +
    Returns
    The monitor, or NULL if the window is in windowed mode or an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window monitor
    +
    +glfwSetWindowMonitor
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowMonitor()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowMonitor (GLFWwindowwindow,
    GLFWmonitormonitor,
    int xpos,
    int ypos,
    int width,
    int height,
    int refreshRate 
    )
    +
    +

    This function sets the monitor that the window uses for full screen mode or, if the monitor is NULL, makes it windowed mode.

    +

    When setting a monitor, this function updates the width, height and refresh rate of the desired video mode and switches to the video mode closest to it. The window position is ignored when setting a monitor.

    +

    When the monitor is NULL, the position, width and height are used to place the window content area. The refresh rate is ignored when no monitor is specified.

    +

    If you only wish to update the resolution of a full screen window or the size of a windowed mode window, see glfwSetWindowSize.

    +

    When a window transitions from full screen to windowed mode, this function restores any previous window settings such as whether it is decorated, floating, resizable, has size or aspect ratio limits, etc.

    +
    Parameters
    + + + + + + + + +
    [in]windowThe window whose monitor, size or video mode to set.
    [in]monitorThe desired monitor, or NULL to set windowed mode.
    [in]xposThe desired x-coordinate of the upper-left corner of the content area.
    [in]yposThe desired y-coordinate of the upper-left corner of the content area.
    [in]widthThe desired with, in screen coordinates, of the content area or video mode.
    [in]heightThe desired height, in screen coordinates, of the content area or video mode.
    [in]refreshRateThe desired refresh rate, in Hz, of the video mode, or GLFW_DONT_CARE.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Remarks
    The OpenGL or OpenGL ES context will not be destroyed or otherwise affected by any resizing or mode switching, although you may need to update your viewport if the framebuffer size has changed.
    +
    +Wayland: The desired window position is ignored, as there is no way for an application to set this property.
    +
    +Wayland: Setting the window to full screen will not attempt to change the mode, no matter what the requested size or refresh rate.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window monitor
    +
    +Full screen windows
    +
    +glfwGetWindowMonitor
    +
    +glfwSetWindowSize
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwGetWindowAttrib()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int glfwGetWindowAttrib (GLFWwindowwindow,
    int attrib 
    )
    +
    +

    This function returns the value of an attribute of the specified window or its OpenGL or OpenGL ES context.

    +
    Parameters
    + + + +
    [in]windowThe window to query.
    [in]attribThe window attribute whose value to return.
    +
    +
    +
    Returns
    The value of the attribute, or zero if an error occurred.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Framebuffer related hints are not window attributes. See Framebuffer related attributes for more information.
    +
    +Zero is a valid value for many window and context related attributes so you cannot use a return value of zero as an indication of errors. However, this function should not fail as long as it is passed valid arguments and the library has been initialized.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window attributes
    +
    +glfwSetWindowAttrib
    +
    Since
    Added in version 3.0. Replaces glfwGetWindowParam and glfwGetGLVersion.
    + +
    +
    + +

    ◆ glfwSetWindowAttrib()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowAttrib (GLFWwindowwindow,
    int attrib,
    int value 
    )
    +
    +

    This function sets the value of an attribute of the specified window.

    +

    The supported attributes are GLFW_DECORATED, GLFW_RESIZABLE, GLFW_FLOATING, GLFW_AUTO_ICONIFY and GLFW_FOCUS_ON_SHOW. GLFW_MOUSE_PASSTHROUGH

    +

    Some of these attributes are ignored for full screen windows. The new value will take effect if the window is later made windowed.

    +

    Some of these attributes are ignored for windowed mode windows. The new value will take effect if the window is later made full screen.

    +
    Parameters
    + + + + +
    [in]windowThe window to set the attribute for.
    [in]attribA supported window attribute.
    [in]valueGLFW_TRUE or GLFW_FALSE.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_ENUM, GLFW_INVALID_VALUE and GLFW_PLATFORM_ERROR.
    +
    Remarks
    Calling glfwGetWindowAttrib will always return the latest value, even if that value is ignored by the current mode of the window.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window attributes
    +
    +glfwGetWindowAttrib
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwSetWindowUserPointer()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void glfwSetWindowUserPointer (GLFWwindowwindow,
    void * pointer 
    )
    +
    +

    This function sets the user-defined pointer of the specified window. The current value is retained until the window is destroyed. The initial value is NULL.

    +
    Parameters
    + + + +
    [in]windowThe window whose pointer to set.
    [in]pointerThe new value.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    User pointer
    +
    +glfwGetWindowUserPointer
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwGetWindowUserPointer()

    + +
    +
    + + + + + + + + +
    void* glfwGetWindowUserPointer (GLFWwindowwindow)
    +
    +

    This function returns the current value of the user-defined pointer of the specified window. The initial value is NULL.

    +
    Parameters
    + + +
    [in]windowThe window whose pointer to return.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function may be called from any thread. Access is not synchronized.
    +
    See also
    User pointer
    +
    +glfwSetWindowUserPointer
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowPosCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindowwindow,
    GLFWwindowposfun callback 
    )
    +
    +

    This function sets the position callback of the specified window, which is called when the window is moved. The callback is provided with the position, in screen coordinates, of the upper-left corner of the content area of the window.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int xpos, int ypos)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Remarks
    Wayland: This callback will never be called, as there is no way for an application to know its global position.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window position
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowSizeCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindowwindow,
    GLFWwindowsizefun callback 
    )
    +
    +

    This function sets the size callback of the specified window, which is called when the window is resized. The callback is provided with the size, in screen coordinates, of the content area of the window.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int width, int height)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window size
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetWindowCloseCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindowwindow,
    GLFWwindowclosefun callback 
    )
    +
    +

    This function sets the close callback of the specified window, which is called when the user attempts to close the window, for example by clicking the close widget in the title bar.

    +

    The close flag is set before this callback is called, but you can modify it at any time with glfwSetWindowShouldClose.

    +

    The close callback is not triggered by glfwDestroyWindow.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Remarks
    macOS: Selecting Quit from the application menu will trigger the close callback for all windows.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window closing and close flag
    +
    Since
    Added in version 2.5. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetWindowRefreshCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindowwindow,
    GLFWwindowrefreshfun callback 
    )
    +
    +

    This function sets the refresh callback of the specified window, which is called when the content area of the window needs to be redrawn, for example if the window has been exposed after having been covered by another window.

    +

    On compositing window systems such as Aero, Compiz, Aqua or Wayland, where the window contents are saved off-screen, this callback may be called only very infrequently or never at all.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window);
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window damage and refresh
    +
    Since
    Added in version 2.5. GLFW 3: Added window handle parameter and return value.
    + +
    +
    + +

    ◆ glfwSetWindowFocusCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindowwindow,
    GLFWwindowfocusfun callback 
    )
    +
    +

    This function sets the focus callback of the specified window, which is called when the window gains or loses input focus.

    +

    After the focus callback is called for a window that lost input focus, synthetic key and mouse button release events will be generated for all such that had been pressed. For more information, see glfwSetKeyCallback and glfwSetMouseButtonCallback.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int focused)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window input focus
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowIconifyCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindowwindow,
    GLFWwindowiconifyfun callback 
    )
    +
    +

    This function sets the iconification callback of the specified window, which is called when the window is iconified or restored.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int iconified)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window iconification
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowMaximizeCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowmaximizefun glfwSetWindowMaximizeCallback (GLFWwindowwindow,
    GLFWwindowmaximizefun callback 
    )
    +
    +

    This function sets the maximization callback of the specified window, which is called when the window is maximized or restored.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int maximized)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window maximization
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwSetFramebufferSizeCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindowwindow,
    GLFWframebuffersizefun callback 
    )
    +
    +

    This function sets the framebuffer resize callback of the specified window, which is called when the framebuffer of the specified window is resized.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, int width, int height)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Framebuffer size
    +
    Since
    Added in version 3.0.
    + +
    +
    + +

    ◆ glfwSetWindowContentScaleCallback()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback (GLFWwindowwindow,
    GLFWwindowcontentscalefun callback 
    )
    +
    +

    This function sets the window content scale callback of the specified window, which is called when the content scale of the specified window changes.

    +
    Parameters
    + + + +
    [in]windowThe window whose callback to set.
    [in]callbackThe new callback, or NULL to remove the currently set callback.
    +
    +
    +
    Returns
    The previously set callback, or NULL if no callback was set or the library had not been initialized.
    +
    Callback signature
    void function_name(GLFWwindow* window, float xscale, float yscale)
    +
    For more information about the callback parameters, see the function pointer type.
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Window content scale
    +
    +glfwGetWindowContentScale
    +
    Since
    Added in version 3.3.
    + +
    +
    + +

    ◆ glfwPollEvents()

    + +
    +
    + + + + + + + + +
    void glfwPollEvents (void )
    +
    +

    This function processes only those events that are already in the event queue and then returns immediately. Processing events will cause the window and input callbacks associated with those events to be called.

    +

    On some platforms, a window move, resize or menu operation will cause event processing to block. This is due to how event processing is designed on those platforms. You can use the window refresh callback to redraw the contents of your window when necessary during such operations.

    +

    Do not assume that callbacks you set will only be called in response to event processing functions like this one. While it is necessary to poll for events, window systems that require GLFW to register callbacks of its own can pass events to GLFW in response to many window system function calls. GLFW will pass those events on to the application callbacks before returning.

    +

    Event processing is not required for joystick input to work.

    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Event processing
    +
    +glfwWaitEvents
    +
    +glfwWaitEventsTimeout
    +
    Since
    Added in version 1.0.
    + +
    +
    + +

    ◆ glfwWaitEvents()

    + +
    +
    + + + + + + + + +
    void glfwWaitEvents (void )
    +
    +

    This function puts the calling thread to sleep until at least one event is available in the event queue. Once one or more events are available, it behaves exactly like glfwPollEvents, i.e. the events in the queue are processed and the function then returns immediately. Processing events will cause the window and input callbacks associated with those events to be called.

    +

    Since not all events are associated with callbacks, this function may return without a callback having been called even if you are monitoring all callbacks.

    +

    On some platforms, a window move, resize or menu operation will cause event processing to block. This is due to how event processing is designed on those platforms. You can use the window refresh callback to redraw the contents of your window when necessary during such operations.

    +

    Do not assume that callbacks you set will only be called in response to event processing functions like this one. While it is necessary to poll for events, window systems that require GLFW to register callbacks of its own can pass events to GLFW in response to many window system function calls. GLFW will pass those events on to the application callbacks before returning.

    +

    Event processing is not required for joystick input to work.

    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Event processing
    +
    +glfwPollEvents
    +
    +glfwWaitEventsTimeout
    +
    Since
    Added in version 2.5.
    + +
    +
    + +

    ◆ glfwWaitEventsTimeout()

    + +
    +
    + + + + + + + + +
    void glfwWaitEventsTimeout (double timeout)
    +
    +

    This function puts the calling thread to sleep until at least one event is available in the event queue, or until the specified timeout is reached. If one or more events are available, it behaves exactly like glfwPollEvents, i.e. the events in the queue are processed and the function then returns immediately. Processing events will cause the window and input callbacks associated with those events to be called.

    +

    The timeout value must be a positive finite number.

    +

    Since not all events are associated with callbacks, this function may return without a callback having been called even if you are monitoring all callbacks.

    +

    On some platforms, a window move, resize or menu operation will cause event processing to block. This is due to how event processing is designed on those platforms. You can use the window refresh callback to redraw the contents of your window when necessary during such operations.

    +

    Do not assume that callbacks you set will only be called in response to event processing functions like this one. While it is necessary to poll for events, window systems that require GLFW to register callbacks of its own can pass events to GLFW in response to many window system function calls. GLFW will pass those events on to the application callbacks before returning.

    +

    Event processing is not required for joystick input to work.

    +
    Parameters
    + + +
    [in]timeoutThe maximum amount of time, in seconds, to wait.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_INVALID_VALUE and GLFW_PLATFORM_ERROR.
    +
    Reentrancy
    This function must not be called from a callback.
    +
    Thread safety
    This function must only be called from the main thread.
    +
    See also
    Event processing
    +
    +glfwPollEvents
    +
    +glfwWaitEvents
    +
    Since
    Added in version 3.2.
    + +
    +
    + +

    ◆ glfwPostEmptyEvent()

    + +
    +
    + + + + + + + + +
    void glfwPostEmptyEvent (void )
    +
    +

    This function posts an empty event from the current thread to the event queue, causing glfwWaitEvents or glfwWaitEventsTimeout to return.

    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED and GLFW_PLATFORM_ERROR.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Event processing
    +
    +glfwWaitEvents
    +
    +glfwWaitEventsTimeout
    +
    Since
    Added in version 3.1.
    + +
    +
    + +

    ◆ glfwSwapBuffers()

    + +
    +
    + + + + + + + + +
    void glfwSwapBuffers (GLFWwindowwindow)
    +
    +

    This function swaps the front and back buffers of the specified window when rendering with OpenGL or OpenGL ES. If the swap interval is greater than zero, the GPU driver waits the specified number of screen updates before swapping the buffers.

    +

    The specified window must have an OpenGL or OpenGL ES context. Specifying a window without a context will generate a GLFW_NO_WINDOW_CONTEXT error.

    +

    This function does not apply to Vulkan. If you are rendering with Vulkan, see vkQueuePresentKHR instead.

    +
    Parameters
    + + +
    [in]windowThe window whose buffers to swap.
    +
    +
    +
    Errors
    Possible errors include GLFW_NOT_INITIALIZED, GLFW_NO_WINDOW_CONTEXT and GLFW_PLATFORM_ERROR.
    +
    Remarks
    EGL: The context of the specified window must be current on the calling thread.
    +
    Thread safety
    This function may be called from any thread.
    +
    See also
    Buffer swapping
    +
    +glfwSwapInterval
    +
    Since
    Added in version 1.0. GLFW 3: Added window handle parameter.
    + +
    +
    +
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1312
    + + + diff --git a/docs/3.4/index.html b/docs/3.4/index.html new file mode 100644 index 0000000..a704735 --- /dev/null +++ b/docs/3.4/index.html @@ -0,0 +1,92 @@ + + + + + + + +GLFW: Main Page + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +

    +Introduction

    +

    GLFW is a free, Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan application development. It provides a simple, platform-independent API for creating windows, contexts and surfaces, reading input, handling events, etc.

    +

    Release notes for version 3.4 list new features, caveats and deprecations.

    +

    Getting started is a guide for users new to GLFW. It takes you through how to write a small but complete program.

    +

    There are guides for each section of the API:

    + +

    Once you have written a program, see Compiling GLFW and Building applications.

    +

    The reference documentation provides more detailed information about specific functions.

    +

    Moving from GLFW 2 to 3 explains what has changed and how to update existing code to use the new API.

    +

    There is a section on Guarantees and limitations for pointer lifetimes, reentrancy, thread safety, event order and backward and forward compatibility.

    +

    The FAQ answers many common questions about the design, implementation and use of GLFW.

    +

    Finally, Standards conformance explains what APIs, standards and protocols GLFW uses and what happens when they are not present on a given machine.

    +

    This documentation was generated with Doxygen. The sources for it are available in both the source distribution and GitHub repository.

    +
    +
    + + + diff --git a/docs/3.4/input.html b/docs/3.4/input.html new file mode 120000 index 0000000..88115d8 --- /dev/null +++ b/docs/3.4/input.html @@ -0,0 +1 @@ +input_guide.html \ No newline at end of file diff --git a/docs/3.4/input_8dox.html b/docs/3.4/input_8dox.html new file mode 100644 index 0000000..bd1621a --- /dev/null +++ b/docs/3.4/input_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: input.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    input.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.4/input_guide.html b/docs/3.4/input_guide.html new file mode 100644 index 0000000..a206c60 --- /dev/null +++ b/docs/3.4/input_guide.html @@ -0,0 +1,560 @@ + + + + + + + +GLFW: Input guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Input guide
    +
    +
    + +

    This guide introduces the input related functions of GLFW. For details on a specific function in this category, see the Input reference. There are also guides for the other areas of GLFW.

    + +

    GLFW provides many kinds of input. While some can only be polled, like time, or only received via callbacks, like scrolling, many provide both callbacks and polling. Callbacks are more work to use than polling but is less CPU intensive and guarantees that you do not miss state changes.

    +

    All input callbacks receive a window handle. By using the window user pointer, you can access non-global structures or objects from your callbacks.

    +

    To get a better feel for how the various events callbacks behave, run the events test program. It register every callback supported by GLFW and prints out all arguments provided for every event, along with time and sequence information.

    +

    +Event processing

    +

    GLFW needs to poll the window system for events both to provide input to the application and to prove to the window system that the application hasn't locked up. Event processing is normally done each frame after buffer swapping. Even when you have no windows, event polling needs to be done in order to receive monitor and joystick connection events.

    +

    There are three functions for processing pending events. glfwPollEvents, processes only those events that have already been received and then returns immediately.

    +

    This is the best choice when rendering continuously, like most games do.

    +

    If you only need to update the contents of the window when you receive new input, glfwWaitEvents is a better choice.

    +

    It puts the thread to sleep until at least one event has been received and then processes all received events. This saves a great deal of CPU cycles and is useful for, for example, editing tools.

    +

    If you want to wait for events but have UI elements or other tasks that need periodic updates, glfwWaitEventsTimeout lets you specify a timeout.

    +

    It puts the thread to sleep until at least one event has been received, or until the specified number of seconds have elapsed. It then processes any received events.

    +

    If the main thread is sleeping in glfwWaitEvents, you can wake it from another thread by posting an empty event to the event queue with glfwPostEmptyEvent.

    +

    Do not assume that callbacks will only be called in response to the above functions. While it is necessary to process events in one or more of the ways above, window systems that require GLFW to register callbacks of its own can pass events to GLFW in response to many window system function calls. GLFW will pass those events on to the application callbacks before returning.

    +

    For example, on Windows the system function that glfwSetWindowSize is implemented with will send window size events directly to the event callback that every window has and that GLFW implements for its windows. If you have set a window size callback GLFW will call it in turn with the new size before everything returns back out of the glfwSetWindowSize call.

    +

    +Keyboard input

    +

    GLFW divides keyboard input into two categories; key events and character events. Key events relate to actual physical keyboard keys, whereas character events relate to the Unicode code points generated by pressing some of them.

    +

    Keys and characters do not map 1:1. A single key press may produce several characters, and a single character may require several keys to produce. This may not be the case on your machine, but your users are likely not all using the same keyboard layout, input method or even operating system as you.

    +

    +Key input

    +

    If you wish to be notified when a physical key is pressed or released or when it repeats, set a key callback.

    +
    glfwSetKeyCallback(window, key_callback);
    +

    The callback function receives the keyboard key, platform-specific scancode, key action and modifier bits.

    +
    void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
    +
    {
    +
    if (key == GLFW_KEY_E && action == GLFW_PRESS)
    +
    activate_airship();
    +
    }
    +

    The action is one of GLFW_PRESS, GLFW_REPEAT or GLFW_RELEASE. The key will be GLFW_KEY_UNKNOWN if GLFW lacks a key token for it, for example E-mail and Play keys.

    +

    The scancode is unique for every key, regardless of whether it has a key token. Scancodes are platform-specific but consistent over time, so keys will have different scancodes depending on the platform but they are safe to save to disk. You can query the scancode for any named key on the current platform with glfwGetKeyScancode.

    +
    const int scancode = glfwGetKeyScancode(GLFW_KEY_X);
    +
    set_key_mapping(scancode, swap_weapons);
    +

    The last reported state for every named key is also saved in per-window state arrays that can be polled with glfwGetKey.

    +
    int state = glfwGetKey(window, GLFW_KEY_E);
    +
    if (state == GLFW_PRESS)
    +
    {
    +
    activate_airship();
    +
    }
    +

    The returned state is one of GLFW_PRESS or GLFW_RELEASE.

    +

    This function only returns cached key event state. It does not poll the system for the current physical state of the key.

    +

    Whenever you poll state, you risk missing the state change you are looking for. If a pressed key is released again before you poll its state, you will have missed the key press. The recommended solution for this is to use a key callback, but there is also the GLFW_STICKY_KEYS input mode.

    +

    When sticky keys mode is enabled, the pollable state of a key will remain GLFW_PRESS until the state of that key is polled with glfwGetKey. Once it has been polled, if a key release event had been processed in the meantime, the state will reset to GLFW_RELEASE, otherwise it will remain GLFW_PRESS.

    +

    If you wish to know what the state of the Caps Lock and Num Lock keys was when input events were generated, set the GLFW_LOCK_KEY_MODS input mode.

    +

    When this input mode is enabled, any callback that receives modifier bits will have the GLFW_MOD_CAPS_LOCK bit set if Caps Lock was on when the event occurred and the GLFW_MOD_NUM_LOCK bit set if Num Lock was on.

    +

    The GLFW_KEY_LAST constant holds the highest value of any named key.

    +

    +Text input

    +

    GLFW supports text input in the form of a stream of Unicode code points, as produced by the operating system text input system. Unlike key input, text input obeys keyboard layouts and modifier keys and supports composing characters using dead keys. Once received, you can encode the code points into UTF-8 or any other encoding you prefer.

    +

    Because an unsigned int is 32 bits long on all platforms supported by GLFW, you can treat the code point argument as native endian UTF-32.

    +

    If you wish to offer regular text input, set a character callback.

    +
    glfwSetCharCallback(window, character_callback);
    +

    The callback function receives Unicode code points for key events that would have led to regular text input and generally behaves as a standard text field on that platform.

    +
    void character_callback(GLFWwindow* window, unsigned int codepoint)
    +
    {
    +
    }
    +

    +Key names

    +

    If you wish to refer to keys by name, you can query the keyboard layout dependent name of printable keys with glfwGetKeyName.

    +
    const char* key_name = glfwGetKeyName(GLFW_KEY_W, 0);
    +
    show_tutorial_hint("Press %s to move forward", key_name);
    +

    This function can handle both keys and scancodes. If the specified key is GLFW_KEY_UNKNOWN then the scancode is used, otherwise it is ignored. This matches the behavior of the key callback, meaning the callback arguments can always be passed unmodified to this function.

    +

    +Mouse input

    +

    Mouse input comes in many forms, including mouse motion, button presses and scrolling offsets. The cursor appearance can also be changed, either to a custom image or a standard cursor shape from the system theme.

    +

    +Cursor position

    +

    If you wish to be notified when the cursor moves over the window, set a cursor position callback.

    +
    glfwSetCursorPosCallback(window, cursor_position_callback);
    +

    The callback functions receives the cursor position, measured in screen coordinates but relative to the top-left corner of the window content area. On platforms that provide it, the full sub-pixel cursor position is passed on.

    +
    static void cursor_position_callback(GLFWwindow* window, double xpos, double ypos)
    +
    {
    +
    }
    +

    The cursor position is also saved per-window and can be polled with glfwGetCursorPos.

    +
    double xpos, ypos;
    +
    glfwGetCursorPos(window, &xpos, &ypos);
    +

    +Cursor mode

    +

    The GLFW_CURSOR input mode provides several cursor modes for special forms of mouse motion input. By default, the cursor mode is GLFW_CURSOR_NORMAL, meaning the regular arrow cursor (or another cursor set with glfwSetCursor) is used and cursor motion is not limited.

    +

    If you wish to implement mouse motion based camera controls or other input schemes that require unlimited mouse movement, set the cursor mode to GLFW_CURSOR_DISABLED.

    +

    This will hide the cursor and lock it to the specified window. GLFW will then take care of all the details of cursor re-centering and offset calculation and providing the application with a virtual cursor position. This virtual position is provided normally via both the cursor position callback and through polling.

    +
    Note
    You should not implement your own version of this functionality using other features of GLFW. It is not supported and will not work as robustly as GLFW_CURSOR_DISABLED.
    +

    If you only wish the cursor to become hidden when it is over a window but still want it to behave normally, set the cursor mode to GLFW_CURSOR_HIDDEN.

    +

    This mode puts no limit on the motion of the cursor.

    +

    To exit out of either of these special modes, restore the GLFW_CURSOR_NORMAL cursor mode.

    +

    +

    +Raw mouse motion

    +

    When the cursor is disabled, raw (unscaled and unaccelerated) mouse motion can be enabled if available.

    +

    Raw mouse motion is closer to the actual motion of the mouse across a surface. It is not affected by the scaling and acceleration applied to the motion of the desktop cursor. That processing is suitable for a cursor while raw motion is better for controlling for example a 3D camera. Because of this, raw mouse motion is only provided when the cursor is disabled.

    +

    Call glfwRawMouseMotionSupported to check if the current machine provides raw motion and set the GLFW_RAW_MOUSE_MOTION input mode to enable it. It is disabled by default.

    +

    If supported, raw mouse motion can be enabled or disabled per-window and at any time but it will only be provided when the cursor is disabled.

    +

    +Cursor objects

    +

    GLFW supports creating both custom and system theme cursor images, encapsulated as GLFWcursor objects. They are created with glfwCreateCursor or glfwCreateStandardCursor and destroyed with glfwDestroyCursor, or glfwTerminate, if any remain.

    +

    +Custom cursor creation

    +

    A custom cursor is created with glfwCreateCursor, which returns a handle to the created cursor object. For example, this creates a 16x16 white square cursor with the hot-spot in the upper-left corner:

    +
    unsigned char pixels[16 * 16 * 4];
    +
    memset(pixels, 0xff, sizeof(pixels));
    +
    +
    GLFWimage image;
    +
    image.width = 16;
    +
    image.height = 16;
    +
    image.pixels = pixels;
    +
    +
    GLFWcursor* cursor = glfwCreateCursor(&image, 0, 0);
    +

    If cursor creation fails, NULL will be returned, so it is necessary to check the return value.

    +

    The image data is 32-bit, little-endian, non-premultiplied RGBA, i.e. eight bits per channel with the red channel first. The pixels are arranged canonically as sequential rows, starting from the top-left corner.

    +

    +Standard cursor creation

    +

    A cursor with a standard shape from the current system cursor theme can be can be created with glfwCreateStandardCursor.

    +

    These cursor objects behave in the exact same way as those created with glfwCreateCursor except that the system cursor theme provides the actual image.

    +

    A few of these shapes are not available everywhere. If a shape is unavailable, NULL is returned. See glfwCreateStandardCursor for details.

    +

    +Cursor destruction

    +

    When a cursor is no longer needed, destroy it with glfwDestroyCursor.

    +

    Cursor destruction always succeeds. If the cursor is current for any window, that window will revert to the default cursor. This does not affect the cursor mode. All remaining cursors are destroyed when glfwTerminate is called.

    +

    +Cursor setting

    +

    A cursor can be set as current for a window with glfwSetCursor.

    +
    glfwSetCursor(window, cursor);
    +

    Once set, the cursor image will be used as long as the system cursor is over the content area of the window and the cursor mode is set to GLFW_CURSOR_NORMAL.

    +

    A single cursor may be set for any number of windows.

    +

    To revert to the default cursor, set the cursor of that window to NULL.

    +
    glfwSetCursor(window, NULL);
    +

    When a cursor is destroyed, any window that has it set will revert to the default cursor. This does not affect the cursor mode.

    +

    +Cursor enter/leave events

    +

    If you wish to be notified when the cursor enters or leaves the content area of a window, set a cursor enter/leave callback.

    +
    glfwSetCursorEnterCallback(window, cursor_enter_callback);
    +

    The callback function receives the new classification of the cursor.

    +
    void cursor_enter_callback(GLFWwindow* window, int entered)
    +
    {
    +
    if (entered)
    +
    {
    +
    // The cursor entered the content area of the window
    +
    }
    +
    else
    +
    {
    +
    // The cursor left the content area of the window
    +
    }
    +
    }
    +

    You can query whether the cursor is currently inside the content area of the window with the GLFW_HOVERED window attribute.

    +
    +
    {
    +
    highlight_interface();
    +
    }
    +

    +Mouse button input

    +

    If you wish to be notified when a mouse button is pressed or released, set a mouse button callback.

    +
    glfwSetMouseButtonCallback(window, mouse_button_callback);
    +

    The callback function receives the mouse button, button action and modifier bits.

    +
    void mouse_button_callback(GLFWwindow* window, int button, int action, int mods)
    +
    {
    +
    if (button == GLFW_MOUSE_BUTTON_RIGHT && action == GLFW_PRESS)
    +
    popup_menu();
    +
    }
    +

    The action is one of GLFW_PRESS or GLFW_RELEASE.

    +

    Mouse button states for named buttons are also saved in per-window state arrays that can be polled with glfwGetMouseButton.

    +
    +
    if (state == GLFW_PRESS)
    +
    {
    +
    upgrade_cow();
    +
    }
    +

    The returned state is one of GLFW_PRESS or GLFW_RELEASE.

    +

    This function only returns cached mouse button event state. It does not poll the system for the current state of the mouse button.

    +

    Whenever you poll state, you risk missing the state change you are looking for. If a pressed mouse button is released again before you poll its state, you will have missed the button press. The recommended solution for this is to use a mouse button callback, but there is also the GLFW_STICKY_MOUSE_BUTTONS input mode.

    +

    When sticky mouse buttons mode is enabled, the pollable state of a mouse button will remain GLFW_PRESS until the state of that button is polled with glfwGetMouseButton. Once it has been polled, if a mouse button release event had been processed in the meantime, the state will reset to GLFW_RELEASE, otherwise it will remain GLFW_PRESS.

    +

    The GLFW_MOUSE_BUTTON_LAST constant holds the highest value of any named button.

    +

    +Scroll input

    +

    If you wish to be notified when the user scrolls, whether with a mouse wheel or touchpad gesture, set a scroll callback.

    +
    glfwSetScrollCallback(window, scroll_callback);
    +

    The callback function receives two-dimensional scroll offsets.

    +
    void scroll_callback(GLFWwindow* window, double xoffset, double yoffset)
    +
    {
    +
    }
    +

    A normal mouse wheel, being vertical, provides offsets along the Y-axis.

    +

    +Joystick input

    +

    The joystick functions expose connected joysticks and controllers, with both referred to as joysticks. It supports up to sixteen joysticks, ranging from GLFW_JOYSTICK_1, GLFW_JOYSTICK_2 up to and including GLFW_JOYSTICK_16 or GLFW_JOYSTICK_LAST. You can test whether a joystick is present with glfwJoystickPresent.

    +

    Each joystick has zero or more axes, zero or more buttons, zero or more hats, a human-readable name, a user pointer and an SDL compatible GUID.

    +

    Detected joysticks are added to the beginning of the array. Once a joystick is detected, it keeps its assigned ID until it is disconnected or the library is terminated, so as joysticks are connected and disconnected, there may appear gaps in the IDs.

    +

    Joystick axis, button and hat state is updated when polled and does not require a window to be created or events to be processed. However, if you want joystick connection and disconnection events reliably delivered to the joystick callback then you must process events.

    +

    To see all the properties of all connected joysticks in real-time, run the joysticks test program.

    +

    +Joystick axis states

    +

    The positions of all axes of a joystick are returned by glfwGetJoystickAxes. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    +
    const float* axes = glfwGetJoystickAxes(GLFW_JOYSTICK_5, &count);
    +

    Each element in the returned array is a value between -1.0 and 1.0.

    +

    +Joystick button states

    +

    The states of all buttons of a joystick are returned by glfwGetJoystickButtons. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    +
    const unsigned char* buttons = glfwGetJoystickButtons(GLFW_JOYSTICK_3, &count);
    +

    Each element in the returned array is either GLFW_PRESS or GLFW_RELEASE.

    +

    For backward compatibility with earlier versions that did not have glfwGetJoystickHats, the button array by default also includes all hats. See the reference documentation for glfwGetJoystickButtons for details.

    +

    +Joystick hat states

    +

    The states of all hats are returned by glfwGetJoystickHats. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    +
    const unsigned char* hats = glfwGetJoystickHats(GLFW_JOYSTICK_7, &count);
    +

    Each element in the returned array is one of the following:

    + + + + + + + + + + + + + + + + + + + + + +
    Name Value
    GLFW_HAT_CENTERED 0
    GLFW_HAT_UP 1
    GLFW_HAT_RIGHT 2
    GLFW_HAT_DOWN 4
    GLFW_HAT_LEFT 8
    GLFW_HAT_RIGHT_UP GLFW_HAT_RIGHT | GLFW_HAT_UP
    GLFW_HAT_RIGHT_DOWN GLFW_HAT_RIGHT | GLFW_HAT_DOWN
    GLFW_HAT_LEFT_UP GLFW_HAT_LEFT | GLFW_HAT_UP
    GLFW_HAT_LEFT_DOWN GLFW_HAT_LEFT | GLFW_HAT_DOWN
    +

    The diagonal directions are bitwise combinations of the primary (up, right, down and left) directions and you can test for these individually by ANDing it with the corresponding direction.

    +
    if (hats[2] & GLFW_HAT_RIGHT)
    +
    {
    +
    // State of hat 2 could be right-up, right or right-down
    +
    }
    +

    For backward compatibility with earlier versions that did not have glfwGetJoystickHats, all hats are by default also included in the button array. See the reference documentation for glfwGetJoystickButtons for details.

    +

    +Joystick name

    +

    The human-readable, UTF-8 encoded name of a joystick is returned by glfwGetJoystickName. See the reference documentation for the lifetime of the returned string.

    +
    +

    Joystick names are not guaranteed to be unique. Two joysticks of the same model and make may have the same name. Only the joystick ID is guaranteed to be unique, and only until that joystick is disconnected.

    +

    +Joystick user pointer

    +

    Each joystick has a user pointer that can be set with glfwSetJoystickUserPointer and queried with glfwGetJoystickUserPointer. This can be used for any purpose you need and will not be modified by GLFW. The value will be kept until the joystick is disconnected or until the library is terminated.

    +

    The initial value of the pointer is NULL.

    +

    +Joystick configuration changes

    +

    If you wish to be notified when a joystick is connected or disconnected, set a joystick callback.

    +
    glfwSetJoystickCallback(joystick_callback);
    +

    The callback function receives the ID of the joystick that has been connected and disconnected and the event that occurred.

    +
    void joystick_callback(int jid, int event)
    +
    {
    +
    if (event == GLFW_CONNECTED)
    +
    {
    +
    // The joystick was connected
    +
    }
    +
    else if (event == GLFW_DISCONNECTED)
    +
    {
    +
    // The joystick was disconnected
    +
    }
    +
    }
    +

    For joystick connection and disconnection events to be delivered on all platforms, you need to call one of the event processing functions. Joystick disconnection may also be detected and the callback called by joystick functions. The function will then return whatever it returns for a disconnected joystick.

    +

    Only glfwGetJoystickName and glfwGetJoystickUserPointer will return useful values for a disconnected joystick and only before the monitor callback returns.

    +

    +Gamepad input

    +

    The joystick functions provide unlabeled axes, buttons and hats, with no indication of where they are located on the device. Their order may also vary between platforms even with the same device.

    +

    To solve this problem the SDL community crowdsourced the SDL_GameControllerDB project, a database of mappings from many different devices to an Xbox-like gamepad.

    +

    GLFW supports this mapping format and contains a copy of the mappings available at the time of release. See Gamepad mappings for how to update this at runtime. Mappings will be assigned to joysticks automatically any time a joystick is connected or the mappings are updated.

    +

    You can check whether a joystick is both present and has a gamepad mapping with glfwJoystickIsGamepad.

    +
    +
    {
    +
    // Use as gamepad
    +
    }
    +

    If you are only interested in gamepad input you can use this function instead of glfwJoystickPresent.

    +

    You can query the human-readable name provided by the gamepad mapping with glfwGetGamepadName. This may or may not be the same as the joystick name.

    +
    const char* name = glfwGetGamepadName(GLFW_JOYSTICK_7);
    +

    To retrieve the gamepad state of a joystick, call glfwGetGamepadState.

    +
    +
    + +
    {
    + +
    {
    +
    input_jump();
    +
    }
    +
    + +
    }
    +

    The GLFWgamepadstate struct has two arrays; one for button states and one for axis states. The values for each button and axis are the same as for the glfwGetJoystickButtons and glfwGetJoystickAxes functions, i.e. GLFW_PRESS or GLFW_RELEASE for buttons and -1.0 to 1.0 inclusive for axes.

    +

    The sizes of the arrays and the positions within each array are fixed.

    +

    The button indices are GLFW_GAMEPAD_BUTTON_A, GLFW_GAMEPAD_BUTTON_B, GLFW_GAMEPAD_BUTTON_X, GLFW_GAMEPAD_BUTTON_Y, GLFW_GAMEPAD_BUTTON_LEFT_BUMPER, GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER, GLFW_GAMEPAD_BUTTON_BACK, GLFW_GAMEPAD_BUTTON_START, GLFW_GAMEPAD_BUTTON_GUIDE, GLFW_GAMEPAD_BUTTON_LEFT_THUMB, GLFW_GAMEPAD_BUTTON_RIGHT_THUMB, GLFW_GAMEPAD_BUTTON_DPAD_UP, GLFW_GAMEPAD_BUTTON_DPAD_RIGHT, GLFW_GAMEPAD_BUTTON_DPAD_DOWN and GLFW_GAMEPAD_BUTTON_DPAD_LEFT.

    +

    For those who prefer, there are also the GLFW_GAMEPAD_BUTTON_CROSS, GLFW_GAMEPAD_BUTTON_CIRCLE, GLFW_GAMEPAD_BUTTON_SQUARE and GLFW_GAMEPAD_BUTTON_TRIANGLE aliases for the A, B, X and Y button indices.

    +

    The axis indices are GLFW_GAMEPAD_AXIS_LEFT_X, GLFW_GAMEPAD_AXIS_LEFT_Y, GLFW_GAMEPAD_AXIS_RIGHT_X, GLFW_GAMEPAD_AXIS_RIGHT_Y, GLFW_GAMEPAD_AXIS_LEFT_TRIGGER and GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER.

    +

    The GLFW_GAMEPAD_BUTTON_LAST and GLFW_GAMEPAD_AXIS_LAST constants equal the largest available index for each array.

    +

    +Gamepad mappings

    +

    GLFW contains a copy of the mappings available in SDL_GameControllerDB at the time of release. Newer ones can be added at runtime with glfwUpdateGamepadMappings.

    +
    const char* mappings = load_file_contents("game/data/gamecontrollerdb.txt");
    +
    + +

    This function supports everything from single lines up to and including the unmodified contents of the whole gamecontrollerdb.txt file.

    +

    Below is a description of the mapping format. Please keep in mind that this description is not authoritative. The format is defined by the SDL and SDL_GameControllerDB projects and their documentation and code takes precedence.

    +

    Each mapping is a single line of comma-separated values describing the GUID, name and layout of the gamepad. Lines that do not begin with a hexadecimal digit are ignored.

    +

    The first value is always the gamepad GUID, a 32 character long hexadecimal string that typically identifies its make, model, revision and the type of connection to the computer. When this information is not available, the GUID is generated using the gamepad name. GLFW uses the SDL 2.0.5+ GUID format but can convert from the older formats.

    +

    The second value is always the human-readable name of the gamepad.

    +

    All subsequent values are in the form <field>:<value> and describe the layout of the mapping. These fields may not all be present and may occur in any order.

    +

    The button fields are a, b, c, d, back, start, guide, dpup, dpright, dpdown, dpleft, leftshoulder, rightshoulder, leftstick and rightstick.

    +

    The axis fields are leftx, lefty, rightx, righty, lefttrigger and righttrigger.

    +

    The value of an axis or button field can be a joystick button, a joystick axis, a hat bitmask or empty. Joystick buttons are specified as bN, for example b2 for the third button. Joystick axes are specified as aN, for example a7 for the eighth button. Joystick hat bit masks are specified as hN.N, for example h0.8 for left on the first hat. More than one bit may be set in the mask.

    +

    Before an axis there may be a + or - range modifier, for example +a3 for the positive half of the fourth axis. This restricts input to only the positive or negative halves of the joystick axis. After an axis or half-axis there may be the ~ inversion modifier, for example a2~ or -a7~. This negates the values of the gamepad axis.

    +

    The hat bit mask match the hat states in the joystick functions.

    +

    There is also the special platform field that specifies which platform the mapping is valid for. Possible values are Windows, Mac OS X and Linux.

    +

    Below is an example of what a gamepad mapping might look like. It is the one built into GLFW for Xbox controllers accessed via the XInput API on Windows. This example has been broken into several lines to fit on the page, but real gamepad mappings must be a single line.

    +
    78696e70757401000000000000000000,XInput Gamepad (GLFW),platform:Windows,a:b0,
    +
    b:b1,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,back:b6,start:b7,leftstick:b8,
    +
    rightstick:b9,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,
    +
    righttrigger:a5,dpup:h0.1,dpright:h0.2,dpdown:h0.4,dpleft:h0.8,
    +
    Note
    GLFW does not yet support the output range and modifiers + and - that were recently added to SDL. The input modifiers +, - and ~ are supported and described above.
    +

    +Time input

    +

    GLFW provides high-resolution time input, in seconds, with glfwGetTime.

    +
    double seconds = glfwGetTime();
    +

    It returns the number of seconds since the library was initialized with glfwInit. The platform-specific time sources used typically have micro- or nanosecond resolution.

    +

    You can modify the base time with glfwSetTime.

    +
    +

    This sets the time to the specified time, in seconds, and it continues to count from there.

    +

    You can also access the raw timer used to implement the functions above, with glfwGetTimerValue.

    +
    uint64_t value = glfwGetTimerValue();
    +

    This value is in 1 / frequency seconds. The frequency of the raw timer varies depending on the operating system and hardware. You can query the frequency, in Hz, with glfwGetTimerFrequency.

    +
    uint64_t frequency = glfwGetTimerFrequency();
    +

    +Clipboard input and output

    +

    If the system clipboard contains a UTF-8 encoded string or if it can be converted to one, you can retrieve it with glfwGetClipboardString. See the reference documentation for the lifetime of the returned string.

    +
    const char* text = glfwGetClipboardString(NULL);
    +
    if (text)
    +
    {
    +
    insert_text(text);
    +
    }
    +

    If the clipboard is empty or if its contents could not be converted, NULL is returned.

    +

    The contents of the system clipboard can be set to a UTF-8 encoded string with glfwSetClipboardString.

    +
    glfwSetClipboardString(NULL, "A string with words in it");
    +

    +Path drop input

    +

    If you wish to receive the paths of files and/or directories dropped on a window, set a file drop callback.

    +
    glfwSetDropCallback(window, drop_callback);
    +

    The callback function receives an array of paths encoded as UTF-8.

    +
    void drop_callback(GLFWwindow* window, int count, const char** paths)
    +
    {
    +
    int i;
    +
    for (i = 0; i < count; i++)
    +
    handle_dropped_file(paths[i]);
    +
    }
    +

    The path array and its strings are only valid until the file drop callback returns, as they may have been generated specifically for that event. You need to make a deep copy of the array if you want to keep the paths.

    +
    +
    +
    #define GLFW_JOYSTICK_7
    Definition: glfw3.h:595
    +
    int glfwGetGamepadState(int jid, GLFWgamepadstate *state)
    Retrieves the state of the specified joystick remapped as a gamepad.
    +
    #define GLFW_CURSOR_DISABLED
    Definition: glfw3.h:1104
    +
    #define GLFW_CURSOR_NORMAL
    Definition: glfw3.h:1102
    +
    #define GLFW_CURSOR
    Definition: glfw3.h:1096
    +
    #define GLFW_CURSOR_HIDDEN
    Definition: glfw3.h:1103
    +
    #define GLFW_STICKY_KEYS
    Definition: glfw3.h:1097
    +
    #define GLFW_JOYSTICK_5
    Definition: glfw3.h:593
    +
    double glfwGetTime(void)
    Returns the GLFW time.
    +
    int glfwUpdateGamepadMappings(const char *string)
    Adds the specified SDL_GameControllerDB gamepad mappings.
    +
    const char * glfwGetJoystickName(int jid)
    Returns the name of the specified joystick.
    +
    int glfwGetMouseButton(GLFWwindow *window, int button)
    Returns the last reported state of a mouse button for the specified window.
    +
    int glfwGetKeyScancode(int key)
    Returns the platform-specific scancode of the specified key.
    +
    GLFWcursor * glfwCreateCursor(const GLFWimage *image, int xhot, int yhot)
    Creates a custom cursor.
    +
    #define GLFW_PRESS
    The key or mouse button was pressed.
    Definition: glfw3.h:335
    +
    const char * glfwGetKeyName(int key, int scancode)
    Returns the layout-specific name of the specified printable key.
    +
    int height
    Definition: glfw3.h:1854
    +
    void glfwSetInputMode(GLFWwindow *window, int mode, int value)
    Sets an input option for the specified window.
    +
    #define GLFW_HOVERED
    Mouse cursor hover window attribute.
    Definition: glfw3.h:890
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1312
    +
    #define GLFW_KEY_W
    Definition: glfw3.h:431
    +
    #define GLFW_KEY_E
    Definition: glfw3.h:413
    +
    GLFWmousebuttonfun glfwSetMouseButtonCallback(GLFWwindow *window, GLFWmousebuttonfun callback)
    Sets the mouse button callback.
    +
    const unsigned char * glfwGetJoystickHats(int jid, int *count)
    Returns the state of all hats of the specified joystick.
    +
    const char * glfwGetGamepadName(int jid)
    Returns the human-readable gamepad name for the specified joystick.
    +
    #define GLFW_JOYSTICK_1
    Definition: glfw3.h:589
    +
    void glfwSetTime(double time)
    Sets the GLFW time.
    +
    void glfwGetCursorPos(GLFWwindow *window, double *xpos, double *ypos)
    Retrieves the position of the cursor relative to the content area of the window.
    +
    int glfwJoystickIsGamepad(int jid)
    Returns whether the specified joystick has a gamepad mapping.
    +
    void glfwPollEvents(void)
    Processes all pending events.
    +
    void glfwWaitEvents(void)
    Waits until events are queued and processes them.
    +
    #define GLFW_POINTING_HAND_CURSOR
    The pointing hand cursor shape.
    Definition: glfw3.h:1150
    +
    void glfwDestroyCursor(GLFWcursor *cursor)
    Destroys a cursor.
    +
    const unsigned char * glfwGetJoystickButtons(int jid, int *count)
    Returns the state of all buttons of the specified joystick.
    +
    #define GLFW_STICKY_MOUSE_BUTTONS
    Definition: glfw3.h:1098
    +
    GLFWcharfun glfwSetCharCallback(GLFWwindow *window, GLFWcharfun callback)
    Sets the Unicode character callback.
    +
    const char * glfwGetClipboardString(GLFWwindow *window)
    Returns the contents of the clipboard as a string.
    +
    GLFWcursorenterfun glfwSetCursorEnterCallback(GLFWwindow *window, GLFWcursorenterfun callback)
    Sets the cursor enter/leave callback.
    +
    void glfwSetCursor(GLFWwindow *window, GLFWcursor *cursor)
    Sets the cursor for the window.
    +
    int glfwRawMouseMotionSupported(void)
    Returns whether raw mouse motion is supported.
    +
    unsigned char * pixels
    Definition: glfw3.h:1857
    +
    #define GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER
    Definition: glfw3.h:650
    +
    #define GLFW_JOYSTICK_4
    Definition: glfw3.h:592
    +
    #define GLFW_TRUE
    One.
    Definition: glfw3.h:309
    +
    int glfwJoystickPresent(int jid)
    Returns whether the specified joystick is present.
    +
    unsigned char buttons[15]
    Definition: glfw3.h:1876
    +
    #define GLFW_DISCONNECTED
    Definition: glfw3.h:1229
    +
    #define GLFW_GAMEPAD_BUTTON_A
    Definition: glfw3.h:615
    +
    uint64_t glfwGetTimerValue(void)
    Returns the current value of the raw timer.
    +
    GLFWcursorposfun glfwSetCursorPosCallback(GLFWwindow *window, GLFWcursorposfun callback)
    Sets the cursor position callback.
    +
    uint64_t glfwGetTimerFrequency(void)
    Returns the frequency, in Hz, of the raw timer.
    +
    #define GLFW_MOUSE_BUTTON_LEFT
    Definition: glfw3.h:577
    +
    int width
    Definition: glfw3.h:1851
    +
    void glfwWaitEventsTimeout(double timeout)
    Waits with timeout until events are queued and processes them.
    +
    GLFWjoystickfun glfwSetJoystickCallback(GLFWjoystickfun callback)
    Sets the joystick configuration callback.
    +
    Gamepad input state.
    Definition: glfw3.h:1872
    +
    #define GLFW_JOYSTICK_3
    Definition: glfw3.h:591
    +
    struct GLFWcursor GLFWcursor
    Opaque cursor object.
    Definition: glfw3.h:1324
    +
    #define GLFW_RAW_MOUSE_MOTION
    Definition: glfw3.h:1100
    +
    GLFWcursor * glfwCreateStandardCursor(int shape)
    Creates a cursor with a standard shape.
    +
    float axes[6]
    Definition: glfw3.h:1880
    +
    Image data.
    Definition: glfw3.h:1848
    +
    #define GLFW_CONNECTED
    Definition: glfw3.h:1228
    +
    GLFWdropfun glfwSetDropCallback(GLFWwindow *window, GLFWdropfun callback)
    Sets the path drop callback.
    +
    GLFWkeyfun glfwSetKeyCallback(GLFWwindow *window, GLFWkeyfun callback)
    Sets the key callback.
    +
    #define GLFW_HAT_RIGHT
    Definition: glfw3.h:354
    +
    #define GLFW_JOYSTICK_2
    Definition: glfw3.h:590
    +
    #define GLFW_MOUSE_BUTTON_RIGHT
    Definition: glfw3.h:578
    +
    void glfwPostEmptyEvent(void)
    Posts an empty event to the event queue.
    +
    int glfwGetWindowAttrib(GLFWwindow *window, int attrib)
    Returns an attribute of the specified window.
    +
    GLFWscrollfun glfwSetScrollCallback(GLFWwindow *window, GLFWscrollfun callback)
    Sets the scroll callback.
    +
    int glfwGetKey(GLFWwindow *window, int key)
    Returns the last reported state of a keyboard key for the specified window.
    +
    const float * glfwGetJoystickAxes(int jid, int *count)
    Returns the values of all axes of the specified joystick.
    +
    void glfwSetClipboardString(GLFWwindow *window, const char *string)
    Sets the clipboard to the specified string.
    +
    #define GLFW_KEY_X
    Definition: glfw3.h:432
    +
    #define GLFW_LOCK_KEY_MODS
    Definition: glfw3.h:1099
    + + + diff --git a/docs/3.4/internal_8dox.html b/docs/3.4/internal_8dox.html new file mode 100644 index 0000000..b52cfd0 --- /dev/null +++ b/docs/3.4/internal_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: internal.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    internal.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.4/internals.html b/docs/3.4/internals.html new file mode 120000 index 0000000..9fc7462 --- /dev/null +++ b/docs/3.4/internals.html @@ -0,0 +1 @@ +internals_guide.html \ No newline at end of file diff --git a/docs/3.4/internals_guide.html b/docs/3.4/internals_guide.html new file mode 100644 index 0000000..ec5da5b --- /dev/null +++ b/docs/3.4/internals_guide.html @@ -0,0 +1,125 @@ + + + + + + + +GLFW: Internal structure + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Internal structure
    +
    +
    + +

    There are several interfaces inside GLFW. Each interface has its own area of responsibility and its own naming conventions.

    +

    +Public interface

    +

    The most well-known is the public interface, described in the glfw3.h header file. This is implemented in source files shared by all platforms and these files contain no platform-specific code. This code usually ends up calling the platform and internal interfaces to do the actual work.

    +

    The public interface uses the OpenGL naming conventions except with GLFW and glfw instead of GL and gl. For struct members, where OpenGL sets no precedent, it use headless camel case.

    +

    Examples: glfwCreateWindow, GLFWwindow, GLFW_RED_BITS

    +

    +Native interface

    +

    The native interface is a small set of publicly available but platform-specific functions, described in the glfw3native.h header file and used to gain access to the underlying window, context and (on some platforms) display handles used by the platform interface.

    +

    The function names of the native interface are similar to those of the public interface, but embeds the name of the interface that the returned handle is from.

    +

    Examples: glfwGetX11Window, glfwGetWGLContext

    +

    +Internal interface

    +

    The internal interface consists of utility functions used by all other interfaces. It is shared code implemented in the same shared source files as the public and event interfaces. The internal interface is described in the internal.h header file.

    +

    The internal interface is in charge of GLFW's global data, which it stores in a _GLFWlibrary struct named _glfw.

    +

    The internal interface uses the same style as the public interface, except all global names have a leading underscore.

    +

    Examples: _glfwIsValidContextConfig, _GLFWwindow, _glfw.monitorCount

    +

    +Platform interface

    +

    The platform interface implements all platform-specific operations as a service to the public interface. This includes event processing. The platform interface is never directly called by application code and never directly calls application-provided callbacks. It is also prohibited from modifying the platform-independent part of the internal structs. Instead, it calls the event interface when events interesting to GLFW are received.

    +

    The platform interface mirrors those parts of the public interface that needs to perform platform-specific operations on some or all platforms. The are also named the same except that the glfw function prefix is replaced by _glfwPlatform.

    +

    Examples: _glfwPlatformCreateWindow

    +

    The platform interface also defines structs that contain platform-specific global and per-object state. Their names mirror those of the internal interface, except that an interface-specific suffix is added.

    +

    Examples: _GLFWwindowX11, _GLFWcontextWGL

    +

    These structs are incorporated as members into the internal interface structs using special macros that name them after the specific interface used. This prevents shared code from accidentally using these members.

    +

    Examples: window->win32.handle, _glfw.x11.display

    +

    +Event interface

    +

    The event interface is implemented in the same shared source files as the public interface and is responsible for delivering the events it receives to the application, either via callbacks, via window state changes or both.

    +

    The function names of the event interface use a _glfwInput prefix and the ObjectEvent pattern.

    +

    Examples: _glfwInputWindowFocus, _glfwInputCursorPos

    +

    +Static functions

    +

    Static functions may be used by any interface and have no prefixes or suffixes. These use headless camel case.

    +

    Examples: isValidElementForJoystick

    +

    +Configuration macros

    +

    GLFW uses a number of configuration macros to select at compile time which interfaces and code paths to use. They are defined in the glfw_config.h header file, which is generated from the glfw_config.h.in file by CMake.

    +

    Configuration macros the same style as tokens in the public interface, except with a leading underscore.

    +

    Examples: _GLFW_WIN32, _GLFW_BUILD_DLL

    +
    +
    + + + diff --git a/docs/3.4/intro.html b/docs/3.4/intro.html new file mode 120000 index 0000000..09559bf --- /dev/null +++ b/docs/3.4/intro.html @@ -0,0 +1 @@ +intro_guide.html \ No newline at end of file diff --git a/docs/3.4/intro_8dox.html b/docs/3.4/intro_8dox.html new file mode 100644 index 0000000..5788cf2 --- /dev/null +++ b/docs/3.4/intro_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: intro.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    intro.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.4/intro_guide.html b/docs/3.4/intro_guide.html new file mode 100644 index 0000000..115ce20 --- /dev/null +++ b/docs/3.4/intro_guide.html @@ -0,0 +1,334 @@ + + + + + + + +GLFW: Introduction to the API + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Introduction to the API
    +
    +
    + +

    This guide introduces the basic concepts of GLFW and describes initialization, error handling and API guarantees and limitations. For a broad but shallow tutorial, see Getting started instead. For details on a specific function in this category, see the Initialization, version and error reference.

    +

    There are also guides for the other areas of GLFW.

    + +

    +Initialization and termination

    +

    Before most GLFW functions may be called, the library must be initialized. This initialization checks what features are available on the machine, enumerates monitors, initializes the timer and performs any required platform-specific initialization.

    +

    Only the following functions may be called before the library has been successfully initialized, and only from the main thread.

    + +

    Calling any other function before successful initialization will cause a GLFW_NOT_INITIALIZED error.

    +

    +Initializing GLFW

    +

    The library is initialized with glfwInit, which returns GLFW_FALSE if an error occurred.

    +
    if (!glfwInit())
    +
    {
    +
    // Handle initialization failure
    +
    }
    +

    If any part of initialization fails, any parts that succeeded are terminated as if glfwTerminate had been called. The library only needs to be initialized once and additional calls to an already initialized library will return GLFW_TRUE immediately.

    +

    Once the library has been successfully initialized, it should be terminated before the application exits. Modern systems are very good at freeing resources allocated by programs that exit, but GLFW sometimes has to change global system settings and these might not be restored without termination.

    +

    macOS: When the library is initialized the main menu and dock icon are created. These are not desirable for a command-line only program. The creation of the main menu and dock icon can be disabled with the GLFW_COCOA_MENUBAR init hint.

    +

    +Initialization hints

    +

    Initialization hints are set before glfwInit and affect how the library behaves until termination. Hints are set with glfwInitHint.

    +

    The values you set hints to are never reset by GLFW, but they only take effect during initialization. Once GLFW has been initialized, any values you set will be ignored until the library is terminated and initialized again.

    +

    Some hints are platform specific. These may be set on any platform but they will only affect their specific platform. Other platforms will ignore them. Setting these hints requires no platform specific headers or functions.

    +

    +Shared init hints

    +

    GLFW_JOYSTICK_HAT_BUTTONS specifies whether to also expose joystick hats as buttons, for compatibility with earlier versions of GLFW that did not have glfwGetJoystickHats. Possible values are GLFW_TRUE and GLFW_FALSE.

    +

    GLFW_ANGLE_PLATFORM_TYPE specifies the platform type (rendering backend) to request when using OpenGL ES and EGL via ANGLE. If the requested platform type is unavailable, ANGLE will use its default. Possible values are one of GLFW_ANGLE_PLATFORM_TYPE_NONE, GLFW_ANGLE_PLATFORM_TYPE_OPENGL, GLFW_ANGLE_PLATFORM_TYPE_OPENGLES, GLFW_ANGLE_PLATFORM_TYPE_D3D9, GLFW_ANGLE_PLATFORM_TYPE_D3D11, GLFW_ANGLE_PLATFORM_TYPE_VULKAN and GLFW_ANGLE_PLATFORM_TYPE_METAL.

    +
    The ANGLE platform type is specified via the EGL_ANGLE_platform_angle extension. This extension is not used if this hint is GLFW_ANGLE_PLATFORM_TYPE_NONE, which is the default value.
    +

    +macOS specific init hints

    +

    GLFW_COCOA_CHDIR_RESOURCES specifies whether to set the current directory to the application to the Contents/Resources subdirectory of the application's bundle, if present. Possible values are GLFW_TRUE and GLFW_FALSE. This is ignored on other platforms.

    +

    GLFW_COCOA_MENUBAR specifies whether to create the menu bar and dock icon when GLFW is initialized. This applies whether the menu bar is created from a nib or manually by GLFW. Possible values are GLFW_TRUE and GLFW_FALSE. This is ignored on other platforms.

    +

    +Supported and default values

    + + + + + + + + + + + +
    Initialization hint Default value Supported values
    GLFW_JOYSTICK_HAT_BUTTONS GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_ANGLE_PLATFORM_TYPE GLFW_ANGLE_PLATFORM_TYPE_NONE GLFW_ANGLE_PLATFORM_TYPE_NONE, GLFW_ANGLE_PLATFORM_TYPE_OPENGL, GLFW_ANGLE_PLATFORM_TYPE_OPENGLES, GLFW_ANGLE_PLATFORM_TYPE_D3D9, GLFW_ANGLE_PLATFORM_TYPE_D3D11, GLFW_ANGLE_PLATFORM_TYPE_VULKAN or GLFW_ANGLE_PLATFORM_TYPE_METAL
    GLFW_COCOA_CHDIR_RESOURCES GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_COCOA_MENUBAR GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    +

    +Terminating GLFW

    +

    Before your application exits, you should terminate the GLFW library if it has been initialized. This is done with glfwTerminate.

    +

    This will destroy any remaining window, monitor and cursor objects, restore any modified gamma ramps, re-enable the screensaver if it had been disabled and free any other resources allocated by GLFW.

    +

    Once the library is terminated, it is as if it had never been initialized and you will need to initialize it again before being able to use GLFW. If the library was not initialized or had already been terminated, it return immediately.

    +

    +Error handling

    +

    Some GLFW functions have return values that indicate an error, but this is often not very helpful when trying to figure out what happened or why it occurred. Other functions have no return value reserved for errors, so error notification needs a separate channel. Finally, far from all GLFW functions have return values.

    +

    The last error code for the calling thread can be queried at any time with glfwGetError.

    +
    int code = glfwGetError(NULL);
    +
    +
    if (code != GLFW_NO_ERROR)
    +
    handle_error(code);
    +

    If no error has occurred since the last call, GLFW_NO_ERROR (zero) is returned. The error is cleared before the function returns.

    +

    The error code indicates the general category of the error. Some error codes, such as GLFW_NOT_INITIALIZED has only a single meaning, whereas others like GLFW_PLATFORM_ERROR are used for many different errors.

    +

    GLFW often has more information about an error than its general category. You can retrieve a UTF-8 encoded human-readable description along with the error code. If no error has occurred since the last call, the description is set to NULL.

    +
    const char* description;
    +
    int code = glfwGetError(&description);
    +
    +
    if (description)
    +
    display_error_message(code, description);
    +

    The retrieved description string is only valid until the next error occurs. This means you must make a copy of it if you want to keep it.

    +

    You can also set an error callback, which will be called each time an error occurs. It is set with glfwSetErrorCallback.

    +
    glfwSetErrorCallback(error_callback);
    +

    The error callback receives the same error code and human-readable description returned by glfwGetError.

    +
    void error_callback(int code, const char* description)
    +
    {
    +
    display_error_message(code, description);
    +
    }
    +

    The error callback is called after the error is stored, so calling glfwGetError from within the error callback returns the same values as the callback argument.

    +

    The description string passed to the callback is only valid until the error callback returns. This means you must make a copy of it if you want to keep it.

    +

    Reported errors are never fatal. As long as GLFW was successfully initialized, it will remain initialized and in a safe state until terminated regardless of how many errors occur. If an error occurs during initialization that causes glfwInit to fail, any part of the library that was initialized will be safely terminated.

    +

    Do not rely on a currently invalid call to generate a specific error, as in the future that same call may generate a different error or become valid.

    +

    +Coordinate systems

    +

    GLFW has two primary coordinate systems: the virtual screen and the window content area or content area. Both use the same unit: virtual screen coordinates, or just screen coordinates, which don't necessarily correspond to pixels.

    +

    +

    Both the virtual screen and the content area coordinate systems have the X-axis pointing to the right and the Y-axis pointing down.

    +

    Window and monitor positions are specified as the position of the upper-left corners of their content areas relative to the virtual screen, while cursor positions are specified relative to a window's content area.

    +

    Because the origin of the window's content area coordinate system is also the point from which the window position is specified, you can translate content area coordinates to the virtual screen by adding the window position. The window frame, when present, extends out from the content area but does not affect the window position.

    +

    Almost all positions and sizes in GLFW are measured in screen coordinates relative to one of the two origins above. This includes cursor positions, window positions and sizes, window frame sizes, monitor positions and video mode resolutions.

    +

    Two exceptions are the monitor physical size, which is measured in millimetres, and framebuffer size, which is measured in pixels.

    +

    Pixels and screen coordinates may map 1:1 on your machine, but they won't on every other machine, for example on a Mac with a Retina display. The ratio between screen coordinates and pixels may also change at run-time depending on which monitor the window is currently considered to be on.

    +

    +Guarantees and limitations

    +

    This section describes the conditions under which GLFW can be expected to function, barring bugs in the operating system or drivers. Use of GLFW outside of these limits may work on some platforms, or on some machines, or some of the time, or on some versions of GLFW, but it may break at any time and this will not be considered a bug.

    +

    +Pointer lifetimes

    +

    GLFW will never free any pointer you provide to it and you must never free any pointer it provides to you.

    +

    Many GLFW functions return pointers to dynamically allocated structures, strings or arrays, and some callbacks are provided with strings or arrays. These are always managed by GLFW and should never be freed by the application. The lifetime of these pointers is documented for each GLFW function and callback. If you need to keep this data, you must copy it before its lifetime expires.

    +

    Many GLFW functions accept pointers to structures or strings allocated by the application. These are never freed by GLFW and are always the responsibility of the application. If GLFW needs to keep the data in these structures or strings, it is copied before the function returns.

    +

    Pointer lifetimes are guaranteed not to be shortened in future minor or patch releases.

    +

    +Reentrancy

    +

    GLFW event processing and object destruction are not reentrant. This means that the following functions must not be called from any callback function:

    + +

    These functions may be made reentrant in future minor or patch releases, but functions not on this list will not be made non-reentrant.

    +

    +Thread safety

    +

    Most GLFW functions must only be called from the main thread (the thread that calls main), but some may be called from any thread once the library has been initialized. Before initialization the whole library is thread-unsafe.

    +

    The reference documentation for every GLFW function states whether it is limited to the main thread.

    +

    Initialization, termination, event processing and the creation and destruction of windows, cursors and OpenGL and OpenGL ES contexts are all restricted to the main thread due to limitations of one or several platforms.

    +

    Because event processing must be performed on the main thread, all callbacks except for the error callback will only be called on that thread. The error callback may be called on any thread, as any GLFW function may generate errors.

    +

    The error code and description may be queried from any thread.

    + +

    Empty events may be posted from any thread.

    + +

    The window user pointer and close flag may be read and written from any thread, but this is not synchronized by GLFW.

    + +

    These functions for working with OpenGL and OpenGL ES contexts may be called from any thread, but the window object is not synchronized by GLFW.

    + +

    The raw timer functions may be called from any thread.

    + +

    The regular timer may be used from any thread, but reading and writing the timer offset is not synchronized by GLFW.

    + +

    Library version information may be queried from any thread.

    + +

    All Vulkan related functions may be called from any thread.

    + +

    GLFW uses synchronization objects internally only to manage the per-thread context and error states. Additional synchronization is left to the application.

    +

    Functions that may currently be called from any thread will always remain so, but functions that are currently limited to the main thread may be updated to allow calls from any thread in future releases.

    +

    +Version compatibility

    +

    GLFW uses Semantic Versioning. This guarantees source and binary backward compatibility with earlier minor versions of the API. This means that you can drop in a newer version of the library and existing programs will continue to compile and existing binaries will continue to run.

    +

    Once a function or constant has been added, the signature of that function or value of that constant will remain unchanged until the next major version of GLFW. No compatibility of any kind is guaranteed between major versions.

    +

    Undocumented behavior, i.e. behavior that is not described in the documentation, may change at any time until it is documented.

    +

    If the reference documentation and the implementation differ, the reference documentation will almost always take precedence and the implementation will be fixed in the next release. The reference documentation will also take precedence over anything stated in a guide.

    +

    +Event order

    +

    The order of arrival of related events is not guaranteed to be consistent across platforms. The exception is synthetic key and mouse button release events, which are always delivered after the window defocus event.

    +

    +Version management

    +

    GLFW provides mechanisms for identifying what version of GLFW your application was compiled against as well as what version it is currently running against. If you are loading GLFW dynamically (not just linking dynamically), you can use this to verify that the library binary is compatible with your application.

    +

    +Compile-time version

    +

    The compile-time version of GLFW is provided by the GLFW header with the GLFW_VERSION_MAJOR, GLFW_VERSION_MINOR and GLFW_VERSION_REVISION macros.

    +
    printf("Compiled against GLFW %i.%i.%i\n",
    + + + +

    +Run-time version

    +

    The run-time version can be retrieved with glfwGetVersion, a function that may be called regardless of whether GLFW is initialized.

    +
    int major, minor, revision;
    +
    glfwGetVersion(&major, &minor, &revision);
    +
    +
    printf("Running against GLFW %i.%i.%i\n", major, minor, revision);
    +

    +Version string

    +

    GLFW 3 also provides a compile-time generated version string that describes the version, platform, compiler and any platform-specific compile-time options. This is primarily intended for submitting bug reports, to allow developers to see which code paths are enabled in a binary.

    +

    The version string is returned by glfwGetVersionString, a function that may be called regardless of whether GLFW is initialized.

    +

    Do not use the version string to parse the GLFW library version. The glfwGetVersion function already provides the version of the running library binary.

    +

    The format of the string is as follows:

      +
    • The version of GLFW
    • +
    • The name of the window system API
    • +
    • The name of the context creation API
    • +
    • Any additional options or APIs
    • +
    +

    For example, when compiling GLFW 3.0 with MinGW using the Win32 and WGL back ends, the version string may look something like this:

    +
    3.0.0 Win32 WGL MinGW
    +
    +
    +
    int glfwGetError(const char **description)
    Returns and clears the last error for the calling thread.
    +
    void glfwTerminate(void)
    Terminates the GLFW library.
    +
    void glfwInitHint(int hint, int value)
    Sets the specified init hint to the desired value.
    +
    #define GLFW_FALSE
    Zero.
    Definition: glfw3.h:318
    +
    #define GLFW_VERSION_MINOR
    The minor version number of the GLFW library.
    Definition: glfw3.h:291
    +
    #define GLFW_VERSION_REVISION
    The revision number of the GLFW library.
    Definition: glfw3.h:298
    +
    #define GLFW_JOYSTICK_HAT_BUTTONS
    Joystick hat buttons init hint.
    Definition: glfw3.h:1237
    +
    int glfwInit(void)
    Initializes the GLFW library.
    +
    #define GLFW_VERSION_MAJOR
    The major version number of the GLFW library.
    Definition: glfw3.h:284
    +
    GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun callback)
    Sets the error callback.
    +
    void glfwGetVersion(int *major, int *minor, int *rev)
    Retrieves the version of the GLFW library.
    +
    #define GLFW_NO_ERROR
    No error has occurred.
    Definition: glfw3.h:667
    + + + diff --git a/docs/3.4/jquery.js b/docs/3.4/jquery.js new file mode 100644 index 0000000..103c32d --- /dev/null +++ b/docs/3.4/jquery.js @@ -0,0 +1,35 @@ +/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
    ",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0a;a++)for(i in o[a])n=o[a][i],o[a].hasOwnProperty(i)&&void 0!==n&&(e[i]=t.isPlainObject(n)?t.isPlainObject(e[i])?t.widget.extend({},e[i],n):t.widget.extend({},n):n);return e},t.widget.bridge=function(e,i){var n=i.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=s.call(arguments,1),h=this;return a?this.length||"instance"!==o?this.each(function(){var i,s=t.data(this,n);return"instance"===o?(h=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=s[o].apply(s,r),i!==s&&void 0!==i?(h=i&&i.jquery?h.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+o+"'")}):h=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new i(o,this))})),h}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
    ",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+o.eventNamespace,c=h[2];c?n.on(l,c,r):i.on(l,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Math.max,a=Math.abs,r=/left|center|right/,h=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,i,s=t("
    "),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.widthi?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};l>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),h.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-a-n;e.collisionWidth>a?h>0&&0>=l?(i=t.left+h+e.collisionWidth-a-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+a-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-a-n;e.collisionHeight>a?h>0&&0>=l?(i=t.top+h+e.collisionHeight-a-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+a-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-r-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-r-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,m=-2*e.offset[1];0>c?(s=t.top+p+f+m+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+m)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+m-h,(i>0||u>a(i))&&(t.top+=p+f+m))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])}}),t.fn.extend({disableSelection:function(){var t="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}}),t.ui.focusable=function(i,s){var n,o,a,r,h,l=i.nodeName.toLowerCase();return"area"===l?(n=i.parentNode,o=n.name,i.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap='#"+o+"']"),a.length>0&&a.is(":visible")):!1):(/^(input|select|textarea|button|object)$/.test(l)?(r=!i.disabled,r&&(h=t(i).closest("fieldset")[0],h&&(r=!h.disabled))):r="a"===l?i.href||s:s,r&&t(i).is(":visible")&&e(t(i)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable,t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}},"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],function(e,i){function s(e,i,s,o){return t.each(n,function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),o&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var n="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),a={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+i]=function(e){return void 0===e?a["inner"+i].call(this):this.each(function(){t(this).css(o,s(this,e)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?a["outer"+i].call(this,e):this.each(function(){t(this).css(o,s(this,e,!0,n)+"px")})}}),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.ui.escapeSelector=function(){var t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(e){return e.replace(t,"\\$1")}}(),t.fn.labels=function(){var e,i,s,n,o;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(n=this.eq(0).parents("label"),s=this.attr("id"),s&&(e=this.eq(0).parents().last(),o=e.add(e.length?e.siblings():this.siblings()),i="label[for='"+t.ui.escapeSelector(s)+"']",n=n.add(o.find(i).addBack(i))),this.pushStack(n))},t.fn.scrollParent=function(e){var i=this.css("position"),s="absolute"===i,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var e=t(this);return s&&"static"===e.css("position")?!1:n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:t(this[0].ownerDocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),s=null!=i;return(!s||i>=0)&&t.ui.focusable(e,s)}}),t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var n=!1;t(document).on("mouseup",function(){n=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!n){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var i=this,s=1===e.which,o="string"==typeof this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return s&&!o&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),n=!0,!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,n=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;o.length>n;n++)t.options[o[n][0]]&&o[n][1].apply(t.element,i)}},t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)},_create:function(){var e,i=this.options,s=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("
    ").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",function(){i.disabled||(s._removeClass("ui-resizable-autohide"),s._handles.show())}).on("mouseleave",function(){i.disabled||s.resizing||(s._addClass("ui-resizable-autohide"),s._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;default:}},_setupHandles:function(){var e,i,s,n,o,a=this.options,r=this;if(this.handles=a.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),s=this.handles.split(","),this.handles={},i=0;s.length>i;i++)e=t.trim(s[i]),n="ui-resizable-"+e,o=t("
    "),this._addClass(o,"ui-resizable-handle "+n),o.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(o);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=o&&o[1]?o[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var i,s,n,o=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),o.containment&&(i+=t(o.containment).scrollLeft()||0,s+=t(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:i,top:s},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===n?this.axis+"-resize":n),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,s,n=this.originalMousePosition,o=this.axis,a=e.pageX-n.left||0,r=e.pageY-n.top||0,h=this._change[o];return this._updatePrevProperties(),h?(i=h.apply(this,[e,a,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,h,l=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&this._hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseFloat(c.element.css("left"))+(c.position.left-c.originalPosition.left)||null,h=parseFloat(c.element.css("top"))+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(t.extend(a,{top:h,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s,n,o,a=this.options;o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,s=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,n=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),s>o.minHeight&&(o.minHeight=s),o.maxWidth>i&&(o.maxWidth=i),o.maxHeight>n&&(o.maxHeight=n)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,s=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===s&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===s&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,s=this._isNumber(t.width)&&e.maxWidth&&e.maxWidtht.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,h=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=r-e.minWidth),s&&l&&(t.left=r-e.maxWidth),a&&c&&(t.top=h-e.minHeight),n&&c&&(t.top=h-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];4>e;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;this._proportionallyResizeElements.length>e;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("
    "),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element +},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-a},l=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,c=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(h,c&&l?{top:c,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,s,n,o,a,r,h=t(this).resizable("instance"),l=h.options,c=h.element,u=l.containment,d=u instanceof t?u.get(0):/parent/.test(u)?c.parent().get(0):u;d&&(h.containerElement=t(d),/document/.test(u)||u===document?(h.containerOffset={left:0,top:0},h.containerPosition={left:0,top:0},h.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,s){i[t]=h._num(e.css("padding"+s))}),h.containerOffset=e.offset(),h.containerPosition=e.position(),h.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},s=h.containerOffset,n=h.containerSize.height,o=h.containerSize.width,a=h._hasScroll(d,"left")?d.scrollWidth:o,r=h._hasScroll(d)?d.scrollHeight:n,h.parentData={element:d,left:s.left,top:s.top,width:a,height:r}))},resize:function(e){var i,s,n,o,a=t(this).resizable("instance"),r=a.options,h=a.containerOffset,l=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(u=h),l.left<(a._helper?h.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-h.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio,p=!1),a.position.left=r.helper?h.left:0),l.top<(a._helper?h.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-h.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio,p=!1),a.position.top=a._helper?h.top:0),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),i=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-u.left:a.offset.left-h.left)),s=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-u.top:a.offset.top-h.top)),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio,p=!1)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio,p=!1)),p||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),h=a.outerWidth()-e.sizeDiff.width,l=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance"),i=e.options;t(i.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var s=t(this).resizable("instance"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0};t(n.alsoResize).each(function(){var e=t(this),s=t(this).data("ui-resizable-alsoresize"),n={},o=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(o,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&i>=0&&(n[e]=i||null)}),e.css(n)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),t.uiBackCompat!==!1&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),s=i.options,n=i.size,o=i.originalSize,a=i.originalPosition,r=i.axis,h="number"==typeof s.grid?[s.grid,s.grid]:s.grid,l=h[0]||1,c=h[1]||1,u=Math.round((n.width-o.width)/l)*l,d=Math.round((n.height-o.height)/c)*c,p=o.width+u,f=o.height+d,m=s.maxWidth&&p>s.maxWidth,g=s.maxHeight&&f>s.maxHeight,_=s.minWidth&&s.minWidth>p,v=s.minHeight&&s.minHeight>f;s.grid=h,_&&(p+=l),v&&(f+=c),m&&(p-=l),g&&(f-=c),/^(se|s|e)$/.test(r)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.top=a.top-d):/^(sw)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.left=a.left-u):((0>=f-c||0>=p-l)&&(e=i._getPaddingPlusBorderDimensions(this)),f-c>0?(i.size.height=f,i.position.top=a.top-d):(f=c-e.height,i.size.height=f,i.position.top=a.top+o.height-f),p-l>0?(i.size.width=p,i.position.left=a.left-u):(p=l-e.width,i.size.width=p,i.position.left=a.left+o.width-p))}}),t.ui.resizable});/** + * Copyright (c) 2007 Ariel Flesler - aflesler ○ gmail • com | https://github.com/flesler + * Licensed under MIT + * @author Ariel Flesler + * @version 2.1.2 + */ +;(function(f){"use strict";"function"===typeof define&&define.amd?define(["jquery"],f):"undefined"!==typeof module&&module.exports?module.exports=f(require("jquery")):f(jQuery)})(function($){"use strict";function n(a){return!a.nodeName||-1!==$.inArray(a.nodeName.toLowerCase(),["iframe","#document","html","body"])}function h(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}var p=$.scrollTo=function(a,d,b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=function(a,d,b){"object"=== typeof d&&(b=d,d=0);"function"===typeof b&&(b={onAfter:b});"max"===a&&(a=9E9);b=$.extend({},p.defaults,b);d=d||b.duration;var u=b.queue&&1=f[g]?0:Math.min(f[g],n));!a&&1-1){targetElements.on(evt+EVENT_NAMESPACE,function elementToggle(event){$.powerTip.toggle(this,event)})}else{targetElements.on(evt+EVENT_NAMESPACE,function elementOpen(event){$.powerTip.show(this,event)})}});$.each(options.closeEvents,function(idx,evt){if($.inArray(evt,options.openEvents)<0){targetElements.on(evt+EVENT_NAMESPACE,function elementClose(event){$.powerTip.hide(this,!isMouseEvent(event))})}});targetElements.on("keydown"+EVENT_NAMESPACE,function elementKeyDown(event){if(event.keyCode===27){$.powerTip.hide(this,true)}})}return targetElements};$.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:false,popupId:"powerTip",popupClass:null,intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:false,offset:10,mouseOnToPopup:false,manual:false,openEvents:["mouseenter","focus"],closeEvents:["mouseleave","blur"]};$.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se","n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]};$.powerTip={show:function apiShowTip(element,event){if(isMouseEvent(event)){trackMouse(event);session.previousX=event.pageX;session.previousY=event.pageY;$(element).data(DATA_DISPLAYCONTROLLER).show()}else{$(element).first().data(DATA_DISPLAYCONTROLLER).show(true,true)}return element},reposition:function apiResetPosition(element){$(element).first().data(DATA_DISPLAYCONTROLLER).resetPosition();return element},hide:function apiCloseTip(element,immediate){var displayController;immediate=element?immediate:true;if(element){displayController=$(element).first().data(DATA_DISPLAYCONTROLLER)}else if(session.activeHover){displayController=session.activeHover.data(DATA_DISPLAYCONTROLLER)}if(displayController){displayController.hide(immediate)}return element},toggle:function apiToggle(element,event){if(session.activeHover&&session.activeHover.is(element)){$.powerTip.hide(element,!isMouseEvent(event))}else{$.powerTip.show(element,event)}return element}};$.powerTip.showTip=$.powerTip.show;$.powerTip.closeTip=$.powerTip.hide;function CSSCoordinates(){var me=this;me.top="auto";me.left="auto";me.right="auto";me.bottom="auto";me.set=function(property,value){if($.isNumeric(value)){me[property]=Math.round(value)}}}function DisplayController(element,options,tipController){var hoverTimer=null,myCloseDelay=null;function openTooltip(immediate,forceOpen){cancelTimer();if(!element.data(DATA_HASACTIVEHOVER)){if(!immediate){session.tipOpenImminent=true;hoverTimer=setTimeout(function intentDelay(){hoverTimer=null;checkForIntent()},options.intentPollInterval)}else{if(forceOpen){element.data(DATA_FORCEDOPEN,true)}closeAnyDelayed();tipController.showTip(element)}}else{cancelClose()}}function closeTooltip(disableDelay){if(myCloseDelay){myCloseDelay=session.closeDelayTimeout=clearTimeout(myCloseDelay);session.delayInProgress=false}cancelTimer();session.tipOpenImminent=false;if(element.data(DATA_HASACTIVEHOVER)){element.data(DATA_FORCEDOPEN,false);if(!disableDelay){session.delayInProgress=true;session.closeDelayTimeout=setTimeout(function closeDelay(){session.closeDelayTimeout=null;tipController.hideTip(element);session.delayInProgress=false;myCloseDelay=null},options.closeDelay);myCloseDelay=session.closeDelayTimeout}else{tipController.hideTip(element)}}}function checkForIntent(){var xDifference=Math.abs(session.previousX-session.currentX),yDifference=Math.abs(session.previousY-session.currentY),totalDifference=xDifference+yDifference;if(totalDifference",{id:options.popupId});if($body.length===0){$body=$("body")}$body.append(tipElement);session.tooltips=session.tooltips?session.tooltips.add(tipElement):tipElement}if(options.followMouse){if(!tipElement.data(DATA_HASMOUSEMOVE)){$document.on("mousemove"+EVENT_NAMESPACE,positionTipOnCursor);$window.on("scroll"+EVENT_NAMESPACE,positionTipOnCursor);tipElement.data(DATA_HASMOUSEMOVE,true)}}function beginShowTip(element){element.data(DATA_HASACTIVEHOVER,true);tipElement.queue(function queueTipInit(next){showTip(element);next()})}function showTip(element){var tipContent;if(!element.data(DATA_HASACTIVEHOVER)){return}if(session.isTipOpen){if(!session.isClosing){hideTip(session.activeHover)}tipElement.delay(100).queue(function queueTipAgain(next){showTip(element);next()});return}element.trigger("powerTipPreRender");tipContent=getTooltipContent(element);if(tipContent){tipElement.empty().append(tipContent)}else{return}element.trigger("powerTipRender");session.activeHover=element;session.isTipOpen=true;tipElement.data(DATA_MOUSEONTOTIP,options.mouseOnToPopup);tipElement.addClass(options.popupClass);if(!options.followMouse||element.data(DATA_FORCEDOPEN)){positionTipOnElement(element);session.isFixedTipOpen=true}else{positionTipOnCursor()}if(!element.data(DATA_FORCEDOPEN)&&!options.followMouse){$document.on("click"+EVENT_NAMESPACE,function documentClick(event){var target=event.target;if(target!==element[0]){if(options.mouseOnToPopup){if(target!==tipElement[0]&&!$.contains(tipElement[0],target)){$.powerTip.hide()}}else{$.powerTip.hide()}}})}if(options.mouseOnToPopup&&!options.manual){tipElement.on("mouseenter"+EVENT_NAMESPACE,function tipMouseEnter(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).cancel()}});tipElement.on("mouseleave"+EVENT_NAMESPACE,function tipMouseLeave(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).hide()}})}tipElement.fadeIn(options.fadeInTime,function fadeInCallback(){if(!session.desyncTimeout){session.desyncTimeout=setInterval(closeDesyncedTip,500)}element.trigger("powerTipOpen")})}function hideTip(element){session.isClosing=true;session.isTipOpen=false;session.desyncTimeout=clearInterval(session.desyncTimeout);element.data(DATA_HASACTIVEHOVER,false);element.data(DATA_FORCEDOPEN,false);$document.off("click"+EVENT_NAMESPACE);tipElement.off(EVENT_NAMESPACE);tipElement.fadeOut(options.fadeOutTime,function fadeOutCallback(){var coords=new CSSCoordinates;session.activeHover=null;session.isClosing=false;session.isFixedTipOpen=false;tipElement.removeClass();coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);tipElement.css(coords);element.trigger("powerTipClose")})}function positionTipOnCursor(){var tipWidth,tipHeight,coords,collisions,collisionCount;if(!session.isFixedTipOpen&&(session.isTipOpen||session.tipOpenImminent&&tipElement.data(DATA_HASMOUSEMOVE))){tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=new CSSCoordinates;coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);collisions=getViewportCollisions(coords,tipWidth,tipHeight);if(collisions!==Collision.none){collisionCount=countFlags(collisions);if(collisionCount===1){if(collisions===Collision.right){coords.set("left",session.scrollLeft+session.windowWidth-tipWidth)}else if(collisions===Collision.bottom){coords.set("top",session.scrollTop+session.windowHeight-tipHeight)}}else{coords.set("left",session.currentX-tipWidth-options.offset);coords.set("top",session.currentY-tipHeight-options.offset)}}tipElement.css(coords)}}function positionTipOnElement(element){var priorityList,finalPlacement;if(options.smartPlacement||options.followMouse&&element.data(DATA_FORCEDOPEN)){priorityList=$.fn.powerTip.smartPlacementLists[options.placement];$.each(priorityList,function(idx,pos){var collisions=getViewportCollisions(placeTooltip(element,pos),tipElement.outerWidth(),tipElement.outerHeight());finalPlacement=pos;return collisions!==Collision.none})}else{placeTooltip(element,options.placement);finalPlacement=options.placement}tipElement.removeClass("w nw sw e ne se n s w se-alt sw-alt ne-alt nw-alt");tipElement.addClass(finalPlacement)}function placeTooltip(element,placement){var iterationCount=0,tipWidth,tipHeight,coords=new CSSCoordinates;coords.set("top",0);coords.set("left",0);tipElement.css(coords);do{tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=placementCalculator.compute(element,placement,tipWidth,tipHeight,options.offset);tipElement.css(coords)}while(++iterationCount<=5&&(tipWidth!==tipElement.outerWidth()||tipHeight!==tipElement.outerHeight()));return coords}function closeDesyncedTip(){var isDesynced=false,hasDesyncableCloseEvent=$.grep(["mouseleave","mouseout","blur","focusout"],function(eventType){return $.inArray(eventType,options.closeEvents)!==-1}).length>0;if(session.isTipOpen&&!session.isClosing&&!session.delayInProgress&&hasDesyncableCloseEvent){if(session.activeHover.data(DATA_HASACTIVEHOVER)===false||session.activeHover.is(":disabled")){isDesynced=true}else if(!isMouseOver(session.activeHover)&&!session.activeHover.is(":focus")&&!session.activeHover.data(DATA_FORCEDOPEN)){if(tipElement.data(DATA_MOUSEONTOTIP)){if(!isMouseOver(tipElement)){isDesynced=true}}else{isDesynced=true}}if(isDesynced){hideTip(session.activeHover)}}}this.showTip=beginShowTip;this.hideTip=hideTip;this.resetPosition=positionTipOnElement}function isSvgElement(element){return Boolean(window.SVGElement&&element[0]instanceof SVGElement)}function isMouseEvent(event){return Boolean(event&&$.inArray(event.type,MOUSE_EVENTS)>-1&&typeof event.pageX==="number")}function initTracking(){if(!session.mouseTrackingActive){session.mouseTrackingActive=true;getViewportDimensions();$(getViewportDimensions);$document.on("mousemove"+EVENT_NAMESPACE,trackMouse);$window.on("resize"+EVENT_NAMESPACE,trackResize);$window.on("scroll"+EVENT_NAMESPACE,trackScroll)}}function getViewportDimensions(){session.scrollLeft=$window.scrollLeft();session.scrollTop=$window.scrollTop();session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackResize(){session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackScroll(){var x=$window.scrollLeft(),y=$window.scrollTop();if(x!==session.scrollLeft){session.currentX+=x-session.scrollLeft;session.scrollLeft=x}if(y!==session.scrollTop){session.currentY+=y-session.scrollTop;session.scrollTop=y}}function trackMouse(event){session.currentX=event.pageX;session.currentY=event.pageY}function isMouseOver(element){var elementPosition=element.offset(),elementBox=element[0].getBoundingClientRect(),elementWidth=elementBox.right-elementBox.left,elementHeight=elementBox.bottom-elementBox.top;return session.currentX>=elementPosition.left&&session.currentX<=elementPosition.left+elementWidth&&session.currentY>=elementPosition.top&&session.currentY<=elementPosition.top+elementHeight}function getTooltipContent(element){var tipText=element.data(DATA_POWERTIP),tipObject=element.data(DATA_POWERTIPJQ),tipTarget=element.data(DATA_POWERTIPTARGET),targetElement,content;if(tipText){if($.isFunction(tipText)){tipText=tipText.call(element[0])}content=tipText}else if(tipObject){if($.isFunction(tipObject)){tipObject=tipObject.call(element[0])}if(tipObject.length>0){content=tipObject.clone(true,true)}}else if(tipTarget){targetElement=$("#"+tipTarget);if(targetElement.length>0){content=targetElement.html()}}return content}function getViewportCollisions(coords,elementWidth,elementHeight){var viewportTop=session.scrollTop,viewportLeft=session.scrollLeft,viewportBottom=viewportTop+session.windowHeight,viewportRight=viewportLeft+session.windowWidth,collisions=Collision.none;if(coords.topviewportBottom||Math.abs(coords.bottom-session.windowHeight)>viewportBottom){collisions|=Collision.bottom}if(coords.leftviewportRight){collisions|=Collision.left}if(coords.left+elementWidth>viewportRight||coords.right1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery);/*! SmartMenus jQuery Plugin - v1.1.0 - September 17, 2017 + * http://www.smartmenus.org/ + * Copyright Vasil Dinkov, Vadikom Web Ltd. http://vadikom.com; Licensed MIT */(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(jQuery)})(function($){function initMouseDetection(t){var e=".smartmenus_mouse";if(mouseDetectionEnabled||t)mouseDetectionEnabled&&t&&($(document).off(e),mouseDetectionEnabled=!1);else{var i=!0,s=null,o={mousemove:function(t){var e={x:t.pageX,y:t.pageY,timeStamp:(new Date).getTime()};if(s){var o=Math.abs(s.x-e.x),a=Math.abs(s.y-e.y);if((o>0||a>0)&&2>=o&&2>=a&&300>=e.timeStamp-s.timeStamp&&(mouse=!0,i)){var n=$(t.target).closest("a");n.is("a")&&$.each(menuTrees,function(){return $.contains(this.$root[0],n[0])?(this.itemEnter({currentTarget:n[0]}),!1):void 0}),i=!1}}s=e}};o[touchEvents?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(t){isTouchEvent(t.originalEvent)&&(mouse=!1)},$(document).on(getEventsNS(o,e)),mouseDetectionEnabled=!0}}function isTouchEvent(t){return!/^(4|mouse)$/.test(t.pointerType)}function getEventsNS(t,e){e||(e="");var i={};for(var s in t)i[s.split(" ").join(e+" ")+e]=t[s];return i}var menuTrees=[],mouse=!1,touchEvents="ontouchstart"in window,mouseDetectionEnabled=!1,requestAnimationFrame=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},cancelAnimationFrame=window.cancelAnimationFrame||function(t){clearTimeout(t)},canAnimate=!!$.fn.animate;return $.SmartMenus=function(t,e){this.$root=$(t),this.opts=e,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in t.style||"webkitPerspective"in t.style,this.wasCollapsible=!1,this.init()},$.extend($.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){for(;menuTrees.length;)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(t){var e=this;if(!t){menuTrees.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var i=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(getEventsNS({"mouseover focusin":$.proxy(this.rootOver,this),"mouseout focusout":$.proxy(this.rootOut,this),keydown:$.proxy(this.rootKeyDown,this)},i)).on(getEventsNS({mouseenter:$.proxy(this.itemEnter,this),mouseleave:$.proxy(this.itemLeave,this),mousedown:$.proxy(this.itemDown,this),focus:$.proxy(this.itemFocus,this),blur:$.proxy(this.itemBlur,this),click:$.proxy(this.itemClick,this)},i),"a"),i+=this.rootId,this.opts.hideOnClick&&$(document).on(getEventsNS({touchstart:$.proxy(this.docTouchStart,this),touchmove:$.proxy(this.docTouchMove,this),touchend:$.proxy(this.docTouchEnd,this),click:$.proxy(this.docClick,this)},i)),$(window).on(getEventsNS({"resize orientationchange":$.proxy(this.winResize,this)},i)),this.opts.subIndicators&&(this.$subArrow=$("").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}if(this.$firstSub=this.$root.find("ul").each(function(){e.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var s=/(index|default)\.[^#\?\/]*/i,o=/#.*/,a=window.location.href.replace(s,""),n=a.replace(o,"");this.$root.find("a").each(function(){var t=this.href.replace(s,""),i=$(this);(t==a||t==n)&&(i.addClass("current"),e.opts.markCurrentTree&&i.parentsUntil("[data-smartmenus-id]","ul").each(function(){$(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(t){if(!t){var e=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(e),e+=this.rootId,$(document).off(e),$(window).off(e),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var i=this;this.$root.find("ul").each(function(){var t=$(this);t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.dataSM("shown-before")&&((i.opts.subMenusMinWidth||i.opts.subMenusMaxWidth)&&t.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(t.attr("id")||"").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var t=$(this);0==t.attr("id").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),t||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1))},disable:function(t){if(!this.disabled){if(this.menuHideAll(),!t&&!this.opts.isPopup&&this.$root.is(":visible")){var e=this.$root.offset();this.$disableOverlay=$('
    ').css({position:"absolute",top:e.top,left:e.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(t){return this.$touchScrollingSub?(this.$touchScrollingSub=null,void 0):((this.visibleSubMenus.length&&!$.contains(this.$root[0],t.target)||$(t.target).closest("a").length)&&this.menuHideAll(),void 0)},docTouchEnd:function(){if(this.lastTouch){if(!(!this.visibleSubMenus.length||void 0!==this.lastTouch.x2&&this.lastTouch.x1!=this.lastTouch.x2||void 0!==this.lastTouch.y2&&this.lastTouch.y1!=this.lastTouch.y2||this.lastTouch.target&&$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var t=this;this.hideTimeout=setTimeout(function(){t.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(t){if(this.lastTouch){var e=t.originalEvent.touches[0];this.lastTouch.x2=e.pageX,this.lastTouch.y2=e.pageY}},docTouchStart:function(t){var e=t.originalEvent.touches[0];this.lastTouch={x1:e.pageX,y1:e.pageY,target:e.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(t){for(var e=$(t).closest("ul");e.dataSM("in-mega");)e=e.parent().closest("ul");return e[0]||null},getHeight:function(t){return this.getOffset(t,!0)},getOffset:function(t,e){var i;"none"==t.css("display")&&(i={position:t[0].style.position,visibility:t[0].style.visibility},t.css({position:"absolute",visibility:"hidden"}).show());var s=t[0].getBoundingClientRect&&t[0].getBoundingClientRect(),o=s&&(e?s.height||s.bottom-s.top:s.width||s.right-s.left);return o||0===o||(o=e?t[0].offsetHeight:t[0].offsetWidth),i&&t.hide().css(i),o},getStartZIndex:function(t){var e=parseInt(this[t?"$root":"$firstSub"].css("z-index"));return!t&&isNaN(e)&&(e=parseInt(this.$root.css("z-index"))),isNaN(e)?1:e},getTouchPoint:function(t){return t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t},getViewport:function(t){var e=t?"Height":"Width",i=document.documentElement["client"+e],s=window["inner"+e];return s&&(i=Math.min(i,s)),i},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(t){return this.getOffset(t)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(t){return this.handleEvents()&&!this.isLinkInMegaMenu(t)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var t="fixed"==this.$root.css("position");return t||this.$root.parentsUntil("body").each(function(){return"fixed"==$(this).css("position")?(t=!0,!1):void 0}),t},isLinkInMegaMenu:function(t){return $(this.getClosestMenu(t[0])).hasClass("mega-menu")},isTouchMode:function(){return!mouse||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(t,e){var i=t.closest("ul"),s=i.dataSM("level");if(s>1&&(!this.activatedItems[s-2]||this.activatedItems[s-2][0]!=i.dataSM("parent-a")[0])){var o=this;$(i.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(i).each(function(){o.itemActivate($(this).dataSM("parent-a"))})}if((!this.isCollapsible()||e)&&this.menuHideSubMenus(this.activatedItems[s-1]&&this.activatedItems[s-1][0]==t[0]?s:s-1),this.activatedItems[s-1]=t,this.$root.triggerHandler("activate.smapi",t[0])!==!1){var a=t.dataSM("sub");a&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(a)}},itemBlur:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&this.$root.triggerHandler("blur.smapi",e[0])},itemClick:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==e.closest("ul")[0])return this.$touchScrollingSub=null,t.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",e[0])===!1)return!1;var i=$(t.target).is(".sub-arrow"),s=e.dataSM("sub"),o=s?2==s.dataSM("level"):!1,a=this.isCollapsible(),n=/toggle$/.test(this.opts.collapsibleBehavior),r=/link$/.test(this.opts.collapsibleBehavior),h=/^accordion/.test(this.opts.collapsibleBehavior);if(s&&!s.is(":visible")){if((!r||!a||i)&&(this.opts.showOnClick&&o&&(this.clickActivated=!0),this.itemActivate(e,h),s.is(":visible")))return this.focusActivated=!0,!1}else if(a&&(n||i))return this.itemActivate(e,h),this.menuHide(s),n&&(this.focusActivated=!1),!1;return this.opts.showOnClick&&o||e.hasClass("disabled")||this.$root.triggerHandler("select.smapi",e[0])===!1?!1:void 0}},itemDown:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&e.dataSM("mousedown",!0)},itemEnter:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var i=this;this.showTimeout=setTimeout(function(){i.itemActivate(e)},this.opts.showOnClick&&1==e.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",e[0])}},itemFocus:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(!this.focusActivated||this.isTouchMode()&&e.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==e[0]||this.itemActivate(e,!0),this.$root.triggerHandler("focus.smapi",e[0]))},itemLeave:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(this.isTouchMode()||(e[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),e.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",e[0]))},menuHide:function(t){if(this.$root.triggerHandler("beforehide.smapi",t[0])!==!1&&(canAnimate&&t.stop(!0,!0),"none"!=t.css("display"))){var e=function(){t.css("z-index","")};this.isCollapsible()?canAnimate&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,t,e):t.hide(this.opts.collapsibleHideDuration,e):canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,t,e):t.hide(this.opts.hideDuration,e),t.dataSM("scroll")&&(this.menuScrollStop(t),t.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),t.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),t.attr({"aria-expanded":"false","aria-hidden":"true"});var i=t.dataSM("level");this.activatedItems.splice(i-1,1),this.visibleSubMenus.splice($.inArray(t,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",t[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var t=this.opts.isPopup?1:0,e=this.visibleSubMenus.length-1;e>=t;e--)this.menuHide(this.visibleSubMenus[e]);this.opts.isPopup&&(canAnimate&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(t){for(var e=this.activatedItems.length-1;e>=t;e--){var i=this.activatedItems[e].dataSM("sub");i&&this.menuHide(i)}},menuInit:function(t){if(!t.dataSM("in-mega")){t.hasClass("mega-menu")&&t.find("ul").dataSM("in-mega",!0);for(var e=2,i=t[0];(i=i.parentNode.parentNode)!=this.$root[0];)e++;var s=t.prevAll("a").eq(-1);s.length||(s=t.prevAll().find("a").eq(-1)),s.addClass("has-submenu").dataSM("sub",t),t.dataSM("parent-a",s).dataSM("level",e).parent().dataSM("sub",t);var o=s.attr("id")||this.accessIdPrefix+ ++this.idInc,a=t.attr("id")||this.accessIdPrefix+ ++this.idInc;s.attr({id:o,"aria-haspopup":"true","aria-controls":a,"aria-expanded":"false"}),t.attr({id:a,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"}),this.opts.subIndicators&&s[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(t){var e,i,s=t.dataSM("parent-a"),o=s.closest("li"),a=o.parent(),n=t.dataSM("level"),r=this.getWidth(t),h=this.getHeight(t),u=s.offset(),l=u.left,c=u.top,d=this.getWidth(s),m=this.getHeight(s),p=$(window),f=p.scrollLeft(),v=p.scrollTop(),b=this.getViewportWidth(),S=this.getViewportHeight(),g=a.parent().is("[data-sm-horizontal-sub]")||2==n&&!a.hasClass("sm-vertical"),M=this.opts.rightToLeftSubMenus&&!o.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&o.is("[data-sm-reverse]"),w=2==n?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,T=2==n?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(g?(e=M?d-r-w:w,i=this.opts.bottomToTopSubMenus?-h-T:m+T):(e=M?w-r:d-w,i=this.opts.bottomToTopSubMenus?m-T-h:T),this.opts.keepInViewport){var y=l+e,I=c+i;if(M&&f>y?e=g?f-y+e:d-w:!M&&y+r>f+b&&(e=g?f+b-r-y+e:w-r),g||(S>h&&I+h>v+S?i+=v+S-h-I:(h>=S||v>I)&&(i+=v-I)),g&&(I+h>v+S+.49||v>I)||!g&&h>S+.49){var x=this;t.dataSM("scroll-arrows")||t.dataSM("scroll-arrows",$([$('')[0],$('')[0]]).on({mouseenter:function(){t.dataSM("scroll").up=$(this).hasClass("scroll-up"),x.menuScroll(t)},mouseleave:function(e){x.menuScrollStop(t),x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(t){t.preventDefault()}}).insertAfter(t));var A=".smartmenus_scroll";if(t.dataSM("scroll",{y:this.cssTransforms3d?0:i-m,step:1,itemH:m,subH:h,arrowDownH:this.getHeight(t.dataSM("scroll-arrows").eq(1))}).on(getEventsNS({mouseover:function(e){x.menuScrollOver(t,e)},mouseout:function(e){x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(e){x.menuScrollMousewheel(t,e)}},A)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:e+(parseInt(t.css("border-left-width"))||0),width:r-(parseInt(t.css("border-left-width"))||0)-(parseInt(t.css("border-right-width"))||0),zIndex:t.css("z-index")}).eq(g&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var C={};C[touchEvents?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(e){x.menuScrollTouch(t,e)},t.css({"touch-action":"none","-ms-touch-action":"none"}).on(getEventsNS(C,A))}}}t.css({top:"auto",left:"0",marginLeft:e,marginTop:i-m})},menuScroll:function(t,e,i){var s,o=t.dataSM("scroll"),a=t.dataSM("scroll-arrows"),n=o.up?o.upEnd:o.downEnd;if(!e&&o.momentum){if(o.momentum*=.92,s=o.momentum,.5>s)return this.menuScrollStop(t),void 0}else s=i||(e||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(o.step));var r=t.dataSM("level");if(this.activatedItems[r-1]&&this.activatedItems[r-1].dataSM("sub")&&this.activatedItems[r-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(r-1),o.y=o.up&&o.y>=n||!o.up&&n>=o.y?o.y:Math.abs(n-o.y)>s?o.y+(o.up?s:-s):n,t.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+o.y+"px, 0)",transform:"translate3d(0, "+o.y+"px, 0)"}:{marginTop:o.y}),mouse&&(o.up&&o.y>o.downEnd||!o.up&&o.y0;t.dataSM("scroll-arrows").eq(i?0:1).is(":visible")&&(t.dataSM("scroll").up=i,this.menuScroll(t,!0))}e.preventDefault()},menuScrollOut:function(t,e){mouse&&(/^scroll-(up|down)/.test((e.relatedTarget||"").className)||(t[0]==e.relatedTarget||$.contains(t[0],e.relatedTarget))&&this.getClosestMenu(e.relatedTarget)==t[0]||t.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(t,e){if(mouse&&!/^scroll-(up|down)/.test(e.target.className)&&this.getClosestMenu(e.target)==t[0]){this.menuScrollRefreshData(t);var i=t.dataSM("scroll"),s=$(window).scrollTop()-t.dataSM("parent-a").offset().top-i.itemH;t.dataSM("scroll-arrows").eq(0).css("margin-top",s).end().eq(1).css("margin-top",s+this.getViewportHeight()-i.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(t){var e=t.dataSM("scroll"),i=$(window).scrollTop()-t.dataSM("parent-a").offset().top-e.itemH;this.cssTransforms3d&&(i=-(parseFloat(t.css("margin-top"))-i)),$.extend(e,{upEnd:i,downEnd:i+this.getViewportHeight()-e.subH})},menuScrollStop:function(t){return this.scrollTimeout?(cancelAnimationFrame(this.scrollTimeout),this.scrollTimeout=0,t.dataSM("scroll").step=1,!0):void 0},menuScrollTouch:function(t,e){if(e=e.originalEvent,isTouchEvent(e)){var i=this.getTouchPoint(e);if(this.getClosestMenu(i.target)==t[0]){var s=t.dataSM("scroll");if(/(start|down)$/i.test(e.type))this.menuScrollStop(t)?(e.preventDefault(),this.$touchScrollingSub=t):this.$touchScrollingSub=null,this.menuScrollRefreshData(t),$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp});else if(/move$/i.test(e.type)){var o=void 0!==s.touchY?s.touchY:s.touchStartY;if(void 0!==o&&o!=i.pageY){this.$touchScrollingSub=t;var a=i.pageY>o;void 0!==s.up&&s.up!=a&&$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp}),$.extend(s,{up:a,touchY:i.pageY}),this.menuScroll(t,!0,Math.abs(i.pageY-o))}e.preventDefault()}else void 0!==s.touchY&&((s.momentum=15*Math.pow(Math.abs(i.pageY-s.touchStartY)/(e.timeStamp-s.touchStartTime),2))&&(this.menuScrollStop(t),this.menuScroll(t),e.preventDefault()),delete s.touchY)}}},menuShow:function(t){if((t.dataSM("beforefirstshowfired")||(t.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",t[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",t[0])!==!1&&(t.dataSM("shown-before",!0),canAnimate&&t.stop(!0,!0),!t.is(":visible"))){var e=t.dataSM("parent-a"),i=this.isCollapsible();if((this.opts.keepHighlighted||i)&&e.addClass("highlighted"),i)t.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(t.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(t.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&t.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var s=this.getWidth(t);t.css("max-width",this.opts.subMenusMaxWidth),s>this.getWidth(t)&&t.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(t)}var o=function(){t.css("overflow","")};i?canAnimate&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,t,o):t.show(this.opts.collapsibleShowDuration,o):canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,t,o):t.show(this.opts.showDuration,o),e.attr("aria-expanded","true"),t.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(t),this.$root.triggerHandler("show.smapi",t[0])}},popupHide:function(t){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},t?1:this.opts.hideTimeout)},popupShow:function(t,e){if(!this.opts.isPopup)return alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.'),void 0;if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0),canAnimate&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:t,top:e});var i=this,s=function(){i.$root.css("overflow","")};canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,s):this.$root.show(this.opts.showDuration,s),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(t){if(this.handleEvents())switch(t.keyCode){case 27:var e=this.activatedItems[0];if(e){this.menuHideAll(),e[0].focus();var i=e.dataSM("sub");i&&this.menuHide(i)}break;case 32:var s=$(t.target);if(s.is("a")&&this.handleItemEvents(s)){var i=s.dataSM("sub");i&&!i.is(":visible")&&(this.itemClick({currentTarget:t.target}),t.preventDefault())}}},rootOut:function(t){if(this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(t){this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(t){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==t.type){var e=this.isCollapsible();this.wasCollapsible&&e||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=e}}else if(this.$disableOverlay){var i=this.$root.offset();this.$disableOverlay.css({top:i.top,left:i.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),$.fn.dataSM=function(t,e){return e?this.data(t+"_smartmenus",e):this.data(t+"_smartmenus")},$.fn.removeDataSM=function(t){return this.removeData(t+"_smartmenus")},$.fn.smartmenus=function(options){if("string"==typeof options){var args=arguments,method=options;return Array.prototype.shift.call(args),this.each(function(){var t=$(this).data("smartmenus");t&&t[method]&&t[method].apply(t,args)})}return this.each(function(){var dataOpts=$(this).data("sm-options")||null;if(dataOpts)try{dataOpts=eval("("+dataOpts+")")}catch(e){dataOpts=null,alert('ERROR\n\nSmartMenus jQuery init:\nInvalid "data-sm-options" attribute value syntax.')}new $.SmartMenus(this,$.extend({},$.fn.smartmenus.defaults,options,dataOpts))})},$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(t,e){t.fadeOut(200,e)},collapsibleShowDuration:0,collapsibleShowFunction:function(t,e){t.slideDown(200,e)},collapsibleHideDuration:0,collapsibleHideFunction:function(t,e){t.slideUp(200,e)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,collapsibleBehavior:"default"},$}); \ No newline at end of file diff --git a/docs/3.4/main_8dox.html b/docs/3.4/main_8dox.html new file mode 100644 index 0000000..d305070 --- /dev/null +++ b/docs/3.4/main_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: main.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    main.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.4/menu.js b/docs/3.4/menu.js new file mode 100644 index 0000000..d18a2fe --- /dev/null +++ b/docs/3.4/menu.js @@ -0,0 +1,51 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { + function makeTree(data,relPath) { + var result=''; + if ('children' in data) { + result+=''; + } + return result; + } + + $('#main-nav').append(makeTree(menudata,relPath)); + $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); + if (searchEnabled) { + if (serverSide) { + $('#main-menu').append('
  • '); + } else { + $('#main-menu').append('
  • '); + } + } + $('#main-menu').smartmenus(); +} +/* @license-end */ diff --git a/docs/3.4/menudata.js b/docs/3.4/menudata.js new file mode 100644 index 0000000..082dbe1 --- /dev/null +++ b/docs/3.4/menudata.js @@ -0,0 +1,30 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file +*/ +var menudata={children:[ +{text:"Introduction",url:"index.html"}, +{text:"Tutorial",url:"quick_guide.html"}, +{text:"Guides",url:"pages.html"}, +{text:"Reference",url:"modules.html"}, +{text:"Files",url:"files.html"}]} diff --git a/docs/3.4/modules.html b/docs/3.4/modules.html new file mode 100644 index 0000000..d29ffcd --- /dev/null +++ b/docs/3.4/modules.html @@ -0,0 +1,94 @@ + + + + + + + +GLFW: Reference + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Reference
    +
    +
    +
    Here is a list of all modules:
    +
    [detail level 12]
    + + + + + + + + + + + + + + + + +
     Context referenceFunctions and types related to OpenGL and OpenGL ES contexts
     Initialization, version and error referenceFunctions and types related to initialization and error handling
     Error codesError codes
     Input referenceFunctions and types related to input handling
     Gamepad axesGamepad axes
     Gamepad buttonsGamepad buttons
     Joystick hat statesJoystick hat states
     JoysticksJoystick IDs
     Keyboard keysKeyboard key IDs
     Modifier key flagsModifier key flags
     Mouse buttonsMouse button IDs
     Standard cursor shapesStandard system cursor shapes
     Monitor referenceFunctions and types related to monitors
     Native accessFunctions related to accessing native handles
     Vulkan support referenceFunctions and types related to Vulkan
     Window referenceFunctions and types related to windows
    +
    +
    + + + diff --git a/docs/3.4/monitor.html b/docs/3.4/monitor.html new file mode 120000 index 0000000..116d9ef --- /dev/null +++ b/docs/3.4/monitor.html @@ -0,0 +1 @@ +monitor_guide.html \ No newline at end of file diff --git a/docs/3.4/monitor_8dox.html b/docs/3.4/monitor_8dox.html new file mode 100644 index 0000000..4d51d4d --- /dev/null +++ b/docs/3.4/monitor_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: monitor.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    monitor.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.4/monitor_guide.html b/docs/3.4/monitor_guide.html new file mode 100644 index 0000000..b4b49d1 --- /dev/null +++ b/docs/3.4/monitor_guide.html @@ -0,0 +1,222 @@ + + + + + + + +GLFW: Monitor guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Monitor guide
    +
    +
    + +

    This guide introduces the monitor related functions of GLFW. For details on a specific function in this category, see the Monitor reference. There are also guides for the other areas of GLFW.

    + +

    +Monitor objects

    +

    A monitor object represents a currently connected monitor and is represented as a pointer to the opaque type GLFWmonitor. 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 terminated.

    +

    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.

    +

    The virtual position of a monitor is in screen coordinates and, together with the current video mode, describes the viewports that the connected monitors provide into the virtual desktop that spans them.

    +

    To see how GLFW views your monitor setup and its available video modes, run the monitors test program.

    +

    +Retrieving monitors

    +

    The primary monitor is returned by glfwGetPrimaryMonitor. It is the user's preferred monitor and is usually the one with global UI elements like task bar or menu bar.

    +

    You can retrieve all currently connected monitors with glfwGetMonitors. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    +
    GLFWmonitor** monitors = glfwGetMonitors(&count);
    +

    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.

    +

    +Monitor configuration changes

    +

    If you wish to be notified when a monitor is connected or disconnected, set a monitor callback.

    +
    glfwSetMonitorCallback(monitor_callback);
    +

    The callback function receives the handle for the monitor that has been connected or disconnected and the event that occurred.

    +
    void monitor_callback(GLFWmonitor* monitor, int event)
    +
    {
    +
    if (event == GLFW_CONNECTED)
    +
    {
    +
    // The monitor was connected
    +
    }
    +
    else if (event == GLFW_DISCONNECTED)
    +
    {
    +
    // The monitor was disconnected
    +
    }
    +
    }
    +

    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 glfwGetMonitorName and glfwGetMonitorUserPointer will return useful values for a disconnected monitor and only before the monitor callback returns.

    +

    +Monitor properties

    +

    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.

    +

    +Video modes

    +

    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.

    +

    Video modes are represented as GLFWvidmode structures. You can get an array of the video modes supported by a monitor with glfwGetVideoModes. See the reference documentation for the lifetime of the returned array.

    +
    int count;
    +
    GLFWvidmode* modes = glfwGetVideoModes(monitor, &count);
    +

    To get the current video mode of a monitor call glfwGetVideoMode. See the reference documentation for the lifetime of the returned pointer.

    +
    const GLFWvidmode* mode = glfwGetVideoMode(monitor);
    +

    The resolution of a video mode is specified in screen coordinates, not pixels.

    +

    +Physical size

    +

    The physical size of a monitor in millimetres, or an estimation of it, can be retrieved with glfwGetMonitorPhysicalSize. This has no relation to its current resolution, i.e. the width and height of its current video mode.

    +
    int width_mm, height_mm;
    +
    glfwGetMonitorPhysicalSize(monitor, &width_mm, &height_mm);
    +

    While this can be used to calculate the raw DPI of a monitor, this is often not useful. Instead use the monitor content scale and window content scale to scale your content.

    +

    +Content scale

    +

    The content scale for a monitor can be retrieved with glfwGetMonitorContentScale.

    +
    float xscale, yscale;
    +
    glfwGetMonitorContentScale(monitor, &xscale, &yscale);
    +

    The content scale is the ratio between the current DPI and the platform's default DPI. This is especially important for text and any UI elements. If the pixel dimensions of your UI scaled by this look appropriate on your machine then it should appear at a reasonable size on other machines regardless of their DPI and scaling settings. This relies on the system DPI and scaling settings being somewhat correct.

    +

    The content scale may depend on both the monitor resolution and pixel density and on user settings. It may be very different from the raw DPI calculated from the physical size and current resolution.

    +

    +Virtual position

    +

    The position of the monitor on the virtual desktop, in screen coordinates, can be retrieved with glfwGetMonitorPos.

    +
    int xpos, ypos;
    +
    glfwGetMonitorPos(monitor, &xpos, &ypos);
    +

    +Work area

    +

    The area of a monitor not occupied by global task bars or menu bars is the work area. This is specified in screen coordinates and can be retrieved with glfwGetMonitorWorkarea.

    +
    int xpos, ypos, width, height;
    +
    glfwGetMonitorWorkarea(monitor, &xpos, &ypos, &width, &height);
    +

    +Human-readable name

    +

    The human-readable, UTF-8 encoded name of a monitor is returned by glfwGetMonitorName. See the reference documentation for the lifetime of the returned string.

    +
    const char* name = glfwGetMonitorName(monitor);
    +

    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.

    +

    +User pointer

    +

    Each monitor has a user pointer that can be set with glfwSetMonitorUserPointer and queried with glfwGetMonitorUserPointer. 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.

    +

    The initial value of the pointer is NULL.

    +

    +Gamma ramp

    +

    The gamma ramp of a monitor can be set with glfwSetGammaRamp, which accepts a monitor handle and a pointer to a GLFWgammaramp structure.

    +
    +
    unsigned short red[256], green[256], blue[256];
    +
    +
    ramp.size = 256;
    +
    ramp.red = red;
    +
    ramp.green = green;
    +
    ramp.blue = blue;
    +
    +
    for (i = 0; i < ramp.size; i++)
    +
    {
    +
    // Fill out gamma ramp arrays as desired
    +
    }
    +
    +
    glfwSetGammaRamp(monitor, &ramp);
    +

    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.

    +

    It is recommended that your gamma ramp have the same size as the current gamma ramp for that monitor.

    +

    The current gamma ramp for a monitor is returned by glfwGetGammaRamp. See the reference documentation for the lifetime of the returned structure.

    +
    const GLFWgammaramp* ramp = glfwGetGammaRamp(monitor);
    +

    If you wish to set a regular gamma ramp, you can have GLFW calculate it for you from the desired exponent with glfwSetGamma, which in turn calls glfwSetGammaRamp with the resulting ramp.

    +
    glfwSetGamma(monitor, 1.0);
    +

    To experiment with gamma correction via the glfwSetGamma function, run the gamma test program.

    +
    Note
    The software controlled gamma ramp is applied in addition to the hardware gamma correction, which today is usually 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.
    +
    +
    +
    void glfwGetMonitorContentScale(GLFWmonitor *monitor, float *xscale, float *yscale)
    Retrieves the content scale for the specified monitor.
    +
    GLFWmonitorfun glfwSetMonitorCallback(GLFWmonitorfun callback)
    Sets the monitor configuration callback.
    +
    Gamma ramp.
    Definition: glfw3.h:1819
    +
    void glfwGetMonitorWorkarea(GLFWmonitor *monitor, int *xpos, int *ypos, int *width, int *height)
    Retrieves the work area of the monitor.
    +
    void glfwSetGammaRamp(GLFWmonitor *monitor, const GLFWgammaramp *ramp)
    Sets the current gamma ramp for the specified monitor.
    +
    const char * glfwGetMonitorName(GLFWmonitor *monitor)
    Returns the name of the specified monitor.
    +
    GLFWmonitor * glfwGetPrimaryMonitor(void)
    Returns the primary monitor.
    +
    GLFWmonitor ** glfwGetMonitors(int *count)
    Returns the currently connected monitors.
    +
    const GLFWvidmode * glfwGetVideoModes(GLFWmonitor *monitor, int *count)
    Returns the available video modes for the specified monitor.
    +
    unsigned short * green
    Definition: glfw3.h:1825
    +
    #define GLFW_DISCONNECTED
    Definition: glfw3.h:1229
    +
    void glfwGetMonitorPos(GLFWmonitor *monitor, int *xpos, int *ypos)
    Returns the position of the monitor's viewport on the virtual screen.
    +
    unsigned int size
    Definition: glfw3.h:1831
    +
    unsigned short * red
    Definition: glfw3.h:1822
    +
    void glfwGetMonitorPhysicalSize(GLFWmonitor *monitor, int *widthMM, int *heightMM)
    Returns the physical size of the monitor.
    +
    const GLFWgammaramp * glfwGetGammaRamp(GLFWmonitor *monitor)
    Returns the current gamma ramp for the specified monitor.
    +
    #define GLFW_CONNECTED
    Definition: glfw3.h:1228
    +
    unsigned short * blue
    Definition: glfw3.h:1828
    +
    Video mode type.
    Definition: glfw3.h:1785
    +
    void glfwSetGamma(GLFWmonitor *monitor, float gamma)
    Generates a gamma ramp and sets it for the specified monitor.
    +
    const GLFWvidmode * glfwGetVideoMode(GLFWmonitor *monitor)
    Returns the current mode of the specified monitor.
    +
    struct GLFWmonitor GLFWmonitor
    Opaque monitor object.
    Definition: glfw3.h:1300
    + + + diff --git a/docs/3.4/moving.html b/docs/3.4/moving.html new file mode 120000 index 0000000..9c74da0 --- /dev/null +++ b/docs/3.4/moving.html @@ -0,0 +1 @@ +moving_guide.html \ No newline at end of file diff --git a/docs/3.4/moving_8dox.html b/docs/3.4/moving_8dox.html new file mode 100644 index 0000000..e98f210 --- /dev/null +++ b/docs/3.4/moving_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: moving.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    moving.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.4/moving_guide.html b/docs/3.4/moving_guide.html new file mode 100644 index 0000000..edd24f6 --- /dev/null +++ b/docs/3.4/moving_guide.html @@ -0,0 +1,367 @@ + + + + + + + +GLFW: Moving from GLFW 2 to 3 + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Moving from GLFW 2 to 3
    +
    +
    + +

    This is a transition guide for moving from GLFW 2 to 3. It describes what has changed or been removed, but does not include new features unless they are required when moving an existing code base onto the new API. For example, the new multi-monitor functions are required to create full screen windows with GLFW 3.

    +

    +Changed and removed features

    +

    +Renamed library and header file

    +

    The GLFW 3 header is named glfw3.h and moved to the GLFW directory, to avoid collisions with the headers of other major versions. Similarly, the GLFW 3 library is named glfw3, except when it's installed as a shared library on Unix-like systems, where it uses the soname libglfw.so.3.

    +
    Old syntax
    #include <GL/glfw.h>
    +
    +
    New syntax
    #include <GLFW/glfw3.h>
    +
    +

    +Removal of threading functions

    +

    The threading functions have been removed, including the per-thread sleep function. They were fairly primitive, under-used, poorly integrated and took time away from the focus of GLFW (i.e. context, input and window). There are better threading libraries available and native threading support is available in both C++11 and C11, both of which are gaining traction.

    +

    If you wish to use the C++11 or C11 facilities but your compiler doesn't yet support them, see the TinyThread++ and TinyCThread projects created by the original author of GLFW. These libraries implement a usable subset of the threading APIs in C++11 and C11, and in fact some GLFW 3 test programs use TinyCThread.

    +

    However, GLFW 3 has better support for use from multiple threads than GLFW 2 had. Contexts can be made current on any thread, although only a single thread at a time, and the documentation explicitly states which functions may be used from any thread and which must only be used from the main thread.

    +
    Removed functions
    glfwSleep, glfwCreateThread, glfwDestroyThread, glfwWaitThread, glfwGetThreadID, glfwCreateMutex, glfwDestroyMutex, glfwLockMutex, glfwUnlockMutex, glfwCreateCond, glfwDestroyCond, glfwWaitCond, glfwSignalCond, glfwBroadcastCond and glfwGetNumberOfProcessors.
    +
    Removed types
    GLFWthreadfun
    +

    +Removal of image and texture loading

    +

    The image and texture loading functions have been removed. They only supported the Targa image format, making them mostly useful for beginner level examples. To become of sufficiently high quality to warrant keeping them in GLFW 3, they would need not only to support other formats, but also modern extensions to OpenGL texturing. This would either add a number of external dependencies (libjpeg, libpng, etc.), or force GLFW to ship with inline versions of these libraries.

    +

    As there already are libraries doing this, it is unnecessary both to duplicate the work and to tie the duplicate to GLFW. The resulting library would also be platform-independent, as both OpenGL and stdio are available wherever GLFW is.

    +
    Removed functions
    glfwReadImage, glfwReadMemoryImage, glfwFreeImage, glfwLoadTexture2D, glfwLoadMemoryTexture2D and glfwLoadTextureImage2D.
    +

    +Removal of GLFWCALL macro

    +

    The GLFWCALL macro, which made callback functions use __stdcall on Windows, has been removed. GLFW is written in C, not Pascal. Removing this macro means there's one less thing for application programmers to remember, i.e. the requirement to mark all callback functions with GLFWCALL. It also simplifies the creation of DLLs and DLL link libraries, as there's no need to explicitly disable @n entry point suffixes.

    +
    Old syntax
    void GLFWCALL callback_function(...);
    +
    +
    New syntax
    void callback_function(...);
    +
    +

    +Window handle parameters

    +

    Because GLFW 3 supports multiple windows, window handle parameters have been added to all window-related GLFW functions and callbacks. The handle of a newly created window is returned by glfwCreateWindow (formerly glfwOpenWindow). Window handles are pointers to the opaque type GLFWwindow.

    +
    Old syntax
    glfwSetWindowTitle("New Window Title");
    +
    +
    New syntax
    glfwSetWindowTitle(window, "New Window Title");
    +
    +

    +Explicit monitor selection

    +

    GLFW 3 provides support for multiple monitors. To request a full screen mode window, instead of passing GLFW_FULLSCREEN you specify which monitor you wish the window to use. The glfwGetPrimaryMonitor function returns the monitor that GLFW 2 would have selected, but there are many other monitor functions. Monitor handles are pointers to the opaque type GLFWmonitor.

    +
    Old basic full screen
    glfwOpenWindow(640, 480, 8, 8, 8, 0, 24, 0, GLFW_FULLSCREEN);
    +
    +
    New basic full screen
    window = glfwCreateWindow(640, 480, "My Window", glfwGetPrimaryMonitor(), NULL);
    +
    +
    Note
    The framebuffer bit depth parameters of glfwOpenWindow have been turned into window hints, but as they have been given sane defaults you rarely need to set these hints.
    +

    +Removal of automatic event polling

    +

    GLFW 3 does not automatically poll for events in glfwSwapBuffers, meaning you need to call glfwPollEvents or glfwWaitEvents yourself. Unlike buffer swap, which acts on a single window, the event processing functions act on all windows at once.

    +
    Old basic main loop
    while (...)
    +
    {
    +
    // Process input
    +
    // Render output
    + +
    }
    +
    +
    New basic main loop
    while (...)
    +
    {
    +
    // Process input
    +
    // Render output
    +
    glfwSwapBuffers(window);
    + +
    }
    +
    +

    +Explicit context management

    +

    Each GLFW 3 window has its own OpenGL context and only you, the application programmer, can know which context should be current on which thread at any given time. Therefore, GLFW 3 leaves that decision to you.

    +

    This means that you need to call glfwMakeContextCurrent after creating a window before you can call any OpenGL functions.

    +

    +Separation of window and framebuffer sizes

    +

    Window positions and sizes now use screen coordinates, which may not be the same as pixels on machines with high-DPI monitors. This is important as OpenGL uses pixels, not screen coordinates. For example, the rectangle specified with glViewport needs to use pixels. Therefore, framebuffer size functions have been added. You can retrieve the size of the framebuffer of a window with glfwGetFramebufferSize function. A framebuffer size callback has also been added, which can be set with glfwSetFramebufferSizeCallback.

    +
    Old basic viewport setup
    glfwGetWindowSize(&width, &height);
    +
    glViewport(0, 0, width, height);
    +
    +
    New basic viewport setup
    glfwGetFramebufferSize(window, &width, &height);
    +
    glViewport(0, 0, width, height);
    +
    +

    +Window closing changes

    +

    The GLFW_OPENED window parameter has been removed. As long as the window has not been destroyed, whether through glfwDestroyWindow or glfwTerminate, the window is "open".

    +

    A user attempting to close a window is now just an event like any other. Unlike GLFW 2, windows and contexts created with GLFW 3 will never be destroyed unless you choose them to be. Each window now has a close flag that is set to GLFW_TRUE when the user attempts to close that window. By default, nothing else happens and the window stays visible. It is then up to you to either destroy the window, take some other action or ignore the request.

    +

    You can query the close flag at any time with glfwWindowShouldClose and set it at any time with glfwSetWindowShouldClose.

    +
    Old basic main loop
    while (glfwGetWindowParam(GLFW_OPENED))
    +
    {
    +
    ...
    +
    }
    +
    +
    New basic main loop
    while (!glfwWindowShouldClose(window))
    +
    {
    +
    ...
    +
    }
    +
    +

    The close callback no longer returns a value. Instead, it is called after the close flag has been set so it can override its value, if it chooses to, before event processing completes. You may however not call glfwDestroyWindow from the close callback (or any other window related callback).

    +
    Old syntax
    int GLFWCALL window_close_callback(void);
    +
    +
    New syntax
    void window_close_callback(GLFWwindow* window);
    +
    +
    Note
    GLFW never clears the close flag to GLFW_FALSE, meaning you can use it for other reasons to close the window as well, for example the user choosing Quit from an in-game menu.
    +

    +Persistent window hints

    +

    The glfwOpenWindowHint function has been renamed to glfwWindowHint.

    +

    Window hints are no longer reset to their default values on window creation, but instead retain their values until modified by glfwWindowHint or glfwDefaultWindowHints, or until the library is terminated and re-initialized.

    +

    +Video mode enumeration

    +

    Video mode enumeration is now per-monitor. The glfwGetVideoModes function now returns all available modes for a specific monitor instead of requiring you to guess how large an array you need. The glfwGetDesktopMode function, which had poorly defined behavior, has been replaced by glfwGetVideoMode, which returns the current mode of a monitor.

    +

    +Removal of character actions

    +

    The action parameter of the character callback has been removed. This was an artefact of the origin of GLFW, i.e. being developed in English by a Swede. However, many keyboard layouts require more than one key to produce characters with diacritical marks. Even the Swedish keyboard layout requires this for uncommon cases like ü.

    +
    Old syntax
    void GLFWCALL character_callback(int character, int action);
    +
    +
    New syntax
    void character_callback(GLFWwindow* window, int character);
    +
    +

    +Cursor position changes

    +

    The glfwGetMousePos function has been renamed to glfwGetCursorPos, glfwSetMousePos to glfwSetCursorPos and glfwSetMousePosCallback to glfwSetCursorPosCallback.

    +

    The cursor position is now double instead of int, both for the direct functions and for the callback. Some platforms can provide sub-pixel cursor movement and this data is now passed on to the application where available. On platforms where this is not provided, the decimal part is zero.

    +

    GLFW 3 only allows you to position the cursor within a window using glfwSetCursorPos (formerly glfwSetMousePos) when that window is active. Unless the window is active, the function fails silently.

    +

    +Wheel position replaced by scroll offsets

    +

    The glfwGetMouseWheel function has been removed. Scrolling is the input of offsets and has no absolute position. The mouse wheel callback has been replaced by a scroll callback that receives two-dimensional floating point scroll offsets. This allows you to receive precise scroll data from for example modern touchpads.

    +
    Old syntax
    void GLFWCALL mouse_wheel_callback(int position);
    +
    +
    New syntax
    void scroll_callback(GLFWwindow* window, double xoffset, double yoffset);
    +
    +
    Removed functions
    glfwGetMouseWheel
    +

    +Key repeat action

    +

    The GLFW_KEY_REPEAT enable has been removed and key repeat is always enabled for both keys and characters. A new key action, GLFW_REPEAT, has been added to allow the key callback to distinguish an initial key press from a repeat. Note that glfwGetKey still returns only GLFW_PRESS or GLFW_RELEASE.

    +

    +Physical key input

    +

    GLFW 3 key tokens map to physical keys, unlike in GLFW 2 where they mapped to the values generated by the current keyboard layout. The tokens are named according to the values they would have using the standard US layout, but this is only a convenience, as most programmers are assumed to know that layout. This means that (for example) GLFW_KEY_LEFT_BRACKET is always a single key and is the same key in the same place regardless of what keyboard layouts the users of your program has.

    +

    The key input facility was never meant for text input, although using it that way worked slightly better in GLFW 2. If you were using it to input text, you should be using the character callback instead, on both GLFW 2 and 3. This will give you the characters being input, as opposed to the keys being pressed.

    +

    GLFW 3 has key tokens for all keys on a standard 105 key keyboard, so instead of having to remember whether to check for a or A, you now check for GLFW_KEY_A.

    +

    +Joystick function changes

    +

    The glfwGetJoystickPos function has been renamed to glfwGetJoystickAxes.

    +

    The glfwGetJoystickParam function and the GLFW_PRESENT, GLFW_AXES and GLFW_BUTTONS tokens have been replaced by the glfwJoystickPresent function as well as axis and button counts returned by the glfwGetJoystickAxes and glfwGetJoystickButtons functions.

    +

    +Win32 MBCS support

    +

    The Win32 port of GLFW 3 will not compile in MBCS mode. However, because the use of the Unicode version of the Win32 API doesn't affect the process as a whole, but only those windows created using it, it's perfectly possible to call MBCS functions from other parts of the same application. Therefore, even if an application using GLFW has MBCS mode code, there's no need for GLFW itself to support it.

    +

    +Support for versions of Windows older than XP

    +

    All explicit support for version of Windows older than XP has been removed. There is no code that actively prevents GLFW 3 from running on these earlier versions, but it uses Win32 functions that those versions lack.

    +

    Windows XP was released in 2001, and by now (January 2015) it has not only replaced almost all earlier versions of Windows, but is itself rapidly being replaced by Windows 7 and 8. The MSDN library doesn't even provide documentation for version older than Windows 2000, making it difficult to maintain compatibility with these versions even if it was deemed worth the effort.

    +

    The Win32 API has also not stood still, and GLFW 3 uses many functions only present on Windows XP or later. Even supporting an OS as new as XP (new from the perspective of GLFW 2, which still supports Windows 95) requires runtime checking for a number of functions that are present only on modern version of Windows.

    +

    +Capture of system-wide hotkeys

    +

    The ability to disable and capture system-wide hotkeys like Alt+Tab has been removed. Modern applications, whether they're games, scientific visualisations or something else, are nowadays expected to be good desktop citizens and allow these hotkeys to function even when running in full screen mode.

    +

    +Automatic termination

    +

    GLFW 3 does not register glfwTerminate with atexit at initialization, because exit calls registered functions from the calling thread and while it is permitted to call exit from any thread, glfwTerminate must only be called from the main thread.

    +

    To release all resources allocated by GLFW, you should call glfwTerminate yourself, from the main thread, before the program terminates. Note that this destroys all windows not already destroyed with glfwDestroyWindow, invalidating any window handles you may still have.

    +

    +GLU header inclusion

    +

    GLFW 3 does not by default include the GLU header and GLU itself has been deprecated by Khronos. New projects should not use GLU, but if you need it for legacy code that has been moved to GLFW 3, you can request that the GLFW header includes it by defining GLFW_INCLUDE_GLU before the inclusion of the GLFW header.

    +
    Old syntax
    #include <GL/glfw.h>
    +
    +
    New syntax
    #define GLFW_INCLUDE_GLU
    +
    #include <GLFW/glfw3.h>
    +
    +

    There are many libraries that offer replacements for the functionality offered by GLU. For the matrix helper functions, see math libraries like GLM (for C++), linmath.h (for C) and others. For the tessellation functions, see for example libtess2.

    +

    +Name change tables

    +

    +Renamed functions

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFW 2 GLFW 3 Notes
    glfwOpenWindow glfwCreateWindow All channel bit depths are now hints
    glfwCloseWindow glfwDestroyWindow
    glfwOpenWindowHint glfwWindowHint Now accepts all GLFW_*_BITS tokens
    glfwEnable glfwSetInputMode
    glfwDisable glfwSetInputMode
    glfwGetMousePos glfwGetCursorPos
    glfwSetMousePos glfwSetCursorPos
    glfwSetMousePosCallback glfwSetCursorPosCallback
    glfwSetMouseWheelCallback glfwSetScrollCallback Accepts two-dimensional scroll offsets as doubles
    glfwGetJoystickPos glfwGetJoystickAxes
    glfwGetWindowParam glfwGetWindowAttrib
    glfwGetGLVersion glfwGetWindowAttrib Use GLFW_CONTEXT_VERSION_MAJOR, GLFW_CONTEXT_VERSION_MINOR and GLFW_CONTEXT_REVISION
    glfwGetDesktopMode glfwGetVideoMode Returns the current mode of a monitor
    glfwGetJoystickParam glfwJoystickPresent The axis and button counts are provided by glfwGetJoystickAxes and glfwGetJoystickButtons
    +

    +Renamed types

    + + + + + + + +
    GLFW 2 GLFW 3 Notes
    GLFWmousewheelfun GLFWscrollfun
    GLFWmouseposfun GLFWcursorposfun
    +

    +Renamed tokens

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GLFW 2 GLFW 3 Notes
    GLFW_OPENGL_VERSION_MAJOR GLFW_CONTEXT_VERSION_MAJOR Renamed as it applies to OpenGL ES as well
    GLFW_OPENGL_VERSION_MINOR GLFW_CONTEXT_VERSION_MINOR Renamed as it applies to OpenGL ES as well
    GLFW_FSAA_SAMPLES GLFW_SAMPLES Renamed to match the OpenGL API
    GLFW_ACTIVE GLFW_FOCUSED Renamed to match the window focus callback
    GLFW_WINDOW_NO_RESIZE GLFW_RESIZABLE The default has been inverted
    GLFW_MOUSE_CURSOR GLFW_CURSOR Used with glfwSetInputMode
    GLFW_KEY_ESC GLFW_KEY_ESCAPE
    GLFW_KEY_DEL GLFW_KEY_DELETE
    GLFW_KEY_PAGEUP GLFW_KEY_PAGE_UP
    GLFW_KEY_PAGEDOWN GLFW_KEY_PAGE_DOWN
    GLFW_KEY_KP_NUM_LOCK GLFW_KEY_NUM_LOCK
    GLFW_KEY_LCTRL GLFW_KEY_LEFT_CONTROL
    GLFW_KEY_LSHIFT GLFW_KEY_LEFT_SHIFT
    GLFW_KEY_LALT GLFW_KEY_LEFT_ALT
    GLFW_KEY_LSUPER GLFW_KEY_LEFT_SUPER
    GLFW_KEY_RCTRL GLFW_KEY_RIGHT_CONTROL
    GLFW_KEY_RSHIFT GLFW_KEY_RIGHT_SHIFT
    GLFW_KEY_RALT GLFW_KEY_RIGHT_ALT
    GLFW_KEY_RSUPER GLFW_KEY_RIGHT_SUPER
    +
    +
    +
    The header of the GLFW 3 API.
    +
    void glfwSetWindowTitle(GLFWwindow *window, const char *title)
    Sets the title of the specified window.
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1312
    +
    void glfwSwapBuffers(GLFWwindow *window)
    Swaps the front and back buffers of the specified window.
    +
    int glfwWindowShouldClose(GLFWwindow *window)
    Checks the close flag of the specified window.
    +
    void glfwPollEvents(void)
    Processes all pending events.
    +
    GLFWmonitor * glfwGetPrimaryMonitor(void)
    Returns the primary monitor.
    +
    GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
    Creates a window and its associated context.
    +
    void glfwGetWindowSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the content area of the specified window.
    +
    void glfwGetFramebufferSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the framebuffer of the specified window.
    + + + diff --git a/docs/3.4/nav_f.png b/docs/3.4/nav_f.png new file mode 100644 index 0000000000000000000000000000000000000000..72a58a529ed3a9ed6aa0c51a79cf207e026deee2 GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQVE_ejv*C{Z|{2ZH7M}7UYxc) zn!W8uqtnIQ>_z8U literal 0 HcmV?d00001 diff --git a/docs/3.4/nav_g.png b/docs/3.4/nav_g.png new file mode 100644 index 0000000000000000000000000000000000000000..2093a237a94f6c83e19ec6e5fd42f7ddabdafa81 GIT binary patch literal 95 zcmeAS@N?(olHy`uVBq!ia0vp^j6lrB!3HFm1ilyoDK$?Q$B+ufw|5PB85lU25BhtE tr?otc=hd~V+ws&_A@j8Fiv!KF$B+ufw|5=67#uj90@pIL wZ=Q8~_Ju`#59=RjDrmm`tMD@M=!-l18IR?&vFVdQ&MBb@0HFXL + + + + + + +GLFW: Release notes + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Release notes
    +
    +
    + +

    +Release notes for version 3.4

    +

    +New features in version 3.4

    +

    +More standard cursors

    +

    GLFW now provides the standard cursor shapes GLFW_RESIZE_NWSE_CURSOR and GLFW_RESIZE_NESW_CURSOR for diagonal resizing, GLFW_RESIZE_ALL_CURSOR for omni-directional resizing and GLFW_NOT_ALLOWED_CURSOR for showing an action is not allowed.

    +

    Unlike the original set, these shapes may not be available everywhere and creation will then fail with the new GLFW_CURSOR_UNAVAILABLE error.

    +

    The cursors for horizontal and vertical resizing are now referred to as GLFW_RESIZE_EW_CURSOR and GLFW_RESIZE_NS_CURSOR, and the pointing hand cursor is now referred to as GLFW_POINTING_HAND_CURSOR. The older names are still available.

    +

    For more information see Standard cursor creation.

    +

    +Mouse event passthrough

    +

    GLFW now provides the GLFW_MOUSE_PASSTHROUGH window hint for making a window transparent to mouse input, lettings events pass to whatever window is behind it. This can also be changed after window creation with the matching window attribute.

    +

    +Support for ANGLE rendering backend selection

    +

    GLFW now provides the GLFW_ANGLE_PLATFORM_TYPE init hint for requesting a specific rendering backend when using ANGLE to create OpenGL ES contexts.

    +

    +Support for keyboard access to Windows window menu

    +

    GLFW now provides the GLFW_WIN32_KEYBOARD_MENU window hint for enabling keyboard access to the window menu via the Alt+Space and Alt-and-then-Space shortcuts. This may be useful for more GUI-oriented applications.

    +

    +Caveats for version 3.4

    +

    +Joystick support is initialized on demand

    +

    The joystick part of GLFW is now initialized when first used, primarily to work around faulty Windows drivers that cause DirectInput to take up to several seconds to enumerate devices.

    +

    This change will usually not be observable. However, if your application waits for events without having first called any joystick function or created any visible windows, the wait may never unblock as GLFW may not yet have subscribed to joystick related OS events.

    +

    To work around this, call any joystick function before waiting for events, for example by setting a joystick callback.

    +

    +Tests and examples are disabled when built as a sub-project

    +

    GLFW now does not build the tests and examples when it is added as a subdirectory of another CMake project. To enable these, set the GLFW_BUILD_TESTS and GLFW_BUILD_EXAMPLES cache variables before adding the GLFW subdirectory.

    +
    set(GLFW_BUILD_EXAMPLES ON CACHE BOOL "" FORCE)
    +
    set(GLFW_BUILD_TESTS ON CACHE BOOL "" FORCE)
    +
    add_subdirectory(path/to/glfw)
    +

    +macOS main menu now created at initialization

    +

    GLFW now creates the main menu and completes the initialization of NSApplication during initialization. Programs that do not want a main menu can disable it with the GLFW_COCOA_MENUBAR init hint.

    +

    +CoreVideo dependency has been removed

    +

    GLFW no longer depends on the CoreVideo framework on macOS and it no longer needs to be specified during compilation or linking.

    +

    +Framebuffer transparency requires DWM transparency

    +

    GLFW no longer supports framebuffer transparency enabled via GLFW_TRANSPARENT_FRAMEBUFFER on Windows 7 if DWM transparency is off (the Transparency setting under Personalization > Window Color).

    +

    +Deprecations in version 3.4

    +

    +Removals in 3.4

    +

    +Support for the wl_shell protocol has been removed

    +

    Support for the wl_shell protocol has been removed and GLFW now only supports the XDG-Shell protocol. If your Wayland compositor does not support XDG-Shell then GLFW will fail to initialize.

    +

    +New symbols in version 3.4

    +

    +New functions in version 3.4

    +

    +New types in version 3.4

    +

    +New constants in version 3.4

    + +

    +Release notes for earlier versions

    + +
    +
    + + + diff --git a/docs/3.4/news_8dox.html b/docs/3.4/news_8dox.html new file mode 100644 index 0000000..42b46c8 --- /dev/null +++ b/docs/3.4/news_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: news.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    news.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.4/open.png b/docs/3.4/open.png new file mode 100644 index 0000000000000000000000000000000000000000..30f75c7efe2dd0c9e956e35b69777a02751f048b GIT binary patch literal 123 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{VPM$7~Ar*{o?;hlAFyLXmaDC0y znK1_#cQqJWPES%4Uujug^TE?jMft$}Eq^WaR~)%f)vSNs&gek&x%A9X9sM + + + + + + +GLFW: Guides + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Guides
    +
    + + + + diff --git a/docs/3.4/quick.html b/docs/3.4/quick.html new file mode 120000 index 0000000..ecb98b4 --- /dev/null +++ b/docs/3.4/quick.html @@ -0,0 +1 @@ +quick_guide.html \ No newline at end of file diff --git a/docs/3.4/quick_8dox.html b/docs/3.4/quick_8dox.html new file mode 100644 index 0000000..cf151a8 --- /dev/null +++ b/docs/3.4/quick_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: quick.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    quick.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.4/quick_guide.html b/docs/3.4/quick_guide.html new file mode 100644 index 0000000..37c334a --- /dev/null +++ b/docs/3.4/quick_guide.html @@ -0,0 +1,399 @@ + + + + + + + +GLFW: Getting started + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Getting started
    +
    +
    + +

    This guide takes you through writing a small application using GLFW 3. The application will create a window and OpenGL context, render a rotating triangle and exit when the user closes the window or presses Escape. This guide will introduce a few of the most commonly used functions, but there are many more.

    +

    This guide assumes no experience with earlier versions of GLFW. If you have used GLFW 2 in the past, read Moving from GLFW 2 to 3, as some functions behave differently in GLFW 3.

    +

    +Step by step

    +

    +Including the GLFW header

    +

    In the source files of your application where you use GLFW, you need to include its header file.

    +
    #include <GLFW/glfw3.h>
    +

    This header provides all the constants, types and function prototypes of the GLFW API.

    +

    By default it also includes the OpenGL header from your development environment. On some platforms this header only supports older versions of OpenGL. The most extreme case is Windows, where it typically only supports OpenGL 1.2.

    +

    Most programs will instead use an extension loader library and include its header. This example uses files generated by glad. The GLFW header can detect most such headers if they are included first and will then not include the one from your development environment.

    +
    #include <glad/gl.h>
    +
    #include <GLFW/glfw3.h>
    +

    To make sure there will be no header conflicts, you can define GLFW_INCLUDE_NONE before the GLFW header to explicitly disable inclusion of the development environment header. This also allows the two headers to be included in any order.

    +
    #define GLFW_INCLUDE_NONE
    +
    #include <GLFW/glfw3.h>
    +
    #include <glad/gl.h>
    +

    +Initializing and terminating GLFW

    +

    Before you can use most GLFW functions, the library must be initialized. On successful initialization, GLFW_TRUE is returned. If an error occurred, GLFW_FALSE is returned.

    +
    if (!glfwInit())
    +
    {
    +
    // Initialization failed
    +
    }
    +

    Note that GLFW_TRUE and GLFW_FALSE are and will always be one and zero.

    +

    When you are done using GLFW, typically just before the application exits, you need to terminate GLFW.

    +

    This destroys any remaining windows and releases any other resources allocated by GLFW. After this call, you must initialize GLFW again before using any GLFW functions that require it.

    +

    +Setting an error callback

    +

    Most events are reported through callbacks, whether it's a key being pressed, a GLFW window being moved, or an error occurring. Callbacks are C functions (or C++ static methods) that are called by GLFW with arguments describing the event.

    +

    In case a GLFW function fails, an error is reported to the GLFW error callback. You can receive these reports with an error callback. This function must have the signature below but may do anything permitted in other callbacks.

    +
    void error_callback(int error, const char* description)
    +
    {
    +
    fprintf(stderr, "Error: %s\n", description);
    +
    }
    +

    Callback functions must be set, so GLFW knows to call them. The function to set the error callback is one of the few GLFW functions that may be called before initialization, which lets you be notified of errors both during and after initialization.

    +
    glfwSetErrorCallback(error_callback);
    +

    +Creating a window and context

    +

    The window and its OpenGL context are created with a single call to glfwCreateWindow, which returns a handle to the created combined window and context object

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", NULL, NULL);
    +
    if (!window)
    +
    {
    +
    // Window or OpenGL context creation failed
    +
    }
    +

    This creates a 640 by 480 windowed mode window with an OpenGL context. If window or OpenGL context creation fails, NULL will be returned. You should always check the return value. While window creation rarely fails, context creation depends on properly installed drivers and may fail even on machines with the necessary hardware.

    +

    By default, the OpenGL context GLFW creates may have any version. You can require a minimum OpenGL version by setting the GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR hints before creation. If the required minimum version is not supported on the machine, context (and window) creation fails.

    +

    You can select the OpenGL profile by setting the GLFW_OPENGL_PROFILE hint. This program uses the core profile as that is the only profile macOS supports for OpenGL 3.x and 4.x.

    +
    + + +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", NULL, NULL);
    +
    if (!window)
    +
    {
    +
    // Window or context creation failed
    +
    }
    +

    The window handle is passed to all window related functions and is provided to along to all window related callbacks, so they can tell which window received the event.

    +

    When a window and context is no longer needed, destroy it.

    +

    Once this function is called, no more events will be delivered for that window and its handle becomes invalid.

    +

    +Making the OpenGL context current

    +

    Before you can use the OpenGL API, you must have a current OpenGL context.

    +

    The context will remain current until you make another context current or until the window owning the current context is destroyed.

    +

    If you are using an extension loader library to access modern OpenGL then this is when to initialize it, as the loader needs a current context to load from. This example uses glad, but the same rule applies to all such libraries.

    +
    gladLoadGL(glfwGetProcAddress);
    +

    +Checking the window close flag

    +

    Each window has a flag indicating whether the window should be closed.

    +

    When the user attempts to close the window, either by pressing the close widget in the title bar or using a key combination like Alt+F4, this flag is set to 1. Note that the window isn't actually closed, so you are expected to monitor this flag and either destroy the window or give some kind of feedback to the user.

    +
    while (!glfwWindowShouldClose(window))
    +
    {
    +
    // Keep running
    +
    }
    +

    You can be notified when the user is attempting to close the window by setting a close callback with glfwSetWindowCloseCallback. The callback will be called immediately after the close flag has been set.

    +

    You can also set it yourself with glfwSetWindowShouldClose. This can be useful if you want to interpret other kinds of input as closing the window, like for example pressing the Escape key.

    +

    +Receiving input events

    +

    Each window has a large number of callbacks that can be set to receive all the various kinds of events. To receive key press and release events, create a key callback function.

    +
    static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
    +
    {
    +
    if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS)
    + +
    }
    +

    The key callback, like other window related callbacks, are set per-window.

    +
    glfwSetKeyCallback(window, key_callback);
    +

    In order for event callbacks to be called when events occur, you need to process events as described below.

    +

    +Rendering with OpenGL

    +

    Once you have a current OpenGL context, you can use OpenGL normally. In this tutorial, a multi-colored rotating triangle will be rendered. The framebuffer size needs to be retrieved for glViewport.

    +
    int width, height;
    +
    glfwGetFramebufferSize(window, &width, &height);
    +
    glViewport(0, 0, width, height);
    +

    You can also set a framebuffer size callback using glfwSetFramebufferSizeCallback and be notified when the size changes.

    +

    The details of how to render with OpenGL is outside the scope of this tutorial, but there are many excellent resources for learning modern OpenGL. Here are a few of them:

    + +

    These all happen to use GLFW, but OpenGL itself works the same whatever API you use to create the window and context.

    +

    +Reading the timer

    +

    To create smooth animation, a time source is needed. GLFW provides a timer that returns the number of seconds since initialization. The time source used is the most accurate on each platform and generally has micro- or nanosecond resolution.

    +
    double time = glfwGetTime();
    +

    +Swapping buffers

    +

    GLFW windows by default use double buffering. That means that each window has two rendering buffers; a front buffer and a back buffer. The front buffer is the one being displayed and the back buffer the one you render to.

    +

    When the entire frame has been rendered, the buffers need to be swapped with one another, so the back buffer becomes the front buffer and vice versa.

    +
    +

    The swap interval indicates how many frames to wait until swapping the buffers, commonly known as vsync. By default, the swap interval is zero, meaning buffer swapping will occur immediately. On fast machines, many of those frames will never be seen, as the screen is still only updated typically 60-75 times per second, so this wastes a lot of CPU and GPU cycles.

    +

    Also, because the buffers will be swapped in the middle the screen update, leading to screen tearing.

    +

    For these reasons, applications will typically want to set the swap interval to one. It can be set to higher values, but this is usually not recommended, because of the input latency it leads to.

    +

    This function acts on the current context and will fail unless a context is current.

    +

    +Processing events

    +

    GLFW needs to communicate regularly with the window system both in order to receive events and to show that the application hasn't locked up. Event processing must be done regularly while you have visible windows and is normally done each frame after buffer swapping.

    +

    There are two methods for processing pending events; polling and waiting. This example will use event polling, which processes only those events that have already been received and then returns immediately.

    +

    This is the best choice when rendering continually, like most games do. If instead you only need to update your rendering once you have received new input, glfwWaitEvents is a better choice. It waits until at least one event has been received, putting the thread to sleep in the meantime, and then processes all received events. This saves a great deal of CPU cycles and is useful for, for example, many kinds of editing tools.

    +

    +Putting it together

    +

    Now that you know how to initialize GLFW, create a window and poll for keyboard input, it's possible to create a small program.

    +

    This program creates a 640 by 480 windowed mode window and starts a loop that clears the screen, renders a triangle and processes events until the user either presses Escape or closes the window.

    +
    +
    #include <glad/gl.h>
    +
    #define GLFW_INCLUDE_NONE
    +
    #include <GLFW/glfw3.h>
    +
    +
    #include "linmath.h"
    +
    +
    #include <stdlib.h>
    +
    #include <stddef.h>
    +
    #include <stdio.h>
    +
    +
    typedef struct Vertex
    +
    {
    +
    vec2 pos;
    +
    vec3 col;
    +
    } Vertex;
    +
    +
    static const Vertex vertices[3] =
    +
    {
    +
    { { -0.6f, -0.4f }, { 1.f, 0.f, 0.f } },
    +
    { { 0.6f, -0.4f }, { 0.f, 1.f, 0.f } },
    +
    { { 0.f, 0.6f }, { 0.f, 0.f, 1.f } }
    +
    };
    +
    +
    static const char* vertex_shader_text =
    +
    "#version 330\n"
    +
    "uniform mat4 MVP;\n"
    +
    "in vec3 vCol;\n"
    +
    "in vec2 vPos;\n"
    +
    "out vec3 color;\n"
    +
    "void main()\n"
    +
    "{\n"
    +
    " gl_Position = MVP * vec4(vPos, 0.0, 1.0);\n"
    +
    " color = vCol;\n"
    +
    "}\n";
    +
    +
    static const char* fragment_shader_text =
    +
    "#version 330\n"
    +
    "in vec3 color;\n"
    +
    "out vec4 fragment;\n"
    +
    "void main()\n"
    +
    "{\n"
    +
    " fragment = vec4(color, 1.0);\n"
    +
    "}\n";
    +
    +
    static void error_callback(int error, const char* description)
    +
    {
    +
    fprintf(stderr, "Error: %s\n", description);
    +
    }
    +
    +
    static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
    +
    {
    +
    if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS)
    + +
    }
    +
    +
    int main(void)
    +
    {
    +
    glfwSetErrorCallback(error_callback);
    +
    +
    if (!glfwInit())
    +
    exit(EXIT_FAILURE);
    +
    + + + +
    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "OpenGL Triangle", NULL, NULL);
    +
    if (!window)
    +
    {
    + +
    exit(EXIT_FAILURE);
    +
    }
    +
    +
    glfwSetKeyCallback(window, key_callback);
    +
    + +
    gladLoadGL(glfwGetProcAddress);
    + +
    +
    // NOTE: OpenGL error checks have been omitted for brevity
    +
    +
    GLuint vertex_buffer;
    +
    glGenBuffers(1, &vertex_buffer);
    +
    glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer);
    +
    glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
    +
    +
    const GLuint vertex_shader = glCreateShader(GL_VERTEX_SHADER);
    +
    glShaderSource(vertex_shader, 1, &vertex_shader_text, NULL);
    +
    glCompileShader(vertex_shader);
    +
    +
    const GLuint fragment_shader = glCreateShader(GL_FRAGMENT_SHADER);
    +
    glShaderSource(fragment_shader, 1, &fragment_shader_text, NULL);
    +
    glCompileShader(fragment_shader);
    +
    +
    const GLuint program = glCreateProgram();
    +
    glAttachShader(program, vertex_shader);
    +
    glAttachShader(program, fragment_shader);
    +
    glLinkProgram(program);
    +
    +
    const GLint mvp_location = glGetUniformLocation(program, "MVP");
    +
    const GLint vpos_location = glGetAttribLocation(program, "vPos");
    +
    const GLint vcol_location = glGetAttribLocation(program, "vCol");
    +
    +
    GLuint vertex_array;
    +
    glGenVertexArrays(1, &vertex_array);
    +
    glBindVertexArray(vertex_array);
    +
    glEnableVertexAttribArray(vpos_location);
    +
    glVertexAttribPointer(vpos_location, 2, GL_FLOAT, GL_FALSE,
    +
    sizeof(Vertex), (void*) offsetof(Vertex, pos));
    +
    glEnableVertexAttribArray(vcol_location);
    +
    glVertexAttribPointer(vcol_location, 3, GL_FLOAT, GL_FALSE,
    +
    sizeof(Vertex), (void*) offsetof(Vertex, col));
    +
    +
    while (!glfwWindowShouldClose(window))
    +
    {
    +
    int width, height;
    +
    glfwGetFramebufferSize(window, &width, &height);
    +
    const float ratio = width / (float) height;
    +
    +
    glViewport(0, 0, width, height);
    +
    glClear(GL_COLOR_BUFFER_BIT);
    +
    +
    mat4x4 m, p, mvp;
    +
    mat4x4_identity(m);
    +
    mat4x4_rotate_Z(m, m, (float) glfwGetTime());
    +
    mat4x4_ortho(p, -ratio, ratio, -1.f, 1.f, 1.f, -1.f);
    +
    mat4x4_mul(mvp, p, m);
    +
    +
    glUseProgram(program);
    +
    glUniformMatrix4fv(mvp_location, 1, GL_FALSE, (const GLfloat*) &mvp);
    +
    glBindVertexArray(vertex_array);
    +
    glDrawArrays(GL_TRIANGLES, 0, 3);
    +
    +
    glfwSwapBuffers(window);
    + +
    }
    +
    + +
    + +
    exit(EXIT_SUCCESS);
    +
    }
    +
    +

    The program above can be found in the source package as examples/triangle-opengl.c and is compiled along with all other examples when you build GLFW. If you built GLFW from the source package then you already have this as triangle-opengl.exe on Windows, triangle-opengl on Linux or triangle-opengl.app on macOS.

    +

    This tutorial used only a few of the many functions GLFW provides. There are guides for each of the areas covered by GLFW. Each guide will introduce all the functions for that category.

    + +

    You can access reference documentation for any GLFW function by clicking it and the reference for each function links to related functions and guide sections.

    +

    The tutorial ends here. Once you have written a program that uses GLFW, you will need to compile and link it. How to do that depends on the development environment you are using and is best explained by the documentation for that environment. To learn about the details that are specific to GLFW, see Building applications.

    +
    +
    +
    double glfwGetTime(void)
    Returns the GLFW time.
    +
    #define GLFW_PRESS
    The key or mouse button was pressed.
    Definition: glfw3.h:335
    +
    The header of the GLFW 3 API.
    +
    #define GLFW_CONTEXT_VERSION_MINOR
    Context client API minor version hint and attribute.
    Definition: glfw3.h:1003
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1312
    +
    void glfwTerminate(void)
    Terminates the GLFW library.
    +
    void glfwSwapBuffers(GLFWwindow *window)
    Swaps the front and back buffers of the specified window.
    +
    void glfwMakeContextCurrent(GLFWwindow *window)
    Makes the context of the specified window current for the calling thread.
    +
    void glfwSwapInterval(int interval)
    Sets the swap interval for the current context.
    +
    int glfwWindowShouldClose(GLFWwindow *window)
    Checks the close flag of the specified window.
    +
    void glfwPollEvents(void)
    Processes all pending events.
    +
    #define GLFW_OPENGL_PROFILE
    OpenGL profile hint and attribute.
    Definition: glfw3.h:1038
    +
    #define GLFW_TRUE
    One.
    Definition: glfw3.h:309
    +
    #define GLFW_CONTEXT_VERSION_MAJOR
    Context client API major version hint and attribute.
    Definition: glfw3.h:997
    +
    GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
    Creates a window and its associated context.
    +
    void glfwSetWindowShouldClose(GLFWwindow *window, int value)
    Sets the close flag of the specified window.
    +
    #define GLFW_KEY_ESCAPE
    Definition: glfw3.h:443
    +
    int glfwInit(void)
    Initializes the GLFW library.
    +
    GLFWglproc glfwGetProcAddress(const char *procname)
    Returns the address of the specified function for the current context.
    +
    GLFWkeyfun glfwSetKeyCallback(GLFWwindow *window, GLFWkeyfun callback)
    Sets the key callback.
    +
    #define GLFW_OPENGL_CORE_PROFILE
    Definition: glfw3.h:1093
    +
    GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun callback)
    Sets the error callback.
    +
    void glfwGetFramebufferSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the framebuffer of the specified window.
    +
    void glfwWindowHint(int hint, int value)
    Sets the specified window hint to the desired value.
    +
    void glfwDestroyWindow(GLFWwindow *window)
    Destroys the specified window and its context.
    + + + diff --git a/docs/3.4/search/all_0.html b/docs/3.4/search/all_0.html new file mode 100644 index 0000000..ea50fff --- /dev/null +++ b/docs/3.4/search/all_0.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_0.js b/docs/3.4/search/all_0.js new file mode 100644 index 0000000..c61320f --- /dev/null +++ b/docs/3.4/search/all_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['axes_0',['axes',['../structGLFWgamepadstate.html#a8b2c8939b1d31458de5359998375c189',1,'GLFWgamepadstate']]] +]; diff --git a/docs/3.4/search/all_1.html b/docs/3.4/search/all_1.html new file mode 100644 index 0000000..86b0682 --- /dev/null +++ b/docs/3.4/search/all_1.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_1.js b/docs/3.4/search/all_1.js new file mode 100644 index 0000000..7208b95 --- /dev/null +++ b/docs/3.4/search/all_1.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['blue_1',['blue',['../structGLFWgammaramp.html#acf0c836d0efe29c392fe8d1a1042744b',1,'GLFWgammaramp']]], + ['bluebits_2',['blueBits',['../structGLFWvidmode.html#af310977f58d2e3b188175b6e3d314047',1,'GLFWvidmode']]], + ['bug_20list_3',['Bug List',['../bug.html',1,'']]], + ['build_2edox_4',['build.dox',['../build_8dox.html',1,'']]], + ['building_20applications_5',['Building applications',['../build_guide.html',1,'']]], + ['buttons_6',['buttons',['../structGLFWgamepadstate.html#a27e9896b51c65df15fba2c7139bfdb9a',1,'GLFWgamepadstate']]] +]; diff --git a/docs/3.4/search/all_10.html b/docs/3.4/search/all_10.html new file mode 100644 index 0000000..b910674 --- /dev/null +++ b/docs/3.4/search/all_10.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_10.js b/docs/3.4/search/all_10.js new file mode 100644 index 0000000..294dd18 --- /dev/null +++ b/docs/3.4/search/all_10.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['vulkan_20support_20reference_541',['Vulkan support reference',['../group__vulkan.html',1,'']]], + ['vulkan_2edox_542',['vulkan.dox',['../vulkan_8dox.html',1,'']]], + ['vulkan_20guide_543',['Vulkan guide',['../vulkan_guide.html',1,'']]] +]; diff --git a/docs/3.4/search/all_11.html b/docs/3.4/search/all_11.html new file mode 100644 index 0000000..459c977 --- /dev/null +++ b/docs/3.4/search/all_11.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_11.js b/docs/3.4/search/all_11.js new file mode 100644 index 0000000..0e16261 --- /dev/null +++ b/docs/3.4/search/all_11.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['width_544',['width',['../structGLFWvidmode.html#a698dcb200562051a7249cb6ae154c71d',1,'GLFWvidmode::width()'],['../structGLFWimage.html#af6a71cc999fe6d3aea31dd7e9687d835',1,'GLFWimage::width()']]], + ['window_20reference_545',['Window reference',['../group__window.html',1,'']]], + ['window_2edox_546',['window.dox',['../window_8dox.html',1,'']]], + ['window_20guide_547',['Window guide',['../window_guide.html',1,'']]] +]; diff --git a/docs/3.4/search/all_2.html b/docs/3.4/search/all_2.html new file mode 100644 index 0000000..ffa7873 --- /dev/null +++ b/docs/3.4/search/all_2.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_2.js b/docs/3.4/search/all_2.js new file mode 100644 index 0000000..ef90f7a --- /dev/null +++ b/docs/3.4/search/all_2.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['compat_2edox_7',['compat.dox',['../compat_8dox.html',1,'']]], + ['compile_2edox_8',['compile.dox',['../compile_8dox.html',1,'']]], + ['compiling_20glfw_9',['Compiling GLFW',['../compile_guide.html',1,'']]], + ['context_20reference_10',['Context reference',['../group__context.html',1,'']]], + ['context_2edox_11',['context.dox',['../context_8dox.html',1,'']]], + ['context_20guide_12',['Context guide',['../context_guide.html',1,'']]] +]; diff --git a/docs/3.4/search/all_3.html b/docs/3.4/search/all_3.html new file mode 100644 index 0000000..f9df19b --- /dev/null +++ b/docs/3.4/search/all_3.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_3.js b/docs/3.4/search/all_3.js new file mode 100644 index 0000000..835cae5 --- /dev/null +++ b/docs/3.4/search/all_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['deprecated_20list_13',['Deprecated List',['../deprecated.html',1,'']]] +]; diff --git a/docs/3.4/search/all_4.html b/docs/3.4/search/all_4.html new file mode 100644 index 0000000..aa2c933 --- /dev/null +++ b/docs/3.4/search/all_4.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_4.js b/docs/3.4/search/all_4.js new file mode 100644 index 0000000..b735eaf --- /dev/null +++ b/docs/3.4/search/all_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['error_20codes_14',['Error codes',['../group__errors.html',1,'']]] +]; diff --git a/docs/3.4/search/all_5.html b/docs/3.4/search/all_5.html new file mode 100644 index 0000000..71848af --- /dev/null +++ b/docs/3.4/search/all_5.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_5.js b/docs/3.4/search/all_5.js new file mode 100644 index 0000000..9d45d4b --- /dev/null +++ b/docs/3.4/search/all_5.js @@ -0,0 +1,497 @@ +var searchData= +[ + ['gamepad_20axes_15',['Gamepad axes',['../group__gamepad__axes.html',1,'']]], + ['gamepad_20buttons_16',['Gamepad buttons',['../group__gamepad__buttons.html',1,'']]], + ['glapientry_17',['GLAPIENTRY',['../glfw3_8h.html#aa97755eb47e4bf2727ad45d610e18206',1,'glfw3.h']]], + ['glfw3_2eh_18',['glfw3.h',['../glfw3_8h.html',1,'']]], + ['glfw3native_2eh_19',['glfw3native.h',['../glfw3native_8h.html',1,'']]], + ['glfw_5faccum_5falpha_5fbits_20',['GLFW_ACCUM_ALPHA_BITS',['../group__window.html#gae829b55591c18169a40ab4067a041b1f',1,'glfw3.h']]], + ['glfw_5faccum_5fblue_5fbits_21',['GLFW_ACCUM_BLUE_BITS',['../group__window.html#ga22bbe9104a8ce1f8b88fb4f186aa36ce',1,'glfw3.h']]], + ['glfw_5faccum_5fgreen_5fbits_22',['GLFW_ACCUM_GREEN_BITS',['../group__window.html#ga65713cee1326f8e9d806fdf93187b471',1,'glfw3.h']]], + ['glfw_5faccum_5fred_5fbits_23',['GLFW_ACCUM_RED_BITS',['../group__window.html#gaead34a9a683b2bc20eecf30ba738bfc6',1,'glfw3.h']]], + ['glfw_5falpha_5fbits_24',['GLFW_ALPHA_BITS',['../group__window.html#gafed79a3f468997877da86c449bd43e8c',1,'glfw3.h']]], + ['glfw_5fangle_5fplatform_5ftype_25',['GLFW_ANGLE_PLATFORM_TYPE',['../group__init.html#gaec269b24cf549ab46292c0125d8bbdce',1,'glfw3.h']]], + ['glfw_5fangle_5fplatform_5ftype_5fd3d11_26',['GLFW_ANGLE_PLATFORM_TYPE_D3D11',['../glfw3_8h.html#ad6eae659811a52a5cdc43c362aedfa33',1,'glfw3.h']]], + ['glfw_5fangle_5fplatform_5ftype_5fd3d9_27',['GLFW_ANGLE_PLATFORM_TYPE_D3D9',['../glfw3_8h.html#a6e8fdc83113d247ad792bb5c4e82c894',1,'glfw3.h']]], + ['glfw_5fangle_5fplatform_5ftype_5fmetal_28',['GLFW_ANGLE_PLATFORM_TYPE_METAL',['../glfw3_8h.html#ab56d91b26cf223dc67590a93a2f8507d',1,'glfw3.h']]], + ['glfw_5fangle_5fplatform_5ftype_5fnone_29',['GLFW_ANGLE_PLATFORM_TYPE_NONE',['../glfw3_8h.html#ae78e673449c2a2b8c560ca1b1e283228',1,'glfw3.h']]], + ['glfw_5fangle_5fplatform_5ftype_5fopengl_30',['GLFW_ANGLE_PLATFORM_TYPE_OPENGL',['../glfw3_8h.html#ad8d9e97ed7790811470366b338833623',1,'glfw3.h']]], + ['glfw_5fangle_5fplatform_5ftype_5fopengles_31',['GLFW_ANGLE_PLATFORM_TYPE_OPENGLES',['../glfw3_8h.html#a0003c089da020cbf957218e70245bb65',1,'glfw3.h']]], + ['glfw_5fangle_5fplatform_5ftype_5fvulkan_32',['GLFW_ANGLE_PLATFORM_TYPE_VULKAN',['../glfw3_8h.html#a579ac83506c7546709dad91960cc7ca1',1,'glfw3.h']]], + ['glfw_5fany_5frelease_5fbehavior_33',['GLFW_ANY_RELEASE_BEHAVIOR',['../glfw3_8h.html#a6b47d806f285efe9bfd7aeec667297ee',1,'glfw3.h']]], + ['glfw_5fapi_5funavailable_34',['GLFW_API_UNAVAILABLE',['../group__errors.html#ga56882b290db23261cc6c053c40c2d08e',1,'glfw3.h']]], + ['glfw_5fapientry_5fdefined_35',['GLFW_APIENTRY_DEFINED',['../glfw3_8h.html#a8a8538c5500308b4211844f2fb26c7b9',1,'glfw3.h']]], + ['glfw_5farrow_5fcursor_36',['GLFW_ARROW_CURSOR',['../group__shapes.html#ga8ab0e717245b85506cb0eaefdea39d0a',1,'glfw3.h']]], + ['glfw_5fauto_5ficonify_37',['GLFW_AUTO_ICONIFY',['../group__window.html#ga9d9874fc928200136a6dcdad726aa252',1,'glfw3.h']]], + ['glfw_5faux_5fbuffers_38',['GLFW_AUX_BUFFERS',['../group__window.html#gab05108c5029443b371112b031d1fa174',1,'glfw3.h']]], + ['glfw_5fblue_5fbits_39',['GLFW_BLUE_BITS',['../group__window.html#gab292ea403db6d514537b515311bf9ae3',1,'glfw3.h']]], + ['glfw_5fcenter_5fcursor_40',['GLFW_CENTER_CURSOR',['../group__window.html#ga5ac0847c0aa0b3619f2855707b8a7a77',1,'glfw3.h']]], + ['glfw_5fclient_5fapi_41',['GLFW_CLIENT_API',['../group__window.html#ga649309cf72a3d3de5b1348ca7936c95b',1,'glfw3.h']]], + ['glfw_5fcocoa_5fchdir_5fresources_42',['GLFW_COCOA_CHDIR_RESOURCES',['../group__init.html#gab937983147a3158d45f88fad7129d9f2',1,'glfw3.h']]], + ['glfw_5fcocoa_5fframe_5fname_43',['GLFW_COCOA_FRAME_NAME',['../group__window.html#ga70fa0fbc745de6aa824df79a580e84b5',1,'glfw3.h']]], + ['glfw_5fcocoa_5fgraphics_5fswitching_44',['GLFW_COCOA_GRAPHICS_SWITCHING',['../group__window.html#ga53c84ed2ddd94e15bbd44b1f6f7feafc',1,'glfw3.h']]], + ['glfw_5fcocoa_5fmenubar_45',['GLFW_COCOA_MENUBAR',['../group__init.html#ga71e0b4ce2f2696a84a9b8c5e12dc70cf',1,'glfw3.h']]], + ['glfw_5fcocoa_5fretina_5fframebuffer_46',['GLFW_COCOA_RETINA_FRAMEBUFFER',['../group__window.html#gab6ef2d02eb55800d249ccf1af253c35e',1,'glfw3.h']]], + ['glfw_5fconnected_47',['GLFW_CONNECTED',['../glfw3_8h.html#abe11513fd1ffbee5bb9b173f06028b9e',1,'glfw3.h']]], + ['glfw_5fcontext_5fcreation_5fapi_48',['GLFW_CONTEXT_CREATION_API',['../group__window.html#ga5154cebfcd831c1cc63a4d5ac9bb4486',1,'glfw3.h']]], + ['glfw_5fcontext_5fdebug_49',['GLFW_CONTEXT_DEBUG',['../group__window.html#ga8d55e3afec73c7de0509c3b7ad1d9e3f',1,'glfw3.h']]], + ['glfw_5fcontext_5fno_5ferror_50',['GLFW_CONTEXT_NO_ERROR',['../group__window.html#ga5a52fdfd46d8249c211f923675728082',1,'glfw3.h']]], + ['glfw_5fcontext_5frelease_5fbehavior_51',['GLFW_CONTEXT_RELEASE_BEHAVIOR',['../group__window.html#ga72b648a8378fe3310c7c7bbecc0f7be6',1,'glfw3.h']]], + ['glfw_5fcontext_5frevision_52',['GLFW_CONTEXT_REVISION',['../group__window.html#gafb9475071aa77c6fb05ca5a5c8678a08',1,'glfw3.h']]], + ['glfw_5fcontext_5frobustness_53',['GLFW_CONTEXT_ROBUSTNESS',['../group__window.html#gade3593916b4c507900aa2d6844810e00',1,'glfw3.h']]], + ['glfw_5fcontext_5fversion_5fmajor_54',['GLFW_CONTEXT_VERSION_MAJOR',['../group__window.html#gafe5e4922de1f9932d7e9849bb053b0c0',1,'glfw3.h']]], + ['glfw_5fcontext_5fversion_5fminor_55',['GLFW_CONTEXT_VERSION_MINOR',['../group__window.html#ga31aca791e4b538c4e4a771eb95cc2d07',1,'glfw3.h']]], + ['glfw_5fcrosshair_5fcursor_56',['GLFW_CROSSHAIR_CURSOR',['../group__shapes.html#ga8af88c0ea05ab9e8f9ac1530e8873c22',1,'glfw3.h']]], + ['glfw_5fcursor_57',['GLFW_CURSOR',['../glfw3_8h.html#aade31da5b884a84a7625c6b059b9132c',1,'glfw3.h']]], + ['glfw_5fcursor_5fdisabled_58',['GLFW_CURSOR_DISABLED',['../glfw3_8h.html#a2315b99a329ce53e6a13a9d46fd5ca88',1,'glfw3.h']]], + ['glfw_5fcursor_5fhidden_59',['GLFW_CURSOR_HIDDEN',['../glfw3_8h.html#ac4d5cb9d78de8573349c58763d53bf11',1,'glfw3.h']]], + ['glfw_5fcursor_5fnormal_60',['GLFW_CURSOR_NORMAL',['../glfw3_8h.html#ae04dd25c8577e19fa8c97368561f6c68',1,'glfw3.h']]], + ['glfw_5fcursor_5funavailable_61',['GLFW_CURSOR_UNAVAILABLE',['../group__errors.html#ga09d6943923a70ddef3a085f5baee786c',1,'glfw3.h']]], + ['glfw_5fdecorated_62',['GLFW_DECORATED',['../group__window.html#ga21b854d36314c94d65aed84405b2f25e',1,'glfw3.h']]], + ['glfw_5fdepth_5fbits_63',['GLFW_DEPTH_BITS',['../group__window.html#ga318a55eac1fee57dfe593b6d38149d07',1,'glfw3.h']]], + ['glfw_5fdisconnected_64',['GLFW_DISCONNECTED',['../glfw3_8h.html#aab64b25921ef21d89252d6f0a71bfc32',1,'glfw3.h']]], + ['glfw_5fdont_5fcare_65',['GLFW_DONT_CARE',['../glfw3_8h.html#a7a2edf2c18446833d27d07f1b7f3d571',1,'glfw3.h']]], + ['glfw_5fdoublebuffer_66',['GLFW_DOUBLEBUFFER',['../group__window.html#ga714a5d569e8a274ea58fdfa020955339',1,'glfw3.h']]], + ['glfw_5fegl_5fcontext_5fapi_67',['GLFW_EGL_CONTEXT_API',['../glfw3_8h.html#a03cf65c9ab01fc8b872ba58842c531c9',1,'glfw3.h']]], + ['glfw_5ffalse_68',['GLFW_FALSE',['../group__init.html#gac877fe3b627d21ef3a0a23e0a73ba8c5',1,'glfw3.h']]], + ['glfw_5ffeature_5funavailable_69',['GLFW_FEATURE_UNAVAILABLE',['../group__errors.html#ga526fba20a01504a8086c763b6ca53ce5',1,'glfw3.h']]], + ['glfw_5ffeature_5funimplemented_70',['GLFW_FEATURE_UNIMPLEMENTED',['../group__errors.html#ga5dda77e023e83151e8bd55a6758f946a',1,'glfw3.h']]], + ['glfw_5ffloating_71',['GLFW_FLOATING',['../group__window.html#ga7fb0be51407783b41adbf5bec0b09d80',1,'glfw3.h']]], + ['glfw_5ffocus_5fon_5fshow_72',['GLFW_FOCUS_ON_SHOW',['../group__window.html#gafa94b1da34bfd6488c0d709761504dfc',1,'glfw3.h']]], + ['glfw_5ffocused_73',['GLFW_FOCUSED',['../group__window.html#ga54ddb14825a1541a56e22afb5f832a9e',1,'glfw3.h']]], + ['glfw_5fformat_5funavailable_74',['GLFW_FORMAT_UNAVAILABLE',['../group__errors.html#ga196e125ef261d94184e2b55c05762f14',1,'glfw3.h']]], + ['glfw_5fgamepad_5faxis_5flast_75',['GLFW_GAMEPAD_AXIS_LAST',['../group__gamepad__axes.html#ga0818fd9433e1359692b7443293e5ac86',1,'glfw3.h']]], + ['glfw_5fgamepad_5faxis_5fleft_5ftrigger_76',['GLFW_GAMEPAD_AXIS_LEFT_TRIGGER',['../group__gamepad__axes.html#ga6d79561dd8907c37354426242901b86e',1,'glfw3.h']]], + ['glfw_5fgamepad_5faxis_5fleft_5fx_77',['GLFW_GAMEPAD_AXIS_LEFT_X',['../group__gamepad__axes.html#ga544e396d092036a7d80c1e5f233f7a38',1,'glfw3.h']]], + ['glfw_5fgamepad_5faxis_5fleft_5fy_78',['GLFW_GAMEPAD_AXIS_LEFT_Y',['../group__gamepad__axes.html#ga64dcf2c6e9be50b7c556ff7671996dd5',1,'glfw3.h']]], + ['glfw_5fgamepad_5faxis_5fright_5ftrigger_79',['GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER',['../group__gamepad__axes.html#ga121a7d5d20589a423cd1634dd6ee6eab',1,'glfw3.h']]], + ['glfw_5fgamepad_5faxis_5fright_5fx_80',['GLFW_GAMEPAD_AXIS_RIGHT_X',['../group__gamepad__axes.html#gabd6785106cd3c5a044a6e49a395ee2fc',1,'glfw3.h']]], + ['glfw_5fgamepad_5faxis_5fright_5fy_81',['GLFW_GAMEPAD_AXIS_RIGHT_Y',['../group__gamepad__axes.html#ga1cc20566d44d521b7183681a8e88e2e4',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fa_82',['GLFW_GAMEPAD_BUTTON_A',['../group__gamepad__buttons.html#gae055a12fbf4b48b5954c8e1cd129b810',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fb_83',['GLFW_GAMEPAD_BUTTON_B',['../group__gamepad__buttons.html#ga2228a6512fd5950cdb51ba07846546fa',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fback_84',['GLFW_GAMEPAD_BUTTON_BACK',['../group__gamepad__buttons.html#gabc7c0264ce778835b516a472b47f6caf',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fcircle_85',['GLFW_GAMEPAD_BUTTON_CIRCLE',['../group__gamepad__buttons.html#gaaef094b3dacbf15f272b274516839b82',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fcross_86',['GLFW_GAMEPAD_BUTTON_CROSS',['../group__gamepad__buttons.html#gaf08d0df26527c9305253422bd98ed63a',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fdpad_5fdown_87',['GLFW_GAMEPAD_BUTTON_DPAD_DOWN',['../group__gamepad__buttons.html#ga8f2b731b97d80f90f11967a83207665c',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fdpad_5fleft_88',['GLFW_GAMEPAD_BUTTON_DPAD_LEFT',['../group__gamepad__buttons.html#gaf0697e0e8607b2ebe1c93b0c6befe301',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fdpad_5fright_89',['GLFW_GAMEPAD_BUTTON_DPAD_RIGHT',['../group__gamepad__buttons.html#gae2a780d2a8c79e0b77c0b7b601ca57c6',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fdpad_5fup_90',['GLFW_GAMEPAD_BUTTON_DPAD_UP',['../group__gamepad__buttons.html#ga4f1ed6f974a47bc8930d4874a283476a',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fguide_91',['GLFW_GAMEPAD_BUTTON_GUIDE',['../group__gamepad__buttons.html#ga7fa48c32e5b2f5db2f080aa0b8b573dc',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5flast_92',['GLFW_GAMEPAD_BUTTON_LAST',['../group__gamepad__buttons.html#ga5cc98882f4f81dacf761639a567f61eb',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fleft_5fbumper_93',['GLFW_GAMEPAD_BUTTON_LEFT_BUMPER',['../group__gamepad__buttons.html#ga17d67b4f39a39d6b813bd1567a3507c3',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fleft_5fthumb_94',['GLFW_GAMEPAD_BUTTON_LEFT_THUMB',['../group__gamepad__buttons.html#ga3e089787327454f7bfca7364d6ca206a',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fright_5fbumper_95',['GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER',['../group__gamepad__buttons.html#gadfbc9ea9bf3aae896b79fa49fdc85c7f',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fright_5fthumb_96',['GLFW_GAMEPAD_BUTTON_RIGHT_THUMB',['../group__gamepad__buttons.html#ga1c003f52b5aebb45272475b48953b21a',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fsquare_97',['GLFW_GAMEPAD_BUTTON_SQUARE',['../group__gamepad__buttons.html#gafc7821e87d77d41ed2cd3e1f726ec35f',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fstart_98',['GLFW_GAMEPAD_BUTTON_START',['../group__gamepad__buttons.html#ga04606949dd9139434b8a1bedf4ac1021',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5ftriangle_99',['GLFW_GAMEPAD_BUTTON_TRIANGLE',['../group__gamepad__buttons.html#ga3a7ef6bcb768a08cd3bf142f7f09f802',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fx_100',['GLFW_GAMEPAD_BUTTON_X',['../group__gamepad__buttons.html#ga52cc94785cf3fe9a12e246539259887c',1,'glfw3.h']]], + ['glfw_5fgamepad_5fbutton_5fy_101',['GLFW_GAMEPAD_BUTTON_Y',['../group__gamepad__buttons.html#gafc931248bda494b530cbe057f386a5ed',1,'glfw3.h']]], + ['glfw_5fgreen_5fbits_102',['GLFW_GREEN_BITS',['../group__window.html#gafba3b72638c914e5fb8a237dd4c50d4d',1,'glfw3.h']]], + ['glfw_5fhand_5fcursor_103',['GLFW_HAND_CURSOR',['../group__shapes.html#ga1db35e20849e0837c82e3dc1fd797263',1,'glfw3.h']]], + ['glfw_5fhat_5fcentered_104',['GLFW_HAT_CENTERED',['../group__hat__state.html#gae2c0bcb7aec609e4736437554f6638fd',1,'glfw3.h']]], + ['glfw_5fhat_5fdown_105',['GLFW_HAT_DOWN',['../group__hat__state.html#gad60d1fd0dc85c18f2642cbae96d3deff',1,'glfw3.h']]], + ['glfw_5fhat_5fleft_106',['GLFW_HAT_LEFT',['../group__hat__state.html#gac775f4b3154fdf5db93eb432ba546dff',1,'glfw3.h']]], + ['glfw_5fhat_5fleft_5fdown_107',['GLFW_HAT_LEFT_DOWN',['../group__hat__state.html#ga76c02baf1ea345fcbe3e8ff176a73e19',1,'glfw3.h']]], + ['glfw_5fhat_5fleft_5fup_108',['GLFW_HAT_LEFT_UP',['../group__hat__state.html#ga638f0e20dc5de90de21a33564e8ce129',1,'glfw3.h']]], + ['glfw_5fhat_5fright_109',['GLFW_HAT_RIGHT',['../group__hat__state.html#ga252586e3bbde75f4b0e07ad3124867f5',1,'glfw3.h']]], + ['glfw_5fhat_5fright_5fdown_110',['GLFW_HAT_RIGHT_DOWN',['../group__hat__state.html#gad7f0e4f52fd68d734863aaeadab3a3f5',1,'glfw3.h']]], + ['glfw_5fhat_5fright_5fup_111',['GLFW_HAT_RIGHT_UP',['../group__hat__state.html#ga94aea0ae241a8b902883536c592ee693',1,'glfw3.h']]], + ['glfw_5fhat_5fup_112',['GLFW_HAT_UP',['../group__hat__state.html#ga8c9720c76cd1b912738159ed74c85b36',1,'glfw3.h']]], + ['glfw_5fhovered_113',['GLFW_HOVERED',['../group__window.html#ga8665c71c6fa3d22425c6a0e8a3f89d8a',1,'glfw3.h']]], + ['glfw_5fhresize_5fcursor_114',['GLFW_HRESIZE_CURSOR',['../group__shapes.html#gabb3eb0109f11bb808fc34659177ca962',1,'glfw3.h']]], + ['glfw_5fibeam_5fcursor_115',['GLFW_IBEAM_CURSOR',['../group__shapes.html#ga36185f4375eaada1b04e431244774c86',1,'glfw3.h']]], + ['glfw_5ficonified_116',['GLFW_ICONIFIED',['../group__window.html#ga39d44b7c056e55e581355a92d240b58a',1,'glfw3.h']]], + ['glfw_5finvalid_5fenum_117',['GLFW_INVALID_ENUM',['../group__errors.html#ga76f6bb9c4eea73db675f096b404593ce',1,'glfw3.h']]], + ['glfw_5finvalid_5fvalue_118',['GLFW_INVALID_VALUE',['../group__errors.html#gaaf2ef9aa8202c2b82ac2d921e554c687',1,'glfw3.h']]], + ['glfw_5fjoystick_5f1_119',['GLFW_JOYSTICK_1',['../group__joysticks.html#ga34a0443d059e9f22272cd4669073f73d',1,'glfw3.h']]], + ['glfw_5fjoystick_5f10_120',['GLFW_JOYSTICK_10',['../group__joysticks.html#gaef55389ee605d6dfc31aef6fe98c54ec',1,'glfw3.h']]], + ['glfw_5fjoystick_5f11_121',['GLFW_JOYSTICK_11',['../group__joysticks.html#gae7d26e3df447c2c14a569fcc18516af4',1,'glfw3.h']]], + ['glfw_5fjoystick_5f12_122',['GLFW_JOYSTICK_12',['../group__joysticks.html#gab91bbf5b7ca6be8d3ac5c4d89ff48ac7',1,'glfw3.h']]], + ['glfw_5fjoystick_5f13_123',['GLFW_JOYSTICK_13',['../group__joysticks.html#ga5c84fb4e49bf661d7d7c78eb4018c508',1,'glfw3.h']]], + ['glfw_5fjoystick_5f14_124',['GLFW_JOYSTICK_14',['../group__joysticks.html#ga89540873278ae5a42b3e70d64164dc74',1,'glfw3.h']]], + ['glfw_5fjoystick_5f15_125',['GLFW_JOYSTICK_15',['../group__joysticks.html#ga7b02ab70daf7a78bcc942d5d4cc1dcf9',1,'glfw3.h']]], + ['glfw_5fjoystick_5f16_126',['GLFW_JOYSTICK_16',['../group__joysticks.html#ga453edeeabf350827646b6857df4f80ce',1,'glfw3.h']]], + ['glfw_5fjoystick_5f2_127',['GLFW_JOYSTICK_2',['../group__joysticks.html#ga6eab65ec88e65e0850ef8413504cb50c',1,'glfw3.h']]], + ['glfw_5fjoystick_5f3_128',['GLFW_JOYSTICK_3',['../group__joysticks.html#gae6f3eedfeb42424c2f5e3161efb0b654',1,'glfw3.h']]], + ['glfw_5fjoystick_5f4_129',['GLFW_JOYSTICK_4',['../group__joysticks.html#ga97ddbcad02b7f48d74fad4ddb08fff59',1,'glfw3.h']]], + ['glfw_5fjoystick_5f5_130',['GLFW_JOYSTICK_5',['../group__joysticks.html#gae43281bc66d3fa5089fb50c3e7a28695',1,'glfw3.h']]], + ['glfw_5fjoystick_5f6_131',['GLFW_JOYSTICK_6',['../group__joysticks.html#ga74771620aa53bd68a487186dea66fd77',1,'glfw3.h']]], + ['glfw_5fjoystick_5f7_132',['GLFW_JOYSTICK_7',['../group__joysticks.html#ga20a9f4f3aaefed9ea5e66072fc588b87',1,'glfw3.h']]], + ['glfw_5fjoystick_5f8_133',['GLFW_JOYSTICK_8',['../group__joysticks.html#ga21a934c940bcf25db0e4c8fe9b364bdb',1,'glfw3.h']]], + ['glfw_5fjoystick_5f9_134',['GLFW_JOYSTICK_9',['../group__joysticks.html#ga87689d47df0ba6f9f5fcbbcaf7b3cecf',1,'glfw3.h']]], + ['glfw_5fjoystick_5fhat_5fbuttons_135',['GLFW_JOYSTICK_HAT_BUTTONS',['../group__init.html#gab9c0534709fda03ec8959201da3a9a18',1,'glfw3.h']]], + ['glfw_5fjoystick_5flast_136',['GLFW_JOYSTICK_LAST',['../group__joysticks.html#ga9ca13ebf24c331dd98df17d84a4b72c9',1,'glfw3.h']]], + ['glfw_5fkey_5f0_137',['GLFW_KEY_0',['../group__keys.html#ga50391730e9d7112ad4fd42d0bd1597c1',1,'glfw3.h']]], + ['glfw_5fkey_5f1_138',['GLFW_KEY_1',['../group__keys.html#ga05e4cae9ddb8d40cf6d82c8f11f2502f',1,'glfw3.h']]], + ['glfw_5fkey_5f2_139',['GLFW_KEY_2',['../group__keys.html#gadc8e66b3a4c4b5c39ad1305cf852863c',1,'glfw3.h']]], + ['glfw_5fkey_5f3_140',['GLFW_KEY_3',['../group__keys.html#ga812f0273fe1a981e1fa002ae73e92271',1,'glfw3.h']]], + ['glfw_5fkey_5f4_141',['GLFW_KEY_4',['../group__keys.html#ga9e14b6975a9cc8f66cdd5cb3d3861356',1,'glfw3.h']]], + ['glfw_5fkey_5f5_142',['GLFW_KEY_5',['../group__keys.html#ga4d74ddaa5d4c609993b4d4a15736c924',1,'glfw3.h']]], + ['glfw_5fkey_5f6_143',['GLFW_KEY_6',['../group__keys.html#ga9ea4ab80c313a227b14d0a7c6f810b5d',1,'glfw3.h']]], + ['glfw_5fkey_5f7_144',['GLFW_KEY_7',['../group__keys.html#gab79b1cfae7bd630cfc4604c1f263c666',1,'glfw3.h']]], + ['glfw_5fkey_5f8_145',['GLFW_KEY_8',['../group__keys.html#gadeaa109a0f9f5afc94fe4a108e686f6f',1,'glfw3.h']]], + ['glfw_5fkey_5f9_146',['GLFW_KEY_9',['../group__keys.html#ga2924cb5349ebbf97c8987f3521c44f39',1,'glfw3.h']]], + ['glfw_5fkey_5fa_147',['GLFW_KEY_A',['../group__keys.html#ga03e842608e1ea323370889d33b8f70ff',1,'glfw3.h']]], + ['glfw_5fkey_5fapostrophe_148',['GLFW_KEY_APOSTROPHE',['../group__keys.html#ga6059b0b048ba6980b6107fffbd3b4b24',1,'glfw3.h']]], + ['glfw_5fkey_5fb_149',['GLFW_KEY_B',['../group__keys.html#ga8e3fb647ff3aca9e8dbf14fe66332941',1,'glfw3.h']]], + ['glfw_5fkey_5fbackslash_150',['GLFW_KEY_BACKSLASH',['../group__keys.html#gab8155ea99d1ab27ff56f24f8dc73f8d1',1,'glfw3.h']]], + ['glfw_5fkey_5fbackspace_151',['GLFW_KEY_BACKSPACE',['../group__keys.html#ga6c0df1fe2f156bbd5a98c66d76ff3635',1,'glfw3.h']]], + ['glfw_5fkey_5fc_152',['GLFW_KEY_C',['../group__keys.html#ga00ccf3475d9ee2e679480d540d554669',1,'glfw3.h']]], + ['glfw_5fkey_5fcaps_5flock_153',['GLFW_KEY_CAPS_LOCK',['../group__keys.html#ga92c1d2c9d63485f3d70f94f688d48672',1,'glfw3.h']]], + ['glfw_5fkey_5fcomma_154',['GLFW_KEY_COMMA',['../group__keys.html#gab3d5d72e59d3055f494627b0a524926c',1,'glfw3.h']]], + ['glfw_5fkey_5fd_155',['GLFW_KEY_D',['../group__keys.html#ga011f7cdc9a654da984a2506479606933',1,'glfw3.h']]], + ['glfw_5fkey_5fdelete_156',['GLFW_KEY_DELETE',['../group__keys.html#gadb111e4df74b8a715f2c05dad58d2682',1,'glfw3.h']]], + ['glfw_5fkey_5fdown_157',['GLFW_KEY_DOWN',['../group__keys.html#gae2e3958c71595607416aa7bf082be2f9',1,'glfw3.h']]], + ['glfw_5fkey_5fe_158',['GLFW_KEY_E',['../group__keys.html#gabf48fcc3afbe69349df432b470c96ef2',1,'glfw3.h']]], + ['glfw_5fkey_5fend_159',['GLFW_KEY_END',['../group__keys.html#ga86587ea1df19a65978d3e3b8439bedd9',1,'glfw3.h']]], + ['glfw_5fkey_5fenter_160',['GLFW_KEY_ENTER',['../group__keys.html#ga9555a92ecbecdbc1f3435219c571d667',1,'glfw3.h']]], + ['glfw_5fkey_5fequal_161',['GLFW_KEY_EQUAL',['../group__keys.html#gae1a2de47240d6664423c204bdd91bd17',1,'glfw3.h']]], + ['glfw_5fkey_5fescape_162',['GLFW_KEY_ESCAPE',['../group__keys.html#gaac6596c350b635c245113b81c2123b93',1,'glfw3.h']]], + ['glfw_5fkey_5ff_163',['GLFW_KEY_F',['../group__keys.html#ga5df402e02aca08444240058fd9b42a55',1,'glfw3.h']]], + ['glfw_5fkey_5ff1_164',['GLFW_KEY_F1',['../group__keys.html#gafb8d66c573acf22e364049477dcbea30',1,'glfw3.h']]], + ['glfw_5fkey_5ff10_165',['GLFW_KEY_F10',['../group__keys.html#ga718d11d2f7d57471a2f6a894235995b1',1,'glfw3.h']]], + ['glfw_5fkey_5ff11_166',['GLFW_KEY_F11',['../group__keys.html#ga0bc04b11627e7d69339151e7306b2832',1,'glfw3.h']]], + ['glfw_5fkey_5ff12_167',['GLFW_KEY_F12',['../group__keys.html#gaf5908fa9b0a906ae03fc2c61ac7aa3e2',1,'glfw3.h']]], + ['glfw_5fkey_5ff13_168',['GLFW_KEY_F13',['../group__keys.html#gad637f4308655e1001bd6ad942bc0fd4b',1,'glfw3.h']]], + ['glfw_5fkey_5ff14_169',['GLFW_KEY_F14',['../group__keys.html#gaf14c66cff3396e5bd46e803c035e6c1f',1,'glfw3.h']]], + ['glfw_5fkey_5ff15_170',['GLFW_KEY_F15',['../group__keys.html#ga7f70970db6e8be1794da8516a6d14058',1,'glfw3.h']]], + ['glfw_5fkey_5ff16_171',['GLFW_KEY_F16',['../group__keys.html#gaa582dbb1d2ba2050aa1dca0838095b27',1,'glfw3.h']]], + ['glfw_5fkey_5ff17_172',['GLFW_KEY_F17',['../group__keys.html#ga972ce5c365e2394b36104b0e3125c748',1,'glfw3.h']]], + ['glfw_5fkey_5ff18_173',['GLFW_KEY_F18',['../group__keys.html#gaebf6391058d5566601e357edc5ea737c',1,'glfw3.h']]], + ['glfw_5fkey_5ff19_174',['GLFW_KEY_F19',['../group__keys.html#gaec011d9ba044058cb54529da710e9791',1,'glfw3.h']]], + ['glfw_5fkey_5ff2_175',['GLFW_KEY_F2',['../group__keys.html#ga0900750aff94889b940f5e428c07daee',1,'glfw3.h']]], + ['glfw_5fkey_5ff20_176',['GLFW_KEY_F20',['../group__keys.html#ga82b9c721ada04cd5ca8de767da38022f',1,'glfw3.h']]], + ['glfw_5fkey_5ff21_177',['GLFW_KEY_F21',['../group__keys.html#ga356afb14d3440ff2bb378f74f7ebc60f',1,'glfw3.h']]], + ['glfw_5fkey_5ff22_178',['GLFW_KEY_F22',['../group__keys.html#ga90960bd2a155f2b09675324d3dff1565',1,'glfw3.h']]], + ['glfw_5fkey_5ff23_179',['GLFW_KEY_F23',['../group__keys.html#ga43c21099aac10952d1be909a8ddee4d5',1,'glfw3.h']]], + ['glfw_5fkey_5ff24_180',['GLFW_KEY_F24',['../group__keys.html#ga8150374677b5bed3043408732152dea2',1,'glfw3.h']]], + ['glfw_5fkey_5ff25_181',['GLFW_KEY_F25',['../group__keys.html#gaa4bbd93ed73bb4c6ae7d83df880b7199',1,'glfw3.h']]], + ['glfw_5fkey_5ff3_182',['GLFW_KEY_F3',['../group__keys.html#gaed7cd729c0147a551bb8b7bb36c17015',1,'glfw3.h']]], + ['glfw_5fkey_5ff4_183',['GLFW_KEY_F4',['../group__keys.html#ga9b61ebd0c63b44b7332fda2c9763eaa6',1,'glfw3.h']]], + ['glfw_5fkey_5ff5_184',['GLFW_KEY_F5',['../group__keys.html#gaf258dda9947daa428377938ed577c8c2',1,'glfw3.h']]], + ['glfw_5fkey_5ff6_185',['GLFW_KEY_F6',['../group__keys.html#ga6dc2d3f87b9d51ffbbbe2ef0299d8e1d',1,'glfw3.h']]], + ['glfw_5fkey_5ff7_186',['GLFW_KEY_F7',['../group__keys.html#gacca6ef8a2162c52a0ac1d881e8d9c38a',1,'glfw3.h']]], + ['glfw_5fkey_5ff8_187',['GLFW_KEY_F8',['../group__keys.html#gac9d39390336ae14e4a93e295de43c7e8',1,'glfw3.h']]], + ['glfw_5fkey_5ff9_188',['GLFW_KEY_F9',['../group__keys.html#gae40de0de1c9f21cd26c9afa3d7050851',1,'glfw3.h']]], + ['glfw_5fkey_5fg_189',['GLFW_KEY_G',['../group__keys.html#gae74ecddf7cc96104ab23989b1cdab536',1,'glfw3.h']]], + ['glfw_5fkey_5fgrave_5faccent_190',['GLFW_KEY_GRAVE_ACCENT',['../group__keys.html#ga7a3701fb4e2a0b136ff4b568c3c8d668',1,'glfw3.h']]], + ['glfw_5fkey_5fh_191',['GLFW_KEY_H',['../group__keys.html#gad4cc98fc8f35f015d9e2fb94bf136076',1,'glfw3.h']]], + ['glfw_5fkey_5fhome_192',['GLFW_KEY_HOME',['../group__keys.html#ga41452c7287195d481e43207318c126a7',1,'glfw3.h']]], + ['glfw_5fkey_5fi_193',['GLFW_KEY_I',['../group__keys.html#ga274655c8bfe39742684ca393cf8ed093',1,'glfw3.h']]], + ['glfw_5fkey_5finsert_194',['GLFW_KEY_INSERT',['../group__keys.html#ga373ac7365435d6b0eb1068f470e34f47',1,'glfw3.h']]], + ['glfw_5fkey_5fj_195',['GLFW_KEY_J',['../group__keys.html#ga65ff2aedb129a3149ad9cb3e4159a75f',1,'glfw3.h']]], + ['glfw_5fkey_5fk_196',['GLFW_KEY_K',['../group__keys.html#ga4ae8debadf6d2a691badae0b53ea3ba0',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f0_197',['GLFW_KEY_KP_0',['../group__keys.html#ga10515dafc55b71e7683f5b4fedd1c70d',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f1_198',['GLFW_KEY_KP_1',['../group__keys.html#gaf3a29a334402c5eaf0b3439edf5587c3',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f2_199',['GLFW_KEY_KP_2',['../group__keys.html#gaf82d5a802ab8213c72653d7480c16f13',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f3_200',['GLFW_KEY_KP_3',['../group__keys.html#ga7e25ff30d56cd512828c1d4ae8d54ef2',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f4_201',['GLFW_KEY_KP_4',['../group__keys.html#gada7ec86778b85e0b4de0beea72234aea',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f5_202',['GLFW_KEY_KP_5',['../group__keys.html#ga9a5be274434866c51738cafbb6d26b45',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f6_203',['GLFW_KEY_KP_6',['../group__keys.html#gafc141b0f8450519084c01092a3157faa',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f7_204',['GLFW_KEY_KP_7',['../group__keys.html#ga8882f411f05d04ec77a9563974bbfa53',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f8_205',['GLFW_KEY_KP_8',['../group__keys.html#gab2ea2e6a12f89d315045af520ac78cec',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5f9_206',['GLFW_KEY_KP_9',['../group__keys.html#gafb21426b630ed4fcc084868699ba74c1',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fadd_207',['GLFW_KEY_KP_ADD',['../group__keys.html#gad09c7c98acc79e89aa6a0a91275becac',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fdecimal_208',['GLFW_KEY_KP_DECIMAL',['../group__keys.html#ga4e231d968796331a9ea0dbfb98d4005b',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fdivide_209',['GLFW_KEY_KP_DIVIDE',['../group__keys.html#gabca1733780a273d549129ad0f250d1e5',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fenter_210',['GLFW_KEY_KP_ENTER',['../group__keys.html#ga4f728f8738f2986bd63eedd3d412e8cf',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fequal_211',['GLFW_KEY_KP_EQUAL',['../group__keys.html#gaebdc76d4a808191e6d21b7e4ad2acd97',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fmultiply_212',['GLFW_KEY_KP_MULTIPLY',['../group__keys.html#ga9ada267eb0e78ed2ada8701dd24a56ef',1,'glfw3.h']]], + ['glfw_5fkey_5fkp_5fsubtract_213',['GLFW_KEY_KP_SUBTRACT',['../group__keys.html#gaa3dbd60782ff93d6082a124bce1fa236',1,'glfw3.h']]], + ['glfw_5fkey_5fl_214',['GLFW_KEY_L',['../group__keys.html#gaaa8b54a13f6b1eed85ac86f82d550db2',1,'glfw3.h']]], + ['glfw_5fkey_5flast_215',['GLFW_KEY_LAST',['../group__keys.html#ga442cbaef7bfb9a4ba13594dd7fbf2789',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_216',['GLFW_KEY_LEFT',['../group__keys.html#gae12a010d33c309a67ab9460c51eb2462',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5falt_217',['GLFW_KEY_LEFT_ALT',['../group__keys.html#ga7f27dabf63a7789daa31e1c96790219b',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fbracket_218',['GLFW_KEY_LEFT_BRACKET',['../group__keys.html#gad1c8d9adac53925276ecb1d592511d8a',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fcontrol_219',['GLFW_KEY_LEFT_CONTROL',['../group__keys.html#ga9f97b743e81460ac4b2deddecd10a464',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fshift_220',['GLFW_KEY_LEFT_SHIFT',['../group__keys.html#ga8a530a28a65c44ab5d00b759b756d3f6',1,'glfw3.h']]], + ['glfw_5fkey_5fleft_5fsuper_221',['GLFW_KEY_LEFT_SUPER',['../group__keys.html#gafb1207c91997fc295afd1835fbc5641a',1,'glfw3.h']]], + ['glfw_5fkey_5fm_222',['GLFW_KEY_M',['../group__keys.html#ga4d7f0260c82e4ea3d6ebc7a21d6e3716',1,'glfw3.h']]], + ['glfw_5fkey_5fmenu_223',['GLFW_KEY_MENU',['../group__keys.html#ga9845be48a745fc232045c9ec174d8820',1,'glfw3.h']]], + ['glfw_5fkey_5fminus_224',['GLFW_KEY_MINUS',['../group__keys.html#gac556b360f7f6fca4b70ba0aecf313fd4',1,'glfw3.h']]], + ['glfw_5fkey_5fn_225',['GLFW_KEY_N',['../group__keys.html#gae00856dfeb5d13aafebf59d44de5cdda',1,'glfw3.h']]], + ['glfw_5fkey_5fnum_5flock_226',['GLFW_KEY_NUM_LOCK',['../group__keys.html#ga3946edc362aeff213b2be6304296cf43',1,'glfw3.h']]], + ['glfw_5fkey_5fo_227',['GLFW_KEY_O',['../group__keys.html#gaecbbb79130df419d58dd7f09a169efe9',1,'glfw3.h']]], + ['glfw_5fkey_5fp_228',['GLFW_KEY_P',['../group__keys.html#ga8fc15819c1094fb2afa01d84546b33e1',1,'glfw3.h']]], + ['glfw_5fkey_5fpage_5fdown_229',['GLFW_KEY_PAGE_DOWN',['../group__keys.html#gaee0a8fa442001cc2147812f84b59041c',1,'glfw3.h']]], + ['glfw_5fkey_5fpage_5fup_230',['GLFW_KEY_PAGE_UP',['../group__keys.html#ga3ab731f9622f0db280178a5f3cc6d586',1,'glfw3.h']]], + ['glfw_5fkey_5fpause_231',['GLFW_KEY_PAUSE',['../group__keys.html#ga8116b9692d87382afb5849b6d8907f18',1,'glfw3.h']]], + ['glfw_5fkey_5fperiod_232',['GLFW_KEY_PERIOD',['../group__keys.html#ga37e296b650eab419fc474ff69033d927',1,'glfw3.h']]], + ['glfw_5fkey_5fprint_5fscreen_233',['GLFW_KEY_PRINT_SCREEN',['../group__keys.html#gaf964c2e65e97d0cf785a5636ee8df642',1,'glfw3.h']]], + ['glfw_5fkey_5fq_234',['GLFW_KEY_Q',['../group__keys.html#gafdd01e38b120d67cf51e348bb47f3964',1,'glfw3.h']]], + ['glfw_5fkey_5fr_235',['GLFW_KEY_R',['../group__keys.html#ga4ce6c70a0c98c50b3fe4ab9a728d4d36',1,'glfw3.h']]], + ['glfw_5fkey_5fright_236',['GLFW_KEY_RIGHT',['../group__keys.html#ga06ba07662e8c291a4a84535379ffc7ac',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5falt_237',['GLFW_KEY_RIGHT_ALT',['../group__keys.html#ga687b38009131cfdd07a8d05fff8fa446',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fbracket_238',['GLFW_KEY_RIGHT_BRACKET',['../group__keys.html#ga86ef225fd6a66404caae71044cdd58d8',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fcontrol_239',['GLFW_KEY_RIGHT_CONTROL',['../group__keys.html#gad1ca2094b2694e7251d0ab1fd34f8519',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fshift_240',['GLFW_KEY_RIGHT_SHIFT',['../group__keys.html#gaffca36b99c9dce1a19cb9befbadce691',1,'glfw3.h']]], + ['glfw_5fkey_5fright_5fsuper_241',['GLFW_KEY_RIGHT_SUPER',['../group__keys.html#gad4547a3e8e247594acb60423fe6502db',1,'glfw3.h']]], + ['glfw_5fkey_5fs_242',['GLFW_KEY_S',['../group__keys.html#ga1570e2ccaab036ea82bed66fc1dab2a9',1,'glfw3.h']]], + ['glfw_5fkey_5fscroll_5flock_243',['GLFW_KEY_SCROLL_LOCK',['../group__keys.html#gaf622b63b9537f7084c2ab649b8365630',1,'glfw3.h']]], + ['glfw_5fkey_5fsemicolon_244',['GLFW_KEY_SEMICOLON',['../group__keys.html#ga84233de9ee5bb3e8788a5aa07d80af7d',1,'glfw3.h']]], + ['glfw_5fkey_5fslash_245',['GLFW_KEY_SLASH',['../group__keys.html#gadf3d753b2d479148d711de34b83fd0db',1,'glfw3.h']]], + ['glfw_5fkey_5fspace_246',['GLFW_KEY_SPACE',['../group__keys.html#gaddb2c23772b97fd7e26e8ee66f1ad014',1,'glfw3.h']]], + ['glfw_5fkey_5ft_247',['GLFW_KEY_T',['../group__keys.html#ga90e0560422ec7a30e7f3f375bc9f37f9',1,'glfw3.h']]], + ['glfw_5fkey_5ftab_248',['GLFW_KEY_TAB',['../group__keys.html#ga6908a4bda9950a3e2b73f794bbe985df',1,'glfw3.h']]], + ['glfw_5fkey_5fu_249',['GLFW_KEY_U',['../group__keys.html#gacad52f3bf7d378fc0ffa72a76769256d',1,'glfw3.h']]], + ['glfw_5fkey_5funknown_250',['GLFW_KEY_UNKNOWN',['../group__keys.html#ga99aacc875b6b27a072552631e13775c7',1,'glfw3.h']]], + ['glfw_5fkey_5fup_251',['GLFW_KEY_UP',['../group__keys.html#ga2f3342b194020d3544c67e3506b6f144',1,'glfw3.h']]], + ['glfw_5fkey_5fv_252',['GLFW_KEY_V',['../group__keys.html#ga22c7763899ecf7788862e5f90eacce6b',1,'glfw3.h']]], + ['glfw_5fkey_5fw_253',['GLFW_KEY_W',['../group__keys.html#gaa06a712e6202661fc03da5bdb7b6e545',1,'glfw3.h']]], + ['glfw_5fkey_5fworld_5f1_254',['GLFW_KEY_WORLD_1',['../group__keys.html#gadc78dad3dab76bcd4b5c20114052577a',1,'glfw3.h']]], + ['glfw_5fkey_5fworld_5f2_255',['GLFW_KEY_WORLD_2',['../group__keys.html#ga20494bfebf0bb4fc9503afca18ab2c5e',1,'glfw3.h']]], + ['glfw_5fkey_5fx_256',['GLFW_KEY_X',['../group__keys.html#gac1c42c0bf4192cea713c55598b06b744',1,'glfw3.h']]], + ['glfw_5fkey_5fy_257',['GLFW_KEY_Y',['../group__keys.html#gafd9f115a549effdf8e372a787c360313',1,'glfw3.h']]], + ['glfw_5fkey_5fz_258',['GLFW_KEY_Z',['../group__keys.html#gac489e208c26afda8d4938ed88718760a',1,'glfw3.h']]], + ['glfw_5flock_5fkey_5fmods_259',['GLFW_LOCK_KEY_MODS',['../glfw3_8h.html#a07b84de0b52143e1958f88a7d9105947',1,'glfw3.h']]], + ['glfw_5flose_5fcontext_5fon_5freset_260',['GLFW_LOSE_CONTEXT_ON_RESET',['../glfw3_8h.html#aec1132f245143fc915b2f0995228564c',1,'glfw3.h']]], + ['glfw_5fmaximized_261',['GLFW_MAXIMIZED',['../group__window.html#gad8ccb396253ad0b72c6d4c917eb38a03',1,'glfw3.h']]], + ['glfw_5fmod_5falt_262',['GLFW_MOD_ALT',['../group__mods.html#gad2acd5633463c29e07008687ea73c0f4',1,'glfw3.h']]], + ['glfw_5fmod_5fcaps_5flock_263',['GLFW_MOD_CAPS_LOCK',['../group__mods.html#gaefeef8fcf825a6e43e241b337897200f',1,'glfw3.h']]], + ['glfw_5fmod_5fcontrol_264',['GLFW_MOD_CONTROL',['../group__mods.html#ga6ed94871c3208eefd85713fa929d45aa',1,'glfw3.h']]], + ['glfw_5fmod_5fnum_5flock_265',['GLFW_MOD_NUM_LOCK',['../group__mods.html#ga64e020b8a42af8376e944baf61feecbe',1,'glfw3.h']]], + ['glfw_5fmod_5fshift_266',['GLFW_MOD_SHIFT',['../group__mods.html#ga14994d3196c290aaa347248e51740274',1,'glfw3.h']]], + ['glfw_5fmod_5fsuper_267',['GLFW_MOD_SUPER',['../group__mods.html#ga6b64ba10ea0227cf6f42efd0a220aba1',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f1_268',['GLFW_MOUSE_BUTTON_1',['../group__buttons.html#ga181a6e875251fd8671654eff00f9112e',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f2_269',['GLFW_MOUSE_BUTTON_2',['../group__buttons.html#ga604b39b92c88ce9bd332e97fc3f4156c',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f3_270',['GLFW_MOUSE_BUTTON_3',['../group__buttons.html#ga0130d505563d0236a6f85545f19e1721',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f4_271',['GLFW_MOUSE_BUTTON_4',['../group__buttons.html#ga53f4097bb01d5521c7d9513418c91ca9',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f5_272',['GLFW_MOUSE_BUTTON_5',['../group__buttons.html#gaf08c4ddecb051d3d9667db1d5e417c9c',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f6_273',['GLFW_MOUSE_BUTTON_6',['../group__buttons.html#gae8513e06aab8aa393b595f22c6d8257a',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f7_274',['GLFW_MOUSE_BUTTON_7',['../group__buttons.html#ga8b02a1ab55dde45b3a3883d54ffd7dc7',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5f8_275',['GLFW_MOUSE_BUTTON_8',['../group__buttons.html#ga35d5c4263e0dc0d0a4731ca6c562f32c',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5flast_276',['GLFW_MOUSE_BUTTON_LAST',['../group__buttons.html#gab1fd86a4518a9141ec7bcde2e15a2fdf',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5fleft_277',['GLFW_MOUSE_BUTTON_LEFT',['../group__buttons.html#gaf37100431dcd5082d48f95ee8bc8cd56',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5fmiddle_278',['GLFW_MOUSE_BUTTON_MIDDLE',['../group__buttons.html#ga34a4d2a701434f763fd93a2ff842b95a',1,'glfw3.h']]], + ['glfw_5fmouse_5fbutton_5fright_279',['GLFW_MOUSE_BUTTON_RIGHT',['../group__buttons.html#ga3e2f2cf3c4942df73cc094247d275e74',1,'glfw3.h']]], + ['glfw_5fmouse_5fpassthrough_280',['GLFW_MOUSE_PASSTHROUGH',['../group__window.html#ga88981797d29800808ec242274ab5c03a',1,'glfw3.h']]], + ['glfw_5fnative_5fcontext_5fapi_281',['GLFW_NATIVE_CONTEXT_API',['../glfw3_8h.html#a0494c9bfd3f584ab41e6dbeeaa0e6a19',1,'glfw3.h']]], + ['glfw_5fno_5fapi_282',['GLFW_NO_API',['../glfw3_8h.html#a8f6dcdc968d214ff14779564f1389264',1,'glfw3.h']]], + ['glfw_5fno_5fcurrent_5fcontext_283',['GLFW_NO_CURRENT_CONTEXT',['../group__errors.html#gaa8290386e9528ccb9e42a3a4e16fc0d0',1,'glfw3.h']]], + ['glfw_5fno_5ferror_284',['GLFW_NO_ERROR',['../group__errors.html#gafa30deee5db4d69c4c93d116ed87dbf4',1,'glfw3.h']]], + ['glfw_5fno_5freset_5fnotification_285',['GLFW_NO_RESET_NOTIFICATION',['../glfw3_8h.html#aee84a679230d205005e22487ff678a85',1,'glfw3.h']]], + ['glfw_5fno_5frobustness_286',['GLFW_NO_ROBUSTNESS',['../glfw3_8h.html#a8b306cb27f5bb0d6d67c7356a0e0fc34',1,'glfw3.h']]], + ['glfw_5fno_5fwindow_5fcontext_287',['GLFW_NO_WINDOW_CONTEXT',['../group__errors.html#gacff24d2757da752ae4c80bf452356487',1,'glfw3.h']]], + ['glfw_5fnot_5fallowed_5fcursor_288',['GLFW_NOT_ALLOWED_CURSOR',['../group__shapes.html#ga297c503095b034bc8891393b637844b1',1,'glfw3.h']]], + ['glfw_5fnot_5finitialized_289',['GLFW_NOT_INITIALIZED',['../group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a',1,'glfw3.h']]], + ['glfw_5fopengl_5fany_5fprofile_290',['GLFW_OPENGL_ANY_PROFILE',['../glfw3_8h.html#ad6f2335d6f21cc9bab96633b1c111d5f',1,'glfw3.h']]], + ['glfw_5fopengl_5fapi_291',['GLFW_OPENGL_API',['../glfw3_8h.html#a01b3f66db266341425e9abee6b257db2',1,'glfw3.h']]], + ['glfw_5fopengl_5fcompat_5fprofile_292',['GLFW_OPENGL_COMPAT_PROFILE',['../glfw3_8h.html#ac06b663d79c8fcf04669cc8fcc0b7670',1,'glfw3.h']]], + ['glfw_5fopengl_5fcore_5fprofile_293',['GLFW_OPENGL_CORE_PROFILE',['../glfw3_8h.html#af094bb16da76f66ebceb19ee213b3de8',1,'glfw3.h']]], + ['glfw_5fopengl_5fdebug_5fcontext_294',['GLFW_OPENGL_DEBUG_CONTEXT',['../group__window.html#ga87ec2df0b915201e950ca42d5d0831e1',1,'glfw3.h']]], + ['glfw_5fopengl_5fes_5fapi_295',['GLFW_OPENGL_ES_API',['../glfw3_8h.html#a28d9b3bc6c2a522d815c8e146595051f',1,'glfw3.h']]], + ['glfw_5fopengl_5fforward_5fcompat_296',['GLFW_OPENGL_FORWARD_COMPAT',['../group__window.html#ga13d24b12465da8b28985f46c8557925b',1,'glfw3.h']]], + ['glfw_5fopengl_5fprofile_297',['GLFW_OPENGL_PROFILE',['../group__window.html#ga44f3a6b4261fbe351e0b950b0f372e12',1,'glfw3.h']]], + ['glfw_5fosmesa_5fcontext_5fapi_298',['GLFW_OSMESA_CONTEXT_API',['../glfw3_8h.html#afd34a473af9fa81f317910ea371b19e3',1,'glfw3.h']]], + ['glfw_5fout_5fof_5fmemory_299',['GLFW_OUT_OF_MEMORY',['../group__errors.html#ga9023953a2bcb98c2906afd071d21ee7f',1,'glfw3.h']]], + ['glfw_5fplatform_5ferror_300',['GLFW_PLATFORM_ERROR',['../group__errors.html#gad44162d78100ea5e87cdd38426b8c7a1',1,'glfw3.h']]], + ['glfw_5fpointing_5fhand_5fcursor_301',['GLFW_POINTING_HAND_CURSOR',['../group__shapes.html#gaad01a50929fb515bf27e4462c51f6ed0',1,'glfw3.h']]], + ['glfw_5fpress_302',['GLFW_PRESS',['../group__input.html#ga2485743d0b59df3791c45951c4195265',1,'glfw3.h']]], + ['glfw_5fraw_5fmouse_5fmotion_303',['GLFW_RAW_MOUSE_MOTION',['../glfw3_8h.html#aeeda1be76a44a1fc97c1282e06281fbb',1,'glfw3.h']]], + ['glfw_5fred_5fbits_304',['GLFW_RED_BITS',['../group__window.html#gaf78ed8e417dbcc1e354906cc2708c982',1,'glfw3.h']]], + ['glfw_5frefresh_5frate_305',['GLFW_REFRESH_RATE',['../group__window.html#ga0f20825e6e47ee8ba389024519682212',1,'glfw3.h']]], + ['glfw_5frelease_306',['GLFW_RELEASE',['../group__input.html#gada11d965c4da13090ad336e030e4d11f',1,'glfw3.h']]], + ['glfw_5frelease_5fbehavior_5fflush_307',['GLFW_RELEASE_BEHAVIOR_FLUSH',['../glfw3_8h.html#a999961d391db49cb4f949c1dece0e13b',1,'glfw3.h']]], + ['glfw_5frelease_5fbehavior_5fnone_308',['GLFW_RELEASE_BEHAVIOR_NONE',['../glfw3_8h.html#afca09088eccacdce4b59036cfae349c5',1,'glfw3.h']]], + ['glfw_5frepeat_309',['GLFW_REPEAT',['../group__input.html#gac96fd3b9fc66c6f0eebaf6532595338f',1,'glfw3.h']]], + ['glfw_5fresizable_310',['GLFW_RESIZABLE',['../group__window.html#gadba13c7a1b3aa40831eb2beedbd5bd1d',1,'glfw3.h']]], + ['glfw_5fresize_5fall_5fcursor_311',['GLFW_RESIZE_ALL_CURSOR',['../group__shapes.html#ga3a5f4811155f95ccafbbb4c9a899fc1d',1,'glfw3.h']]], + ['glfw_5fresize_5few_5fcursor_312',['GLFW_RESIZE_EW_CURSOR',['../group__shapes.html#ga2010a43dc1050a7c9154148a63cf01ad',1,'glfw3.h']]], + ['glfw_5fresize_5fnesw_5fcursor_313',['GLFW_RESIZE_NESW_CURSOR',['../group__shapes.html#gab06bba3b407f92807ba9b48de667a323',1,'glfw3.h']]], + ['glfw_5fresize_5fns_5fcursor_314',['GLFW_RESIZE_NS_CURSOR',['../group__shapes.html#gaa59214e8cdc8c8adf08fdf125ed68388',1,'glfw3.h']]], + ['glfw_5fresize_5fnwse_5fcursor_315',['GLFW_RESIZE_NWSE_CURSOR',['../group__shapes.html#gadf2c0a495ec9cef4e1a364cc99aa78da',1,'glfw3.h']]], + ['glfw_5fsamples_316',['GLFW_SAMPLES',['../group__window.html#ga2cdf86fdcb7722fb8829c4e201607535',1,'glfw3.h']]], + ['glfw_5fscale_5fto_5fmonitor_317',['GLFW_SCALE_TO_MONITOR',['../group__window.html#ga620bc4280c7eab81ac9f02204500ed47',1,'glfw3.h']]], + ['glfw_5fsrgb_5fcapable_318',['GLFW_SRGB_CAPABLE',['../group__window.html#ga444a8f00414a63220591f9fdb7b5642b',1,'glfw3.h']]], + ['glfw_5fstencil_5fbits_319',['GLFW_STENCIL_BITS',['../group__window.html#ga5339890a45a1fb38e93cb9fcc5fd069d',1,'glfw3.h']]], + ['glfw_5fstereo_320',['GLFW_STEREO',['../group__window.html#ga83d991efca02537e2d69969135b77b03',1,'glfw3.h']]], + ['glfw_5fsticky_5fkeys_321',['GLFW_STICKY_KEYS',['../glfw3_8h.html#ae3bbe2315b7691ab088159eb6c9110fc',1,'glfw3.h']]], + ['glfw_5fsticky_5fmouse_5fbuttons_322',['GLFW_STICKY_MOUSE_BUTTONS',['../glfw3_8h.html#a4d7ce8ce71030c3b04e2b78145bc59d1',1,'glfw3.h']]], + ['glfw_5ftransparent_5fframebuffer_323',['GLFW_TRANSPARENT_FRAMEBUFFER',['../group__window.html#ga60a0578c3b9449027d683a9c6abb9f14',1,'glfw3.h']]], + ['glfw_5ftrue_324',['GLFW_TRUE',['../group__init.html#ga2744fbb29b5631bb28802dbe0cf36eba',1,'glfw3.h']]], + ['glfw_5fversion_5fmajor_325',['GLFW_VERSION_MAJOR',['../group__init.html#ga6337d9ea43b22fc529b2bba066b4a576',1,'glfw3.h']]], + ['glfw_5fversion_5fminor_326',['GLFW_VERSION_MINOR',['../group__init.html#gaf80d40f0aea7088ff337606e9c48f7a3',1,'glfw3.h']]], + ['glfw_5fversion_5frevision_327',['GLFW_VERSION_REVISION',['../group__init.html#gab72ae2e2035d9ea461abc3495eac0502',1,'glfw3.h']]], + ['glfw_5fversion_5funavailable_328',['GLFW_VERSION_UNAVAILABLE',['../group__errors.html#gad16c5565b4a69f9c2a9ac2c0dbc89462',1,'glfw3.h']]], + ['glfw_5fvisible_329',['GLFW_VISIBLE',['../group__window.html#gafb3cdc45297e06d8f1eb13adc69ca6c4',1,'glfw3.h']]], + ['glfw_5fvresize_5fcursor_330',['GLFW_VRESIZE_CURSOR',['../group__shapes.html#gaf024f0e1ff8366fb2b5c260509a1fce5',1,'glfw3.h']]], + ['glfw_5fwin32_5fkeyboard_5fmenu_331',['GLFW_WIN32_KEYBOARD_MENU',['../group__window.html#gaf65ea8dafdc0edb07b821b9a336d5043',1,'glfw3.h']]], + ['glfw_5fx11_5fclass_5fname_332',['GLFW_X11_CLASS_NAME',['../group__window.html#gae5a9ea2fccccd92edbd343fc56461114',1,'glfw3.h']]], + ['glfw_5fx11_5finstance_5fname_333',['GLFW_X11_INSTANCE_NAME',['../group__window.html#ga494c3c0d911e4b860b946530a3e389e8',1,'glfw3.h']]], + ['glfwcharfun_334',['GLFWcharfun',['../group__input.html#ga2c4c70bfb3fb990182a4591cd21a374d',1,'glfw3.h']]], + ['glfwcharmodsfun_335',['GLFWcharmodsfun',['../group__input.html#ga78c3d45fdf9aaef0b8d670bf2a9519e2',1,'glfw3.h']]], + ['glfwcreatecursor_336',['glfwCreateCursor',['../group__input.html#gafca356935e10135016aa49ffa464c355',1,'glfw3.h']]], + ['glfwcreatestandardcursor_337',['glfwCreateStandardCursor',['../group__input.html#gaa65f416d03ebbbb5b8db71a489fcb894',1,'glfw3.h']]], + ['glfwcreatewindow_338',['glfwCreateWindow',['../group__window.html#ga5c336fddf2cbb5b92f65f10fb6043344',1,'glfw3.h']]], + ['glfwcreatewindowsurface_339',['glfwCreateWindowSurface',['../group__vulkan.html#ga1a24536bec3f80b08ead18e28e6ae965',1,'glfw3.h']]], + ['glfwcursor_340',['GLFWcursor',['../group__input.html#ga89261ae18c75e863aaf2656ecdd238f4',1,'glfw3.h']]], + ['glfwcursorenterfun_341',['GLFWcursorenterfun',['../group__input.html#ga945bb284410b64c49ecc50195692720a',1,'glfw3.h']]], + ['glfwcursorposfun_342',['GLFWcursorposfun',['../group__input.html#ga081a67dfb879e14707a5abd7de242b8a',1,'glfw3.h']]], + ['glfwdefaultwindowhints_343',['glfwDefaultWindowHints',['../group__window.html#gaa77c4898dfb83344a6b4f76aa16b9a4a',1,'glfw3.h']]], + ['glfwdestroycursor_344',['glfwDestroyCursor',['../group__input.html#ga81b952cd1764274d0db7fb3c5a79ba6a',1,'glfw3.h']]], + ['glfwdestroywindow_345',['glfwDestroyWindow',['../group__window.html#gacdf43e51376051d2c091662e9fe3d7b2',1,'glfw3.h']]], + ['glfwdropfun_346',['GLFWdropfun',['../group__input.html#ga76a7371bc7edc035212b86ce85390fd2',1,'glfw3.h']]], + ['glfwerrorfun_347',['GLFWerrorfun',['../group__init.html#gaa684e3f8b44b6a35000119d524d49e6d',1,'glfw3.h']]], + ['glfwextensionsupported_348',['glfwExtensionSupported',['../group__context.html#ga87425065c011cef1ebd6aac75e059dfa',1,'glfw3.h']]], + ['glfwfocuswindow_349',['glfwFocusWindow',['../group__window.html#ga873780357abd3f3a081d71a40aae45a1',1,'glfw3.h']]], + ['glfwframebuffersizefun_350',['GLFWframebuffersizefun',['../group__window.html#ga54302eebe2f81518a544723a1d805388',1,'glfw3.h']]], + ['glfwgamepadstate_351',['GLFWgamepadstate',['../structGLFWgamepadstate.html',1,'GLFWgamepadstate'],['../group__input.html#ga61acfb1f28f751438dd221225c5e725d',1,'GLFWgamepadstate(): glfw3.h']]], + ['glfwgammaramp_352',['GLFWgammaramp',['../structGLFWgammaramp.html',1,'GLFWgammaramp'],['../group__monitor.html#ga939cf093cb0af0498b7b54dc2e181404',1,'GLFWgammaramp(): glfw3.h']]], + ['glfwgetclipboardstring_353',['glfwGetClipboardString',['../group__input.html#ga5aba1d704d9ab539282b1fbe9f18bb94',1,'glfw3.h']]], + ['glfwgetcocoamonitor_354',['glfwGetCocoaMonitor',['../group__native.html#gaf22f429aec4b1aab316142d66d9be3e6',1,'glfw3native.h']]], + ['glfwgetcocoawindow_355',['glfwGetCocoaWindow',['../group__native.html#gac3ed9d495d0c2bb9652de5a50c648715',1,'glfw3native.h']]], + ['glfwgetcurrentcontext_356',['glfwGetCurrentContext',['../group__context.html#gac84759b1f6c2d271a4fea8ae89ec980d',1,'glfw3.h']]], + ['glfwgetcursorpos_357',['glfwGetCursorPos',['../group__input.html#ga01d37b6c40133676b9cea60ca1d7c0cc',1,'glfw3.h']]], + ['glfwgeteglcontext_358',['glfwGetEGLContext',['../group__native.html#ga671c5072becd085f4ab5771a9c8efcf1',1,'glfw3native.h']]], + ['glfwgetegldisplay_359',['glfwGetEGLDisplay',['../group__native.html#ga1cd8d973f47aacb5532d368147cc3138',1,'glfw3native.h']]], + ['glfwgeteglsurface_360',['glfwGetEGLSurface',['../group__native.html#ga2199b36117a6a695fec8441d8052eee6',1,'glfw3native.h']]], + ['glfwgeterror_361',['glfwGetError',['../group__init.html#ga944986b4ec0b928d488141f92982aa18',1,'glfw3.h']]], + ['glfwgetframebuffersize_362',['glfwGetFramebufferSize',['../group__window.html#ga0e2637a4161afb283f5300c7f94785c9',1,'glfw3.h']]], + ['glfwgetgamepadname_363',['glfwGetGamepadName',['../group__input.html#ga5c71e3533b2d384db9317fcd7661b210',1,'glfw3.h']]], + ['glfwgetgamepadstate_364',['glfwGetGamepadState',['../group__input.html#gadccddea8bce6113fa459de379ddaf051',1,'glfw3.h']]], + ['glfwgetgammaramp_365',['glfwGetGammaRamp',['../group__monitor.html#gab7c41deb2219bde3e1eb756ddaa9ec80',1,'glfw3.h']]], + ['glfwgetglxcontext_366',['glfwGetGLXContext',['../group__native.html#ga62d884114b0abfcdc2930e89f20867e2',1,'glfw3native.h']]], + ['glfwgetglxwindow_367',['glfwGetGLXWindow',['../group__native.html#ga1ed27b8766e859a21381e8f8ce18d049',1,'glfw3native.h']]], + ['glfwgetinputmode_368',['glfwGetInputMode',['../group__input.html#gaf5b859dbe19bdf434e42695ea45cc5f4',1,'glfw3.h']]], + ['glfwgetinstanceprocaddress_369',['glfwGetInstanceProcAddress',['../group__vulkan.html#gadf228fac94c5fd8f12423ec9af9ff1e9',1,'glfw3.h']]], + ['glfwgetjoystickaxes_370',['glfwGetJoystickAxes',['../group__input.html#gaa8806536731e92c061bc70bcff6edbd0',1,'glfw3.h']]], + ['glfwgetjoystickbuttons_371',['glfwGetJoystickButtons',['../group__input.html#gadb3cbf44af90a1536f519659a53bddd6',1,'glfw3.h']]], + ['glfwgetjoystickguid_372',['glfwGetJoystickGUID',['../group__input.html#gae168c2c0b8cf2a1cb67c6b3c00bdd543',1,'glfw3.h']]], + ['glfwgetjoystickhats_373',['glfwGetJoystickHats',['../group__input.html#ga2d8d0634bb81c180899aeb07477a67ea',1,'glfw3.h']]], + ['glfwgetjoystickname_374',['glfwGetJoystickName',['../group__input.html#gafbe3e51f670320908cfe4e20d3e5559e',1,'glfw3.h']]], + ['glfwgetjoystickuserpointer_375',['glfwGetJoystickUserPointer',['../group__input.html#ga06290acb7ed23895bf26b8e981827ebd',1,'glfw3.h']]], + ['glfwgetkey_376',['glfwGetKey',['../group__input.html#gadd341da06bc8d418b4dc3a3518af9ad2',1,'glfw3.h']]], + ['glfwgetkeyname_377',['glfwGetKeyName',['../group__input.html#ga237a182e5ec0b21ce64543f3b5e7e2be',1,'glfw3.h']]], + ['glfwgetkeyscancode_378',['glfwGetKeyScancode',['../group__input.html#ga67ddd1b7dcbbaff03e4a76c0ea67103a',1,'glfw3.h']]], + ['glfwgetmonitorcontentscale_379',['glfwGetMonitorContentScale',['../group__monitor.html#gad3152e84465fa620b601265ebfcdb21b',1,'glfw3.h']]], + ['glfwgetmonitorname_380',['glfwGetMonitorName',['../group__monitor.html#ga79a34ee22ff080ca954a9663e4679daf',1,'glfw3.h']]], + ['glfwgetmonitorphysicalsize_381',['glfwGetMonitorPhysicalSize',['../group__monitor.html#ga7d8bffc6c55539286a6bd20d32a8d7ea',1,'glfw3.h']]], + ['glfwgetmonitorpos_382',['glfwGetMonitorPos',['../group__monitor.html#ga102f54e7acc9149edbcf0997152df8c9',1,'glfw3.h']]], + ['glfwgetmonitors_383',['glfwGetMonitors',['../group__monitor.html#ga3fba51c8bd36491d4712aa5bd074a537',1,'glfw3.h']]], + ['glfwgetmonitoruserpointer_384',['glfwGetMonitorUserPointer',['../group__monitor.html#gac2d4209016b049222877f620010ed0d8',1,'glfw3.h']]], + ['glfwgetmonitorworkarea_385',['glfwGetMonitorWorkarea',['../group__monitor.html#ga7387a3bdb64bfe8ebf2b9e54f5b6c9d0',1,'glfw3.h']]], + ['glfwgetmousebutton_386',['glfwGetMouseButton',['../group__input.html#gac1473feacb5996c01a7a5a33b5066704',1,'glfw3.h']]], + ['glfwgetnsglcontext_387',['glfwGetNSGLContext',['../group__native.html#ga559e002e3cd63c979881770cd4dc63bc',1,'glfw3native.h']]], + ['glfwgetosmesacolorbuffer_388',['glfwGetOSMesaColorBuffer',['../group__native.html#ga3b36e3e3dcf308b776427b6bd73cc132',1,'glfw3native.h']]], + ['glfwgetosmesacontext_389',['glfwGetOSMesaContext',['../group__native.html#ga9e47700080094eb569cb053afaa88773',1,'glfw3native.h']]], + ['glfwgetosmesadepthbuffer_390',['glfwGetOSMesaDepthBuffer',['../group__native.html#ga6b64039ffc88a7a2f57f0956c0c75d53',1,'glfw3native.h']]], + ['glfwgetphysicaldevicepresentationsupport_391',['glfwGetPhysicalDevicePresentationSupport',['../group__vulkan.html#gaff3823355cdd7e2f3f9f4d9ea9518d92',1,'glfw3.h']]], + ['glfwgetprimarymonitor_392',['glfwGetPrimaryMonitor',['../group__monitor.html#ga721867d84c6d18d6790d64d2847ca0b1',1,'glfw3.h']]], + ['glfwgetprocaddress_393',['glfwGetProcAddress',['../group__context.html#ga35f1837e6f666781842483937612f163',1,'glfw3.h']]], + ['glfwgetrequiredinstanceextensions_394',['glfwGetRequiredInstanceExtensions',['../group__vulkan.html#ga1abcbe61033958f22f63ef82008874b1',1,'glfw3.h']]], + ['glfwgettime_395',['glfwGetTime',['../group__input.html#gaa6cf4e7a77158a3b8fd00328b1720a4a',1,'glfw3.h']]], + ['glfwgettimerfrequency_396',['glfwGetTimerFrequency',['../group__input.html#ga3289ee876572f6e91f06df3a24824443',1,'glfw3.h']]], + ['glfwgettimervalue_397',['glfwGetTimerValue',['../group__input.html#ga09b2bd37d328e0b9456c7ec575cc26aa',1,'glfw3.h']]], + ['glfwgetversion_398',['glfwGetVersion',['../group__init.html#ga9f8ffaacf3c269cc48eafbf8b9b71197',1,'glfw3.h']]], + ['glfwgetversionstring_399',['glfwGetVersionString',['../group__init.html#ga23d47dc013fce2bf58036da66079a657',1,'glfw3.h']]], + ['glfwgetvideomode_400',['glfwGetVideoMode',['../group__monitor.html#gafc1bb972a921ad5b3bd5d63a95fc2d52',1,'glfw3.h']]], + ['glfwgetvideomodes_401',['glfwGetVideoModes',['../group__monitor.html#ga820b0ce9a5237d645ea7cbb4bd383458',1,'glfw3.h']]], + ['glfwgetwaylanddisplay_402',['glfwGetWaylandDisplay',['../group__native.html#gaaf8118a3c877f3a6bc8e7a649519de5e',1,'glfw3native.h']]], + ['glfwgetwaylandmonitor_403',['glfwGetWaylandMonitor',['../group__native.html#gab10427a667b6cd91eec7709f7a906bd3',1,'glfw3native.h']]], + ['glfwgetwaylandwindow_404',['glfwGetWaylandWindow',['../group__native.html#ga4738d7aca4191363519a9a641c3ab64c',1,'glfw3native.h']]], + ['glfwgetwglcontext_405',['glfwGetWGLContext',['../group__native.html#gadc4010d91d9cc1134d040eeb1202a143',1,'glfw3native.h']]], + ['glfwgetwin32adapter_406',['glfwGetWin32Adapter',['../group__native.html#gac84f63a3f9db145b9435e5e0dbc4183d',1,'glfw3native.h']]], + ['glfwgetwin32monitor_407',['glfwGetWin32Monitor',['../group__native.html#gac408b09a330749402d5d1fa1f5894dd9',1,'glfw3native.h']]], + ['glfwgetwin32window_408',['glfwGetWin32Window',['../group__native.html#gafe5079aa79038b0079fc09d5f0a8e667',1,'glfw3native.h']]], + ['glfwgetwindowattrib_409',['glfwGetWindowAttrib',['../group__window.html#gacccb29947ea4b16860ebef42c2cb9337',1,'glfw3.h']]], + ['glfwgetwindowcontentscale_410',['glfwGetWindowContentScale',['../group__window.html#gaf5d31de9c19c4f994facea64d2b3106c',1,'glfw3.h']]], + ['glfwgetwindowframesize_411',['glfwGetWindowFrameSize',['../group__window.html#ga1a9fd382058c53101b21cf211898f1f1',1,'glfw3.h']]], + ['glfwgetwindowmonitor_412',['glfwGetWindowMonitor',['../group__window.html#gaeac25e64789974ccbe0811766bd91a16',1,'glfw3.h']]], + ['glfwgetwindowopacity_413',['glfwGetWindowOpacity',['../group__window.html#gad09f0bd7a6307c4533b7061828480a84',1,'glfw3.h']]], + ['glfwgetwindowpos_414',['glfwGetWindowPos',['../group__window.html#ga73cb526c000876fd8ddf571570fdb634',1,'glfw3.h']]], + ['glfwgetwindowsize_415',['glfwGetWindowSize',['../group__window.html#gaeea7cbc03373a41fb51cfbf9f2a5d4c6',1,'glfw3.h']]], + ['glfwgetwindowuserpointer_416',['glfwGetWindowUserPointer',['../group__window.html#ga17807ce0f45ac3f8bb50d6dcc59a4e06',1,'glfw3.h']]], + ['glfwgetx11adapter_417',['glfwGetX11Adapter',['../group__native.html#ga088fbfa80f50569402b41be71ad66e40',1,'glfw3native.h']]], + ['glfwgetx11display_418',['glfwGetX11Display',['../group__native.html#ga8519b66594ea3ef6eeafaa2e3ee37406',1,'glfw3native.h']]], + ['glfwgetx11monitor_419',['glfwGetX11Monitor',['../group__native.html#gab2f8cc043905e9fa9b12bfdbbcfe874c',1,'glfw3native.h']]], + ['glfwgetx11selectionstring_420',['glfwGetX11SelectionString',['../group__native.html#ga72f23e3980b83788c70aa854eca31430',1,'glfw3native.h']]], + ['glfwgetx11window_421',['glfwGetX11Window',['../group__native.html#ga90ca676322740842db446999a1b1f21d',1,'glfw3native.h']]], + ['glfwglproc_422',['GLFWglproc',['../group__context.html#ga3d47c2d2fbe0be9c505d0e04e91a133c',1,'glfw3.h']]], + ['glfwhidewindow_423',['glfwHideWindow',['../group__window.html#ga49401f82a1ba5f15db5590728314d47c',1,'glfw3.h']]], + ['glfwiconifywindow_424',['glfwIconifyWindow',['../group__window.html#ga1bb559c0ebaad63c5c05ad2a066779c4',1,'glfw3.h']]], + ['glfwimage_425',['GLFWimage',['../structGLFWimage.html',1,'GLFWimage'],['../group__window.html#ga7cc0a09de172fa7250872046f8c4d2ca',1,'GLFWimage(): glfw3.h']]], + ['glfwinit_426',['glfwInit',['../group__init.html#ga317aac130a235ab08c6db0834907d85e',1,'glfw3.h']]], + ['glfwinithint_427',['glfwInitHint',['../group__init.html#ga110fd1d3f0412822b4f1908c026f724a',1,'glfw3.h']]], + ['glfwjoystickfun_428',['GLFWjoystickfun',['../group__input.html#gafc05b099b23b3b23a992bdf6d77c191a',1,'glfw3.h']]], + ['glfwjoystickisgamepad_429',['glfwJoystickIsGamepad',['../group__input.html#gad0f676860f329d80f7e47e9f06a96f00',1,'glfw3.h']]], + ['glfwjoystickpresent_430',['glfwJoystickPresent',['../group__input.html#gaed0966cee139d815317f9ffcba64c9f1',1,'glfw3.h']]], + ['glfwkeyfun_431',['GLFWkeyfun',['../group__input.html#ga9c6c9d019ac11d888e45b11b14772659',1,'glfw3.h']]], + ['glfwmakecontextcurrent_432',['glfwMakeContextCurrent',['../group__context.html#ga1c04dc242268f827290fe40aa1c91157',1,'glfw3.h']]], + ['glfwmaximizewindow_433',['glfwMaximizeWindow',['../group__window.html#ga3f541387449d911274324ae7f17ec56b',1,'glfw3.h']]], + ['glfwmonitor_434',['GLFWmonitor',['../group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3',1,'glfw3.h']]], + ['glfwmonitorfun_435',['GLFWmonitorfun',['../group__monitor.html#gacc7165513fd258601c4cb763c1369693',1,'glfw3.h']]], + ['glfwmousebuttonfun_436',['GLFWmousebuttonfun',['../group__input.html#gac4312f2199caa15988cebb59ec530373',1,'glfw3.h']]], + ['glfwpollevents_437',['glfwPollEvents',['../group__window.html#ga37bd57223967b4211d60ca1a0bf3c832',1,'glfw3.h']]], + ['glfwpostemptyevent_438',['glfwPostEmptyEvent',['../group__window.html#gab5997a25187e9fd5c6f2ecbbc8dfd7e9',1,'glfw3.h']]], + ['glfwrawmousemotionsupported_439',['glfwRawMouseMotionSupported',['../group__input.html#gae4ee0dbd0d256183e1ea4026d897e1c2',1,'glfw3.h']]], + ['glfwrequestwindowattention_440',['glfwRequestWindowAttention',['../group__window.html#ga2f8d59323fc4692c1d54ba08c863a703',1,'glfw3.h']]], + ['glfwrestorewindow_441',['glfwRestoreWindow',['../group__window.html#ga52527a5904b47d802b6b4bb519cdebc7',1,'glfw3.h']]], + ['glfwscrollfun_442',['GLFWscrollfun',['../group__input.html#ga077345c3a10d906b2b3f2d550ae02971',1,'glfw3.h']]], + ['glfwsetcharcallback_443',['glfwSetCharCallback',['../group__input.html#gab25c4a220fd8f5717718dbc487828996',1,'glfw3.h']]], + ['glfwsetcharmodscallback_444',['glfwSetCharModsCallback',['../group__input.html#ga0b7f4ad13c2b17435ff13b6dcfb4e43c',1,'glfw3.h']]], + ['glfwsetclipboardstring_445',['glfwSetClipboardString',['../group__input.html#gaba1f022c5eb07dfac421df34cdcd31dd',1,'glfw3.h']]], + ['glfwsetcursor_446',['glfwSetCursor',['../group__input.html#gad3b4f38c8d5dae036bc8fa959e18343e',1,'glfw3.h']]], + ['glfwsetcursorentercallback_447',['glfwSetCursorEnterCallback',['../group__input.html#gad27f8ad0142c038a281466c0966817d8',1,'glfw3.h']]], + ['glfwsetcursorpos_448',['glfwSetCursorPos',['../group__input.html#ga04b03af936d906ca123c8f4ee08b39e7',1,'glfw3.h']]], + ['glfwsetcursorposcallback_449',['glfwSetCursorPosCallback',['../group__input.html#gac1f879ab7435d54d4d79bb469fe225d7',1,'glfw3.h']]], + ['glfwsetdropcallback_450',['glfwSetDropCallback',['../group__input.html#gab773f0ee0a07cff77a210cea40bc1f6b',1,'glfw3.h']]], + ['glfwseterrorcallback_451',['glfwSetErrorCallback',['../group__init.html#gaff45816610d53f0b83656092a4034f40',1,'glfw3.h']]], + ['glfwsetframebuffersizecallback_452',['glfwSetFramebufferSizeCallback',['../group__window.html#gab3fb7c3366577daef18c0023e2a8591f',1,'glfw3.h']]], + ['glfwsetgamma_453',['glfwSetGamma',['../group__monitor.html#ga6ac582625c990220785ddd34efa3169a',1,'glfw3.h']]], + ['glfwsetgammaramp_454',['glfwSetGammaRamp',['../group__monitor.html#ga583f0ffd0d29613d8cd172b996bbf0dd',1,'glfw3.h']]], + ['glfwsetinputmode_455',['glfwSetInputMode',['../group__input.html#gaa92336e173da9c8834558b54ee80563b',1,'glfw3.h']]], + ['glfwsetjoystickcallback_456',['glfwSetJoystickCallback',['../group__input.html#ga2f60a0e5b7bd8d1b7344dc0a7cb32b4c',1,'glfw3.h']]], + ['glfwsetjoystickuserpointer_457',['glfwSetJoystickUserPointer',['../group__input.html#ga6b2f72d64d636b48a727b437cbb7489e',1,'glfw3.h']]], + ['glfwsetkeycallback_458',['glfwSetKeyCallback',['../group__input.html#ga1caf18159767e761185e49a3be019f8d',1,'glfw3.h']]], + ['glfwsetmonitorcallback_459',['glfwSetMonitorCallback',['../group__monitor.html#gab39df645587c8518192aa746c2fb06c3',1,'glfw3.h']]], + ['glfwsetmonitoruserpointer_460',['glfwSetMonitorUserPointer',['../group__monitor.html#ga702750e24313a686d3637297b6e85fda',1,'glfw3.h']]], + ['glfwsetmousebuttoncallback_461',['glfwSetMouseButtonCallback',['../group__input.html#ga6ab84420974d812bee700e45284a723c',1,'glfw3.h']]], + ['glfwsetscrollcallback_462',['glfwSetScrollCallback',['../group__input.html#ga571e45a030ae4061f746ed56cb76aede',1,'glfw3.h']]], + ['glfwsettime_463',['glfwSetTime',['../group__input.html#gaf59589ef6e8b8c8b5ad184b25afd4dc0',1,'glfw3.h']]], + ['glfwsetwindowaspectratio_464',['glfwSetWindowAspectRatio',['../group__window.html#ga72ac8cb1ee2e312a878b55153d81b937',1,'glfw3.h']]], + ['glfwsetwindowattrib_465',['glfwSetWindowAttrib',['../group__window.html#gace2afda29b4116ec012e410a6819033e',1,'glfw3.h']]], + ['glfwsetwindowclosecallback_466',['glfwSetWindowCloseCallback',['../group__window.html#gada646d775a7776a95ac000cfc1885331',1,'glfw3.h']]], + ['glfwsetwindowcontentscalecallback_467',['glfwSetWindowContentScaleCallback',['../group__window.html#gaf2832ebb5aa6c252a2d261de002c92d6',1,'glfw3.h']]], + ['glfwsetwindowfocuscallback_468',['glfwSetWindowFocusCallback',['../group__window.html#gac2d83c4a10f071baf841f6730528e66c',1,'glfw3.h']]], + ['glfwsetwindowicon_469',['glfwSetWindowIcon',['../group__window.html#gadd7ccd39fe7a7d1f0904666ae5932dc5',1,'glfw3.h']]], + ['glfwsetwindowiconifycallback_470',['glfwSetWindowIconifyCallback',['../group__window.html#gac793e9efd255567b5fb8b445052cfd3e',1,'glfw3.h']]], + ['glfwsetwindowmaximizecallback_471',['glfwSetWindowMaximizeCallback',['../group__window.html#gacbe64c339fbd94885e62145563b6dc93',1,'glfw3.h']]], + ['glfwsetwindowmonitor_472',['glfwSetWindowMonitor',['../group__window.html#ga81c76c418af80a1cce7055bccb0ae0a7',1,'glfw3.h']]], + ['glfwsetwindowopacity_473',['glfwSetWindowOpacity',['../group__window.html#gac31caeb3d1088831b13d2c8a156802e9',1,'glfw3.h']]], + ['glfwsetwindowpos_474',['glfwSetWindowPos',['../group__window.html#ga1abb6d690e8c88e0c8cd1751356dbca8',1,'glfw3.h']]], + ['glfwsetwindowposcallback_475',['glfwSetWindowPosCallback',['../group__window.html#ga08bdfbba88934f9c4f92fd757979ac74',1,'glfw3.h']]], + ['glfwsetwindowrefreshcallback_476',['glfwSetWindowRefreshCallback',['../group__window.html#ga1c5c7eb889c33c7f4d10dd35b327654e',1,'glfw3.h']]], + ['glfwsetwindowshouldclose_477',['glfwSetWindowShouldClose',['../group__window.html#ga49c449dde2a6f87d996f4daaa09d6708',1,'glfw3.h']]], + ['glfwsetwindowsize_478',['glfwSetWindowSize',['../group__window.html#ga371911f12c74c504dd8d47d832d095cb',1,'glfw3.h']]], + ['glfwsetwindowsizecallback_479',['glfwSetWindowSizeCallback',['../group__window.html#gad91b8b047a0c4c6033c38853864c34f8',1,'glfw3.h']]], + ['glfwsetwindowsizelimits_480',['glfwSetWindowSizeLimits',['../group__window.html#gac314fa6cec7d2d307be9963e2709cc90',1,'glfw3.h']]], + ['glfwsetwindowtitle_481',['glfwSetWindowTitle',['../group__window.html#ga5d877f09e968cef7a360b513306f17ff',1,'glfw3.h']]], + ['glfwsetwindowuserpointer_482',['glfwSetWindowUserPointer',['../group__window.html#ga3d2fc6026e690ab31a13f78bc9fd3651',1,'glfw3.h']]], + ['glfwsetx11selectionstring_483',['glfwSetX11SelectionString',['../group__native.html#ga55f879ab02d93367f966186b6f0133f7',1,'glfw3native.h']]], + ['glfwshowwindow_484',['glfwShowWindow',['../group__window.html#ga61be47917b72536a148300f46494fc66',1,'glfw3.h']]], + ['glfwswapbuffers_485',['glfwSwapBuffers',['../group__window.html#ga15a5a1ee5b3c2ca6b15ca209a12efd14',1,'glfw3.h']]], + ['glfwswapinterval_486',['glfwSwapInterval',['../group__context.html#ga6d4e0cdf151b5e579bd67f13202994ed',1,'glfw3.h']]], + ['glfwterminate_487',['glfwTerminate',['../group__init.html#gaaae48c0a18607ea4a4ba951d939f0901',1,'glfw3.h']]], + ['glfwupdategamepadmappings_488',['glfwUpdateGamepadMappings',['../group__input.html#gaed5104612f2fa8e66aa6e846652ad00f',1,'glfw3.h']]], + ['glfwvidmode_489',['GLFWvidmode',['../structGLFWvidmode.html',1,'GLFWvidmode'],['../group__monitor.html#ga902c2816ac9b34b757282daab59b2565',1,'GLFWvidmode(): glfw3.h']]], + ['glfwvkproc_490',['GLFWvkproc',['../group__vulkan.html#ga70c01918dc9d233a4fbe0681a43018af',1,'glfw3.h']]], + ['glfwvulkansupported_491',['glfwVulkanSupported',['../group__vulkan.html#ga2e7f30931e02464b5bc8d0d4b6f9fe2b',1,'glfw3.h']]], + ['glfwwaitevents_492',['glfwWaitEvents',['../group__window.html#ga554e37d781f0a997656c26b2c56c835e',1,'glfw3.h']]], + ['glfwwaiteventstimeout_493',['glfwWaitEventsTimeout',['../group__window.html#ga605a178db92f1a7f1a925563ef3ea2cf',1,'glfw3.h']]], + ['glfwwindow_494',['GLFWwindow',['../group__window.html#ga3c96d80d363e67d13a41b5d1821f3242',1,'glfw3.h']]], + ['glfwwindowclosefun_495',['GLFWwindowclosefun',['../group__window.html#ga5c46f9d2435a22b531382ea642216a61',1,'glfw3.h']]], + ['glfwwindowcontentscalefun_496',['GLFWwindowcontentscalefun',['../group__window.html#gaca2e04ad85e70a646f07a870c2cad4ee',1,'glfw3.h']]], + ['glfwwindowfocusfun_497',['GLFWwindowfocusfun',['../group__window.html#ga6b15f80f61ff396d89720be2a183ca8a',1,'glfw3.h']]], + ['glfwwindowhint_498',['glfwWindowHint',['../group__window.html#ga7d9c8c62384b1e2821c4dc48952d2033',1,'glfw3.h']]], + ['glfwwindowhintstring_499',['glfwWindowHintString',['../group__window.html#ga8cb2782861c9d997bcf2dea97f363e5f',1,'glfw3.h']]], + ['glfwwindowiconifyfun_500',['GLFWwindowiconifyfun',['../group__window.html#gaaa80beaa1d108e6bc09f666e186e735c',1,'glfw3.h']]], + ['glfwwindowmaximizefun_501',['GLFWwindowmaximizefun',['../group__window.html#ga82868db51248e7bc2deb2082336e6c70',1,'glfw3.h']]], + ['glfwwindowposfun_502',['GLFWwindowposfun',['../group__window.html#gaffb62b9d3f7dc2d6e7c89d3d76142f13',1,'glfw3.h']]], + ['glfwwindowrefreshfun_503',['GLFWwindowrefreshfun',['../group__window.html#ga7747bf66194241cff4f12d3500d8f9cd',1,'glfw3.h']]], + ['glfwwindowshouldclose_504',['glfwWindowShouldClose',['../group__window.html#ga24e02fbfefbb81fc45320989f8140ab5',1,'glfw3.h']]], + ['glfwwindowsizefun_505',['GLFWwindowsizefun',['../group__window.html#gaac00a2d1d82875c2bac1af223e9d3c58',1,'glfw3.h']]], + ['green_506',['green',['../structGLFWgammaramp.html#affccc6f5df47820b6562d709da3a5a3a',1,'GLFWgammaramp']]], + ['greenbits_507',['greenBits',['../structGLFWvidmode.html#a292fdd281f3485fb3ff102a5bda43faa',1,'GLFWvidmode']]], + ['getting_20started_508',['Getting started',['../quick_guide.html',1,'']]] +]; diff --git a/docs/3.4/search/all_6.html b/docs/3.4/search/all_6.html new file mode 100644 index 0000000..a24601b --- /dev/null +++ b/docs/3.4/search/all_6.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_6.js b/docs/3.4/search/all_6.js new file mode 100644 index 0000000..04b4e6d --- /dev/null +++ b/docs/3.4/search/all_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['height_509',['height',['../structGLFWvidmode.html#ac65942a5f6981695517437a9d571d03c',1,'GLFWvidmode::height()'],['../structGLFWimage.html#a0b7d95368f0c80d5e5c9875057c7dbec',1,'GLFWimage::height()']]] +]; diff --git a/docs/3.4/search/all_7.html b/docs/3.4/search/all_7.html new file mode 100644 index 0000000..e42e45b --- /dev/null +++ b/docs/3.4/search/all_7.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_7.js b/docs/3.4/search/all_7.js new file mode 100644 index 0000000..03238c7 --- /dev/null +++ b/docs/3.4/search/all_7.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['initialization_2c_20version_20and_20error_20reference_510',['Initialization, version and error reference',['../group__init.html',1,'']]], + ['input_20reference_511',['Input reference',['../group__input.html',1,'']]], + ['input_2edox_512',['input.dox',['../input_8dox.html',1,'']]], + ['input_20guide_513',['Input guide',['../input_guide.html',1,'']]], + ['internal_2edox_514',['internal.dox',['../internal_8dox.html',1,'']]], + ['internal_20structure_515',['Internal structure',['../internals_guide.html',1,'']]], + ['intro_2edox_516',['intro.dox',['../intro_8dox.html',1,'']]], + ['introduction_20to_20the_20api_517',['Introduction to the API',['../intro_guide.html',1,'']]] +]; diff --git a/docs/3.4/search/all_8.html b/docs/3.4/search/all_8.html new file mode 100644 index 0000000..888e619 --- /dev/null +++ b/docs/3.4/search/all_8.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_8.js b/docs/3.4/search/all_8.js new file mode 100644 index 0000000..e0b7b55 --- /dev/null +++ b/docs/3.4/search/all_8.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['joystick_20hat_20states_518',['Joystick hat states',['../group__hat__state.html',1,'']]], + ['joysticks_519',['Joysticks',['../group__joysticks.html',1,'']]] +]; diff --git a/docs/3.4/search/all_9.html b/docs/3.4/search/all_9.html new file mode 100644 index 0000000..dc988f4 --- /dev/null +++ b/docs/3.4/search/all_9.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_9.js b/docs/3.4/search/all_9.js new file mode 100644 index 0000000..f83aff1 --- /dev/null +++ b/docs/3.4/search/all_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['keyboard_20keys_520',['Keyboard keys',['../group__keys.html',1,'']]] +]; diff --git a/docs/3.4/search/all_a.html b/docs/3.4/search/all_a.html new file mode 100644 index 0000000..0ce816b --- /dev/null +++ b/docs/3.4/search/all_a.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_a.js b/docs/3.4/search/all_a.js new file mode 100644 index 0000000..05ed3c7 --- /dev/null +++ b/docs/3.4/search/all_a.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['mouse_20buttons_521',['Mouse buttons',['../group__buttons.html',1,'']]], + ['main_2edox_522',['main.dox',['../main_8dox.html',1,'']]], + ['modifier_20key_20flags_523',['Modifier key flags',['../group__mods.html',1,'']]], + ['monitor_20reference_524',['Monitor reference',['../group__monitor.html',1,'']]], + ['monitor_2edox_525',['monitor.dox',['../monitor_8dox.html',1,'']]], + ['monitor_20guide_526',['Monitor guide',['../monitor_guide.html',1,'']]], + ['moving_2edox_527',['moving.dox',['../moving_8dox.html',1,'']]], + ['moving_20from_20glfw_202_20to_203_528',['Moving from GLFW 2 to 3',['../moving_guide.html',1,'']]] +]; diff --git a/docs/3.4/search/all_b.html b/docs/3.4/search/all_b.html new file mode 100644 index 0000000..28c2413 --- /dev/null +++ b/docs/3.4/search/all_b.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_b.js b/docs/3.4/search/all_b.js new file mode 100644 index 0000000..1830968 --- /dev/null +++ b/docs/3.4/search/all_b.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['notitle_529',['notitle',['../index.html',1,'']]], + ['native_20access_530',['Native access',['../group__native.html',1,'']]], + ['news_2edox_531',['news.dox',['../news_8dox.html',1,'']]] +]; diff --git a/docs/3.4/search/all_c.html b/docs/3.4/search/all_c.html new file mode 100644 index 0000000..39fc49b --- /dev/null +++ b/docs/3.4/search/all_c.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_c.js b/docs/3.4/search/all_c.js new file mode 100644 index 0000000..7310f4c --- /dev/null +++ b/docs/3.4/search/all_c.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['pixels_532',['pixels',['../structGLFWimage.html#a0c532a5c2bb715555279b7817daba0fb',1,'GLFWimage']]] +]; diff --git a/docs/3.4/search/all_d.html b/docs/3.4/search/all_d.html new file mode 100644 index 0000000..cc470e5 --- /dev/null +++ b/docs/3.4/search/all_d.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_d.js b/docs/3.4/search/all_d.js new file mode 100644 index 0000000..f2d1956 --- /dev/null +++ b/docs/3.4/search/all_d.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['quick_2edox_533',['quick.dox',['../quick_8dox.html',1,'']]] +]; diff --git a/docs/3.4/search/all_e.html b/docs/3.4/search/all_e.html new file mode 100644 index 0000000..57cce76 --- /dev/null +++ b/docs/3.4/search/all_e.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_e.js b/docs/3.4/search/all_e.js new file mode 100644 index 0000000..7bd333e --- /dev/null +++ b/docs/3.4/search/all_e.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['release_20notes_534',['Release notes',['../news.html',1,'']]], + ['red_535',['red',['../structGLFWgammaramp.html#a2cce5d968734b685623eef913e635138',1,'GLFWgammaramp']]], + ['redbits_536',['redBits',['../structGLFWvidmode.html#a6066c4ecd251098700062d3b735dba1b',1,'GLFWvidmode']]], + ['refreshrate_537',['refreshRate',['../structGLFWvidmode.html#a791bdd6c7697b09f7e9c97054bf05649',1,'GLFWvidmode']]] +]; diff --git a/docs/3.4/search/all_f.html b/docs/3.4/search/all_f.html new file mode 100644 index 0000000..ac1e704 --- /dev/null +++ b/docs/3.4/search/all_f.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/all_f.js b/docs/3.4/search/all_f.js new file mode 100644 index 0000000..8afc335 --- /dev/null +++ b/docs/3.4/search/all_f.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['standards_20conformance_538',['Standards conformance',['../compat_guide.html',1,'']]], + ['standard_20cursor_20shapes_539',['Standard cursor shapes',['../group__shapes.html',1,'']]], + ['size_540',['size',['../structGLFWgammaramp.html#ad620e1cffbff9a32c51bca46301b59a5',1,'GLFWgammaramp']]] +]; diff --git a/docs/3.4/search/classes_0.html b/docs/3.4/search/classes_0.html new file mode 100644 index 0000000..5b441a3 --- /dev/null +++ b/docs/3.4/search/classes_0.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/classes_0.js b/docs/3.4/search/classes_0.js new file mode 100644 index 0000000..41a3ba7 --- /dev/null +++ b/docs/3.4/search/classes_0.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['glfwgamepadstate_548',['GLFWgamepadstate',['../structGLFWgamepadstate.html',1,'']]], + ['glfwgammaramp_549',['GLFWgammaramp',['../structGLFWgammaramp.html',1,'']]], + ['glfwimage_550',['GLFWimage',['../structGLFWimage.html',1,'']]], + ['glfwvidmode_551',['GLFWvidmode',['../structGLFWvidmode.html',1,'']]] +]; diff --git a/docs/3.4/search/close.png b/docs/3.4/search/close.png new file mode 100644 index 0000000000000000000000000000000000000000..9342d3dfeea7b7c4ee610987e717804b5a42ceb9 GIT binary patch literal 273 zcmV+s0q*{ZP)4(RlMby96)VwnbG{ zbe&}^BDn7x>$<{ck4zAK-=nT;=hHG)kmplIF${xqm8db3oX6wT3bvp`TE@m0cg;b) zBuSL}5?N7O(iZLdAlz@)b)Rd~DnSsSX&P5qC`XwuFwcAYLC+d2>+1(8on;wpt8QIC X2MT$R4iQDd00000NkvXXu0mjfia~GN literal 0 HcmV?d00001 diff --git a/docs/3.4/search/defines_0.html b/docs/3.4/search/defines_0.html new file mode 100644 index 0000000..54b9bc5 --- /dev/null +++ b/docs/3.4/search/defines_0.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/defines_0.js b/docs/3.4/search/defines_0.js new file mode 100644 index 0000000..52b025f --- /dev/null +++ b/docs/3.4/search/defines_0.js @@ -0,0 +1,38 @@ +var searchData= +[ + ['glapientry_753',['GLAPIENTRY',['../glfw3_8h.html#aa97755eb47e4bf2727ad45d610e18206',1,'glfw3.h']]], + ['glfw_5fangle_5fplatform_5ftype_5fd3d11_754',['GLFW_ANGLE_PLATFORM_TYPE_D3D11',['../glfw3_8h.html#ad6eae659811a52a5cdc43c362aedfa33',1,'glfw3.h']]], + ['glfw_5fangle_5fplatform_5ftype_5fd3d9_755',['GLFW_ANGLE_PLATFORM_TYPE_D3D9',['../glfw3_8h.html#a6e8fdc83113d247ad792bb5c4e82c894',1,'glfw3.h']]], + ['glfw_5fangle_5fplatform_5ftype_5fmetal_756',['GLFW_ANGLE_PLATFORM_TYPE_METAL',['../glfw3_8h.html#ab56d91b26cf223dc67590a93a2f8507d',1,'glfw3.h']]], + ['glfw_5fangle_5fplatform_5ftype_5fnone_757',['GLFW_ANGLE_PLATFORM_TYPE_NONE',['../glfw3_8h.html#ae78e673449c2a2b8c560ca1b1e283228',1,'glfw3.h']]], + ['glfw_5fangle_5fplatform_5ftype_5fopengl_758',['GLFW_ANGLE_PLATFORM_TYPE_OPENGL',['../glfw3_8h.html#ad8d9e97ed7790811470366b338833623',1,'glfw3.h']]], + ['glfw_5fangle_5fplatform_5ftype_5fopengles_759',['GLFW_ANGLE_PLATFORM_TYPE_OPENGLES',['../glfw3_8h.html#a0003c089da020cbf957218e70245bb65',1,'glfw3.h']]], + ['glfw_5fangle_5fplatform_5ftype_5fvulkan_760',['GLFW_ANGLE_PLATFORM_TYPE_VULKAN',['../glfw3_8h.html#a579ac83506c7546709dad91960cc7ca1',1,'glfw3.h']]], + ['glfw_5fany_5frelease_5fbehavior_761',['GLFW_ANY_RELEASE_BEHAVIOR',['../glfw3_8h.html#a6b47d806f285efe9bfd7aeec667297ee',1,'glfw3.h']]], + ['glfw_5fapientry_5fdefined_762',['GLFW_APIENTRY_DEFINED',['../glfw3_8h.html#a8a8538c5500308b4211844f2fb26c7b9',1,'glfw3.h']]], + ['glfw_5fconnected_763',['GLFW_CONNECTED',['../glfw3_8h.html#abe11513fd1ffbee5bb9b173f06028b9e',1,'glfw3.h']]], + ['glfw_5fcursor_764',['GLFW_CURSOR',['../glfw3_8h.html#aade31da5b884a84a7625c6b059b9132c',1,'glfw3.h']]], + ['glfw_5fcursor_5fdisabled_765',['GLFW_CURSOR_DISABLED',['../glfw3_8h.html#a2315b99a329ce53e6a13a9d46fd5ca88',1,'glfw3.h']]], + ['glfw_5fcursor_5fhidden_766',['GLFW_CURSOR_HIDDEN',['../glfw3_8h.html#ac4d5cb9d78de8573349c58763d53bf11',1,'glfw3.h']]], + ['glfw_5fcursor_5fnormal_767',['GLFW_CURSOR_NORMAL',['../glfw3_8h.html#ae04dd25c8577e19fa8c97368561f6c68',1,'glfw3.h']]], + ['glfw_5fdisconnected_768',['GLFW_DISCONNECTED',['../glfw3_8h.html#aab64b25921ef21d89252d6f0a71bfc32',1,'glfw3.h']]], + ['glfw_5fdont_5fcare_769',['GLFW_DONT_CARE',['../glfw3_8h.html#a7a2edf2c18446833d27d07f1b7f3d571',1,'glfw3.h']]], + ['glfw_5fegl_5fcontext_5fapi_770',['GLFW_EGL_CONTEXT_API',['../glfw3_8h.html#a03cf65c9ab01fc8b872ba58842c531c9',1,'glfw3.h']]], + ['glfw_5flock_5fkey_5fmods_771',['GLFW_LOCK_KEY_MODS',['../glfw3_8h.html#a07b84de0b52143e1958f88a7d9105947',1,'glfw3.h']]], + ['glfw_5flose_5fcontext_5fon_5freset_772',['GLFW_LOSE_CONTEXT_ON_RESET',['../glfw3_8h.html#aec1132f245143fc915b2f0995228564c',1,'glfw3.h']]], + ['glfw_5fnative_5fcontext_5fapi_773',['GLFW_NATIVE_CONTEXT_API',['../glfw3_8h.html#a0494c9bfd3f584ab41e6dbeeaa0e6a19',1,'glfw3.h']]], + ['glfw_5fno_5fapi_774',['GLFW_NO_API',['../glfw3_8h.html#a8f6dcdc968d214ff14779564f1389264',1,'glfw3.h']]], + ['glfw_5fno_5freset_5fnotification_775',['GLFW_NO_RESET_NOTIFICATION',['../glfw3_8h.html#aee84a679230d205005e22487ff678a85',1,'glfw3.h']]], + ['glfw_5fno_5frobustness_776',['GLFW_NO_ROBUSTNESS',['../glfw3_8h.html#a8b306cb27f5bb0d6d67c7356a0e0fc34',1,'glfw3.h']]], + ['glfw_5fopengl_5fany_5fprofile_777',['GLFW_OPENGL_ANY_PROFILE',['../glfw3_8h.html#ad6f2335d6f21cc9bab96633b1c111d5f',1,'glfw3.h']]], + ['glfw_5fopengl_5fapi_778',['GLFW_OPENGL_API',['../glfw3_8h.html#a01b3f66db266341425e9abee6b257db2',1,'glfw3.h']]], + ['glfw_5fopengl_5fcompat_5fprofile_779',['GLFW_OPENGL_COMPAT_PROFILE',['../glfw3_8h.html#ac06b663d79c8fcf04669cc8fcc0b7670',1,'glfw3.h']]], + ['glfw_5fopengl_5fcore_5fprofile_780',['GLFW_OPENGL_CORE_PROFILE',['../glfw3_8h.html#af094bb16da76f66ebceb19ee213b3de8',1,'glfw3.h']]], + ['glfw_5fopengl_5fes_5fapi_781',['GLFW_OPENGL_ES_API',['../glfw3_8h.html#a28d9b3bc6c2a522d815c8e146595051f',1,'glfw3.h']]], + ['glfw_5fosmesa_5fcontext_5fapi_782',['GLFW_OSMESA_CONTEXT_API',['../glfw3_8h.html#afd34a473af9fa81f317910ea371b19e3',1,'glfw3.h']]], + ['glfw_5fraw_5fmouse_5fmotion_783',['GLFW_RAW_MOUSE_MOTION',['../glfw3_8h.html#aeeda1be76a44a1fc97c1282e06281fbb',1,'glfw3.h']]], + ['glfw_5frelease_5fbehavior_5fflush_784',['GLFW_RELEASE_BEHAVIOR_FLUSH',['../glfw3_8h.html#a999961d391db49cb4f949c1dece0e13b',1,'glfw3.h']]], + ['glfw_5frelease_5fbehavior_5fnone_785',['GLFW_RELEASE_BEHAVIOR_NONE',['../glfw3_8h.html#afca09088eccacdce4b59036cfae349c5',1,'glfw3.h']]], + ['glfw_5fsticky_5fkeys_786',['GLFW_STICKY_KEYS',['../glfw3_8h.html#ae3bbe2315b7691ab088159eb6c9110fc',1,'glfw3.h']]], + ['glfw_5fsticky_5fmouse_5fbuttons_787',['GLFW_STICKY_MOUSE_BUTTONS',['../glfw3_8h.html#a4d7ce8ce71030c3b04e2b78145bc59d1',1,'glfw3.h']]] +]; diff --git a/docs/3.4/search/files_0.html b/docs/3.4/search/files_0.html new file mode 100644 index 0000000..182d7eb --- /dev/null +++ b/docs/3.4/search/files_0.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/files_0.js b/docs/3.4/search/files_0.js new file mode 100644 index 0000000..d51d52f --- /dev/null +++ b/docs/3.4/search/files_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['build_2edox_552',['build.dox',['../build_8dox.html',1,'']]] +]; diff --git a/docs/3.4/search/files_1.html b/docs/3.4/search/files_1.html new file mode 100644 index 0000000..9448113 --- /dev/null +++ b/docs/3.4/search/files_1.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/files_1.js b/docs/3.4/search/files_1.js new file mode 100644 index 0000000..f68857b --- /dev/null +++ b/docs/3.4/search/files_1.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['compat_2edox_553',['compat.dox',['../compat_8dox.html',1,'']]], + ['compile_2edox_554',['compile.dox',['../compile_8dox.html',1,'']]], + ['context_2edox_555',['context.dox',['../context_8dox.html',1,'']]] +]; diff --git a/docs/3.4/search/files_2.html b/docs/3.4/search/files_2.html new file mode 100644 index 0000000..16c12b8 --- /dev/null +++ b/docs/3.4/search/files_2.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/files_2.js b/docs/3.4/search/files_2.js new file mode 100644 index 0000000..6f0be10 --- /dev/null +++ b/docs/3.4/search/files_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['glfw3_2eh_556',['glfw3.h',['../glfw3_8h.html',1,'']]], + ['glfw3native_2eh_557',['glfw3native.h',['../glfw3native_8h.html',1,'']]] +]; diff --git a/docs/3.4/search/files_3.html b/docs/3.4/search/files_3.html new file mode 100644 index 0000000..d1b79b9 --- /dev/null +++ b/docs/3.4/search/files_3.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/files_3.js b/docs/3.4/search/files_3.js new file mode 100644 index 0000000..06ff68b --- /dev/null +++ b/docs/3.4/search/files_3.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['input_2edox_558',['input.dox',['../input_8dox.html',1,'']]], + ['internal_2edox_559',['internal.dox',['../internal_8dox.html',1,'']]], + ['intro_2edox_560',['intro.dox',['../intro_8dox.html',1,'']]] +]; diff --git a/docs/3.4/search/files_4.html b/docs/3.4/search/files_4.html new file mode 100644 index 0000000..6c31a9d --- /dev/null +++ b/docs/3.4/search/files_4.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/files_4.js b/docs/3.4/search/files_4.js new file mode 100644 index 0000000..9f21111 --- /dev/null +++ b/docs/3.4/search/files_4.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['main_2edox_561',['main.dox',['../main_8dox.html',1,'']]], + ['monitor_2edox_562',['monitor.dox',['../monitor_8dox.html',1,'']]], + ['moving_2edox_563',['moving.dox',['../moving_8dox.html',1,'']]] +]; diff --git a/docs/3.4/search/files_5.html b/docs/3.4/search/files_5.html new file mode 100644 index 0000000..2ff6409 --- /dev/null +++ b/docs/3.4/search/files_5.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/files_5.js b/docs/3.4/search/files_5.js new file mode 100644 index 0000000..2a33400 --- /dev/null +++ b/docs/3.4/search/files_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['news_2edox_564',['news.dox',['../news_8dox.html',1,'']]] +]; diff --git a/docs/3.4/search/files_6.html b/docs/3.4/search/files_6.html new file mode 100644 index 0000000..82e6890 --- /dev/null +++ b/docs/3.4/search/files_6.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/files_6.js b/docs/3.4/search/files_6.js new file mode 100644 index 0000000..90eb885 --- /dev/null +++ b/docs/3.4/search/files_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['quick_2edox_565',['quick.dox',['../quick_8dox.html',1,'']]] +]; diff --git a/docs/3.4/search/files_7.html b/docs/3.4/search/files_7.html new file mode 100644 index 0000000..7ce361d --- /dev/null +++ b/docs/3.4/search/files_7.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/files_7.js b/docs/3.4/search/files_7.js new file mode 100644 index 0000000..e3f1e56 --- /dev/null +++ b/docs/3.4/search/files_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['vulkan_2edox_566',['vulkan.dox',['../vulkan_8dox.html',1,'']]] +]; diff --git a/docs/3.4/search/files_8.html b/docs/3.4/search/files_8.html new file mode 100644 index 0000000..49983b8 --- /dev/null +++ b/docs/3.4/search/files_8.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/files_8.js b/docs/3.4/search/files_8.js new file mode 100644 index 0000000..69fa5ee --- /dev/null +++ b/docs/3.4/search/files_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window_2edox_567',['window.dox',['../window_8dox.html',1,'']]] +]; diff --git a/docs/3.4/search/functions_0.html b/docs/3.4/search/functions_0.html new file mode 100644 index 0000000..4fcbb9c --- /dev/null +++ b/docs/3.4/search/functions_0.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/functions_0.js b/docs/3.4/search/functions_0.js new file mode 100644 index 0000000..059cfa6 --- /dev/null +++ b/docs/3.4/search/functions_0.js @@ -0,0 +1,146 @@ +var searchData= +[ + ['glfwcreatecursor_568',['glfwCreateCursor',['../group__input.html#gafca356935e10135016aa49ffa464c355',1,'glfw3.h']]], + ['glfwcreatestandardcursor_569',['glfwCreateStandardCursor',['../group__input.html#gaa65f416d03ebbbb5b8db71a489fcb894',1,'glfw3.h']]], + ['glfwcreatewindow_570',['glfwCreateWindow',['../group__window.html#ga5c336fddf2cbb5b92f65f10fb6043344',1,'glfw3.h']]], + ['glfwcreatewindowsurface_571',['glfwCreateWindowSurface',['../group__vulkan.html#ga1a24536bec3f80b08ead18e28e6ae965',1,'glfw3.h']]], + ['glfwdefaultwindowhints_572',['glfwDefaultWindowHints',['../group__window.html#gaa77c4898dfb83344a6b4f76aa16b9a4a',1,'glfw3.h']]], + ['glfwdestroycursor_573',['glfwDestroyCursor',['../group__input.html#ga81b952cd1764274d0db7fb3c5a79ba6a',1,'glfw3.h']]], + ['glfwdestroywindow_574',['glfwDestroyWindow',['../group__window.html#gacdf43e51376051d2c091662e9fe3d7b2',1,'glfw3.h']]], + ['glfwextensionsupported_575',['glfwExtensionSupported',['../group__context.html#ga87425065c011cef1ebd6aac75e059dfa',1,'glfw3.h']]], + ['glfwfocuswindow_576',['glfwFocusWindow',['../group__window.html#ga873780357abd3f3a081d71a40aae45a1',1,'glfw3.h']]], + ['glfwgetclipboardstring_577',['glfwGetClipboardString',['../group__input.html#ga5aba1d704d9ab539282b1fbe9f18bb94',1,'glfw3.h']]], + ['glfwgetcocoamonitor_578',['glfwGetCocoaMonitor',['../group__native.html#gaf22f429aec4b1aab316142d66d9be3e6',1,'glfw3native.h']]], + ['glfwgetcocoawindow_579',['glfwGetCocoaWindow',['../group__native.html#gac3ed9d495d0c2bb9652de5a50c648715',1,'glfw3native.h']]], + ['glfwgetcurrentcontext_580',['glfwGetCurrentContext',['../group__context.html#gac84759b1f6c2d271a4fea8ae89ec980d',1,'glfw3.h']]], + ['glfwgetcursorpos_581',['glfwGetCursorPos',['../group__input.html#ga01d37b6c40133676b9cea60ca1d7c0cc',1,'glfw3.h']]], + ['glfwgeteglcontext_582',['glfwGetEGLContext',['../group__native.html#ga671c5072becd085f4ab5771a9c8efcf1',1,'glfw3native.h']]], + ['glfwgetegldisplay_583',['glfwGetEGLDisplay',['../group__native.html#ga1cd8d973f47aacb5532d368147cc3138',1,'glfw3native.h']]], + ['glfwgeteglsurface_584',['glfwGetEGLSurface',['../group__native.html#ga2199b36117a6a695fec8441d8052eee6',1,'glfw3native.h']]], + ['glfwgeterror_585',['glfwGetError',['../group__init.html#ga944986b4ec0b928d488141f92982aa18',1,'glfw3.h']]], + ['glfwgetframebuffersize_586',['glfwGetFramebufferSize',['../group__window.html#ga0e2637a4161afb283f5300c7f94785c9',1,'glfw3.h']]], + ['glfwgetgamepadname_587',['glfwGetGamepadName',['../group__input.html#ga5c71e3533b2d384db9317fcd7661b210',1,'glfw3.h']]], + ['glfwgetgamepadstate_588',['glfwGetGamepadState',['../group__input.html#gadccddea8bce6113fa459de379ddaf051',1,'glfw3.h']]], + ['glfwgetgammaramp_589',['glfwGetGammaRamp',['../group__monitor.html#gab7c41deb2219bde3e1eb756ddaa9ec80',1,'glfw3.h']]], + ['glfwgetglxcontext_590',['glfwGetGLXContext',['../group__native.html#ga62d884114b0abfcdc2930e89f20867e2',1,'glfw3native.h']]], + ['glfwgetglxwindow_591',['glfwGetGLXWindow',['../group__native.html#ga1ed27b8766e859a21381e8f8ce18d049',1,'glfw3native.h']]], + ['glfwgetinputmode_592',['glfwGetInputMode',['../group__input.html#gaf5b859dbe19bdf434e42695ea45cc5f4',1,'glfw3.h']]], + ['glfwgetinstanceprocaddress_593',['glfwGetInstanceProcAddress',['../group__vulkan.html#gadf228fac94c5fd8f12423ec9af9ff1e9',1,'glfw3.h']]], + ['glfwgetjoystickaxes_594',['glfwGetJoystickAxes',['../group__input.html#gaa8806536731e92c061bc70bcff6edbd0',1,'glfw3.h']]], + ['glfwgetjoystickbuttons_595',['glfwGetJoystickButtons',['../group__input.html#gadb3cbf44af90a1536f519659a53bddd6',1,'glfw3.h']]], + ['glfwgetjoystickguid_596',['glfwGetJoystickGUID',['../group__input.html#gae168c2c0b8cf2a1cb67c6b3c00bdd543',1,'glfw3.h']]], + ['glfwgetjoystickhats_597',['glfwGetJoystickHats',['../group__input.html#ga2d8d0634bb81c180899aeb07477a67ea',1,'glfw3.h']]], + ['glfwgetjoystickname_598',['glfwGetJoystickName',['../group__input.html#gafbe3e51f670320908cfe4e20d3e5559e',1,'glfw3.h']]], + ['glfwgetjoystickuserpointer_599',['glfwGetJoystickUserPointer',['../group__input.html#ga06290acb7ed23895bf26b8e981827ebd',1,'glfw3.h']]], + ['glfwgetkey_600',['glfwGetKey',['../group__input.html#gadd341da06bc8d418b4dc3a3518af9ad2',1,'glfw3.h']]], + ['glfwgetkeyname_601',['glfwGetKeyName',['../group__input.html#ga237a182e5ec0b21ce64543f3b5e7e2be',1,'glfw3.h']]], + ['glfwgetkeyscancode_602',['glfwGetKeyScancode',['../group__input.html#ga67ddd1b7dcbbaff03e4a76c0ea67103a',1,'glfw3.h']]], + ['glfwgetmonitorcontentscale_603',['glfwGetMonitorContentScale',['../group__monitor.html#gad3152e84465fa620b601265ebfcdb21b',1,'glfw3.h']]], + ['glfwgetmonitorname_604',['glfwGetMonitorName',['../group__monitor.html#ga79a34ee22ff080ca954a9663e4679daf',1,'glfw3.h']]], + ['glfwgetmonitorphysicalsize_605',['glfwGetMonitorPhysicalSize',['../group__monitor.html#ga7d8bffc6c55539286a6bd20d32a8d7ea',1,'glfw3.h']]], + ['glfwgetmonitorpos_606',['glfwGetMonitorPos',['../group__monitor.html#ga102f54e7acc9149edbcf0997152df8c9',1,'glfw3.h']]], + ['glfwgetmonitors_607',['glfwGetMonitors',['../group__monitor.html#ga3fba51c8bd36491d4712aa5bd074a537',1,'glfw3.h']]], + ['glfwgetmonitoruserpointer_608',['glfwGetMonitorUserPointer',['../group__monitor.html#gac2d4209016b049222877f620010ed0d8',1,'glfw3.h']]], + ['glfwgetmonitorworkarea_609',['glfwGetMonitorWorkarea',['../group__monitor.html#ga7387a3bdb64bfe8ebf2b9e54f5b6c9d0',1,'glfw3.h']]], + ['glfwgetmousebutton_610',['glfwGetMouseButton',['../group__input.html#gac1473feacb5996c01a7a5a33b5066704',1,'glfw3.h']]], + ['glfwgetnsglcontext_611',['glfwGetNSGLContext',['../group__native.html#ga559e002e3cd63c979881770cd4dc63bc',1,'glfw3native.h']]], + ['glfwgetosmesacolorbuffer_612',['glfwGetOSMesaColorBuffer',['../group__native.html#ga3b36e3e3dcf308b776427b6bd73cc132',1,'glfw3native.h']]], + ['glfwgetosmesacontext_613',['glfwGetOSMesaContext',['../group__native.html#ga9e47700080094eb569cb053afaa88773',1,'glfw3native.h']]], + ['glfwgetosmesadepthbuffer_614',['glfwGetOSMesaDepthBuffer',['../group__native.html#ga6b64039ffc88a7a2f57f0956c0c75d53',1,'glfw3native.h']]], + ['glfwgetphysicaldevicepresentationsupport_615',['glfwGetPhysicalDevicePresentationSupport',['../group__vulkan.html#gaff3823355cdd7e2f3f9f4d9ea9518d92',1,'glfw3.h']]], + ['glfwgetprimarymonitor_616',['glfwGetPrimaryMonitor',['../group__monitor.html#ga721867d84c6d18d6790d64d2847ca0b1',1,'glfw3.h']]], + ['glfwgetprocaddress_617',['glfwGetProcAddress',['../group__context.html#ga35f1837e6f666781842483937612f163',1,'glfw3.h']]], + ['glfwgetrequiredinstanceextensions_618',['glfwGetRequiredInstanceExtensions',['../group__vulkan.html#ga1abcbe61033958f22f63ef82008874b1',1,'glfw3.h']]], + ['glfwgettime_619',['glfwGetTime',['../group__input.html#gaa6cf4e7a77158a3b8fd00328b1720a4a',1,'glfw3.h']]], + ['glfwgettimerfrequency_620',['glfwGetTimerFrequency',['../group__input.html#ga3289ee876572f6e91f06df3a24824443',1,'glfw3.h']]], + ['glfwgettimervalue_621',['glfwGetTimerValue',['../group__input.html#ga09b2bd37d328e0b9456c7ec575cc26aa',1,'glfw3.h']]], + ['glfwgetversion_622',['glfwGetVersion',['../group__init.html#ga9f8ffaacf3c269cc48eafbf8b9b71197',1,'glfw3.h']]], + ['glfwgetversionstring_623',['glfwGetVersionString',['../group__init.html#ga23d47dc013fce2bf58036da66079a657',1,'glfw3.h']]], + ['glfwgetvideomode_624',['glfwGetVideoMode',['../group__monitor.html#gafc1bb972a921ad5b3bd5d63a95fc2d52',1,'glfw3.h']]], + ['glfwgetvideomodes_625',['glfwGetVideoModes',['../group__monitor.html#ga820b0ce9a5237d645ea7cbb4bd383458',1,'glfw3.h']]], + ['glfwgetwaylanddisplay_626',['glfwGetWaylandDisplay',['../group__native.html#gaaf8118a3c877f3a6bc8e7a649519de5e',1,'glfw3native.h']]], + ['glfwgetwaylandmonitor_627',['glfwGetWaylandMonitor',['../group__native.html#gab10427a667b6cd91eec7709f7a906bd3',1,'glfw3native.h']]], + ['glfwgetwaylandwindow_628',['glfwGetWaylandWindow',['../group__native.html#ga4738d7aca4191363519a9a641c3ab64c',1,'glfw3native.h']]], + ['glfwgetwglcontext_629',['glfwGetWGLContext',['../group__native.html#gadc4010d91d9cc1134d040eeb1202a143',1,'glfw3native.h']]], + ['glfwgetwin32adapter_630',['glfwGetWin32Adapter',['../group__native.html#gac84f63a3f9db145b9435e5e0dbc4183d',1,'glfw3native.h']]], + ['glfwgetwin32monitor_631',['glfwGetWin32Monitor',['../group__native.html#gac408b09a330749402d5d1fa1f5894dd9',1,'glfw3native.h']]], + ['glfwgetwin32window_632',['glfwGetWin32Window',['../group__native.html#gafe5079aa79038b0079fc09d5f0a8e667',1,'glfw3native.h']]], + ['glfwgetwindowattrib_633',['glfwGetWindowAttrib',['../group__window.html#gacccb29947ea4b16860ebef42c2cb9337',1,'glfw3.h']]], + ['glfwgetwindowcontentscale_634',['glfwGetWindowContentScale',['../group__window.html#gaf5d31de9c19c4f994facea64d2b3106c',1,'glfw3.h']]], + ['glfwgetwindowframesize_635',['glfwGetWindowFrameSize',['../group__window.html#ga1a9fd382058c53101b21cf211898f1f1',1,'glfw3.h']]], + ['glfwgetwindowmonitor_636',['glfwGetWindowMonitor',['../group__window.html#gaeac25e64789974ccbe0811766bd91a16',1,'glfw3.h']]], + ['glfwgetwindowopacity_637',['glfwGetWindowOpacity',['../group__window.html#gad09f0bd7a6307c4533b7061828480a84',1,'glfw3.h']]], + ['glfwgetwindowpos_638',['glfwGetWindowPos',['../group__window.html#ga73cb526c000876fd8ddf571570fdb634',1,'glfw3.h']]], + ['glfwgetwindowsize_639',['glfwGetWindowSize',['../group__window.html#gaeea7cbc03373a41fb51cfbf9f2a5d4c6',1,'glfw3.h']]], + ['glfwgetwindowuserpointer_640',['glfwGetWindowUserPointer',['../group__window.html#ga17807ce0f45ac3f8bb50d6dcc59a4e06',1,'glfw3.h']]], + ['glfwgetx11adapter_641',['glfwGetX11Adapter',['../group__native.html#ga088fbfa80f50569402b41be71ad66e40',1,'glfw3native.h']]], + ['glfwgetx11display_642',['glfwGetX11Display',['../group__native.html#ga8519b66594ea3ef6eeafaa2e3ee37406',1,'glfw3native.h']]], + ['glfwgetx11monitor_643',['glfwGetX11Monitor',['../group__native.html#gab2f8cc043905e9fa9b12bfdbbcfe874c',1,'glfw3native.h']]], + ['glfwgetx11selectionstring_644',['glfwGetX11SelectionString',['../group__native.html#ga72f23e3980b83788c70aa854eca31430',1,'glfw3native.h']]], + ['glfwgetx11window_645',['glfwGetX11Window',['../group__native.html#ga90ca676322740842db446999a1b1f21d',1,'glfw3native.h']]], + ['glfwhidewindow_646',['glfwHideWindow',['../group__window.html#ga49401f82a1ba5f15db5590728314d47c',1,'glfw3.h']]], + ['glfwiconifywindow_647',['glfwIconifyWindow',['../group__window.html#ga1bb559c0ebaad63c5c05ad2a066779c4',1,'glfw3.h']]], + ['glfwinit_648',['glfwInit',['../group__init.html#ga317aac130a235ab08c6db0834907d85e',1,'glfw3.h']]], + ['glfwinithint_649',['glfwInitHint',['../group__init.html#ga110fd1d3f0412822b4f1908c026f724a',1,'glfw3.h']]], + ['glfwjoystickisgamepad_650',['glfwJoystickIsGamepad',['../group__input.html#gad0f676860f329d80f7e47e9f06a96f00',1,'glfw3.h']]], + ['glfwjoystickpresent_651',['glfwJoystickPresent',['../group__input.html#gaed0966cee139d815317f9ffcba64c9f1',1,'glfw3.h']]], + ['glfwmakecontextcurrent_652',['glfwMakeContextCurrent',['../group__context.html#ga1c04dc242268f827290fe40aa1c91157',1,'glfw3.h']]], + ['glfwmaximizewindow_653',['glfwMaximizeWindow',['../group__window.html#ga3f541387449d911274324ae7f17ec56b',1,'glfw3.h']]], + ['glfwpollevents_654',['glfwPollEvents',['../group__window.html#ga37bd57223967b4211d60ca1a0bf3c832',1,'glfw3.h']]], + ['glfwpostemptyevent_655',['glfwPostEmptyEvent',['../group__window.html#gab5997a25187e9fd5c6f2ecbbc8dfd7e9',1,'glfw3.h']]], + ['glfwrawmousemotionsupported_656',['glfwRawMouseMotionSupported',['../group__input.html#gae4ee0dbd0d256183e1ea4026d897e1c2',1,'glfw3.h']]], + ['glfwrequestwindowattention_657',['glfwRequestWindowAttention',['../group__window.html#ga2f8d59323fc4692c1d54ba08c863a703',1,'glfw3.h']]], + ['glfwrestorewindow_658',['glfwRestoreWindow',['../group__window.html#ga52527a5904b47d802b6b4bb519cdebc7',1,'glfw3.h']]], + ['glfwsetcharcallback_659',['glfwSetCharCallback',['../group__input.html#gab25c4a220fd8f5717718dbc487828996',1,'glfw3.h']]], + ['glfwsetcharmodscallback_660',['glfwSetCharModsCallback',['../group__input.html#ga0b7f4ad13c2b17435ff13b6dcfb4e43c',1,'glfw3.h']]], + ['glfwsetclipboardstring_661',['glfwSetClipboardString',['../group__input.html#gaba1f022c5eb07dfac421df34cdcd31dd',1,'glfw3.h']]], + ['glfwsetcursor_662',['glfwSetCursor',['../group__input.html#gad3b4f38c8d5dae036bc8fa959e18343e',1,'glfw3.h']]], + ['glfwsetcursorentercallback_663',['glfwSetCursorEnterCallback',['../group__input.html#gad27f8ad0142c038a281466c0966817d8',1,'glfw3.h']]], + ['glfwsetcursorpos_664',['glfwSetCursorPos',['../group__input.html#ga04b03af936d906ca123c8f4ee08b39e7',1,'glfw3.h']]], + ['glfwsetcursorposcallback_665',['glfwSetCursorPosCallback',['../group__input.html#gac1f879ab7435d54d4d79bb469fe225d7',1,'glfw3.h']]], + ['glfwsetdropcallback_666',['glfwSetDropCallback',['../group__input.html#gab773f0ee0a07cff77a210cea40bc1f6b',1,'glfw3.h']]], + ['glfwseterrorcallback_667',['glfwSetErrorCallback',['../group__init.html#gaff45816610d53f0b83656092a4034f40',1,'glfw3.h']]], + ['glfwsetframebuffersizecallback_668',['glfwSetFramebufferSizeCallback',['../group__window.html#gab3fb7c3366577daef18c0023e2a8591f',1,'glfw3.h']]], + ['glfwsetgamma_669',['glfwSetGamma',['../group__monitor.html#ga6ac582625c990220785ddd34efa3169a',1,'glfw3.h']]], + ['glfwsetgammaramp_670',['glfwSetGammaRamp',['../group__monitor.html#ga583f0ffd0d29613d8cd172b996bbf0dd',1,'glfw3.h']]], + ['glfwsetinputmode_671',['glfwSetInputMode',['../group__input.html#gaa92336e173da9c8834558b54ee80563b',1,'glfw3.h']]], + ['glfwsetjoystickcallback_672',['glfwSetJoystickCallback',['../group__input.html#ga2f60a0e5b7bd8d1b7344dc0a7cb32b4c',1,'glfw3.h']]], + ['glfwsetjoystickuserpointer_673',['glfwSetJoystickUserPointer',['../group__input.html#ga6b2f72d64d636b48a727b437cbb7489e',1,'glfw3.h']]], + ['glfwsetkeycallback_674',['glfwSetKeyCallback',['../group__input.html#ga1caf18159767e761185e49a3be019f8d',1,'glfw3.h']]], + ['glfwsetmonitorcallback_675',['glfwSetMonitorCallback',['../group__monitor.html#gab39df645587c8518192aa746c2fb06c3',1,'glfw3.h']]], + ['glfwsetmonitoruserpointer_676',['glfwSetMonitorUserPointer',['../group__monitor.html#ga702750e24313a686d3637297b6e85fda',1,'glfw3.h']]], + ['glfwsetmousebuttoncallback_677',['glfwSetMouseButtonCallback',['../group__input.html#ga6ab84420974d812bee700e45284a723c',1,'glfw3.h']]], + ['glfwsetscrollcallback_678',['glfwSetScrollCallback',['../group__input.html#ga571e45a030ae4061f746ed56cb76aede',1,'glfw3.h']]], + ['glfwsettime_679',['glfwSetTime',['../group__input.html#gaf59589ef6e8b8c8b5ad184b25afd4dc0',1,'glfw3.h']]], + ['glfwsetwindowaspectratio_680',['glfwSetWindowAspectRatio',['../group__window.html#ga72ac8cb1ee2e312a878b55153d81b937',1,'glfw3.h']]], + ['glfwsetwindowattrib_681',['glfwSetWindowAttrib',['../group__window.html#gace2afda29b4116ec012e410a6819033e',1,'glfw3.h']]], + ['glfwsetwindowclosecallback_682',['glfwSetWindowCloseCallback',['../group__window.html#gada646d775a7776a95ac000cfc1885331',1,'glfw3.h']]], + ['glfwsetwindowcontentscalecallback_683',['glfwSetWindowContentScaleCallback',['../group__window.html#gaf2832ebb5aa6c252a2d261de002c92d6',1,'glfw3.h']]], + ['glfwsetwindowfocuscallback_684',['glfwSetWindowFocusCallback',['../group__window.html#gac2d83c4a10f071baf841f6730528e66c',1,'glfw3.h']]], + ['glfwsetwindowicon_685',['glfwSetWindowIcon',['../group__window.html#gadd7ccd39fe7a7d1f0904666ae5932dc5',1,'glfw3.h']]], + ['glfwsetwindowiconifycallback_686',['glfwSetWindowIconifyCallback',['../group__window.html#gac793e9efd255567b5fb8b445052cfd3e',1,'glfw3.h']]], + ['glfwsetwindowmaximizecallback_687',['glfwSetWindowMaximizeCallback',['../group__window.html#gacbe64c339fbd94885e62145563b6dc93',1,'glfw3.h']]], + ['glfwsetwindowmonitor_688',['glfwSetWindowMonitor',['../group__window.html#ga81c76c418af80a1cce7055bccb0ae0a7',1,'glfw3.h']]], + ['glfwsetwindowopacity_689',['glfwSetWindowOpacity',['../group__window.html#gac31caeb3d1088831b13d2c8a156802e9',1,'glfw3.h']]], + ['glfwsetwindowpos_690',['glfwSetWindowPos',['../group__window.html#ga1abb6d690e8c88e0c8cd1751356dbca8',1,'glfw3.h']]], + ['glfwsetwindowposcallback_691',['glfwSetWindowPosCallback',['../group__window.html#ga08bdfbba88934f9c4f92fd757979ac74',1,'glfw3.h']]], + ['glfwsetwindowrefreshcallback_692',['glfwSetWindowRefreshCallback',['../group__window.html#ga1c5c7eb889c33c7f4d10dd35b327654e',1,'glfw3.h']]], + ['glfwsetwindowshouldclose_693',['glfwSetWindowShouldClose',['../group__window.html#ga49c449dde2a6f87d996f4daaa09d6708',1,'glfw3.h']]], + ['glfwsetwindowsize_694',['glfwSetWindowSize',['../group__window.html#ga371911f12c74c504dd8d47d832d095cb',1,'glfw3.h']]], + ['glfwsetwindowsizecallback_695',['glfwSetWindowSizeCallback',['../group__window.html#gad91b8b047a0c4c6033c38853864c34f8',1,'glfw3.h']]], + ['glfwsetwindowsizelimits_696',['glfwSetWindowSizeLimits',['../group__window.html#gac314fa6cec7d2d307be9963e2709cc90',1,'glfw3.h']]], + ['glfwsetwindowtitle_697',['glfwSetWindowTitle',['../group__window.html#ga5d877f09e968cef7a360b513306f17ff',1,'glfw3.h']]], + ['glfwsetwindowuserpointer_698',['glfwSetWindowUserPointer',['../group__window.html#ga3d2fc6026e690ab31a13f78bc9fd3651',1,'glfw3.h']]], + ['glfwsetx11selectionstring_699',['glfwSetX11SelectionString',['../group__native.html#ga55f879ab02d93367f966186b6f0133f7',1,'glfw3native.h']]], + ['glfwshowwindow_700',['glfwShowWindow',['../group__window.html#ga61be47917b72536a148300f46494fc66',1,'glfw3.h']]], + ['glfwswapbuffers_701',['glfwSwapBuffers',['../group__window.html#ga15a5a1ee5b3c2ca6b15ca209a12efd14',1,'glfw3.h']]], + ['glfwswapinterval_702',['glfwSwapInterval',['../group__context.html#ga6d4e0cdf151b5e579bd67f13202994ed',1,'glfw3.h']]], + ['glfwterminate_703',['glfwTerminate',['../group__init.html#gaaae48c0a18607ea4a4ba951d939f0901',1,'glfw3.h']]], + ['glfwupdategamepadmappings_704',['glfwUpdateGamepadMappings',['../group__input.html#gaed5104612f2fa8e66aa6e846652ad00f',1,'glfw3.h']]], + ['glfwvulkansupported_705',['glfwVulkanSupported',['../group__vulkan.html#ga2e7f30931e02464b5bc8d0d4b6f9fe2b',1,'glfw3.h']]], + ['glfwwaitevents_706',['glfwWaitEvents',['../group__window.html#ga554e37d781f0a997656c26b2c56c835e',1,'glfw3.h']]], + ['glfwwaiteventstimeout_707',['glfwWaitEventsTimeout',['../group__window.html#ga605a178db92f1a7f1a925563ef3ea2cf',1,'glfw3.h']]], + ['glfwwindowhint_708',['glfwWindowHint',['../group__window.html#ga7d9c8c62384b1e2821c4dc48952d2033',1,'glfw3.h']]], + ['glfwwindowhintstring_709',['glfwWindowHintString',['../group__window.html#ga8cb2782861c9d997bcf2dea97f363e5f',1,'glfw3.h']]], + ['glfwwindowshouldclose_710',['glfwWindowShouldClose',['../group__window.html#ga24e02fbfefbb81fc45320989f8140ab5',1,'glfw3.h']]] +]; diff --git a/docs/3.4/search/groups_0.html b/docs/3.4/search/groups_0.html new file mode 100644 index 0000000..5d72bbb --- /dev/null +++ b/docs/3.4/search/groups_0.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/groups_0.js b/docs/3.4/search/groups_0.js new file mode 100644 index 0000000..124ac7b --- /dev/null +++ b/docs/3.4/search/groups_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['context_20reference_788',['Context reference',['../group__context.html',1,'']]] +]; diff --git a/docs/3.4/search/groups_1.html b/docs/3.4/search/groups_1.html new file mode 100644 index 0000000..2909493 --- /dev/null +++ b/docs/3.4/search/groups_1.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/groups_1.js b/docs/3.4/search/groups_1.js new file mode 100644 index 0000000..33e6979 --- /dev/null +++ b/docs/3.4/search/groups_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['error_20codes_789',['Error codes',['../group__errors.html',1,'']]] +]; diff --git a/docs/3.4/search/groups_2.html b/docs/3.4/search/groups_2.html new file mode 100644 index 0000000..ec36b21 --- /dev/null +++ b/docs/3.4/search/groups_2.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/groups_2.js b/docs/3.4/search/groups_2.js new file mode 100644 index 0000000..0ebf297 --- /dev/null +++ b/docs/3.4/search/groups_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['gamepad_20axes_790',['Gamepad axes',['../group__gamepad__axes.html',1,'']]], + ['gamepad_20buttons_791',['Gamepad buttons',['../group__gamepad__buttons.html',1,'']]] +]; diff --git a/docs/3.4/search/groups_3.html b/docs/3.4/search/groups_3.html new file mode 100644 index 0000000..fc86ed9 --- /dev/null +++ b/docs/3.4/search/groups_3.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/groups_3.js b/docs/3.4/search/groups_3.js new file mode 100644 index 0000000..a0c0121 --- /dev/null +++ b/docs/3.4/search/groups_3.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['initialization_2c_20version_20and_20error_20reference_792',['Initialization, version and error reference',['../group__init.html',1,'']]], + ['input_20reference_793',['Input reference',['../group__input.html',1,'']]] +]; diff --git a/docs/3.4/search/groups_4.html b/docs/3.4/search/groups_4.html new file mode 100644 index 0000000..0276a69 --- /dev/null +++ b/docs/3.4/search/groups_4.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/groups_4.js b/docs/3.4/search/groups_4.js new file mode 100644 index 0000000..76266db --- /dev/null +++ b/docs/3.4/search/groups_4.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['joystick_20hat_20states_794',['Joystick hat states',['../group__hat__state.html',1,'']]], + ['joysticks_795',['Joysticks',['../group__joysticks.html',1,'']]] +]; diff --git a/docs/3.4/search/groups_5.html b/docs/3.4/search/groups_5.html new file mode 100644 index 0000000..1e57d85 --- /dev/null +++ b/docs/3.4/search/groups_5.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/groups_5.js b/docs/3.4/search/groups_5.js new file mode 100644 index 0000000..3ee0787 --- /dev/null +++ b/docs/3.4/search/groups_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['keyboard_20keys_796',['Keyboard keys',['../group__keys.html',1,'']]] +]; diff --git a/docs/3.4/search/groups_6.html b/docs/3.4/search/groups_6.html new file mode 100644 index 0000000..329b5bc --- /dev/null +++ b/docs/3.4/search/groups_6.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/groups_6.js b/docs/3.4/search/groups_6.js new file mode 100644 index 0000000..56f6553 --- /dev/null +++ b/docs/3.4/search/groups_6.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['mouse_20buttons_797',['Mouse buttons',['../group__buttons.html',1,'']]], + ['modifier_20key_20flags_798',['Modifier key flags',['../group__mods.html',1,'']]], + ['monitor_20reference_799',['Monitor reference',['../group__monitor.html',1,'']]] +]; diff --git a/docs/3.4/search/groups_7.html b/docs/3.4/search/groups_7.html new file mode 100644 index 0000000..c7de058 --- /dev/null +++ b/docs/3.4/search/groups_7.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/groups_7.js b/docs/3.4/search/groups_7.js new file mode 100644 index 0000000..bbdc90c --- /dev/null +++ b/docs/3.4/search/groups_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['native_20access_800',['Native access',['../group__native.html',1,'']]] +]; diff --git a/docs/3.4/search/groups_8.html b/docs/3.4/search/groups_8.html new file mode 100644 index 0000000..69cd6c8 --- /dev/null +++ b/docs/3.4/search/groups_8.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/groups_8.js b/docs/3.4/search/groups_8.js new file mode 100644 index 0000000..3d60071 --- /dev/null +++ b/docs/3.4/search/groups_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['standard_20cursor_20shapes_801',['Standard cursor shapes',['../group__shapes.html',1,'']]] +]; diff --git a/docs/3.4/search/groups_9.html b/docs/3.4/search/groups_9.html new file mode 100644 index 0000000..43f6974 --- /dev/null +++ b/docs/3.4/search/groups_9.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/groups_9.js b/docs/3.4/search/groups_9.js new file mode 100644 index 0000000..25900a8 --- /dev/null +++ b/docs/3.4/search/groups_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['vulkan_20support_20reference_802',['Vulkan support reference',['../group__vulkan.html',1,'']]] +]; diff --git a/docs/3.4/search/groups_a.html b/docs/3.4/search/groups_a.html new file mode 100644 index 0000000..1628ef1 --- /dev/null +++ b/docs/3.4/search/groups_a.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/groups_a.js b/docs/3.4/search/groups_a.js new file mode 100644 index 0000000..7143513 --- /dev/null +++ b/docs/3.4/search/groups_a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window_20reference_803',['Window reference',['../group__window.html',1,'']]] +]; diff --git a/docs/3.4/search/mag_sel.png b/docs/3.4/search/mag_sel.png new file mode 100644 index 0000000000000000000000000000000000000000..39c0ed52a25dd9d080ee0d42ae6c6042bdfa04d7 GIT binary patch literal 465 zcmeAS@N?(olHy`uVBq!ia0vp^B0wz6!2%?$TA$hhDVB6cUq=Rpjs4tz5?O(Kg=CK) zUj~NU84L`?eGCi_EEpJ?t}-xGu`@87+QPtK?83kxQ`TapwHK(CDaqU2h2ejD|C#+j z9%q3^WHAE+w=f7ZGR&GI0Tg5}@$_|Nf5gMiEhFgvHvB$N=!mC_V~EE2vzPXI9ZnEo zd+1zHor@dYLod2Y{ z@R$7$Z!PXTbY$|@#T!bMzm?`b<(R`cbw(gxJHzu zB$lLFB^RXvDF!10LknF)BV7aY5JN*NBMU1-b8Q0yD+2>vd*|CI8glbfGSez?Ylunu RoetE%;OXk;vd$@?2>>CYplSdB literal 0 HcmV?d00001 diff --git a/docs/3.4/search/nomatches.html b/docs/3.4/search/nomatches.html new file mode 100644 index 0000000..4377320 --- /dev/null +++ b/docs/3.4/search/nomatches.html @@ -0,0 +1,12 @@ + + + + + + + +
    +
    No Matches
    +
    + + diff --git a/docs/3.4/search/pages_0.html b/docs/3.4/search/pages_0.html new file mode 100644 index 0000000..ca7755f --- /dev/null +++ b/docs/3.4/search/pages_0.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/pages_0.js b/docs/3.4/search/pages_0.js new file mode 100644 index 0000000..c2f6c6b --- /dev/null +++ b/docs/3.4/search/pages_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['bug_20list_804',['Bug List',['../bug.html',1,'']]], + ['building_20applications_805',['Building applications',['../build_guide.html',1,'']]] +]; diff --git a/docs/3.4/search/pages_1.html b/docs/3.4/search/pages_1.html new file mode 100644 index 0000000..4e469b4 --- /dev/null +++ b/docs/3.4/search/pages_1.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/pages_1.js b/docs/3.4/search/pages_1.js new file mode 100644 index 0000000..6e3aa5f --- /dev/null +++ b/docs/3.4/search/pages_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['compiling_20glfw_806',['Compiling GLFW',['../compile_guide.html',1,'']]], + ['context_20guide_807',['Context guide',['../context_guide.html',1,'']]] +]; diff --git a/docs/3.4/search/pages_2.html b/docs/3.4/search/pages_2.html new file mode 100644 index 0000000..7029153 --- /dev/null +++ b/docs/3.4/search/pages_2.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/pages_2.js b/docs/3.4/search/pages_2.js new file mode 100644 index 0000000..1bf90f7 --- /dev/null +++ b/docs/3.4/search/pages_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['deprecated_20list_808',['Deprecated List',['../deprecated.html',1,'']]] +]; diff --git a/docs/3.4/search/pages_3.html b/docs/3.4/search/pages_3.html new file mode 100644 index 0000000..fce1ba4 --- /dev/null +++ b/docs/3.4/search/pages_3.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/pages_3.js b/docs/3.4/search/pages_3.js new file mode 100644 index 0000000..be198e5 --- /dev/null +++ b/docs/3.4/search/pages_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['getting_20started_809',['Getting started',['../quick_guide.html',1,'']]] +]; diff --git a/docs/3.4/search/pages_4.html b/docs/3.4/search/pages_4.html new file mode 100644 index 0000000..6303829 --- /dev/null +++ b/docs/3.4/search/pages_4.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/pages_4.js b/docs/3.4/search/pages_4.js new file mode 100644 index 0000000..14037dc --- /dev/null +++ b/docs/3.4/search/pages_4.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['input_20guide_810',['Input guide',['../input_guide.html',1,'']]], + ['internal_20structure_811',['Internal structure',['../internals_guide.html',1,'']]], + ['introduction_20to_20the_20api_812',['Introduction to the API',['../intro_guide.html',1,'']]] +]; diff --git a/docs/3.4/search/pages_5.html b/docs/3.4/search/pages_5.html new file mode 100644 index 0000000..adf59e2 --- /dev/null +++ b/docs/3.4/search/pages_5.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/pages_5.js b/docs/3.4/search/pages_5.js new file mode 100644 index 0000000..6c78093 --- /dev/null +++ b/docs/3.4/search/pages_5.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['monitor_20guide_813',['Monitor guide',['../monitor_guide.html',1,'']]], + ['moving_20from_20glfw_202_20to_203_814',['Moving from GLFW 2 to 3',['../moving_guide.html',1,'']]] +]; diff --git a/docs/3.4/search/pages_6.html b/docs/3.4/search/pages_6.html new file mode 100644 index 0000000..575871b --- /dev/null +++ b/docs/3.4/search/pages_6.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/pages_6.js b/docs/3.4/search/pages_6.js new file mode 100644 index 0000000..3976e3b --- /dev/null +++ b/docs/3.4/search/pages_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['notitle_815',['notitle',['../index.html',1,'']]] +]; diff --git a/docs/3.4/search/pages_7.html b/docs/3.4/search/pages_7.html new file mode 100644 index 0000000..c355685 --- /dev/null +++ b/docs/3.4/search/pages_7.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/pages_7.js b/docs/3.4/search/pages_7.js new file mode 100644 index 0000000..d7650f0 --- /dev/null +++ b/docs/3.4/search/pages_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['release_20notes_816',['Release notes',['../news.html',1,'']]] +]; diff --git a/docs/3.4/search/pages_8.html b/docs/3.4/search/pages_8.html new file mode 100644 index 0000000..bb5201a --- /dev/null +++ b/docs/3.4/search/pages_8.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/pages_8.js b/docs/3.4/search/pages_8.js new file mode 100644 index 0000000..47b6888 --- /dev/null +++ b/docs/3.4/search/pages_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['standards_20conformance_817',['Standards conformance',['../compat_guide.html',1,'']]] +]; diff --git a/docs/3.4/search/pages_9.html b/docs/3.4/search/pages_9.html new file mode 100644 index 0000000..d1d1170 --- /dev/null +++ b/docs/3.4/search/pages_9.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/pages_9.js b/docs/3.4/search/pages_9.js new file mode 100644 index 0000000..8ad84d8 --- /dev/null +++ b/docs/3.4/search/pages_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['vulkan_20guide_818',['Vulkan guide',['../vulkan_guide.html',1,'']]] +]; diff --git a/docs/3.4/search/pages_a.html b/docs/3.4/search/pages_a.html new file mode 100644 index 0000000..6c10030 --- /dev/null +++ b/docs/3.4/search/pages_a.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/pages_a.js b/docs/3.4/search/pages_a.js new file mode 100644 index 0000000..9adb5d1 --- /dev/null +++ b/docs/3.4/search/pages_a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window_20guide_819',['Window guide',['../window_guide.html',1,'']]] +]; diff --git a/docs/3.4/search/search.css b/docs/3.4/search/search.css new file mode 100644 index 0000000..3cf9df9 --- /dev/null +++ b/docs/3.4/search/search.css @@ -0,0 +1,271 @@ +/*---------------- Search Box */ + +#FSearchBox { + float: left; +} + +#MSearchBox { + white-space : nowrap; + float: none; + margin-top: 8px; + right: 0px; + width: 170px; + height: 24px; + z-index: 102; +} + +#MSearchBox .left +{ + display:block; + position:absolute; + left:10px; + width:20px; + height:19px; + background:url('search_l.png') no-repeat; + background-position:right; +} + +#MSearchSelect { + display:block; + position:absolute; + width:20px; + height:19px; +} + +.left #MSearchSelect { + left:4px; +} + +.right #MSearchSelect { + right:5px; +} + +#MSearchField { + display:block; + position:absolute; + height:19px; + background:url('search_m.png') repeat-x; + border:none; + width:115px; + margin-left:20px; + padding-left:4px; + color: #909090; + outline: none; + font: 9pt Arial, Verdana, sans-serif; + -webkit-border-radius: 0px; +} + +#FSearchBox #MSearchField { + margin-left:15px; +} + +#MSearchBox .right { + display:block; + position:absolute; + right:10px; + top:8px; + width:20px; + height:19px; + background:url('search_r.png') no-repeat; + background-position:left; +} + +#MSearchClose { + display: none; + position: absolute; + top: 4px; + background : none; + border: none; + margin: 0px 4px 0px 0px; + padding: 0px 0px; + outline: none; +} + +.left #MSearchClose { + left: 6px; +} + +.right #MSearchClose { + right: 2px; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 10001; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; + z-index:10000; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; +} + +.SRResult { + display: none; +} + +DIV.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.searchresult { + background-color: #F0F3F8; +} + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: url("../tab_a.png"); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/docs/3.4/search/search.js b/docs/3.4/search/search.js new file mode 100644 index 0000000..ff2b8c8 --- /dev/null +++ b/docs/3.4/search/search.js @@ -0,0 +1,814 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var idxChar = searchValue.substr(0, 1).toLowerCase(); + if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair + { + idxChar = searchValue.substr(0, 2); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); + if (idx!=-1) + { + var hexCode=idx.toString(16); + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches.html'; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName == 'DIV' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName == 'DIV' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults() +{ + var results = document.getElementById("SRResults"); + for (var e=0; e(R!W8j_r#qQ#gnr4kAxdU#F0+OBry$Z+ z_0PMi;P|#{d%mw(dnw=jM%@$onTJa%@6Nm3`;2S#nwtVFJI#`U@2Q@@JCCctagvF- z8H=anvo~dTmJ2YA%wA6IHRv%{vxvUm|R)kgZeo zmX%Zb;mpflGZdXCTAgit`||AFzkI#z&(3d4(htA?U2FOL4WF6wY&TB#n3n*I4+hl| z*NBpo#FA92vEu822WQ%mvv4FO#qs` BFGc_W literal 0 HcmV?d00001 diff --git a/docs/3.4/search/search_r.png b/docs/3.4/search/search_r.png new file mode 100644 index 0000000000000000000000000000000000000000..1af5d21ee13e070d7600f1c4657fde843b953a69 GIT binary patch literal 553 zcmeAS@N?(olHy`uVBq!ia0vp^LO?9c!2%@BXHTsJQY`6?zK#qG8~eHcB(ehe3dtTp zz6=bxGZ+|(`xqD=STHa&U1eaXVrO7DwS|Gf*oA>XrmV$GYcEhOQT(QLuS{~ooZ2P@v=Xc@RKW@Irliv8_;wroU0*)0O?temdsA~70jrdux+`@W7 z-N(<(C)L?hOO?KV{>8(jC{hpKsws)#Fh zvsO>IB+gb@b+rGWaO&!a9Z{!U+fV*s7TS>fdt&j$L%^U@Epd$~Nl7e8wMs5Z1yT$~ z28I^8hDN#u<{^fLRz?<9hUVG^237_Jy7tbuQ8eV{r(~v8;?@w8^gA7>fx*+&&t;uc GLK6VEQpiUD literal 0 HcmV?d00001 diff --git a/docs/3.4/search/searchdata.js b/docs/3.4/search/searchdata.js new file mode 100644 index 0000000..26680a5 --- /dev/null +++ b/docs/3.4/search/searchdata.js @@ -0,0 +1,39 @@ +var indexSectionsWithContent = +{ + 0: "abcdeghijkmnpqrsvw", + 1: "g", + 2: "bcgimnqvw", + 3: "g", + 4: "abghprsw", + 5: "g", + 6: "g", + 7: "cegijkmnsvw", + 8: "bcdgimnrsvw" +}; + +var indexSectionNames = +{ + 0: "all", + 1: "classes", + 2: "files", + 3: "functions", + 4: "variables", + 5: "typedefs", + 6: "defines", + 7: "groups", + 8: "pages" +}; + +var indexSectionLabels = +{ + 0: "All", + 1: "Data Structures", + 2: "Files", + 3: "Functions", + 4: "Variables", + 5: "Typedefs", + 6: "Macros", + 7: "Modules", + 8: "Pages" +}; + diff --git a/docs/3.4/search/typedefs_0.html b/docs/3.4/search/typedefs_0.html new file mode 100644 index 0000000..43353ee --- /dev/null +++ b/docs/3.4/search/typedefs_0.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/typedefs_0.js b/docs/3.4/search/typedefs_0.js new file mode 100644 index 0000000..9dede22 --- /dev/null +++ b/docs/3.4/search/typedefs_0.js @@ -0,0 +1,32 @@ +var searchData= +[ + ['glfwcharfun_724',['GLFWcharfun',['../group__input.html#ga2c4c70bfb3fb990182a4591cd21a374d',1,'glfw3.h']]], + ['glfwcharmodsfun_725',['GLFWcharmodsfun',['../group__input.html#ga78c3d45fdf9aaef0b8d670bf2a9519e2',1,'glfw3.h']]], + ['glfwcursor_726',['GLFWcursor',['../group__input.html#ga89261ae18c75e863aaf2656ecdd238f4',1,'glfw3.h']]], + ['glfwcursorenterfun_727',['GLFWcursorenterfun',['../group__input.html#ga945bb284410b64c49ecc50195692720a',1,'glfw3.h']]], + ['glfwcursorposfun_728',['GLFWcursorposfun',['../group__input.html#ga081a67dfb879e14707a5abd7de242b8a',1,'glfw3.h']]], + ['glfwdropfun_729',['GLFWdropfun',['../group__input.html#ga76a7371bc7edc035212b86ce85390fd2',1,'glfw3.h']]], + ['glfwerrorfun_730',['GLFWerrorfun',['../group__init.html#gaa684e3f8b44b6a35000119d524d49e6d',1,'glfw3.h']]], + ['glfwframebuffersizefun_731',['GLFWframebuffersizefun',['../group__window.html#ga54302eebe2f81518a544723a1d805388',1,'glfw3.h']]], + ['glfwgamepadstate_732',['GLFWgamepadstate',['../group__input.html#ga61acfb1f28f751438dd221225c5e725d',1,'glfw3.h']]], + ['glfwgammaramp_733',['GLFWgammaramp',['../group__monitor.html#ga939cf093cb0af0498b7b54dc2e181404',1,'glfw3.h']]], + ['glfwglproc_734',['GLFWglproc',['../group__context.html#ga3d47c2d2fbe0be9c505d0e04e91a133c',1,'glfw3.h']]], + ['glfwimage_735',['GLFWimage',['../group__window.html#ga7cc0a09de172fa7250872046f8c4d2ca',1,'glfw3.h']]], + ['glfwjoystickfun_736',['GLFWjoystickfun',['../group__input.html#gafc05b099b23b3b23a992bdf6d77c191a',1,'glfw3.h']]], + ['glfwkeyfun_737',['GLFWkeyfun',['../group__input.html#ga9c6c9d019ac11d888e45b11b14772659',1,'glfw3.h']]], + ['glfwmonitor_738',['GLFWmonitor',['../group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3',1,'glfw3.h']]], + ['glfwmonitorfun_739',['GLFWmonitorfun',['../group__monitor.html#gacc7165513fd258601c4cb763c1369693',1,'glfw3.h']]], + ['glfwmousebuttonfun_740',['GLFWmousebuttonfun',['../group__input.html#gac4312f2199caa15988cebb59ec530373',1,'glfw3.h']]], + ['glfwscrollfun_741',['GLFWscrollfun',['../group__input.html#ga077345c3a10d906b2b3f2d550ae02971',1,'glfw3.h']]], + ['glfwvidmode_742',['GLFWvidmode',['../group__monitor.html#ga902c2816ac9b34b757282daab59b2565',1,'glfw3.h']]], + ['glfwvkproc_743',['GLFWvkproc',['../group__vulkan.html#ga70c01918dc9d233a4fbe0681a43018af',1,'glfw3.h']]], + ['glfwwindow_744',['GLFWwindow',['../group__window.html#ga3c96d80d363e67d13a41b5d1821f3242',1,'glfw3.h']]], + ['glfwwindowclosefun_745',['GLFWwindowclosefun',['../group__window.html#ga5c46f9d2435a22b531382ea642216a61',1,'glfw3.h']]], + ['glfwwindowcontentscalefun_746',['GLFWwindowcontentscalefun',['../group__window.html#gaca2e04ad85e70a646f07a870c2cad4ee',1,'glfw3.h']]], + ['glfwwindowfocusfun_747',['GLFWwindowfocusfun',['../group__window.html#ga6b15f80f61ff396d89720be2a183ca8a',1,'glfw3.h']]], + ['glfwwindowiconifyfun_748',['GLFWwindowiconifyfun',['../group__window.html#gaaa80beaa1d108e6bc09f666e186e735c',1,'glfw3.h']]], + ['glfwwindowmaximizefun_749',['GLFWwindowmaximizefun',['../group__window.html#ga82868db51248e7bc2deb2082336e6c70',1,'glfw3.h']]], + ['glfwwindowposfun_750',['GLFWwindowposfun',['../group__window.html#gaffb62b9d3f7dc2d6e7c89d3d76142f13',1,'glfw3.h']]], + ['glfwwindowrefreshfun_751',['GLFWwindowrefreshfun',['../group__window.html#ga7747bf66194241cff4f12d3500d8f9cd',1,'glfw3.h']]], + ['glfwwindowsizefun_752',['GLFWwindowsizefun',['../group__window.html#gaac00a2d1d82875c2bac1af223e9d3c58',1,'glfw3.h']]] +]; diff --git a/docs/3.4/search/variables_0.html b/docs/3.4/search/variables_0.html new file mode 100644 index 0000000..9ce246b --- /dev/null +++ b/docs/3.4/search/variables_0.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/variables_0.js b/docs/3.4/search/variables_0.js new file mode 100644 index 0000000..1235e9b --- /dev/null +++ b/docs/3.4/search/variables_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['axes_711',['axes',['../structGLFWgamepadstate.html#a8b2c8939b1d31458de5359998375c189',1,'GLFWgamepadstate']]] +]; diff --git a/docs/3.4/search/variables_1.html b/docs/3.4/search/variables_1.html new file mode 100644 index 0000000..5802cec --- /dev/null +++ b/docs/3.4/search/variables_1.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/variables_1.js b/docs/3.4/search/variables_1.js new file mode 100644 index 0000000..e319d4f --- /dev/null +++ b/docs/3.4/search/variables_1.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['blue_712',['blue',['../structGLFWgammaramp.html#acf0c836d0efe29c392fe8d1a1042744b',1,'GLFWgammaramp']]], + ['bluebits_713',['blueBits',['../structGLFWvidmode.html#af310977f58d2e3b188175b6e3d314047',1,'GLFWvidmode']]], + ['buttons_714',['buttons',['../structGLFWgamepadstate.html#a27e9896b51c65df15fba2c7139bfdb9a',1,'GLFWgamepadstate']]] +]; diff --git a/docs/3.4/search/variables_2.html b/docs/3.4/search/variables_2.html new file mode 100644 index 0000000..00291e5 --- /dev/null +++ b/docs/3.4/search/variables_2.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/variables_2.js b/docs/3.4/search/variables_2.js new file mode 100644 index 0000000..a394c37 --- /dev/null +++ b/docs/3.4/search/variables_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['green_715',['green',['../structGLFWgammaramp.html#affccc6f5df47820b6562d709da3a5a3a',1,'GLFWgammaramp']]], + ['greenbits_716',['greenBits',['../structGLFWvidmode.html#a292fdd281f3485fb3ff102a5bda43faa',1,'GLFWvidmode']]] +]; diff --git a/docs/3.4/search/variables_3.html b/docs/3.4/search/variables_3.html new file mode 100644 index 0000000..0e5389b --- /dev/null +++ b/docs/3.4/search/variables_3.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/variables_3.js b/docs/3.4/search/variables_3.js new file mode 100644 index 0000000..8f4349b --- /dev/null +++ b/docs/3.4/search/variables_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['height_717',['height',['../structGLFWvidmode.html#ac65942a5f6981695517437a9d571d03c',1,'GLFWvidmode::height()'],['../structGLFWimage.html#a0b7d95368f0c80d5e5c9875057c7dbec',1,'GLFWimage::height()']]] +]; diff --git a/docs/3.4/search/variables_4.html b/docs/3.4/search/variables_4.html new file mode 100644 index 0000000..789a86b --- /dev/null +++ b/docs/3.4/search/variables_4.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/variables_4.js b/docs/3.4/search/variables_4.js new file mode 100644 index 0000000..d81ba6e --- /dev/null +++ b/docs/3.4/search/variables_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['pixels_718',['pixels',['../structGLFWimage.html#a0c532a5c2bb715555279b7817daba0fb',1,'GLFWimage']]] +]; diff --git a/docs/3.4/search/variables_5.html b/docs/3.4/search/variables_5.html new file mode 100644 index 0000000..c7873eb --- /dev/null +++ b/docs/3.4/search/variables_5.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/variables_5.js b/docs/3.4/search/variables_5.js new file mode 100644 index 0000000..4840102 --- /dev/null +++ b/docs/3.4/search/variables_5.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['red_719',['red',['../structGLFWgammaramp.html#a2cce5d968734b685623eef913e635138',1,'GLFWgammaramp']]], + ['redbits_720',['redBits',['../structGLFWvidmode.html#a6066c4ecd251098700062d3b735dba1b',1,'GLFWvidmode']]], + ['refreshrate_721',['refreshRate',['../structGLFWvidmode.html#a791bdd6c7697b09f7e9c97054bf05649',1,'GLFWvidmode']]] +]; diff --git a/docs/3.4/search/variables_6.html b/docs/3.4/search/variables_6.html new file mode 100644 index 0000000..a588588 --- /dev/null +++ b/docs/3.4/search/variables_6.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/variables_6.js b/docs/3.4/search/variables_6.js new file mode 100644 index 0000000..ea66fb1 --- /dev/null +++ b/docs/3.4/search/variables_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['size_722',['size',['../structGLFWgammaramp.html#ad620e1cffbff9a32c51bca46301b59a5',1,'GLFWgammaramp']]] +]; diff --git a/docs/3.4/search/variables_7.html b/docs/3.4/search/variables_7.html new file mode 100644 index 0000000..b09b295 --- /dev/null +++ b/docs/3.4/search/variables_7.html @@ -0,0 +1,36 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/3.4/search/variables_7.js b/docs/3.4/search/variables_7.js new file mode 100644 index 0000000..7cb64ed --- /dev/null +++ b/docs/3.4/search/variables_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['width_723',['width',['../structGLFWvidmode.html#a698dcb200562051a7249cb6ae154c71d',1,'GLFWvidmode::width()'],['../structGLFWimage.html#af6a71cc999fe6d3aea31dd7e9687d835',1,'GLFWimage::width()']]] +]; diff --git a/docs/3.4/spaces.svg b/docs/3.4/spaces.svg new file mode 100644 index 0000000..5b32646 --- /dev/null +++ b/docs/3.4/spaces.svg @@ -0,0 +1,877 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/3.4/splitbar.png b/docs/3.4/splitbar.png new file mode 100644 index 0000000000000000000000000000000000000000..fe895f2c58179b471a22d8320b39a4bd7312ec8e GIT binary patch literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T literal 0 HcmV?d00001 diff --git a/docs/3.4/structGLFWgamepadstate.html b/docs/3.4/structGLFWgamepadstate.html new file mode 100644 index 0000000..672cc00 --- /dev/null +++ b/docs/3.4/structGLFWgamepadstate.html @@ -0,0 +1,127 @@ + + + + + + + +GLFW: GLFWgamepadstate Struct Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    GLFWgamepadstate Struct Reference
    +
    +
    + +

    Gamepad input state. + More...

    + + + + + + +

    +Data Fields

    unsigned char buttons [15]
     
    float axes [6]
     
    +

    Detailed Description

    +

    This describes the input state of a gamepad.

    +
    See also
    Gamepad input
    +
    +glfwGetGamepadState
    +
    Since
    Added in version 3.3.
    +

    Field Documentation

    + +

    ◆ buttons

    + +
    +
    + + + + +
    unsigned char GLFWgamepadstate::buttons[15]
    +
    +

    The states of each gamepad button, GLFW_PRESS or GLFW_RELEASE.

    + +
    +
    + +

    ◆ axes

    + +
    +
    + + + + +
    float GLFWgamepadstate::axes[6]
    +
    +

    The states of each gamepad axis, in the range -1.0 to 1.0 inclusive.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/3.4/structGLFWgammaramp.html b/docs/3.4/structGLFWgammaramp.html new file mode 100644 index 0000000..6570a40 --- /dev/null +++ b/docs/3.4/structGLFWgammaramp.html @@ -0,0 +1,163 @@ + + + + + + + +GLFW: GLFWgammaramp Struct Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    GLFWgammaramp Struct Reference
    +
    +
    + +

    Gamma ramp. + More...

    + + + + + + + + + + +

    +Data Fields

    unsigned short * red
     
    unsigned short * green
     
    unsigned short * blue
     
    unsigned int size
     
    +

    Detailed Description

    +

    This describes the gamma ramp for a monitor.

    +
    See also
    Gamma ramp
    +
    +glfwGetGammaRamp
    +
    +glfwSetGammaRamp
    +
    Since
    Added in version 3.0.
    +

    Field Documentation

    + +

    ◆ red

    + +
    +
    + + + + +
    unsigned short* GLFWgammaramp::red
    +
    +

    An array of value describing the response of the red channel.

    + +
    +
    + +

    ◆ green

    + +
    +
    + + + + +
    unsigned short* GLFWgammaramp::green
    +
    +

    An array of value describing the response of the green channel.

    + +
    +
    + +

    ◆ blue

    + +
    +
    + + + + +
    unsigned short* GLFWgammaramp::blue
    +
    +

    An array of value describing the response of the blue channel.

    + +
    +
    + +

    ◆ size

    + +
    +
    + + + + +
    unsigned int GLFWgammaramp::size
    +
    +

    The number of elements in each array.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/3.4/structGLFWimage.html b/docs/3.4/structGLFWimage.html new file mode 100644 index 0000000..48b4628 --- /dev/null +++ b/docs/3.4/structGLFWimage.html @@ -0,0 +1,144 @@ + + + + + + + +GLFW: GLFWimage Struct Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    GLFWimage Struct Reference
    +
    +
    + +

    Image data. + More...

    + + + + + + + + +

    +Data Fields

    int width
     
    int height
     
    unsigned char * pixels
     
    +

    Detailed Description

    +

    This describes a single 2D image. See the documentation for each related function what the expected pixel format is.

    +
    See also
    Custom cursor creation
    +
    +Window icon
    +
    Since
    Added in version 2.1. GLFW 3: Removed format and bytes-per-pixel members.
    +

    Field Documentation

    + +

    ◆ width

    + +
    +
    + + + + +
    int GLFWimage::width
    +
    +

    The width, in pixels, of this image.

    + +
    +
    + +

    ◆ height

    + +
    +
    + + + + +
    int GLFWimage::height
    +
    +

    The height, in pixels, of this image.

    + +
    +
    + +

    ◆ pixels

    + +
    +
    + + + + +
    unsigned char* GLFWimage::pixels
    +
    +

    The pixel data of this image, arranged left-to-right, top-to-bottom.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/3.4/structGLFWvidmode.html b/docs/3.4/structGLFWvidmode.html new file mode 100644 index 0000000..2d4fb3d --- /dev/null +++ b/docs/3.4/structGLFWvidmode.html @@ -0,0 +1,197 @@ + + + + + + + +GLFW: GLFWvidmode Struct Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    GLFWvidmode Struct Reference
    +
    +
    + +

    Video mode type. + More...

    + + + + + + + + + + + + + + +

    +Data Fields

    int width
     
    int height
     
    int redBits
     
    int greenBits
     
    int blueBits
     
    int refreshRate
     
    +

    Detailed Description

    +

    This describes a single video mode.

    +
    See also
    Video modes
    +
    +glfwGetVideoMode
    +
    +glfwGetVideoModes
    +
    Since
    Added in version 1.0. GLFW 3: Added refresh rate member.
    +

    Field Documentation

    + +

    ◆ width

    + +
    +
    + + + + +
    int GLFWvidmode::width
    +
    +

    The width, in screen coordinates, of the video mode.

    + +
    +
    + +

    ◆ height

    + +
    +
    + + + + +
    int GLFWvidmode::height
    +
    +

    The height, in screen coordinates, of the video mode.

    + +
    +
    + +

    ◆ redBits

    + +
    +
    + + + + +
    int GLFWvidmode::redBits
    +
    +

    The bit depth of the red channel of the video mode.

    + +
    +
    + +

    ◆ greenBits

    + +
    +
    + + + + +
    int GLFWvidmode::greenBits
    +
    +

    The bit depth of the green channel of the video mode.

    + +
    +
    + +

    ◆ blueBits

    + +
    +
    + + + + +
    int GLFWvidmode::blueBits
    +
    +

    The bit depth of the blue channel of the video mode.

    + +
    +
    + +

    ◆ refreshRate

    + +
    +
    + + + + +
    int GLFWvidmode::refreshRate
    +
    +

    The refresh rate, in Hz, of the video mode.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/3.4/sync_off.png b/docs/3.4/sync_off.png new file mode 100644 index 0000000000000000000000000000000000000000..3b443fc62892114406e3d399421b2a881b897acc GIT binary patch literal 853 zcmV-b1FHOqP)oT|#XixUYy%lpuf3i8{fX!o zUyDD0jOrAiT^tq>fLSOOABs-#u{dV^F$b{L9&!2=9&RmV;;8s^x&UqB$PCj4FdKbh zoB1WTskPUPu05XzFbA}=KZ-GP1fPpAfSs>6AHb12UlR%-i&uOlTpFNS7{jm@mkU1V zh`nrXr~+^lsV-s1dkZOaI|kYyVj3WBpPCY{n~yd%u%e+d=f%`N0FItMPtdgBb@py; zq@v6NVArhyTC7)ULw-Jy8y42S1~4n(3LkrW8mW(F-4oXUP3E`e#g**YyqI7h-J2zK zK{m9##m4ri!7N>CqQqCcnI3hqo1I;Yh&QLNY4T`*ptiQGozK>FF$!$+84Z`xwmeMh zJ0WT+OH$WYFALEaGj2_l+#DC3t7_S`vHpSivNeFbP6+r50cO8iu)`7i%Z4BTPh@_m3Tk!nAm^)5Bqnr%Ov|Baunj#&RPtRuK& z4RGz|D5HNrW83-#ydk}tVKJrNmyYt-sTxLGlJY5nc&Re zU4SgHNPx8~Yxwr$bsju?4q&%T1874xxzq+_%?h8_ofw~(bld=o3iC)LUNR*BY%c0y zWd_jX{Y8`l%z+ol1$@Qa?Cy!(0CVIEeYpKZ`(9{z>3$CIe;pJDQk$m3p}$>xBm4lb zKo{4S)`wdU9Ba9jJbVJ0C=SOefZe%d$8=2r={nu<_^a3~>c#t_U6dye5)JrR(_a^E f@}b6j1K9lwFJq@>o)+Ry00000NkvXXu0mjfWa5j* literal 0 HcmV?d00001 diff --git a/docs/3.4/sync_on.png b/docs/3.4/sync_on.png new file mode 100644 index 0000000000000000000000000000000000000000..e08320fb64e6fa33b573005ed6d8fe294e19db76 GIT binary patch literal 845 zcmV-T1G4;yP)Y;xxyHF2B5Wzm| zOOGupOTn@c(JmBOl)e;XMNnZuiTJP>rM8<|Q`7I_))aP?*T)ow&n59{}X4$3Goat zgjs?*aasfbrokzG5cT4K=uG`E14xZl@z)F={P0Y^?$4t z>v!teRnNZym<6h{7sLyF1V0HsfEl+l6TrZpsfr1}luH~F7L}ktXu|*uVX^RG$L0`K zWs3j|0tIvVe(N%_?2{(iCPFGf#B6Hjy6o&}D$A%W%jfO8_W%ZO#-mh}EM$LMn7joJ z05dHr!5Y92g+31l<%i1(=L1a1pXX+OYnalY>31V4K}BjyRe3)9n#;-cCVRD_IG1fT zOKGeNY8q;TL@K{dj@D^scf&VCs*-Jb>8b>|`b*osv52-!A?BpbYtTQBns5EAU**$m zSnVSm(teh>tQi*S*A>#ySc=n;`BHz`DuG4&g4Kf8lLhca+zvZ7t7RflD6-i-mcK=M z!=^P$*u2)bkY5asG4gsss!Hn%u~>}kIW`vMs%lJLH+u*9<4PaV_c6U`KqWXQH%+Nu zTv41O(^ZVi@qhjQdG!fbZw&y+2o!iYymO^?ud3{P*HdoX83YV*Uu_HB=?U&W9%AU# z80}k1SS-CXTU7dcQlsm<^oYLxVSseqY6NO}dc`Nj?8vrhNuCdm@^{a3AQ_>6myOj+ z`1RsLUXF|dm|3k7s2jD(B{rzE>WI2scH8i1;=O5Cc9xB3^aJk%fQjqsu+kH#0=_5a z0nCE8@dbQa-|YIuUVvG0L_IwHMEhOj$Mj4Uq05 X8=0q~qBNan00000NkvXXu0mjfptF>5 literal 0 HcmV?d00001 diff --git a/docs/3.4/tab_a.png b/docs/3.4/tab_a.png new file mode 100644 index 0000000000000000000000000000000000000000..3b725c41c5a527a3a3e40097077d0e206a681247 GIT binary patch literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QlXwMjv*C{Z|8b*H5dputLHD# z=<0|*y7z(Vor?d;H&?EG&cXR}?!j-Lm&u1OOI7AIF5&c)RFE;&p0MYK>*Kl@eiymD r@|NpwKX@^z+;{u_Z~trSBfrMKa%3`zocFjEXaR$#tDnm{r-UW|TZ1%4 literal 0 HcmV?d00001 diff --git a/docs/3.4/tab_b.png b/docs/3.4/tab_b.png new file mode 100644 index 0000000000000000000000000000000000000000..e2b4a8638cb3496a016eaed9e16ffc12846dea18 GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QU#tajv*C{Z}0l@H7kg?K0Lnr z!j&C6_(~HV9oQ0Pa6x{-v0AGV_E?vLn=ZI-;YrdjIl`U`uzuDWSP?o#Dmo{%SgM#oan kX~E1%D-|#H#QbHoIja2U-MgvsK&LQxy85}Sb4q9e0Efg%P5=M^ literal 0 HcmV?d00001 diff --git a/docs/3.4/tabs.css b/docs/3.4/tabs.css new file mode 100644 index 0000000..85a0cd5 --- /dev/null +++ b/docs/3.4/tabs.css @@ -0,0 +1 @@ +.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace!important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0!important;-webkit-border-radius:0;border-radius:0!important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px!important;-webkit-border-radius:5px;border-radius:5px!important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0!important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px!important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file diff --git a/docs/3.4/vulkan.html b/docs/3.4/vulkan.html new file mode 120000 index 0000000..245e69a --- /dev/null +++ b/docs/3.4/vulkan.html @@ -0,0 +1 @@ +vulkan_guide.html \ No newline at end of file diff --git a/docs/3.4/vulkan_8dox.html b/docs/3.4/vulkan_8dox.html new file mode 100644 index 0000000..6dfa189 --- /dev/null +++ b/docs/3.4/vulkan_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: vulkan.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    vulkan.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.4/vulkan_guide.html b/docs/3.4/vulkan_guide.html new file mode 100644 index 0000000..a373a1e --- /dev/null +++ b/docs/3.4/vulkan_guide.html @@ -0,0 +1,188 @@ + + + + + + + +GLFW: Vulkan guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Vulkan guide
    +
    +
    + +

    This guide is intended to fill the gaps between the official Vulkan resources and the rest of the GLFW documentation and is not a replacement for either. It assumes some familiarity with Vulkan concepts like loaders, devices, queues and surfaces and leaves it to the Vulkan documentation to explain the details of Vulkan functions.

    +

    To develop for Vulkan you should download the LunarG Vulkan SDK for your platform. Apart from headers and link libraries, they also provide the validation layers necessary for development.

    +

    The Vulkan Tutorial has more information on how to use GLFW and Vulkan. The Khronos Vulkan Samples also use GLFW, although with a small framework in between.

    +

    For details on a specific Vulkan support function, see the Vulkan support reference. There are also guides for the other areas of the GLFW API.

    + +

    +Linking against the Vulkan loader

    +

    By default, GLFW will look for the Vulkan loader on demand at runtime via its standard name (vulkan-1.dll on Windows, libvulkan.so.1 on Linux and other Unix-like systems and libvulkan.1.dylib on macOS). This means that GLFW does not need to be linked against the loader. However, it also means that if you are using the static library form of the Vulkan loader GLFW will either fail to find it or (worse) use the wrong one.

    +

    The GLFW_VULKAN_STATIC CMake option makes GLFW call the Vulkan loader directly instead of dynamically loading it at runtime. Not linking against the Vulkan loader will then be a compile-time error.

    +

    macOS: Because the Vulkan loader and ICD are not installed globally on macOS, you need to set up the application bundle according to the LunarG SDK documentation. This is explained in more detail in the SDK documentation for macOS.

    +

    +Including the Vulkan and GLFW header files

    +

    To include the Vulkan header, define GLFW_INCLUDE_VULKAN before including the GLFW header.

    +
    #define GLFW_INCLUDE_VULKAN
    +
    #include <GLFW/glfw3.h>
    +

    If you instead want to include the Vulkan header from a custom location or use your own custom Vulkan header then do this before the GLFW header.

    +
    #include <path/to/vulkan.h>
    +
    #include <GLFW/glfw3.h>
    +

    Unless a Vulkan header is included, either by the GLFW header or above it, any GLFW functions that take or return Vulkan types will not be declared.

    +

    The VK_USE_PLATFORM_*_KHR macros do not need to be defined for the Vulkan part of GLFW to work. Define them only if you are using these extensions directly.

    +

    +Querying for Vulkan support

    +

    If you are linking directly against the Vulkan loader then you can skip this section. The canonical desktop loader library exports all Vulkan core and Khronos extension functions, allowing them to be called directly.

    +

    If you are loading the Vulkan loader dynamically instead of linking directly against it, you can check for the availability of a loader and ICD with glfwVulkanSupported.

    +
    +
    {
    +
    // Vulkan is available, at least for compute
    +
    }
    +

    This function returns GLFW_TRUE if the Vulkan loader and any minimally functional ICD was found.

    +

    If if one or both were not found, calling any other Vulkan related GLFW function will generate a GLFW_API_UNAVAILABLE error.

    +

    +Querying Vulkan function pointers

    +

    To load any Vulkan core or extension function from the found loader, call glfwGetInstanceProcAddress. To load functions needed for instance creation, pass NULL as the instance.

    +
    PFN_vkCreateInstance pfnCreateInstance = (PFN_vkCreateInstance)
    +
    glfwGetInstanceProcAddress(NULL, "vkCreateInstance");
    +

    Once you have created an instance, you can load from it all other Vulkan core functions and functions from any instance extensions you enabled.

    +
    PFN_vkCreateDevice pfnCreateDevice = (PFN_vkCreateDevice)
    +
    glfwGetInstanceProcAddress(instance, "vkCreateDevice");
    +

    This function in turn calls vkGetInstanceProcAddr. If that fails, the function falls back to a platform-specific query of the Vulkan loader (i.e. dlsym or GetProcAddress). If that also fails, the function returns NULL. For more information about vkGetInstanceProcAddr, see the Vulkan documentation.

    +

    Vulkan also provides vkGetDeviceProcAddr for loading device-specific versions of Vulkan function. This function can be retrieved from an instance with glfwGetInstanceProcAddress.

    +
    PFN_vkGetDeviceProcAddr pfnGetDeviceProcAddr = (PFN_vkGetDeviceProcAddr)
    +
    glfwGetInstanceProcAddress(instance, "vkGetDeviceProcAddr");
    +

    Device-specific functions may execute a little bit faster, due to not having to dispatch internally based on the device passed to them. For more information about vkGetDeviceProcAddr, see the Vulkan documentation.

    +

    +Querying required Vulkan extensions

    +

    To do anything useful with Vulkan you need to create an instance. If you want to use Vulkan to render to a window, you must enable the instance extensions GLFW requires to create Vulkan surfaces.

    +

    To query the instance extensions required, call glfwGetRequiredInstanceExtensions.

    +
    uint32_t count;
    +
    const char** extensions = glfwGetRequiredInstanceExtensions(&count);
    +

    These extensions must all be enabled when creating instances that are going to be passed to glfwGetPhysicalDevicePresentationSupport and glfwCreateWindowSurface. The set of extensions will vary depending on platform and may also vary depending on graphics drivers and other factors.

    +

    If it fails it will return NULL and GLFW will not be able to create Vulkan window surfaces. You can still use Vulkan for off-screen rendering and compute work.

    +

    If successful the returned array will always include VK_KHR_surface, so if you don't require any additional extensions you can pass this list directly to the VkInstanceCreateInfo struct.

    +
    VkInstanceCreateInfo ici;
    +
    +
    memset(&ici, 0, sizeof(ici));
    +
    ici.enabledExtensionCount = count;
    +
    ici.ppEnabledExtensionNames = extensions;
    +
    ...
    +

    Additional extensions may be required by future versions of GLFW. You should check whether any extensions you wish to enable are already in the returned array, as it is an error to specify an extension more than once in the VkInstanceCreateInfo struct.

    +

    +Querying for Vulkan presentation support

    +

    Not every queue family of every Vulkan device can present images to surfaces. To check whether a specific queue family of a physical device supports image presentation without first having to create a window and surface, call glfwGetPhysicalDevicePresentationSupport.

    +
    if (glfwGetPhysicalDevicePresentationSupport(instance, physical_device, queue_family_index))
    +
    {
    +
    // Queue family supports image presentation
    +
    }
    +

    The VK_KHR_surface extension additionally provides the vkGetPhysicalDeviceSurfaceSupportKHR function, which performs the same test on an existing Vulkan surface.

    +

    +Creating the window

    +

    Unless you will be using OpenGL or OpenGL ES with the same window as Vulkan, there is no need to create a context. You can disable context creation with the GLFW_CLIENT_API hint.

    +
    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "Window Title", NULL, NULL);
    +

    See Windows without contexts for more information.

    +

    +Creating a Vulkan window surface

    +

    You can create a Vulkan surface (as defined by the VK_KHR_surface extension) for a GLFW window with glfwCreateWindowSurface.

    +
    VkSurfaceKHR surface;
    +
    VkResult err = glfwCreateWindowSurface(instance, window, NULL, &surface);
    +
    if (err)
    +
    {
    +
    // Window surface creation failed
    +
    }
    +

    If an OpenGL or OpenGL ES context was created on the window, the context has ownership of the presentation on the window and a Vulkan surface cannot be created.

    +

    It is your responsibility to destroy the surface. GLFW does not destroy it for you. Call vkDestroySurfaceKHR function from the same extension to destroy it.

    +
    +
    +
    The header of the GLFW 3 API.
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1312
    +
    const char ** glfwGetRequiredInstanceExtensions(uint32_t *count)
    Returns the Vulkan instance extensions required by GLFW.
    +
    int glfwVulkanSupported(void)
    Returns whether the Vulkan loader and an ICD have been found.
    +
    VkResult glfwCreateWindowSurface(VkInstance instance, GLFWwindow *window, const VkAllocationCallbacks *allocator, VkSurfaceKHR *surface)
    Creates a Vulkan surface for the specified window.
    +
    #define GLFW_NO_API
    Definition: glfw3.h:1084
    +
    #define GLFW_CLIENT_API
    Context client API hint and attribute.
    Definition: glfw3.h:991
    +
    GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
    Creates a window and its associated context.
    +
    void glfwWindowHint(int hint, int value)
    Sets the specified window hint to the desired value.
    +
    int glfwGetPhysicalDevicePresentationSupport(VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily)
    Returns whether the specified queue family can present images.
    +
    GLFWvkproc glfwGetInstanceProcAddress(VkInstance instance, const char *procname)
    Returns the address of the specified Vulkan instance function.
    + + + diff --git a/docs/3.4/window.html b/docs/3.4/window.html new file mode 120000 index 0000000..de56de0 --- /dev/null +++ b/docs/3.4/window.html @@ -0,0 +1 @@ +window_guide.html \ No newline at end of file diff --git a/docs/3.4/window_8dox.html b/docs/3.4/window_8dox.html new file mode 100644 index 0000000..3d2e070 --- /dev/null +++ b/docs/3.4/window_8dox.html @@ -0,0 +1,74 @@ + + + + + + + +GLFW: window.dox File Reference + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    window.dox File Reference
    +
    +
    +
    + + + diff --git a/docs/3.4/window_guide.html b/docs/3.4/window_guide.html new file mode 100644 index 0000000..b11637f --- /dev/null +++ b/docs/3.4/window_guide.html @@ -0,0 +1,765 @@ + + + + + + + +GLFW: Window guide + + + + + + + + + + +
    + + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    +
    +
    Window guide
    +
    +
    + +

    This guide introduces the window related functions of GLFW. For details on a specific function in this category, see the Window reference. There are also guides for the other areas of GLFW.

    + +

    +Window objects

    +

    The GLFWwindow object encapsulates both a window and a context. They are created with glfwCreateWindow and destroyed with glfwDestroyWindow, or glfwTerminate, if any remain. As the window and context are inseparably linked, the object pointer is used as both a context and window handle.

    +

    To see the event stream provided to the various window related callbacks, run the events test program.

    +

    +Window creation

    +

    A window and its OpenGL or OpenGL ES context are created with glfwCreateWindow, which returns a handle to the created window object. For example, this creates a 640 by 480 windowed mode window:

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", NULL, NULL);
    +

    If window creation fails, NULL will be returned, so it is necessary to check the return value.

    +

    The window handle is passed to all window related functions and is provided to along with all input events, so event handlers can tell which window received the event.

    +

    +Full screen windows

    +

    To create a full screen window, you need to specify which monitor the window should use. In most cases, the user's primary monitor is a good choice. For more information about retrieving monitors, see Retrieving monitors.

    +
    GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", glfwGetPrimaryMonitor(), NULL);
    +

    Full screen windows cover the entire display area of a monitor, have no border or decorations.

    +

    Windowed mode windows can be made full screen by setting a monitor with glfwSetWindowMonitor, and full screen ones can be made windowed by unsetting it with the same function.

    +

    Each field of the GLFWvidmode structure corresponds to a function parameter or window hint and combine to form the desired video mode for that window. The supported video mode most closely matching the desired video mode will be set for the chosen monitor as long as the window has input focus. For more information about retrieving video modes, see Video modes.

    + + + + + + + + + + + + + + + +
    Video mode field Corresponds to
    GLFWvidmode.width width parameter of glfwCreateWindow
    GLFWvidmode.height height parameter of glfwCreateWindow
    GLFWvidmode.redBits GLFW_RED_BITS hint
    GLFWvidmode.greenBits GLFW_GREEN_BITS hint
    GLFWvidmode.blueBits GLFW_BLUE_BITS hint
    GLFWvidmode.refreshRate GLFW_REFRESH_RATE hint
    +

    Once you have a full screen window, you can change its resolution, refresh rate and monitor with glfwSetWindowMonitor. If you only need change its resolution you can also call glfwSetWindowSize. In all cases, the new video mode will be selected the same way as the video mode chosen by glfwCreateWindow. If the window has an OpenGL or OpenGL ES context, it will be unaffected.

    +

    By default, the original video mode of the monitor will be restored and the window iconified if it loses input focus, to allow the user to switch back to the desktop. This behavior can be disabled with the GLFW_AUTO_ICONIFY window hint, for example if you wish to simultaneously cover multiple monitors with full screen windows.

    +

    If a monitor is disconnected, all windows that are full screen on that monitor will be switched to windowed mode. See Monitor configuration changes for more information.

    +

    +"Windowed full screen" windows

    +

    If the closest match for the desired video mode is the current one, the video mode will not be changed, making window creation faster and application switching much smoother. This is sometimes called windowed full screen or borderless full screen window and counts as a full screen window. To create such a window, request the current video mode.

    +

    This also works for windowed mode windows that are made full screen.

    +
    const GLFWvidmode* mode = glfwGetVideoMode(monitor);
    +
    +
    glfwSetWindowMonitor(window, monitor, 0, 0, mode->width, mode->height, mode->refreshRate);
    +

    Note that glfwGetVideoMode returns the current video mode of a monitor, so if you already have a full screen window on that monitor that you want to make windowed full screen, you need to have saved the desktop resolution before.

    +

    +Window destruction

    +

    When a window is no longer needed, destroy it with glfwDestroyWindow.

    +

    Window destruction always succeeds. Before the actual destruction, all callbacks are removed so no further events will be delivered for the window. All windows remaining when glfwTerminate is called are destroyed as well.

    +

    When a full screen window is destroyed, the original video mode of its monitor is restored, but the gamma ramp is left untouched.

    +

    +Window creation hints

    +

    There are a number of hints that can be set before the creation of a window and context. Some affect the window itself, others affect the framebuffer or context. These hints are set to their default values each time the library is initialized with glfwInit. Integer value hints can be set individually with glfwWindowHint and string value hints with glfwWindowHintString. You can reset all at once to their defaults with glfwDefaultWindowHints.

    +

    Some hints are platform specific. These are always valid to set on any platform but they will only affect their specific platform. Other platforms will ignore them. Setting these hints requires no platform specific headers or calls.

    +
    Note
    Window hints need to be set before the creation of the window and context you wish to have the specified attributes. They function as additional arguments to glfwCreateWindow.
    +

    +Hard and soft constraints

    +

    Some window hints are hard constraints. These must match the available capabilities exactly for window and context creation to succeed. Hints that are not hard constraints are matched as closely as possible, but the resulting context and framebuffer may differ from what these hints requested.

    +

    The following hints are always hard constraints:

    +

    The following additional hints are hard constraints when requesting an OpenGL context, but are ignored when requesting an OpenGL ES context:

    +

    +Window related hints

    +

    GLFW_RESIZABLE specifies whether the windowed mode window will be resizable by the user. The window will still be resizable using the glfwSetWindowSize function. Possible values are GLFW_TRUE and GLFW_FALSE. This hint is ignored for full screen and undecorated windows.

    +

    GLFW_VISIBLE specifies whether the windowed mode window will be initially visible. Possible values are GLFW_TRUE and GLFW_FALSE. This hint is ignored for full screen windows.

    +

    GLFW_DECORATED specifies whether the windowed mode window will have window decorations such as a border, a close widget, etc. An undecorated window will not be resizable by the user but will still allow the user to generate close events on some platforms. Possible values are GLFW_TRUE and GLFW_FALSE. This hint is ignored for full screen windows.

    +

    GLFW_FOCUSED specifies whether the windowed mode window will be given input focus when created. Possible values are GLFW_TRUE and GLFW_FALSE. This hint is ignored for full screen and initially hidden windows.

    +

    GLFW_AUTO_ICONIFY specifies whether the full screen window will automatically iconify and restore the previous video mode on input focus loss. Possible values are GLFW_TRUE and GLFW_FALSE. This hint is ignored for windowed mode windows.

    +

    GLFW_FLOATING specifies whether the windowed mode window will be floating above other regular windows, also called topmost or always-on-top. This is intended primarily for debugging purposes and cannot be used to implement proper full screen windows. Possible values are GLFW_TRUE and GLFW_FALSE. This hint is ignored for full screen windows.

    +

    GLFW_MAXIMIZED specifies whether the windowed mode window will be maximized when created. Possible values are GLFW_TRUE and GLFW_FALSE. This hint is ignored for full screen windows.

    +

    GLFW_CENTER_CURSOR specifies whether the cursor should be centered over newly created full screen windows. Possible values are GLFW_TRUE and GLFW_FALSE. This hint is ignored for windowed mode windows.

    +

    GLFW_TRANSPARENT_FRAMEBUFFER specifies whether the window framebuffer will be transparent. If enabled and supported by the system, the window framebuffer alpha channel will be used to combine the framebuffer with the background. This does not affect window decorations. Possible values are GLFW_TRUE and GLFW_FALSE.

    +

    GLFW_FOCUS_ON_SHOW specifies whether the window will be given input focus when glfwShowWindow is called. Possible values are GLFW_TRUE and GLFW_FALSE.

    +

    GLFW_SCALE_TO_MONITOR specified whether the window content area should be resized based on the monitor content scale of any monitor it is placed on. This includes the initial placement when the window is created. Possible values are GLFW_TRUE and GLFW_FALSE.

    +

    This hint only has an effect on platforms where screen coordinates and pixels always map 1:1 such as Windows and X11. On platforms like macOS the resolution of the framebuffer is changed independently of the window size.

    +

    GLFW_MOUSE_PASSTHROUGH specifies whether the window is transparent to mouse input, letting any mouse events pass through to whatever window is behind it. This is only supported for undecorated windows. Decorated windows with this enabled will behave differently between platforms. Possible values are GLFW_TRUE and GLFW_FALSE.

    +

    +Framebuffer related hints

    +

    GLFW_RED_BITS, GLFW_GREEN_BITS, GLFW_BLUE_BITS, GLFW_ALPHA_BITS, GLFW_DEPTH_BITS and GLFW_STENCIL_BITS specify the desired bit depths of the various components of the default framebuffer. A value of GLFW_DONT_CARE means the application has no preference.

    +

    GLFW_ACCUM_RED_BITS, GLFW_ACCUM_GREEN_BITS, GLFW_ACCUM_BLUE_BITS and GLFW_ACCUM_ALPHA_BITS specify the desired bit depths of the various components of the accumulation buffer. A value of GLFW_DONT_CARE means the application has no preference.

    +
    Accumulation buffers are a legacy OpenGL feature and should not be used in new code.
    +

    GLFW_AUX_BUFFERS specifies the desired number of auxiliary buffers. A value of GLFW_DONT_CARE means the application has no preference.

    +
    Auxiliary buffers are a legacy OpenGL feature and should not be used in new code.
    +

    GLFW_STEREO specifies whether to use OpenGL stereoscopic rendering. Possible values are GLFW_TRUE and GLFW_FALSE. This is a hard constraint.

    +

    GLFW_SAMPLES specifies the desired number of samples to use for multisampling. Zero disables multisampling. A value of GLFW_DONT_CARE means the application has no preference.

    +

    GLFW_SRGB_CAPABLE specifies whether the framebuffer should be sRGB capable. Possible values are GLFW_TRUE and GLFW_FALSE.

    +
    OpenGL: If enabled and supported by the system, the GL_FRAMEBUFFER_SRGB enable will control sRGB rendering. By default, sRGB rendering will be disabled.
    +
    OpenGL ES: If enabled and supported by the system, the context will always have sRGB rendering enabled.
    +

    GLFW_DOUBLEBUFFER specifies whether the framebuffer should be double buffered. You nearly always want to use double buffering. This is a hard constraint. Possible values are GLFW_TRUE and GLFW_FALSE.

    +

    +Monitor related hints

    +

    GLFW_REFRESH_RATE specifies the desired refresh rate for full screen windows. A value of GLFW_DONT_CARE means the highest available refresh rate will be used. This hint is ignored for windowed mode windows.

    +

    +Context related hints

    +

    GLFW_CLIENT_API specifies which client API to create the context for. Possible values are GLFW_OPENGL_API, GLFW_OPENGL_ES_API and GLFW_NO_API. This is a hard constraint.

    +

    GLFW_CONTEXT_CREATION_API specifies which context creation API to use to create the context. Possible values are GLFW_NATIVE_CONTEXT_API, GLFW_EGL_CONTEXT_API and GLFW_OSMESA_CONTEXT_API. This is a hard constraint. If no client API is requested, this hint is ignored.

    +
    macOS: The EGL API is not available on this platform and requests to use it will fail.
    +
    Wayland: The EGL API is the native context creation API, so this hint will have no effect.
    +
    OSMesa: As its name implies, an OpenGL context created with OSMesa does not update the window contents when its buffers are swapped. Use OpenGL functions or the OSMesa native access functions glfwGetOSMesaColorBuffer and glfwGetOSMesaDepthBuffer to retrieve the framebuffer contents.
    +
    Note
    An OpenGL extension loader library that assumes it knows which context creation API is used on a given platform may fail if you change this hint. This can be resolved by having it load via glfwGetProcAddress, which always uses the selected API.
    +
    Bug:
    On some Linux systems, creating contexts via both the native and EGL APIs in a single process will cause the application to segfault. Stick to one API or the other on Linux for now.
    +

    GLFW_CONTEXT_VERSION_MAJOR and GLFW_CONTEXT_VERSION_MINOR specify the client API version that the created context must be compatible with. The exact behavior of these hints depend on the requested client API.

    +
    Note
    Do not confuse these hints with GLFW_VERSION_MAJOR and GLFW_VERSION_MINOR, which provide the API version of the GLFW header.
    +
    OpenGL: These hints are not hard constraints, but creation will fail if the OpenGL version of the created context is less than the one requested. It is therefore perfectly safe to use the default of version 1.0 for legacy code and you will still get backwards-compatible contexts of version 3.0 and above when available.
    +
    While there is no way to ask the driver for a context of the highest supported version, GLFW will attempt to provide this when you ask for a version 1.0 context, which is the default for these hints.
    +
    OpenGL ES: These hints are not hard constraints, but creation will fail if the OpenGL ES version of the created context is less than the one requested. Additionally, OpenGL ES 1.x cannot be returned if 2.0 or later was requested, and vice versa. This is because OpenGL ES 3.x is backward compatible with 2.0, but OpenGL ES 2.0 is not backward compatible with 1.x.
    +
    Note
    macOS: The OS only supports core profile contexts for OpenGL versions 3.2 and later. Before creating an OpenGL context of version 3.2 or later you must set the GLFW_OPENGL_PROFILE hint accordingly. OpenGL 3.0 and 3.1 contexts are not supported at all on macOS.
    +

    GLFW_OPENGL_FORWARD_COMPAT specifies whether the OpenGL context should be forward-compatible, i.e. one where all functionality deprecated in the requested version of OpenGL is removed. This must only be used if the requested OpenGL version is 3.0 or above. If OpenGL ES is requested, this hint is ignored.

    +
    Forward-compatibility is described in detail in the OpenGL Reference Manual.
    +

    GLFW_CONTEXT_DEBUG specifies whether the context should be created in debug mode, which may provide additional error and diagnostic reporting functionality. Possible values are GLFW_TRUE and GLFW_FALSE.

    +
    Debug contexts for OpenGL and OpenGL ES are described in detail by the GL_KHR_debug extension.
    +
    This is the new name, introduced in GLFW 3.4. The older GLFW_OPENGL_DEBUG_CONTEXT name is also available for compatibility.
    +

    GLFW_OPENGL_PROFILE specifies which OpenGL profile to create the context for. Possible values are one of GLFW_OPENGL_CORE_PROFILE or GLFW_OPENGL_COMPAT_PROFILE, or GLFW_OPENGL_ANY_PROFILE to not request a specific profile. If requesting an OpenGL version below 3.2, GLFW_OPENGL_ANY_PROFILE must be used. If OpenGL ES is requested, this hint is ignored.

    +
    OpenGL profiles are described in detail in the OpenGL Reference Manual.
    +

    GLFW_CONTEXT_ROBUSTNESS specifies the robustness strategy to be used by the context. This can be one of GLFW_NO_RESET_NOTIFICATION or GLFW_LOSE_CONTEXT_ON_RESET, or GLFW_NO_ROBUSTNESS to not request a robustness strategy.

    +

    GLFW_CONTEXT_RELEASE_BEHAVIOR specifies the release behavior to be used by the context. Possible values are one of GLFW_ANY_RELEASE_BEHAVIOR, GLFW_RELEASE_BEHAVIOR_FLUSH or GLFW_RELEASE_BEHAVIOR_NONE. If the behavior is GLFW_ANY_RELEASE_BEHAVIOR, the default behavior of the context creation API will be used. If the behavior is GLFW_RELEASE_BEHAVIOR_FLUSH, the pipeline will be flushed whenever the context is released from being the current one. If the behavior is GLFW_RELEASE_BEHAVIOR_NONE, the pipeline will not be flushed on release.

    +
    Context release behaviors are described in detail by the GL_KHR_context_flush_control extension.
    +

    GLFW_CONTEXT_NO_ERROR specifies whether errors should be generated by the context. Possible values are GLFW_TRUE and GLFW_FALSE. If enabled, situations that would have generated errors instead cause undefined behavior.

    +
    The no error mode for OpenGL and OpenGL ES is described in detail by the GL_KHR_no_error extension.
    +

    +Windows specific window hints

    +

    GLFW_WIN32_KEYBOARD_MENU specifies whether to allow access to the window menu via the Alt+Space and Alt-and-then-Space keyboard shortcuts. This is ignored on other platforms.

    +

    +macOS specific window hints

    +

    GLFW_COCOA_RETINA_FRAMEBUFFER specifies whether to use full resolution framebuffers on Retina displays. Possible values are GLFW_TRUE and GLFW_FALSE. This is ignored on other platforms.

    +

    GLFW_COCOA_FRAME_NAME specifies the UTF-8 encoded name to use for autosaving the window frame, or if empty disables frame autosaving for the window. This is ignored on other platforms. This is set with glfwWindowHintString.

    +

    GLFW_COCOA_GRAPHICS_SWITCHING specifies whether to in Automatic Graphics Switching, i.e. to allow the system to choose the integrated GPU for the OpenGL context and move it between GPUs if necessary or whether to force it to always run on the discrete GPU. This only affects systems with both integrated and discrete GPUs. Possible values are GLFW_TRUE and GLFW_FALSE. This is ignored on other platforms.

    +
    Simpler programs and tools may want to enable this to save power, while games and other applications performing advanced rendering will want to leave it disabled.
    +
    A bundled application that wishes to participate in Automatic Graphics Switching should also declare this in its Info.plist by setting the NSSupportsAutomaticGraphicsSwitching key to true.
    +

    +X11 specific window hints

    +

    GLFW_X11_CLASS_NAME and GLFW_X11_INSTANCE_NAME specifies the desired ASCII encoded class and instance parts of the ICCCM WM_CLASS window property. These are set with glfwWindowHintString.

    +

    +Supported and default values

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Window hint Default value Supported values
    GLFW_RESIZABLE GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_VISIBLE GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_DECORATED GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_FOCUSED GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_AUTO_ICONIFY GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_FLOATING GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_MAXIMIZED GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_CENTER_CURSOR GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_TRANSPARENT_FRAMEBUFFER GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_FOCUS_ON_SHOW GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_SCALE_TO_MONITOR GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_MOUSE_PASSTHROUGH GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_RED_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_GREEN_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_BLUE_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ALPHA_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_DEPTH_BITS 24 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_STENCIL_BITS 8 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ACCUM_RED_BITS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ACCUM_GREEN_BITS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ACCUM_BLUE_BITS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_ACCUM_ALPHA_BITS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_AUX_BUFFERS 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_SAMPLES 0 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_REFRESH_RATE GLFW_DONT_CARE 0 to INT_MAX or GLFW_DONT_CARE
    GLFW_STEREO GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_SRGB_CAPABLE GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_DOUBLEBUFFER GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_CLIENT_API GLFW_OPENGL_API GLFW_OPENGL_API, GLFW_OPENGL_ES_API or GLFW_NO_API
    GLFW_CONTEXT_CREATION_API GLFW_NATIVE_CONTEXT_API GLFW_NATIVE_CONTEXT_API, GLFW_EGL_CONTEXT_API or GLFW_OSMESA_CONTEXT_API
    GLFW_CONTEXT_VERSION_MAJOR 1 Any valid major version number of the chosen client API
    GLFW_CONTEXT_VERSION_MINOR 0 Any valid minor version number of the chosen client API
    GLFW_CONTEXT_ROBUSTNESS GLFW_NO_ROBUSTNESS GLFW_NO_ROBUSTNESS, GLFW_NO_RESET_NOTIFICATION or GLFW_LOSE_CONTEXT_ON_RESET
    GLFW_CONTEXT_RELEASE_BEHAVIOR GLFW_ANY_RELEASE_BEHAVIOR GLFW_ANY_RELEASE_BEHAVIOR, GLFW_RELEASE_BEHAVIOR_FLUSH or GLFW_RELEASE_BEHAVIOR_NONE
    GLFW_OPENGL_FORWARD_COMPAT GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_CONTEXT_DEBUG GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_OPENGL_PROFILE GLFW_OPENGL_ANY_PROFILE GLFW_OPENGL_ANY_PROFILE, GLFW_OPENGL_COMPAT_PROFILE or GLFW_OPENGL_CORE_PROFILE
    GLFW_WIN32_KEYBOARD_MENU GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_COCOA_RETINA_FRAMEBUFFER GLFW_TRUE GLFW_TRUE or GLFW_FALSE
    GLFW_COCOA_FRAME_NAME "" A UTF-8 encoded frame autosave name
    GLFW_COCOA_GRAPHICS_SWITCHING GLFW_FALSE GLFW_TRUE or GLFW_FALSE
    GLFW_X11_CLASS_NAME "" An ASCII encoded WM_CLASS class name
    GLFW_X11_INSTANCE_NAME "" An ASCII encoded WM_CLASS instance name
    +

    +Window event processing

    +

    See Event processing.

    +

    +Window properties and events

    +

    +User pointer

    +

    Each window has a user pointer that can be set with glfwSetWindowUserPointer and queried with glfwGetWindowUserPointer. This can be used for any purpose you need and will not be modified by GLFW throughout the life-time of the window.

    +

    The initial value of the pointer is NULL.

    +

    +Window closing and close flag

    +

    When the user attempts to close the window, for example by clicking the close widget or using a key chord like Alt+F4, the close flag of the window is set. The window is however not actually destroyed and, unless you watch for this state change, nothing further happens.

    +

    The current state of the close flag is returned by glfwWindowShouldClose and can be set or cleared directly with glfwSetWindowShouldClose. A common pattern is to use the close flag as a main loop condition.

    +
    while (!glfwWindowShouldClose(window))
    +
    {
    +
    render(window);
    +
    +
    glfwSwapBuffers(window);
    + +
    }
    +

    If you wish to be notified when the user attempts to close a window, set a close callback.

    +
    glfwSetWindowCloseCallback(window, window_close_callback);
    +

    The callback function is called directly after the close flag has been set. It can be used for example to filter close requests and clear the close flag again unless certain conditions are met.

    +
    void window_close_callback(GLFWwindow* window)
    +
    {
    +
    if (!time_to_close)
    + +
    }
    +

    +Window size

    +

    The size of a window can be changed with glfwSetWindowSize. For windowed mode windows, this sets the size, in screen coordinates of the content area or content area of the window. The window system may impose limits on window size.

    +
    glfwSetWindowSize(window, 640, 480);
    +

    For full screen windows, the specified size becomes the new resolution of the window's desired video mode. The video mode most closely matching the new desired video mode is set immediately. The window is resized to fit the resolution of the set video mode.

    +

    If you wish to be notified when a window is resized, whether by the user, the system or your own code, set a size callback.

    +
    glfwSetWindowSizeCallback(window, window_size_callback);
    +

    The callback function receives the new size, in screen coordinates, of the content area of the window when the window is resized.

    +
    void window_size_callback(GLFWwindow* window, int width, int height)
    +
    {
    +
    }
    +

    There is also glfwGetWindowSize for directly retrieving the current size of a window.

    +
    int width, height;
    +
    glfwGetWindowSize(window, &width, &height);
    +
    Note
    Do not pass the window size to glViewport or other pixel-based OpenGL calls. The window size is in screen coordinates, not pixels. Use the framebuffer size, which is in pixels, for pixel-based calls.
    +

    The above functions work with the size of the content area, but decorated windows typically have title bars and window frames around this rectangle. You can retrieve the extents of these with glfwGetWindowFrameSize.

    +
    int left, top, right, bottom;
    +
    glfwGetWindowFrameSize(window, &left, &top, &right, &bottom);
    +

    The returned values are the distances, in screen coordinates, from the edges of the content area to the corresponding edges of the full window. As they are distances and not coordinates, they are always zero or positive.

    +

    +Framebuffer size

    +

    While the size of a window is measured in screen coordinates, OpenGL works with pixels. The size you pass into glViewport, for example, should be in pixels. On some machines screen coordinates and pixels are the same, but on others they will not be. There is a second set of functions to retrieve the size, in pixels, of the framebuffer of a window.

    +

    If you wish to be notified when the framebuffer of a window is resized, whether by the user or the system, set a size callback.

    +
    glfwSetFramebufferSizeCallback(window, framebuffer_size_callback);
    +

    The callback function receives the new size of the framebuffer when it is resized, which can for example be used to update the OpenGL viewport.

    +
    void framebuffer_size_callback(GLFWwindow* window, int width, int height)
    +
    {
    +
    glViewport(0, 0, width, height);
    +
    }
    +

    There is also glfwGetFramebufferSize for directly retrieving the current size of the framebuffer of a window.

    +
    int width, height;
    +
    glfwGetFramebufferSize(window, &width, &height);
    +
    glViewport(0, 0, width, height);
    +

    The size of a framebuffer may change independently of the size of a window, for example if the window is dragged between a regular monitor and a high-DPI one.

    +

    +Window content scale

    +

    The content scale for a window can be retrieved with glfwGetWindowContentScale.

    +
    float xscale, yscale;
    +
    glfwGetWindowContentScale(window, &xscale, &yscale);
    +

    The content scale is the ratio between the current DPI and the platform's default DPI. This is especially important for text and any UI elements. If the pixel dimensions of your UI scaled by this look appropriate on your machine then it should appear at a reasonable size on other machines regardless of their DPI and scaling settings. This relies on the system DPI and scaling settings being somewhat correct.

    +

    On systems where each monitors can have its own content scale, the window content scale will depend on which monitor the system considers the window to be on.

    +

    If you wish to be notified when the content scale of a window changes, whether because of a system setting change or because it was moved to a monitor with a different scale, set a content scale callback.

    +
    glfwSetWindowContentScaleCallback(window, window_content_scale_callback);
    +

    The callback function receives the new content scale of the window.

    +
    void window_content_scale_callback(GLFWwindow* window, float xscale, float yscale)
    +
    {
    +
    set_interface_scale(xscale, yscale);
    +
    }
    +

    On platforms where pixels and screen coordinates always map 1:1, the window will need to be resized to appear the same size when it is moved to a monitor with a different content scale. To have this done automatically both when the window is created and when its content scale later changes, set the GLFW_SCALE_TO_MONITOR window hint.

    +

    +Window size limits

    +

    The minimum and maximum size of the content area of a windowed mode window can be enforced with glfwSetWindowSizeLimits. The user may resize the window to any size and aspect ratio within the specified limits, unless the aspect ratio is also set.

    +
    glfwSetWindowSizeLimits(window, 200, 200, 400, 400);
    +

    To specify only a minimum size or only a maximum one, set the other pair to GLFW_DONT_CARE.

    +

    To disable size limits for a window, set them all to GLFW_DONT_CARE.

    +

    The aspect ratio of the content area of a windowed mode window can be enforced with glfwSetWindowAspectRatio. The user may resize the window freely unless size limits are also set, but the size will be constrained to maintain the aspect ratio.

    +
    glfwSetWindowAspectRatio(window, 16, 9);
    +

    The aspect ratio is specified as a numerator and denominator, corresponding to the width and height, respectively. If you want a window to maintain its current aspect ratio, use its current size as the ratio.

    +
    int width, height;
    +
    glfwGetWindowSize(window, &width, &height);
    +
    glfwSetWindowAspectRatio(window, width, height);
    +

    To disable the aspect ratio limit for a window, set both terms to GLFW_DONT_CARE.

    +

    You can have both size limits and aspect ratio set for a window, but the results are undefined if they conflict.

    +

    +Window position

    +

    The position of a windowed-mode window can be changed with glfwSetWindowPos. This moves the window so that the upper-left corner of its content area has the specified screen coordinates. The window system may put limitations on window placement.

    +
    glfwSetWindowPos(window, 100, 100);
    +

    If you wish to be notified when a window is moved, whether by the user, the system or your own code, set a position callback.

    +
    glfwSetWindowPosCallback(window, window_pos_callback);
    +

    The callback function receives the new position, in screen coordinates, of the upper-left corner of the content area when the window is moved.

    +
    void window_pos_callback(GLFWwindow* window, int xpos, int ypos)
    +
    {
    +
    }
    +

    There is also glfwGetWindowPos for directly retrieving the current position of the content area of the window.

    +
    int xpos, ypos;
    +
    glfwGetWindowPos(window, &xpos, &ypos);
    +

    +Window title

    +

    All GLFW windows have a title, although undecorated or full screen windows may not display it or only display it in a task bar or similar interface. You can set a UTF-8 encoded window title with glfwSetWindowTitle.

    +
    glfwSetWindowTitle(window, "My Window");
    +

    The specified string is copied before the function returns, so there is no need to keep it around.

    +

    As long as your source file is encoded as UTF-8, you can use any Unicode characters directly in the source.

    +
    glfwSetWindowTitle(window, "ラストエグザイル");
    +

    If you are using C++11 or C11, you can use a UTF-8 string literal.

    +
    glfwSetWindowTitle(window, u8"This is always a UTF-8 string");
    +

    +Window icon

    +

    Decorated windows have icons on some platforms. You can set this icon by specifying a list of candidate images with glfwSetWindowIcon.

    +
    GLFWimage images[2];
    +
    images[0] = load_icon("my_icon.png");
    +
    images[1] = load_icon("my_icon_small.png");
    +
    +
    glfwSetWindowIcon(window, 2, images);
    +

    The image data is 32-bit, little-endian, non-premultiplied RGBA, i.e. eight bits per channel with the red channel first. The pixels are arranged canonically as sequential rows, starting from the top-left corner.

    +

    To revert to the default window icon, pass in an empty image array.

    +
    glfwSetWindowIcon(window, 0, NULL);
    +

    +Window monitor

    +

    Full screen windows are associated with a specific monitor. You can get the handle for this monitor with glfwGetWindowMonitor.

    +
    GLFWmonitor* monitor = glfwGetWindowMonitor(window);
    +

    This monitor handle is one of those returned by glfwGetMonitors.

    +

    For windowed mode windows, this function returns NULL. This is how to tell full screen windows from windowed mode windows.

    +

    You can move windows between monitors or between full screen and windowed mode with glfwSetWindowMonitor. When making a window full screen on the same or on a different monitor, specify the desired monitor, resolution and refresh rate. The position arguments are ignored.

    +
    const GLFWvidmode* mode = glfwGetVideoMode(monitor);
    +
    +
    glfwSetWindowMonitor(window, monitor, 0, 0, mode->width, mode->height, mode->refreshRate);
    +

    When making the window windowed, specify the desired position and size. The refresh rate argument is ignored.

    +
    glfwSetWindowMonitor(window, NULL, xpos, ypos, width, height, 0);
    +

    This restores any previous window settings such as whether it is decorated, floating, resizable, has size or aspect ratio limits, etc.. To restore a window that was originally windowed to its original size and position, save these before making it full screen and then pass them in as above.

    +

    +Window iconification

    +

    Windows can be iconified (i.e. minimized) with glfwIconifyWindow.

    +

    When a full screen window is iconified, the original video mode of its monitor is restored until the user or application restores the window.

    +

    Iconified windows can be restored with glfwRestoreWindow. This function also restores windows from maximization.

    +

    When a full screen window is restored, the desired video mode is restored to its monitor as well.

    +

    If you wish to be notified when a window is iconified or restored, whether by the user, system or your own code, set an iconify callback.

    +
    glfwSetWindowIconifyCallback(window, window_iconify_callback);
    +

    The callback function receives changes in the iconification state of the window.

    +
    void window_iconify_callback(GLFWwindow* window, int iconified)
    +
    {
    +
    if (iconified)
    +
    {
    +
    // The window was iconified
    +
    }
    +
    else
    +
    {
    +
    // The window was restored
    +
    }
    +
    }
    +

    You can also get the current iconification state with glfwGetWindowAttrib.

    +
    int iconified = glfwGetWindowAttrib(window, GLFW_ICONIFIED);
    +

    +Window maximization

    +

    Windows can be maximized (i.e. zoomed) with glfwMaximizeWindow.

    +

    Full screen windows cannot be maximized and passing a full screen window to this function does nothing.

    +

    Maximized windows can be restored with glfwRestoreWindow. This function also restores windows from iconification.

    +

    If you wish to be notified when a window is maximized or restored, whether by the user, system or your own code, set a maximize callback.

    +
    glfwSetWindowMaximizeCallback(window, window_maximize_callback);
    +

    The callback function receives changes in the maximization state of the window.

    +
    void window_maximize_callback(GLFWwindow* window, int maximized)
    +
    {
    +
    if (maximized)
    +
    {
    +
    // The window was maximized
    +
    }
    +
    else
    +
    {
    +
    // The window was restored
    +
    }
    +
    }
    +

    You can also get the current maximization state with glfwGetWindowAttrib.

    +
    int maximized = glfwGetWindowAttrib(window, GLFW_MAXIMIZED);
    +

    By default, newly created windows are not maximized. You can change this behavior by setting the GLFW_MAXIMIZED window hint before creating the window.

    +

    +Window visibility

    +

    Windowed mode windows can be hidden with glfwHideWindow.

    +
    +

    This makes the window completely invisible to the user, including removing it from the task bar, dock or window list. Full screen windows cannot be hidden and calling glfwHideWindow on a full screen window does nothing.

    +

    Hidden windows can be shown with glfwShowWindow.

    +
    +

    By default, this function will also set the input focus to that window. Set the GLFW_FOCUS_ON_SHOW window hint to change this behavior for all newly created windows, or change the behavior for an existing window with glfwSetWindowAttrib.

    +

    You can also get the current visibility state with glfwGetWindowAttrib.

    +
    int visible = glfwGetWindowAttrib(window, GLFW_VISIBLE);
    +

    By default, newly created windows are visible. You can change this behavior by setting the GLFW_VISIBLE window hint before creating the window.

    +

    Windows created hidden are completely invisible to the user until shown. This can be useful if you need to set up your window further before showing it, for example moving it to a specific location.

    +

    +Window input focus

    +

    Windows can be given input focus and brought to the front with glfwFocusWindow.

    +
    +

    Keep in mind that it can be very disruptive to the user when a window is forced to the top. For a less disruptive way of getting the user's attention, see attention requests.

    +

    If you wish to be notified when a window gains or loses input focus, whether by the user, system or your own code, set a focus callback.

    +
    glfwSetWindowFocusCallback(window, window_focus_callback);
    +

    The callback function receives changes in the input focus state of the window.

    +
    void window_focus_callback(GLFWwindow* window, int focused)
    +
    {
    +
    if (focused)
    +
    {
    +
    // The window gained input focus
    +
    }
    +
    else
    +
    {
    +
    // The window lost input focus
    +
    }
    +
    }
    +

    You can also get the current input focus state with glfwGetWindowAttrib.

    +
    int focused = glfwGetWindowAttrib(window, GLFW_FOCUSED);
    +

    By default, newly created windows are given input focus. You can change this behavior by setting the GLFW_FOCUSED window hint before creating the window.

    +

    +Window attention request

    +

    If you wish to notify the user of an event without interrupting, you can request attention with glfwRequestWindowAttention.

    +

    The system will highlight the specified window, or on platforms where this is not supported, the application as a whole. Once the user has given it attention, the system will automatically end the request.

    +

    +Window damage and refresh

    +

    If you wish to be notified when the contents of a window is damaged and needs to be refreshed, set a window refresh callback.

    +
    glfwSetWindowRefreshCallback(m_handle, window_refresh_callback);
    +

    The callback function is called when the contents of the window needs to be refreshed.

    +
    void window_refresh_callback(GLFWwindow* window)
    +
    {
    +
    draw_editor_ui(window);
    +
    glfwSwapBuffers(window);
    +
    }
    +
    Note
    On compositing window systems such as Aero, Compiz or Aqua, where the window contents are saved off-screen, this callback might only be called when the window or framebuffer is resized.
    +

    +Window transparency

    +

    GLFW supports two kinds of transparency for windows; framebuffer transparency and whole window transparency. A single window may not use both methods. The results of doing this are undefined.

    +

    Both methods require the platform to support it and not every version of every platform GLFW supports does this, so there are mechanisms to check whether the window really is transparent.

    +

    Window framebuffers can be made transparent on a per-pixel per-frame basis with the GLFW_TRANSPARENT_FRAMEBUFFER window hint.

    +

    If supported by the system, the window content area will be composited with the background using the framebuffer per-pixel alpha channel. This requires desktop compositing to be enabled on the system. It does not affect window decorations.

    +

    You can check whether the window framebuffer was successfully made transparent with the GLFW_TRANSPARENT_FRAMEBUFFER window attribute.

    +
    +
    {
    +
    // window framebuffer is currently transparent
    +
    }
    +

    GLFW comes with an example that enabled framebuffer transparency called gears.

    +

    The opacity of the whole window, including any decorations, can be set with glfwSetWindowOpacity.

    +
    glfwSetWindowOpacity(window, 0.5f);
    +

    The opacity (or alpha) value is a positive finite number between zero and one, where 0 (zero) is fully transparent and 1 (one) is fully opaque. The initial opacity value for newly created windows is 1.

    +

    The current opacity of a window can be queried with glfwGetWindowOpacity.

    +
    float opacity = glfwGetWindowOpacity(window);
    +

    If the system does not support whole window transparency, this function always returns one.

    +

    GLFW comes with a test program that lets you control whole window transparency at run-time called window.

    +

    If you want to use either of these transparency methods to display a temporary overlay like for example a notification, the GLFW_FLOATING and GLFW_MOUSE_PASSTHROUGH window hints and attributes may be useful.

    +

    +Window attributes

    +

    Windows have a number of attributes that can be returned using glfwGetWindowAttrib. Some reflect state that may change as a result of user interaction, (e.g. whether it has input focus), while others reflect inherent properties of the window (e.g. what kind of border it has). Some are related to the window and others to its OpenGL or OpenGL ES context.

    +
    +
    {
    +
    // window has input focus
    +
    }
    +

    The GLFW_DECORATED, GLFW_RESIZABLE, GLFW_FLOATING, GLFW_AUTO_ICONIFY and GLFW_FOCUS_ON_SHOW window attributes can be changed with glfwSetWindowAttrib.

    +

    +Window related attributes

    +

    GLFW_FOCUSED indicates whether the specified window has input focus. See Window input focus for details.

    +

    GLFW_ICONIFIED indicates whether the specified window is iconified. See Window iconification for details.

    +

    GLFW_MAXIMIZED indicates whether the specified window is maximized. See Window maximization for details.

    +

    GLFW_HOVERED indicates whether the cursor is currently directly over the content area of the window, with no other windows between. See Cursor enter/leave events for details.

    +

    GLFW_VISIBLE indicates whether the specified window is visible. See Window visibility for details.

    +

    GLFW_RESIZABLE indicates whether the specified window is resizable by the user. This can be set before creation with the GLFW_RESIZABLE window hint or after with glfwSetWindowAttrib.

    +

    GLFW_DECORATED indicates whether the specified window has decorations such as a border, a close widget, etc. This can be set before creation with the GLFW_DECORATED window hint or after with glfwSetWindowAttrib.

    +

    GLFW_AUTO_ICONIFY indicates whether the specified full screen window is iconified on focus loss, a close widget, etc. This can be set before creation with the GLFW_AUTO_ICONIFY window hint or after with glfwSetWindowAttrib.

    +

    GLFW_FLOATING indicates whether the specified window is floating, also called topmost or always-on-top. This can be set before creation with the GLFW_FLOATING window hint or after with glfwSetWindowAttrib.

    +

    GLFW_TRANSPARENT_FRAMEBUFFER indicates whether the specified window has a transparent framebuffer, i.e. the window contents is composited with the background using the window framebuffer alpha channel. See Window transparency for details.

    +

    GLFW_FOCUS_ON_SHOW specifies whether the window will be given input focus when glfwShowWindow is called. This can be set before creation with the GLFW_FOCUS_ON_SHOW window hint or after with glfwSetWindowAttrib.

    +

    GLFW_MOUSE_PASSTHROUGH specifies whether the window is transparent to mouse input, letting any mouse events pass through to whatever window is behind it. This can be set before creation with the GLFW_MOUSE_PASSTHROUGH window hint or after with glfwSetWindowAttrib. This is only supported for undecorated windows. Decorated windows with this enabled will behave differently between platforms.

    +

    +Context related attributes

    +

    GLFW_CLIENT_API indicates the client API provided by the window's context; either GLFW_OPENGL_API, GLFW_OPENGL_ES_API or GLFW_NO_API.

    +

    GLFW_CONTEXT_CREATION_API indicates the context creation API used to create the window's context; either GLFW_NATIVE_CONTEXT_API, GLFW_EGL_CONTEXT_API or GLFW_OSMESA_CONTEXT_API.

    +

    GLFW_CONTEXT_VERSION_MAJOR, GLFW_CONTEXT_VERSION_MINOR and GLFW_CONTEXT_REVISION indicate the client API version of the window's context.

    +
    Note
    Do not confuse these attributes with GLFW_VERSION_MAJOR, GLFW_VERSION_MINOR and GLFW_VERSION_REVISION which provide the API version of the GLFW header.
    +

    GLFW_OPENGL_FORWARD_COMPAT is GLFW_TRUE if the window's context is an OpenGL forward-compatible one, or GLFW_FALSE otherwise.

    +

    GLFW_CONTEXT_DEBUG is GLFW_TRUE if the window's context is in debug mode, or GLFW_FALSE otherwise.

    +
    This is the new name, introduced in GLFW 3.4. The older GLFW_OPENGL_DEBUG_CONTEXT name is also available for compatibility.
    +

    GLFW_OPENGL_PROFILE indicates the OpenGL profile used by the context. This is GLFW_OPENGL_CORE_PROFILE or GLFW_OPENGL_COMPAT_PROFILE if the context uses a known profile, or GLFW_OPENGL_ANY_PROFILE if the OpenGL profile is unknown or the context is an OpenGL ES context. Note that the returned profile may not match the profile bits of the context flags, as GLFW will try other means of detecting the profile when no bits are set.

    +

    GLFW_CONTEXT_RELEASE_BEHAVIOR indicates the release used by the context. Possible values are one of GLFW_ANY_RELEASE_BEHAVIOR, GLFW_RELEASE_BEHAVIOR_FLUSH or GLFW_RELEASE_BEHAVIOR_NONE. If the behavior is GLFW_ANY_RELEASE_BEHAVIOR, the default behavior of the context creation API will be used. If the behavior is GLFW_RELEASE_BEHAVIOR_FLUSH, the pipeline will be flushed whenever the context is released from being the current one. If the behavior is GLFW_RELEASE_BEHAVIOR_NONE, the pipeline will not be flushed on release.

    +

    GLFW_CONTEXT_NO_ERROR indicates whether errors are generated by the context. Possible values are GLFW_TRUE and GLFW_FALSE. If enabled, situations that would have generated errors instead cause undefined behavior.

    +

    GLFW_CONTEXT_ROBUSTNESS indicates the robustness strategy used by the context. This is GLFW_LOSE_CONTEXT_ON_RESET or GLFW_NO_RESET_NOTIFICATION if the window's context supports robustness, or GLFW_NO_ROBUSTNESS otherwise.

    +

    +Framebuffer related attributes

    +

    GLFW does not expose attributes of the default framebuffer (i.e. the framebuffer attached to the window) as these can be queried directly with either OpenGL, OpenGL ES or Vulkan.

    +

    If you are using version 3.0 or later of OpenGL or OpenGL ES, the glGetFramebufferAttachmentParameteriv function can be used to retrieve the number of bits for the red, green, blue, alpha, depth and stencil buffer channels. Otherwise, the glGetIntegerv function can be used.

    +

    The number of MSAA samples are always retrieved with glGetIntegerv. For contexts supporting framebuffer objects, the number of samples of the currently bound framebuffer is returned.

    + + + + + + + + + + + + + + + + + +
    Attribute glGetIntegerv glGetFramebufferAttachmentParameteriv
    Red bits GL_RED_BITS GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE
    Green bits GL_GREEN_BITS GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE
    Blue bits GL_BLUE_BITS GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE
    Alpha bits GL_ALPHA_BITS GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE
    Depth bits GL_DEPTH_BITS GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE
    Stencil bits GL_STENCIL_BITS GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE
    MSAA samples GL_SAMPLES Not provided by this function
    +

    When calling glGetFramebufferAttachmentParameteriv, the red, green, blue and alpha sizes are queried from the GL_BACK_LEFT, while the depth and stencil sizes are queried from the GL_DEPTH and GL_STENCIL attachments, respectively.

    +

    +Buffer swapping

    +

    GLFW windows are by default double buffered. That means that you have two rendering buffers; a front buffer and a back buffer. The front buffer is the one being displayed and the back buffer the one you render to.

    +

    When the entire frame has been rendered, it is time to swap the back and the front buffers in order to display what has been rendered and begin rendering a new frame. This is done with glfwSwapBuffers.

    +
    +

    Sometimes it can be useful to select when the buffer swap will occur. With the function glfwSwapInterval it is possible to select the minimum number of monitor refreshes the driver should wait from the time glfwSwapBuffers was called before swapping the buffers:

    +

    If the interval is zero, the swap will take place immediately when glfwSwapBuffers is called without waiting for a refresh. Otherwise at least interval retraces will pass between each buffer swap. Using a swap interval of zero can be useful for benchmarking purposes, when it is not desirable to measure the time it takes to wait for the vertical retrace. However, a swap interval of one lets you avoid tearing.

    +

    Note that this may not work on all machines, as some drivers have user-controlled settings that override any swap interval the application requests.

    +

    A context that supports either the WGL_EXT_swap_control_tear or the GLX_EXT_swap_control_tear extension also accepts negative swap intervals, which allows the driver to swap immediately even if a frame arrives a little bit late. This trades the risk of visible tears for greater framerate stability. You can check for these extensions with glfwExtensionSupported.

    +
    +
    +
    #define GLFW_TRANSPARENT_FRAMEBUFFER
    Window framebuffer transparency hint and attribute.
    Definition: glfw3.h:885
    +
    GLFWframebuffersizefun glfwSetFramebufferSizeCallback(GLFWwindow *window, GLFWframebuffersizefun callback)
    Sets the framebuffer resize callback for the specified window.
    +
    void glfwSetWindowSize(GLFWwindow *window, int width, int height)
    Sets the size of the content area of the specified window.
    +
    #define GLFW_RED_BITS
    Framebuffer bit depth hint.
    Definition: glfw3.h:909
    +
    void glfwSetWindowPos(GLFWwindow *window, int xpos, int ypos)
    Sets the position of the content area of the specified window.
    +
    void glfwSetWindowAttrib(GLFWwindow *window, int attrib, int value)
    Sets an attribute of the specified window.
    +
    void glfwRestoreWindow(GLFWwindow *window)
    Restores the specified window.
    +
    void glfwGetWindowContentScale(GLFWwindow *window, float *xscale, float *yscale)
    Retrieves the content scale for the specified window.
    +
    GLFWwindowrefreshfun glfwSetWindowRefreshCallback(GLFWwindow *window, GLFWwindowrefreshfun callback)
    Sets the refresh callback for the specified window.
    +
    GLFWwindowsizefun glfwSetWindowSizeCallback(GLFWwindow *window, GLFWwindowsizefun callback)
    Sets the size callback for the specified window.
    +
    void glfwSetWindowMonitor(GLFWwindow *window, GLFWmonitor *monitor, int xpos, int ypos, int width, int height, int refreshRate)
    Sets the mode, monitor, video mode and placement of a window.
    +
    void glfwGetWindowPos(GLFWwindow *window, int *xpos, int *ypos)
    Retrieves the position of the content area of the specified window.
    +
    GLFWwindowmaximizefun glfwSetWindowMaximizeCallback(GLFWwindow *window, GLFWwindowmaximizefun callback)
    Sets the maximize callback for the specified window.
    +
    void glfwSetWindowTitle(GLFWwindow *window, const char *title)
    Sets the title of the specified window.
    +
    struct GLFWwindow GLFWwindow
    Opaque window object.
    Definition: glfw3.h:1312
    +
    void glfwSwapBuffers(GLFWwindow *window)
    Swaps the front and back buffers of the specified window.
    +
    void glfwSwapInterval(int interval)
    Sets the swap interval for the current context.
    +
    int blueBits
    Definition: glfw3.h:1800
    +
    void glfwGetWindowFrameSize(GLFWwindow *window, int *left, int *top, int *right, int *bottom)
    Retrieves the size of the frame of the window.
    +
    #define GLFW_GREEN_BITS
    Framebuffer bit depth hint.
    Definition: glfw3.h:914
    +
    int glfwWindowShouldClose(GLFWwindow *window)
    Checks the close flag of the specified window.
    +
    void glfwPollEvents(void)
    Processes all pending events.
    +
    void glfwSetWindowSizeLimits(GLFWwindow *window, int minwidth, int minheight, int maxwidth, int maxheight)
    Sets the size limits of the specified window.
    +
    GLFWmonitor * glfwGetPrimaryMonitor(void)
    Returns the primary monitor.
    +
    GLFWwindowfocusfun glfwSetWindowFocusCallback(GLFWwindow *window, GLFWwindowfocusfun callback)
    Sets the focus callback for the specified window.
    +
    GLFWwindowclosefun glfwSetWindowCloseCallback(GLFWwindow *window, GLFWwindowclosefun callback)
    Sets the close callback for the specified window.
    +
    void glfwFocusWindow(GLFWwindow *window)
    Brings the specified window to front and sets input focus.
    +
    int height
    Definition: glfw3.h:1791
    +
    GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback(GLFWwindow *window, GLFWwindowcontentscalefun callback)
    Sets the window content scale callback for the specified window.
    +
    GLFWwindowposfun glfwSetWindowPosCallback(GLFWwindow *window, GLFWwindowposfun callback)
    Sets the position callback for the specified window.
    +
    #define GLFW_FALSE
    Zero.
    Definition: glfw3.h:318
    +
    #define GLFW_DONT_CARE
    Definition: glfw3.h:1255
    +
    void glfwShowWindow(GLFWwindow *window)
    Makes the specified window visible.
    +
    #define GLFW_TRUE
    One.
    Definition: glfw3.h:309
    +
    #define GLFW_ICONIFIED
    Window iconification window attribute.
    Definition: glfw3.h:837
    +
    void glfwRequestWindowAttention(GLFWwindow *window)
    Requests user attention to the specified window.
    +
    #define GLFW_RESIZABLE
    Window resize-ability window hint and attribute.
    Definition: glfw3.h:843
    +
    #define GLFW_FOCUSED
    Input focus window hint and attribute.
    Definition: glfw3.h:832
    +
    #define GLFW_BLUE_BITS
    Framebuffer bit depth hint.
    Definition: glfw3.h:919
    +
    void glfwHideWindow(GLFWwindow *window)
    Hides the specified window.
    +
    int width
    Definition: glfw3.h:1788
    +
    void glfwMaximizeWindow(GLFWwindow *window)
    Maximizes the specified window.
    +
    void glfwSetWindowIcon(GLFWwindow *window, int count, const GLFWimage *images)
    Sets the icon for the specified window.
    +
    GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
    Creates a window and its associated context.
    +
    void glfwSetWindowShouldClose(GLFWwindow *window, int value)
    Sets the close flag of the specified window.
    +
    void glfwSetWindowAspectRatio(GLFWwindow *window, int numer, int denom)
    Sets the aspect ratio of the specified window.
    +
    int greenBits
    Definition: glfw3.h:1797
    +
    float glfwGetWindowOpacity(GLFWwindow *window)
    Returns the opacity of the whole window.
    +
    Image data.
    Definition: glfw3.h:1848
    +
    void glfwSetWindowOpacity(GLFWwindow *window, float opacity)
    Sets the opacity of the whole window.
    +
    GLFWmonitor * glfwGetWindowMonitor(GLFWwindow *window)
    Returns the monitor that the window uses for full screen mode.
    +
    void glfwIconifyWindow(GLFWwindow *window)
    Iconifies the specified window.
    +
    #define GLFW_MAXIMIZED
    Window maximization window hint and attribute.
    Definition: glfw3.h:873
    +
    int glfwGetWindowAttrib(GLFWwindow *window, int attrib)
    Returns an attribute of the specified window.
    +
    GLFWwindowiconifyfun glfwSetWindowIconifyCallback(GLFWwindow *window, GLFWwindowiconifyfun callback)
    Sets the iconify callback for the specified window.
    +
    void glfwGetWindowSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the content area of the specified window.
    +
    Video mode type.
    Definition: glfw3.h:1785
    +
    void glfwGetFramebufferSize(GLFWwindow *window, int *width, int *height)
    Retrieves the size of the framebuffer of the specified window.
    +
    int redBits
    Definition: glfw3.h:1794
    +
    #define GLFW_REFRESH_RATE
    Monitor refresh rate hint.
    Definition: glfw3.h:979
    +
    void glfwWindowHint(int hint, int value)
    Sets the specified window hint to the desired value.
    +
    #define GLFW_VISIBLE
    Window visibility window hint and attribute.
    Definition: glfw3.h:849
    +
    const GLFWvidmode * glfwGetVideoMode(GLFWmonitor *monitor)
    Returns the current mode of the specified monitor.
    +
    void glfwDestroyWindow(GLFWwindow *window)
    Destroys the specified window and its context.
    +
    struct GLFWmonitor GLFWmonitor
    Opaque monitor object.
    Definition: glfw3.h:1300
    +
    int refreshRate
    Definition: glfw3.h:1803
    + + + diff --git a/docs/latest b/docs/latest new file mode 120000 index 0000000..f30101c --- /dev/null +++ b/docs/latest @@ -0,0 +1 @@ +3.3 \ No newline at end of file