Blender  V2.59
Defines | Functions
buttons_header.c File Reference
#include <string.h>
#include <stdio.h>
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "ED_screen.h"
#include "ED_types.h"
#include "DNA_object_types.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "UI_view2d.h"
#include "buttons_intern.h"

Go to the source code of this file.

Defines

#define B_CONTEXT_SWITCH   101
#define B_BUTSPREVIEW   102
#define BUT_UNIT_X   (UI_UNIT_X+2)

Functions

static void set_texture_context (bContext *C, SpaceButs *sbuts)
static void do_buttons_buttons (bContext *C, void *UNUSED(arg), int event)
void buttons_header_buttons (const bContext *C, ARegion *ar)

Detailed Description

Definition in file buttons_header.c.


Define Documentation

#define B_BUTSPREVIEW   102

Definition at line 56 of file buttons_header.c.

Referenced by buttons_header_buttons(), and do_buttons_buttons().

#define B_CONTEXT_SWITCH   101

Definition at line 55 of file buttons_header.c.

Referenced by buttons_header_buttons(), and do_buttons_buttons().

#define BUT_UNIT_X   (UI_UNIT_X+2)

Definition at line 101 of file buttons_header.c.

Referenced by buttons_header_buttons().


Function Documentation

void buttons_header_buttons ( const bContext C,
ARegion ar 
)
static void do_buttons_buttons ( bContext C,
void *  UNUSEDarg,
int  event 
) [static]
static void set_texture_context ( bContext C,
SpaceButs sbuts 
) [static]