|
Blender
V2.93
|
#include <stdio.h>#include <string.h>#include "MEM_guardedalloc.h"#include "BLI_blenlib.h"#include "BLI_utildefines.h"#include "BKE_context.h"#include "BKE_screen.h"#include "ED_screen.h"#include "ED_space_api.h"#include "RNA_access.h"#include "RNA_enum_types.h"#include "WM_api.h"#include "WM_types.h"#include "UI_interface.h"Go to the source code of this file.
| void ED_spacetype_userpref | ( | void | ) |
Definition at line 203 of file space_userpref.c.
References BKE_spacetype_register(), BKE_ST_MAXNAME, BLI_addhead(), SpaceType::create, ARegionType::draw, SpaceType::duplicate, ED_KEYMAP_HEADER, ED_KEYMAP_NAVBAR, ED_KEYMAP_UI, ED_KEYMAP_VIEW2D, ED_region_panels_draw(), ED_region_panels_layout(), SpaceType::free, HEADERY, ARegionType::init, SpaceType::init, SpaceType::keymap, ARegionType::keymapflag, ARegionType::layout, ARegionType::listener, MEM_callocN, SpaceType::name, SpaceType::operatortypes, ARegionType::prefsizex, ARegionType::prefsizey, ARegionType::regionid, SpaceType::regiontypes, RGN_TYPE_EXECUTE, RGN_TYPE_HEADER, RGN_TYPE_NAV_BAR, RGN_TYPE_WINDOW, SPACE_USERPREF, SpaceType::spaceid, UI_NAVIGATION_REGION_WIDTH, userpref_create(), userpref_duplicate(), userpref_execute_region_init(), userpref_execute_region_listener(), userpref_free(), userpref_header_listener(), userpref_header_region_draw(), userpref_header_region_init(), userpref_init(), userpref_keymap(), userpref_main_region_init(), userpref_main_region_layout(), userpref_main_region_listener(), userpref_navigation_region_draw(), userpref_navigation_region_init(), userpref_navigation_region_listener(), and userpref_operatortypes().
Referenced by ED_spacetypes_init().
Definition at line 48 of file space_userpref.c.
References ARegion::alignment, blender::compositor::area(), BLI_addtail(), ARegion::flag, MEM_callocN, SpaceUserPref::regionbase, ARegion::regiontype, RGN_ALIGN_BOTTOM, RGN_ALIGN_LEFT, RGN_FLAG_DYNAMIC_SIZE, RGN_FLAG_HIDDEN, RGN_SPLIT_PREV, RGN_TYPE_EXECUTE, RGN_TYPE_HEADER, RGN_TYPE_NAV_BAR, RGN_TYPE_WINDOW, ARegion::sizex, SPACE_USERPREF, SpaceUserPref::spacetype, UI_DPI_FAC, UI_NARROW_NAVIGATION_REGION_WIDTH, and UI_NAVIGATION_REGION_WIDTH.
Referenced by ED_spacetype_userpref().
Definition at line 104 of file space_userpref.c.
References MEM_dupallocN.
Referenced by ED_spacetype_userpref().
|
static |
Definition at line 180 of file space_userpref.c.
References ED_region_panels_init(), View2D::keepzoom, ARegion::v2d, V2D_LOCKZOOM_X, and V2D_LOCKZOOM_Y.
Referenced by ED_spacetype_userpref().
|
static |
Definition at line 198 of file space_userpref.c.
Referenced by ED_spacetype_userpref().
|
static |
Definition at line 94 of file space_userpref.c.
Referenced by ED_spacetype_userpref().
|
static |
Definition at line 190 of file space_userpref.c.
Referenced by ED_spacetype_userpref().
Definition at line 161 of file space_userpref.c.
References C, and ED_region_header().
Referenced by ED_spacetype_userpref().
|
static |
Definition at line 156 of file space_userpref.c.
References ED_region_header_init().
Referenced by ED_spacetype_userpref().
|
static |
Definition at line 100 of file space_userpref.c.
Referenced by ED_spacetype_userpref().
|
static |
Definition at line 151 of file space_userpref.c.
Referenced by ED_spacetype_userpref().
|
static |
Definition at line 114 of file space_userpref.c.
References ED_region_panels_init(), View2D::scroll, ARegion::v2d, V2D_SCROLL_RIGHT, and V2D_SCROLL_VERTICAL_HIDE.
Referenced by ED_spacetype_userpref().
Definition at line 125 of file space_userpref.c.
References BLI_assert, BLI_str_tolower_ascii(), C, ED_region_panels_layout_ex(), EnumPropertyItem::identifier, NULL, ARegionType::paneltypes, RNA_enum_from_value(), rna_enum_preference_section_items, STRNCPY, and ARegion::type.
Referenced by ED_spacetype_userpref().
|
static |
Definition at line 186 of file space_userpref.c.
Referenced by ED_spacetype_userpref().
Definition at line 174 of file space_userpref.c.
References C, and ED_region_panels().
Referenced by ED_spacetype_userpref().
|
static |
Definition at line 167 of file space_userpref.c.
References ED_region_panels_init(), View2D::scroll, ARegion::v2d, V2D_SCROLL_RIGHT, and V2D_SCROLL_VERTICAL_HIDE.
Referenced by ED_spacetype_userpref().
|
static |
Definition at line 194 of file space_userpref.c.
Referenced by ED_spacetype_userpref().
|
static |
Definition at line 147 of file space_userpref.c.
Referenced by ED_spacetype_userpref().