diff --git a/src/raddbg/generated/raddbg.meta.c b/src/raddbg/generated/raddbg.meta.c index e2c319d9..db9d96ec 100644 --- a/src/raddbg/generated/raddbg.meta.c +++ b/src/raddbg/generated/raddbg.meta.c @@ -1136,7 +1136,7 @@ str8_lit_comp("far_manager"), String8 rd_theme_preset_cfg_string_table[11] = { -str8_lit_comp("theme:\n{\n theme_color:{tags: background, value: 0x1f1f1fff}\n theme_color:{tags: \"alt background\", value: 0x222222ff}\n theme_color:{tags: \"pop background\", value: 0x675331ff}\n theme_color:{tags: \"fresh background\", value: 0x3d3631ff}\n theme_color:{tags: \"match background\", value: 0x31393dff}\n theme_color:{tags: border, value: 0x404040ff}\n theme_color:{tags: text, value: 0xe5e5e5ff}\n theme_color:{tags: \"weak text\", value: 0xa4a4a4ff}\n theme_color:{tags: \"good text\", value: 0x32a852ff}\n theme_color:{tags: \"neutral text\", value: 0x3a90bbff}\n theme_color:{tags: \"bad text\", value: 0xcf5242ff}\n theme_color:{tags: hover, value: 0xabdeffff}\n theme_color:{tags: \"focus overlay\", value: 0x2292eb14}\n theme_color:{tags: \"focus border\", value: 0x2392ebff}\n theme_color:{tags: cursor, value: 0x8aff00ff}\n theme_color:{tags: selection, value: 0x99ccff0f}\n theme_color:{tags: \"inactive background\", value: 0x16}\n theme_color:{tags: drop_shadow, value: 0x0000007f}\n theme_color:{tags: \"good_pop background\", value: 0x2c5b36ff}\n theme_color:{tags: \"good_pop border\", value: 0x568761ff}\n theme_color:{tags: \"good_pop hover\", value: 0xe3f5d3ff}\n theme_color:{tags: \"good_pop weak text\", value: 0xe3f5d3ff}\n theme_color:{tags: \"bad_pop background\", value: 0x803425ff}\n theme_color:{tags: \"bad_pop hover\", value: 0xff825cff}\n theme_color:{tags: code_default, value: 0xecececff}\n theme_color:{tags: code_symbol, value: 0xceaf64ff}\n theme_color:{tags: code_type, value: 0xceaf64ff}\n theme_color:{tags: code_local, value: 0xa7dae8ff}\n theme_color:{tags: code_register, value: 0xb7afd5ff}\n theme_color:{tags: code_keyword, value: 0x838b8fff}\n theme_color:{tags: code_delimiter_or_operator, value: 0x838b8fff}\n theme_color:{tags: code_numeric, value: 0x9cb198ff}\n theme_color:{tags: code_numeric_alt_digit_group, value: 0x6d8e67ff}\n theme_color:{tags: code_string, value: 0x9cb198ff}\n theme_color:{tags: code_meta, value: 0xb9819aff}\n theme_color:{tags: code_comment, value: 0x627b5eff}\n theme_color:{tags: line_info_0, value: 0x3c2d25ff}\n theme_color:{tags: line_info_1, value: 0x3c3925ff}\n theme_color:{tags: line_info_2, value: 0x2e4837ff}\n theme_color:{tags: line_info_3, value: 0x2e3d48ff}\n theme_color:{tags: line_info_4, value: 0x3c2d25ff}\n theme_color:{tags: line_info_5, value: 0x3c3925ff}\n theme_color:{tags: line_info_6, value: 0x2e4837ff}\n theme_color:{tags: line_info_7, value: 0x2e3d48ff}\n theme_color:{tags: thread_0, value: 0xebb624ff}\n theme_color:{tags: thread_1, value: 0x26d0d2ff}\n theme_color:{tags: thread_unwound, value: 0xb2ccd8ff}\n theme_color:{tags: thread_error, value: 0xb23219ff}\n theme_color:{tags: breakpoint, value: 0xa72911ff}\n theme_color:{tags: \"floating background\", value: 0x1b1b1baf}\n theme_color:{tags: \"floating background alt\", value: 0x0000005f}\n theme_color:{tags: \"floating background fresh\", value: 0x31393d5f}\n theme_color:{tags: \"floating border\", value: 0xbfbfbf1f}\n theme_color:{tags: \"floating scroll_bar background\", value: 0x3b3b3b5f}\n theme_color:{tags: \"floating scroll_bar border\", value: 0x5f5f5f5f}\n theme_color:{tags: \"scroll_bar background\", value: 0x2b2b2bff}\n theme_color:{tags: \"scroll_bar border\", value: 0x3f3f3fff}\n theme_color:{tags: \"implicit background\", value: 0x00000000}\n theme_color:{tags: \"implicit border\", value: 0x00000000}\n theme_color:{tags: \"hollow background\", value: 0x00000000}\n theme_color:{tags: \"hollow border\", value: 0xffffff1f}\n theme_color:{tags: \"tab background\", value: 0x333333ff}\n theme_color:{tags: \"tab border\", value: 0x2392ebff}\n theme_color:{tags: \"tab inactive background\", value: 0}\n theme_color:{tags: \"tab inactive border\", value: 0x42494eff}\n theme_color:{tags: \"tab auto background\", value: 0x3e4d6eff}\n theme_color:{tags: \"tab auto inactive background\", value: 0x3e4d6e39}\n theme_color:{tags: \"drop_site background\", value: 0xffffff05}\n theme_color:{tags: \"drop_site border\", value: 0xffffff0f}\n}\n"), +str8_lit_comp("theme:\n{\n theme_color:{tags: background, value: 0x1f1f1fff}\n theme_color:{tags: \"alt background\", value: 0x222222ff}\n theme_color:{tags: \"pop background\", value: 0x675331ff}\n theme_color:{tags: \"fresh background\", value: 0x3d3631ff}\n theme_color:{tags: \"match background\", value: 0x31393dff}\n theme_color:{tags: border, value: 0x404040ff}\n theme_color:{tags: text, value: 0xe5e5e5ff}\n theme_color:{tags: \"weak text\", value: 0xa4a4a4ff}\n theme_color:{tags: \"good text\", value: 0x32a852ff}\n theme_color:{tags: \"neutral text\", value: 0x3a90bbff}\n theme_color:{tags: \"bad text\", value: 0xcf5242ff}\n theme_color:{tags: hover, value: 0xffffffff}\n theme_color:{tags: \"focus overlay\", value: 0x2292eb14}\n theme_color:{tags: \"focus border\", value: 0x2392ebff}\n theme_color:{tags: cursor, value: 0x8aff00ff}\n theme_color:{tags: selection, value: 0x99ccff0f}\n theme_color:{tags: \"inactive background\", value: 0x16}\n theme_color:{tags: drop_shadow, value: 0x0000007f}\n theme_color:{tags: \"good_pop background\", value: 0x2c5b36ff}\n theme_color:{tags: \"good_pop border\", value: 0x568761ff}\n theme_color:{tags: \"good_pop hover\", value: 0xe3f5d3ff}\n theme_color:{tags: \"good_pop weak text\", value: 0xe3f5d3ff}\n theme_color:{tags: \"bad_pop background\", value: 0x803425ff}\n theme_color:{tags: \"bad_pop hover\", value: 0xff825cff}\n theme_color:{tags: code_default, value: 0xecececff}\n theme_color:{tags: code_symbol, value: 0xceaf64ff}\n theme_color:{tags: code_type, value: 0xceaf64ff}\n theme_color:{tags: code_local, value: 0xa7dae8ff}\n theme_color:{tags: code_register, value: 0xb7afd5ff}\n theme_color:{tags: code_keyword, value: 0x838b8fff}\n theme_color:{tags: code_delimiter_or_operator, value: 0x838b8fff}\n theme_color:{tags: code_numeric, value: 0x9cb198ff}\n theme_color:{tags: code_numeric_alt_digit_group, value: 0x6d8e67ff}\n theme_color:{tags: code_string, value: 0x9cb198ff}\n theme_color:{tags: code_meta, value: 0xb9819aff}\n theme_color:{tags: code_comment, value: 0x627b5eff}\n theme_color:{tags: line_info_0, value: 0x3c2d25ff}\n theme_color:{tags: line_info_1, value: 0x3c3925ff}\n theme_color:{tags: line_info_2, value: 0x2e4837ff}\n theme_color:{tags: line_info_3, value: 0x2e3d48ff}\n theme_color:{tags: line_info_4, value: 0x3c2d25ff}\n theme_color:{tags: line_info_5, value: 0x3c3925ff}\n theme_color:{tags: line_info_6, value: 0x2e4837ff}\n theme_color:{tags: line_info_7, value: 0x2e3d48ff}\n theme_color:{tags: thread_0, value: 0xebb624ff}\n theme_color:{tags: thread_1, value: 0x26d0d2ff}\n theme_color:{tags: thread_unwound, value: 0xb2ccd8ff}\n theme_color:{tags: thread_error, value: 0xb23219ff}\n theme_color:{tags: breakpoint, value: 0xa72911ff}\n theme_color:{tags: \"floating background\", value: 0x1b1b1baf}\n theme_color:{tags: \"floating background alt\", value: 0x0000005f}\n theme_color:{tags: \"floating background fresh\", value: 0x31393d5f}\n theme_color:{tags: \"floating border\", value: 0xbfbfbf1f}\n theme_color:{tags: \"floating scroll_bar background\", value: 0x3b3b3b5f}\n theme_color:{tags: \"floating scroll_bar border\", value: 0x5f5f5f5f}\n theme_color:{tags: \"scroll_bar background\", value: 0x2b2b2bff}\n theme_color:{tags: \"scroll_bar border\", value: 0x3f3f3fff}\n theme_color:{tags: \"implicit background\", value: 0x00000000}\n theme_color:{tags: \"implicit border\", value: 0x00000000}\n theme_color:{tags: \"hollow background\", value: 0x00000000}\n theme_color:{tags: \"hollow border\", value: 0xffffff1f}\n theme_color:{tags: \"tab background\", value: 0x333333ff}\n theme_color:{tags: \"tab border\", value: 0x2392ebff}\n theme_color:{tags: \"tab inactive background\", value: 0}\n theme_color:{tags: \"tab inactive border\", value: 0x42494eff}\n theme_color:{tags: \"tab auto background\", value: 0x3e4d6eff}\n theme_color:{tags: \"tab auto inactive background\", value: 0x3e4d6e39}\n theme_color:{tags: \"drop_site background\", value: 0xffffff05}\n theme_color:{tags: \"drop_site border\", value: 0xffffff0f}\n}\n"), str8_lit_comp("theme:\n{\n theme_color:{tags: background , value: 0xf4f4f4ff}\n theme_color:{tags: \"alt background\" , value: 0xe7e7e7ff}\n theme_color:{tags: \"pop background\" , value: 0xe7b96bff}\n theme_color:{tags: \"fresh background\" , value: 0xe7d7d0ff}\n theme_color:{tags: \"match background\" , value: 0xcbd8deff}\n theme_color:{tags: border , value: 0xb9b9b9ff}\n theme_color:{tags: text , value: 0xff}\n theme_color:{tags: \"weak text\" , value: 0x4d4d4dff}\n theme_color:{tags: \"good text\" , value: 0x32a852ff}\n theme_color:{tags: \"neutral text\" , value: 0x3a90bbff}\n theme_color:{tags: \"bad text\" , value: 0xcf5242ff}\n theme_color:{tags: hover , value: 0xff}\n theme_color:{tags: \"focus overlay\" , value: 0x2192eb49}\n theme_color:{tags: \"focus border\" , value: 0x2392ebff}\n theme_color:{tags: cursor , value: 0xff}\n theme_color:{tags: selection , value: 0x2170be51}\n theme_color:{tags: \"inactive background\" , value: 0xb}\n theme_color:{tags: drop_shadow , value: 0x183d8a53}\n theme_color:{tags: \"good_pop background\" , value: 0x5c9368ff}\n theme_color:{tags: \"good_pop border\" , value: 0x6616ff}\n theme_color:{tags: \"good_pop hover\" , value: 0xe3f5d3ff}\n theme_color:{tags: \"good_pop weak text\" , value: 0xe3f5d3ff}\n theme_color:{tags: \"bad_pop background\" , value: 0xbd5946ff}\n theme_color:{tags: \"bad_pop hover\" , value: 0xff825cff}\n theme_color:{tags: code_default , value: 0xff}\n theme_color:{tags: code_symbol , value: 0x976b00ff}\n theme_color:{tags: code_type , value: 0x976b00ff}\n theme_color:{tags: code_local , value: 0x7fa2ff}\n theme_color:{tags: code_register , value: 0x6a50caff}\n theme_color:{tags: code_keyword , value: 0x1f4253ff}\n theme_color:{tags: code_delimiter_or_operator , value: 0x424b4fff}\n theme_color:{tags: code_numeric , value: 0xb4500ff}\n theme_color:{tags: code_numeric_alt_digit_group , value: 0x3c852fff}\n theme_color:{tags: code_string , value: 0xb4500ff}\n theme_color:{tags: code_meta , value: 0xe3609aff}\n theme_color:{tags: code_comment , value: 0x648e5dff}\n theme_color:{tags: line_info_0 , value: 0xcdb3a5ff}\n theme_color:{tags: line_info_1 , value: 0xcac5a4ff}\n theme_color:{tags: line_info_2 , value: 0xafcebaff}\n theme_color:{tags: line_info_3 , value: 0xacc5d7ff}\n theme_color:{tags: line_info_4 , value: 0x3c2d25ff}\n theme_color:{tags: line_info_5 , value: 0x3c3925ff}\n theme_color:{tags: line_info_6 , value: 0x2e4837ff}\n theme_color:{tags: line_info_7 , value: 0x2e3d48ff}\n theme_color:{tags: thread_0 , value: 0xde8e2aff}\n theme_color:{tags: thread_1 , value: 0x7affff}\n theme_color:{tags: thread_unwound , value: 0xb2ccd8ff}\n theme_color:{tags: thread_error , value: 0xb23219ff}\n theme_color:{tags: breakpoint , value: 0xa72911ff}\n theme_color:{tags: \"floating background\" , value: 0xffffffff}\n theme_color:{tags: \"floating background alt\" , value: 0xefefefff}\n theme_color:{tags: \"floating background fresh\" , value: 0x31393d5f}\n theme_color:{tags: \"floating border\" , value: 0xaeaeaeff}\n theme_color:{tags: \"floating scroll_bar background\" , value: 0x3b3b3b5f}\n theme_color:{tags: \"floating scroll_bar border\" , value: 0x5f5f5f5f}\n theme_color:{tags: \"scroll_bar background\" , value: 0xefefefff}\n theme_color:{tags: \"scroll_bar border\" , value: 0xb9b9b9ff}\n theme_color:{tags: \"implicit background\" , value: 0x00000000}\n theme_color:{tags: \"implicit border\" , value: 0x00000000}\n theme_color:{tags: \"hollow background\" , value: 0x00000000}\n theme_color:{tags: \"hollow border\" , value: 0x1f}\n theme_color:{tags: \"tab background\" , value: 0xffffffff}\n theme_color:{tags: \"tab border\" , value: 0x2392ebff}\n theme_color:{tags: \"tab inactive background\" , value: 0}\n theme_color:{tags: \"tab inactive border\" , value: 0x42494eff}\n theme_color:{tags: \"tab auto background\" , value: 0xb9d0ffff}\n theme_color:{tags: \"tab auto inactive background\" , value: 0xc4cde0ff}\n theme_color:{tags: \"drop_site background\" , value: 0xffffff05}\n theme_color:{tags: \"drop_site border\" , value: 0xffffff0f}\n theme_color:{tags: \"bad_pop weak text\" , value: 0xffffffff}\n}\n"), str8_lit_comp("theme:\n{\n theme_color:{ tags: background , value: 0x1f1f1fff }\n theme_color:{ tags: \"alt background\" , value: 0x222222ff }\n theme_color:{ tags: \"pop background\" , value: 0x383167ff }\n theme_color:{ tags: \"fresh background\" , value: 0x31393dff }\n theme_color:{ tags: \"match background\" , value: 0x31393dff }\n theme_color:{ tags: border , value: 0x404040ff }\n theme_color:{ tags: text , value: 0xe5e5e5ff }\n theme_color:{ tags: \"weak text\" , value: 0xa4a4a4ff }\n theme_color:{ tags: \"good text\" , value: 0x32a852ff }\n theme_color:{ tags: \"neutral text\" , value: 0x3a90bbff }\n theme_color:{ tags: \"bad text\" , value: 0xcf5242ff }\n theme_color:{ tags: hover , value: 0xffffffff }\n theme_color:{ tags: \"focus overlay\" , value: 0x7160e81e }\n theme_color:{ tags: \"focus border\" , value: 0x7160e8ff }\n theme_color:{ tags: cursor , value: 0x8aff00ff }\n theme_color:{ tags: selection , value: 0x99ccff0f }\n theme_color:{ tags: \"inactive background\" , value: 0x0000002f }\n theme_color:{ tags: drop_shadow , value: 0x0000007f }\n theme_color:{ tags: \"good_pop background\" , value: 0x2c5b36ff }\n theme_color:{ tags: \"good_pop border\" , value: 0x568761ff }\n theme_color:{ tags: \"good_pop hover\" , value: 0xe3f5d3ff }\n theme_color:{ tags: \"good_pop weak text\" , value: 0xe3f5d3ff }\n theme_color:{ tags: \"bad_pop background\" , value: 0x803425ff }\n theme_color:{ tags: \"bad_pop hover\" , value: 0xff825cff }\n theme_color:{ tags: code_default , value: 0xe0e0e0ff }\n theme_color:{ tags: code_symbol , value: 0xdcdcaaff }\n theme_color:{ tags: code_type , value: 0x4ec9b0ff }\n theme_color:{ tags: code_local , value: 0x9cdcfeff }\n theme_color:{ tags: code_register , value: 0xb7afd5ff }\n theme_color:{ tags: code_keyword , value: 0x569cd6ff }\n theme_color:{ tags: code_delimiter_or_operator , value: 0x767676ff }\n theme_color:{ tags: code_numeric , value: 0xb5cea8ff }\n theme_color:{ tags: code_numeric_alt_digit_group , value: 0x7c986dff }\n theme_color:{ tags: code_string , value: 0xd69d85ff }\n theme_color:{ tags: code_meta , value: 0x9b9b9bff }\n theme_color:{ tags: code_comment , value: 0x51a644ff }\n theme_color:{ tags: line_info_0 , value: 0x4f3022ff }\n theme_color:{ tags: line_info_1 , value: 0x4f3e15ff }\n theme_color:{ tags: line_info_2 , value: 0x434e2aff }\n theme_color:{ tags: line_info_3 , value: 0x36241fff }\n theme_color:{ tags: line_info_4 , value: 0x4f3022ff }\n theme_color:{ tags: line_info_5 , value: 0x4f3e15ff }\n theme_color:{ tags: line_info_6 , value: 0x434e2aff }\n theme_color:{ tags: line_info_7 , value: 0x36241fff }\n theme_color:{ tags: thread_0 , value: 0xffdc48ff }\n theme_color:{ tags: thread_1 , value: 0xb2ff65ff }\n theme_color:{ tags: thread_2 , value: 0xff99e5ff }\n theme_color:{ tags: thread_3 , value: 0x6598ffff }\n theme_color:{ tags: thread_4 , value: 0x65ffcbff }\n theme_color:{ tags: thread_5 , value: 0xff9819ff }\n theme_color:{ tags: thread_6 , value: 0x9932ffff }\n theme_color:{ tags: thread_7 , value: 0x65ff4cff }\n theme_color:{ tags: thread_unwound , value: 0xb2ccd8ff }\n theme_color:{ tags: thread_error , value: 0xb23219ff }\n theme_color:{ tags: breakpoint , value: 0xa72911ff }\n theme_color:{ tags: \"floating background\" , value: 0x1b1b1baf }\n theme_color:{ tags: \"floating background alt\" , value: 0x0000005f }\n theme_color:{ tags: \"floating background fresh\" , value: 0x31393d5f }\n theme_color:{ tags: \"floating border\" , value: 0xbfbfbf1f }\n theme_color:{ tags: \"floating scroll_bar background\" , value: 0x3b3b3b5f }\n theme_color:{ tags: \"floating scroll_bar border\" , value: 0x5f5f5f5f }\n theme_color:{ tags: \"scroll_bar background\" , value: 0x2b2b2bff }\n theme_color:{ tags: \"scroll_bar border\" , value: 0x3f3f3fff }\n theme_color:{ tags: \"implicit background\" , value: 0x00000000 }\n theme_color:{ tags: \"implicit border\" , value: 0x00000000 }\n theme_color:{ tags: \"hollow background\" , value: 0x00000000 }\n theme_color:{ tags: \"hollow border\" , value: 0xffffff1f }\n theme_color:{ tags: \"tab background\" , value: 0x333333ff }\n theme_color:{ tags: \"tab border\" , value: 0x7160e8ff }\n theme_color:{ tags: \"tab inactive background\" , value: 0x171717ff }\n theme_color:{ tags: \"tab inactive border\" , value: 0x3e4c57ff }\n theme_color:{ tags: \"tab auto background\" , value: 0x3f386dff }\n theme_color:{ tags: \"tab auto border\" , value: 0x7160e8ff }\n theme_color:{ tags: \"tab auto inactive background\" , value: 0x2f2633ff }\n theme_color:{ tags: \"tab auto inactive border\" , value: 0x685073ff }\n theme_color:{ tags: \"drop_site background\" , value: 0xffffff05 }\n theme_color:{ tags: \"drop_site border\" , value: 0xffffff0f }\n}\n"), str8_lit_comp("theme:\n{\n theme_color:{tags: background, value: 0xffffffff}\n theme_color:{tags: \"alt background\", value: 0xefefefff}\n theme_color:{tags: \"pop background\", value: 0xe3eaf2ff}\n theme_color:{tags: \"fresh background\", value: 0xeccbbeff}\n theme_color:{tags: \"match background\", value: 0xedcbf9ff}\n theme_color:{tags: border, value: 0xe7e7e7ff}\n theme_color:{tags: text, value: 0xff}\n theme_color:{tags: \"weak text\", value: 0x353535ff}\n theme_color:{tags: \"good text\", value: 0x32a852ff}\n theme_color:{tags: \"neutral text\", value: 0x3a90bbff}\n theme_color:{tags: \"bad text\", value: 0xcf5242ff}\n theme_color:{tags: hover, value: 0xa7ffff}\n theme_color:{tags: \"focus overlay\", value: 0x8eff3f}\n theme_color:{tags: \"focus border\", value: 0x8effff}\n theme_color:{tags: cursor, value: 0xff}\n theme_color:{tags: selection, value: 0x56aaff77}\n theme_color:{tags: \"inactive background\", value: 0x17}\n theme_color:{tags: drop_shadow, value: 0xe7b27}\n theme_color:{tags: \"good_pop background\", value: 0x21a43dff}\n theme_color:{tags: \"good_pop border\", value: 0x21a43dff}\n theme_color:{tags: \"good_pop hover\", value: 0xe3f5d3ff}\n theme_color:{tags: \"good_pop weak text\", value: 0xe3f5d3ff}\n theme_color:{tags: \"good_pop text\", value: 0xe3f5d3ff}\n theme_color:{tags: \"bad_pop background\", value: 0xcb3f23ff}\n theme_color:{tags: \"bad_pop text\", value: 0xffcdc4ff}\n theme_color:{tags: \"bad_pop text weak\", value: 0xffcdc4ff}\n theme_color:{tags: \"bad_pop hover\", value: 0xff825cff}\n theme_color:{tags: code_default, value: 0x000000ff}\n theme_color:{tags: code_symbol, value: 0x74531fff}\n theme_color:{tags: code_type, value: 0x2b91afff}\n theme_color:{tags: code_local, value: 0x1f377fff}\n theme_color:{tags: code_register, value: 0x8a1bffff}\n theme_color:{tags: code_keyword, value: 0x0000ffff}\n theme_color:{tags: code_delimiter_or_operator, value: 0x767676ff}\n theme_color:{tags: code_numeric, value: 0xff}\n theme_color:{tags: code_numeric_alt_digit_group, value: 0x1d1d1dff}\n theme_color:{tags: code_string, value: 0xa61515ff}\n theme_color:{tags: code_meta, value: 0x808080ff}\n theme_color:{tags: code_comment, value: 0x008000ff}\n theme_color:{tags: line_info_0, value: 0xb5d9c8ff}\n theme_color:{tags: line_info_1, value: 0xa9c1d0ff}\n theme_color:{tags: line_info_2, value: 0x99abc5ff}\n theme_color:{tags: line_info_3, value: 0xc6bcd5ff}\n theme_color:{tags: thread_0, value: 0xffb141ff}\n theme_color:{tags: thread_1, value: 0x66c407ff}\n theme_color:{tags: thread_unwound, value: 0x67b3d7ff}\n theme_color:{tags: thread_error, value: 0xff2900ff}\n theme_color:{tags: breakpoint, value: 0xff2800ff}\n theme_color:{tags: \"floating background\", value: 0xffffffff}\n theme_color:{tags: \"floating background alt\", value: 0x11}\n theme_color:{tags: \"floating background fresh\", value: 0xa0c2d318}\n theme_color:{tags: \"floating border\", value: 0x50}\n theme_color:{tags: \"floating scroll_bar background\", value: 0x3b3b3b5f}\n theme_color:{tags: \"floating scroll_bar border\", value: 0x5f5f5f5f}\n theme_color:{tags: \"menu_bar background\", value: 0xccd5f0ff}\n theme_color:{tags: \"menu_bar border\", value: 0xbabdc3ff}\n theme_color:{tags: \"scroll_bar background\", value: 0xe4e4e4ff}\n theme_color:{tags: \"implicit background\", value: 0x00000000}\n theme_color:{tags: \"implicit border\", value: 0x00000000}\n theme_color:{tags: \"hollow background\", value: 0x00000000}\n theme_color:{tags: \"hollow border\", value: 0xffffff1f}\n theme_color:{tags: \"tab background\", value: 0xf5cc84ff}\n theme_color:{tags: \"tab border\", value: 0xae7718ff}\n theme_color:{tags: \"tab inactive background\", value: 0x3b4f81ff}\n theme_color:{tags: \"tab inactive text\", value: 0xffffffff}\n theme_color:{tags: \"tab inactive border\", value: 0x3b4f81ff}\n theme_color:{tags: \"tab auto background\", value: 0xe99595ff}\n theme_color:{tags: \"tab auto border\", value: 0xff6262ff}\n theme_color:{tags: \"tab auto inactive background\", value: 0xac6060ff}\n theme_color:{tags: \"tab auto inactive border\", value: 0xff6262ff}\n theme_color:{tags: \"drop_site background\", value: 0xffffff05}\n theme_color:{tags: \"drop_site border\", value: 0xa7ffff}\n}\n"), diff --git a/src/raddbg/raddbg.mdesk b/src/raddbg/raddbg.mdesk index 19d696b9..2c21d406 100644 --- a/src/raddbg/raddbg.mdesk +++ b/src/raddbg/raddbg.mdesk @@ -1615,7 +1615,7 @@ RD_ThemePresetTable: theme_color:{tags: "good text", value: 0x32a852ff} theme_color:{tags: "neutral text", value: 0x3a90bbff} theme_color:{tags: "bad text", value: 0xcf5242ff} - theme_color:{tags: hover, value: 0xabdeffff} + theme_color:{tags: hover, value: 0xffffffff} theme_color:{tags: "focus overlay", value: 0x2292eb14} theme_color:{tags: "focus border", value: 0x2392ebff} theme_color:{tags: cursor, value: 0x8aff00ff} diff --git a/src/raddbg/raddbg_core.c b/src/raddbg/raddbg_core.c index 971abb59..8d62551c 100644 --- a/src/raddbg/raddbg_core.c +++ b/src/raddbg/raddbg_core.c @@ -1788,9 +1788,10 @@ rd_view_ui(Rng2F32 rect) { CFG_NodePtrList targets = cfg_node_top_level_list_from_string(scratch.arena, str8_lit("target")); D_EntityArray processes = d_entity_array_from_kind(D_EntityKind_Process); + Rng2F32 view_rect = ui_top_parent()->rect; //- rjf: icon & info - UI_Padding(ui_em(2.f, 1.f)) UI_TagF("weak") + UI_Padding(ui_em(2.f, 1.f)) { //- rjf: icon { @@ -1806,16 +1807,42 @@ rd_view_ui(Rng2F32 rect) } } - //- rjf: info - UI_Padding(ui_em(2.f, 1.f)) - UI_WidthFill UI_PrefHeight(ui_em(2.f, 1.f)) + //- rjf: title + ui_spacer(ui_em(2.f, 1.f)); + UI_WidthFill UI_PrefHeight(ui_em(2.f, 1.f)) UI_Row UI_Padding(ui_pct(1, 0)) UI_TextAlignment(UI_TextAlign_Center) - UI_PrefWidth(ui_text_dim(10, 1)) + UI_PrefWidth(ui_text_dim(1, 1)) + UI_FontSize(ui_top_font_size()*2.f) { - ui_label(str8_lit(BUILD_TITLE_STRING_LITERAL)); + ui_label(s(BUILD_TITLE)); } + + //- rjf: info + ui_spacer(ui_em(1.f, 1.f)); + UI_WidthFill UI_PrefHeight(ui_em(2.f, 1.f)) + UI_Row + UI_Padding(ui_pct(1, 0)) + UI_TextAlignment(UI_TextAlign_Center) + UI_PrefWidth(ui_text_dim(1, 1)) + UI_TagF("weak") + { + ui_label(s(BUILD_VERSION_STRING_LITERAL " " BUILD_RELEASE_PHASE_STRING_LITERAL)); + ui_label(s(BUILD_GIT_HASH)); + } + } + + //- rjf: helper for command lister activation + UI_PrefHeight(ui_em(3.75f, 1.f)) + UI_Row + UI_Padding(ui_pct(1, 0)) + UI_TextAlignment(UI_TextAlign_Center) + UI_PrefWidth(ui_em(28.f, 1.f)) + UI_CornerRadius(ui_top_font_size()/2.f) + if(ui_clicked(rd_icon_buttonf(RD_IconKind_List, 0, "Open Commands & Settings Palette"))) + { + rd_cmd(RD_CmdKind_RunCommand, .cmd_name = rd_cmd_kind_info_table[RD_CmdKind_OpenPalette].string); } //- rjf: targets state dependent helper @@ -1828,22 +1855,51 @@ rd_view_ui(Rng2F32 rect) //- rjf: user has no targets. build helper for adding them case 0: { - UI_PrefHeight(ui_em(3.75f, 1.f)) - UI_Row - UI_Padding(ui_pct(1, 0)) + // rjf: drop target visualization + ui_spacer(ui_em(2.f, 1.f)); + UI_PrefHeight(ui_em(30.f, 1.f)) UI_Row UI_Padding(ui_pct(1, 0)) UI_PrefWidth(ui_em(40.f, 1.f)) UI_TextAlignment(UI_TextAlign_Center) - UI_PrefWidth(ui_em(22.f, 1.f)) UI_CornerRadius(ui_top_font_size()/2.f) - UI_TagF("pop") - if(ui_clicked(rd_icon_buttonf(RD_IconKind_Add, 0, "Add Target"))) { - rd_cmd(RD_CmdKind_RunCommand, .cmd_name = rd_cmd_kind_info_table[RD_CmdKind_AddTarget].string); + ui_set_next_child_layout_axis(Axis2_Y); + UI_Box *box = ui_build_box_from_stringf(UI_BoxFlag_DrawBorder, "###add_target_drop_site"); + UI_Parent(box) UI_Padding(ui_pct(1, 0)) UI_PrefHeight(ui_em(2.5f, 1.f)) + { + UI_PrefHeight(ui_em(3.75f, 1.f)) + UI_Row + UI_Padding(ui_pct(1, 0)) + UI_TextAlignment(UI_TextAlign_Center) + UI_PrefWidth(ui_em(12.f, 1.f)) + UI_CornerRadius(ui_top_font_size()/2.f) + UI_TagF("pop") + if(ui_clicked(rd_icon_buttonf(RD_IconKind_Add, 0, "Add Target"))) + { + rd_cmd(RD_CmdKind_RunCommand, .cmd_name = rd_cmd_kind_info_table[RD_CmdKind_AddTarget].string); + } + ui_spacer(ui_em(1.f, 1.f)); + UI_TagF("weak") + { + ui_label(s("or drop target executable file")); + } + } + for(UI_Event *evt = 0; ui_next_event(&evt);) + { + if(evt->kind == UI_EventKind_FileDrop && + contains_2f32(view_rect, evt->pos) && + evt->paths.node_count != 0) + { + rd_cmd(RD_CmdKind_AddTarget, .file_path = evt->paths.first->string); + ui_eat_event(evt); + } + } } + ui_spacer(ui_em(4.f, 1.f)); }break; //- rjf: user has 1 target. build helper for launching it case 1: { + ui_spacer(ui_em(1.f, 1.f)); CFG_Node *target_cfg = cfg_node_ptr_list_first(&targets); D_Target target = rd_target_from_cfg(scratch.arena, target_cfg); String8 target_full_path = target.exe; @@ -1860,7 +1916,7 @@ rd_view_ui(Rng2F32 rect) { rd_cmd(RD_CmdKind_LaunchAndRun, .cfg = target_cfg->id); } - ui_spacer(ui_em(1.5f, 1)); + ui_spacer(ui_em(1.f, 1)); if(ui_clicked(rd_icon_buttonf(RD_IconKind_StepInto, 0, "Step Into %S", target_name))) { rd_cmd(RD_CmdKind_LaunchAndStepInto, .cfg = target_cfg->id); @@ -1875,30 +1931,6 @@ rd_view_ui(Rng2F32 rect) }break; } } - - //- rjf: or text - if(helper_built) - { - UI_TagF("weak") - UI_PrefHeight(ui_em(2.25f, 1.f)) - UI_Row - UI_Padding(ui_pct(1, 0)) - UI_TextAlignment(UI_TextAlign_Center) - UI_WidthFill - ui_labelf("- or -"); - } - - //- rjf: helper text for command lister activation - UI_TagF("weak") - UI_PrefHeight(ui_em(2.25f, 1.f)) UI_Row - UI_PrefWidth(ui_text_dim(10, 1)) - UI_TextAlignment(UI_TextAlign_Center) - UI_Padding(ui_pct(1, 0)) - { - ui_labelf("use"); - UI_TextAlignment(UI_TextAlign_Center) rd_cmd_binding_buttons(rd_cmd_kind_info_table[RD_CmdKind_OpenPalette].string, s(""), 1, 0); - ui_labelf("to search for commands and options"); - } } scratch_end(scratch); } @@ -6880,24 +6912,27 @@ rd_window_frame(void) for(RD_QueryView *q = top_query; q != 0; q = q->next, q_count += 1) { // rjf: close if expression is busted + if(q->regs->cmd_name.size == 0) { String8 expr = q->regs->expr; E_Eval eval = e_eval_from_string(expr); if(eval.msgs.max_kind > E_MsgKind_Null) { top_query = q->next; - remove_q_count = q_count; + remove_q_count = q_count+1; } else if(eval.space.kind == RD_EvalSpaceKind_MetaCfg && rd_cfg_from_eval_space(eval.space) == &cfg_nil_node) { - remove_q_count = q_count; + top_query = q->next; + remove_q_count = q_count+1; } else if((eval.space.kind == RD_EvalSpaceKind_MetaCtrlEntity || eval.space.kind == D_EvalSpaceKind_Entity) && rd_ctrl_entity_from_eval_space(eval.space) == &d_entity_nil) { - remove_q_count = q_count; + top_query = q->next; + remove_q_count = q_count+1; } } @@ -6918,10 +6953,12 @@ rd_window_frame(void) } query_is_open = (top_query != 0); - //- rjf: touch immediate cfgs for all active queries + //- rjf: touch immediate cfgs / view states for all active queries for(RD_QueryView *qv = top_query; qv != 0; qv = qv->next) { - rd_immediate_cfg_from_keyf("window_query_%p_%I64u", window, qv->q_arena_pos); + CFG_Node *root = rd_immediate_cfg_from_keyf("window_query_%p_%I64u", window, qv->q_arena_pos); + CFG_Node *view = cfg_node_child_from_string(root, s("watch")); + RD_ViewState *vs = rd_view_state_from_cfg(view); } //- rjf: try to add opened query @@ -7709,7 +7746,8 @@ rd_window_frame(void) // rjf: make ui UI_TagF("implicit") - UI_VisualMargin(ui_top_font_size()*0.45f) + UI_VisualMarginX(ui_top_font_size()*0.45f) + UI_VisualMarginY(ui_top_font_size()*0.5f) UI_CornerRadius(ui_top_font_size()*0.5f) for(U64 idx = 0; idx < ArrayCount(items); idx += 1) { @@ -7849,41 +7887,40 @@ rd_window_frame(void) // rjf: loaded project viz if(do_user_prof) - UI_VisualMargin(ui_top_font_size()*0.5f) - UI_CornerRadius(ui_top_font_size()*0.5f) { - ui_set_next_pref_width(ui_children_sum(1)); - ui_set_next_child_layout_axis(Axis2_X); - UI_Box *prof_box = ui_build_box_from_stringf(UI_BoxFlag_Clickable| - UI_BoxFlag_DrawBackground| - UI_BoxFlag_DrawHotEffects| - UI_BoxFlag_DrawActiveEffects, - "###loaded_project_button"); - wm_window_push_custom_title_bar_client_area(ws->os, prof_box->rect); - UI_Parent(prof_box) UI_PrefWidth(ui_text_dim(10, 0)) UI_TextAlignment(UI_TextAlign_Center) UI_Padding(ui_em(0.5f, 1.f)) + CFG_Node *root = cfg_node_root(); + CFG_Node *project = cfg_node_child_from_string(root, str8_lit("project")); + CFG_Node *name = cfg_node_child_from_string(project, str8_lit("name")); + String8 project_name = name->first->string; + if(project_name.size == 0) { - CFG_Node *root = cfg_node_root(); - CFG_Node *project = cfg_node_child_from_string(root, str8_lit("project")); - CFG_Node *name = cfg_node_child_from_string(project, str8_lit("name")); - String8 project_name = name->first->string; - if(project_name.size == 0) - { - String8 prof_path = rd_state->project_path; - prof_path = str8_chop_last_dot(prof_path); - project_name = str8_skip_last_slash(prof_path); - } - if(project_name.size == 0) - { - project_name = str8_lit("Untitled Project"); - } - RD_Font(RD_FontSlot_Icons) - ui_label(rd_icon_kind_text_table[RD_IconKind_Briefcase]); - ui_label(project_name); + String8 prof_path = rd_state->project_path; + prof_path = str8_chop_last_dot(prof_path); + project_name = str8_skip_last_slash(prof_path); } - UI_Signal prof_sig = ui_signal_from_box(prof_box); - if(ui_clicked(prof_sig)) + if(project_name.size != 0) { - rd_cmd(RD_CmdKind_RunCommand, .cmd_name = rd_cmd_kind_info_table[RD_CmdKind_OpenProject].string); + UI_VisualMargin(ui_top_font_size()*0.5f) + UI_CornerRadius(ui_top_font_size()*0.5f) + { + ui_set_next_pref_width(ui_children_sum(1)); + ui_set_next_child_layout_axis(Axis2_X); + UI_Box *prof_box = ui_build_box_from_stringf(UI_BoxFlag_Clickable| + UI_BoxFlag_DrawBackground| + UI_BoxFlag_DrawHotEffects| + UI_BoxFlag_DrawActiveEffects, + "###loaded_project_button"); + wm_window_push_custom_title_bar_client_area(ws->os, prof_box->rect); + UI_Parent(prof_box) UI_PrefWidth(ui_text_dim(10, 0)) UI_TextAlignment(UI_TextAlign_Center) UI_Padding(ui_em(0.5f, 1.f)) + { + ui_label(project_name); + } + UI_Signal prof_sig = ui_signal_from_box(prof_box); + if(ui_clicked(prof_sig)) + { + rd_cmd(RD_CmdKind_RunCommand, .cmd_name = rd_cmd_kind_info_table[RD_CmdKind_ProjectSettings].string); + } + } } } @@ -9187,7 +9224,7 @@ rd_window_frame(void) UI_Box *add_new_box = &ui_nil_box; RD_Font(RD_FontSlot_Icons) UI_CornerRadius((tab_bar_vheight - tab_bar_vheight/4.f) / 3.f) - UI_VisualMargin(tab_bar_vheight/4.f) + UI_VisualMargin(tab_bar_vheight/5.f) UI_TagF("implicit") UI_TagF("weak") { @@ -9539,6 +9576,7 @@ rd_window_frame(void) } // rjf: soft circle around mouse +#if 0 if(box->hot_t > 0.01f && dim_2f32(box->rect).x > box->font_size*8.f) DR_ClipScope(intersect_2f32(box_bg_rect, dr_top_clip())) { Vec4F32 color = hover_color; @@ -9552,8 +9590,9 @@ rd_window_frame(void) F32 max_dim = Max(box_dim.x, box_dim.y); F32 radius = box->font_size*24.f; radius = Min(max_dim, radius); - dr_rect(pad_2f32(r2f32(center, center), radius), color, radius, 0, radius/3.f); + dr_rect(pad_2f32(r2f32(center, center), radius*2.f), color, radius, 0, radius/2.f); } +#endif } // rjf: active effect extension