35static bool sequencer_grease_pencil_panel_poll(
const bContext *
C, PanelType * )
47 if (space_sequencer ==
nullptr) {
65 const bool show_split = (scene->
ed &&
74 if (ibuf !=
nullptr) {
90 pt->
draw = ED_gpencil_panel_standard;
91 pt->
poll = sequencer_grease_pencil_panel_poll;
SpaceSeq * CTX_wm_space_seq(const bContext *C)
Scene * CTX_data_sequencer_scene(const bContext *C)
void BLI_addtail(ListBase *listbase, void *vlink) ATTR_NONNULL(1)
#define STRNCPY_UTF8(dst, src)
#define BLT_I18NCONTEXT_DEFAULT_BPYRNA
@ SEQ_EDIT_OVERLAY_FRAME_SHOW
@ SEQ_OVERLAY_FRAME_TYPE_REFERENCE
void ED_region_image_metadata_panel_draw(ImBuf *ibuf, uiLayout *layout)
void IMB_freeImBuf(ImBuf *ibuf)
Read Guarded memory(de)allocation.
void * MEM_callocN(size_t len, const char *str)
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)
void(* draw)(const bContext *C, Panel *panel)
char idname[BKE_ST_MAXNAME]
bool(* poll)(const bContext *C, PanelType *pt)
char translation_context[BKE_ST_MAXNAME]
char category[BKE_ST_MAXNAME]
char label[BKE_ST_MAXNAME]
void(* draw_header)(const bContext *C, Panel *panel)