32static bool sequencer_grease_pencil_panel_poll(
const bContext *
C, PanelType * )
44 if (space_sequencer ==
nullptr) {
60 if (!scene || !space_sequencer) {
66 const bool show_split = (scene->
ed &&
75 if (ibuf !=
nullptr) {
91 pt->
draw = ED_gpencil_panel_standard;
92 pt->
poll = sequencer_grease_pencil_panel_poll;
#define STRNCPY_UTF8(dst, src)
#define BLT_I18NCONTEXT_DEFAULT_BPYRNA
Read Blender memory allocation and freeing.
static bool metadata_panel_context_poll(const bContext *C, PanelType *)
static void metadata_panel_context_draw(const bContext *C, Panel *panel)
bool check_show_imbuf(const SpaceSeq &sseq)
ImBuf * sequencer_ibuf_get(const bContext *C, int timeline_frame, const char *viewname)
void sequencer_buttons_register(ARegionType *art)
Scene * CTX_data_sequencer_scene(const bContext *C)
@ SEQ_EDIT_OVERLAY_FRAME_SHOW
SpaceSeq * CTX_wm_space_seq(const bContext *C)
@ SEQ_OVERLAY_FRAME_TYPE_REFERENCE
void IMB_freeImBuf(ImBuf *ibuf)
void * MEM_new_zeroed(size_t len, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1) ATTR_NONNULL(2)
void ED_region_image_metadata_panel_draw(ImBuf *ibuf, ui::Layout *layout)
void BLI_addtail(ListBase *listbase, void *vlink) ATTR_NONNULL(1)
ListBaseT< PanelType > paneltypes
eEditingOverlayFrameFlag overlay_frame_flag
char translation_context[BKE_ST_MAXNAME]
void(*) draw(const bContext *C, Panel *panel)
char category[BKE_ST_MAXNAME]
bool(*) poll(const bContext *C, PanelType *pt)
void(*) draw_header(const bContext *C, Panel *panel)
char idname[BKE_ST_MAXNAME]
char label[BKE_ST_MAXNAME]
eSpaceSeq_OverlayFrameType overlay_frame_type
eSpaceSeq_RegionType mainb