Blender
V3.3
|
#include "DNA_defs.h"
#include "DNA_listBase.h"
#include "DNA_vec_types.h"
#include "DNA_view2d_types.h"
#include "DNA_ID.h"
Go to the source code of this file.
Classes | |
struct | bScreen |
struct | ScrVert |
struct | ScrEdge |
struct | ScrAreaMap |
struct | Panel_Runtime |
struct | Panel |
struct | PanelCategoryDyn |
struct | PanelCategoryStack |
struct | uiListDyn |
struct | uiList |
struct | TransformOrientation |
struct | uiPreview |
struct | ScrGlobalAreaData |
struct | ScrArea_Runtime |
struct | ScrArea |
struct | ARegion_Runtime |
struct | ARegion |
Macros | |
#define | AREAMAP_FROM_SCREEN(screen) ((ScrAreaMap *)&(screen)->vertbase) |
#define | AREAGRID 4 |
#define | AREAMINX 32 |
#define | HEADER_PADDING_Y 6 |
#define | HEADERY (20 + HEADER_PADDING_Y) |
#define | PNL_CATEGORY_FALLBACK "Misc" |
#define | UI_LIST_AUTO_SIZE_THRESHOLD 1 |
#define | UILST_FLT_SORT_MASK (((unsigned int)(UILST_FLT_SORT_REVERSE | UILST_FLT_SORT_LOCK)) - 1) |
#define | RGN_TYPE_NUM (RGN_TYPE_XR + 1) |
#define | RGN_TYPE_ANY -1 |
#define | RGN_TYPE_HAS_CATEGORY_MASK (1 << RGN_TYPE_UI) |
#define | RGN_TYPE_IS_HEADER_ANY(regiontype) |
#define | RGN_ALIGN_ENUM_FROM_MASK(align) ((align) & ((1 << 4) - 1)) |
#define | RGN_ALIGN_FLAG_FROM_MASK(align) ((align) & ~((1 << 4) - 1)) |
Typedefs | |
typedef struct bScreen | bScreen |
typedef struct ScrVert | ScrVert |
typedef struct ScrEdge | ScrEdge |
typedef struct ScrAreaMap | ScrAreaMap |
typedef struct Panel_Runtime | Panel_Runtime |
typedef struct Panel | Panel |
typedef enum uiPanelDataExpansion | uiPanelDataExpansion |
typedef struct PanelCategoryDyn | PanelCategoryDyn |
typedef struct PanelCategoryStack | PanelCategoryStack |
typedef void(* | uiListFreeRuntimeDataFunc) (struct uiList *ui_list) |
typedef struct uiListDyn | uiListDyn |
typedef struct uiList | uiList |
typedef struct TransformOrientation | TransformOrientation |
typedef struct uiPreview | uiPreview |
typedef struct ScrGlobalAreaData | ScrGlobalAreaData |
typedef enum GlobalAreaAlign | GlobalAreaAlign |
typedef struct ScrArea_Runtime | ScrArea_Runtime |
typedef struct ScrArea | ScrArea |
typedef struct ARegion_Runtime | ARegion_Runtime |
typedef struct ARegion | ARegion |
typedef enum eScreen_Redraws_Flag | eScreen_Redraws_Flag |
typedef enum eRegion_Type | eRegion_Type |
#define AREAGRID 4 |
Definition at line 541 of file DNA_screen_types.h.
#define AREAMAP_FROM_SCREEN | ( | screen | ) | ((ScrAreaMap *)&(screen)->vertbase) |
Definition at line 37 of file DNA_screen_types.h.
#define AREAMINX 32 |
Definition at line 542 of file DNA_screen_types.h.
#define HEADER_PADDING_Y 6 |
Definition at line 543 of file DNA_screen_types.h.
#define HEADERY (20 + HEADER_PADDING_Y) |
Definition at line 544 of file DNA_screen_types.h.
#define PNL_CATEGORY_FALLBACK "Misc" |
Definition at line 589 of file DNA_screen_types.h.
#define RGN_ALIGN_ENUM_FROM_MASK | ( | align | ) | ((align) & ((1 << 4) - 1)) |
Mask out flags so we can check the alignment.
Definition at line 693 of file DNA_screen_types.h.
#define RGN_ALIGN_FLAG_FROM_MASK | ( | align | ) | ((align) & ~((1 << 4) - 1)) |
Definition at line 694 of file DNA_screen_types.h.
#define RGN_TYPE_ANY -1 |
Definition at line 665 of file DNA_screen_types.h.
#define RGN_TYPE_HAS_CATEGORY_MASK (1 << RGN_TYPE_UI) |
Definition at line 668 of file DNA_screen_types.h.
#define RGN_TYPE_IS_HEADER_ANY | ( | regiontype | ) |
Definition at line 671 of file DNA_screen_types.h.
#define RGN_TYPE_NUM (RGN_TYPE_XR + 1) |
Definition at line 661 of file DNA_screen_types.h.
#define UI_LIST_AUTO_SIZE_THRESHOLD 1 |
Definition at line 606 of file DNA_screen_types.h.
#define UILST_FLT_SORT_MASK (((unsigned int)(UILST_FLT_SORT_REVERSE | UILST_FLT_SORT_LOCK)) - 1) |
Definition at line 635 of file DNA_screen_types.h.
typedef struct ARegion_Runtime ARegion_Runtime |
typedef enum eRegion_Type eRegion_Type |
regiontype, first two are the default set.
typedef enum eScreen_Redraws_Flag eScreen_Redraws_Flag |
typedef enum GlobalAreaAlign GlobalAreaAlign |
typedef struct Panel_Runtime Panel_Runtime |
typedef struct PanelCategoryDyn PanelCategoryDyn |
Notes on Panel Categories:
Clicking on a tab moves it to the front of region->panels_category_active, If the context changes so this tab is no longer displayed, then the first-most tab in ARegion.panels_category_active is used.
This way you can change modes and always have the tab you last clicked on.
typedef struct PanelCategoryStack PanelCategoryStack |
Region stack of active tabs.
typedef struct ScrArea_Runtime ScrArea_Runtime |
typedef struct ScrAreaMap ScrAreaMap |
typedef struct ScrGlobalAreaData ScrGlobalAreaData |
typedef struct TransformOrientation TransformOrientation |
Definition at line 237 of file DNA_screen_types.h.
typedef enum uiPanelDataExpansion uiPanelDataExpansion |
Used for passing expansion between instanced panel data and the panels themselves. There are 16 defines because the expansion data is typically stored in a short.
anonymous enum |
Definition at line 516 of file DNA_screen_types.h.
anonymous enum |
Enumerator | |
---|---|
SCREEN_DEPRECATED | |
SCREEN_COLLAPSE_STATUSBAR |
Definition at line 547 of file DNA_screen_types.h.
anonymous enum |
Enumerator | |
---|---|
SCREENNORMAL | |
SCREENMAXIMIZED | |
SCREENFULL |
Definition at line 553 of file DNA_screen_types.h.
anonymous enum |
Enumerator | |
---|---|
PNL_SELECT | |
PNL_UNUSED_1 | |
PNL_CLOSED | |
PNL_PIN | |
PNL_POPOVER | |
PNL_INSTANCED_LIST_ORDER_CHANGED | The panel has been drag-drop reordered and the instanced panel list needs to be rebuilt. |
Definition at line 576 of file DNA_screen_types.h.
anonymous enum |
Enumerator | |
---|---|
UILST_LAYOUT_DEFAULT | |
UILST_LAYOUT_COMPACT | |
UILST_LAYOUT_GRID | |
UILST_LAYOUT_BIG_PREVIEW_GRID |
Definition at line 592 of file DNA_screen_types.h.
anonymous enum |
Enumerator | |
---|---|
UILST_SCROLL_TO_ACTIVE_ITEM |
Definition at line 600 of file DNA_screen_types.h.
anonymous enum |
Enumerator | |
---|---|
UILST_FLT_ITEM |
Definition at line 611 of file DNA_screen_types.h.
anonymous enum |
Enumerator | |
---|---|
UILST_FLT_SHOW | |
UILST_FLT_EXCLUDE |
Definition at line 616 of file DNA_screen_types.h.
anonymous enum |
Definition at line 622 of file DNA_screen_types.h.
anonymous enum |
Enumerator | |
---|---|
RGN_ALIGN_NONE | |
RGN_ALIGN_TOP | |
RGN_ALIGN_BOTTOM | |
RGN_ALIGN_LEFT | |
RGN_ALIGN_RIGHT | |
RGN_ALIGN_HSPLIT | |
RGN_ALIGN_VSPLIT | |
RGN_ALIGN_FLOAT | |
RGN_ALIGN_QSPLIT | |
RGN_SPLIT_PREV |
Definition at line 676 of file DNA_screen_types.h.
anonymous enum |
Definition at line 697 of file DNA_screen_types.h.
anonymous enum |
Enumerator | |
---|---|
RGN_DRAW | |
RGN_DRAW_PARTIAL | |
RGN_DRAW_NO_REBUILD | |
RGN_DRAWING | |
RGN_REFRESH_UI | |
RGN_DRAW_EDITOR_OVERLAYS |
Definition at line 727 of file DNA_screen_types.h.
enum eRegion_Type |
regiontype, first two are the default set.
Definition at line 641 of file DNA_screen_types.h.
enum eScreen_Redraws_Flag |
Enumerator | |
---|---|
TIME_REGION | |
TIME_ALL_3D_WIN | |
TIME_ALL_ANIM_WIN | |
TIME_ALL_BUTS_WIN | |
TIME_SEQ | |
TIME_ALL_IMAGE_WIN | |
TIME_NODES | |
TIME_CLIPS | |
TIME_FOLLOW |
Definition at line 560 of file DNA_screen_types.h.
enum GlobalAreaAlign |
Enumerator | |
---|---|
GLOBAL_AREA_ALIGN_TOP | |
GLOBAL_AREA_ALIGN_BOTTOM |
Definition at line 354 of file DNA_screen_types.h.
enum GlobalAreaFlag |
Enumerator | |
---|---|
GLOBAL_AREA_IS_HIDDEN |
Definition at line 350 of file DNA_screen_types.h.
enum uiPanelDataExpansion |
Used for passing expansion between instanced panel data and the panels themselves. There are 16 defines because the expansion data is typically stored in a short.
Definition at line 186 of file DNA_screen_types.h.