Blender  V3.3
Classes
interface_region_hud.cc File Reference
#include <cstring>
#include "MEM_guardedalloc.h"
#include "DNA_screen_types.h"
#include "DNA_userdef_types.h"
#include "BLI_listbase.h"
#include "BLI_rect.h"
#include "BLI_string.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_screen.h"
#include "WM_api.h"
#include "WM_types.h"
#include "RNA_access.h"
#include "UI_interface.h"
#include "UI_view2d.h"
#include "BLT_translation.h"
#include "ED_screen.h"
#include "ED_undo.h"
#include "GPU_framebuffer.h"
#include "interface_intern.h"

Go to the source code of this file.

Classes

struct  HudRegionData
 

Functions

Utilities
static bool last_redo_poll (const bContext *C, short region_type)
 
static void hud_region_hide (ARegion *region)
 
Redo Panel
static bool hud_panel_operator_redo_poll (const bContext *C, PanelType *UNUSED(pt))
 
static void hud_panel_operator_redo_draw_header (const bContext *C, Panel *panel)
 
static void hud_panel_operator_redo_draw (const bContext *C, Panel *panel)
 
static void hud_panels_register (ARegionType *art, int space_type, int region_type)
 
Callbacks for Floating Region
static void hud_region_init (wmWindowManager *wm, ARegion *region)
 
static void hud_region_free (ARegion *region)
 
static void hud_region_layout (const bContext *C, ARegion *region)
 
static void hud_region_draw (const bContext *C, ARegion *region)
 
ARegionTypeED_area_type_hud (int space_type)
 
static ARegionhud_region_add (ScrArea *area)
 
void ED_area_type_hud_clear (wmWindowManager *wm, ScrArea *area_keep)
 
void ED_area_type_hud_ensure (bContext *C, ScrArea *area)
 

Detailed Description

Floating Persistent Region

Definition in file interface_region_hud.cc.

Function Documentation

◆ ED_area_type_hud()

ARegionType* ED_area_type_hud ( int  space_type)

◆ ED_area_type_hud_clear()

void ED_area_type_hud_clear ( wmWindowManager wm,
ScrArea area_keep 
)

◆ ED_area_type_hud_ensure()

void ED_area_type_hud_ensure ( bContext C,
ScrArea area 
)

◆ hud_panel_operator_redo_draw()

static void hud_panel_operator_redo_draw ( const bContext C,
Panel panel 
)
static

◆ hud_panel_operator_redo_draw_header()

static void hud_panel_operator_redo_draw_header ( const bContext C,
Panel panel 
)
static

◆ hud_panel_operator_redo_poll()

static bool hud_panel_operator_redo_poll ( const bContext C,
PanelType UNUSEDpt 
)
static

◆ hud_panels_register()

static void hud_panels_register ( ARegionType art,
int  space_type,
int  region_type 
)
static

◆ hud_region_add()

static ARegion* hud_region_add ( ScrArea area)
static

◆ hud_region_draw()

static void hud_region_draw ( const bContext C,
ARegion region 
)
static

◆ hud_region_free()

static void hud_region_free ( ARegion region)
static

Definition at line 155 of file interface_region_hud.cc.

References MEM_SAFE_FREE, and ARegion::regiondata.

Referenced by ED_area_type_hud().

◆ hud_region_hide()

static void hud_region_hide ( ARegion region)
static

◆ hud_region_init()

static void hud_region_init ( wmWindowManager wm,
ARegion region 
)
static

◆ hud_region_layout()

static void hud_region_layout ( const bContext C,
ARegion region 
)
static

◆ last_redo_poll()

static bool last_redo_poll ( const bContext C,
short  region_type 
)
static