Blender  V3.3
Classes
buttons_ops.c File Reference
#include <stdlib.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "DNA_userdef_types.h"
#include "BLI_fileops.h"
#include "BLI_path_util.h"
#include "BLI_string.h"
#include "BLI_utildefines.h"
#include "BLT_translation.h"
#include "BKE_context.h"
#include "BKE_main.h"
#include "BKE_report.h"
#include "BKE_screen.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_screen.h"
#include "ED_undo.h"
#include "RNA_access.h"
#include "RNA_prototypes.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "buttons_intern.h"

Go to the source code of this file.

Classes

struct  FileBrowseOp
 

Functions

Start / Clear Search Filter Operators
Note
Almost a duplicate of the file browser operator FILE_OT_start_filter.
static int buttons_start_filter_exec (bContext *C, wmOperator *UNUSED(op))
 
void BUTTONS_OT_start_filter (struct wmOperatorType *ot)
 
static int buttons_clear_filter_exec (bContext *C, wmOperator *UNUSED(op))
 
void BUTTONS_OT_clear_filter (struct wmOperatorType *ot)
 
Pin ID Operator
static int toggle_pin_exec (bContext *C, wmOperator *UNUSED(op))
 
void BUTTONS_OT_toggle_pin (wmOperatorType *ot)
 
Context Menu Operator
static int context_menu_invoke (bContext *C, wmOperator *UNUSED(op), const wmEvent *UNUSED(event))
 
void BUTTONS_OT_context_menu (wmOperatorType *ot)
 

File Browse Operator

typedef struct FileBrowseOp FileBrowseOp
 
static int file_browse_exec (bContext *C, wmOperator *op)
 
static void file_browse_cancel (bContext *UNUSED(C), wmOperator *op)
 
static int file_browse_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
void BUTTONS_OT_file_browse (wmOperatorType *ot)
 
void BUTTONS_OT_directory_browse (wmOperatorType *ot)
 

Typedef Documentation

◆ FileBrowseOp

typedef struct FileBrowseOp FileBrowseOp

Function Documentation

◆ buttons_clear_filter_exec()

static int buttons_clear_filter_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ BUTTONS_OT_clear_filter()

void BUTTONS_OT_clear_filter ( struct wmOperatorType ot)

◆ BUTTONS_OT_context_menu()

void BUTTONS_OT_context_menu ( wmOperatorType ot)

◆ BUTTONS_OT_directory_browse()

void BUTTONS_OT_directory_browse ( struct wmOperatorType ot)

◆ BUTTONS_OT_file_browse()

void BUTTONS_OT_file_browse ( wmOperatorType ot)

◆ BUTTONS_OT_start_filter()

void BUTTONS_OT_start_filter ( struct wmOperatorType ot)

◆ BUTTONS_OT_toggle_pin()

void BUTTONS_OT_toggle_pin ( wmOperatorType ot)

◆ buttons_start_filter_exec()

static int buttons_start_filter_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ context_menu_invoke()

static int context_menu_invoke ( bContext C,
wmOperator UNUSEDop,
const wmEvent UNUSEDevent 
)
static

◆ file_browse_cancel()

static void file_browse_cancel ( bContext UNUSEDC,
wmOperator op 
)
static

Definition at line 256 of file buttons_ops.c.

References wmOperator::customdata, MEM_freeN, and NULL.

Referenced by BUTTONS_OT_directory_browse(), and BUTTONS_OT_file_browse().

◆ file_browse_exec()

static int file_browse_exec ( bContext C,
wmOperator op 
)
static

◆ file_browse_invoke()

static int file_browse_invoke ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ toggle_pin_exec()

static int toggle_pin_exec ( bContext C,
wmOperator UNUSEDop 
)
static