# HG changeset patch # User Michael Pavone # Date 1512754985 28800 # Node ID 050a5b032bc5b2cf2d1c90c5823108c734532694 # Parent 224725e8a3a8cee99ce609cad07c49ec2e89405e Initial work on system menu diff -r 224725e8a3a8 -r 050a5b032bc5 nuklear_ui/blastem_nuklear.c --- a/nuklear_ui/blastem_nuklear.c Thu Dec 07 18:59:36 2017 -0800 +++ b/nuklear_ui/blastem_nuklear.c Fri Dec 08 09:43:05 2017 -0800 @@ -485,7 +485,17 @@ } void view_system_settings(struct nk_context *context) { - + uint32_t width = render_width(); + uint32_t height = render_height(); + if (nk_begin(context, "System Settings", nk_rect(0, 0, width, height), 0)) { + nk_layout_row_static(context, 30, width > 300 ? 300 : width, 2); + settings_int_property(context, "68000 Clock Divider", "", "clocks\0m68k_divider\0", 7, 1, 53); + settings_toggle(context, "Remember ROM Path", "ui\0remember_path\0", 1); + if (nk_button_label(context, "Back")) { + pop_view(); + } + nk_end(context); + } } void view_back(struct nk_context *context)