|
Blender V5.0
|
#include <cstring>#include "MEM_guardedalloc.h"#include "BLI_listbase.h"#include "BLI_string_utf8.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_interface_layout.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 287 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_UTF8, 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 189 of file space_topbar.cc.
References C, CTX_data_int_get(), IFACE_, blender::wm::InvokeDefault, uiLayout::label(), Menu::layout, uiLayout::op(), uiLayout::operator_context_set(), RNA_string_set(), uiLayout::separator(), U, and uiTemplateRecentFiles().
Referenced by recent_files_menu_register().
|
static |
Definition at line 212 of file space_topbar.cc.
References BLT_I18NCONTEXT_DEFAULT_BPYRNA, MenuType::draw, MenuType::idname, MenuType::label, MEM_callocN(), N_, recent_files_menu_draw(), STRNCPY_UTF8, MenuType::translation_context, and WM_menutype_add().
Referenced by ED_spacetype_topbar().
Definition at line 41 of file space_topbar.cc.
References ARegion::alignment, BKE_area_region_new(), BLI_addtail(), MEM_callocN(), SpaceTopBar::regionbase, ARegion::regiontype, 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 73 of file space_topbar.cc.
References MEM_dupallocN().
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 68 of file space_topbar.cc.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 141 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 103 of file space_topbar.cc.
References ARegion::alignment, ED_region_header_init(), ARegion::flag, RGN_ALIGN_ENUM_FROM_MASK, RGN_ALIGN_RIGHT, and RGN_FLAG_DYNAMIC_SIZE.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 174 of file space_topbar.cc.
References ED_region_do_msg_notify_tag_redraw(), WorkSpace::id, wmMsgSubscribeValue::notify, wmMsgSubscribeValue::owner, params, wmMsgSubscribeValue::user_data, and WM_msg_subscribe_rna_prop.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 71 of file space_topbar.cc.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 100 of file space_topbar.cc.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 83 of file space_topbar.cc.
References ARegion::alignment, ELEM, ARegion::flag, RGN_ALIGN_ENUM_FROM_MASK, RGN_ALIGN_RIGHT, RGN_FLAG_DYNAMIC_SIZE, RGN_TYPE_WINDOW, ARegion::runtime, wmWindowManager::runtime, SPACE_EMPTY, UI_view2d_region_reinit(), ARegion::v2d, V2D_COMMONVIEW_HEADER, ARegion::winx, ARegion::winy, WM_event_add_keymap_handler(), and WM_keymap_ensure().
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 111 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 98 of file space_topbar.cc.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 282 of file space_topbar.cc.
References BLO_write_struct.
Referenced by ED_spacetype_topbar().
Definition at line 224 of file space_topbar.cc.
References BLT_I18NCONTEXT_OPERATOR_DEFAULT, C, CTX_IFACE_, CTX_wm_manager(), uiLayout::enabled_set(), i, Menu::layout, LISTBASE_FOREACH_BACKWARD, uiLayout::op(), UndoStep::prev, RNA_int_set(), uiLayout::row(), wmWindowManager::runtime, split(), and uiLayout::split().
Referenced by undo_history_menu_register().
|
static |
Definition at line 270 of file space_topbar.cc.
References BLT_I18NCONTEXT_DEFAULT_BPYRNA, MenuType::draw, MenuType::idname, MenuType::label, MEM_callocN(), N_, STRNCPY_UTF8, MenuType::translation_context, undo_history_draw_menu(), and WM_menutype_add().
Referenced by ED_spacetype_topbar().