00001
00002
00003
00004
00005
00006 #include "gui_uiobject.hpp"
00007 #include "gui_frame.hpp"
00008 #include "gui_focusframe.hpp"
00009 #include "gui_layeredregion.hpp"
00010 #include "gui_button.hpp"
00011 #include "gui_checkbutton.hpp"
00012 #include "gui_editbox.hpp"
00013 #include "gui_scrollframe.hpp"
00014 #include "gui_slider.hpp"
00015 #include "gui_statusbar.hpp"
00016 #include "gui_fontstring.hpp"
00017 #include "gui_texture.hpp"
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #define method(widget, function) {#function, &lua_##widget::_##function}
00030
00031 namespace gui
00032 {
00033 const char lua_virtual_glue::className[] = "VirtualGlue";
00034 const char* lua_virtual_glue::classList[] = {"VirtualGlue", 0};
00035 Lunar<lua_virtual_glue>::RegType lua_virtual_glue::methods[] = {
00036 {"dt", &lua_virtual_glue::get_data_table},
00037
00038
00039 method(virtual_glue, mark_for_copy),
00040 method(virtual_glue, get_base),
00041 method(virtual_glue, get_name),
00042
00043 {0,0}
00044 };
00045
00046 const char lua_uiobject::className[] = "UIObject";
00047 const char* lua_uiobject::classList[] = {"UIObject",
00048 "Frame", "FocusFrame", "Button", "CheckButton", "EditBox", "ScrollFrame",
00049 "Slider", "StatusBar", "LayeredRegion", "Texture", "FontString", 0
00050 };
00051 Lunar<lua_uiobject>::RegType lua_uiobject::methods[] = {
00052 {"dt", &lua_uiobject::get_data_table},
00053
00054
00055 method(uiobject, get_alpha),
00056 method(uiobject, get_name),
00057 method(uiobject, get_object_type),
00058 method(uiobject, is_object_type),
00059 method(uiobject, set_alpha),
00060
00061 method(uiobject, clear_all_points),
00062 method(uiobject, get_base),
00063 method(uiobject, get_bottom),
00064 method(uiobject, get_center),
00065 method(uiobject, get_height),
00066 method(uiobject, get_left),
00067 method(uiobject, get_num_point),
00068 method(uiobject, get_parent),
00069 method(uiobject, get_point),
00070 method(uiobject, get_right),
00071 method(uiobject, get_top),
00072 method(uiobject, get_width),
00073 method(uiobject, hide),
00074 method(uiobject, is_shown),
00075 method(uiobject, is_visible),
00076 method(uiobject, set_all_points),
00077 method(uiobject, set_height),
00078 method(uiobject, set_parent),
00079 method(uiobject, set_point),
00080 method(uiobject, set_rel_point),
00081 method(uiobject, set_width),
00082 method(uiobject, show),
00083 {0,0}
00084 };
00085
00086 const char lua_frame::className[] = "Frame";
00087 const char* lua_frame::classList[] = {"Frame",
00088 "FocusFrame", "Button", "CheckButton", "EditBox", "ScrollFrame",
00089 "Slider", "StatusBar", 0
00090 };
00091 Lunar<lua_frame>::RegType lua_frame::methods[] = {
00092 {"dt", &lua_frame::get_data_table},
00093
00094
00095 method(frame, get_alpha),
00096 method(frame, get_name),
00097 method(frame, get_object_type),
00098 method(frame, is_object_type),
00099 method(frame, set_alpha),
00100
00101 method(frame, clear_all_points),
00102 method(frame, get_base),
00103 method(frame, get_bottom),
00104 method(frame, get_center),
00105 method(frame, get_height),
00106 method(frame, get_left),
00107 method(frame, get_num_point),
00108 method(frame, get_parent),
00109 method(frame, get_point),
00110 method(frame, get_right),
00111 method(frame, get_top),
00112 method(frame, get_width),
00113 method(frame, hide),
00114 method(frame, is_shown),
00115 method(frame, is_visible),
00116 method(frame, set_all_points),
00117 method(frame, set_height),
00118 method(frame, set_parent),
00119 method(frame, set_point),
00120 method(frame, set_rel_point),
00121 method(frame, set_width),
00122 method(frame, show),
00123
00124
00125 method(frame, create_font_string),
00126 method(frame, create_texture),
00127 method(frame, create_title_region),
00128 method(frame, disable_draw_layer),
00129 method(frame, enable_draw_layer),
00130 method(frame, enable_keyboard),
00131 method(frame, enable_mouse),
00132 method(frame, enable_mouse_wheel),
00133 method(frame, get_backdrop),
00134 method(frame, get_backdrop_border_color),
00135 method(frame, get_backdrop_color),
00136 method(frame, get_children),
00137 method(frame, get_effective_alpha),
00138 method(frame, get_effective_scale),
00139 method(frame, get_frame_level),
00140 method(frame, get_frame_strata),
00141 method(frame, get_frame_type),
00142 method(frame, get_hit_rect_insets),
00143 method(frame, get_id),
00144 method(frame, get_max_resize),
00145 method(frame, get_min_resize),
00146 method(frame, set_max_width),
00147 method(frame, set_max_height),
00148 method(frame, set_min_width),
00149 method(frame, set_min_height),
00150 method(frame, get_num_children),
00151 method(frame, get_num_regions),
00152 method(frame, get_scale),
00153 method(frame, get_script),
00154 method(frame, get_title_region),
00155 method(frame, has_script),
00156 method(frame, is_clamped_to_screen),
00157 method(frame, is_frame_type),
00158 method(frame, is_keyboard_enabled),
00159 method(frame, is_mouse_enabled),
00160 method(frame, is_mouse_wheel_enabled),
00161 method(frame, is_movable),
00162 method(frame, is_resizable),
00163 method(frame, is_top_level),
00164 method(frame, is_user_placed),
00165 method(frame, on),
00166 method(frame, raise),
00167 method(frame, register_all_events),
00168 method(frame, register_event),
00169 method(frame, register_for_drag),
00170 method(frame, set_backdrop),
00171 method(frame, set_backdrop_border_color),
00172 method(frame, set_backdrop_color),
00173 method(frame, set_clamped_to_screen),
00174 method(frame, set_frame_strata),
00175 method(frame, set_hit_rect_insets),
00176 method(frame, set_max_resize),
00177 method(frame, set_min_resize),
00178 method(frame, set_movable),
00179 method(frame, set_resizable),
00180 method(frame, set_scale),
00181 method(frame, set_script),
00182 method(frame, set_top_level),
00183 method(frame, set_user_placed),
00184 method(frame, start_moving),
00185 method(frame, start_sizing),
00186 method(frame, stop_moving_or_sizing),
00187 method(frame, unregister_all_events),
00188 method(frame, unregister_event),
00189
00190 {0,0}
00191 };
00192
00193 const char lua_check_button::className[] = "CheckButton";
00194 const char* lua_check_button::classList[] = {"CheckButton", 0};
00195 Lunar<lua_check_button>::RegType lua_check_button::methods[] = {
00196 {"dt", &lua_check_button::get_data_table},
00197
00198
00199 method(check_button, get_alpha),
00200 method(check_button, get_name),
00201 method(check_button, get_object_type),
00202 method(check_button, is_object_type),
00203 method(check_button, set_alpha),
00204
00205 method(check_button, clear_all_points),
00206 method(check_button, get_base),
00207 method(check_button, get_bottom),
00208 method(check_button, get_center),
00209 method(check_button, get_height),
00210 method(check_button, get_left),
00211 method(check_button, get_num_point),
00212 method(check_button, get_parent),
00213 method(check_button, get_point),
00214 method(check_button, get_right),
00215 method(check_button, get_top),
00216 method(check_button, get_width),
00217 method(check_button, hide),
00218 method(check_button, is_shown),
00219 method(check_button, is_visible),
00220 method(check_button, set_all_points),
00221 method(check_button, set_height),
00222 method(check_button, set_parent),
00223 method(check_button, set_point),
00224 method(check_button, set_rel_point),
00225 method(check_button, set_width),
00226 method(check_button, show),
00227
00228
00229 method(check_button, create_font_string),
00230 method(check_button, create_texture),
00231 method(check_button, create_title_region),
00232 method(check_button, disable_draw_layer),
00233 method(check_button, enable_draw_layer),
00234 method(check_button, enable_keyboard),
00235 method(check_button, enable_mouse),
00236 method(check_button, enable_mouse_wheel),
00237 method(check_button, get_backdrop),
00238 method(check_button, get_backdrop_border_color),
00239 method(check_button, get_backdrop_color),
00240 method(check_button, get_children),
00241 method(check_button, get_effective_alpha),
00242 method(check_button, get_effective_scale),
00243 method(check_button, get_frame_level),
00244 method(check_button, get_frame_strata),
00245 method(check_button, get_frame_type),
00246 method(check_button, get_hit_rect_insets),
00247 method(check_button, get_id),
00248 method(check_button, get_max_resize),
00249 method(check_button, get_min_resize),
00250 method(check_button, set_max_width),
00251 method(check_button, set_max_height),
00252 method(check_button, set_min_width),
00253 method(check_button, set_min_height),
00254 method(check_button, get_num_children),
00255 method(check_button, get_num_regions),
00256 method(check_button, get_scale),
00257 method(check_button, get_script),
00258 method(check_button, get_title_region),
00259 method(check_button, has_script),
00260 method(check_button, is_clamped_to_screen),
00261 method(check_button, is_frame_type),
00262 method(check_button, is_keyboard_enabled),
00263 method(check_button, is_mouse_enabled),
00264 method(check_button, is_mouse_wheel_enabled),
00265 method(check_button, is_movable),
00266 method(check_button, is_resizable),
00267 method(check_button, is_top_level),
00268 method(check_button, is_user_placed),
00269 method(check_button, on),
00270 method(check_button, raise),
00271 method(check_button, register_all_events),
00272 method(check_button, register_event),
00273 method(check_button, register_for_drag),
00274 method(check_button, set_backdrop),
00275 method(check_button, set_backdrop_border_color),
00276 method(check_button, set_backdrop_color),
00277 method(check_button, set_clamped_to_screen),
00278 method(check_button, set_frame_strata),
00279 method(check_button, set_hit_rect_insets),
00280 method(check_button, set_max_resize),
00281 method(check_button, set_min_resize),
00282 method(check_button, set_movable),
00283 method(check_button, set_resizable),
00284 method(check_button, set_scale),
00285 method(check_button, set_script),
00286 method(check_button, set_top_level),
00287 method(check_button, set_user_placed),
00288 method(check_button, start_moving),
00289 method(check_button, start_sizing),
00290 method(check_button, stop_moving_or_sizing),
00291 method(check_button, unregister_all_events),
00292 method(check_button, unregister_event),
00293
00294
00295 method(check_button, click),
00296 method(check_button, disable),
00297 method(check_button, enable),
00298 method(check_button, get_button_state),
00299 method(check_button, get_disabled_font_object),
00300 method(check_button, get_disabled_text_color),
00301 method(check_button, get_disabled_texture),
00302 method(check_button, get_highlight_font_object),
00303 method(check_button, get_highlight_text_color),
00304 method(check_button, get_highlight_texture),
00305 method(check_button, get_normal_font_object),
00306 method(check_button, get_normal_texture),
00307 method(check_button, get_pushed_text_offset),
00308 method(check_button, get_pushed_texture),
00309 method(check_button, get_text),
00310 method(check_button, get_text_height),
00311 method(check_button, get_text_width),
00312 method(check_button, is_enabled),
00313 method(check_button, lock_highlight),
00314 method(check_button, set_button_state),
00315 method(check_button, set_disabled_font_object),
00316 method(check_button, set_disabled_text_color),
00317 method(check_button, set_disabled_texture),
00318 method(check_button, set_highlight_font_object),
00319 method(check_button, set_highlight_text_color),
00320 method(check_button, set_highlight_texture),
00321 method(check_button, set_normal_font_object),
00322 method(check_button, set_normal_text_color),
00323 method(check_button, set_normal_texture),
00324 method(check_button, set_pushed_text_offset),
00325 method(check_button, set_pushed_texture),
00326 method(check_button, set_text),
00327 method(check_button, unlock_highlight),
00328
00329
00330 method(check_button, is_checked),
00331 method(check_button, get_checked_texture),
00332 method(check_button, get_disabled_checked_texture),
00333 method(check_button, set_checked),
00334 method(check_button, set_checked_texture),
00335 method(check_button, set_disabled_checked_texture),
00336
00337 {0,0}
00338 };
00339
00340 const char lua_status_bar::className[] = "StatusBar";
00341 const char* lua_status_bar::classList[] = {"StatusBar", 0};
00342 Lunar<lua_status_bar>::RegType lua_status_bar::methods[] = {
00343 {"dt", &lua_status_bar::get_data_table},
00344
00345
00346 method(status_bar, get_alpha),
00347 method(status_bar, get_name),
00348 method(status_bar, get_object_type),
00349 method(status_bar, is_object_type),
00350 method(status_bar, set_alpha),
00351
00352 method(status_bar, clear_all_points),
00353 method(status_bar, get_base),
00354 method(status_bar, get_bottom),
00355 method(status_bar, get_center),
00356 method(status_bar, get_height),
00357 method(status_bar, get_left),
00358 method(status_bar, get_num_point),
00359 method(status_bar, get_parent),
00360 method(status_bar, get_point),
00361 method(status_bar, get_right),
00362 method(status_bar, get_top),
00363 method(status_bar, get_width),
00364 method(status_bar, hide),
00365 method(status_bar, is_shown),
00366 method(status_bar, is_visible),
00367 method(status_bar, set_all_points),
00368 method(status_bar, set_height),
00369 method(status_bar, set_parent),
00370 method(status_bar, set_point),
00371 method(status_bar, set_rel_point),
00372 method(status_bar, set_width),
00373 method(status_bar, show),
00374
00375
00376 method(status_bar, create_font_string),
00377 method(status_bar, create_texture),
00378 method(status_bar, create_title_region),
00379 method(status_bar, disable_draw_layer),
00380 method(status_bar, enable_draw_layer),
00381 method(status_bar, enable_keyboard),
00382 method(status_bar, enable_mouse),
00383 method(status_bar, enable_mouse_wheel),
00384 method(status_bar, get_backdrop),
00385 method(status_bar, get_backdrop_border_color),
00386 method(status_bar, get_backdrop_color),
00387 method(status_bar, get_children),
00388 method(status_bar, get_effective_alpha),
00389 method(status_bar, get_effective_scale),
00390 method(status_bar, get_frame_level),
00391 method(status_bar, get_frame_strata),
00392 method(status_bar, get_frame_type),
00393 method(status_bar, get_hit_rect_insets),
00394 method(status_bar, get_id),
00395 method(status_bar, get_max_resize),
00396 method(status_bar, get_min_resize),
00397 method(status_bar, set_max_width),
00398 method(status_bar, set_max_height),
00399 method(status_bar, set_min_width),
00400 method(status_bar, set_min_height),
00401 method(status_bar, get_num_children),
00402 method(status_bar, get_num_regions),
00403 method(status_bar, get_scale),
00404 method(status_bar, get_script),
00405 method(status_bar, get_title_region),
00406 method(status_bar, has_script),
00407 method(status_bar, is_clamped_to_screen),
00408 method(status_bar, is_frame_type),
00409 method(status_bar, is_keyboard_enabled),
00410 method(status_bar, is_mouse_enabled),
00411 method(status_bar, is_mouse_wheel_enabled),
00412 method(status_bar, is_movable),
00413 method(status_bar, is_resizable),
00414 method(status_bar, is_top_level),
00415 method(status_bar, is_user_placed),
00416 method(status_bar, on),
00417 method(status_bar, raise),
00418 method(status_bar, register_all_events),
00419 method(status_bar, register_event),
00420 method(status_bar, register_for_drag),
00421 method(status_bar, set_backdrop),
00422 method(status_bar, set_backdrop_border_color),
00423 method(status_bar, set_backdrop_color),
00424 method(status_bar, set_clamped_to_screen),
00425 method(status_bar, set_frame_strata),
00426 method(status_bar, set_hit_rect_insets),
00427 method(status_bar, set_max_resize),
00428 method(status_bar, set_min_resize),
00429 method(status_bar, set_movable),
00430 method(status_bar, set_resizable),
00431 method(status_bar, set_scale),
00432 method(status_bar, set_script),
00433 method(status_bar, set_top_level),
00434 method(status_bar, set_user_placed),
00435 method(status_bar, start_moving),
00436 method(status_bar, start_sizing),
00437 method(status_bar, stop_moving_or_sizing),
00438 method(status_bar, unregister_all_events),
00439 method(status_bar, unregister_event),
00440
00441
00442 method(status_bar, get_min_max_values),
00443 method(status_bar, get_orientation),
00444 method(status_bar, is_reversed),
00445 method(status_bar, get_status_bar_color),
00446 method(status_bar, get_status_bar_texture),
00447 method(status_bar, get_value),
00448 method(status_bar, set_min_max_values),
00449 method(status_bar, set_orientation),
00450 method(status_bar, set_reversed),
00451 method(status_bar, set_status_bar_color),
00452 method(status_bar, set_status_bar_texture),
00453 method(status_bar, set_value),
00454
00455 {0,0}
00456 };
00457
00458 const char lua_focus_frame::className[] = "FocusFrame";
00459 const char* lua_focus_frame::classList[] = {"FocusFrame", "EditBox", 0};
00460 Lunar<lua_focus_frame>::RegType lua_focus_frame::methods[] = {
00461 {"dt", &lua_focus_frame::get_data_table},
00462
00463
00464 method(focus_frame, get_alpha),
00465 method(focus_frame, get_name),
00466 method(focus_frame, get_object_type),
00467 method(focus_frame, is_object_type),
00468 method(focus_frame, set_alpha),
00469
00470 method(focus_frame, clear_all_points),
00471 method(focus_frame, get_base),
00472 method(focus_frame, get_bottom),
00473 method(focus_frame, get_center),
00474 method(focus_frame, get_height),
00475 method(focus_frame, get_left),
00476 method(focus_frame, get_num_point),
00477 method(focus_frame, get_parent),
00478 method(focus_frame, get_point),
00479 method(focus_frame, get_right),
00480 method(focus_frame, get_top),
00481 method(focus_frame, get_width),
00482 method(focus_frame, hide),
00483 method(focus_frame, is_shown),
00484 method(focus_frame, is_visible),
00485 method(focus_frame, set_all_points),
00486 method(focus_frame, set_height),
00487 method(focus_frame, set_parent),
00488 method(focus_frame, set_point),
00489 method(focus_frame, set_rel_point),
00490 method(focus_frame, set_width),
00491 method(focus_frame, show),
00492
00493
00494 method(focus_frame, create_font_string),
00495 method(focus_frame, create_texture),
00496 method(focus_frame, create_title_region),
00497 method(focus_frame, disable_draw_layer),
00498 method(focus_frame, enable_draw_layer),
00499 method(focus_frame, enable_keyboard),
00500 method(focus_frame, enable_mouse),
00501 method(focus_frame, enable_mouse_wheel),
00502 method(focus_frame, get_backdrop),
00503 method(focus_frame, get_backdrop_border_color),
00504 method(focus_frame, get_backdrop_color),
00505 method(focus_frame, get_children),
00506 method(focus_frame, get_effective_alpha),
00507 method(focus_frame, get_effective_scale),
00508 method(focus_frame, get_frame_level),
00509 method(focus_frame, get_frame_strata),
00510 method(focus_frame, get_frame_type),
00511 method(focus_frame, get_hit_rect_insets),
00512 method(focus_frame, get_id),
00513 method(focus_frame, get_max_resize),
00514 method(focus_frame, get_min_resize),
00515 method(focus_frame, set_max_width),
00516 method(focus_frame, set_max_height),
00517 method(focus_frame, set_min_width),
00518 method(focus_frame, set_min_height),
00519 method(focus_frame, get_num_children),
00520 method(focus_frame, get_num_regions),
00521 method(focus_frame, get_scale),
00522 method(focus_frame, get_script),
00523 method(focus_frame, get_title_region),
00524 method(focus_frame, has_script),
00525 method(focus_frame, is_clamped_to_screen),
00526 method(focus_frame, is_frame_type),
00527 method(focus_frame, is_keyboard_enabled),
00528 method(focus_frame, is_mouse_enabled),
00529 method(focus_frame, is_mouse_wheel_enabled),
00530 method(focus_frame, is_movable),
00531 method(focus_frame, is_resizable),
00532 method(focus_frame, is_top_level),
00533 method(focus_frame, is_user_placed),
00534 method(focus_frame, on),
00535 method(focus_frame, raise),
00536 method(focus_frame, register_all_events),
00537 method(focus_frame, register_event),
00538 method(focus_frame, register_for_drag),
00539 method(focus_frame, set_backdrop),
00540 method(focus_frame, set_backdrop_border_color),
00541 method(focus_frame, set_backdrop_color),
00542 method(focus_frame, set_clamped_to_screen),
00543 method(focus_frame, set_frame_strata),
00544 method(focus_frame, set_hit_rect_insets),
00545 method(focus_frame, set_max_resize),
00546 method(focus_frame, set_min_resize),
00547 method(focus_frame, set_movable),
00548 method(focus_frame, set_resizable),
00549 method(focus_frame, set_scale),
00550 method(focus_frame, set_script),
00551 method(focus_frame, set_top_level),
00552 method(focus_frame, set_user_placed),
00553 method(focus_frame, start_moving),
00554 method(focus_frame, start_sizing),
00555 method(focus_frame, stop_moving_or_sizing),
00556 method(focus_frame, unregister_all_events),
00557 method(focus_frame, unregister_event),
00558
00559
00560 method(focus_frame, clear_focus),
00561 method(focus_frame, is_auto_focus),
00562 method(focus_frame, set_auto_focus),
00563 method(focus_frame, set_focus),
00564
00565 {0,0}
00566 };
00567
00568 const char lua_edit_box::className[] = "EditBox";
00569 const char* lua_edit_box::classList[] = {"EditBox", 0};
00570 Lunar<lua_edit_box>::RegType lua_edit_box::methods[] = {
00571 {"dt", &lua_edit_box::get_data_table},
00572
00573
00574 method(edit_box, get_alpha),
00575 method(edit_box, get_name),
00576 method(edit_box, get_object_type),
00577 method(edit_box, is_object_type),
00578 method(edit_box, set_alpha),
00579
00580 method(edit_box, clear_all_points),
00581 method(edit_box, get_base),
00582 method(edit_box, get_bottom),
00583 method(edit_box, get_center),
00584 method(edit_box, get_height),
00585 method(edit_box, get_left),
00586 method(edit_box, get_num_point),
00587 method(edit_box, get_parent),
00588 method(edit_box, get_point),
00589 method(edit_box, get_right),
00590 method(edit_box, get_top),
00591 method(edit_box, get_width),
00592 method(edit_box, hide),
00593 method(edit_box, is_shown),
00594 method(edit_box, is_visible),
00595 method(edit_box, set_all_points),
00596 method(edit_box, set_height),
00597 method(edit_box, set_parent),
00598 method(edit_box, set_point),
00599 method(edit_box, set_rel_point),
00600 method(edit_box, set_width),
00601 method(edit_box, show),
00602
00603
00604 method(edit_box, create_font_string),
00605 method(edit_box, create_texture),
00606 method(edit_box, create_title_region),
00607 method(edit_box, disable_draw_layer),
00608 method(edit_box, enable_draw_layer),
00609 method(edit_box, enable_keyboard),
00610 method(edit_box, enable_mouse),
00611 method(edit_box, enable_mouse_wheel),
00612 method(edit_box, get_backdrop),
00613 method(edit_box, get_backdrop_border_color),
00614 method(edit_box, get_backdrop_color),
00615 method(edit_box, get_children),
00616 method(edit_box, get_effective_alpha),
00617 method(edit_box, get_effective_scale),
00618 method(edit_box, get_frame_level),
00619 method(edit_box, get_frame_strata),
00620 method(edit_box, get_frame_type),
00621 method(edit_box, get_hit_rect_insets),
00622 method(edit_box, get_id),
00623 method(edit_box, get_max_resize),
00624 method(edit_box, get_min_resize),
00625 method(edit_box, set_max_width),
00626 method(edit_box, set_max_height),
00627 method(edit_box, set_min_width),
00628 method(edit_box, set_min_height),
00629 method(edit_box, get_num_children),
00630 method(edit_box, get_num_regions),
00631 method(edit_box, get_scale),
00632 method(edit_box, get_script),
00633 method(edit_box, get_title_region),
00634 method(edit_box, has_script),
00635 method(edit_box, is_clamped_to_screen),
00636 method(edit_box, is_frame_type),
00637 method(edit_box, is_keyboard_enabled),
00638 method(edit_box, is_mouse_enabled),
00639 method(edit_box, is_mouse_wheel_enabled),
00640 method(edit_box, is_movable),
00641 method(edit_box, is_resizable),
00642 method(edit_box, is_top_level),
00643 method(edit_box, is_user_placed),
00644 method(edit_box, on),
00645 method(edit_box, raise),
00646 method(edit_box, register_all_events),
00647 method(edit_box, register_event),
00648 method(edit_box, register_for_drag),
00649 method(edit_box, set_backdrop),
00650 method(edit_box, set_backdrop_border_color),
00651 method(edit_box, set_backdrop_color),
00652 method(edit_box, set_clamped_to_screen),
00653 method(edit_box, set_frame_strata),
00654 method(edit_box, set_hit_rect_insets),
00655 method(edit_box, set_max_resize),
00656 method(edit_box, set_min_resize),
00657 method(edit_box, set_movable),
00658 method(edit_box, set_resizable),
00659 method(edit_box, set_scale),
00660 method(edit_box, set_script),
00661 method(edit_box, set_top_level),
00662 method(edit_box, set_user_placed),
00663 method(edit_box, start_moving),
00664 method(edit_box, start_sizing),
00665 method(edit_box, stop_moving_or_sizing),
00666 method(edit_box, unregister_all_events),
00667 method(edit_box, unregister_event),
00668
00669
00670 method(edit_box, clear_focus),
00671 method(edit_box, is_auto_focus),
00672 method(edit_box, set_auto_focus),
00673 method(edit_box, set_focus),
00674
00675
00676 method(edit_box, add_history_line),
00677 method(edit_box, get_blink_speed),
00678 method(edit_box, get_history_lines),
00679 method(edit_box, get_max_letters),
00680 method(edit_box, get_num_letters),
00681 method(edit_box, get_number),
00682 method(edit_box, get_text),
00683 method(edit_box, get_text_insets),
00684 method(edit_box, highlight_text),
00685 method(edit_box, insert),
00686 method(edit_box, is_multi_line),
00687 method(edit_box, is_numeric),
00688 method(edit_box, is_password),
00689 method(edit_box, set_blink_speed),
00690 method(edit_box, set_max_history_lines),
00691 method(edit_box, set_max_letters),
00692 method(edit_box, set_multi_line),
00693 method(edit_box, set_number),
00694 method(edit_box, set_numeric),
00695 method(edit_box, set_password),
00696 method(edit_box, set_text),
00697 method(edit_box, set_text_insets),
00698
00699 {0,0}
00700 };
00701
00702 const char lua_scroll_frame::className[] = "ScrollFrame";
00703 const char* lua_scroll_frame::classList[] = {"ScrollFrame", 0};
00704 Lunar<lua_scroll_frame>::RegType lua_scroll_frame::methods[] = {
00705 {"dt", &lua_scroll_frame::get_data_table},
00706
00707
00708 method(scroll_frame, get_alpha),
00709 method(scroll_frame, get_name),
00710 method(scroll_frame, get_object_type),
00711 method(scroll_frame, is_object_type),
00712 method(scroll_frame, set_alpha),
00713
00714 method(scroll_frame, clear_all_points),
00715 method(scroll_frame, get_base),
00716 method(scroll_frame, get_bottom),
00717 method(scroll_frame, get_center),
00718 method(scroll_frame, get_height),
00719 method(scroll_frame, get_left),
00720 method(scroll_frame, get_num_point),
00721 method(scroll_frame, get_parent),
00722 method(scroll_frame, get_point),
00723 method(scroll_frame, get_right),
00724 method(scroll_frame, get_top),
00725 method(scroll_frame, get_width),
00726 method(scroll_frame, hide),
00727 method(scroll_frame, is_shown),
00728 method(scroll_frame, is_visible),
00729 method(scroll_frame, set_all_points),
00730 method(scroll_frame, set_height),
00731 method(scroll_frame, set_parent),
00732 method(scroll_frame, set_point),
00733 method(scroll_frame, set_rel_point),
00734 method(scroll_frame, set_width),
00735 method(scroll_frame, show),
00736
00737
00738 method(scroll_frame, create_font_string),
00739 method(scroll_frame, create_texture),
00740 method(scroll_frame, create_title_region),
00741 method(scroll_frame, disable_draw_layer),
00742 method(scroll_frame, enable_draw_layer),
00743 method(scroll_frame, enable_keyboard),
00744 method(scroll_frame, enable_mouse),
00745 method(scroll_frame, enable_mouse_wheel),
00746 method(scroll_frame, get_backdrop),
00747 method(scroll_frame, get_backdrop_border_color),
00748 method(scroll_frame, get_backdrop_color),
00749 method(scroll_frame, get_children),
00750 method(scroll_frame, get_effective_alpha),
00751 method(scroll_frame, get_effective_scale),
00752 method(scroll_frame, get_frame_level),
00753 method(scroll_frame, get_frame_strata),
00754 method(scroll_frame, get_frame_type),
00755 method(scroll_frame, get_hit_rect_insets),
00756 method(scroll_frame, get_id),
00757 method(scroll_frame, get_max_resize),
00758 method(scroll_frame, get_min_resize),
00759 method(scroll_frame, set_max_width),
00760 method(scroll_frame, set_max_height),
00761 method(scroll_frame, set_min_width),
00762 method(scroll_frame, set_min_height),
00763 method(scroll_frame, get_num_children),
00764 method(scroll_frame, get_num_regions),
00765 method(scroll_frame, get_scale),
00766 method(scroll_frame, get_script),
00767 method(scroll_frame, get_title_region),
00768 method(scroll_frame, has_script),
00769 method(scroll_frame, is_clamped_to_screen),
00770 method(scroll_frame, is_frame_type),
00771 method(scroll_frame, is_keyboard_enabled),
00772 method(scroll_frame, is_mouse_enabled),
00773 method(scroll_frame, is_mouse_wheel_enabled),
00774 method(scroll_frame, is_movable),
00775 method(scroll_frame, is_resizable),
00776 method(scroll_frame, is_top_level),
00777 method(scroll_frame, is_user_placed),
00778 method(scroll_frame, on),
00779 method(scroll_frame, raise),
00780 method(scroll_frame, register_all_events),
00781 method(scroll_frame, register_event),
00782 method(scroll_frame, register_for_drag),
00783 method(scroll_frame, set_backdrop),
00784 method(scroll_frame, set_backdrop_border_color),
00785 method(scroll_frame, set_backdrop_color),
00786 method(scroll_frame, set_clamped_to_screen),
00787 method(scroll_frame, set_frame_strata),
00788 method(scroll_frame, set_hit_rect_insets),
00789 method(scroll_frame, set_max_resize),
00790 method(scroll_frame, set_min_resize),
00791 method(scroll_frame, set_movable),
00792 method(scroll_frame, set_resizable),
00793 method(scroll_frame, set_scale),
00794 method(scroll_frame, set_script),
00795 method(scroll_frame, set_top_level),
00796 method(scroll_frame, set_user_placed),
00797 method(scroll_frame, start_moving),
00798 method(scroll_frame, start_sizing),
00799 method(scroll_frame, stop_moving_or_sizing),
00800 method(scroll_frame, unregister_all_events),
00801 method(scroll_frame, unregister_event),
00802
00803
00804 method(scroll_frame, get_horizontal_scroll),
00805 method(scroll_frame, get_horizontal_scroll_range),
00806 method(scroll_frame, get_scroll_child),
00807 method(scroll_frame, get_vertical_scroll),
00808 method(scroll_frame, get_vertical_scroll_range),
00809 method(scroll_frame, set_horizontal_scroll),
00810 method(scroll_frame, set_scroll_child),
00811 method(scroll_frame, set_vertical_scroll),
00812
00813 {0,0}
00814 };
00815
00816 const char lua_button::className[] = "Button";
00817 const char* lua_button::classList[] = {"Button", "CheckButton", 0};
00818 Lunar<lua_button>::RegType lua_button::methods[] = {
00819 {"dt", &lua_button::get_data_table},
00820
00821
00822 method(button, get_alpha),
00823 method(button, get_name),
00824 method(button, get_object_type),
00825 method(button, is_object_type),
00826 method(button, set_alpha),
00827
00828 method(button, clear_all_points),
00829 method(button, get_base),
00830 method(button, get_bottom),
00831 method(button, get_center),
00832 method(button, get_height),
00833 method(button, get_left),
00834 method(button, get_num_point),
00835 method(button, get_parent),
00836 method(button, get_point),
00837 method(button, get_right),
00838 method(button, get_top),
00839 method(button, get_width),
00840 method(button, hide),
00841 method(button, is_shown),
00842 method(button, is_visible),
00843 method(button, set_all_points),
00844 method(button, set_height),
00845 method(button, set_parent),
00846 method(button, set_point),
00847 method(button, set_rel_point),
00848 method(button, set_width),
00849 method(button, show),
00850
00851
00852 method(button, create_font_string),
00853 method(button, create_texture),
00854 method(button, create_title_region),
00855 method(button, disable_draw_layer),
00856 method(button, enable_draw_layer),
00857 method(button, enable_keyboard),
00858 method(button, enable_mouse),
00859 method(button, enable_mouse_wheel),
00860 method(button, get_backdrop),
00861 method(button, get_backdrop_border_color),
00862 method(button, get_backdrop_color),
00863 method(button, get_children),
00864 method(button, get_effective_alpha),
00865 method(button, get_effective_scale),
00866 method(button, get_frame_level),
00867 method(button, get_frame_strata),
00868 method(button, get_frame_type),
00869 method(button, get_hit_rect_insets),
00870 method(button, get_id),
00871 method(button, get_max_resize),
00872 method(button, get_min_resize),
00873 method(button, set_max_width),
00874 method(button, set_max_height),
00875 method(button, set_min_width),
00876 method(button, set_min_height),
00877 method(button, get_num_children),
00878 method(button, get_num_regions),
00879 method(button, get_scale),
00880 method(button, get_script),
00881 method(button, get_title_region),
00882 method(button, has_script),
00883 method(button, is_clamped_to_screen),
00884 method(button, is_frame_type),
00885 method(button, is_keyboard_enabled),
00886 method(button, is_mouse_enabled),
00887 method(button, is_mouse_wheel_enabled),
00888 method(button, is_movable),
00889 method(button, is_resizable),
00890 method(button, is_top_level),
00891 method(button, is_user_placed),
00892 method(button, on),
00893 method(button, raise),
00894 method(button, register_all_events),
00895 method(button, register_event),
00896 method(button, register_for_drag),
00897 method(button, set_backdrop),
00898 method(button, set_backdrop_border_color),
00899 method(button, set_backdrop_color),
00900 method(button, set_clamped_to_screen),
00901 method(button, set_frame_strata),
00902 method(button, set_hit_rect_insets),
00903 method(button, set_max_resize),
00904 method(button, set_min_resize),
00905 method(button, set_movable),
00906 method(button, set_resizable),
00907 method(button, set_scale),
00908 method(button, set_script),
00909 method(button, set_top_level),
00910 method(button, set_user_placed),
00911 method(button, start_moving),
00912 method(button, start_sizing),
00913 method(button, stop_moving_or_sizing),
00914 method(button, unregister_all_events),
00915 method(button, unregister_event),
00916
00917
00918 method(button, click),
00919 method(button, disable),
00920 method(button, enable),
00921 method(button, get_button_state),
00922 method(button, get_disabled_font_object),
00923 method(button, get_disabled_text_color),
00924 method(button, get_disabled_texture),
00925 method(button, get_highlight_font_object),
00926 method(button, get_highlight_text_color),
00927 method(button, get_highlight_texture),
00928 method(button, get_normal_font_object),
00929 method(button, get_normal_texture),
00930 method(button, get_pushed_text_offset),
00931 method(button, get_pushed_texture),
00932 method(button, get_text),
00933 method(button, get_text_height),
00934 method(button, get_text_width),
00935 method(button, is_enabled),
00936 method(button, lock_highlight),
00937 method(button, set_button_state),
00938 method(button, set_disabled_font_object),
00939 method(button, set_disabled_text_color),
00940 method(button, set_disabled_texture),
00941 method(button, set_highlight_font_object),
00942 method(button, set_highlight_text_color),
00943 method(button, set_highlight_texture),
00944 method(button, set_normal_font_object),
00945 method(button, set_normal_text_color),
00946 method(button, set_normal_texture),
00947 method(button, set_pushed_text_offset),
00948 method(button, set_pushed_texture),
00949 method(button, set_text),
00950 method(button, unlock_highlight),
00951
00952 {0,0}
00953 };
00954
00955 const char lua_slider::className[] = "Slider";
00956 const char* lua_slider::classList[] = {"Slider", 0};
00957 Lunar<lua_slider>::RegType lua_slider::methods[] = {
00958 {"dt", &lua_slider::get_data_table},
00959
00960
00961 method(slider, get_alpha),
00962 method(slider, get_name),
00963 method(slider, get_object_type),
00964 method(slider, is_object_type),
00965 method(slider, set_alpha),
00966
00967 method(slider, clear_all_points),
00968 method(slider, get_base),
00969 method(slider, get_bottom),
00970 method(slider, get_center),
00971 method(slider, get_height),
00972 method(slider, get_left),
00973 method(slider, get_num_point),
00974 method(slider, get_parent),
00975 method(slider, get_point),
00976 method(slider, get_right),
00977 method(slider, get_top),
00978 method(slider, get_width),
00979 method(slider, hide),
00980 method(slider, is_shown),
00981 method(slider, is_visible),
00982 method(slider, set_all_points),
00983 method(slider, set_height),
00984 method(slider, set_parent),
00985 method(slider, set_point),
00986 method(slider, set_rel_point),
00987 method(slider, set_width),
00988 method(slider, show),
00989
00990
00991 method(slider, create_font_string),
00992 method(slider, create_texture),
00993 method(slider, create_title_region),
00994 method(slider, disable_draw_layer),
00995 method(slider, enable_draw_layer),
00996 method(slider, enable_keyboard),
00997 method(slider, enable_mouse),
00998 method(slider, enable_mouse_wheel),
00999 method(slider, get_backdrop),
01000 method(slider, get_backdrop_border_color),
01001 method(slider, get_backdrop_color),
01002 method(slider, get_children),
01003 method(slider, get_effective_alpha),
01004 method(slider, get_effective_scale),
01005 method(slider, get_frame_level),
01006 method(slider, get_frame_strata),
01007 method(slider, get_frame_type),
01008 method(slider, get_hit_rect_insets),
01009 method(slider, get_id),
01010 method(slider, get_max_resize),
01011 method(slider, get_min_resize),
01012 method(slider, set_max_width),
01013 method(slider, set_max_height),
01014 method(slider, set_min_width),
01015 method(slider, set_min_height),
01016 method(slider, get_num_children),
01017 method(slider, get_num_regions),
01018 method(slider, get_scale),
01019 method(slider, get_script),
01020 method(slider, get_title_region),
01021 method(slider, has_script),
01022 method(slider, is_clamped_to_screen),
01023 method(slider, is_frame_type),
01024 method(slider, is_keyboard_enabled),
01025 method(slider, is_mouse_enabled),
01026 method(slider, is_mouse_wheel_enabled),
01027 method(slider, is_movable),
01028 method(slider, is_resizable),
01029 method(slider, is_top_level),
01030 method(slider, is_user_placed),
01031 method(slider, on),
01032 method(slider, raise),
01033 method(slider, register_all_events),
01034 method(slider, register_event),
01035 method(slider, register_for_drag),
01036 method(slider, set_backdrop),
01037 method(slider, set_backdrop_border_color),
01038 method(slider, set_backdrop_color),
01039 method(slider, set_clamped_to_screen),
01040 method(slider, set_frame_strata),
01041 method(slider, set_hit_rect_insets),
01042 method(slider, set_max_resize),
01043 method(slider, set_min_resize),
01044 method(slider, set_movable),
01045 method(slider, set_resizable),
01046 method(slider, set_scale),
01047 method(slider, set_script),
01048 method(slider, set_top_level),
01049 method(slider, set_user_placed),
01050 method(slider, start_moving),
01051 method(slider, start_sizing),
01052 method(slider, stop_moving_or_sizing),
01053 method(slider, unregister_all_events),
01054 method(slider, unregister_event),
01055
01056
01057 method(slider, allow_clicks_outside_thumb),
01058 method(slider, get_max_value),
01059 method(slider, get_min_value),
01060 method(slider, get_min_max_values),
01061 method(slider, get_orientation),
01062 method(slider, get_thumb_texture),
01063 method(slider, get_value),
01064 method(slider, get_value_step),
01065 method(slider, set_max_value),
01066 method(slider, set_min_value),
01067 method(slider, set_min_max_values),
01068 method(slider, set_orientation),
01069 method(slider, set_thumb_texture),
01070 method(slider, set_value),
01071 method(slider, set_value_step),
01072
01073 {0,0}
01074 };
01075
01076 const char lua_layered_region::className[] = "LayeredRegion";
01077 const char* lua_layered_region::classList[] = {"LayeredRegion",
01078 "Texture", "FontString", 0
01079 };
01080 Lunar<lua_layered_region>::RegType lua_layered_region::methods[] = {
01081 {"dt", &lua_layered_region::get_data_table},
01082 {0,0}
01083 };
01084
01085 const char lua_texture::className[] = "Texture";
01086 const char* lua_texture::classList[] = {"Texture", 0};
01087 Lunar<lua_texture>::RegType lua_texture::methods[] = {
01088 {"dt", &lua_texture::get_data_table},
01089
01090
01091 method(texture, get_alpha),
01092 method(texture, get_name),
01093 method(texture, get_object_type),
01094 method(texture, is_object_type),
01095 method(texture, set_alpha),
01096
01097 method(texture, clear_all_points),
01098 method(texture, get_base),
01099 method(texture, get_bottom),
01100 method(texture, get_center),
01101 method(texture, get_height),
01102 method(texture, get_left),
01103 method(texture, get_num_point),
01104 method(texture, get_parent),
01105 method(texture, get_point),
01106 method(texture, get_right),
01107 method(texture, get_top),
01108 method(texture, get_width),
01109 method(texture, hide),
01110 method(texture, is_shown),
01111 method(texture, is_visible),
01112 method(texture, set_all_points),
01113 method(texture, set_height),
01114 method(texture, set_parent),
01115 method(texture, set_point),
01116 method(texture, set_rel_point),
01117 method(texture, set_width),
01118 method(texture, show),
01119
01120
01121 method(texture, get_draw_layer),
01122 method(texture, set_draw_layer),
01123
01124
01125 method(texture, get_blend_mode),
01126 method(texture, get_tex_coord),
01127 method(texture, get_tex_coord_modifies_rect),
01128 method(texture, get_texture),
01129 method(texture, get_vertex_color),
01130 method(texture, is_desaturated),
01131 method(texture, set_blend_mode),
01132 method(texture, set_desaturated),
01133 method(texture, set_gradient),
01134 method(texture, set_gradientAlpha),
01135 method(texture, set_tex_coord),
01136 method(texture, set_tex_coord_modifies_rect),
01137 method(texture, set_texture),
01138 method(texture, set_vertex_color),
01139
01140 {0,0}
01141 };
01142
01143 const char lua_font_string::className[] = "FontString";
01144 const char* lua_font_string::classList[] = {"FontString", 0};
01145 Lunar<lua_font_string>::RegType lua_font_string::methods[] = {
01146 {"dt", &lua_font_string::get_data_table},
01147
01148
01149 method(font_string, get_alpha),
01150 method(font_string, get_name),
01151 method(font_string, get_object_type),
01152 method(font_string, is_object_type),
01153 method(font_string, set_alpha),
01154
01155 method(font_string, clear_all_points),
01156 method(font_string, get_base),
01157 method(font_string, get_bottom),
01158 method(font_string, get_center),
01159 method(font_string, get_height),
01160 method(font_string, get_left),
01161 method(font_string, get_num_point),
01162 method(font_string, get_parent),
01163 method(font_string, get_point),
01164 method(font_string, get_right),
01165 method(font_string, get_top),
01166 method(font_string, get_width),
01167 method(font_string, hide),
01168 method(font_string, is_shown),
01169 method(font_string, is_visible),
01170 method(font_string, set_all_points),
01171 method(font_string, set_height),
01172 method(font_string, set_parent),
01173 method(font_string, set_point),
01174 method(font_string, set_rel_point),
01175 method(font_string, set_width),
01176 method(font_string, show),
01177
01178
01179 method(font_string, get_draw_layer),
01180 method(font_string, set_draw_layer),
01181
01182
01183 method(font_string, get_font),
01184 method(font_string, get_justify_h),
01185 method(font_string, get_justify_v),
01186 method(font_string, get_shadow_color),
01187 method(font_string, get_shadow_offset),
01188 method(font_string, get_spacing),
01189 method(font_string, get_text_color),
01190 method(font_string, set_font),
01191 method(font_string, set_justify_h),
01192 method(font_string, set_justify_v),
01193 method(font_string, set_shadow_color),
01194 method(font_string, set_shadow_offset),
01195 method(font_string, set_spacing),
01196 method(font_string, set_text_color),
01197 method(font_string, can_non_space_wrap),
01198 method(font_string, can_word_wrap),
01199 method(font_string, enable_formatting),
01200 method(font_string, get_string_height),
01201 method(font_string, get_string_width),
01202 method(font_string, get_text),
01203 method(font_string, is_formatting_enabled),
01204 method(font_string, set_non_space_wrap),
01205 method(font_string, set_text),
01206 method(font_string, set_word_wrap),
01207
01208 {0,0}
01209 };
01210 }