gosu 0.7.14 → 0.7.15
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING.txt +1 -2
- data/Gosu/Graphics.hpp +6 -0
- data/Gosu/Image.hpp +4 -0
- data/Gosu/Version.hpp +2 -2
- data/GosuImpl/Audio/ALChannelManagement.hpp +3 -3
- data/GosuImpl/Audio/AudioOpenAL.mm +11 -19
- data/GosuImpl/Audio/AudioToolboxFile.hpp +2 -1
- data/GosuImpl/Graphics/Common.hpp +3 -0
- data/GosuImpl/Graphics/DrawOp.hpp +105 -29
- data/GosuImpl/Graphics/GosuView.hpp +6 -0
- data/GosuImpl/Graphics/GosuView.mm +34 -1
- data/GosuImpl/Graphics/Graphics.cpp +57 -17
- data/GosuImpl/Graphics/Image.cpp +5 -0
- data/GosuImpl/Graphics/LargeImageData.cpp +1 -1
- data/GosuImpl/Graphics/Macro.hpp +79 -0
- data/GosuImpl/Graphics/TexChunk.cpp +3 -3
- data/GosuImpl/Graphics/TexChunk.hpp +2 -2
- data/GosuImpl/Graphics/TextMac.cpp +6 -0
- data/GosuImpl/Graphics/TextTouch.mm +49 -14
- data/GosuImpl/Graphics/Texture.cpp +2 -2
- data/GosuImpl/Graphics/Texture.hpp +3 -2
- data/GosuImpl/InputMac.mm +2 -0
- data/GosuImpl/RubyGosu.swg +15 -4
- data/GosuImpl/RubyGosu_wrap.cxx +85 -6
- data/GosuImpl/Sockets/CommSocket.cpp +304 -304
- data/GosuImpl/Sockets/Socket.cpp +1 -1
- data/GosuImpl/WindowMac.mm +3 -0
- data/GosuImpl/WindowTouch.mm +1 -0
- data/Rakefile +13 -5
- data/mac/Gosu.xcodeproj/jlnr.pbxuser +292 -280
- data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +46 -48
- data/mac/Gosu.xcodeproj/project.pbxproj +58 -18
- data/reference/cpp/_audio_8hpp-source.html +2 -1
- data/reference/cpp/_audio_8hpp.html +11 -4
- data/reference/cpp/_audio_8hpp_source.html +178 -0
- data/reference/cpp/_auto_link_8hpp-source.html +1 -0
- data/reference/cpp/_auto_link_8hpp.html +5 -4
- data/reference/cpp/_auto_link_8hpp_source.html +85 -0
- data/reference/cpp/_bitmap_8hpp-source.html +9 -8
- data/reference/cpp/_bitmap_8hpp.html +11 -4
- data/reference/cpp/_bitmap_8hpp_source.html +131 -0
- data/reference/cpp/_buttons_mac_8hpp-source.html +124 -123
- data/reference/cpp/_buttons_mac_8hpp.html +10 -3
- data/reference/cpp/_buttons_mac_8hpp_source.html +206 -0
- data/reference/cpp/_color_8hpp-source.html +18 -17
- data/reference/cpp/_color_8hpp.html +16 -4
- data/reference/cpp/_color_8hpp_source.html +216 -0
- data/reference/cpp/_directories_8hpp-source.html +5 -4
- data/reference/cpp/_directories_8hpp.html +11 -4
- data/reference/cpp/_directories_8hpp_source.html +89 -0
- data/reference/cpp/_font_8hpp-source.html +8 -7
- data/reference/cpp/_font_8hpp.html +11 -4
- data/reference/cpp/_font_8hpp_source.html +116 -0
- data/reference/cpp/_fwd_8hpp-source.html +1 -0
- data/reference/cpp/_fwd_8hpp.html +11 -4
- data/reference/cpp/_fwd_8hpp_source.html +99 -0
- data/reference/cpp/_gosu_8hpp-source.html +1 -0
- data/reference/cpp/_gosu_8hpp.html +5 -4
- data/reference/cpp/_gosu_8hpp_source.html +97 -0
- data/reference/cpp/_graphics_8hpp-source.html +7 -6
- data/reference/cpp/_graphics_8hpp.html +11 -4
- data/reference/cpp/_graphics_8hpp_source.html +138 -0
- data/reference/cpp/_graphics_base_8hpp-source.html +22 -21
- data/reference/cpp/_graphics_base_8hpp.html +15 -8
- data/reference/cpp/_graphics_base_8hpp_source.html +116 -0
- data/reference/cpp/_i_o_8hpp-source.html +16 -15
- data/reference/cpp/_i_o_8hpp.html +13 -6
- data/reference/cpp/_i_o_8hpp_source.html +302 -0
- data/reference/cpp/_image_8hpp-source.html +23 -22
- data/reference/cpp/_image_8hpp.html +11 -4
- data/reference/cpp/_image_8hpp_source.html +176 -0
- data/reference/cpp/_image_data_8hpp-source.html +2 -1
- data/reference/cpp/_image_data_8hpp.html +11 -4
- data/reference/cpp/_image_data_8hpp_source.html +109 -0
- data/reference/cpp/_input_8hpp-source.html +6 -5
- data/reference/cpp/_input_8hpp.html +11 -4
- data/reference/cpp/_input_8hpp_source.html +183 -0
- data/reference/cpp/_math_8hpp-source.html +26 -25
- data/reference/cpp/_math_8hpp.html +11 -4
- data/reference/cpp/_math_8hpp_source.html +157 -0
- data/reference/cpp/_platform_8hpp-source.html +5 -4
- data/reference/cpp/_platform_8hpp.html +14 -7
- data/reference/cpp/_platform_8hpp_source.html +134 -0
- data/reference/cpp/_rot_flip_8hpp-source.html +30 -29
- data/reference/cpp/_rot_flip_8hpp.html +12 -5
- data/reference/cpp/_rot_flip_8hpp_source.html +185 -0
- data/reference/cpp/_sockets_8hpp-source.html +25 -24
- data/reference/cpp/_sockets_8hpp.html +14 -7
- data/reference/cpp/_sockets_8hpp_source.html +175 -0
- data/reference/cpp/_text_8hpp-source.html +7 -6
- data/reference/cpp/_text_8hpp.html +11 -4
- data/reference/cpp/_text_8hpp_source.html +103 -0
- data/reference/cpp/_text_input_8hpp-source.html +1 -0
- data/reference/cpp/_text_input_8hpp.html +11 -4
- data/reference/cpp/_text_input_8hpp_source.html +111 -0
- data/reference/cpp/_timing_8hpp-source.html +3 -2
- data/reference/cpp/_timing_8hpp.html +11 -4
- data/reference/cpp/_timing_8hpp_source.html +83 -0
- data/reference/cpp/_utility_8hpp-source.html +5 -4
- data/reference/cpp/_utility_8hpp.html +11 -4
- data/reference/cpp/_utility_8hpp_source.html +90 -0
- data/reference/cpp/_version_8hpp-source.html +1 -0
- data/reference/cpp/_version_8hpp.html +7 -6
- data/reference/cpp/_version_8hpp_source.html +78 -0
- data/reference/cpp/_win_utility_8hpp-source.html +13 -12
- data/reference/cpp/_win_utility_8hpp.html +18 -6
- data/reference/cpp/_win_utility_8hpp_source.html +126 -0
- data/reference/cpp/_window_8hpp-source.html +6 -5
- data/reference/cpp/_window_8hpp.html +12 -5
- data/reference/cpp/_window_8hpp_source.html +158 -0
- data/reference/cpp/annotated.html +3 -2
- data/reference/cpp/class_gosu_1_1_audio-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_audio.html +5 -4
- data/reference/cpp/class_gosu_1_1_bitmap-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_bitmap.html +17 -12
- data/reference/cpp/class_gosu_1_1_buffer-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_buffer.html +12 -13
- data/reference/cpp/class_gosu_1_1_button-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_button.html +13 -10
- data/reference/cpp/class_gosu_1_1_color-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_color.html +29 -26
- data/reference/cpp/class_gosu_1_1_comm_socket-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_comm_socket.html +23 -22
- data/reference/cpp/class_gosu_1_1_file-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_file.html +7 -6
- data/reference/cpp/class_gosu_1_1_font-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_font.html +17 -16
- data/reference/cpp/class_gosu_1_1_graphics-members.html +4 -1
- data/reference/cpp/class_gosu_1_1_graphics.html +68 -19
- data/reference/cpp/class_gosu_1_1_image-members.html +3 -1
- data/reference/cpp/class_gosu_1_1_image.html +49 -23
- data/reference/cpp/class_gosu_1_1_image_data-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_image_data.html +9 -8
- data/reference/cpp/class_gosu_1_1_input-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_input.html +7 -6
- data/reference/cpp/class_gosu_1_1_listener_socket-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_listener_socket.html +12 -11
- data/reference/cpp/class_gosu_1_1_message_socket-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_message_socket.html +19 -18
- data/reference/cpp/class_gosu_1_1_reader-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_reader.html +18 -17
- data/reference/cpp/class_gosu_1_1_resource-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_resource.html +10 -9
- data/reference/cpp/class_gosu_1_1_rot_flip-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_rot_flip.html +24 -19
- data/reference/cpp/class_gosu_1_1_sample-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_sample.html +5 -4
- data/reference/cpp/class_gosu_1_1_sample_instance-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_sample_instance.html +5 -4
- data/reference/cpp/class_gosu_1_1_song-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_song.html +6 -5
- data/reference/cpp/class_gosu_1_1_text_input-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_text_input.html +6 -5
- data/reference/cpp/class_gosu_1_1_window-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_window.html +12 -11
- data/reference/cpp/class_gosu_1_1_writer-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_writer.html +15 -14
- data/reference/cpp/classes.html +11 -10
- data/reference/cpp/files.html +28 -27
- data/reference/cpp/functions.html +2 -1
- data/reference/cpp/functions_0x62.html +5 -2
- data/reference/cpp/functions_0x63.html +2 -1
- data/reference/cpp/functions_0x64.html +2 -1
- data/reference/cpp/functions_0x65.html +4 -1
- data/reference/cpp/functions_0x66.html +2 -1
- data/reference/cpp/functions_0x67.html +5 -2
- data/reference/cpp/functions_0x68.html +2 -1
- data/reference/cpp/functions_0x69.html +2 -1
- data/reference/cpp/functions_0x6b.html +2 -1
- data/reference/cpp/functions_0x6c.html +2 -1
- data/reference/cpp/functions_0x6d.html +2 -1
- data/reference/cpp/functions_0x6e.html +2 -1
- data/reference/cpp/functions_0x6f.html +2 -1
- data/reference/cpp/functions_0x70.html +2 -1
- data/reference/cpp/functions_0x72.html +2 -1
- data/reference/cpp/functions_0x73.html +2 -1
- data/reference/cpp/functions_0x74.html +4 -3
- data/reference/cpp/functions_0x75.html +2 -1
- data/reference/cpp/functions_0x76.html +2 -1
- data/reference/cpp/functions_0x77.html +2 -1
- data/reference/cpp/functions_0x78.html +2 -1
- data/reference/cpp/functions_0x79.html +2 -1
- data/reference/cpp/functions_0x7e.html +2 -1
- data/reference/cpp/functions_enum.html +2 -1
- data/reference/cpp/functions_eval.html +2 -1
- data/reference/cpp/functions_func.html +2 -1
- data/reference/cpp/functions_func_0x62.html +5 -2
- data/reference/cpp/functions_func_0x63.html +2 -1
- data/reference/cpp/functions_func_0x64.html +2 -1
- data/reference/cpp/functions_func_0x65.html +4 -1
- data/reference/cpp/functions_func_0x66.html +2 -1
- data/reference/cpp/functions_func_0x67.html +5 -2
- data/reference/cpp/functions_func_0x68.html +2 -1
- data/reference/cpp/functions_func_0x69.html +2 -1
- data/reference/cpp/functions_func_0x6b.html +2 -1
- data/reference/cpp/functions_func_0x6c.html +2 -1
- data/reference/cpp/functions_func_0x6d.html +2 -1
- data/reference/cpp/functions_func_0x6e.html +2 -1
- data/reference/cpp/functions_func_0x6f.html +2 -1
- data/reference/cpp/functions_func_0x70.html +2 -1
- data/reference/cpp/functions_func_0x72.html +2 -1
- data/reference/cpp/functions_func_0x73.html +2 -1
- data/reference/cpp/functions_func_0x74.html +4 -3
- data/reference/cpp/functions_func_0x75.html +2 -1
- data/reference/cpp/functions_func_0x76.html +2 -1
- data/reference/cpp/functions_func_0x77.html +2 -1
- data/reference/cpp/functions_func_0x7e.html +2 -1
- data/reference/cpp/functions_type.html +2 -1
- data/reference/cpp/functions_vars.html +2 -1
- data/reference/cpp/globals.html +2 -1
- data/reference/cpp/globals_defs.html +2 -1
- data/reference/cpp/hierarchy.html +2 -1
- data/reference/cpp/index.html +3 -2
- data/reference/cpp/namespace_gosu.html +3314 -0
- data/reference/cpp/namespace_gosu_1_1_colors.html +274 -0
- data/reference/cpp/namespace_gosu_1_1_win.html +354 -0
- data/reference/cpp/namespacemembers.html +135 -0
- data/reference/cpp/namespacemembers_0x62.html +143 -0
- data/reference/cpp/namespacemembers_0x63.html +125 -0
- data/reference/cpp/namespacemembers_0x64.html +119 -0
- data/reference/cpp/namespacemembers_0x66.html +129 -0
- data/reference/cpp/namespacemembers_0x67.html +165 -0
- data/reference/cpp/namespacemembers_0x68.html +113 -0
- data/reference/cpp/namespacemembers_0x69.html +117 -0
- data/reference/cpp/namespacemembers_0x6b.html +289 -0
- data/reference/cpp/namespacemembers_0x6c.html +119 -0
- data/reference/cpp/namespacemembers_0x6d.html +131 -0
- data/reference/cpp/namespacemembers_0x6e.html +127 -0
- data/reference/cpp/namespacemembers_0x6f.html +121 -0
- data/reference/cpp/namespacemembers_0x70.html +115 -0
- data/reference/cpp/namespacemembers_0x71.html +113 -0
- data/reference/cpp/namespacemembers_0x72.html +165 -0
- data/reference/cpp/namespacemembers_0x73.html +135 -0
- data/reference/cpp/namespacemembers_0x74.html +129 -0
- data/reference/cpp/namespacemembers_0x75.html +117 -0
- data/reference/cpp/namespacemembers_0x77.html +117 -0
- data/reference/cpp/namespacemembers_0x79.html +113 -0
- data/reference/cpp/namespacemembers_0x7a.html +115 -0
- data/reference/cpp/namespacemembers_enum.html +103 -0
- data/reference/cpp/namespacemembers_eval.html +443 -0
- data/reference/cpp/namespacemembers_func.html +269 -0
- data/reference/cpp/namespacemembers_type.html +93 -0
- data/reference/cpp/namespacemembers_vars.html +115 -0
- data/reference/cpp/namespaces.html +76 -0
- data/reference/cpp/struct_gosu_1_1_g_l_tex_info-members.html +2 -1
- data/reference/cpp/struct_gosu_1_1_g_l_tex_info.html +10 -9
- data/reference/cpp/struct_gosu_1_1_touch-members.html +2 -1
- data/reference/cpp/struct_gosu_1_1_touch.html +8 -7
- data/reference/rdoc/classes/Gosu.html +16 -29
- data/reference/rdoc/classes/Gosu.src/M000003.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000004.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000005.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000006.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000007.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000008.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000009.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000010.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000011.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000012.html +0 -0
- data/reference/rdoc/classes/Gosu/Color.html +16 -17
- data/reference/rdoc/classes/Gosu/Color.src/M000016.html +0 -0
- data/reference/rdoc/classes/Gosu/Color.src/M000017.html +0 -0
- data/reference/rdoc/classes/Gosu/Color.src/M000018.html +0 -0
- data/reference/rdoc/classes/Gosu/Color.src/M000019.html +0 -0
- data/reference/rdoc/classes/Gosu/Font.html +16 -19
- data/reference/rdoc/classes/Gosu/Font.src/M000029.html +0 -0
- data/reference/rdoc/classes/Gosu/Font.src/M000030.html +0 -0
- data/reference/rdoc/classes/Gosu/Font.src/M000031.html +0 -0
- data/reference/rdoc/classes/Gosu/Font.src/M000032.html +0 -0
- data/reference/rdoc/classes/Gosu/Font.src/M000033.html +0 -0
- data/reference/rdoc/classes/Gosu/GLTexInfo.html +24 -16
- data/reference/rdoc/classes/Gosu/Image.html +16 -27
- data/reference/rdoc/classes/Gosu/Image.src/M000020.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000021.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000022.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000023.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000024.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000025.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000026.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000027.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000028.html +0 -0
- data/reference/rdoc/classes/Gosu/Sample.html +16 -15
- data/reference/rdoc/classes/Gosu/Sample.src/M000013.html +0 -0
- data/reference/rdoc/classes/Gosu/Sample.src/M000014.html +0 -0
- data/reference/rdoc/classes/Gosu/Sample.src/M000015.html +0 -0
- data/reference/rdoc/classes/Gosu/SampleInstance.html +16 -19
- data/reference/rdoc/classes/Gosu/SampleInstance.src/M000051.html +0 -0
- data/reference/rdoc/classes/Gosu/SampleInstance.src/M000052.html +0 -0
- data/reference/rdoc/classes/Gosu/SampleInstance.src/M000053.html +0 -0
- data/reference/rdoc/classes/Gosu/SampleInstance.src/M000054.html +0 -0
- data/reference/rdoc/classes/Gosu/SampleInstance.src/M000055.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.html +16 -23
- data/reference/rdoc/classes/Gosu/Song.src/M000056.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000057.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000058.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000059.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000060.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000061.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000062.html +0 -0
- data/reference/rdoc/classes/Gosu/TextInput.html +16 -9
- data/reference/rdoc/classes/Gosu/Window.html +16 -51
- data/reference/rdoc/classes/Gosu/Window.src/M000034.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000035.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000036.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000037.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000038.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000039.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000040.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000041.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000042.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000043.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000044.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000045.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000046.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000047.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000048.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000049.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000050.html +0 -0
- data/reference/rdoc/classes/Numeric.html +16 -13
- data/reference/rdoc/classes/Numeric.src/M000001.html +0 -0
- data/reference/rdoc/classes/Numeric.src/M000002.html +0 -0
- data/reference/rdoc/created.rid +1 -1
- data/reference/rdoc/files/COPYING_txt.html +17 -12
- data/reference/rdoc/files/README_txt.html +16 -10
- data/reference/rdoc/files/reference/{DeploymentOnOSX_rdoc.html → Deployment on OS X_rdoc.html } +17 -11
- data/reference/rdoc/files/reference/{DeploymentOnWindows_rdoc.html → Deployment on Windows_rdoc.html } +17 -11
- data/reference/rdoc/files/reference/{DrawingWithColors_rdoc.html → Drawing with Colors_rdoc.html } +23 -17
- data/reference/rdoc/files/reference/{OrderOfCorners_rdoc.html → Order of Corners_rdoc.html } +18 -12
- data/reference/rdoc/files/reference/Tileability_rdoc.html +16 -10
- data/reference/rdoc/files/reference/{ZOrdering_rdoc.html → Z Ordering_rdoc.html } +18 -12
- data/reference/rdoc/files/reference/gosu_rb.html +16 -10
- data/reference/rdoc/fr_file_index.html +5 -5
- data/reference/rdoc/index.html +1 -1
- data/reference/rdoc/rdoc-style.css +4 -0
- metadata +129 -9
@@ -0,0 +1,274 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>Gosu C++ Reference</title>
|
4
|
+
<link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
<div class="everything">
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
|
+
<script type="text/javascript">
|
10
|
+
<!--
|
11
|
+
function changeDisplayState (e){
|
12
|
+
var num=this.id.replace(/[^[0-9]/g,'');
|
13
|
+
var button=this.firstChild;
|
14
|
+
var sectionDiv=document.getElementById('dynsection'+num);
|
15
|
+
if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
|
16
|
+
sectionDiv.style.display='block';
|
17
|
+
button.src='open.gif';
|
18
|
+
}else{
|
19
|
+
sectionDiv.style.display='none';
|
20
|
+
button.src='closed.gif';
|
21
|
+
}
|
22
|
+
}
|
23
|
+
function initDynSections(){
|
24
|
+
var divs=document.getElementsByTagName('div');
|
25
|
+
var sectionCounter=1;
|
26
|
+
for(var i=0;i<divs.length-1;i++){
|
27
|
+
if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
|
28
|
+
var header=divs[i];
|
29
|
+
var section=divs[i+1];
|
30
|
+
var button=header.firstChild;
|
31
|
+
if (button!='IMG'){
|
32
|
+
divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
|
33
|
+
button=document.createElement('img');
|
34
|
+
divs[i].insertBefore(button,divs[i].firstChild);
|
35
|
+
}
|
36
|
+
header.style.cursor='pointer';
|
37
|
+
header.onclick=changeDisplayState;
|
38
|
+
header.id='dynheader'+sectionCounter;
|
39
|
+
button.src='closed.gif';
|
40
|
+
section.id='dynsection'+sectionCounter;
|
41
|
+
section.style.display='none';
|
42
|
+
section.style.marginLeft='14px';
|
43
|
+
sectionCounter++;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
window.onload = initDynSections;
|
48
|
+
-->
|
49
|
+
</script>
|
50
|
+
<div class="navigation" id="top">
|
51
|
+
<div class="tabs">
|
52
|
+
<ul>
|
53
|
+
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
|
55
|
+
<li><a href="annotated.html"><span>Classes</span></a></li>
|
56
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
57
|
+
</ul>
|
58
|
+
</div>
|
59
|
+
<div class="tabs">
|
60
|
+
<ul>
|
61
|
+
<li><a href="namespaces.html"><span>Namespace List</span></a></li>
|
62
|
+
<li><a href="namespacemembers.html"><span>Namespace Members</span></a></li>
|
63
|
+
</ul>
|
64
|
+
</div>
|
65
|
+
<div class="navpath"><a class="el" href="namespace_gosu.html">Gosu</a>::<a class="el" href="namespace_gosu_1_1_colors.html">Colors</a>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
<div class="contents">
|
69
|
+
<h1>Gosu::Colors Namespace Reference</h1>Namespace which contains some predefined colors.
|
70
|
+
<a href="#_details">More...</a>
|
71
|
+
<p>
|
72
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
73
|
+
<tr><td></td></tr>
|
74
|
+
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
|
75
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#0918862384305ddc85080bdb5946a2df">none</a> = 0x00000000</td></tr>
|
76
|
+
|
77
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#486a8cbb6cc61e293d9e0e514b77b99c">black</a> = 0xff000000</td></tr>
|
78
|
+
|
79
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#771eb7e0a376ddaf15aae2d937cf5116">gray</a> = 0xff808080</td></tr>
|
80
|
+
|
81
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#10d42c88c877baa7e4c3d22f30781802">white</a> = 0xffffffff</td></tr>
|
82
|
+
|
83
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#87aad19d60aca50b923e3cd8e3965acb">red</a> = 0xffff0000</td></tr>
|
84
|
+
|
85
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#b996c55e7085bf96def040bf026682df">green</a> = 0xff00ff00</td></tr>
|
86
|
+
|
87
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#4cb017274ba0bdcdba68a0d3e131fdcd">blue</a> = 0xff0000ff</td></tr>
|
88
|
+
|
89
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#805a3b1bacc86357736930cacf209803">yellow</a> = 0xffffff00</td></tr>
|
90
|
+
|
91
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#150c914964141ef07c27703ca8f55500">fuchsia</a> = 0xffff00ff</td></tr>
|
92
|
+
|
93
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#0751eab6bdab4be181a09afab61947e2">cyan</a> = 0xff00ffff</td></tr>
|
94
|
+
|
95
|
+
</table>
|
96
|
+
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
97
|
+
Namespace which contains some predefined colors.
|
98
|
+
<p>
|
99
|
+
<hr><h2>Variable Documentation</h2>
|
100
|
+
<a class="anchor" name="486a8cbb6cc61e293d9e0e514b77b99c"></a><!-- doxytag: member="Gosu::Colors::black" ref="486a8cbb6cc61e293d9e0e514b77b99c" args="" -->
|
101
|
+
<div class="memitem">
|
102
|
+
<div class="memproto">
|
103
|
+
<table class="memname">
|
104
|
+
<tr>
|
105
|
+
<td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#486a8cbb6cc61e293d9e0e514b77b99c">Gosu::Colors::black</a> = 0xff000000 </td>
|
106
|
+
</tr>
|
107
|
+
</table>
|
108
|
+
</div>
|
109
|
+
<div class="memdoc">
|
110
|
+
|
111
|
+
<p>
|
112
|
+
|
113
|
+
<p>Definition at line <a class="el" href="_color_8hpp_source.html#l00160">160</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
|
114
|
+
|
115
|
+
</div>
|
116
|
+
</div><p>
|
117
|
+
<a class="anchor" name="4cb017274ba0bdcdba68a0d3e131fdcd"></a><!-- doxytag: member="Gosu::Colors::blue" ref="4cb017274ba0bdcdba68a0d3e131fdcd" args="" -->
|
118
|
+
<div class="memitem">
|
119
|
+
<div class="memproto">
|
120
|
+
<table class="memname">
|
121
|
+
<tr>
|
122
|
+
<td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#4cb017274ba0bdcdba68a0d3e131fdcd">Gosu::Colors::blue</a> = 0xff0000ff </td>
|
123
|
+
</tr>
|
124
|
+
</table>
|
125
|
+
</div>
|
126
|
+
<div class="memdoc">
|
127
|
+
|
128
|
+
<p>
|
129
|
+
|
130
|
+
<p>Definition at line <a class="el" href="_color_8hpp_source.html#l00165">165</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
|
131
|
+
|
132
|
+
</div>
|
133
|
+
</div><p>
|
134
|
+
<a class="anchor" name="0751eab6bdab4be181a09afab61947e2"></a><!-- doxytag: member="Gosu::Colors::cyan" ref="0751eab6bdab4be181a09afab61947e2" args="" -->
|
135
|
+
<div class="memitem">
|
136
|
+
<div class="memproto">
|
137
|
+
<table class="memname">
|
138
|
+
<tr>
|
139
|
+
<td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#0751eab6bdab4be181a09afab61947e2">Gosu::Colors::cyan</a> = 0xff00ffff </td>
|
140
|
+
</tr>
|
141
|
+
</table>
|
142
|
+
</div>
|
143
|
+
<div class="memdoc">
|
144
|
+
|
145
|
+
<p>
|
146
|
+
|
147
|
+
<p>Definition at line <a class="el" href="_color_8hpp_source.html#l00168">168</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
|
148
|
+
|
149
|
+
</div>
|
150
|
+
</div><p>
|
151
|
+
<a class="anchor" name="150c914964141ef07c27703ca8f55500"></a><!-- doxytag: member="Gosu::Colors::fuchsia" ref="150c914964141ef07c27703ca8f55500" args="" -->
|
152
|
+
<div class="memitem">
|
153
|
+
<div class="memproto">
|
154
|
+
<table class="memname">
|
155
|
+
<tr>
|
156
|
+
<td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#150c914964141ef07c27703ca8f55500">Gosu::Colors::fuchsia</a> = 0xffff00ff </td>
|
157
|
+
</tr>
|
158
|
+
</table>
|
159
|
+
</div>
|
160
|
+
<div class="memdoc">
|
161
|
+
|
162
|
+
<p>
|
163
|
+
|
164
|
+
<p>Definition at line <a class="el" href="_color_8hpp_source.html#l00167">167</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
|
165
|
+
|
166
|
+
</div>
|
167
|
+
</div><p>
|
168
|
+
<a class="anchor" name="771eb7e0a376ddaf15aae2d937cf5116"></a><!-- doxytag: member="Gosu::Colors::gray" ref="771eb7e0a376ddaf15aae2d937cf5116" args="" -->
|
169
|
+
<div class="memitem">
|
170
|
+
<div class="memproto">
|
171
|
+
<table class="memname">
|
172
|
+
<tr>
|
173
|
+
<td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#771eb7e0a376ddaf15aae2d937cf5116">Gosu::Colors::gray</a> = 0xff808080 </td>
|
174
|
+
</tr>
|
175
|
+
</table>
|
176
|
+
</div>
|
177
|
+
<div class="memdoc">
|
178
|
+
|
179
|
+
<p>
|
180
|
+
|
181
|
+
<p>Definition at line <a class="el" href="_color_8hpp_source.html#l00161">161</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
|
182
|
+
|
183
|
+
</div>
|
184
|
+
</div><p>
|
185
|
+
<a class="anchor" name="b996c55e7085bf96def040bf026682df"></a><!-- doxytag: member="Gosu::Colors::green" ref="b996c55e7085bf96def040bf026682df" args="" -->
|
186
|
+
<div class="memitem">
|
187
|
+
<div class="memproto">
|
188
|
+
<table class="memname">
|
189
|
+
<tr>
|
190
|
+
<td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#b996c55e7085bf96def040bf026682df">Gosu::Colors::green</a> = 0xff00ff00 </td>
|
191
|
+
</tr>
|
192
|
+
</table>
|
193
|
+
</div>
|
194
|
+
<div class="memdoc">
|
195
|
+
|
196
|
+
<p>
|
197
|
+
|
198
|
+
<p>Definition at line <a class="el" href="_color_8hpp_source.html#l00164">164</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
|
199
|
+
|
200
|
+
</div>
|
201
|
+
</div><p>
|
202
|
+
<a class="anchor" name="0918862384305ddc85080bdb5946a2df"></a><!-- doxytag: member="Gosu::Colors::none" ref="0918862384305ddc85080bdb5946a2df" args="" -->
|
203
|
+
<div class="memitem">
|
204
|
+
<div class="memproto">
|
205
|
+
<table class="memname">
|
206
|
+
<tr>
|
207
|
+
<td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#0918862384305ddc85080bdb5946a2df">Gosu::Colors::none</a> = 0x00000000 </td>
|
208
|
+
</tr>
|
209
|
+
</table>
|
210
|
+
</div>
|
211
|
+
<div class="memdoc">
|
212
|
+
|
213
|
+
<p>
|
214
|
+
|
215
|
+
<p>Definition at line <a class="el" href="_color_8hpp_source.html#l00159">159</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
|
216
|
+
|
217
|
+
</div>
|
218
|
+
</div><p>
|
219
|
+
<a class="anchor" name="87aad19d60aca50b923e3cd8e3965acb"></a><!-- doxytag: member="Gosu::Colors::red" ref="87aad19d60aca50b923e3cd8e3965acb" args="" -->
|
220
|
+
<div class="memitem">
|
221
|
+
<div class="memproto">
|
222
|
+
<table class="memname">
|
223
|
+
<tr>
|
224
|
+
<td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#87aad19d60aca50b923e3cd8e3965acb">Gosu::Colors::red</a> = 0xffff0000 </td>
|
225
|
+
</tr>
|
226
|
+
</table>
|
227
|
+
</div>
|
228
|
+
<div class="memdoc">
|
229
|
+
|
230
|
+
<p>
|
231
|
+
|
232
|
+
<p>Definition at line <a class="el" href="_color_8hpp_source.html#l00163">163</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
|
233
|
+
|
234
|
+
</div>
|
235
|
+
</div><p>
|
236
|
+
<a class="anchor" name="10d42c88c877baa7e4c3d22f30781802"></a><!-- doxytag: member="Gosu::Colors::white" ref="10d42c88c877baa7e4c3d22f30781802" args="" -->
|
237
|
+
<div class="memitem">
|
238
|
+
<div class="memproto">
|
239
|
+
<table class="memname">
|
240
|
+
<tr>
|
241
|
+
<td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#10d42c88c877baa7e4c3d22f30781802">Gosu::Colors::white</a> = 0xffffffff </td>
|
242
|
+
</tr>
|
243
|
+
</table>
|
244
|
+
</div>
|
245
|
+
<div class="memdoc">
|
246
|
+
|
247
|
+
<p>
|
248
|
+
|
249
|
+
<p>Definition at line <a class="el" href="_color_8hpp_source.html#l00162">162</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
|
250
|
+
|
251
|
+
</div>
|
252
|
+
</div><p>
|
253
|
+
<a class="anchor" name="805a3b1bacc86357736930cacf209803"></a><!-- doxytag: member="Gosu::Colors::yellow" ref="805a3b1bacc86357736930cacf209803" args="" -->
|
254
|
+
<div class="memitem">
|
255
|
+
<div class="memproto">
|
256
|
+
<table class="memname">
|
257
|
+
<tr>
|
258
|
+
<td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#805a3b1bacc86357736930cacf209803">Gosu::Colors::yellow</a> = 0xffffff00 </td>
|
259
|
+
</tr>
|
260
|
+
</table>
|
261
|
+
</div>
|
262
|
+
<div class="memdoc">
|
263
|
+
|
264
|
+
<p>
|
265
|
+
|
266
|
+
<p>Definition at line <a class="el" href="_color_8hpp_source.html#l00166">166</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
|
267
|
+
|
268
|
+
</div>
|
269
|
+
</div><p>
|
270
|
+
</div>
|
271
|
+
<p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
|
272
|
+
</div>
|
273
|
+
</body>
|
274
|
+
</html>
|
@@ -0,0 +1,354 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>Gosu C++ Reference</title>
|
4
|
+
<link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
<div class="everything">
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
|
+
<script type="text/javascript">
|
10
|
+
<!--
|
11
|
+
function changeDisplayState (e){
|
12
|
+
var num=this.id.replace(/[^[0-9]/g,'');
|
13
|
+
var button=this.firstChild;
|
14
|
+
var sectionDiv=document.getElementById('dynsection'+num);
|
15
|
+
if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
|
16
|
+
sectionDiv.style.display='block';
|
17
|
+
button.src='open.gif';
|
18
|
+
}else{
|
19
|
+
sectionDiv.style.display='none';
|
20
|
+
button.src='closed.gif';
|
21
|
+
}
|
22
|
+
}
|
23
|
+
function initDynSections(){
|
24
|
+
var divs=document.getElementsByTagName('div');
|
25
|
+
var sectionCounter=1;
|
26
|
+
for(var i=0;i<divs.length-1;i++){
|
27
|
+
if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
|
28
|
+
var header=divs[i];
|
29
|
+
var section=divs[i+1];
|
30
|
+
var button=header.firstChild;
|
31
|
+
if (button!='IMG'){
|
32
|
+
divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
|
33
|
+
button=document.createElement('img');
|
34
|
+
divs[i].insertBefore(button,divs[i].firstChild);
|
35
|
+
}
|
36
|
+
header.style.cursor='pointer';
|
37
|
+
header.onclick=changeDisplayState;
|
38
|
+
header.id='dynheader'+sectionCounter;
|
39
|
+
button.src='closed.gif';
|
40
|
+
section.id='dynsection'+sectionCounter;
|
41
|
+
section.style.display='none';
|
42
|
+
section.style.marginLeft='14px';
|
43
|
+
sectionCounter++;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
window.onload = initDynSections;
|
48
|
+
-->
|
49
|
+
</script>
|
50
|
+
<div class="navigation" id="top">
|
51
|
+
<div class="tabs">
|
52
|
+
<ul>
|
53
|
+
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
|
55
|
+
<li><a href="annotated.html"><span>Classes</span></a></li>
|
56
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
57
|
+
</ul>
|
58
|
+
</div>
|
59
|
+
<div class="tabs">
|
60
|
+
<ul>
|
61
|
+
<li><a href="namespaces.html"><span>Namespace List</span></a></li>
|
62
|
+
<li><a href="namespacemembers.html"><span>Namespace Members</span></a></li>
|
63
|
+
</ul>
|
64
|
+
</div>
|
65
|
+
<div class="navpath"><a class="el" href="namespace_gosu.html">Gosu</a>::<a class="el" href="namespace_gosu_1_1_win.html">Win</a>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
<div class="contents">
|
69
|
+
<h1>Gosu::Win Namespace Reference</h1>Implementation helpers for the Windows platform.
|
70
|
+
<a href="#_details">More...</a>
|
71
|
+
<p>
|
72
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
73
|
+
<tr><td></td></tr>
|
74
|
+
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
75
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">HINSTANCE </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#83b6e6b81742595a0e9203484703db1b">instance</a> ()</td></tr>
|
76
|
+
|
77
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the instance handle of the application. <a href="#83b6e6b81742595a0e9203484703db1b"></a><br></td></tr>
|
78
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#31f2a986954cbda89d833e5c4b6023bc">handleMessage</a> ()</td></tr>
|
79
|
+
|
80
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Blocking function which waits for the next message, processes it, then returns. <a href="#31f2a986954cbda89d833e5c4b6023bc"></a><br></td></tr>
|
81
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#d00342fe1c6ac246a35732e61c814f66">processMessages</a> ()</td></tr>
|
82
|
+
|
83
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Non-blocking function which processes all waiting messages but does not wait for further incoming messages. <a href="#d00342fe1c6ac246a35732e61c814f66"></a><br></td></tr>
|
84
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#7d2d60d6682043477b9765af5433a0db">registerMessageHook</a> (const boost::function< bool(MSG &)> &hook)</td></tr>
|
85
|
+
|
86
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Registers a function to be called by handleMessage and processMessages. <a href="#7d2d60d6682043477b9765af5433a0db"></a><br></td></tr>
|
87
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">GOSU_NORETURN void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#9b691c48faa83e1f04f3c185f4fc88e0">throwLastError</a> (const std::string &action="")</td></tr>
|
88
|
+
|
89
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Throws an exception according to the error which GetLastError() returns, optionally prefixed with "While (action), the following error occured: ". <a href="#9b691c48faa83e1f04f3c185f4fc88e0"></a><br></td></tr>
|
90
|
+
<tr><td class="memTemplParams" nowrap colspan="2">template<typename T > </td></tr>
|
91
|
+
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#6040740de3117cb7f53d2458e29e0d33">check</a> (T valToCheck, const std::string &action="")</td></tr>
|
92
|
+
|
93
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Small helper function that throws an exception whenever the value passed through is false. <a href="#6040740de3117cb7f53d2458e29e0d33"></a><br></td></tr>
|
94
|
+
<tr><td class="memTemplParams" nowrap colspan="2">template<typename T > </td></tr>
|
95
|
+
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#a94c44a4738f72711497fe26cb15c8b6">releaseComPtr</a> (T *ptr)</td></tr>
|
96
|
+
|
97
|
+
<tr><td class="memTemplParams" nowrap colspan="2">template<typename T > </td></tr>
|
98
|
+
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">boost::shared_ptr< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#a428c0599282230ad8c8c03a4eb1a054">shareComPtr</a> (T *ptr)</td></tr>
|
99
|
+
|
100
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Small helper function that transfers ownership of a COM interface to a boost::shared_ptr. <a href="#a428c0599282230ad8c8c03a4eb1a054"></a><br></td></tr>
|
101
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#6a880b46db664c1be2b5115a1090c37b">appFilename</a> ()</td></tr>
|
102
|
+
|
103
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the executable's filename. <a href="#6a880b46db664c1be2b5115a1090c37b"></a><br></td></tr>
|
104
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#23f9098ea654c70ae845ec3fe6e9f20c">appDirectory</a> ()</td></tr>
|
105
|
+
|
106
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the executable's containing directory. <a href="#23f9098ea654c70ae845ec3fe6e9f20c"></a><br></td></tr>
|
107
|
+
</table>
|
108
|
+
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
109
|
+
Implementation helpers for the Windows platform.
|
110
|
+
<p>
|
111
|
+
<hr><h2>Function Documentation</h2>
|
112
|
+
<a class="anchor" name="23f9098ea654c70ae845ec3fe6e9f20c"></a><!-- doxytag: member="Gosu::Win::appDirectory" ref="23f9098ea654c70ae845ec3fe6e9f20c" args="()" -->
|
113
|
+
<div class="memitem">
|
114
|
+
<div class="memproto">
|
115
|
+
<table class="memname">
|
116
|
+
<tr>
|
117
|
+
<td class="memname">std::wstring Gosu::Win::appDirectory </td>
|
118
|
+
<td>(</td>
|
119
|
+
<td class="paramname"> </td>
|
120
|
+
<td> ) </td>
|
121
|
+
<td></td>
|
122
|
+
</tr>
|
123
|
+
</table>
|
124
|
+
</div>
|
125
|
+
<div class="memdoc">
|
126
|
+
|
127
|
+
<p>
|
128
|
+
Returns the executable's containing directory.
|
129
|
+
<p>
|
130
|
+
|
131
|
+
</div>
|
132
|
+
</div><p>
|
133
|
+
<a class="anchor" name="6a880b46db664c1be2b5115a1090c37b"></a><!-- doxytag: member="Gosu::Win::appFilename" ref="6a880b46db664c1be2b5115a1090c37b" args="()" -->
|
134
|
+
<div class="memitem">
|
135
|
+
<div class="memproto">
|
136
|
+
<table class="memname">
|
137
|
+
<tr>
|
138
|
+
<td class="memname">std::wstring Gosu::Win::appFilename </td>
|
139
|
+
<td>(</td>
|
140
|
+
<td class="paramname"> </td>
|
141
|
+
<td> ) </td>
|
142
|
+
<td></td>
|
143
|
+
</tr>
|
144
|
+
</table>
|
145
|
+
</div>
|
146
|
+
<div class="memdoc">
|
147
|
+
|
148
|
+
<p>
|
149
|
+
Returns the executable's filename.
|
150
|
+
<p>
|
151
|
+
|
152
|
+
</div>
|
153
|
+
</div><p>
|
154
|
+
<a class="anchor" name="6040740de3117cb7f53d2458e29e0d33"></a><!-- doxytag: member="Gosu::Win::check" ref="6040740de3117cb7f53d2458e29e0d33" args="(T valToCheck, const std::string &action="")" -->
|
155
|
+
<div class="memitem">
|
156
|
+
<div class="memproto">
|
157
|
+
<div class="memtemplate">
|
158
|
+
template<typename T > </div>
|
159
|
+
<table class="memname">
|
160
|
+
<tr>
|
161
|
+
<td class="memname">T Gosu::Win::check </td>
|
162
|
+
<td>(</td>
|
163
|
+
<td class="paramtype">T </td>
|
164
|
+
<td class="paramname"> <em>valToCheck</em>, </td>
|
165
|
+
</tr>
|
166
|
+
<tr>
|
167
|
+
<td class="paramkey"></td>
|
168
|
+
<td></td>
|
169
|
+
<td class="paramtype">const std::string & </td>
|
170
|
+
<td class="paramname"> <em>action</em> = <code>""</code></td><td> </td>
|
171
|
+
</tr>
|
172
|
+
<tr>
|
173
|
+
<td></td>
|
174
|
+
<td>)</td>
|
175
|
+
<td></td><td></td><td></td>
|
176
|
+
</tr>
|
177
|
+
</table>
|
178
|
+
</div>
|
179
|
+
<div class="memdoc">
|
180
|
+
|
181
|
+
<p>
|
182
|
+
Small helper function that throws an exception whenever the value passed through is false.
|
183
|
+
<p>
|
184
|
+
Note that this doesn't make sense for all Windows API functions, but for most of them.
|
185
|
+
<p>Definition at line <a class="el" href="_win_utility_8hpp_source.html#l00045">45</a> of file <a class="el" href="_win_utility_8hpp_source.html">WinUtility.hpp</a>.</p>
|
186
|
+
|
187
|
+
<p>References <a class="el" href="namespace_gosu_1_1_win.html#9b691c48faa83e1f04f3c185f4fc88e0">throwLastError()</a>.</p>
|
188
|
+
|
189
|
+
</div>
|
190
|
+
</div><p>
|
191
|
+
<a class="anchor" name="31f2a986954cbda89d833e5c4b6023bc"></a><!-- doxytag: member="Gosu::Win::handleMessage" ref="31f2a986954cbda89d833e5c4b6023bc" args="()" -->
|
192
|
+
<div class="memitem">
|
193
|
+
<div class="memproto">
|
194
|
+
<table class="memname">
|
195
|
+
<tr>
|
196
|
+
<td class="memname">void Gosu::Win::handleMessage </td>
|
197
|
+
<td>(</td>
|
198
|
+
<td class="paramname"> </td>
|
199
|
+
<td> ) </td>
|
200
|
+
<td></td>
|
201
|
+
</tr>
|
202
|
+
</table>
|
203
|
+
</div>
|
204
|
+
<div class="memdoc">
|
205
|
+
|
206
|
+
<p>
|
207
|
+
Blocking function which waits for the next message, processes it, then returns.
|
208
|
+
<p>
|
209
|
+
|
210
|
+
</div>
|
211
|
+
</div><p>
|
212
|
+
<a class="anchor" name="83b6e6b81742595a0e9203484703db1b"></a><!-- doxytag: member="Gosu::Win::instance" ref="83b6e6b81742595a0e9203484703db1b" args="()" -->
|
213
|
+
<div class="memitem">
|
214
|
+
<div class="memproto">
|
215
|
+
<table class="memname">
|
216
|
+
<tr>
|
217
|
+
<td class="memname">HINSTANCE Gosu::Win::instance </td>
|
218
|
+
<td>(</td>
|
219
|
+
<td class="paramname"> </td>
|
220
|
+
<td> ) </td>
|
221
|
+
<td></td>
|
222
|
+
</tr>
|
223
|
+
</table>
|
224
|
+
</div>
|
225
|
+
<div class="memdoc">
|
226
|
+
|
227
|
+
<p>
|
228
|
+
Returns the instance handle of the application.
|
229
|
+
<p>
|
230
|
+
|
231
|
+
</div>
|
232
|
+
</div><p>
|
233
|
+
<a class="anchor" name="d00342fe1c6ac246a35732e61c814f66"></a><!-- doxytag: member="Gosu::Win::processMessages" ref="d00342fe1c6ac246a35732e61c814f66" args="()" -->
|
234
|
+
<div class="memitem">
|
235
|
+
<div class="memproto">
|
236
|
+
<table class="memname">
|
237
|
+
<tr>
|
238
|
+
<td class="memname">void Gosu::Win::processMessages </td>
|
239
|
+
<td>(</td>
|
240
|
+
<td class="paramname"> </td>
|
241
|
+
<td> ) </td>
|
242
|
+
<td></td>
|
243
|
+
</tr>
|
244
|
+
</table>
|
245
|
+
</div>
|
246
|
+
<div class="memdoc">
|
247
|
+
|
248
|
+
<p>
|
249
|
+
Non-blocking function which processes all waiting messages but does not wait for further incoming messages.
|
250
|
+
<p>
|
251
|
+
|
252
|
+
</div>
|
253
|
+
</div><p>
|
254
|
+
<a class="anchor" name="7d2d60d6682043477b9765af5433a0db"></a><!-- doxytag: member="Gosu::Win::registerMessageHook" ref="7d2d60d6682043477b9765af5433a0db" args="(const boost::function< bool(MSG &)> &hook)" -->
|
255
|
+
<div class="memitem">
|
256
|
+
<div class="memproto">
|
257
|
+
<table class="memname">
|
258
|
+
<tr>
|
259
|
+
<td class="memname">void Gosu::Win::registerMessageHook </td>
|
260
|
+
<td>(</td>
|
261
|
+
<td class="paramtype">const boost::function< bool(MSG &)> & </td>
|
262
|
+
<td class="paramname"> <em>hook</em> </td>
|
263
|
+
<td> ) </td>
|
264
|
+
<td></td>
|
265
|
+
</tr>
|
266
|
+
</table>
|
267
|
+
</div>
|
268
|
+
<div class="memdoc">
|
269
|
+
|
270
|
+
<p>
|
271
|
+
Registers a function to be called by handleMessage and processMessages.
|
272
|
+
<p>
|
273
|
+
Every message is passed to the hooks and not processed further if any hook function returns true.
|
274
|
+
</div>
|
275
|
+
</div><p>
|
276
|
+
<a class="anchor" name="a94c44a4738f72711497fe26cb15c8b6"></a><!-- doxytag: member="Gosu::Win::releaseComPtr" ref="a94c44a4738f72711497fe26cb15c8b6" args="(T *ptr)" -->
|
277
|
+
<div class="memitem">
|
278
|
+
<div class="memproto">
|
279
|
+
<div class="memtemplate">
|
280
|
+
template<typename T > </div>
|
281
|
+
<table class="memname">
|
282
|
+
<tr>
|
283
|
+
<td class="memname">void Gosu::Win::releaseComPtr </td>
|
284
|
+
<td>(</td>
|
285
|
+
<td class="paramtype">T * </td>
|
286
|
+
<td class="paramname"> <em>ptr</em> </td>
|
287
|
+
<td> ) </td>
|
288
|
+
<td></td>
|
289
|
+
</tr>
|
290
|
+
</table>
|
291
|
+
</div>
|
292
|
+
<div class="memdoc">
|
293
|
+
|
294
|
+
<p>
|
295
|
+
|
296
|
+
<p>Definition at line <a class="el" href="_win_utility_8hpp_source.html#l00055">55</a> of file <a class="el" href="_win_utility_8hpp_source.html">WinUtility.hpp</a>.</p>
|
297
|
+
|
298
|
+
</div>
|
299
|
+
</div><p>
|
300
|
+
<a class="anchor" name="a428c0599282230ad8c8c03a4eb1a054"></a><!-- doxytag: member="Gosu::Win::shareComPtr" ref="a428c0599282230ad8c8c03a4eb1a054" args="(T *ptr)" -->
|
301
|
+
<div class="memitem">
|
302
|
+
<div class="memproto">
|
303
|
+
<div class="memtemplate">
|
304
|
+
template<typename T > </div>
|
305
|
+
<table class="memname">
|
306
|
+
<tr>
|
307
|
+
<td class="memname">boost::shared_ptr<T> Gosu::Win::shareComPtr </td>
|
308
|
+
<td>(</td>
|
309
|
+
<td class="paramtype">T * </td>
|
310
|
+
<td class="paramname"> <em>ptr</em> </td>
|
311
|
+
<td> ) </td>
|
312
|
+
<td></td>
|
313
|
+
</tr>
|
314
|
+
</table>
|
315
|
+
</div>
|
316
|
+
<div class="memdoc">
|
317
|
+
|
318
|
+
<p>
|
319
|
+
Small helper function that transfers ownership of a COM interface to a boost::shared_ptr.
|
320
|
+
<p>
|
321
|
+
|
322
|
+
<p>Definition at line <a class="el" href="_win_utility_8hpp_source.html#l00063">63</a> of file <a class="el" href="_win_utility_8hpp_source.html">WinUtility.hpp</a>.</p>
|
323
|
+
|
324
|
+
</div>
|
325
|
+
</div><p>
|
326
|
+
<a class="anchor" name="9b691c48faa83e1f04f3c185f4fc88e0"></a><!-- doxytag: member="Gosu::Win::throwLastError" ref="9b691c48faa83e1f04f3c185f4fc88e0" args="(const std::string &action="")" -->
|
327
|
+
<div class="memitem">
|
328
|
+
<div class="memproto">
|
329
|
+
<table class="memname">
|
330
|
+
<tr>
|
331
|
+
<td class="memname">GOSU_NORETURN void Gosu::Win::throwLastError </td>
|
332
|
+
<td>(</td>
|
333
|
+
<td class="paramtype">const std::string & </td>
|
334
|
+
<td class="paramname"> <em>action</em> = <code>""</code> </td>
|
335
|
+
<td> ) </td>
|
336
|
+
<td></td>
|
337
|
+
</tr>
|
338
|
+
</table>
|
339
|
+
</div>
|
340
|
+
<div class="memdoc">
|
341
|
+
|
342
|
+
<p>
|
343
|
+
Throws an exception according to the error which GetLastError() returns, optionally prefixed with "While (action), the following error occured: ".
|
344
|
+
<p>
|
345
|
+
|
346
|
+
<p>Referenced by <a class="el" href="_win_utility_8hpp_source.html#l00045">check()</a>.</p>
|
347
|
+
|
348
|
+
</div>
|
349
|
+
</div><p>
|
350
|
+
</div>
|
351
|
+
<p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
|
352
|
+
</div>
|
353
|
+
</body>
|
354
|
+
</html>
|