diff options
author | Dan Gudmundsson <[email protected]> | 2012-02-28 12:21:15 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2012-02-28 12:21:15 +0100 |
commit | 77426493dc04593cc00c166e6fb17dd5fc985255 (patch) | |
tree | 868060b6e16d4e9f6a347202ac1ba9c78761f404 /lib/wx/include | |
parent | 6510ee4abddbecf10b41d0474a35af1e780ea5be (diff) | |
parent | 6628dbe4ba097a5abed4ca7439a5b515adb0f556 (diff) | |
download | otp-77426493dc04593cc00c166e6fb17dd5fc985255.tar.gz otp-77426493dc04593cc00c166e6fb17dd5fc985255.tar.bz2 otp-77426493dc04593cc00c166e6fb17dd5fc985255.zip |
Merge branch 'dgud/wx/misc-improvements/OTP-9947' into maint
* dgud/wx/misc-improvements/OTP-9947:
[wx] Add simple taskbaricon test
[wx] Add missing stc function
[wx] Add wxTaskBarIcon class
[wx] Doc overloaded functions
[wx] Fix spec errors
[wx] Fix api bugs in wxDC
[wx] Fix wxGraphicContext bugs
[wx] Remove redundant erts version check
[wx] Generated types for all wx classes
[wx] Generate GL api from latest version
[wx] Cleanup Makefiles
Diffstat (limited to 'lib/wx/include')
-rw-r--r-- | lib/wx/include/gl.hrl | 543 | ||||
-rw-r--r-- | lib/wx/include/wx.hrl | 439 |
2 files changed, 780 insertions, 202 deletions
diff --git a/lib/wx/include/gl.hrl b/lib/wx/include/gl.hrl index 54eb551285..c643ae0962 100644 --- a/lib/wx/include/gl.hrl +++ b/lib/wx/include/gl.hrl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -445,6 +445,8 @@ -define(GL_TEXTURE_ENV_COLOR, 16#2201). -define(GL_TEXTURE_GEN_S, 16#C60). -define(GL_TEXTURE_GEN_T, 16#C61). +-define(GL_TEXTURE_GEN_R, 16#C62). +-define(GL_TEXTURE_GEN_Q, 16#C63). -define(GL_TEXTURE_GEN_MODE, 16#2500). -define(GL_TEXTURE_BORDER_COLOR, 16#1004). -define(GL_TEXTURE_WIDTH, 16#1000). @@ -475,8 +477,6 @@ -define(GL_T, 16#2001). -define(GL_R, 16#2002). -define(GL_Q, 16#2003). --define(GL_TEXTURE_GEN_R, 16#C62). --define(GL_TEXTURE_GEN_Q, 16#C63). -define(GL_VENDOR, 16#1F00). -define(GL_RENDERER, 16#1F01). -define(GL_VERSION, 16#1F02). @@ -828,7 +828,7 @@ -define(GL_ATI_blend_equation_separate, 1). -define(GL_ALPHA_BLEND_EQUATION_ATI, 16#883D). -define(GL_OES_EGL_image, 1). --define(GL_GLEXT_VERSION, 66). +-define(GL_GLEXT_VERSION, 75). -define(GL_BLEND_DST_RGB, 16#80C8). -define(GL_BLEND_SRC_RGB, 16#80C9). -define(GL_BLEND_DST_ALPHA, 16#80CA). @@ -1039,8 +1039,6 @@ -define(GL_MINOR_VERSION, 16#821C). -define(GL_NUM_EXTENSIONS, 16#821D). -define(GL_CONTEXT_FLAGS, 16#821E). --define(GL_DEPTH_BUFFER, 16#8223). --define(GL_STENCIL_BUFFER, 16#8224). -define(GL_COMPRESSED_RED, 16#8225). -define(GL_COMPRESSED_RG, 16#8226). -define(GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT, 16#1). @@ -1932,6 +1930,110 @@ -define(GL_UNKNOWN_CONTEXT_RESET_ARB, 16#8255). -define(GL_RESET_NOTIFICATION_STRATEGY_ARB, 16#8256). -define(GL_NO_RESET_NOTIFICATION_ARB, 16#8261). +-define(GL_UNPACK_COMPRESSED_BLOCK_WIDTH, 16#9127). +-define(GL_UNPACK_COMPRESSED_BLOCK_HEIGHT, 16#9128). +-define(GL_UNPACK_COMPRESSED_BLOCK_DEPTH, 16#9129). +-define(GL_UNPACK_COMPRESSED_BLOCK_SIZE, 16#912A). +-define(GL_PACK_COMPRESSED_BLOCK_WIDTH, 16#912B). +-define(GL_PACK_COMPRESSED_BLOCK_HEIGHT, 16#912C). +-define(GL_PACK_COMPRESSED_BLOCK_DEPTH, 16#912D). +-define(GL_PACK_COMPRESSED_BLOCK_SIZE, 16#912E). +-define(GL_NUM_SAMPLE_COUNTS, 16#9380). +-define(GL_MIN_MAP_BUFFER_ALIGNMENT, 16#90BC). +-define(GL_ATOMIC_COUNTER_BUFFER, 16#92C0). +-define(GL_ATOMIC_COUNTER_BUFFER_BINDING, 16#92C1). +-define(GL_ATOMIC_COUNTER_BUFFER_START, 16#92C2). +-define(GL_ATOMIC_COUNTER_BUFFER_SIZE, 16#92C3). +-define(GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE, 16#92C4). +-define(GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS, 16#92C5). +-define(GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES, 16#92C6). +-define(GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER, 16#92C7). +-define(GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER, 16#92C8). +-define(GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER, 16#92C9). +-define(GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER, 16#92CA). +-define(GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER, 16#92CB). +-define(GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS, 16#92CC). +-define(GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS, 16#92CD). +-define(GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS, 16#92CE). +-define(GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS, 16#92CF). +-define(GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS, 16#92D0). +-define(GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS, 16#92D1). +-define(GL_MAX_VERTEX_ATOMIC_COUNTERS, 16#92D2). +-define(GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS, 16#92D3). +-define(GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS, 16#92D4). +-define(GL_MAX_GEOMETRY_ATOMIC_COUNTERS, 16#92D5). +-define(GL_MAX_FRAGMENT_ATOMIC_COUNTERS, 16#92D6). +-define(GL_MAX_COMBINED_ATOMIC_COUNTERS, 16#92D7). +-define(GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE, 16#92D8). +-define(GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS, 16#92DC). +-define(GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, 16#92D9). +-define(GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX, 16#92DA). +-define(GL_UNSIGNED_INT_ATOMIC_COUNTER, 16#92DB). +-define(GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT, 16#1). +-define(GL_ELEMENT_ARRAY_BARRIER_BIT, 16#2). +-define(GL_UNIFORM_BARRIER_BIT, 16#4). +-define(GL_TEXTURE_FETCH_BARRIER_BIT, 16#8). +-define(GL_SHADER_IMAGE_ACCESS_BARRIER_BIT, 16#20). +-define(GL_COMMAND_BARRIER_BIT, 16#40). +-define(GL_PIXEL_BUFFER_BARRIER_BIT, 16#80). +-define(GL_TEXTURE_UPDATE_BARRIER_BIT, 16#100). +-define(GL_BUFFER_UPDATE_BARRIER_BIT, 16#200). +-define(GL_FRAMEBUFFER_BARRIER_BIT, 16#400). +-define(GL_TRANSFORM_FEEDBACK_BARRIER_BIT, 16#800). +-define(GL_ATOMIC_COUNTER_BARRIER_BIT, 16#1000). +-define(GL_ALL_BARRIER_BITS, 16#FFFFFFFF). +-define(GL_MAX_IMAGE_UNITS, 16#8F38). +-define(GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS, 16#8F39). +-define(GL_IMAGE_BINDING_NAME, 16#8F3A). +-define(GL_IMAGE_BINDING_LEVEL, 16#8F3B). +-define(GL_IMAGE_BINDING_LAYERED, 16#8F3C). +-define(GL_IMAGE_BINDING_LAYER, 16#8F3D). +-define(GL_IMAGE_BINDING_ACCESS, 16#8F3E). +-define(GL_IMAGE_1D, 16#904C). +-define(GL_IMAGE_2D, 16#904D). +-define(GL_IMAGE_3D, 16#904E). +-define(GL_IMAGE_2D_RECT, 16#904F). +-define(GL_IMAGE_CUBE, 16#9050). +-define(GL_IMAGE_BUFFER, 16#9051). +-define(GL_IMAGE_1D_ARRAY, 16#9052). +-define(GL_IMAGE_2D_ARRAY, 16#9053). +-define(GL_IMAGE_CUBE_MAP_ARRAY, 16#9054). +-define(GL_IMAGE_2D_MULTISAMPLE, 16#9055). +-define(GL_IMAGE_2D_MULTISAMPLE_ARRAY, 16#9056). +-define(GL_INT_IMAGE_1D, 16#9057). +-define(GL_INT_IMAGE_2D, 16#9058). +-define(GL_INT_IMAGE_3D, 16#9059). +-define(GL_INT_IMAGE_2D_RECT, 16#905A). +-define(GL_INT_IMAGE_CUBE, 16#905B). +-define(GL_INT_IMAGE_BUFFER, 16#905C). +-define(GL_INT_IMAGE_1D_ARRAY, 16#905D). +-define(GL_INT_IMAGE_2D_ARRAY, 16#905E). +-define(GL_INT_IMAGE_CUBE_MAP_ARRAY, 16#905F). +-define(GL_INT_IMAGE_2D_MULTISAMPLE, 16#9060). +-define(GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY, 16#9061). +-define(GL_UNSIGNED_INT_IMAGE_1D, 16#9062). +-define(GL_UNSIGNED_INT_IMAGE_2D, 16#9063). +-define(GL_UNSIGNED_INT_IMAGE_3D, 16#9064). +-define(GL_UNSIGNED_INT_IMAGE_2D_RECT, 16#9065). +-define(GL_UNSIGNED_INT_IMAGE_CUBE, 16#9066). +-define(GL_UNSIGNED_INT_IMAGE_BUFFER, 16#9067). +-define(GL_UNSIGNED_INT_IMAGE_1D_ARRAY, 16#9068). +-define(GL_UNSIGNED_INT_IMAGE_2D_ARRAY, 16#9069). +-define(GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY, 16#906A). +-define(GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE, 16#906B). +-define(GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY, 16#906C). +-define(GL_MAX_IMAGE_SAMPLES, 16#906D). +-define(GL_IMAGE_BINDING_FORMAT, 16#906E). +-define(GL_IMAGE_FORMAT_COMPATIBILITY_TYPE, 16#90C7). +-define(GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE, 16#90C8). +-define(GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS, 16#90C9). +-define(GL_MAX_VERTEX_IMAGE_UNIFORMS, 16#90CA). +-define(GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS, 16#90CB). +-define(GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS, 16#90CC). +-define(GL_MAX_GEOMETRY_IMAGE_UNIFORMS, 16#90CD). +-define(GL_MAX_FRAGMENT_IMAGE_UNIFORMS, 16#90CE). +-define(GL_MAX_COMBINED_IMAGE_UNIFORMS, 16#90CF). +-define(GL_TEXTURE_IMMUTABLE_FORMAT, 16#912F). -define(GL_ABGR_EXT, 16#8000). -define(GL_CONSTANT_COLOR_EXT, 16#8001). -define(GL_ONE_MINUS_CONSTANT_COLOR_EXT, 16#8002). @@ -3882,3 +3984,432 @@ -define(GL_WRITE_DISCARD_NV, 16#88BE). -define(GL_DEPTH_CLAMP_NEAR_AMD, 16#901E). -define(GL_DEPTH_CLAMP_FAR_AMD, 16#901F). +-define(GL_TEXTURE_SRGB_DECODE_EXT, 16#8A48). +-define(GL_DECODE_EXT, 16#8A49). +-define(GL_SKIP_DECODE_EXT, 16#8A4A). +-define(GL_TEXTURE_COVERAGE_SAMPLES_NV, 16#9045). +-define(GL_TEXTURE_COLOR_SAMPLES_NV, 16#9046). +-define(GL_FACTOR_MIN_AMD, 16#901C). +-define(GL_FACTOR_MAX_AMD, 16#901D). +-define(GL_SUBSAMPLE_DISTANCE_AMD, 16#883F). +-define(GL_SYNC_X11_FENCE_EXT, 16#90E1). +-define(GL_SCALED_RESOLVE_FASTEST_EXT, 16#90BA). +-define(GL_SCALED_RESOLVE_NICEST_EXT, 16#90BB). +-define(GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD, 16#9160). +-define(GL_SET_AMD, 16#874A). +-define(GL_REPLACE_VALUE_AMD, 16#874B). +-define(GL_STENCIL_OP_VALUE_AMD, 16#874C). +-define(GL_STENCIL_BACK_OP_VALUE_AMD, 16#874D). +-define(GL_VERSION_1_2_DEPRECATED, 1). +-define(GL_VERSION_1_3_DEPRECATED, 1). +-define(GL_VERSION_1_4, 1). +-define(GL_VERSION_1_4_DEPRECATED, 1). +-define(GL_VERSION_1_5, 1). +-define(GL_VERSION_2_0, 1). +-define(GL_VERSION_2_1, 1). +-define(GL_VERSION_3_0, 1). +-define(GL_VERSION_3_1, 1). +-define(GL_VERSION_3_2, 1). +-define(GL_VERSION_3_3, 1). +-define(GL_VERSION_4_0, 1). +-define(GL_VERSION_4_1, 1). +-define(GL_VERSION_4_2, 1). +-define(GL_ARB_transpose_matrix, 1). +-define(GL_ARB_multisample, 1). +-define(GL_ARB_texture_env_add, 1). +-define(GL_ARB_texture_cube_map, 1). +-define(GL_ARB_texture_compression, 1). +-define(GL_ARB_texture_border_clamp, 1). +-define(GL_ARB_point_parameters, 1). +-define(GL_ARB_vertex_blend, 1). +-define(GL_ARB_matrix_palette, 1). +-define(GL_ARB_texture_env_combine, 1). +-define(GL_ARB_texture_env_crossbar, 1). +-define(GL_ARB_texture_env_dot3, 1). +-define(GL_ARB_texture_mirrored_repeat, 1). +-define(GL_ARB_depth_texture, 1). +-define(GL_ARB_shadow, 1). +-define(GL_ARB_shadow_ambient, 1). +-define(GL_ARB_window_pos, 1). +-define(GL_ARB_vertex_program, 1). +-define(GL_ARB_fragment_program, 1). +-define(GL_ARB_vertex_buffer_object, 1). +-define(GL_ARB_occlusion_query, 1). +-define(GL_ARB_shader_objects, 1). +-define(GL_ARB_vertex_shader, 1). +-define(GL_ARB_fragment_shader, 1). +-define(GL_ARB_shading_language_100, 1). +-define(GL_ARB_texture_non_power_of_two, 1). +-define(GL_ARB_point_sprite, 1). +-define(GL_ARB_fragment_program_shadow, 1). +-define(GL_ARB_draw_buffers, 1). +-define(GL_ARB_texture_rectangle, 1). +-define(GL_ARB_color_buffer_float, 1). +-define(GL_ARB_half_float_pixel, 1). +-define(GL_ARB_texture_float, 1). +-define(GL_ARB_pixel_buffer_object, 1). +-define(GL_ARB_depth_buffer_float, 1). +-define(GL_ARB_draw_instanced, 1). +-define(GL_ARB_framebuffer_object, 1). +-define(GL_ARB_framebuffer_sRGB, 1). +-define(GL_ARB_geometry_shader4, 1). +-define(GL_ARB_half_float_vertex, 1). +-define(GL_ARB_instanced_arrays, 1). +-define(GL_ARB_map_buffer_range, 1). +-define(GL_ARB_texture_buffer_object, 1). +-define(GL_ARB_texture_compression_rgtc, 1). +-define(GL_ARB_texture_rg, 1). +-define(GL_ARB_vertex_array_object, 1). +-define(GL_ARB_uniform_buffer_object, 1). +-define(GL_ARB_compatibility, 1). +-define(GL_ARB_copy_buffer, 1). +-define(GL_ARB_shader_texture_lod, 1). +-define(GL_ARB_depth_clamp, 1). +-define(GL_ARB_draw_elements_base_vertex, 1). +-define(GL_ARB_fragment_coord_conventions, 1). +-define(GL_ARB_provoking_vertex, 1). +-define(GL_ARB_seamless_cube_map, 1). +-define(GL_ARB_sync, 1). +-define(GL_ARB_texture_multisample, 1). +-define(GL_ARB_vertex_array_bgra, 1). +-define(GL_ARB_draw_buffers_blend, 1). +-define(GL_ARB_sample_shading, 1). +-define(GL_ARB_texture_cube_map_array, 1). +-define(GL_ARB_texture_gather, 1). +-define(GL_ARB_texture_query_lod, 1). +-define(GL_ARB_shading_language_include, 1). +-define(GL_ARB_texture_compression_bptc, 1). +-define(GL_ARB_blend_func_extended, 1). +-define(GL_ARB_explicit_attrib_location, 1). +-define(GL_ARB_occlusion_query2, 1). +-define(GL_ARB_sampler_objects, 1). +-define(GL_ARB_shader_bit_encoding, 1). +-define(GL_ARB_texture_rgb10_a2ui, 1). +-define(GL_ARB_texture_swizzle, 1). +-define(GL_ARB_timer_query, 1). +-define(GL_ARB_vertex_type_2_10_10_10_rev, 1). +-define(GL_ARB_draw_indirect, 1). +-define(GL_ARB_gpu_shader5, 1). +-define(GL_ARB_gpu_shader_fp64, 1). +-define(GL_ARB_shader_subroutine, 1). +-define(GL_ARB_tessellation_shader, 1). +-define(GL_ARB_texture_buffer_object_rgb32, 1). +-define(GL_ARB_transform_feedback2, 1). +-define(GL_ARB_transform_feedback3, 1). +-define(GL_ARB_ES2_compatibility, 1). +-define(GL_ARB_get_program_binary, 1). +-define(GL_ARB_separate_shader_objects, 1). +-define(GL_ARB_vertex_attrib_64bit, 1). +-define(GL_ARB_viewport_array, 1). +-define(GL_ARB_cl_event, 1). +-define(GL_ARB_debug_output, 1). +-define(GL_ARB_robustness, 1). +-define(GL_ARB_shader_stencil_export, 1). +-define(GL_ARB_base_instance, 1). +-define(GL_ARB_shading_language_420pack, 1). +-define(GL_ARB_transform_feedback_instanced, 1). +-define(GL_ARB_compressed_texture_pixel_storage, 1). +-define(GL_ARB_conservative_depth, 1). +-define(GL_ARB_internalformat_query, 1). +-define(GL_ARB_map_buffer_alignment, 1). +-define(GL_ARB_shader_atomic_counters, 1). +-define(GL_ARB_shader_image_load_store, 1). +-define(GL_ARB_shading_language_packing, 1). +-define(GL_ARB_texture_storage, 1). +-define(GL_EXT_abgr, 1). +-define(GL_EXT_blend_color, 1). +-define(GL_EXT_polygon_offset, 1). +-define(GL_EXT_texture, 1). +-define(GL_EXT_texture3D, 1). +-define(GL_SGIS_texture_filter4, 1). +-define(GL_EXT_subtexture, 1). +-define(GL_EXT_copy_texture, 1). +-define(GL_EXT_histogram, 1). +-define(GL_EXT_convolution, 1). +-define(GL_SGI_color_matrix, 1). +-define(GL_SGI_color_table, 1). +-define(GL_SGIX_pixel_texture, 1). +-define(GL_SGIS_pixel_texture, 1). +-define(GL_SGIS_texture4D, 1). +-define(GL_SGI_texture_color_table, 1). +-define(GL_EXT_cmyka, 1). +-define(GL_EXT_texture_object, 1). +-define(GL_SGIS_detail_texture, 1). +-define(GL_SGIS_sharpen_texture, 1). +-define(GL_EXT_packed_pixels, 1). +-define(GL_SGIS_texture_lod, 1). +-define(GL_SGIS_multisample, 1). +-define(GL_EXT_rescale_normal, 1). +-define(GL_EXT_vertex_array, 1). +-define(GL_EXT_misc_attribute, 1). +-define(GL_SGIS_generate_mipmap, 1). +-define(GL_SGIX_clipmap, 1). +-define(GL_SGIX_shadow, 1). +-define(GL_SGIS_texture_edge_clamp, 1). +-define(GL_SGIS_texture_border_clamp, 1). +-define(GL_EXT_blend_minmax, 1). +-define(GL_EXT_blend_subtract, 1). +-define(GL_EXT_blend_logic_op, 1). +-define(GL_SGIX_interlace, 1). +-define(GL_SGIX_pixel_tiles, 1). +-define(GL_SGIX_texture_select, 1). +-define(GL_SGIX_sprite, 1). +-define(GL_SGIX_texture_multi_buffer, 1). +-define(GL_EXT_point_parameters, 1). +-define(GL_SGIS_point_parameters, 1). +-define(GL_SGIX_instruments, 1). +-define(GL_SGIX_texture_scale_bias, 1). +-define(GL_SGIX_framezoom, 1). +-define(GL_SGIX_tag_sample_buffer, 1). +-define(GL_SGIX_polynomial_ffd, 1). +-define(GL_SGIX_reference_plane, 1). +-define(GL_SGIX_flush_raster, 1). +-define(GL_SGIX_depth_texture, 1). +-define(GL_SGIS_fog_function, 1). +-define(GL_SGIX_fog_offset, 1). +-define(GL_HP_image_transform, 1). +-define(GL_HP_convolution_border_modes, 1). +-define(GL_SGIX_texture_add_env, 1). +-define(GL_EXT_color_subtable, 1). +-define(GL_PGI_vertex_hints, 1). +-define(GL_PGI_misc_hints, 1). +-define(GL_EXT_paletted_texture, 1). +-define(GL_EXT_clip_volume_hint, 1). +-define(GL_SGIX_list_priority, 1). +-define(GL_SGIX_ir_instrument1, 1). +-define(GL_SGIX_calligraphic_fragment, 1). +-define(GL_SGIX_texture_lod_bias, 1). +-define(GL_SGIX_shadow_ambient, 1). +-define(GL_EXT_index_texture, 1). +-define(GL_EXT_index_material, 1). +-define(GL_EXT_index_func, 1). +-define(GL_EXT_index_array_formats, 1). +-define(GL_EXT_compiled_vertex_array, 1). +-define(GL_EXT_cull_vertex, 1). +-define(GL_SGIX_ycrcb, 1). +-define(GL_SGIX_fragment_lighting, 1). +-define(GL_IBM_rasterpos_clip, 1). +-define(GL_HP_texture_lighting, 1). +-define(GL_EXT_draw_range_elements, 1). +-define(GL_WIN_phong_shading, 1). +-define(GL_WIN_specular_fog, 1). +-define(GL_EXT_light_texture, 1). +-define(GL_SGIX_blend_alpha_minmax, 1). +-define(GL_EXT_bgra, 1). +-define(GL_SGIX_async, 1). +-define(GL_SGIX_async_pixel, 1). +-define(GL_SGIX_async_histogram, 1). +-define(GL_INTEL_parallel_arrays, 1). +-define(GL_HP_occlusion_test, 1). +-define(GL_EXT_pixel_transform, 1). +-define(GL_EXT_pixel_transform_color_table, 1). +-define(GL_EXT_shared_texture_palette, 1). +-define(GL_EXT_separate_specular_color, 1). +-define(GL_EXT_secondary_color, 1). +-define(GL_EXT_texture_perturb_normal, 1). +-define(GL_EXT_multi_draw_arrays, 1). +-define(GL_EXT_fog_coord, 1). +-define(GL_REND_screen_coordinates, 1). +-define(GL_EXT_coordinate_frame, 1). +-define(GL_EXT_texture_env_combine, 1). +-define(GL_APPLE_specular_vector, 1). +-define(GL_APPLE_transform_hint, 1). +-define(GL_SGIX_fog_scale, 1). +-define(GL_SUNX_constant_data, 1). +-define(GL_SUN_global_alpha, 1). +-define(GL_SUN_triangle_list, 1). +-define(GL_SUN_vertex, 1). +-define(GL_EXT_blend_func_separate, 1). +-define(GL_INGR_blend_func_separate, 1). +-define(GL_INGR_color_clamp, 1). +-define(GL_INGR_interlace_read, 1). +-define(GL_EXT_stencil_wrap, 1). +-define(GL_EXT_422_pixels, 1). +-define(GL_NV_texgen_reflection, 1). +-define(GL_SUN_convolution_border_modes, 1). +-define(GL_EXT_texture_env_add, 1). +-define(GL_EXT_texture_lod_bias, 1). +-define(GL_EXT_texture_filter_anisotropic, 1). +-define(GL_EXT_vertex_weighting, 1). +-define(GL_NV_light_max_exponent, 1). +-define(GL_NV_vertex_array_range, 1). +-define(GL_NV_register_combiners, 1). +-define(GL_NV_fog_distance, 1). +-define(GL_NV_texgen_emboss, 1). +-define(GL_NV_blend_square, 1). +-define(GL_NV_texture_env_combine4, 1). +-define(GL_MESA_resize_buffers, 1). +-define(GL_MESA_window_pos, 1). +-define(GL_IBM_cull_vertex, 1). +-define(GL_IBM_multimode_draw_arrays, 1). +-define(GL_IBM_vertex_array_lists, 1). +-define(GL_SGIX_subsample, 1). +-define(GL_SGIX_ycrcba, 1). +-define(GL_SGIX_ycrcb_subsample, 1). +-define(GL_SGIX_depth_pass_instrument, 1). +-define(GL_3DFX_texture_compression_FXT1, 1). +-define(GL_3DFX_multisample, 1). +-define(GL_3DFX_tbuffer, 1). +-define(GL_EXT_multisample, 1). +-define(GL_SGIX_vertex_preclip, 1). +-define(GL_SGIX_convolution_accuracy, 1). +-define(GL_SGIX_resample, 1). +-define(GL_SGIS_point_line_texgen, 1). +-define(GL_SGIS_texture_color_mask, 1). +-define(GL_SGIX_igloo_interface, 1). +-define(GL_EXT_texture_env_dot3, 1). +-define(GL_ATI_texture_mirror_once, 1). +-define(GL_NV_fence, 1). +-define(GL_NV_evaluators, 1). +-define(GL_NV_packed_depth_stencil, 1). +-define(GL_NV_register_combiners2, 1). +-define(GL_NV_texture_compression_vtc, 1). +-define(GL_NV_texture_rectangle, 1). +-define(GL_NV_texture_shader, 1). +-define(GL_NV_texture_shader2, 1). +-define(GL_NV_vertex_array_range2, 1). +-define(GL_NV_vertex_program, 1). +-define(GL_SGIX_texture_coordinate_clamp, 1). +-define(GL_SGIX_scalebias_hint, 1). +-define(GL_OML_interlace, 1). +-define(GL_OML_subsample, 1). +-define(GL_OML_resample, 1). +-define(GL_NV_copy_depth_to_color, 1). +-define(GL_ATI_envmap_bumpmap, 1). +-define(GL_ATI_fragment_shader, 1). +-define(GL_ATI_pn_triangles, 1). +-define(GL_ATI_vertex_array_object, 1). +-define(GL_EXT_vertex_shader, 1). +-define(GL_ATI_vertex_streams, 1). +-define(GL_ATI_element_array, 1). +-define(GL_SUN_mesh_array, 1). +-define(GL_SUN_slice_accum, 1). +-define(GL_NV_multisample_filter_hint, 1). +-define(GL_NV_depth_clamp, 1). +-define(GL_NV_occlusion_query, 1). +-define(GL_NV_point_sprite, 1). +-define(GL_NV_texture_shader3, 1). +-define(GL_NV_vertex_program1_1, 1). +-define(GL_EXT_shadow_funcs, 1). +-define(GL_EXT_stencil_two_side, 1). +-define(GL_ATI_text_fragment_shader, 1). +-define(GL_APPLE_client_storage, 1). +-define(GL_APPLE_element_array, 1). +-define(GL_APPLE_fence, 1). +-define(GL_APPLE_vertex_array_object, 1). +-define(GL_APPLE_vertex_array_range, 1). +-define(GL_APPLE_ycbcr_422, 1). +-define(GL_S3_s3tc, 1). +-define(GL_ATI_draw_buffers, 1). +-define(GL_ATI_pixel_format_float, 1). +-define(GL_ATI_texture_env_combine3, 1). +-define(GL_ATI_texture_float, 1). +-define(GL_NV_float_buffer, 1). +-define(GL_NV_fragment_program, 1). +-define(GL_NV_half_float, 1). +-define(GL_NV_pixel_data_range, 1). +-define(GL_NV_primitive_restart, 1). +-define(GL_NV_texture_expand_normal, 1). +-define(GL_NV_vertex_program2, 1). +-define(GL_ATI_map_object_buffer, 1). +-define(GL_ATI_separate_stencil, 1). +-define(GL_ATI_vertex_attrib_array_object, 1). +-define(GL_OES_read_format, 1). +-define(GL_EXT_depth_bounds_test, 1). +-define(GL_EXT_texture_mirror_clamp, 1). +-define(GL_EXT_blend_equation_separate, 1). +-define(GL_MESA_pack_invert, 1). +-define(GL_MESA_ycbcr_texture, 1). +-define(GL_EXT_pixel_buffer_object, 1). +-define(GL_NV_fragment_program_option, 1). +-define(GL_NV_fragment_program2, 1). +-define(GL_NV_vertex_program2_option, 1). +-define(GL_NV_vertex_program3, 1). +-define(GL_EXT_framebuffer_object, 1). +-define(GL_GREMEDY_string_marker, 1). +-define(GL_EXT_packed_depth_stencil, 1). +-define(GL_EXT_stencil_clear_tag, 1). +-define(GL_EXT_texture_sRGB, 1). +-define(GL_EXT_framebuffer_blit, 1). +-define(GL_EXT_framebuffer_multisample, 1). +-define(GL_MESAX_texture_stack, 1). +-define(GL_EXT_timer_query, 1). +-define(GL_EXT_gpu_program_parameters, 1). +-define(GL_APPLE_flush_buffer_range, 1). +-define(GL_NV_gpu_program4, 1). +-define(GL_NV_geometry_program4, 1). +-define(GL_EXT_geometry_shader4, 1). +-define(GL_NV_vertex_program4, 1). +-define(GL_EXT_gpu_shader4, 1). +-define(GL_EXT_draw_instanced, 1). +-define(GL_EXT_packed_float, 1). +-define(GL_EXT_texture_array, 1). +-define(GL_EXT_texture_buffer_object, 1). +-define(GL_EXT_texture_compression_latc, 1). +-define(GL_EXT_texture_compression_rgtc, 1). +-define(GL_EXT_texture_shared_exponent, 1). +-define(GL_NV_depth_buffer_float, 1). +-define(GL_NV_fragment_program4, 1). +-define(GL_NV_framebuffer_multisample_coverage, 1). +-define(GL_EXT_framebuffer_sRGB, 1). +-define(GL_NV_geometry_shader4, 1). +-define(GL_NV_parameter_buffer_object, 1). +-define(GL_EXT_draw_buffers2, 1). +-define(GL_NV_transform_feedback, 1). +-define(GL_EXT_bindable_uniform, 1). +-define(GL_EXT_texture_integer, 1). +-define(GL_GREMEDY_frame_terminator, 1). +-define(GL_NV_conditional_render, 1). +-define(GL_NV_present_video, 1). +-define(GL_EXT_transform_feedback, 1). +-define(GL_EXT_direct_state_access, 1). +-define(GL_EXT_vertex_array_bgra, 1). +-define(GL_EXT_texture_swizzle, 1). +-define(GL_NV_explicit_multisample, 1). +-define(GL_NV_transform_feedback2, 1). +-define(GL_ATI_meminfo, 1). +-define(GL_AMD_performance_monitor, 1). +-define(GL_AMD_texture_texture4, 1). +-define(GL_AMD_vertex_shader_tesselator, 1). +-define(GL_EXT_provoking_vertex, 1). +-define(GL_EXT_texture_snorm, 1). +-define(GL_AMD_draw_buffers_blend, 1). +-define(GL_APPLE_texture_range, 1). +-define(GL_APPLE_float_pixels, 1). +-define(GL_APPLE_vertex_program_evaluators, 1). +-define(GL_APPLE_aux_depth_stencil, 1). +-define(GL_APPLE_object_purgeable, 1). +-define(GL_APPLE_row_bytes, 1). +-define(GL_APPLE_rgb_422, 1). +-define(GL_NV_video_capture, 1). +-define(GL_NV_copy_image, 1). +-define(GL_EXT_separate_shader_objects, 1). +-define(GL_NV_parameter_buffer_object2, 1). +-define(GL_NV_shader_buffer_load, 1). +-define(GL_NV_vertex_buffer_unified_memory, 1). +-define(GL_NV_texture_barrier, 1). +-define(GL_AMD_shader_stencil_export, 1). +-define(GL_AMD_seamless_cubemap_per_texture, 1). +-define(GL_AMD_conservative_depth, 1). +-define(GL_EXT_shader_image_load_store, 1). +-define(GL_EXT_vertex_attrib_64bit, 1). +-define(GL_NV_gpu_program5, 1). +-define(GL_NV_gpu_shader5, 1). +-define(GL_NV_shader_buffer_store, 1). +-define(GL_NV_tessellation_program5, 1). +-define(GL_NV_vertex_attrib_integer_64bit, 1). +-define(GL_NV_multisample_coverage, 1). +-define(GL_AMD_name_gen_delete, 1). +-define(GL_AMD_debug_output, 1). +-define(GL_NV_vdpau_interop, 1). +-define(GL_AMD_transform_feedback3_lines_triangles, 1). +-define(GL_AMD_depth_clamp_separate, 1). +-define(GL_EXT_texture_sRGB_decode, 1). +-define(GL_NV_texture_multisample, 1). +-define(GL_AMD_blend_minmax_factor, 1). +-define(GL_AMD_sample_positions, 1). +-define(GL_EXT_x11_sync_object, 1). +-define(GL_AMD_multi_draw_indirect, 1). +-define(GL_EXT_framebuffer_multisample_blit_scaled, 1). +-define(GL_AMD_pinned_memory, 1). +-define(GL_AMD_stencil_operation_extended, 1). diff --git a/lib/wx/include/wx.hrl b/lib/wx/include/wx.hrl index 029b9a88df..fba99a1f07 100644 --- a/lib/wx/include/wx.hrl +++ b/lib/wx/include/wx.hrl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -22,251 +22,298 @@ %% Each event record may be sent for one or more event types. %% The mapping to wxWidgets is one record per class. -%% @type wx() = #wx{id=integer(), obj=wx:wxObject(), userData=term(), event=Rec}. Rec is a event record. --record(wx, {id, %% Integer Identity of object. - obj, %% Object reference that was used in the connect call. - userData, %% User data specified in the connect call. - event}).%% The event record +-record(wx, {id :: integer(), %% Integer Identity of object. + obj :: wx:wx_object(), %% Object reference that was used in the connect call. + userData :: term(), %% User data specified in the connect call. + event :: event() %% The event record + }). +-type wx() :: #wx{}. %% wx event record %% Here comes the definitions of all event records. %% they contain the event type and possible some extra information. -%% @type wxNavigationKey() = #wxNavigationKey{type=wxEventType(),flags=integer(),focus=wxWindow:wxWindow()}. -%% <dl><dt>EventType:</dt> <dd><em>navigation_key</em></dd></dl> -%% Callback event: {@link wxNavigationKeyEvent} --record(wxNavigationKey,{type, flags,focus}). +-record(wxNavigationKey,{type :: wxNavigationKeyEventType(), %% Callback event: {@link wxNavigationKeyEvent} + flags :: integer(), + focus :: wxWindow:wxWindow()}). +-type wxNavigationKeyEventType() :: navigation_key. +-type wxNavigationKey() :: #wxNavigationKey{}. %% Callback event: {@link wxNavigationKeyEvent} -%% @type wxSash() = #wxSash{type=wxEventType(),edge=WxSashEdgePosition,dragRect={X::integer(), Y::integer(), W::integer(), H::integer()},dragStatus=WxSashDragStatus}. -%% <dl><dt>EventType:</dt> <dd><em>sash_dragged</em></dd></dl> -%% Callback event: {@link wxSashEvent} --record(wxSash,{type, edge,dragRect,dragStatus}). +-record(wxSash,{type :: wxSashEventType(), %% Callback event: {@link wxSashEvent} + edge :: wx:wx_enum(), + dragRect :: {X::integer(), Y::integer(), W::integer(), H::integer()}, + dragStatus :: wx:wx_enum()}). +-type wxSashEventType() :: sash_dragged. +-type wxSash() :: #wxSash{}. %% Callback event: {@link wxSashEvent} -%% @type wxList() = #wxList{type=wxEventType(),code=integer(),oldItemIndex=integer(),itemIndex=integer(),col=integer(),pointDrag={X::integer(), Y::integer()}}. -%% <dl><dt>EventType:</dt> <dd><em>command_list_begin_drag</em>, <em>command_list_begin_rdrag</em>, <em>command_list_begin_label_edit</em>, <em>command_list_end_label_edit</em>, <em>command_list_delete_item</em>, <em>command_list_delete_all_items</em>, <em>command_list_key_down</em>, <em>command_list_insert_item</em>, <em>command_list_col_click</em>, <em>command_list_col_right_click</em>, <em>command_list_col_begin_drag</em>, <em>command_list_col_dragging</em>, <em>command_list_col_end_drag</em>, <em>command_list_item_selected</em>, <em>command_list_item_deselected</em>, <em>command_list_item_right_click</em>, <em>command_list_item_middle_click</em>, <em>command_list_item_activated</em>, <em>command_list_item_focused</em>, <em>command_list_cache_hint</em></dd></dl> -%% Callback event: {@link wxListEvent} --record(wxList,{type, code,oldItemIndex,itemIndex,col,pointDrag}). +-record(wxList,{type :: wxListEventType(), %% Callback event: {@link wxListEvent} + code :: integer(), + oldItemIndex :: integer(), + itemIndex :: integer(), + col :: integer(), + pointDrag :: {X::integer(), Y::integer()}}). +-type wxListEventType() :: command_list_begin_drag | command_list_begin_rdrag | command_list_begin_label_edit | command_list_end_label_edit | command_list_delete_item | command_list_delete_all_items | command_list_key_down | command_list_insert_item | command_list_col_click | command_list_col_right_click | command_list_col_begin_drag | command_list_col_dragging | command_list_col_end_drag | command_list_item_selected | command_list_item_deselected | command_list_item_right_click | command_list_item_middle_click | command_list_item_activated | command_list_item_focused | command_list_cache_hint. +-type wxList() :: #wxList{}. %% Callback event: {@link wxListEvent} -%% @type wxNotebook() = #wxNotebook{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>command_notebook_page_changed</em>, <em>command_notebook_page_changing</em></dd></dl> -%% Callback event: {@link wxNotebookEvent} --record(wxNotebook, {type}). +-record(wxNotebook, {type :: wxNotebookEventType()}). %% Callback event: {@link wxNotebookEvent} +-type wxNotebookEventType() :: command_notebook_page_changed | command_notebook_page_changing. +-type wxNotebook() :: #wxNotebook{}. %% Callback event: {@link wxNotebookEvent} -%% @type wxDisplayChanged() = #wxDisplayChanged{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>display_changed</em></dd></dl> -%% Callback event: {@link wxDisplayChangedEvent} --record(wxDisplayChanged, {type}). +-record(wxDisplayChanged, {type :: wxDisplayChangedEventType()}). %% Callback event: {@link wxDisplayChangedEvent} +-type wxDisplayChangedEventType() :: display_changed. +-type wxDisplayChanged() :: #wxDisplayChanged{}. %% Callback event: {@link wxDisplayChangedEvent} -%% @type wxErase() = #wxErase{type=wxEventType(),dc=wxDC:wxDC()}. -%% <dl><dt>EventType:</dt> <dd><em>erase_background</em></dd></dl> -%% Callback event: {@link wxEraseEvent} --record(wxErase,{type, dc}). +-record(wxErase,{type :: wxEraseEventType(), %% Callback event: {@link wxEraseEvent} + dc :: wxDC:wxDC()}). +-type wxEraseEventType() :: erase_background. +-type wxErase() :: #wxErase{}. %% Callback event: {@link wxEraseEvent} -%% @type wxKey() = #wxKey{type=wxEventType(),x=integer(),y=integer(),keyCode=integer(),controlDown=bool(),shiftDown=bool(),altDown=bool(),metaDown=bool(),scanCode=bool(),uniChar=integer(),rawCode=integer(),rawFlags=integer()}. -%% <dl><dt>EventType:</dt> <dd><em>char</em>, <em>char_hook</em>, <em>key_down</em>, <em>key_up</em></dd></dl> -%% Callback event: {@link wxKeyEvent} --record(wxKey,{type, x,y,keyCode,controlDown,shiftDown,altDown,metaDown,scanCode,uniChar,rawCode,rawFlags}). +-record(wxKey,{type :: wxKeyEventType(), %% Callback event: {@link wxKeyEvent} + x :: integer(), + y :: integer(), + keyCode :: integer(), + controlDown :: boolean(), + shiftDown :: boolean(), + altDown :: boolean(), + metaDown :: boolean(), + scanCode :: boolean(), + uniChar :: integer(), + rawCode :: integer(), + rawFlags :: integer()}). +-type wxKeyEventType() :: char | char_hook | key_down | key_up. +-type wxKey() :: #wxKey{}. %% Callback event: {@link wxKeyEvent} -%% @type wxWindowDestroy() = #wxWindowDestroy{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>destroy</em></dd></dl> -%% Callback event: {@link wxWindowDestroyEvent} --record(wxWindowDestroy, {type}). +-record(wxWindowDestroy, {type :: wxWindowDestroyEventType()}). %% Callback event: {@link wxWindowDestroyEvent} +-type wxWindowDestroyEventType() :: destroy. +-type wxWindowDestroy() :: #wxWindowDestroy{}. %% Callback event: {@link wxWindowDestroyEvent} -%% @type wxCalendar() = #wxCalendar{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>calendar_sel_changed</em>, <em>calendar_day_changed</em>, <em>calendar_month_changed</em>, <em>calendar_year_changed</em>, <em>calendar_doubleclicked</em>, <em>calendar_weekday_clicked</em></dd></dl> -%% Callback event: {@link wxCalendarEvent} --record(wxCalendar, {type}). +-record(wxCalendar, {type :: wxCalendarEventType()}). %% Callback event: {@link wxCalendarEvent} +-type wxCalendarEventType() :: calendar_sel_changed | calendar_day_changed | calendar_month_changed | calendar_year_changed | calendar_doubleclicked | calendar_weekday_clicked. +-type wxCalendar() :: #wxCalendar{}. %% Callback event: {@link wxCalendarEvent} -%% @type wxSplitter() = #wxSplitter{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>command_splitter_sash_pos_changed</em>, <em>command_splitter_sash_pos_changing</em>, <em>command_splitter_doubleclicked</em>, <em>command_splitter_unsplit</em></dd></dl> -%% Callback event: {@link wxSplitterEvent} --record(wxSplitter, {type}). +-record(wxSplitter, {type :: wxSplitterEventType()}). %% Callback event: {@link wxSplitterEvent} +-type wxSplitterEventType() :: command_splitter_sash_pos_changed | command_splitter_sash_pos_changing | command_splitter_doubleclicked | command_splitter_unsplit. +-type wxSplitter() :: #wxSplitter{}. %% Callback event: {@link wxSplitterEvent} -%% @type wxScroll() = #wxScroll{type=wxEventType(),commandInt=integer(),extraLong=integer()}. -%% <dl><dt>EventType:</dt> <dd><em>scroll_top</em>, <em>scroll_bottom</em>, <em>scroll_lineup</em>, <em>scroll_linedown</em>, <em>scroll_pageup</em>, <em>scroll_pagedown</em>, <em>scroll_thumbtrack</em>, <em>scroll_thumbrelease</em>, <em>scroll_changed</em></dd></dl> -%% Callback event: {@link wxScrollEvent} --record(wxScroll,{type, commandInt,extraLong}). +-record(wxScroll,{type :: wxScrollEventType(), %% Callback event: {@link wxScrollEvent} + commandInt :: integer(), + extraLong :: integer()}). +-type wxScrollEventType() :: scroll_top | scroll_bottom | scroll_lineup | scroll_linedown | scroll_pageup | scroll_pagedown | scroll_thumbtrack | scroll_thumbrelease | scroll_changed. +-type wxScroll() :: #wxScroll{}. %% Callback event: {@link wxScrollEvent} -%% @type wxMenu() = #wxMenu{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>menu_open</em>, <em>menu_close</em>, <em>menu_highlight</em></dd></dl> -%% Callback event: {@link wxMenuEvent} --record(wxMenu, {type}). +-record(wxMenu, {type :: wxMenuEventType()}). %% Callback event: {@link wxMenuEvent} +-type wxMenuEventType() :: menu_open | menu_close | menu_highlight. +-type wxMenu() :: #wxMenu{}. %% Callback event: {@link wxMenuEvent} -%% @type wxContextMenu() = #wxContextMenu{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>context_menu</em></dd></dl> -%% Callback event: {@link wxContextMenuEvent} --record(wxContextMenu, {type}). +-record(wxContextMenu, {type :: wxContextMenuEventType()}). %% Callback event: {@link wxContextMenuEvent} +-type wxContextMenuEventType() :: context_menu. +-type wxContextMenu() :: #wxContextMenu{}. %% Callback event: {@link wxContextMenuEvent} -%% @type wxShow() = #wxShow{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>show</em></dd></dl> -%% Callback event: {@link wxShowEvent} --record(wxShow, {type}). +-record(wxShow, {type :: wxShowEventType()}). %% Callback event: {@link wxShowEvent} +-type wxShowEventType() :: show. +-type wxShow() :: #wxShow{}. %% Callback event: {@link wxShowEvent} -%% @type wxSpin() = #wxSpin{type=wxEventType(),commandInt=integer()}. -%% <dl><dt>EventType:</dt> <dd><em>command_spinctrl_updated</em>, <em>spin_up</em>, <em>spin_down</em>, <em>spin</em></dd></dl> -%% Callback event: {@link wxSpinEvent} --record(wxSpin,{type, commandInt}). +-record(wxSpin,{type :: wxSpinEventType(), %% Callback event: {@link wxSpinEvent} + commandInt :: integer()}). +-type wxSpinEventType() :: command_spinctrl_updated | spin_up | spin_down | spin. +-type wxSpin() :: #wxSpin{}. %% Callback event: {@link wxSpinEvent} -%% @type wxSetCursor() = #wxSetCursor{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>set_cursor</em></dd></dl> -%% Callback event: {@link wxSetCursorEvent} --record(wxSetCursor, {type}). +-record(wxSetCursor, {type :: wxSetCursorEventType()}). %% Callback event: {@link wxSetCursorEvent} +-type wxSetCursorEventType() :: set_cursor. +-type wxSetCursor() :: #wxSetCursor{}. %% Callback event: {@link wxSetCursorEvent} -%% @type wxFontPicker() = #wxFontPicker{type=wxEventType(),font=wxFont:wxFont()}. -%% <dl><dt>EventType:</dt> <dd><em>command_fontpicker_changed</em></dd></dl> -%% Callback event: {@link wxFontPickerEvent} --record(wxFontPicker,{type, font}). +-record(wxFontPicker,{type :: wxFontPickerEventType(), %% Callback event: {@link wxFontPickerEvent} + font :: wxFont:wxFont()}). +-type wxFontPickerEventType() :: command_fontpicker_changed. +-type wxFontPicker() :: #wxFontPicker{}. %% Callback event: {@link wxFontPickerEvent} -%% @type wxScrollWin() = #wxScrollWin{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>scrollwin_top</em>, <em>scrollwin_bottom</em>, <em>scrollwin_lineup</em>, <em>scrollwin_linedown</em>, <em>scrollwin_pageup</em>, <em>scrollwin_pagedown</em>, <em>scrollwin_thumbtrack</em>, <em>scrollwin_thumbrelease</em></dd></dl> -%% Callback event: {@link wxScrollWinEvent} --record(wxScrollWin, {type}). +-record(wxScrollWin, {type :: wxScrollWinEventType()}). %% Callback event: {@link wxScrollWinEvent} +-type wxScrollWinEventType() :: scrollwin_top | scrollwin_bottom | scrollwin_lineup | scrollwin_linedown | scrollwin_pageup | scrollwin_pagedown | scrollwin_thumbtrack | scrollwin_thumbrelease. +-type wxScrollWin() :: #wxScrollWin{}. %% Callback event: {@link wxScrollWinEvent} -%% @type wxPaint() = #wxPaint{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>paint</em>, <em>paint_icon</em></dd></dl> -%% Callback event: {@link wxPaintEvent} --record(wxPaint, {type}). +-record(wxPaint, {type :: wxPaintEventType()}). %% Callback event: {@link wxPaintEvent} +-type wxPaintEventType() :: paint | paint_icon. +-type wxPaint() :: #wxPaint{}. %% Callback event: {@link wxPaintEvent} -%% @type wxChildFocus() = #wxChildFocus{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>child_focus</em></dd></dl> -%% Callback event: {@link wxChildFocusEvent} --record(wxChildFocus, {type}). +-record(wxChildFocus, {type :: wxChildFocusEventType()}). %% Callback event: {@link wxChildFocusEvent} +-type wxChildFocusEventType() :: child_focus. +-type wxChildFocus() :: #wxChildFocus{}. %% Callback event: {@link wxChildFocusEvent} -%% @type wxMaximize() = #wxMaximize{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>maximize</em></dd></dl> -%% Callback event: {@link wxMaximizeEvent} --record(wxMaximize, {type}). +-record(wxMaximize, {type :: wxMaximizeEventType()}). %% Callback event: {@link wxMaximizeEvent} +-type wxMaximizeEventType() :: maximize. +-type wxMaximize() :: #wxMaximize{}. %% Callback event: {@link wxMaximizeEvent} -%% @type wxFileDirPicker() = #wxFileDirPicker{type=wxEventType(),path=string()}. -%% <dl><dt>EventType:</dt> <dd><em>command_filepicker_changed</em>, <em>command_dirpicker_changed</em></dd></dl> -%% Callback event: {@link wxFileDirPickerEvent} --record(wxFileDirPicker,{type, path}). +-record(wxFileDirPicker,{type :: wxFileDirPickerEventType(), %% Callback event: {@link wxFileDirPickerEvent} + path :: unicode:chardata()}). +-type wxFileDirPickerEventType() :: command_filepicker_changed | command_dirpicker_changed. +-type wxFileDirPicker() :: #wxFileDirPicker{}. %% Callback event: {@link wxFileDirPickerEvent} -%% @type wxFocus() = #wxFocus{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>set_focus</em>, <em>kill_focus</em></dd></dl> -%% Callback event: {@link wxFocusEvent} --record(wxFocus, {type}). +-record(wxFocus, {type :: wxFocusEventType()}). %% Callback event: {@link wxFocusEvent} +-type wxFocusEventType() :: set_focus | kill_focus. +-type wxFocus() :: #wxFocus{}. %% Callback event: {@link wxFocusEvent} -%% @type wxDate() = #wxDate{type=wxEventType(),date=wx:datetime()}. -%% <dl><dt>EventType:</dt> <dd><em>date_changed</em></dd></dl> -%% Callback event: {@link wxDateEvent} --record(wxDate,{type, date}). +-record(wxDate,{type :: wxDateEventType(), %% Callback event: {@link wxDateEvent} + date :: wx:wx_datetime()}). +-type wxDateEventType() :: date_changed. +-type wxDate() :: #wxDate{}. %% Callback event: {@link wxDateEvent} -%% @type wxHtmlLink() = #wxHtmlLink{type=wxEventType(),linkInfo=wx:wxHtmlLinkInfo()}. -%% <dl><dt>EventType:</dt> <dd><em>command_html_link_clicked</em></dd></dl> -%% Callback event: {@link wxHtmlLinkEvent} --record(wxHtmlLink,{type, linkInfo}). +-record(wxHtmlLink,{type :: wxHtmlLinkEventType(), %% Callback event: {@link wxHtmlLinkEvent} + linkInfo :: wx:wx_wxHtmlLinkInfo()}). +-type wxHtmlLinkEventType() :: command_html_link_clicked. +-type wxHtmlLink() :: #wxHtmlLink{}. %% Callback event: {@link wxHtmlLinkEvent} -%% @type wxHelp() = #wxHelp{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>help</em>, <em>detailed_help</em></dd></dl> -%% Callback event: {@link wxHelpEvent} --record(wxHelp, {type}). +-record(wxHelp, {type :: wxHelpEventType()}). %% Callback event: {@link wxHelpEvent} +-type wxHelpEventType() :: help | detailed_help. +-type wxHelp() :: #wxHelp{}. %% Callback event: {@link wxHelpEvent} -%% @type wxStyledText() = #wxStyledText{type=wxEventType(),position=integer(),key=integer(),modifiers=integer(),modificationType=integer(),text=string(),length=integer(),linesAdded=integer(),line=integer(),foldLevelNow=integer(),foldLevelPrev=integer(),margin=integer(),message=integer(),wParam=integer(),lParam=integer(),listType=integer(),x=integer(),y=integer(),dragText=string(),dragAllowMove=bool(),dragResult=WxDragResult}. -%% <dl><dt>EventType:</dt> <dd><em>stc_change</em>, <em>stc_styleneeded</em>, <em>stc_charadded</em>, <em>stc_savepointreached</em>, <em>stc_savepointleft</em>, <em>stc_romodifyattempt</em>, <em>stc_key</em>, <em>stc_doubleclick</em>, <em>stc_updateui</em>, <em>stc_modified</em>, <em>stc_macrorecord</em>, <em>stc_marginclick</em>, <em>stc_needshown</em>, <em>stc_painted</em>, <em>stc_userlistselection</em>, <em>stc_uridropped</em>, <em>stc_dwellstart</em>, <em>stc_dwellend</em>, <em>stc_start_drag</em>, <em>stc_drag_over</em>, <em>stc_do_drop</em>, <em>stc_zoom</em>, <em>stc_hotspot_click</em>, <em>stc_hotspot_dclick</em>, <em>stc_calltip_click</em>, <em>stc_autocomp_selection</em></dd></dl> -%% Callback event: {@link wxStyledTextEvent} --record(wxStyledText,{type, position,key,modifiers,modificationType,text,length,linesAdded,line,foldLevelNow,foldLevelPrev,margin,message,wParam,lParam,listType,x,y,dragText,dragAllowMove,dragResult}). +-record(wxStyledText,{type :: wxStyledTextEventType(), %% Callback event: {@link wxStyledTextEvent} + position :: integer(), + key :: integer(), + modifiers :: integer(), + modificationType :: integer(), + text :: unicode:chardata(), + length :: integer(), + linesAdded :: integer(), + line :: integer(), + foldLevelNow :: integer(), + foldLevelPrev :: integer(), + margin :: integer(), + message :: integer(), + wParam :: integer(), + lParam :: integer(), + listType :: integer(), + x :: integer(), + y :: integer(), + dragText :: unicode:chardata(), + dragAllowMove :: boolean(), + dragResult :: wx:wx_enum()}). +-type wxStyledTextEventType() :: stc_change | stc_styleneeded | stc_charadded | stc_savepointreached | stc_savepointleft | stc_romodifyattempt | stc_key | stc_doubleclick | stc_updateui | stc_modified | stc_macrorecord | stc_marginclick | stc_needshown | stc_painted | stc_userlistselection | stc_uridropped | stc_dwellstart | stc_dwellend | stc_start_drag | stc_drag_over | stc_do_drop | stc_zoom | stc_hotspot_click | stc_hotspot_dclick | stc_calltip_click | stc_autocomp_selection. +-type wxStyledText() :: #wxStyledText{}. %% Callback event: {@link wxStyledTextEvent} -%% @type wxSysColourChanged() = #wxSysColourChanged{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>sys_colour_changed</em></dd></dl> -%% Callback event: {@link wxSysColourChangedEvent} --record(wxSysColourChanged, {type}). +-record(wxSysColourChanged, {type :: wxSysColourChangedEventType()}). %% Callback event: {@link wxSysColourChangedEvent} +-type wxSysColourChangedEventType() :: sys_colour_changed. +-type wxSysColourChanged() :: #wxSysColourChanged{}. %% Callback event: {@link wxSysColourChangedEvent} -%% @type wxGrid() = #wxGrid{type=wxEventType(),row=integer(),col=integer(),x=integer(),y=integer(),selecting=bool(),control=bool(),meta=bool(),shift=bool(),alt=bool()}. -%% <dl><dt>EventType:</dt> <dd><em>grid_cell_left_click</em>, <em>grid_cell_right_click</em>, <em>grid_cell_left_dclick</em>, <em>grid_cell_right_dclick</em>, <em>grid_label_left_click</em>, <em>grid_label_right_click</em>, <em>grid_label_left_dclick</em>, <em>grid_label_right_dclick</em>, <em>grid_row_size</em>, <em>grid_col_size</em>, <em>grid_range_select</em>, <em>grid_cell_change</em>, <em>grid_select_cell</em>, <em>grid_editor_shown</em>, <em>grid_editor_hidden</em>, <em>grid_editor_created</em>, <em>grid_cell_begin_drag</em></dd></dl> -%% Callback event: {@link wxGridEvent} --record(wxGrid,{type, row,col,x,y,selecting,control,meta,shift,alt}). +-record(wxGrid,{type :: wxGridEventType(), %% Callback event: {@link wxGridEvent} + row :: integer(), + col :: integer(), + x :: integer(), + y :: integer(), + selecting :: boolean(), + control :: boolean(), + meta :: boolean(), + shift :: boolean(), + alt :: boolean()}). +-type wxGridEventType() :: grid_cell_left_click | grid_cell_right_click | grid_cell_left_dclick | grid_cell_right_dclick | grid_label_left_click | grid_label_right_click | grid_label_left_dclick | grid_label_right_dclick | grid_row_size | grid_col_size | grid_range_select | grid_cell_change | grid_select_cell | grid_editor_shown | grid_editor_hidden | grid_editor_created | grid_cell_begin_drag. +-type wxGrid() :: #wxGrid{}. %% Callback event: {@link wxGridEvent} -%% @type wxPaletteChanged() = #wxPaletteChanged{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>palette_changed</em></dd></dl> -%% Callback event: {@link wxPaletteChangedEvent} --record(wxPaletteChanged, {type}). +-record(wxPaletteChanged, {type :: wxPaletteChangedEventType()}). %% Callback event: {@link wxPaletteChangedEvent} +-type wxPaletteChangedEventType() :: palette_changed. +-type wxPaletteChanged() :: #wxPaletteChanged{}. %% Callback event: {@link wxPaletteChangedEvent} -%% @type wxUpdateUI() = #wxUpdateUI{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>update_ui</em></dd></dl> -%% Callback event: {@link wxUpdateUIEvent} --record(wxUpdateUI, {type}). +-record(wxUpdateUI, {type :: wxUpdateUIEventType()}). %% Callback event: {@link wxUpdateUIEvent} +-type wxUpdateUIEventType() :: update_ui. +-type wxUpdateUI() :: #wxUpdateUI{}. %% Callback event: {@link wxUpdateUIEvent} -%% @type wxSize() = #wxSize{type=wxEventType(),size={W::integer(), H::integer()},rect={X::integer(), Y::integer(), W::integer(), H::integer()}}. -%% <dl><dt>EventType:</dt> <dd><em>size</em></dd></dl> -%% Callback event: {@link wxSizeEvent} --record(wxSize,{type, size,rect}). +-record(wxSize,{type :: wxSizeEventType(), %% Callback event: {@link wxSizeEvent} + size :: {W::integer(), H::integer()}, + rect :: {X::integer(), Y::integer(), W::integer(), H::integer()}}). +-type wxSizeEventType() :: size. +-type wxSize() :: #wxSize{}. %% Callback event: {@link wxSizeEvent} -%% @type wxIconize() = #wxIconize{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>iconize</em></dd></dl> -%% Callback event: {@link wxIconizeEvent} --record(wxIconize, {type}). +-record(wxIconize, {type :: wxIconizeEventType()}). %% Callback event: {@link wxIconizeEvent} +-type wxIconizeEventType() :: iconize. +-type wxIconize() :: #wxIconize{}. %% Callback event: {@link wxIconizeEvent} -%% @type wxAuiNotebook() = #wxAuiNotebook{type=wxEventType(),old_selection=integer(),selection=integer(),drag_source=wxAuiNotebook:wxAuiNotebook()}. -%% <dl><dt>EventType:</dt> <dd><em>command_auinotebook_page_close</em>, <em>command_auinotebook_page_changed</em>, <em>command_auinotebook_page_changing</em>, <em>command_auinotebook_button</em>, <em>command_auinotebook_begin_drag</em>, <em>command_auinotebook_end_drag</em>, <em>command_auinotebook_drag_motion</em>, <em>command_auinotebook_allow_dnd</em>, <em>command_auinotebook_tab_middle_down</em>, <em>command_auinotebook_tab_middle_up</em>, <em>command_auinotebook_tab_right_down</em>, <em>command_auinotebook_tab_right_up</em>, <em>command_auinotebook_page_closed</em>, <em>command_auinotebook_drag_done</em>, <em>command_auinotebook_bg_dclick</em></dd></dl> -%% Callback event: {@link wxAuiNotebookEvent} --record(wxAuiNotebook,{type, old_selection,selection,drag_source}). +-record(wxAuiNotebook,{type :: wxAuiNotebookEventType(), %% Callback event: {@link wxAuiNotebookEvent} + old_selection :: integer(), + selection :: integer(), + drag_source :: wxAuiNotebook:wxAuiNotebook()}). +-type wxAuiNotebookEventType() :: command_auinotebook_page_close | command_auinotebook_page_changed | command_auinotebook_page_changing | command_auinotebook_button | command_auinotebook_begin_drag | command_auinotebook_end_drag | command_auinotebook_drag_motion | command_auinotebook_allow_dnd | command_auinotebook_tab_middle_down | command_auinotebook_tab_middle_up | command_auinotebook_tab_right_down | command_auinotebook_tab_right_up | command_auinotebook_page_closed | command_auinotebook_drag_done | command_auinotebook_bg_dclick. +-type wxAuiNotebook() :: #wxAuiNotebook{}. %% Callback event: {@link wxAuiNotebookEvent} -%% @type wxClose() = #wxClose{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>close_window</em>, <em>end_session</em>, <em>query_end_session</em></dd></dl> -%% Callback event: {@link wxCloseEvent} --record(wxClose, {type}). +-record(wxClose, {type :: wxCloseEventType()}). %% Callback event: {@link wxCloseEvent} +-type wxCloseEventType() :: close_window | end_session | query_end_session. +-type wxClose() :: #wxClose{}. %% Callback event: {@link wxCloseEvent} -%% @type wxMouseCaptureChanged() = #wxMouseCaptureChanged{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>mouse_capture_changed</em></dd></dl> -%% Callback event: {@link wxMouseCaptureChangedEvent} --record(wxMouseCaptureChanged, {type}). +-record(wxMouseCaptureChanged, {type :: wxMouseCaptureChangedEventType()}). %% Callback event: {@link wxMouseCaptureChangedEvent} +-type wxMouseCaptureChangedEventType() :: mouse_capture_changed. +-type wxMouseCaptureChanged() :: #wxMouseCaptureChanged{}. %% Callback event: {@link wxMouseCaptureChangedEvent} -%% @type wxMouse() = #wxMouse{type=wxEventType(),x=integer(),y=integer(),leftDown=bool(),middleDown=bool(),rightDown=bool(),controlDown=bool(),shiftDown=bool(),altDown=bool(),metaDown=bool(),wheelRotation=integer(),wheelDelta=integer(),linesPerAction=integer()}. -%% <dl><dt>EventType:</dt> <dd><em>left_down</em>, <em>left_up</em>, <em>middle_down</em>, <em>middle_up</em>, <em>right_down</em>, <em>right_up</em>, <em>motion</em>, <em>enter_window</em>, <em>leave_window</em>, <em>left_dclick</em>, <em>middle_dclick</em>, <em>right_dclick</em>, <em>mousewheel</em>, <em>nc_left_down</em>, <em>nc_left_up</em>, <em>nc_middle_down</em>, <em>nc_middle_up</em>, <em>nc_right_down</em>, <em>nc_right_up</em>, <em>nc_motion</em>, <em>nc_enter_window</em>, <em>nc_leave_window</em>, <em>nc_left_dclick</em>, <em>nc_middle_dclick</em>, <em>nc_right_dclick</em></dd></dl> -%% Callback event: {@link wxMouseEvent} --record(wxMouse,{type, x,y,leftDown,middleDown,rightDown,controlDown,shiftDown,altDown,metaDown,wheelRotation,wheelDelta,linesPerAction}). +-record(wxMouse,{type :: wxMouseEventType(), %% Callback event: {@link wxMouseEvent} + x :: integer(), + y :: integer(), + leftDown :: boolean(), + middleDown :: boolean(), + rightDown :: boolean(), + controlDown :: boolean(), + shiftDown :: boolean(), + altDown :: boolean(), + metaDown :: boolean(), + wheelRotation :: integer(), + wheelDelta :: integer(), + linesPerAction :: integer()}). +-type wxMouseEventType() :: left_down | left_up | middle_down | middle_up | right_down | right_up | motion | enter_window | leave_window | left_dclick | middle_dclick | right_dclick | mousewheel | nc_left_down | nc_left_up | nc_middle_down | nc_middle_up | nc_right_down | nc_right_up | nc_motion | nc_enter_window | nc_leave_window | nc_left_dclick | nc_middle_dclick | nc_right_dclick. +-type wxMouse() :: #wxMouse{}. %% Callback event: {@link wxMouseEvent} -%% @type wxWindowCreate() = #wxWindowCreate{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>create</em></dd></dl> -%% Callback event: {@link wxWindowCreateEvent} --record(wxWindowCreate, {type}). +-record(wxWindowCreate, {type :: wxWindowCreateEventType()}). %% Callback event: {@link wxWindowCreateEvent} +-type wxWindowCreateEventType() :: create. +-type wxWindowCreate() :: #wxWindowCreate{}. %% Callback event: {@link wxWindowCreateEvent} -%% @type wxAuiManager() = #wxAuiManager{type=wxEventType(),manager=wxAuiManager:wxAuiManager(),pane=wxAuiPaneInfo:wxAuiPaneInfo(),button=integer(),veto_flag=bool(),canveto_flag=bool(),dc=wxDC:wxDC()}. -%% <dl><dt>EventType:</dt> <dd><em>aui_pane_button</em>, <em>aui_pane_close</em>, <em>aui_pane_maximize</em>, <em>aui_pane_restore</em>, <em>aui_render</em>, <em>aui_find_manager</em></dd></dl> -%% Callback event: {@link wxAuiManagerEvent} --record(wxAuiManager,{type, manager,pane,button,veto_flag,canveto_flag,dc}). +-record(wxAuiManager,{type :: wxAuiManagerEventType(), %% Callback event: {@link wxAuiManagerEvent} + manager :: wxAuiManager:wxAuiManager(), + pane :: wxAuiPaneInfo:wxAuiPaneInfo(), + button :: integer(), + veto_flag :: boolean(), + canveto_flag :: boolean(), + dc :: wxDC:wxDC()}). +-type wxAuiManagerEventType() :: aui_pane_button | aui_pane_close | aui_pane_maximize | aui_pane_restore | aui_render | aui_find_manager. +-type wxAuiManager() :: #wxAuiManager{}. %% Callback event: {@link wxAuiManagerEvent} -%% @type wxCommand() = #wxCommand{type=wxEventType(),cmdString=string(),commandInt=integer(),extraLong=integer()}. -%% <dl><dt>EventType:</dt> <dd><em>command_button_clicked</em>, <em>command_checkbox_clicked</em>, <em>command_choice_selected</em>, <em>command_listbox_selected</em>, <em>command_listbox_doubleclicked</em>, <em>command_text_updated</em>, <em>command_text_enter</em>, <em>command_menu_selected</em>, <em>command_slider_updated</em>, <em>command_radiobox_selected</em>, <em>command_radiobutton_selected</em>, <em>command_scrollbar_updated</em>, <em>command_vlbox_selected</em>, <em>command_combobox_selected</em>, <em>command_tool_rclicked</em>, <em>command_tool_enter</em>, <em>command_checklistbox_toggled</em>, <em>command_togglebutton_clicked</em>, <em>command_left_click</em>, <em>command_left_dclick</em>, <em>command_right_click</em>, <em>command_set_focus</em>, <em>command_kill_focus</em>, <em>command_enter</em></dd></dl> -%% Callback event: {@link wxCommandEvent} --record(wxCommand,{type, cmdString,commandInt,extraLong}). +-record(wxCommand,{type :: wxCommandEventType(), %% Callback event: {@link wxCommandEvent} + cmdString :: unicode:chardata(), + commandInt :: integer(), + extraLong :: integer()}). +-type wxCommandEventType() :: command_button_clicked | command_checkbox_clicked | command_choice_selected | command_listbox_selected | command_listbox_doubleclicked | command_text_updated | command_text_enter | command_menu_selected | command_slider_updated | command_radiobox_selected | command_radiobutton_selected | command_scrollbar_updated | command_vlbox_selected | command_combobox_selected | command_tool_rclicked | command_tool_enter | command_checklistbox_toggled | command_togglebutton_clicked | command_left_click | command_left_dclick | command_right_click | command_set_focus | command_kill_focus | command_enter. +-type wxCommand() :: #wxCommand{}. %% Callback event: {@link wxCommandEvent} -%% @type wxJoystick() = #wxJoystick{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>joy_button_down</em>, <em>joy_button_up</em>, <em>joy_move</em>, <em>joy_zmove</em></dd></dl> -%% Callback event: {@link wxJoystickEvent} --record(wxJoystick, {type}). +-record(wxJoystick, {type :: wxJoystickEventType()}). %% Callback event: {@link wxJoystickEvent} +-type wxJoystickEventType() :: joy_button_down | joy_button_up | joy_move | joy_zmove. +-type wxJoystick() :: #wxJoystick{}. %% Callback event: {@link wxJoystickEvent} -%% @type wxQueryNewPalette() = #wxQueryNewPalette{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>query_new_palette</em></dd></dl> -%% Callback event: {@link wxQueryNewPaletteEvent} --record(wxQueryNewPalette, {type}). +-record(wxQueryNewPalette, {type :: wxQueryNewPaletteEventType()}). %% Callback event: {@link wxQueryNewPaletteEvent} +-type wxQueryNewPaletteEventType() :: query_new_palette. +-type wxQueryNewPalette() :: #wxQueryNewPalette{}. %% Callback event: {@link wxQueryNewPaletteEvent} -%% @type wxMove() = #wxMove{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>move</em></dd></dl> -%% Callback event: {@link wxMoveEvent} --record(wxMove, {type}). +-record(wxMove, {type :: wxMoveEventType()}). %% Callback event: {@link wxMoveEvent} +-type wxMoveEventType() :: move. +-type wxMove() :: #wxMove{}. %% Callback event: {@link wxMoveEvent} -%% @type wxIdle() = #wxIdle{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>idle</em></dd></dl> -%% Callback event: {@link wxIdleEvent} --record(wxIdle, {type}). +-record(wxIdle, {type :: wxIdleEventType()}). %% Callback event: {@link wxIdleEvent} +-type wxIdleEventType() :: idle. +-type wxIdle() :: #wxIdle{}. %% Callback event: {@link wxIdleEvent} -%% @type wxNcPaint() = #wxNcPaint{type=wxEventType()}. -%% <dl><dt>EventType:</dt> <dd><em>nc_paint</em></dd></dl> -%% Callback event: {@link wxNcPaintEvent} --record(wxNcPaint, {type}). +-record(wxNcPaint, {type :: wxNcPaintEventType()}). %% Callback event: {@link wxNcPaintEvent} +-type wxNcPaintEventType() :: nc_paint. +-type wxNcPaint() :: #wxNcPaint{}. %% Callback event: {@link wxNcPaintEvent} -%% @type wxColourPicker() = #wxColourPicker{type=wxEventType(),colour=wx:colour()}. -%% <dl><dt>EventType:</dt> <dd><em>command_colourpicker_changed</em></dd></dl> -%% Callback event: {@link wxColourPickerEvent} --record(wxColourPicker,{type, colour}). +-record(wxColourPicker,{type :: wxColourPickerEventType(), %% Callback event: {@link wxColourPickerEvent} + colour :: wx:wx_colour()}). +-type wxColourPickerEventType() :: command_colourpicker_changed. +-type wxColourPicker() :: #wxColourPicker{}. %% Callback event: {@link wxColourPickerEvent} -%% @type wxTree() = #wxTree{type=wxEventType(),item=integer(),itemOld=integer(),pointDrag={X::integer(), Y::integer()}}. -%% <dl><dt>EventType:</dt> <dd><em>command_tree_begin_drag</em>, <em>command_tree_begin_rdrag</em>, <em>command_tree_begin_label_edit</em>, <em>command_tree_end_label_edit</em>, <em>command_tree_delete_item</em>, <em>command_tree_get_info</em>, <em>command_tree_set_info</em>, <em>command_tree_item_expanded</em>, <em>command_tree_item_expanding</em>, <em>command_tree_item_collapsed</em>, <em>command_tree_item_collapsing</em>, <em>command_tree_sel_changed</em>, <em>command_tree_sel_changing</em>, <em>command_tree_key_down</em>, <em>command_tree_item_activated</em>, <em>command_tree_item_right_click</em>, <em>command_tree_item_middle_click</em>, <em>command_tree_end_drag</em>, <em>command_tree_state_image_click</em>, <em>command_tree_item_gettooltip</em>, <em>command_tree_item_menu</em></dd></dl> -%% Callback event: {@link wxTreeEvent} --record(wxTree,{type, item,itemOld,pointDrag}). +-record(wxTaskBarIcon, {type :: wxTaskBarIconEventType()}). %% Callback event: {@link wxTaskBarIconEvent} +-type wxTaskBarIconEventType() :: taskbar_move | taskbar_left_down | taskbar_left_up | taskbar_right_down | taskbar_right_up | taskbar_left_dclick | taskbar_right_dclick. +-type wxTaskBarIcon() :: #wxTaskBarIcon{}. %% Callback event: {@link wxTaskBarIconEvent} -%% @type wxEventType() = aui_find_manager | aui_pane_button | aui_pane_close | aui_pane_maximize | aui_pane_restore | aui_render | calendar_day_changed | calendar_doubleclicked | calendar_month_changed | calendar_sel_changed | calendar_weekday_clicked | calendar_year_changed | char | char_hook | child_focus | close_window | command_auinotebook_allow_dnd | command_auinotebook_begin_drag | command_auinotebook_bg_dclick | command_auinotebook_button | command_auinotebook_drag_done | command_auinotebook_drag_motion | command_auinotebook_end_drag | command_auinotebook_page_changed | command_auinotebook_page_changing | command_auinotebook_page_close | command_auinotebook_page_closed | command_auinotebook_tab_middle_down | command_auinotebook_tab_middle_up | command_auinotebook_tab_right_down | command_auinotebook_tab_right_up | command_button_clicked | command_checkbox_clicked | command_checklistbox_toggled | command_choice_selected | command_colourpicker_changed | command_combobox_selected | command_dirpicker_changed | command_enter | command_filepicker_changed | command_fontpicker_changed | command_html_link_clicked | command_kill_focus | command_left_click | command_left_dclick | command_list_begin_drag | command_list_begin_label_edit | command_list_begin_rdrag | command_list_cache_hint | command_list_col_begin_drag | command_list_col_click | command_list_col_dragging | command_list_col_end_drag | command_list_col_right_click | command_list_delete_all_items | command_list_delete_item | command_list_end_label_edit | command_list_insert_item | command_list_item_activated | command_list_item_deselected | command_list_item_focused | command_list_item_middle_click | command_list_item_right_click | command_list_item_selected | command_list_key_down | command_listbox_doubleclicked | command_listbox_selected | command_menu_selected | command_notebook_page_changed | command_notebook_page_changing | command_radiobox_selected | command_radiobutton_selected | command_right_click | command_scrollbar_updated | command_set_focus | command_slider_updated | command_spinctrl_updated | command_splitter_doubleclicked | command_splitter_sash_pos_changed | command_splitter_sash_pos_changing | command_splitter_unsplit | command_text_enter | command_text_updated | command_togglebutton_clicked | command_tool_enter | command_tool_rclicked | command_tree_begin_drag | command_tree_begin_label_edit | command_tree_begin_rdrag | command_tree_delete_item | command_tree_end_drag | command_tree_end_label_edit | command_tree_get_info | command_tree_item_activated | command_tree_item_collapsed | command_tree_item_collapsing | command_tree_item_expanded | command_tree_item_expanding | command_tree_item_gettooltip | command_tree_item_menu | command_tree_item_middle_click | command_tree_item_right_click | command_tree_key_down | command_tree_sel_changed | command_tree_sel_changing | command_tree_set_info | command_tree_state_image_click | command_vlbox_selected | context_menu | create | date_changed | destroy | detailed_help | display_changed | end_session | enter_window | erase_background | grid_cell_begin_drag | grid_cell_change | grid_cell_left_click | grid_cell_left_dclick | grid_cell_right_click | grid_cell_right_dclick | grid_col_size | grid_editor_created | grid_editor_hidden | grid_editor_shown | grid_label_left_click | grid_label_left_dclick | grid_label_right_click | grid_label_right_dclick | grid_range_select | grid_row_size | grid_select_cell | help | iconize | idle | joy_button_down | joy_button_up | joy_move | joy_zmove | key_down | key_up | kill_focus | leave_window | left_dclick | left_down | left_up | maximize | menu_close | menu_highlight | menu_open | middle_dclick | middle_down | middle_up | motion | mouse_capture_changed | mousewheel | move | navigation_key | nc_enter_window | nc_leave_window | nc_left_dclick | nc_left_down | nc_left_up | nc_middle_dclick | nc_middle_down | nc_middle_up | nc_motion | nc_paint | nc_right_dclick | nc_right_down | nc_right_up | paint | paint_icon | palette_changed | query_end_session | query_new_palette | right_dclick | right_down | right_up | sash_dragged | scroll_bottom | scroll_changed | scroll_linedown | scroll_lineup | scroll_pagedown | scroll_pageup | scroll_thumbrelease | scroll_thumbtrack | scroll_top | scrollwin_bottom | scrollwin_linedown | scrollwin_lineup | scrollwin_pagedown | scrollwin_pageup | scrollwin_thumbrelease | scrollwin_thumbtrack | scrollwin_top | set_cursor | set_focus | show | size | spin | spin_down | spin_up | stc_autocomp_selection | stc_calltip_click | stc_change | stc_charadded | stc_do_drop | stc_doubleclick | stc_drag_over | stc_dwellend | stc_dwellstart | stc_hotspot_click | stc_hotspot_dclick | stc_key | stc_macrorecord | stc_marginclick | stc_modified | stc_needshown | stc_painted | stc_romodifyattempt | stc_savepointleft | stc_savepointreached | stc_start_drag | stc_styleneeded | stc_updateui | stc_uridropped | stc_userlistselection | stc_zoom | sys_colour_changed | update_ui. +-record(wxTree,{type :: wxTreeEventType(), %% Callback event: {@link wxTreeEvent} + item :: integer(), + itemOld :: integer(), + pointDrag :: {X::integer(), Y::integer()}}). +-type wxTreeEventType() :: command_tree_begin_drag | command_tree_begin_rdrag | command_tree_begin_label_edit | command_tree_end_label_edit | command_tree_delete_item | command_tree_get_info | command_tree_set_info | command_tree_item_expanded | command_tree_item_expanding | command_tree_item_collapsed | command_tree_item_collapsing | command_tree_sel_changed | command_tree_sel_changing | command_tree_key_down | command_tree_item_activated | command_tree_item_right_click | command_tree_item_middle_click | command_tree_end_drag | command_tree_state_image_click | command_tree_item_gettooltip | command_tree_item_menu. +-type wxTree() :: #wxTree{}. %% Callback event: {@link wxTreeEvent} + +-type event() :: wxAuiManager() | wxAuiNotebook() | wxCalendar() | wxChildFocus() | wxClose() | wxColourPicker() | wxCommand() | wxContextMenu() | wxDate() | wxDisplayChanged() | wxErase() | wxFileDirPicker() | wxFocus() | wxFontPicker() | wxGrid() | wxHelp() | wxHtmlLink() | wxIconize() | wxIdle() | wxJoystick() | wxKey() | wxList() | wxMaximize() | wxMenu() | wxMouse() | wxMouseCaptureChanged() | wxMove() | wxNavigationKey() | wxNcPaint() | wxNotebook() | wxPaint() | wxPaletteChanged() | wxQueryNewPalette() | wxSash() | wxScroll() | wxScrollWin() | wxSetCursor() | wxShow() | wxSize() | wxSpin() | wxSplitter() | wxStyledText() | wxSysColourChanged() | wxTaskBarIcon() | wxTree() | wxUpdateUI() | wxWindowCreate() | wxWindowDestroy(). +-type wxEventType() :: wxAuiManagerEventType() | wxAuiNotebookEventType() | wxCalendarEventType() | wxChildFocusEventType() | wxCloseEventType() | wxColourPickerEventType() | wxCommandEventType() | wxContextMenuEventType() | wxDateEventType() | wxDisplayChangedEventType() | wxEraseEventType() | wxFileDirPickerEventType() | wxFocusEventType() | wxFontPickerEventType() | wxGridEventType() | wxHelpEventType() | wxHtmlLinkEventType() | wxIconizeEventType() | wxIdleEventType() | wxJoystickEventType() | wxKeyEventType() | wxListEventType() | wxMaximizeEventType() | wxMenuEventType() | wxMouseCaptureChangedEventType() | wxMouseEventType() | wxMoveEventType() | wxNavigationKeyEventType() | wxNcPaintEventType() | wxNotebookEventType() | wxPaintEventType() | wxPaletteChangedEventType() | wxQueryNewPaletteEventType() | wxSashEventType() | wxScrollEventType() | wxScrollWinEventType() | wxSetCursorEventType() | wxShowEventType() | wxSizeEventType() | wxSpinEventType() | wxSplitterEventType() | wxStyledTextEventType() | wxSysColourChangedEventType() | wxTaskBarIconEventType() | wxTreeEventType() | wxUpdateUIEventType() | wxWindowCreateEventType() | wxWindowDestroyEventType(). %% Hardcoded Records -record(wxMouseState, {x, y, %% integer() @@ -274,7 +321,7 @@ controlDown, shiftDown, altDown, metaDown, cmdDown %% bool() }). -record(wxHtmlLinkInfo, { - href, target %% string() + href, target %% unicode:chardata() }). %% Hardcoded Defines |