Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_console/space_console.c
| Show All 28 Lines | |||||
| #include "UI_view2d.h" | #include "UI_view2d.h" | ||||
| #include "BLO_read_write.h" | #include "BLO_read_write.h" | ||||
| #include "console_intern.h" /* own include */ | #include "console_intern.h" /* own include */ | ||||
| /* ******************** default callbacks for console space ***************** */ | /* ******************** default callbacks for console space ***************** */ | ||||
| static SpaceLink *console_create(const ScrArea *UNUSED(area), const Scene *UNUSED(scene)) | static SpaceLink *console_create(const wmWindow *UNUSED(win), const ScrArea *UNUSED(area)) | ||||
| { | { | ||||
| ARegion *region; | ARegion *region; | ||||
| SpaceConsole *sconsole; | SpaceConsole *sconsole; | ||||
| sconsole = MEM_callocN(sizeof(SpaceConsole), "initconsole"); | sconsole = MEM_callocN(sizeof(SpaceConsole), "initconsole"); | ||||
| sconsole->spacetype = SPACE_CONSOLE; | sconsole->spacetype = SPACE_CONSOLE; | ||||
| sconsole->lheight = 14; | sconsole->lheight = 14; | ||||
| ▲ Show 20 Lines • Show All 322 Lines • Show Last 20 Lines | |||||