110 const float prev_y_min = region->
v2d.
cur.
ymin;
121 region->
v2d.
cur.
ymax = prev_y_min + cur_y_range;
struct SpaceConsole * CTX_wm_space_console(const bContext *C)
void BKE_spacetype_register(struct SpaceType *st)
BLI_INLINE bool BLI_listbase_is_empty(const struct ListBase *lb)
void BLI_addhead(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
BLI_INLINE void BLI_listbase_clear(struct ListBase *lb)
void BLI_addtail(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
BLI_INLINE float BLI_rctf_size_y(const struct rctf *rct)
size_t BLI_snprintf(char *__restrict dst, size_t maxncpy, const char *__restrict format,...) ATTR_NONNULL(1
void ED_region_header(const struct bContext *C, struct ARegion *region)
void ED_region_tag_redraw(struct ARegion *region)
void ED_region_header_init(struct ARegion *region)
Read Guarded memory(de)allocation.
void UI_ThemeClearColor(int colorid)
void UI_view2d_region_reinit(struct View2D *v2d, short type, int winx, int winy)
void UI_view2d_view_restore(const struct bContext *C)
char char UI_view2d_mouse_in_scrollers(const struct ARegion *region, const struct View2D *v2d, const int xy[2]) ATTR_NONNULL(1
void UI_view2d_view_ortho(const struct View2D *v2d)
void UI_view2d_scrollers_draw(struct View2D *v2d, const struct rcti *mask_custom)
void console_textview_main(SpaceConsole *sc, const ARegion *region)
void CONSOLE_OT_insert(struct wmOperatorType *ot)
void CONSOLE_OT_unindent(struct wmOperatorType *ot)
void CONSOLE_OT_copy(struct wmOperatorType *ot)
void console_textview_update_rect(SpaceConsole *sc, ARegion *region)
void CONSOLE_OT_scrollback_append(struct wmOperatorType *ot)
void CONSOLE_OT_paste(struct wmOperatorType *ot)
void CONSOLE_OT_select_word(struct wmOperatorType *ot)
void console_history_free(SpaceConsole *sc, ConsoleLine *cl)
void console_scrollback_free(SpaceConsole *sc, ConsoleLine *cl)
ConsoleLine * console_history_verify(const struct bContext *C)
void CONSOLE_OT_history_cycle(struct wmOperatorType *ot)
void CONSOLE_OT_history_append(struct wmOperatorType *ot)
void CONSOLE_OT_indent_or_autocomplete(struct wmOperatorType *ot)
void CONSOLE_OT_move(struct wmOperatorType *ot)
void CONSOLE_OT_delete(struct wmOperatorType *ot)
void CONSOLE_OT_clear_line(struct wmOperatorType *ot)
void CONSOLE_OT_indent(struct wmOperatorType *ot)
void CONSOLE_OT_clear(struct wmOperatorType *ot)
void CONSOLE_OT_select_set(struct wmOperatorType *ot)
void(* MEM_freeN)(void *vmemh)
void *(* MEM_dupallocN)(const void *vmemh)
void *(* MEM_callocN)(size_t len, const char *str)
static void area(int d1, int d2, int e1, int e2, float weights[2])
static const pxr::TfToken st("st", pxr::TfToken::Immortal)
void RNA_string_set(PointerRNA *ptr, const char *name, const char *value)
char * RNA_path_full_ID_py(Main *bmain, ID *id)
static void console_header_region_init(wmWindowManager *UNUSED(wm), ARegion *region)
static void console_operatortypes(void)
static void console_cursor(wmWindow *win, ScrArea *UNUSED(area), ARegion *region)
static SpaceLink * console_create(const ScrArea *UNUSED(area), const Scene *UNUSED(scene))
void ED_spacetype_console(void)
static void console_init(struct wmWindowManager *UNUSED(wm), ScrArea *UNUSED(area))
static void console_free(SpaceLink *sl)
static void path_drop_copy(bContext *UNUSED(C), wmDrag *drag, wmDropBox *drop)
static bool path_drop_poll(bContext *UNUSED(C), wmDrag *drag, const wmEvent *UNUSED(event))
static void console_header_region_draw(const bContext *C, ARegion *region)
static SpaceLink * console_duplicate(SpaceLink *sl)
static void console_main_region_draw(const bContext *C, ARegion *region)
static void id_drop_copy(bContext *UNUSED(C), wmDrag *drag, wmDropBox *drop)
static void console_dropboxes(void)
static void console_main_region_listener(const wmRegionListenerParams *params)
static void console_keymap(struct wmKeyConfig *keyconf)
static bool id_drop_poll(bContext *UNUSED(C), wmDrag *drag, const wmEvent *UNUSED(event))
static void console_main_region_init(wmWindowManager *wm, ARegion *region)
void(* draw)(const struct bContext *C, struct ARegion *region)
void(* cursor)(struct wmWindow *win, struct ScrArea *area, struct ARegion *region)
void(* listener)(const wmRegionListenerParams *params)
void(* init)(struct wmWindowManager *wm, struct ARegion *region)
struct wmKeyConfig * defaultconf
struct wmEvent * eventstate
void WM_cursor_set(wmWindow *win, int curs)
ID * WM_drag_get_local_ID(const wmDrag *drag, short idcode)
ListBase * WM_dropboxmap_find(const char *idname, int spaceid, int regionid)
wmDropBox * WM_dropbox_add(ListBase *lb, const char *idname, bool(*poll)(bContext *, wmDrag *, const wmEvent *), void(*copy)(bContext *, wmDrag *, wmDropBox *), void(*cancel)(Main *, wmDrag *, wmDropBox *), WMDropboxTooltipFunc tooltip)
wmEventHandler_Dropbox * WM_event_add_dropbox_handler(ListBase *handlers, ListBase *dropboxes)
wmEventHandler_Keymap * WM_event_add_keymap_handler_v2d_mask(ListBase *handlers, wmKeyMap *keymap)
int WM_operator_name_call(bContext *C, const char *opstring, wmOperatorCallContext context, PointerRNA *properties, const wmEvent *event)
wmKeyMap * WM_keymap_ensure(wmKeyConfig *keyconf, const char *idname, int spaceid, int regionid)
void WM_operatortype_append(void(*opfunc)(wmOperatorType *))