Blender
V3.3
|
#include <stdio.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_screen.h"
#include "ED_screen.h"
#include "ED_space_api.h"
#include "RNA_access.h"
#include "RNA_path.h"
#include "WM_api.h"
#include "WM_types.h"
#include "UI_resources.h"
#include "UI_view2d.h"
#include "console_intern.h"
Go to the source code of this file.
Definition at line 35 of file space_console.c.
References View2D::align, ARegion::alignment, 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, 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, and V2D_SCROLL_RIGHT.
Referenced by ED_spacetype_console().
Definition at line 135 of file space_console.c.
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 176 of file space_console.c.
References id_drop_copy(), id_drop_poll(), NULL, path_drop_copy(), path_drop_poll(), RGN_TYPE_WINDOW, SPACE_CONSOLE, WM_dropbox_add(), and WM_dropboxmap_find().
Referenced by ED_spacetype_console().
Definition at line 91 of file space_console.c.
References BLI_listbase_clear(), SpaceConsole::history, MEM_dupallocN, and SpaceConsole::scrollback.
Referenced by ED_spacetype_console().
Definition at line 73 of file space_console.c.
References console_history_free(), console_scrollback_free(), ListBase::first, SpaceConsole::history, and SpaceConsole::scrollback.
Referenced by ED_spacetype_console().
Definition at line 251 of file space_console.c.
References C, and ED_region_header().
Referenced by ED_spacetype_console().
|
static |
Definition at line 246 of file space_console.c.
References ED_region_header_init().
Referenced by ED_spacetype_console().
|
static |
Definition at line 87 of file space_console.c.
Referenced by ED_spacetype_console().
|
static |
Definition at line 238 of file space_console.c.
References SPACE_CONSOLE, and WM_keymap_ensure().
Referenced by ED_spacetype_console().
Definition at line 186 of file space_console.c.
References BLI_listbase_is_empty(), C, console_history_verify(), console_textview_main(), CTX_wm_space_console(), NULL, SpaceConsole::scrollback, TH_BACK, UI_ThemeClearColor(), UI_view2d_scrollers_draw(), UI_view2d_view_ortho(), UI_view2d_view_restore(), ARegion::v2d, WM_OP_EXEC_DEFAULT, and WM_operator_name_call().
Referenced by ED_spacetype_console().
|
static |
Definition at line 105 of file space_console.c.
References BLI_rctf_size_y(), View2D::cur, wmWindowManager::defaultconf, ARegion::handlers, RGN_TYPE_WINDOW, View2D::scroll, SPACE_CONSOLE, UI_view2d_region_reinit(), ARegion::v2d, V2D_COMMONVIEW_CUSTOM, V2D_SCROLL_RIGHT, ARegion::winx, ARegion::winy, WM_dropboxmap_find(), WM_event_add_dropbox_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 256 of file space_console.c.
References wmNotifier::action, blender::compositor::area(), 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().
Definition at line 214 of file space_console.c.
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_set(), CONSOLE_OT_select_word(), CONSOLE_OT_unindent(), and WM_operatortype_append().
Referenced by ED_spacetype_console().
Definition at line 283 of file space_console.c.
References BKE_spacetype_register(), BKE_ST_MAXNAME, BLI_addhead(), 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(), 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 usdtokens::st().
Referenced by ED_spacetypes_init().
Definition at line 153 of file space_console.c.
References G_MAIN, MEM_freeN, wmDropBox::ptr, RNA_path_full_ID_py(), RNA_string_set(), and WM_drag_get_local_ID().
Referenced by console_dropboxes().
Definition at line 148 of file space_console.c.
References NULL, and WM_drag_get_local_ID().
Referenced by console_dropboxes().
Definition at line 168 of file space_console.c.
References BLI_snprintf(), FILE_MAX, wmDrag::path, wmDropBox::ptr, and RNA_string_set().
Referenced by console_dropboxes().
|
static |
Definition at line 163 of file space_console.c.
References wmDrag::type, and WM_DRAG_PATH.
Referenced by console_dropboxes().