Blender V4.3
space_console.cc File Reference
#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.

Functions

static SpaceLinkconsole_create (const ScrArea *, const Scene *)
 
static void console_free (SpaceLink *sl)
 
static void console_init (wmWindowManager *, ScrArea *)
 
static SpaceLinkconsole_duplicate (SpaceLink *sl)
 
static void console_main_region_init (wmWindowManager *wm, ARegion *region)
 
static void console_cursor (wmWindow *win, ScrArea *, ARegion *region)
 
static bool console_drop_id_poll (bContext *, wmDrag *drag, const wmEvent *)
 
static void console_drop_id_copy (bContext *, wmDrag *drag, wmDropBox *drop)
 
static bool console_drop_path_poll (bContext *, wmDrag *drag, const wmEvent *)
 
static void console_drop_path_copy (bContext *, wmDrag *drag, wmDropBox *drop)
 
static bool console_drop_string_poll (bContext *, wmDrag *drag, const wmEvent *)
 
static void console_drop_string_copy (bContext *, wmDrag *drag, wmDropBox *drop)
 
static void console_dropboxes ()
 
static void console_main_region_draw (const bContext *C, ARegion *region)
 
static void console_operatortypes ()
 
static void console_keymap (wmKeyConfig *keyconf)
 
static void console_header_region_init (wmWindowManager *, ARegion *region)
 
static void console_header_region_draw (const bContext *C, ARegion *region)
 
static void console_main_region_listener (const wmRegionListenerParams *params)
 
static void console_blend_read_data (BlendDataReader *reader, SpaceLink *sl)
 
static void console_space_blend_write (BlendWriter *writer, SpaceLink *sl)
 
void ED_spacetype_console ()
 

Function Documentation

◆ console_blend_read_data()

static void console_blend_read_data ( BlendDataReader * reader,
SpaceLink * sl )
static

◆ console_create()

◆ console_cursor()

static void console_cursor ( wmWindow * win,
ScrArea * ,
ARegion * region )
static

◆ console_drop_id_copy()

static void console_drop_id_copy ( bContext * ,
wmDrag * drag,
wmDropBox * drop )
static

◆ console_drop_id_poll()

static bool console_drop_id_poll ( bContext * ,
wmDrag * drag,
const wmEvent *  )
static

Definition at line 153 of file space_console.cc.

References WM_drag_get_local_ID().

Referenced by console_dropboxes().

◆ console_drop_path_copy()

static void console_drop_path_copy ( bContext * ,
wmDrag * drag,
wmDropBox * drop )
static

◆ console_drop_path_poll()

static bool console_drop_path_poll ( bContext * ,
wmDrag * drag,
const wmEvent *  )
static

Definition at line 167 of file space_console.cc.

References wmDrag::type, and WM_DRAG_PATH.

Referenced by console_dropboxes().

◆ console_drop_string_copy()

static void console_drop_string_copy ( bContext * ,
wmDrag * drag,
wmDropBox * drop )
static

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().

◆ console_drop_string_poll()

static bool console_drop_string_poll ( bContext * ,
wmDrag * drag,
const wmEvent *  )
static

Definition at line 179 of file space_console.cc.

References wmDrag::type, and WM_DRAG_STRING.

Referenced by console_dropboxes().

◆ console_dropboxes()

◆ console_duplicate()

static SpaceLink * console_duplicate ( SpaceLink * sl)
static

◆ console_free()

static void console_free ( SpaceLink * sl)
static

◆ console_header_region_draw()

static void console_header_region_draw ( const bContext * C,
ARegion * region )
static

Definition at line 279 of file space_console.cc.

References ED_region_header().

Referenced by ED_spacetype_console().

◆ console_header_region_init()

static void console_header_region_init ( wmWindowManager * ,
ARegion * region )
static

Definition at line 274 of file space_console.cc.

References ED_region_header_init().

Referenced by ED_spacetype_console().

◆ console_init()

static void console_init ( wmWindowManager * ,
ScrArea *  )
static

Definition at line 90 of file space_console.cc.

Referenced by ED_spacetype_console().

◆ console_keymap()

static void console_keymap ( wmKeyConfig * keyconf)
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().

◆ console_main_region_draw()

◆ console_main_region_init()

◆ console_main_region_listener()

◆ console_operatortypes()

◆ console_space_blend_write()

static void console_space_blend_write ( BlendWriter * writer,
SpaceLink * sl )
static

◆ ED_spacetype_console()