Blender V4.3
console_intern.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11/* internal exports only */
12
13struct ConsoleLine;
14struct bContext;
15struct wmOperatorType;
16
17/* `console_draw.cc` */
18
19void console_textview_main(SpaceConsole *sc, const ARegion *region);
20/* Needed to calculate the scroll-bar. */
21int console_textview_height(SpaceConsole *sc, const ARegion *region);
22int console_char_pick(SpaceConsole *sc, const ARegion *region, const int mval[2]);
23
26
27/* `console_ops.cc` */
28
33
35
37
41
45
48
57
59enum {
67};
void CONSOLE_OT_select_all(wmOperatorType *ot)
void console_textview_main(SpaceConsole *sc, const ARegion *region)
void console_scrollback_prompt_end(SpaceConsole *sc, ConsoleLine *cl_dummy)
int console_textview_height(SpaceConsole *sc, const ARegion *region)
void console_scrollback_prompt_begin(SpaceConsole *sc, ConsoleLine *cl_dummy)
void CONSOLE_OT_copy(wmOperatorType *ot)
void CONSOLE_OT_clear(wmOperatorType *ot)
void console_textview_update_rect(SpaceConsole *sc, ARegion *region)
void CONSOLE_OT_select_word(wmOperatorType *ot)
void CONSOLE_OT_delete(wmOperatorType *ot)
void CONSOLE_OT_indent(wmOperatorType *ot)
void CONSOLE_OT_select_set(wmOperatorType *ot)
void CONSOLE_OT_indent_or_autocomplete(wmOperatorType *ot)
void CONSOLE_OT_move(wmOperatorType *ot)
void console_history_free(SpaceConsole *sc, ConsoleLine *cl)
void console_scrollback_free(SpaceConsole *sc, ConsoleLine *cl)
void CONSOLE_OT_clear_line(wmOperatorType *ot)
void CONSOLE_OT_scrollback_append(wmOperatorType *ot)
void CONSOLE_OT_insert(wmOperatorType *ot)
ConsoleLine * console_history_add_str(SpaceConsole *sc, char *str, bool own)
void CONSOLE_OT_history_cycle(wmOperatorType *ot)
void CONSOLE_OT_unindent(wmOperatorType *ot)
void CONSOLE_OT_history_append(wmOperatorType *ot)
@ DEL_SELECTION
@ DEL_PREV_WORD
@ DEL_PREV_SEL
@ DEL_PREV_CHAR
@ DEL_NEXT_WORD
@ DEL_NEXT_CHAR
@ DEL_NEXT_SEL
void CONSOLE_OT_paste(wmOperatorType *ot)
@ NEXT_CHAR
@ LINE_BEGIN
@ PREV_WORD
@ PREV_CHAR
@ LINE_END
@ NEXT_WORD
int console_char_pick(SpaceConsole *sc, const ARegion *region, const int mval[2])
ConsoleLine * console_history_verify(const bContext *C)
ConsoleLine * console_scrollback_add_str(SpaceConsole *sc, char *str, bool own)
#define str(s)
wmOperatorType * ot
Definition wm_files.cc:4125