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

DNA_screen_types.h File Reference

#include "DNA_listBase.h"
#include "DNA_view2d_types.h"
#include "DNA_vec_types.h"
#include "DNA_ID.h"

Go to the source code of this file.

Classes

struct  bScreen
struct  ScrVert
struct  ScrEdge
struct  Panel
struct  ScrArea
struct  ARegion

Defines

#define WIN_BACK_OK   1
#define WIN_FRONT_OK   2
#define WIN_EQUAL   3
#define HEADER_NO_PULLDOWN   1
#define AREA_FLAG_DRAWJOINTO   2
#define AREA_FLAG_DRAWJOINFROM   4
#define AREA_TEMP_INFO   8
#define AREA_FLAG_DRAWSPLIT_H   16
#define AREA_FLAG_DRAWSPLIT_V   32
#define EDGEWIDTH   1
#define AREAGRID   4
#define AREAMINX   32
#define HEADERY   26
#define AREAMINY   (HEADERY+EDGEWIDTH)
#define HEADERDOWN   1
#define HEADERTOP   2
#define SCREENNORMAL   0
#define SCREENFULL   1
#define SCREENFULLTEMP   2
#define PNL_SNAP_NONE   0
#define PNL_SNAP_BOTTOM   4
#define PNL_DEFAULT_CLOSED   1
#define PNL_NO_HEADER   2
#define SCREEN_MAXHANDLER   8
#define SCREEN_HANDLER_ANIM   1
#define SCREEN_HANDLER_PYTHON   2
#define SCREEN_HANDLER_VERSE   3
#define RGN_ALIGN_NONE   0
#define RGN_ALIGN_TOP   1
#define RGN_ALIGN_BOTTOM   2
#define RGN_ALIGN_LEFT   3
#define RGN_ALIGN_RIGHT   4
#define RGN_ALIGN_HSPLIT   5
#define RGN_ALIGN_VSPLIT   6
#define RGN_ALIGN_FLOAT   7
#define RGN_ALIGN_QSPLIT   8
#define RGN_OVERLAP_TOP   9
#define RGN_OVERLAP_BOTTOM   10
#define RGN_OVERLAP_LEFT   11
#define RGN_OVERLAP_RIGHT   12
#define RGN_SPLIT_PREV   32
#define RGN_FLAG_HIDDEN   1
#define RGN_FLAG_TOO_SMALL   2
#define RGN_DRAW   1
#define RGN_DRAW_PARTIAL   2

Typedefs

typedef struct bScreen bScreen
typedef struct ScrVert ScrVert
typedef struct ScrEdge ScrEdge
typedef struct Panel Panel
typedef struct ScrArea ScrArea
typedef struct ARegion ARegion

Enumerations

enum  {
  RGN_TYPE_WINDOW = 0, RGN_TYPE_HEADER, RGN_TYPE_CHANNELS, RGN_TYPE_TEMPORARY,
  RGN_TYPE_UI, RGN_TYPE_TOOLS, RGN_TYPE_TOOL_PROPS, RGN_TYPE_PREVIEW
}

Detailed Description

Definition in file DNA_screen_types.h.


Define Documentation

#define AREA_FLAG_DRAWJOINFROM   4
#define AREA_FLAG_DRAWJOINTO   2
#define AREA_FLAG_DRAWSPLIT_H   16
#define AREA_FLAG_DRAWSPLIT_V   32
#define AREA_TEMP_INFO   8

Definition at line 185 of file DNA_screen_types.h.

Referenced by ED_screen_full_newspace(), and ED_screen_full_toggle().

#define AREAGRID   4

Definition at line 190 of file DNA_screen_types.h.

Referenced by area_move_apply_do(), screen_test_scale(), and testsplitpoint().

#define AREAMINX   32

Definition at line 191 of file DNA_screen_types.h.

Referenced by area_move_set_limits(), area_split_init(), and testsplitpoint().

#define AREAMINY   (HEADERY+EDGEWIDTH)

Definition at line 193 of file DNA_screen_types.h.

Referenced by testsplitpoint().

#define EDGEWIDTH   1

Definition at line 189 of file DNA_screen_types.h.

#define HEADER_NO_PULLDOWN   1

