|
Blender V5.0
|
#include <fmt/format.h>#include "BKE_blender_version.h"#include "BKE_context.hh"#include "BKE_global.hh"#include "BKE_layer.hh"#include "BKE_main.hh"#include "BKE_report.hh"#include "BKE_screen.hh"#include "BKE_workspace.hh"#include "BLI_listbase.h"#include "BLI_math_matrix.h"#include "BLI_math_vector.h"#include "BLI_rect.h"#include "BLI_string.h"#include "BLF_api.hh"#include "BLT_translation.hh"#include "DNA_space_types.h"#include "DNA_workspace_types.h"#include "ED_info.hh"#include "ED_screen_types.hh"#include "WM_api.hh"#include "UI_interface_layout.hh"#include "interface_intern.hh"Go to the source code of this file.
Macros | |
| #define | REPORT_BANNER_MAX_WIDTH (800.0f * UI_SCALE_FAC) |
Functions | |
| void | uiTemplateReportsBanner (uiLayout *layout, bContext *C) |
| static bool | uiTemplateInputStatusAzone (uiLayout *layout, const AZone *az, const ARegion *region) |
| static bool | uiTemplateInputStatusBorder (wmWindow *win, uiLayout *row) |
| static bool | uiTemplateInputStatusHeader (ARegion *region, uiLayout *row) |
| static bool | uiTemplateInputStatus3DView (bContext *C, uiLayout *row) |
| void | uiTemplateInputStatus (uiLayout *layout, bContext *C) |
| static std::string | ui_template_status_tooltip (bContext *C, void *, const blender::StringRef) |
| void | uiTemplateStatusInfo (uiLayout *layout, bContext *C) |
| #define REPORT_BANNER_MAX_WIDTH (800.0f * UI_SCALE_FAC) |
Definition at line 41 of file interface_template_status.cc.
Referenced by uiTemplateReportsBanner().
|
static |
Definition at line 370 of file interface_template_status.cc.
References BKE_blender_version_blendfile_string_from_values(), C, Main::colorspace, CTX_data_main(), Main::has_forward_compatibility_issues, Main::is_asset_edit_file, MainColorspace::is_missing_opencolorio_config, RPT_, and Main::versionfile.
Referenced by uiTemplateStatusInfo().
Definition at line 260 of file interface_template_status.cc.
References bScreen::active_region, uiLayout::alignment_set(), bScreen::areabase, ScrAreaMap::areabase, BKE_screen_find_area_xy(), BLI_rcti_isect_pt_v(), BLT_I18NCONTEXT_OPERATOR_DEFAULT, C, CTX_IFACE_, CTX_wm_screen(), CTX_wm_window(), CTX_wm_workspace(), uiBut::drawflag, wmWindow::eventstate, wmWindow::global_areas, i, blender::bke::WorkSpaceStatusItem::icon, blender::bke::WorkSpaceStatusItem::inverted, uiLayout::label(), blender::ui::Left, LISTBASE_FOREACH, uiLayout::row(), WorkSpace::runtime, uiLayout::separator(), blender::bke::WorkSpaceStatusItem::space_factor, SPACE_TYPE_ANY, SPACE_VIEW3D, ScrArea::spacetype, blender::bke::WorkSpaceStatusItem::text, UI_BUT_ICON_INVERT, ui_event_icon_offset(), uiItemL_ex(), uiTemplateInputStatus3DView(), uiTemplateInputStatusAzone(), uiTemplateInputStatusBorder(), uiTemplateInputStatusHeader(), WM_window_cursor_keymap_status_get(), WM_window_modal_keymap_status_draw(), and wmEvent::xy.
Definition at line 227 of file interface_template_status.cc.
References C, CTX_data_active_object(), fabsf, IFACE_, is_negative_m4(), uiLayout::label(), Line, Object::scale, and uiLayout::separator().
Referenced by uiTemplateInputStatus().
|
static |
Definition at line 153 of file interface_template_status.cc.
References AZONE_AREA, AZONE_REGION, IFACE_, uiLayout::label(), ARegion::runtime, uiLayout::separator(), AZone::type, and ui_event_icon_offset().
Referenced by uiTemplateInputStatus().
Definition at line 186 of file interface_template_status.cc.
References BLI_rcti_isect_pt_v(), BLI_rcti_pad(), wmWindow::eventstate, IFACE_, uiLayout::label(), pad, uiLayout::separator(), U, UI_SCALE_FAC, WM_window_screen_rect_calc(), and wmEvent::xy.
Referenced by uiTemplateInputStatus().
Definition at line 211 of file interface_template_status.cc.
References IFACE_, uiLayout::label(), ARegion::regiontype, RGN_TYPE_HEADER, and uiLayout::separator().
Referenced by uiTemplateInputStatus().
Definition at line 43 of file interface_template_status.cc.
References uiLayout::absolute(), add_v3_uchar_clamped(), BKE_reports_last_displayable(), BLF_width(), uiLayout::block(), But, C, uiBut::col, copy_v3_v3_uchar(), copy_v4_v4_uchar(), CTX_wm_reports(), wmTimer::customdata, ReportTimerInfo::flash_progress, blender::wm::InvokeRegionWin, Report::len, max_ii(), Report::message, min_ii(), blender::ui::None, REPORT_BANNER_MAX_WIDTH, ReportList::reporttimer, Roundbox, SPACE_INFO, TIP_, Report::type, UI_block_align_begin(), UI_block_align_end(), UI_block_emboss_get(), UI_block_emboss_set(), UI_fontstyle_set(), UI_GetThemeColorType4ubv(), UI_icon_colorid_from_report_type(), UI_icon_from_report_type(), UI_SCALE_FAC, UI_style_get(), UI_text_colorid_from_report_type(), UI_UNIT_X, UI_UNIT_Y, uiDefBut(), uiDefButO(), uiDefIconButO(), uiFontStyle::uifont_id, uiStyle::widget, and ReportTimerInfo::widthfac.
Definition at line 403 of file interface_template_status.cc.
References uiLayout::absolute(), BKE_main_has_issues(), BLF_width(), BLI_str_format_integer_unit(), uiLayout::block(), But, uiBlock::buttons, C, uiBut::col, Main::colorspace, copy_v4_v4_uchar(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_manager(), ED_info_statusbar_string_ex(), uiLayout::emboss_set(), wmWindowManager::extensions_blocked, wmWindowManager::extensions_updates, G, G_FLAG_INTERNET_ALLOW, G_FLAG_INTERNET_OVERRIDE_PREF_OFFLINE, Main::has_forward_compatibility_issues, uiBut::icon_overlay_text, MainColorspace::is_missing_opencolorio_config, uiLayout::label(), Vector< T, InlineBufferCapacity, Allocator >::last(), max_ii(), blender::ui::None, uiLayout::op(), Roundbox, uiLayout::row(), RPT_, uiLayout::separator(), SPACE_INFO, STATUSBAR_SHOW_EXTENSIONS_UPDATES, STATUSBAR_SHOW_VERSION, IconTextOverlay::text, TH_INFO_WARNING_TEXT, TH_TEXT, TH_WARNING, U, UI_block_align_begin(), UI_block_align_end(), UI_block_emboss_get(), UI_block_emboss_set(), UI_but_func_tooltip_set(), UI_but_icon_indicator_color_set(), UI_fontstyle_set(), UI_GetThemeColor4ubv(), UI_GetThemeColorType4ubv(), UI_SCALE_FAC, UI_style_get(), ui_template_status_tooltip(), UI_UNIT_X, UI_UNIT_Y, uiDefBut(), uiDefIconBut(), uiFontStyle::uifont_id, uiStyle::widget, and WM_EXTENSIONS_UPDATE_CHECKING.