Blender V4.5
interface_template_running_jobs.cc File Reference
#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)

Macro Definition Documentation

◆ B_STOPANIM

#define B_STOPANIM   3

Definition at line 31 of file interface_template_running_jobs.cc.

Referenced by do_running_jobs(), and uiTemplateRunningJobs().

◆ B_STOPCAST

#define B_STOPCAST   2

Definition at line 30 of file interface_template_running_jobs.cc.

Referenced by do_running_jobs().

◆ B_STOPCLIP

#define B_STOPCLIP   6

Definition at line 34 of file interface_template_running_jobs.cc.

Referenced by do_running_jobs(), and uiTemplateRunningJobs().

◆ B_STOPCOMPO

#define B_STOPCOMPO   4

Definition at line 32 of file interface_template_running_jobs.cc.

Referenced by do_running_jobs(), and uiTemplateRunningJobs().

◆ B_STOPFILE

#define B_STOPFILE   7

Definition at line 35 of file interface_template_running_jobs.cc.

Referenced by do_running_jobs(), and uiTemplateRunningJobs().

◆ B_STOPOTHER

#define B_STOPOTHER   8

Definition at line 36 of file interface_template_running_jobs.cc.

Referenced by do_running_jobs(), and uiTemplateRunningJobs().

◆ B_STOPRENDER

#define B_STOPRENDER   1

Definition at line 29 of file interface_template_running_jobs.cc.

Referenced by do_running_jobs(), and uiTemplateRunningJobs().

◆ B_STOPSEQ

#define B_STOPSEQ   5

Definition at line 33 of file interface_template_running_jobs.cc.

Referenced by do_running_jobs(), and uiTemplateRunningJobs().

Function Documentation

◆ do_running_jobs()

◆ progress_tooltip_func()

◆ uiTemplateRunningJobs()

void uiTemplateRunningJobs ( uiLayout * layout,
bContext * C )

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(), uiTemplateRunningJobs(), 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.

Referenced by uiTemplateGpencilModifier(), and uiTemplateRunningJobs().