|
Blender V4.3
|
#include <cstdio>#include <cstring>#include "MEM_guardedalloc.h"#include "BLI_blenlib.h"#include "BLI_utildefines.h"#include "BLT_translation.hh"#include "BKE_context.hh"#include "BKE_screen.hh"#include "BKE_undo_system.hh"#include "ED_screen.hh"#include "ED_space_api.hh"#include "UI_interface.hh"#include "UI_resources.hh"#include "UI_view2d.hh"#include "BLO_read_write.hh"#include "RNA_access.hh"#include "WM_api.hh"#include "WM_message.hh"#include "WM_types.hh"Go to the source code of this file.
| void ED_spacetype_topbar | ( | ) |
Definition at line 276 of file space_topbar.cc.
References BKE_spacetype_register(), BLI_addhead(), ARegionType::draw, ED_KEYMAP_HEADER, ED_KEYMAP_UI, ED_KEYMAP_VIEW2D, ED_region_header_draw(), ED_region_header_layout(), HEADERY, ARegionType::init, ARegionType::keymapflag, ARegionType::layout, ARegionType::listener, MEM_callocN, ARegionType::message_subscribe, ARegionType::prefsizex, ARegionType::prefsizey, recent_files_menu_register(), ARegionType::regionid, RGN_TYPE_HEADER, RGN_TYPE_WINDOW, SPACE_TOPBAR, STRNCPY, topbar_create(), topbar_duplicate(), topbar_free(), topbar_header_listener(), topbar_header_region_init(), topbar_header_region_message_subscribe(), topbar_init(), topbar_keymap(), topbar_main_region_init(), topbar_main_region_listener(), topbar_operatortypes(), topbar_space_blend_write(), UI_UNIT_X, and undo_history_menu_register().
Referenced by ED_spacetypes_init().
Definition at line 187 of file space_topbar.cc.
References IFACE_, Menu::layout, uiItemL(), uiItemO(), uiItemS(), uiLayoutSetOperatorContext(), uiTemplateRecentFiles(), and WM_OP_INVOKE_DEFAULT.
Referenced by recent_files_menu_register().
|
static |
Definition at line 200 of file space_topbar.cc.
References BLT_I18NCONTEXT_DEFAULT_BPYRNA, MenuType::draw, MenuType::idname, MenuType::label, MEM_callocN, N_, recent_files_menu_draw(), STRNCPY, MenuType::translation_context, and WM_menutype_add().
Referenced by ED_spacetype_topbar().
Definition at line 40 of file space_topbar.cc.
References BLI_addtail(), MEM_callocN, SpaceTopBar::regionbase, RGN_ALIGN_RIGHT, RGN_ALIGN_TOP, RGN_SPLIT_PREV, RGN_TYPE_HEADER, RGN_TYPE_WINDOW, SPACE_TOPBAR, and SpaceTopBar::spacetype.
Referenced by ED_spacetype_topbar().
Definition at line 72 of file space_topbar.cc.
References MEM_dupallocN.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 67 of file space_topbar.cc.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 139 of file space_topbar.cc.
References wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), NC_SCENE, NC_SCREEN, NC_SPACE, NC_WM, NC_WORKSPACE, ND_JOB, ND_LAYER, ND_SCENEBROWSE, ND_SPACE_INFO, and params.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 101 of file space_topbar.cc.
References ED_region_header_init(), RGN_ALIGN_ENUM_FROM_MASK, RGN_ALIGN_RIGHT, and RGN_FLAG_DYNAMIC_SIZE.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 172 of file space_topbar.cc.
References ED_region_do_msg_notify_tag_redraw(), WorkSpace::id, wmMsgSubscribeValue::owner, params, and WM_msg_subscribe_rna_prop.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 70 of file space_topbar.cc.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 98 of file space_topbar.cc.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 82 of file space_topbar.cc.
References wmWindowManager::defaultconf, ELEM, wmKeyMap::flag, RGN_ALIGN_ENUM_FROM_MASK, RGN_ALIGN_RIGHT, RGN_FLAG_DYNAMIC_SIZE, RGN_TYPE_WINDOW, SPACE_EMPTY, UI_view2d_region_reinit(), V2D_COMMONVIEW_HEADER, WM_event_add_keymap_handler(), and WM_keymap_ensure().
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 109 of file space_topbar.cc.
References wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), NC_GPENCIL, NC_SCENE, NC_SPACE, NC_WM, ND_DATA, ND_HISTORY, ND_MODE, ND_SPACE_VIEW3D, and params.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 96 of file space_topbar.cc.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 271 of file space_topbar.cc.
References BLO_write_struct.
Referenced by ED_spacetype_topbar().
Definition at line 212 of file space_topbar.cc.
References BLT_I18NCONTEXT_OPERATOR_DEFAULT, CTX_IFACE_, CTX_wm_manager(), ListBase::last, Menu::layout, LISTBASE_FOREACH_BACKWARD, UndoStep::prev, UndoStack::step_active, UndoStack::steps, uiItemIntO(), uiLayoutColumn(), uiLayoutRow(), uiLayoutSetEnabled(), uiLayoutSplit(), and wmWindowManager::undo_stack.
Referenced by undo_history_menu_register().
|
static |
Definition at line 259 of file space_topbar.cc.
References BLT_I18NCONTEXT_DEFAULT_BPYRNA, MenuType::draw, MenuType::idname, MenuType::label, MEM_callocN, N_, STRNCPY, MenuType::translation_context, undo_history_draw_menu(), and WM_menutype_add().
Referenced by ED_spacetype_topbar().