|
Blender V5.0
|
#include <cstdio>#include <cstring>#include "MEM_guardedalloc.h"#include "BLI_listbase.h"#include "BLI_string.h"#include "BLI_string_utf8.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 313 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 39 of file space_console.cc.
References View2D::align, ARegion::alignment, BKE_area_region_new(), BLI_addtail(), View2D::keepofs, View2D::keeptot, View2D::keepzoom, SpaceConsole::lheight, View2D::maxzoom, MEM_callocN(), View2D::minzoom, SpaceConsole::regionbase, ARegion::regiontype, RGN_ALIGN_BOTTOM, RGN_ALIGN_TOP, RGN_TYPE_HEADER, RGN_TYPE_WINDOW, View2D::scroll, SPACE_CONSOLE, SpaceConsole::spacetype, U, USER_HEADER_BOTTOM, ARegion::v2d, 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, V2D_SCROLL_RIGHT, and V2D_SCROLL_VERTICAL_HIDE.
Referenced by ED_spacetype_console().
Definition at line 139 of file space_console.cc.
References wmWindow::eventstate, UI_view2d_mouse_in_scrollers(), ARegion::v2d, WM_CURSOR_DEFAULT, WM_cursor_set(), and WM_CURSOR_TEXT_EDIT.
Referenced by ED_spacetype_console().
Definition at line 157 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 152 of file space_console.cc.
References WM_drag_get_local_ID().
Referenced by console_dropboxes().
Definition at line 171 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 166 of file space_console.cc.
References wmDrag::type, and WM_DRAG_PATH.
Referenced by console_dropboxes().
Definition at line 183 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 178 of file space_console.cc.
References wmDrag::type, and WM_DRAG_STRING.
Referenced by console_dropboxes().
|
static |
Definition at line 193 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 93 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 77 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 281 of file space_console.cc.
References C, and ED_region_header().
Referenced by ED_spacetype_console().
|
static |
Definition at line 276 of file space_console.cc.
References ED_region_header_init().
Referenced by ED_spacetype_console().
|
static |
Definition at line 91 of file space_console.cc.
Referenced by ED_spacetype_console().
|
static |
Definition at line 268 of file space_console.cc.
References RGN_TYPE_WINDOW, SPACE_CONSOLE, and WM_keymap_ensure().
Referenced by ED_spacetype_console().
Definition at line 211 of file space_console.cc.
References BLI_listbase_is_empty(), C, console_history_verify(), console_textview_main(), CTX_wm_space_console(), blender::wm::ExecDefault, SpaceConsole::scrollback, TH_BACK, UI_ThemeClearColor(), UI_view2d_scrollers_draw(), UI_view2d_view_ortho(), UI_view2d_view_restore(), ARegion::v2d, and WM_operator_name_call().
Referenced by ED_spacetype_console().
|
static |
Definition at line 107 of file space_console.cc.
References BLI_rctf_size_y(), View2D::cur, RGN_TYPE_WINDOW, ARegion::runtime, wmWindowManager::runtime, SPACE_CONSOLE, SPACE_EMPTY, UI_view2d_region_reinit(), ARegion::v2d, V2D_COMMONVIEW_CUSTOM, ARegion::winx, ARegion::winy, WM_dropboxmap_find(), WM_event_add_dropbox_handler(), WM_event_add_keymap_handler(), WM_event_add_keymap_handler_v2d_mask(), WM_keymap_ensure(), rctf::ymax, and rctf::ymin.
Referenced by ED_spacetype_console().
|
static |
Definition at line 286 of file space_console.cc.
References wmNotifier::action, wmNotifier::category, console_textview_update_rect(), wmNotifier::data, ED_region_tag_redraw(), ListBase::first, NA_EDITED, NC_SPACE, ND_SPACE_CONSOLE, params, wmNotifier::reference, and ScrArea::spacedata.
Referenced by ED_spacetype_console().
|
static |
Definition at line 243 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 336 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 348 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_UTF8.
Referenced by ED_spacetypes_init().