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 WidgetVTABLEx: c_inty: c_intwidth: c_intheight: c_intactive: cc_booldisabled: cc_boolhorAnchor: cc_uint8verAnchor: cc_uint8xOffset: c_intyOffset: c_intMenuClick: Widget_LeftClickblocksCount: c_intblocksPerRow: c_introwsTotal: c_introwsVisible: c_intlastCreatedIndex: c_intfont: *mut FontDescselectedIndex: c_intcellSizeX: c_intcellSizeY: c_intselBlockExpand: f32vb: GfxResourceIDpendingClose: cc_boolscale: f32blocks: [BlockID; 768]scroll: ScrollbarWidgetdescTex: TexturelastX: c_intlastY: c_intpaddingX: c_intpaddingTopY: c_intpaddingMaxY: c_intTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
