Struct classicube_sys::TableWidget
source ·
[−]#[repr(C)]pub struct TableWidget {Show 33 fields
pub VTABLE: *const WidgetVTABLE,
pub x: c_int,
pub y: c_int,
pub width: c_int,
pub height: c_int,
pub active: cc_bool,
pub disabled: cc_bool,
pub horAnchor: cc_uint8,
pub verAnchor: cc_uint8,
pub xOffset: c_int,
pub yOffset: c_int,
pub MenuClick: Widget_LeftClick,
pub blocksCount: c_int,
pub blocksPerRow: c_int,
pub rowsTotal: c_int,
pub rowsVisible: c_int,
pub lastCreatedIndex: c_int,
pub font: *mut FontDesc,
pub selectedIndex: c_int,
pub cellSizeX: c_int,
pub cellSizeY: c_int,
pub selBlockExpand: f32,
pub vb: GfxResourceID,
pub pendingClose: cc_bool,
pub scale: f32,
pub blocks: [BlockID; 768],
pub scroll: ScrollbarWidget,
pub descTex: Texture,
pub lastX: c_int,
pub lastY: c_int,
pub paddingX: c_int,
pub paddingTopY: c_int,
pub paddingMaxY: c_int,
}
Fields
VTABLE: *const WidgetVTABLE
x: c_int
y: c_int
width: c_int
height: c_int
active: cc_bool
disabled: cc_bool
horAnchor: cc_uint8
verAnchor: cc_uint8
xOffset: c_int
yOffset: c_int
MenuClick: Widget_LeftClick
blocksCount: c_int
blocksPerRow: c_int
rowsTotal: c_int
rowsVisible: c_int
lastCreatedIndex: c_int
font: *mut FontDesc
selectedIndex: c_int
cellSizeX: c_int
cellSizeY: c_int
selBlockExpand: f32
vb: GfxResourceID
pendingClose: cc_bool
scale: f32
blocks: [BlockID; 768]
scroll: ScrollbarWidget
descTex: Texture
lastX: c_int
lastY: c_int
paddingX: c_int
paddingTopY: c_int
paddingMaxY: c_int
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.