Blender V5.0
space_console.cc File Reference
#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.

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

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

◆ console_create()

◆ console_cursor()

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

◆ console_drop_id_copy()

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

◆ console_drop_id_poll()

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

Definition at line 152 of file space_console.cc.

References WM_drag_get_local_ID().

Referenced by console_dropboxes().

◆ console_drop_path_copy()

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

◆ console_drop_path_poll()

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

Definition at line 166 of file space_console.cc.

References wmDrag::type, and WM_DRAG_PATH.

Referenced by console_dropboxes().

◆ console_drop_string_copy()

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

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

◆ console_drop_string_poll()

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

Definition at line 178 of file space_console.cc.

References wmDrag::type, and WM_DRAG_STRING.

Referenced by console_dropboxes().

◆ console_dropboxes()

◆ console_duplicate()

SpaceLink * console_duplicate ( SpaceLink * sl)
static

◆ console_free()

void console_free ( SpaceLink * sl)
static

◆ console_header_region_draw()

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

Definition at line 281 of file space_console.cc.

References C, and ED_region_header().

Referenced by ED_spacetype_console().

◆ console_header_region_init()

void console_header_region_init ( wmWindowManager * ,
ARegion * region )
static

Definition at line 276 of file space_console.cc.

References ED_region_header_init().

Referenced by ED_spacetype_console().

◆ console_init()

void console_init ( wmWindowManager * ,
ScrArea *  )
static

Definition at line 91 of file space_console.cc.

Referenced by ED_spacetype_console().

◆ console_keymap()

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

◆ console_main_region_draw()

◆ console_main_region_init()

◆ console_main_region_listener()

◆ console_operatortypes()

◆ console_space_blend_write()

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

◆ ED_spacetype_console()