Blender  V3.3
Functions
space_console.c File Reference
#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.

Functions

static SpaceLinkconsole_create (const ScrArea *UNUSED(area), const Scene *UNUSED(scene))
 
static void console_free (SpaceLink *sl)
 
static void console_init (struct wmWindowManager *UNUSED(wm), ScrArea *UNUSED(area))
 
static SpaceLinkconsole_duplicate (SpaceLink *sl)
 
static void console_main_region_init (wmWindowManager *wm, ARegion *region)
 
static void console_cursor (wmWindow *win, ScrArea *UNUSED(area), ARegion *region)
 
static bool id_drop_poll (bContext *UNUSED(C), wmDrag *drag, const wmEvent *UNUSED(event))
 
static void id_drop_copy (bContext *UNUSED(C), wmDrag *drag, wmDropBox *drop)
 
static bool path_drop_poll (bContext *UNUSED(C), wmDrag *drag, const wmEvent *UNUSED(event))
 
static void path_drop_copy (bContext *UNUSED(C), wmDrag *drag, wmDropBox *drop)
 
static void console_dropboxes (void)
 
static void console_main_region_draw (const bContext *C, ARegion *region)
 
static void console_operatortypes (void)
 
static void console_keymap (struct wmKeyConfig *keyconf)
 
static void console_header_region_init (wmWindowManager *UNUSED(wm), ARegion *region)
 
static void console_header_region_draw (const bContext *C, ARegion *region)
 
static void console_main_region_listener (const wmRegionListenerParams *params)
 
void ED_spacetype_console (void)
 

Function Documentation

◆ console_create()

static SpaceLink* console_create ( const ScrArea UNUSEDarea,
const Scene UNUSEDscene 
)
static

◆ console_cursor()

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

◆ console_dropboxes()

static void console_dropboxes ( void  )
static

◆ 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 251 of file space_console.c.

References C, and ED_region_header().

Referenced by ED_spacetype_console().

◆ console_header_region_init()

static void console_header_region_init ( wmWindowManager UNUSEDwm,
ARegion region 
)
static

Definition at line 246 of file space_console.c.

References ED_region_header_init().

Referenced by ED_spacetype_console().

◆ console_init()

static void console_init ( struct wmWindowManager UNUSEDwm,
ScrArea UNUSEDarea 
)
static

Definition at line 87 of file space_console.c.

Referenced by ED_spacetype_console().

◆ console_keymap()

static void console_keymap ( struct wmKeyConfig keyconf)
static

Definition at line 238 of file space_console.c.

References SPACE_CONSOLE, and WM_keymap_ensure().

Referenced by ED_spacetype_console().

◆ console_main_region_draw()

static void console_main_region_draw ( const bContext C,
ARegion region 
)
static

◆ console_main_region_init()

static void console_main_region_init ( wmWindowManager wm,
ARegion region 
)
static

◆ console_main_region_listener()

static void console_main_region_listener ( const wmRegionListenerParams params)
static

◆ console_operatortypes()

static void console_operatortypes ( void  )
static

◆ ED_spacetype_console()

void ED_spacetype_console ( void  )

◆ id_drop_copy()

static void id_drop_copy ( bContext UNUSEDC,
wmDrag drag,
wmDropBox drop 
)
static

◆ id_drop_poll()

static bool id_drop_poll ( bContext UNUSEDC,
wmDrag drag,
const wmEvent UNUSEDevent 
)
static

Definition at line 148 of file space_console.c.

References NULL, and WM_drag_get_local_ID().

Referenced by console_dropboxes().

◆ path_drop_copy()

static void path_drop_copy ( bContext UNUSEDC,
wmDrag drag,
wmDropBox drop 
)
static

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

◆ path_drop_poll()

static bool path_drop_poll ( bContext UNUSEDC,
wmDrag drag,
const wmEvent UNUSEDevent 
)
static

Definition at line 163 of file space_console.c.

References wmDrag::type, and WM_DRAG_PATH.

Referenced by console_dropboxes().