Blender V2.61 - r43446
Functions

wm_gesture.c File Reference

#include "DNA_screen_types.h"
#include "DNA_vec_types.h"
#include "DNA_userdef_types.h"
#include "DNA_windowmanager_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_editVert.h"
#include "BLI_math.h"
#include "BLI_scanfill.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "WM_api.h"
#include "WM_types.h"
#include "wm.h"
#include "wm_event_system.h"
#include "wm_subwindow.h"
#include "wm_draw.h"
#include "BIF_gl.h"
#include "BIF_glutil.h"

Go to the source code of this file.

Functions

wmGestureWM_gesture_new (bContext *C, wmEvent *event, int type)
void WM_gesture_end (bContext *C, wmGesture *gesture)
void WM_gestures_remove (bContext *C)
int wm_gesture_evaluate (wmGesture *gesture)
static void wm_gesture_draw_rect (wmGesture *gt)
static void wm_gesture_draw_line (wmGesture *gt)
static void wm_gesture_draw_circle (wmGesture *gt)
static void draw_filled_lasso (wmGesture *gt)
static void wm_gesture_draw_lasso (wmGesture *gt)
static void wm_gesture_draw_cross (wmWindow *win, wmGesture *gt)
void wm_gesture_draw (wmWindow *win)
void wm_gesture_tag_redraw (bContext *C)

Detailed Description

Definition in file wm_gesture.c.


Function Documentation

static void draw_filled_lasso ( wmGesture gt) [static]
void wm_gesture_draw ( wmWindow win)
static void wm_gesture_draw_circle ( wmGesture gt) [static]
static void wm_gesture_draw_cross ( wmWindow win,
wmGesture gt 
) [static]
static void wm_gesture_draw_lasso ( wmGesture gt) [static]
static void wm_gesture_draw_line ( wmGesture gt) [static]

Definition at line 189 of file wm_gesture.c.

References wmGesture::customdata, sdrawline(), rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.

Referenced by wm_gesture_draw().

static void wm_gesture_draw_rect ( wmGesture gt) [static]

Definition at line 165 of file wm_gesture.c.

References wmGesture::customdata, sdrawbox(), rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.

Referenced by wm_gesture_draw().

void WM_gesture_end ( bContext C,
wmGesture gesture 
)
int wm_gesture_evaluate ( wmGesture gesture)
wmGesture* WM_gesture_new ( bContext C,
wmEvent event,
int  type 
) [read]
void wm_gesture_tag_redraw ( bContext C)
void WM_gestures_remove ( bContext C)

Definition at line 117 of file wm_gesture.c.

References CTX_wm_window(), ListBase::first, wmWindow::gesture, and WM_gesture_end().

Referenced by ui_but_start_drag().