Blender V2.61 - r43446
Classes | Defines | Typedefs | Functions

BKE_screen.h File Reference

#include "RNA_types.h"

Go to the source code of this file.

Classes

struct  SpaceType
struct  ARegionType
struct  PanelType
struct  HeaderType
struct  Header
struct  MenuType
struct  Menu

Defines

#define BKE_ST_MAXNAME   64

Typedefs

typedef struct SpaceType SpaceType
typedef struct ARegionType ARegionType
typedef struct PanelType PanelType
typedef struct HeaderType HeaderType
typedef struct Header Header
typedef struct MenuType MenuType
typedef struct Menu Menu

Functions

struct SpaceTypeBKE_spacetype_from_id (int spaceid)
struct ARegionTypeBKE_regiontype_from_id (struct SpaceType *st, int regionid)
struct ListBaseBKE_spacetypes_list (void)
void BKE_spacetype_register (struct SpaceType *st)
void BKE_spacetypes_free (void)
void BKE_spacedata_freelist (ListBase *lb)
void BKE_spacedata_copylist (ListBase *lb1, ListBase *lb2)
void BKE_spacedata_draw_locks (int set)
struct ARegionBKE_area_region_copy (struct SpaceType *st, struct ARegion *ar)
void BKE_area_region_free (struct SpaceType *st, struct ARegion *ar)
void BKE_screen_area_free (struct ScrArea *sa)
struct ARegionBKE_area_find_region_type (struct ScrArea *sa, int type)
struct ScrAreaBKE_screen_find_big_area (struct bScreen *sc, const int spacetype, const short min)
void BKE_screen_view3d_sync (struct View3D *v3d, struct Scene *scene)
void BKE_screen_view3d_scene_sync (struct bScreen *sc)
void BKE_screen_view3d_main_sync (ListBase *screen_lb, struct Scene *scene)
float BKE_screen_view3d_zoom_to_fac (float camzoom)
float BKE_screen_view3d_zoom_from_fac (float zoomfac)
void free_screen (struct bScreen *sc)
unsigned int BKE_screen_visible_layers (struct bScreen *screen, struct Scene *scene)

Detailed Description

Since:
March 2001
Author:
nzc

Definition in file BKE_screen.h.


Define Documentation

#define BKE_ST_MAXNAME   64

Typedef Documentation

typedef struct ARegionType ARegionType
typedef struct Header Header
typedef struct HeaderType HeaderType
typedef struct Menu Menu
typedef struct MenuType MenuType
typedef struct PanelType PanelType
typedef struct SpaceType SpaceType

Function Documentation

struct ARegion* BKE_area_find_region_type ( struct ScrArea sa,
int  type 
) [read]
struct ARegion* BKE_area_region_copy ( struct SpaceType st,
struct ARegion ar 
) [read]
void BKE_area_region_free ( struct SpaceType st,
struct ARegion ar 
)
struct ARegionType* BKE_regiontype_from_id ( struct SpaceType st,
int  regionid 
) [read]
void BKE_screen_area_free ( struct ScrArea sa)
struct ScrArea* BKE_screen_find_big_area ( struct bScreen sc,
const int  spacetype,
const short  min 
) [read]
void BKE_screen_view3d_main_sync ( ListBase screen_lb,
struct Scene scene 
)
void BKE_screen_view3d_scene_sync ( struct bScreen sc)
void BKE_screen_view3d_sync ( struct View3D v3d,
struct Scene scene 
)
float BKE_screen_view3d_zoom_from_fac ( float  zoomfac)

Definition at line 454 of file screen.c.

References M_SQRT2, and sqrtf.

Referenced by view3d_center_camera_exec(), and view3d_set_1_to_1_viewborder().

float BKE_screen_view3d_zoom_to_fac ( float  camzoom)

Definition at line 449 of file screen.c.

Referenced by camera_params_from_view3d(), StartKetsjiShell(), and viewmove_apply().

unsigned int BKE_screen_visible_layers ( struct bScreen screen,
struct Scene scene 
)
void BKE_spacedata_copylist ( ListBase lb1,
ListBase lb2 
)
void BKE_spacedata_draw_locks ( int  set)
void BKE_spacedata_freelist ( ListBase lb)
struct SpaceType* BKE_spacetype_from_id ( int  spaceid) [read]
void BKE_spacetype_register ( struct SpaceType st)
void BKE_spacetypes_free ( void  )

Definition at line 82 of file screen.c.

References BLI_freelistN(), ListBase::first, SpaceType::next, and spacetype_free().

Referenced by free_blender().

struct ListBase* BKE_spacetypes_list ( void  ) [read]

Definition at line 117 of file screen.c.

References spacetypes.

Referenced by ED_spacetypes_init(), ED_spacetypes_keymap(), and screen_refresh_headersizes().

void free_screen ( struct bScreen sc)