|
Blender V4.5
|
#include <fmt/format.h>#include "BKE_context.hh"#include "BKE_global.hh"#include "BKE_main.hh"#include "BLI_listbase.h"#include "BLI_string.h"#include "BLI_time.h"#include "BLI_timecode.h"#include "BLT_translation.hh"#include "ED_screen.hh"#include "WM_api.hh"#include "UI_interface.hh"#include "interface_intern.hh"Go to the source code of this file.
Classes | |
| struct | ProgressTooltip_Store |
Macros | |
| #define | B_STOPRENDER 1 |
| #define | B_STOPCAST 2 |
| #define | B_STOPANIM 3 |
| #define | B_STOPCOMPO 4 |
| #define | B_STOPSEQ 5 |
| #define | B_STOPCLIP 6 |
| #define | B_STOPFILE 7 |
| #define | B_STOPOTHER 8 |
Functions | |
| static void | do_running_jobs (bContext *C, void *, int event) |
| static std::string | progress_tooltip_func (bContext *, void *argN, const blender::StringRef) |
| void | uiTemplateRunningJobs (uiLayout *layout, bContext *C) |
| #define B_STOPANIM 3 |
Definition at line 31 of file interface_template_running_jobs.cc.
Referenced by do_running_jobs(), and uiTemplateRunningJobs().
| #define B_STOPCAST 2 |
Definition at line 30 of file interface_template_running_jobs.cc.
Referenced by do_running_jobs().
| #define B_STOPCLIP 6 |
Definition at line 34 of file interface_template_running_jobs.cc.
Referenced by do_running_jobs(), and uiTemplateRunningJobs().
| #define B_STOPCOMPO 4 |
Definition at line 32 of file interface_template_running_jobs.cc.
Referenced by do_running_jobs(), and uiTemplateRunningJobs().
| #define B_STOPFILE 7 |
Definition at line 35 of file interface_template_running_jobs.cc.
Referenced by do_running_jobs(), and uiTemplateRunningJobs().
| #define B_STOPOTHER 8 |
Definition at line 36 of file interface_template_running_jobs.cc.
Referenced by do_running_jobs(), and uiTemplateRunningJobs().
| #define B_STOPRENDER 1 |
Definition at line 29 of file interface_template_running_jobs.cc.
Referenced by do_running_jobs(), and uiTemplateRunningJobs().
| #define B_STOPSEQ 5 |
Definition at line 33 of file interface_template_running_jobs.cc.
Referenced by do_running_jobs(), and uiTemplateRunningJobs().
|
static |
Definition at line 38 of file interface_template_running_jobs.cc.
References B_STOPANIM, B_STOPCAST, B_STOPCLIP, B_STOPCOMPO, B_STOPFILE, B_STOPOTHER, B_STOPRENDER, B_STOPSEQ, C, CTX_data_scene(), CTX_wm_manager(), CTX_wm_screen(), G, WM_jobs_stop_all_from_owner(), WM_OP_INVOKE_SCREEN, and WM_operator_name_call().
Referenced by uiTemplateRunningJobs().
|
static |
Definition at line 73 of file interface_template_running_jobs.cc.
References BLI_time_now_seconds(), BLI_timecode_string_from_time_simple(), ProgressTooltip_Store::owner, progress, ProgressTooltip_Store::wm, WM_jobs_progress(), and WM_jobs_starttime().
Referenced by uiTemplateRunningJobs().
Definition at line 101 of file interface_template_running_jobs.cc.
References active, B_STOPANIM, B_STOPCLIP, B_STOPCOMPO, B_STOPFILE, B_STOPOTHER, B_STOPRENDER, B_STOPSEQ, C, CTX_data_main(), CTX_wm_area(), CTX_wm_manager(), do_running_jobs(), ED_screen_animation_no_scrub(), G, IFACE_, LISTBASE_FOREACH, MEM_freeN(), MEM_mallocN(), ProgressTooltip_Store::owner, progress, uiButProgress::progress_factor, progress_tooltip_func(), uiLayout::row(), RPT_, wmWindowManager::runtime, Main::scenes, SNPRINTF, SPACE_NODE, ScrArea::spacetype, TIP_, U, UI_block_func_handle_set(), UI_block_layout_set_current(), UI_BTYPE_BUT, UI_BTYPE_LABEL, UI_BTYPE_PROGRESS, UI_but_func_tooltip_set(), UI_fontstyle_string_width(), UI_FSTYLE_WIDGET, UI_UNIT_X, UI_UNIT_Y, uiDefIconButO(), uiDefIconTextBut(), uiLayoutGetBlock(), uiLayoutSetActive(), USER_RENDER_DISPLAY_NONE, ProgressTooltip_Store::wm, WM_JOB_TYPE_ANY, WM_JOB_TYPE_ASSET_LIBRARY_LOAD, WM_JOB_TYPE_CLIP_BUILD_PROXY, WM_JOB_TYPE_CLIP_PREFETCH, WM_JOB_TYPE_CLIP_SOLVE_CAMERA, WM_JOB_TYPE_CLIP_TRACK_MARKERS, WM_JOB_TYPE_COMPOSITE, WM_JOB_TYPE_DPAINT_BAKE, WM_JOB_TYPE_FILESEL_READDIR, WM_JOB_TYPE_OBJECT_BAKE, WM_JOB_TYPE_OBJECT_BAKE_TEXTURE, WM_JOB_TYPE_OBJECT_SIM_FLUID, WM_JOB_TYPE_OBJECT_SIM_OCEAN, WM_JOB_TYPE_POINTCACHE, WM_JOB_TYPE_RENDER, WM_JOB_TYPE_SEQ_BUILD_PREVIEW, WM_JOB_TYPE_SEQ_BUILD_PROXY, WM_JOB_TYPE_SEQ_DRAW_THUMBNAIL, WM_jobs_is_stopped(), WM_jobs_name(), WM_jobs_progress(), WM_jobs_test(), and WM_OP_INVOKE_DEFAULT.