Blender V2.61 - r43446
Classes | Typedefs | Functions

interface_ops.c File Reference

#include <stdio.h>
#include <math.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_text_types.h"
#include "BLI_blenlib.h"
#include "BLI_math_color.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_screen.h"
#include "BKE_global.h"
#include "BKE_text.h"
#include "BKE_report.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "BIF_gl.h"
#include "UI_interface.h"
#include "interface_intern.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_screen.h"
#include "BKE_main.h"
#include "BLI_ghash.h"

Go to the source code of this file.

Classes

struct  Eyedropper

Typedefs

typedef struct Eyedropper Eyedropper

Functions

static int eyedropper_init (bContext *C, wmOperator *op)
static void eyedropper_exit (bContext *C, wmOperator *op)
static int eyedropper_cancel (bContext *C, wmOperator *op)
static void eyedropper_sample (bContext *C, Eyedropper *eye, int mx, int my)
static int eyedropper_modal (bContext *C, wmOperator *op, wmEvent *event)
static int eyedropper_invoke (bContext *C, wmOperator *op, wmEvent *UNUSED(event))
static int eyedropper_exec (bContext *C, wmOperator *op)
static int eyedropper_poll (bContext *C)
static void UI_OT_eyedropper (wmOperatorType *ot)
static int reset_default_theme_exec (bContext *C, wmOperator *UNUSED(op))
static void UI_OT_reset_default_theme (wmOperatorType *ot)
static int copy_data_path_button_exec (bContext *C, wmOperator *UNUSED(op))
static void UI_OT_copy_data_path_button (wmOperatorType *ot)
static int reset_default_button_poll (bContext *C)
static int reset_default_button_exec (bContext *C, wmOperator *op)
static void UI_OT_reset_default_button (wmOperatorType *ot)
static int copy_to_selected_list (bContext *C, PointerRNA *ptr, ListBase *lb)
static int copy_to_selected_button_poll (bContext *C)
static int copy_to_selected_button_exec (bContext *C, wmOperator *op)
static void UI_OT_copy_to_selected_button (wmOperatorType *ot)
static int reports_to_text_poll (bContext *C)
static int reports_to_text_exec (bContext *C, wmOperator *UNUSED(op))
static void UI_OT_reports_to_textblock (wmOperatorType *ot)
void UI_buttons_operatortypes (void)

Detailed Description

Definition in file interface_ops.c.


Typedef Documentation

typedef struct Eyedropper Eyedropper

Function Documentation

static int copy_data_path_button_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int copy_to_selected_button_exec ( bContext C,
wmOperator op 
) [static]
static int copy_to_selected_button_poll ( bContext C) [static]
static int copy_to_selected_list ( bContext C,
PointerRNA ptr,
ListBase lb 
) [static]
static int eyedropper_cancel ( bContext C,
wmOperator op 
) [static]

Definition at line 97 of file interface_ops.c.

References eyedropper_exit(), and OPERATOR_CANCELLED.

Referenced by eyedropper_modal(), and UI_OT_eyedropper().

static int eyedropper_exec ( bContext C,
wmOperator op 
) [static]

Definition at line 166 of file interface_ops.c.

References eyedropper_exit(), eyedropper_init(), OPERATOR_CANCELLED, and OPERATOR_FINISHED.

Referenced by UI_OT_eyedropper().

static void eyedropper_exit ( bContext C,
wmOperator op 
) [static]
static int eyedropper_init ( bContext C,
wmOperator op 
) [static]
static int eyedropper_invoke ( bContext C,
wmOperator op,
wmEvent UNUSEDevent 
) [static]
static int eyedropper_modal ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static int eyedropper_poll ( bContext C) [static]

Definition at line 182 of file interface_ops.c.

References CTX_wm_window().

Referenced by UI_OT_eyedropper().

static void eyedropper_sample ( bContext C,
Eyedropper eye,
int  mx,
int  my 
) [static]
static int reports_to_text_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int reports_to_text_poll ( bContext C) [static]

Definition at line 442 of file interface_ops.c.

References CTX_wm_reports(), and NULL.

Referenced by UI_OT_reports_to_textblock().

static int reset_default_button_exec ( bContext C,
wmOperator op 
) [static]
static int reset_default_button_poll ( bContext C) [static]
static int reset_default_theme_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
void UI_buttons_operatortypes ( void  )
static void UI_OT_copy_data_path_button ( wmOperatorType ot) [static]
static void UI_OT_copy_to_selected_button ( wmOperatorType ot) [static]
static void UI_OT_eyedropper ( wmOperatorType ot) [static]
static void UI_OT_reports_to_textblock ( wmOperatorType ot) [static]
static void UI_OT_reset_default_button ( wmOperatorType ot) [static]
static void UI_OT_reset_default_theme ( wmOperatorType ot) [static]