Blender
V3.3
|
#include <stdio.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "BLO_readfile.h"
#include "BLT_translation.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_screen.h"
#include "BKE_undo_system.h"
#include "ED_screen.h"
#include "ED_space_api.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "UI_view2d.h"
#include "RNA_access.h"
#include "WM_api.h"
#include "WM_message.h"
#include "WM_types.h"
Go to the source code of this file.
Definition at line 285 of file space_topbar.c.
References BKE_spacetype_register(), BKE_ST_MAXNAME, 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, usdtokens::st(), 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(), UI_UNIT_X, and undo_history_menu_register().
Referenced by ED_spacetypes_init().
Definition at line 195 of file space_topbar.c.
References BLI_listbase_is_empty(), BLI_path_basename(), BLO_has_bfile_extension(), file, RecentFile::filepath, G, IFACE_, Menu::layout, RecentFile::next, NULL, ptr, RNA_boolean_set(), RNA_string_set(), uiItemFullO(), uiItemL(), uiLayoutSetOperatorContext(), and WM_OP_INVOKE_DEFAULT.
Referenced by recent_files_menu_register().
Definition at line 215 of file space_topbar.c.
References BLT_I18NCONTEXT_DEFAULT_BPYRNA, MenuType::draw, MenuType::idname, MenuType::label, MEM_callocN, N_, recent_files_menu_draw(), MenuType::translation_context, and WM_menutype_add().
Referenced by ED_spacetype_topbar().
Definition at line 39 of file space_topbar.c.
References ARegion::alignment, 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 75 of file space_topbar.c.
References MEM_dupallocN.
Referenced by ED_spacetype_topbar().
Definition at line 66 of file space_topbar.c.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 146 of file space_topbar.c.
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 108 of file space_topbar.c.
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 179 of file space_topbar.c.
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 71 of file space_topbar.c.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 103 of file space_topbar.c.
Referenced by ED_spacetype_topbar().
|
static |
Definition at line 85 of file space_topbar.c.
References ARegion::alignment, wmWindowManager::defaultconf, ELEM, ARegion::flag, ARegion::handlers, RGN_ALIGN_ENUM_FROM_MASK, RGN_ALIGN_RIGHT, RGN_FLAG_DYNAMIC_SIZE, 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 116 of file space_topbar.c.
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().
Definition at line 99 of file space_topbar.c.
Referenced by ED_spacetype_topbar().
Definition at line 227 of file space_topbar.c.
References C, CTX_wm_manager(), IFACE_, ListBase::last, Menu::layout, NULL, blender::io::alembic::split(), UndoStack::step_active, UndoStack::steps, uiItemIntO(), uiLayoutColumn(), uiLayoutRow(), uiLayoutSetEnabled(), uiLayoutSplit(), and wmWindowManager::undo_stack.
Referenced by undo_history_menu_register().
Definition at line 273 of file space_topbar.c.
References BLT_I18NCONTEXT_DEFAULT_BPYRNA, MenuType::draw, MenuType::idname, MenuType::label, MEM_callocN, N_, MenuType::translation_context, undo_history_draw_menu(), and WM_menutype_add().
Referenced by ED_spacetype_topbar().