|
Blender V4.3
|
#include <cstdio>#include <cstring>#include "MEM_guardedalloc.h"#include "BLI_blenlib.h"#include "BLI_utildefines.h"#include "BKE_context.hh"#include "BKE_screen.hh"#include "ED_screen.hh"#include "ED_space_api.hh"#include "RNA_access.hh"#include "RNA_path.hh"#include "WM_api.hh"#include "WM_types.hh"#include "UI_resources.hh"#include "UI_view2d.hh"#include "BLO_read_write.hh"#include "console_intern.hh"Go to the source code of this file.
|
static |
Definition at line 311 of file space_console.cc.
References BLI_remlink(), BLO_read_char_array(), BLO_read_struct_list, SpaceConsole::history, LISTBASE_FOREACH_MUTABLE, MEM_freeN(), and SpaceConsole::scrollback.
Referenced by ED_spacetype_console().
Definition at line 38 of file space_console.cc.
References BLI_addtail(), SpaceConsole::lheight, MEM_callocN, SpaceConsole::regionbase, RGN_ALIGN_BOTTOM, RGN_ALIGN_TOP, RGN_TYPE_HEADER, RGN_TYPE_WINDOW, SPACE_CONSOLE, SpaceConsole::spacetype, USER_HEADER_BOTTOM, V2D_ALIGN_NO_NEG_X, V2D_ALIGN_NO_NEG_Y, V2D_KEEPASPECT, V2D_KEEPTOT_BOUNDS, V2D_LIMITZOOM, V2D_LOCKOFS_X, V2D_LOCKZOOM_X, V2D_LOCKZOOM_Y, and V2D_SCROLL_RIGHT.
Referenced by ED_spacetype_console().
Definition at line 140 of file space_console.cc.
References wmWindow::eventstate, UI_view2d_mouse_in_scrollers(), WM_CURSOR_DEFAULT, WM_cursor_set(), and WM_CURSOR_TEXT_EDIT.
Referenced by ED_spacetype_console().
Definition at line 158 of file space_console.cc.
References wmDropBox::ptr, RNA_path_full_ID_py(), RNA_string_set(), and WM_drag_get_local_ID().
Referenced by console_dropboxes().
Definition at line 153 of file space_console.cc.
References WM_drag_get_local_ID().
Referenced by console_dropboxes().
Definition at line 172 of file space_console.cc.
References FILE_MAX, wmDropBox::ptr, RNA_string_set(), SNPRINTF, and WM_drag_get_single_path().
Referenced by console_dropboxes().
Definition at line 167 of file space_console.cc.
References wmDrag::type, and WM_DRAG_PATH.
Referenced by console_dropboxes().
Definition at line 184 of file space_console.cc.
References wmDropBox::ptr, RNA_string_set(), str, and WM_drag_get_string_firstline().
Referenced by console_dropboxes().
Definition at line 179 of file space_console.cc.
References wmDrag::type, and WM_DRAG_STRING.
Referenced by console_dropboxes().
|
static |
Definition at line 194 of file space_console.cc.
References console_drop_id_copy(), console_drop_id_poll(), console_drop_path_copy(), console_drop_path_poll(), console_drop_string_copy(), console_drop_string_poll(), RGN_TYPE_WINDOW, SPACE_CONSOLE, WM_dropbox_add(), and WM_dropboxmap_find().
Referenced by ED_spacetype_console().
Definition at line 92 of file space_console.cc.
References BLI_listbase_clear(), SpaceConsole::history, MEM_dupallocN, and SpaceConsole::scrollback.
Referenced by ED_spacetype_console().
|
static |
Definition at line 76 of file space_console.cc.
References console_history_free(), console_scrollback_free(), ListBase::first, SpaceConsole::history, and SpaceConsole::scrollback.
Referenced by ED_spacetype_console().
Definition at line 279 of file space_console.cc.
References ED_region_header().
Referenced by ED_spacetype_console().
|
static |
Definition at line 274 of file space_console.cc.
References ED_region_header_init().
Referenced by ED_spacetype_console().
|
static |
Definition at line 90 of file space_console.cc.
Referenced by ED_spacetype_console().
|
static |
Definition at line 266 of file space_console.cc.
References RGN_TYPE_WINDOW, SPACE_CONSOLE, and WM_keymap_ensure().
Referenced by ED_spacetype_console().
Definition at line 212 of file space_console.cc.
References BLI_listbase_is_empty(), console_history_verify(), console_textview_main(), CTX_wm_space_console(), SpaceConsole::scrollback, TH_BACK, UI_ThemeClearColor(), UI_view2d_scrollers_draw(), UI_view2d_view_ortho(), UI_view2d_view_restore(), WM_OP_EXEC_DEFAULT, and WM_operator_name_call().
Referenced by ED_spacetype_console().
|
static |
Definition at line 106 of file space_console.cc.
References BLI_rctf_size_y(), wmWindowManager::defaultconf, RGN_TYPE_WINDOW, SPACE_CONSOLE, SPACE_EMPTY, UI_view2d_region_reinit(), V2D_COMMONVIEW_CUSTOM, V2D_SCROLL_RIGHT, WM_dropboxmap_find(), WM_event_add_dropbox_handler(), WM_event_add_keymap_handler(), WM_event_add_keymap_handler_v2d_mask(), and WM_keymap_ensure().
Referenced by ED_spacetype_console().
|
static |
Definition at line 284 of file space_console.cc.
References wmNotifier::action, wmNotifier::category, console_textview_update_rect(), wmNotifier::data, ED_region_tag_redraw(), NA_EDITED, NC_SPACE, ND_SPACE_CONSOLE, params, and wmNotifier::reference.
Referenced by ED_spacetype_console().
|
static |
Definition at line 241 of file space_console.cc.
References CONSOLE_OT_clear(), CONSOLE_OT_clear_line(), CONSOLE_OT_copy(), CONSOLE_OT_delete(), CONSOLE_OT_history_append(), CONSOLE_OT_history_cycle(), CONSOLE_OT_indent(), CONSOLE_OT_indent_or_autocomplete(), CONSOLE_OT_insert(), CONSOLE_OT_move(), CONSOLE_OT_paste(), CONSOLE_OT_scrollback_append(), CONSOLE_OT_select_all(), CONSOLE_OT_select_set(), CONSOLE_OT_select_word(), CONSOLE_OT_unindent(), and WM_operatortype_append().
Referenced by ED_spacetype_console().
|
static |
Definition at line 334 of file space_console.cc.
References BLO_write_char_array(), BLO_write_struct, SpaceConsole::history, and LISTBASE_FOREACH.
Referenced by ED_spacetype_console().
| void ED_spacetype_console | ( | ) |
Definition at line 346 of file space_console.cc.
References BKE_spacetype_register(), BLI_addhead(), console_blend_read_data(), console_create(), console_cursor(), console_dropboxes(), console_duplicate(), console_free(), console_header_region_draw(), console_header_region_init(), console_init(), console_keymap(), console_main_region_draw(), console_main_region_init(), console_main_region_listener(), console_operatortypes(), console_space_blend_write(), ARegionType::cursor, ARegionType::draw, ED_KEYMAP_HEADER, ED_KEYMAP_UI, ED_KEYMAP_VIEW2D, ARegionType::event_cursor, HEADERY, ARegionType::init, ARegionType::keymapflag, ARegionType::listener, MEM_callocN, ARegionType::prefsizey, ARegionType::regionid, RGN_TYPE_HEADER, RGN_TYPE_WINDOW, SPACE_CONSOLE, and STRNCPY.
Referenced by ED_spacetypes_init().