Blender V4.3
uiWidgetTrias Struct Reference

Public Attributes

uint tot
 
int type
 
float size
 
float center [2]
 
float vec [16][2]
 
const uint(* index )[3]
 

Detailed Description

  • in: roundbox codes for corner types and radius
  • return: array of [size][2][x, y] points, the edges of the roundbox, + UV coords
  • Draw black box with alpha 0 on exact button bounding-box.
  • For every AA step:
    • draw the inner part for a round filled box, with color blend codes or texture coords
    • draw outline in outline color
    • draw outer part, bottom half, extruded 1 pixel to bottom, for emboss shadow
    • draw extra decorations
  • Draw background color box with alpha 1 on exact button bounding-box.

Definition at line 210 of file interface_widgets.cc.

Member Data Documentation

◆ center

◆ index

const uint(* uiWidgetTrias::index)[3]

◆ size

◆ tot

◆ type

◆ vec


The documentation for this struct was generated from the following file: