Blender V2.61 - r43446
Classes | Defines | Typedefs | Enumerations | Functions

wm_event_system.h File Reference

Go to the source code of this file.

Classes

struct  wmEventHandler

Defines

#define WM_HANDLER_CONTINUE   0
#define WM_HANDLER_BREAK   1
#define WM_HANDLER_HANDLED   2
#define WM_HANDLER_MODAL   4
#define WM_HANDLER_BLOCKING   1
#define WM_HANDLER_DO_FREE   2

Typedefs

typedef struct wmEventHandler wmEventHandler

Enumerations

enum  { WM_HANDLER_DEFAULT, WM_HANDLER_FILESELECT }

Functions

void wm_event_free_all (wmWindow *win)
void wm_event_free (wmEvent *event)
void wm_event_free_handler (wmEventHandler *handler)
void wm_event_do_handlers (bContext *C)
void wm_event_add_ghostevent (wmWindowManager *wm, wmWindow *win, int type, int time, void *customdata)
void wm_event_do_notifiers (bContext *C)
void wm_dropbox_free (void)
void wm_drags_check_ops (bContext *C, wmEvent *event)
void wm_drags_draw (bContext *C, wmWindow *win, rcti *rect)

Detailed Description

Definition in file wm_event_system.h.


Define Documentation

#define WM_HANDLER_BLOCKING   1

Definition at line 78 of file wm_event_system.h.

Referenced by wm_handlers_do().

#define WM_HANDLER_BREAK   1
#define WM_HANDLER_CONTINUE   0
#define WM_HANDLER_DO_FREE   2

Definition at line 80 of file wm_event_system.h.

Referenced by WM_event_remove_ui_handler(), and wm_handlers_do().

#define WM_HANDLER_HANDLED   2

Definition at line 37 of file wm_event_system.h.

Referenced by wm_handler_operator_call().

#define WM_HANDLER_MODAL   4

Typedef Documentation


Enumeration Type Documentation

anonymous enum
Enumerator:
WM_HANDLER_DEFAULT 
WM_HANDLER_FILESELECT 

Definition at line 85 of file wm_event_system.h.


Function Documentation

void wm_drags_check_ops ( bContext C,
wmEvent event 
)
void wm_drags_draw ( bContext C,
wmWindow win,
rcti rect 
)
void wm_dropbox_free ( void  )
void wm_event_add_ghostevent ( wmWindowManager wm,
wmWindow win,
int  type,
int  time,
void *  customdata 
)
void wm_event_do_handlers ( bContext C)

Definition at line 1856 of file wm_event_system.c.

References wmWindow::addmousemove, bScreen::animtimer, area_event_inside(), bScreen::areabase, BLI_in_rcti(), BLI_remlink(), RenderData::cfra, CTX_data_main(), CTX_data_scene_set(), CTX_wm_area_set(), CTX_wm_manager(), CTX_wm_region_set(), CTX_wm_screen_set(), CTX_wm_window(), CTX_wm_window_set(), ED_screen_animation_play(), ED_screen_set_subwinactive(), ED_update_for_newframe(), ELEM, wmWindow::eventstate, EVT_DROP, ListBase::first, FPS, G, G_DEBUG, wmWindow::handlers, ScrArea::handlers, ARegion::handlers, INBETWEEN_MOUSEMOVE, ISTIMER, KM_CLICK, KM_PRESS, KM_RELEASE, bScreen::mainwin, wmWindow::modalhandlers, MOUSEMOVE, NC_WINDOW, NDOF_MOTION, ARegion::next, ScrArea::next, wmWindow::next, NULL, PIL_check_seconds_timer(), wmEvent::prevclicktime, wmEvent::prevclickx, wmEvent::prevclicky, wmEvent::prevtype, wmEvent::prevval, wmEvent::prevx, wmEvent::prevy, wmWindow::queue, Scene::r, region_event_inside(), ScrArea::regionbase, bScreen::scene, wmWindow::screen, sound_scene_playing(), sound_sync_scene(), bScreen::subwinactive, ScrArea::totrct, TRUE, wmEvent::type, wmEvent::val, wmWindowManager::windows, ARegion::winrct, wm_action_not_handled(), wm_drags_check_ops(), wm_event_add(), WM_event_add_notifier(), wm_event_drag_test(), wm_event_free(), wm_event_free_all(), wm_event_inside_i(), wm_eventemulation(), WM_HANDLER_BREAK, WM_HANDLER_CONTINUE, wm_handlers_do(), WM_keyconfig_update(), wm_paintcursor_test(), wm_region_mouse_co(), wm_tweakevent_test(), wm_window_make_drawable(), wmEvent::x, and wmEvent::y.

Referenced by WM_main().

void wm_event_do_notifiers ( bContext C)
void wm_event_free ( wmEvent event)
void wm_event_free_all ( wmWindow win)
void wm_event_free_handler ( wmEventHandler handler)