2026-01-07 16:36:40 -05:00
|
|
|
type listboxdef [display="List Box Def"]
|
|
|
|
|
{
|
2026-01-11 12:09:57 -05:00
|
|
|
const PTR_INLINE = -1;
|
|
|
|
|
|
|
|
|
|
i32 mouse_pos;
|
|
|
|
|
ui("mouse_pos", "Mouse Pos");
|
|
|
|
|
|
|
|
|
|
i32 start_pos;
|
|
|
|
|
ui("start_pos", "Start Pos");
|
|
|
|
|
|
|
|
|
|
i32 end_pos;
|
|
|
|
|
ui("end_pos", "End Pos");
|
|
|
|
|
|
|
|
|
|
i32 draw_padding;
|
|
|
|
|
ui("draw_padding", "Draw Padding");
|
|
|
|
|
|
|
|
|
|
f32 element_width;
|
|
|
|
|
ui("element_width", "Element Width");
|
|
|
|
|
|
|
|
|
|
f32 element_height;
|
|
|
|
|
ui("element_height", "Element Height");
|
|
|
|
|
|
|
|
|
|
i32 element_style;
|
|
|
|
|
ui("element_style", "Element Style");
|
|
|
|
|
|
|
|
|
|
i32 num_columns;
|
|
|
|
|
ui("num_columns", "Num Columns");
|
2026-01-07 16:36:40 -05:00
|
|
|
|
|
|
|
|
// columnInfo_s columnInfo[16] - 256 bytes
|
2026-01-11 12:09:57 -05:00
|
|
|
array[16] columns: columninfo;
|
2026-01-07 16:36:40 -05:00
|
|
|
|
2026-01-11 12:09:57 -05:00
|
|
|
i32 double_click_ptr;
|
|
|
|
|
ui("double_click_ptr", "Double Click Ptr");
|
2026-01-07 16:36:40 -05:00
|
|
|
|
2026-01-11 12:09:57 -05:00
|
|
|
i32 not_selectable;
|
|
|
|
|
ui("not_selectable", "Not Selectable");
|
2026-01-07 16:36:40 -05:00
|
|
|
|
2026-01-11 12:09:57 -05:00
|
|
|
i32 no_scroll_bars;
|
|
|
|
|
ui("no_scroll_bars", "No Scroll Bars");
|
2026-01-07 16:36:40 -05:00
|
|
|
|
2026-01-11 12:09:57 -05:00
|
|
|
i32 use_paging;
|
|
|
|
|
ui("use_paging", "Use Paging");
|
2026-01-07 16:36:40 -05:00
|
|
|
|
2026-01-11 12:09:57 -05:00
|
|
|
f32 select_border_x;
|
|
|
|
|
ui("select_border_x", "Select Border X");
|
2026-01-07 16:36:40 -05:00
|
|
|
|
2026-01-11 12:09:57 -05:00
|
|
|
f32 select_border_y;
|
|
|
|
|
ui("select_border_y", "Select Border Y");
|
|
|
|
|
|
|
|
|
|
f32 select_border_w;
|
|
|
|
|
ui("select_border_w", "Select Border W");
|
|
|
|
|
|
|
|
|
|
f32 select_border_h;
|
|
|
|
|
ui("select_border_h", "Select Border H");
|
|
|
|
|
|
|
|
|
|
f32 disable_color_r;
|
|
|
|
|
ui("disable_color_r", "Disable R");
|
|
|
|
|
|
|
|
|
|
f32 disable_color_g;
|
|
|
|
|
ui("disable_color_g", "Disable G");
|
|
|
|
|
|
|
|
|
|
f32 disable_color_b;
|
|
|
|
|
ui("disable_color_b", "Disable B");
|
|
|
|
|
|
|
|
|
|
f32 disable_color_a;
|
|
|
|
|
ui("disable_color_a", "Disable A");
|
|
|
|
|
|
|
|
|
|
i32 select_icon_ptr;
|
|
|
|
|
ui("select_icon_ptr", "Select Icon Ptr");
|
|
|
|
|
|
|
|
|
|
// Inline data
|
|
|
|
|
inline cstring double_click when double_click_ptr [ui="Double Click"];
|
|
|
|
|
inline material select_icon when select_icon_ptr [ui="Select Icon"];
|
2026-01-07 16:36:40 -05:00
|
|
|
}
|