Slider_Float :: struct { min, max: f32; }
Ignore_Option :: struct { option: str; }
-modify_window_draw :: (obj: any, win: ^app.Application_Window, site := #callsite) {
+editor_window_draw :: (obj: any, win: ^app.Application_Window, site := #callsite) {
rect := win.window_state->get_internal_rectangle();
hash := ui.get_site_hash(site);
__counter = hash;
-
+
handle := ui.scrollable_region_start(rect, increment=hash, .{
minimum_x = 0, maximum_x = 0,
minimum_y = 0, maximum_y = 100000.0f,
#private_file
settings_window_draw :: (_, win) => {
- editor.modify_window_draw(^state.settings, win);
+ editor.editor_window_draw(^state.settings, win);
button_theme := ui.default_button_theme;
button_theme.border_width = 0;
app.focus_window(window_id);
app.open_window("dummy", "DUMMY TESTING", .{ 0, 0 },
- (_, win) => { (package editor).modify_window_draw(hex_window, win); });
+ (_, win) => { (package editor).editor_window_draw(hex_window, win); });
}
setup :: () {