Blender V2.61 - r43446
Functions

space_buttons.c File Reference

#include <string.h>
#include <stdio.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_math.h"
#include "BLI_rand.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_screen.h"
#include "ED_space_api.h"
#include "ED_screen.h"
#include "BIF_gl.h"
#include "WM_api.h"
#include "WM_types.h"
#include "UI_resources.h"
#include "UI_view2d.h"
#include "ED_render.h"
#include "buttons_intern.h"

Go to the source code of this file.

Functions

static SpaceLink * buttons_new (const bContext *UNUSED(C))
static void buttons_free (SpaceLink *sl)
static void buttons_init (struct wmWindowManager *UNUSED(wm), ScrArea *sa)
static SpaceLink * buttons_duplicate (SpaceLink *sl)
static void buttons_main_area_init (wmWindowManager *wm, ARegion *ar)
static void buttons_main_area_draw (const bContext *C, ARegion *ar)
static void buttons_operatortypes (void)
static void buttons_keymap (struct wmKeyConfig *keyconf)
static void buttons_header_area_init (wmWindowManager *UNUSED(wm), ARegion *ar)
static void buttons_header_area_draw (const bContext *C, ARegion *ar)
static void buttons_area_redraw (ScrArea *sa, short buttons)
static void buttons_area_listener (ScrArea *sa, wmNotifier *wmn)
void ED_spacetype_buttons (void)

Detailed Description

Definition in file space_buttons.c.


Function Documentation

static void buttons_area_listener ( ScrArea *  sa,
wmNotifier *  wmn 
) [static]
static void buttons_area_redraw ( ScrArea *  sa,
short  buttons 
) [static]
static SpaceLink* buttons_duplicate ( SpaceLink *  sl) [static]

Definition at line 124 of file space_buttons.c.

References MEM_dupallocN(), NULL, SpaceButs::path, and SpaceButs::texuser.

Referenced by ED_spacetype_buttons().

static void buttons_free ( SpaceLink *  sl) [static]
static void buttons_header_area_draw ( const bContext *  C,
ARegion *  ar 
) [static]
static void buttons_header_area_init ( wmWindowManager *  UNUSEDwm,
ARegion *  ar 
) [static]
static void buttons_init ( struct wmWindowManager *  UNUSEDwm,
ScrArea *  sa 
) [static]
static void buttons_keymap ( struct wmKeyConfig *  keyconf) [static]

Definition at line 192 of file space_buttons.c.

References KM_PRESS, RIGHTMOUSE, SPACE_BUTS, WM_keymap_add_item(), and WM_keymap_find().

Referenced by ED_spacetype_buttons().

static void buttons_main_area_draw ( const bContext *  C,
ARegion *  ar 
) [static]
static void buttons_main_area_init ( wmWindowManager *  wm,
ARegion *  ar 
) [static]
static SpaceLink* buttons_new ( const bContext *  UNUSEDC) [static]
static void buttons_operatortypes ( void  ) [static]
void ED_spacetype_buttons ( void  )