Blender V4.3
buttons_ops.cc File Reference
#include <cstdlib>
#include <cstring>
#include "MEM_guardedalloc.h"
#include "DNA_userdef_types.h"
#include "BLI_fileops.h"
#include "BLI_path_utils.hh"
#include "BLI_string.h"
#include "BLI_utildefines.h"
#include "BLT_translation.hh"
#include "BKE_appdir.hh"
#include "BKE_context.hh"
#include "BKE_main.hh"
#include "BKE_report.hh"
#include "BKE_screen.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_screen.hh"
#include "ED_undo.hh"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "UI_interface.hh"
#include "UI_resources.hh"
#include "buttons_intern.hh"

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 *)
 
void BUTTONS_OT_start_filter (wmOperatorType *ot)
 
static int buttons_clear_filter_exec (bContext *C, wmOperator *)
 
void BUTTONS_OT_clear_filter (wmOperatorType *ot)
 
Pin ID Operator
static int toggle_pin_exec (bContext *C, wmOperator *)
 
void BUTTONS_OT_toggle_pin (wmOperatorType *ot)
 
Context Menu Operator
static int context_menu_invoke (bContext *C, wmOperator *, const wmEvent *)
 
void BUTTONS_OT_context_menu (wmOperatorType *ot)
 
File Browse Operator
static int file_browse_exec (bContext *C, wmOperator *op)
 
static void file_browse_cancel (bContext *, 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)
 

Function Documentation

◆ buttons_clear_filter_exec()

static int buttons_clear_filter_exec ( bContext * C,
wmOperator *  )
static

◆ BUTTONS_OT_clear_filter()

◆ BUTTONS_OT_context_menu()

◆ BUTTONS_OT_directory_browse()

◆ BUTTONS_OT_file_browse()

◆ BUTTONS_OT_start_filter()

◆ BUTTONS_OT_toggle_pin()

◆ buttons_start_filter_exec()

static int buttons_start_filter_exec ( bContext * C,
wmOperator *  )
static

◆ context_menu_invoke()

static int context_menu_invoke ( bContext * C,
wmOperator * ,
const wmEvent *  )
static

◆ file_browse_cancel()

static void file_browse_cancel ( bContext * ,
wmOperator * op )
static

Definition at line 253 of file buttons_ops.cc.

References wmOperator::customdata, and MEM_freeN().

Referenced by BUTTONS_OT_directory_browse(), and BUTTONS_OT_file_browse().

◆ file_browse_exec()

◆ file_browse_invoke()

◆ toggle_pin_exec()