; ; Copyright (c) 2016-2024, Jani Salonen ; All rights reserved. ; ; @WIDGET_USE_BOUNDING_BOXES no ; window "1" { set "0" { widget "background" { name "background" state enable image "examples/datafiles/background.tga" } widget "label" { name "help" state enable position x = 20, y = 580 label "LMB + mouse to move view, wheel to zoom, enter to select, backspace to previous view", \ charset = UTF-8, size = 8, \ color = rgb:#ffffff, \ justification = left } widget "pushbutton_2" name "render_object" state enable type 3 position x = 40, y = 100 title "Render object", \ charset = UTF-8, size = 10, \ color = rgb:#ffffff, \ justification = center, \ position = above, x = 0, y = -10 sticky no action push = cb_push_renderobject } widget "pushbutton_2" { name "print_object" state enable type 3 position x = 160, y = 100 title "Print object", \ charset = UTF-8, size = 10, \ color = rgb:#ffffff, \ justification = center, \ position = above, x = 0, y = -10 sticky no action push = cb_push_printobject } widget "pushbutton_2" { name "save_object" state enable type 3 position x = 280, y = 100 title "Save object", \ charset = UTF-8, size = 10, \ color = rgb:#ffffff, \ justification = center, \ position = above, x = 0, y = -10 sticky no action push = cb_push_saveobject } widget "pushbutton_2" { name "view_reset" state enable type 1 position x = 440, y = 100 title "View reset", \ charset = UTF-8, size = 10, \ color = rgb:#ffffff, \ justification = center, \ position = above, x = 0, y = -10 sticky no action push = cb_push_viewreset } widget "pushbutton_2" { name "time_reset" state enable type 1 position x = 560, y = 100 title "Time reset", \ charset = UTF-8, size = 10, \ color = rgb:#ffffff, \ justification = center, \ position = above, x = 0, y = -10 sticky no action push = cb_push_timereset } widget "turnswitch" { name "time_warp" state enable type 1 position x = 670, y = 60 angle min = 5, max = 355 steps start = 1, total = 1000 title "Time warp", \ charset = UTF-8, size = 10, \ color = rgb:#ffffff, \ justification = center, \ position = above, x = 0, y = -5 trigger constant action turn = cb_turn_timewarp } } }