Blender V4.3
space_userpref.cc File Reference
#include <cstdio>
#include <cstring>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "BKE_context.hh"
#include "BKE_screen.hh"
#include "ED_screen.hh"
#include "ED_space_api.hh"
#include "RNA_access.hh"
#include "RNA_enum_types.hh"
#include "WM_types.hh"
#include "UI_interface.hh"
#include "BLO_read_write.hh"

Go to the source code of this file.

Functions

static SpaceLinkuserpref_create (const ScrArea *area, const Scene *)
 
static void userpref_free (SpaceLink *)
 
static void userpref_init (wmWindowManager *, ScrArea *)
 
static SpaceLinkuserpref_duplicate (SpaceLink *sl)
 
static void userpref_main_region_init (wmWindowManager *wm, ARegion *region)
 
static void userpref_main_region_layout (const bContext *C, ARegion *region)
 
static void userpref_operatortypes ()
 
static void userpref_keymap (wmKeyConfig *)
 
static void userpref_header_region_init (wmWindowManager *, ARegion *region)
 
static void userpref_header_region_draw (const bContext *C, ARegion *region)
 
static void userpref_navigation_region_init (wmWindowManager *wm, ARegion *region)
 
static void userpref_navigation_region_draw (const bContext *C, ARegion *region)
 
static bool userpref_execute_region_poll (const RegionPollParams *params)
 
static void userpref_execute_region_init (wmWindowManager *wm, ARegion *region)
 
static void userpref_main_region_listener (const wmRegionListenerParams *)
 
static void userpref_header_listener (const wmRegionListenerParams *)
 
static void userpref_navigation_region_listener (const wmRegionListenerParams *)
 
static void userpref_execute_region_listener (const wmRegionListenerParams *)
 
static void userpref_space_blend_write (BlendWriter *writer, SpaceLink *sl)
 
void ED_spacetype_userpref ()
 

Function Documentation

◆ ED_spacetype_userpref()

◆ userpref_create()

◆ userpref_duplicate()

static SpaceLink * userpref_duplicate ( SpaceLink * sl)
static

Definition at line 88 of file space_userpref.cc.

References MEM_dupallocN.

Referenced by ED_spacetype_userpref().

◆ userpref_execute_region_init()

static void userpref_execute_region_init ( wmWindowManager * wm,
ARegion * region )
static

Definition at line 167 of file space_userpref.cc.

References ED_region_panels_init(), V2D_LOCKZOOM_X, and V2D_LOCKZOOM_Y.

Referenced by ED_spacetype_userpref().

◆ userpref_execute_region_listener()

static void userpref_execute_region_listener ( const wmRegionListenerParams * )
static

Definition at line 179 of file space_userpref.cc.

Referenced by ED_spacetype_userpref().

◆ userpref_execute_region_poll()

static bool userpref_execute_region_poll ( const RegionPollParams * params)
static

◆ userpref_free()

static void userpref_free ( SpaceLink * )
static

Definition at line 80 of file space_userpref.cc.

Referenced by ED_spacetype_userpref().

◆ userpref_header_listener()

static void userpref_header_listener ( const wmRegionListenerParams * )
static

Definition at line 175 of file space_userpref.cc.

Referenced by ED_spacetype_userpref().

◆ userpref_header_region_draw()

static void userpref_header_region_draw ( const bContext * C,
ARegion * region )
static

Definition at line 142 of file space_userpref.cc.

References ED_region_header().

Referenced by ED_spacetype_userpref().

◆ userpref_header_region_init()

static void userpref_header_region_init ( wmWindowManager * ,
ARegion * region )
static

Definition at line 137 of file space_userpref.cc.

References ED_region_header_init().

Referenced by ED_spacetype_userpref().

◆ userpref_init()

static void userpref_init ( wmWindowManager * ,
ScrArea *  )
static

Definition at line 86 of file space_userpref.cc.

Referenced by ED_spacetype_userpref().

◆ userpref_keymap()

static void userpref_keymap ( wmKeyConfig * )
static

Definition at line 134 of file space_userpref.cc.

Referenced by ED_spacetype_userpref().

◆ userpref_main_region_init()

static void userpref_main_region_init ( wmWindowManager * wm,
ARegion * region )
static

◆ userpref_main_region_layout()

◆ userpref_main_region_listener()

static void userpref_main_region_listener ( const wmRegionListenerParams * )
static

Definition at line 173 of file space_userpref.cc.

Referenced by ED_spacetype_userpref().

◆ userpref_navigation_region_draw()

static void userpref_navigation_region_draw ( const bContext * C,
ARegion * region )
static

Definition at line 155 of file space_userpref.cc.

References ED_region_panels().

Referenced by ED_spacetype_userpref().

◆ userpref_navigation_region_init()

static void userpref_navigation_region_init ( wmWindowManager * wm,
ARegion * region )
static

◆ userpref_navigation_region_listener()

static void userpref_navigation_region_listener ( const wmRegionListenerParams * )
static

Definition at line 177 of file space_userpref.cc.

Referenced by ED_spacetype_userpref().

◆ userpref_operatortypes()

static void userpref_operatortypes ( )
static

Definition at line 132 of file space_userpref.cc.

Referenced by ED_spacetype_userpref().

◆ userpref_space_blend_write()

static void userpref_space_blend_write ( BlendWriter * writer,
SpaceLink * sl )
static

Definition at line 181 of file space_userpref.cc.

References BLO_write_struct.

Referenced by ED_spacetype_userpref().