Definition at line 182 of file DNA_screen_types.h.

Referenced by ED_area_header_standardbuttons(), and rna_def_area().

#define HEADERDOWN   1

Definition at line 195 of file DNA_screen_types.h.

Referenced by area_add_header_region(), ED_screen_add(), and ui_block_func_POPUP().

#define HEADERTOP   2

Definition at line 196 of file DNA_screen_types.h.

Referenced by region_scale_get_maxsize().

#define HEADERY   26
#define PNL_DEFAULT_CLOSED   1
#define PNL_NO_HEADER   2
#define PNL_SNAP_BOTTOM   4

Definition at line 208 of file DNA_screen_types.h.

Referenced by ui_handle_panel_header().

#define PNL_SNAP_NONE   0

Definition at line 205 of file DNA_screen_types.h.

Referenced by ui_do_drag().

#define RGN_ALIGN_BOTTOM   2
#define RGN_ALIGN_FLOAT   7

Definition at line 245 of file DNA_screen_types.h.

Referenced by region_rect_recursive(), and ui_add_temporary_region().

#define RGN_ALIGN_HSPLIT   5

Definition at line 243 of file DNA_screen_types.h.

Referenced by region_rect_recursive().

#define RGN_ALIGN_LEFT   3
#define RGN_ALIGN_NONE   0

Definition at line 238 of file DNA_screen_types.h.

Referenced by clip_refresh(), region_rect_recursive(), and sequencer_refresh().

#define RGN_ALIGN_QSPLIT   8
#define RGN_ALIGN_RIGHT   4
#define RGN_ALIGN_TOP   1
#define RGN_ALIGN_VSPLIT   6

Definition at line 244 of file DNA_screen_types.h.

Referenced by region_rect_recursive().

#define RGN_DRAW   1
#define RGN_DRAW_PARTIAL   2

Definition at line 260 of file DNA_screen_types.h.

Referenced by draw_mesh_fancy(), and ED_region_tag_redraw_partial().

#define RGN_FLAG_HIDDEN   1
#define RGN_FLAG_TOO_SMALL   2
#define RGN_OVERLAP_BOTTOM   10

Definition at line 248 of file DNA_screen_types.h.

#define RGN_OVERLAP_LEFT   11
#define RGN_OVERLAP_RIGHT   12
#define RGN_OVERLAP_TOP   9

Definition at line 247 of file DNA_screen_types.h.

#define RGN_SPLIT_PREV   32
#define SCREEN_HANDLER_ANIM   1

Definition at line 220 of file DNA_screen_types.h.

#define SCREEN_HANDLER_PYTHON   2

Definition at line 221 of file DNA_screen_types.h.

#define SCREEN_HANDLER_VERSE   3

Definition at line 222 of file DNA_screen_types.h.

Referenced by direct_link_screen().

#define SCREEN_MAXHANDLER   8

Definition at line 218 of file DNA_screen_types.h.

Referenced by direct_link_screen().

#define SCREENFULL   1

Definition at line 200 of file DNA_screen_types.h.

Referenced by ED_screen_delete(), and ED_screen_full_toggle().

#define SCREENFULLTEMP   2

Definition at line 201 of file DNA_screen_types.h.

#define SCREENNORMAL   0
#define WIN_BACK_OK   1

Definition at line 177 of file DNA_screen_types.h.

#define WIN_EQUAL   3

Definition at line 179 of file DNA_screen_types.h.

#define WIN_FRONT_OK   2

Definition at line 178 of file DNA_screen_types.h.


Typedef Documentation

typedef struct ARegion ARegion
typedef struct bScreen bScreen
typedef struct Panel Panel
typedef struct ScrArea ScrArea
typedef struct ScrEdge ScrEdge
typedef struct ScrVert ScrVert

Enumeration Type Documentation

anonymous enum
Enumerator:
RGN_TYPE_WINDOW 
RGN_TYPE_HEADER 
RGN_TYPE_CHANNELS 
RGN_TYPE_TEMPORARY 
RGN_TYPE_UI 
RGN_TYPE_TOOLS 
RGN_TYPE_TOOL_PROPS 
RGN_TYPE_PREVIEW 

Definition at line 226 of file DNA_screen_types.h.