From d45401e8cd4e7bddeee1617181e8d0b287115203 Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Thu, 11 Jun 2026 10:28:39 -0700 Subject: [PATCH] pass over default light --- project.raddbg | 2 +- .../dwrite/font_provider_dwrite.c | 13 +- src/raddbg/generated/raddbg.meta.c | 2 +- src/raddbg/raddbg.mdesk | 159 ++++++++---------- src/raddbg/raddbg_core.c | 2 +- 5 files changed, 82 insertions(+), 96 deletions(-) diff --git a/project.raddbg b/project.raddbg index 03f94c70..7570552c 100644 --- a/project.raddbg +++ b/project.raddbg @@ -7,13 +7,13 @@ target: working_directory: "../raddebugger" arguments: "--user:C:/devel/raddebugger/build/raddbg_test.user" debug_subprocesses: 0 + enabled: 1 } target: { executable: "build/mule_main.exe" working_directory: build output_label: output_a - enabled: 1 } target: { diff --git a/src/font_provider/dwrite/font_provider_dwrite.c b/src/font_provider/dwrite/font_provider_dwrite.c index 7fbe50bf..75a725aa 100644 --- a/src/font_provider/dwrite/font_provider_dwrite.c +++ b/src/font_provider/dwrite/font_provider_dwrite.c @@ -163,6 +163,8 @@ fp_init(void) { ProfBeginFunction(); HRESULT error = 0; + F32 default_gamma = 1.5f; + F32 default_enhanced_contrast = 1.f; //- rjf: initialize main state { @@ -191,8 +193,9 @@ fp_init(void) //- rjf: make sharp-hinted rendering params { FLOAT gamma = IDWriteRenderingParams_GetGamma(fp_dwrite_state->base_rendering_params); - gamma = 1.f; FLOAT enhanced_contrast = IDWriteRenderingParams_GetEnhancedContrast(fp_dwrite_state->base_rendering_params); + gamma = default_gamma; + enhanced_contrast = default_enhanced_contrast; if(fp_dwrite_state->dwrite2_is_supported) { error = IDWriteFactory2_CreateCustomRenderingParams2((IDWriteFactory2 *)fp_dwrite_state->factory, @@ -220,8 +223,9 @@ fp_init(void) //- rjf: make sharp-unhinted rendering params { FLOAT gamma = IDWriteRenderingParams_GetGamma(fp_dwrite_state->base_rendering_params); - gamma = 1.f; FLOAT enhanced_contrast = IDWriteRenderingParams_GetEnhancedContrast(fp_dwrite_state->base_rendering_params); + gamma = default_gamma; + enhanced_contrast = default_enhanced_contrast; if(fp_dwrite_state->dwrite2_is_supported) { error = IDWriteFactory2_CreateCustomRenderingParams2((IDWriteFactory2 *)fp_dwrite_state->factory, @@ -249,8 +253,9 @@ fp_init(void) //- rjf: make smooth-hinted rendering params { FLOAT gamma = IDWriteRenderingParams_GetGamma(fp_dwrite_state->base_rendering_params); - gamma = 1.f; FLOAT enhanced_contrast = IDWriteRenderingParams_GetEnhancedContrast(fp_dwrite_state->base_rendering_params); + gamma = default_gamma; + enhanced_contrast = default_enhanced_contrast; if(fp_dwrite_state->dwrite2_is_supported) { error = IDWriteFactory2_CreateCustomRenderingParams2((IDWriteFactory2 *)fp_dwrite_state->factory, @@ -277,7 +282,7 @@ fp_init(void) //- rjf: make smooth rendering params { - FLOAT gamma = 1.f; + FLOAT gamma = default_gamma; FLOAT enhanced_contrast = 0.f; if(fp_dwrite_state->dwrite2_is_supported) { diff --git a/src/raddbg/generated/raddbg.meta.c b/src/raddbg/generated/raddbg.meta.c index a9ed8988..314db20a 100644 --- a/src/raddbg/generated/raddbg.meta.c +++ b/src/raddbg/generated/raddbg.meta.c @@ -1125,7 +1125,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: 0xffffffff }\n theme_color:{ tags: \"alt background\" , value: 0xf8f8f8ff }\n theme_color:{ tags: \"pop background\" , value: 0xcbe4f2ff }\n theme_color:{ tags: \"menu_bar pop background\" , value: 0x5aabd9ff }\n theme_color:{ tags: \"fresh background\" , value: 0xeaddceff }\n theme_color:{ tags: \"match background\" , value: 0xc1e9c4ff }\n theme_color:{ tags: border , value: 0xcbcbcbff }\n theme_color:{ tags: text , value: 0xff }\n theme_color:{ tags: \"weak text\" , value: 0x727272ff }\n theme_color:{ tags: \"good text\" , value: 0x217538ff }\n theme_color:{ tags: \"neutral text\" , value: 0x1a5b7cff }\n theme_color:{ tags: \"bad text\" , value: 0x972717ff }\n theme_color:{ tags: hover , value: 0xff }\n theme_color:{ tags: \"focus overlay\" , value: 0x67ff4b }\n theme_color:{ tags: \"focus border\" , value: 0x67ffff }\n theme_color:{ tags: cursor , value: 0xff }\n theme_color:{ tags: selection , value: 0x283d5166 }\n theme_color:{ tags: \"inactive background\" , value: 0x8 }\n theme_color:{ tags: drop_shadow , value: 0xb }\n theme_color:{ tags: \"good_pop background\" , value: 0x90c09aff }\n theme_color:{ tags: \"good_pop border\" , value: 0x1e7231ff }\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: 0xa93620ff }\n theme_color:{ tags: \"bad_pop text\" , value: 0xffffffff }\n theme_color:{ tags: \"bad_pop text weak\" , value: 0xffffffff }\n theme_color:{ tags: \"menu_bar bad_pop background\" , value: 0xff2a00ff }\n theme_color:{ tags: \"menu_bar bad_pop text\" , value: 0xffffffff }\n theme_color:{ tags: \"bad_pop hover\" , value: 0xff825cff }\n theme_color:{ tags: code_default , value: 0x80808ff }\n theme_color:{ tags: code_symbol , value: 0x4ac3ff }\n theme_color:{ tags: code_type , value: 0xf46200ff }\n theme_color:{ tags: code_local , value: 0x317c00ff }\n theme_color:{ tags: code_register , value: 0x9a00ffff }\n theme_color:{ tags: code_keyword , value: 0xff0600ff }\n theme_color:{ tags: code_delimiter_or_operator , value: 0x8a8a8aff }\n theme_color:{ tags: code_numeric , value: 0x7d49ff }\n theme_color:{ tags: code_numeric_alt_digit_group , value: 0xb56aff }\n theme_color:{ tags: code_string , value: 0x63549fff }\n theme_color:{ tags: code_meta , value: 0xd96759ff }\n theme_color:{ tags: code_comment , value: 0x717171ff }\n theme_color:{ tags: line_info_0 , value: 0xe6d5cdff }\n theme_color:{ tags: line_info_1 , value: 0xdbcfb2ff }\n theme_color:{ tags: line_info_2 , value: 0xddeac1ff }\n theme_color:{ tags: line_info_3 , value: 0xddc4bdff }\n theme_color:{ tags: line_info_4 , value: 0xba917eff }\n theme_color:{ tags: thread_0 , value: 0xffa700ff }\n theme_color:{ tags: thread_1 , value: 0xb41fff }\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: 0xff2800ff }\n theme_color:{ tags: \"floating background\" , value: 0xffffffc7 }\n theme_color:{ tags: \"floating background alt\" , value: 0x23 }\n theme_color:{ tags: \"floating background fresh\" , value: 0xeaddceff }\n theme_color:{ tags: \"floating border\" , value: 0x88888884 }\n theme_color:{ tags: \"scroll_bar background\" , value: 0xe9e9e9ff }\n theme_color:{ tags: \"scroll_bar border\" , value: 0x5f5f5f5f }\n theme_color:{ tags: \"floating scroll_bar background\" , value: 0xe9e9e9ff }\n theme_color:{ tags: \"floating scroll_bar border\" , value: 0x5f5f5f5f }\n theme_color:{ tags: \"menu_bar background\" , value: 0x2b6b9aff }\n theme_color:{ tags: \"menu_bar border\" , value: 0x4d }\n theme_color:{ tags: \"menu_bar text\" , value: 0xffffffff }\n theme_color:{ tags: \"menu_bar text weak\" , value: 0xffffffff }\n theme_color:{ tags: \"good menu_bar text\" , value: 0x70db8dff }\n theme_color:{ tags: \"bad menu_bar text\" , value: 0xffa79bff }\n theme_color:{ tags: \"neutral menu_bar text\" , value: 0xc4dbe7ff }\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 text\" , value: 0xffffffff }\n theme_color:{ tags: \"tab text weak\" , value: 0xffffffff }\n theme_color:{ tags: \"tab background\" , value: 0xb67e48ff }\n theme_color:{ tags: \"tab border\" , value: 0x875b31ff }\n theme_color:{ tags: \"tab inactive background\" , value: 0xcacacaff }\n theme_color:{ tags: \"tab inactive border\" , value: 0xb5b5b5ff }\n theme_color:{ tags: \"tab auto background\" , value: 0xc41c69ff }\n theme_color:{ tags: \"tab auto border\" , value: 0x981039ff }\n theme_color:{ tags: \"tab auto inactive background\" , value: 0x9b88a3ff }\n theme_color:{ tags: \"tab auto inactive border\" , value: 0x373737ff }\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"), str8_lit_comp("theme:\n{\n theme_color:{tags: background, value: 0x002a35ff}\n theme_color:{tags: \"alt background\", value: 0x053542ff}\n theme_color:{tags: \"pop background\", value: 0x355b6eff}\n theme_color:{tags: \"fresh background\", value: 0x31393dff}\n theme_color:{tags: \"match background\", value: 0x31393dff}\n theme_color:{tags: border, value: 0x65166ff}\n theme_color:{tags: text, value: 0xeee8d5ff}\n theme_color:{tags: \"weak text\", value: 0x93a1a1ff}\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: 0xca4b16ff}\n theme_color:{tags: \"focus overlay\", value: 0xca4b151f}\n theme_color:{tags: \"focus border\", value: 0xca4b16ff}\n theme_color:{tags: cursor, value: 0xca4b16ff}\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: 0x5f8700ff}\n theme_color:{tags: \"good_pop border\", value: 0x5f8700ff}\n theme_color:{tags: \"bad_pop background\", value: 0x810000ff}\n theme_color:{tags: code_default, value: 0x839496ff}\n theme_color:{tags: code_symbol, value: 0xb3880eff}\n theme_color:{tags: code_type, value: 0xb3880eff}\n theme_color:{tags: code_local, value: 0xeee8d5ff}\n theme_color:{tags: code_register, value: 0xeee8d5ff}\n theme_color:{tags: code_keyword, value: 0x849804ff}\n theme_color:{tags: code_delimiter_or_operator, value: 0x839496ff}\n theme_color:{tags: code_numeric, value: 0x2aa198ff}\n theme_color:{tags: code_numeric_alt_digit_group, value: 0x19766bff}\n theme_color:{tags: code_string, value: 0x2aa198ff}\n theme_color:{tags: code_meta, value: 0xca4b16ff}\n theme_color:{tags: code_comment, value: 0x586e75ff}\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: thread_0, value: 0xffcb7fff}\n theme_color:{tags: thread_1, value: 0xb2ff65ff}\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: 0x2a3574}\n theme_color:{tags: \"floating background alt\", value: 0x4f}\n theme_color:{tags: \"floating background fresh\", value: 0x31393d5f}\n theme_color:{tags: \"floating scroll_bar background\", value: 0x53542ff}\n theme_color:{tags: \"scroll_bar background\", value: 0x53542ff}\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: 0x586e75ff}\n theme_color:{tags: \"tab border\", value: 0x90abb3ff}\n theme_color:{tags: \"tab inactive background\", value: 0x0}\n theme_color:{tags: \"tab inactive border\", value: 0x33494fff}\n theme_color:{tags: \"tab auto background\", value: 0x565ed2ff}\n theme_color:{tags: \"tab auto border\", value: 0xa2a6dfff}\n theme_color:{tags: \"tab auto inactive background\", value: 0}\n theme_color:{tags: \"tab auto inactive border\", value: 0x595fbcff}\n theme_color:{tags: \"drop_site background\", value: 0xffffff05}\n theme_color:{tags: \"drop_site border\", value: 0xffffff0f}\n}\n"), diff --git a/src/raddbg/raddbg.mdesk b/src/raddbg/raddbg.mdesk index b1ba1b66..40196307 100644 --- a/src/raddbg/raddbg.mdesk +++ b/src/raddbg/raddbg.mdesk @@ -1667,95 +1667,76 @@ RD_ThemePresetTable: { DefaultLight default_light "Default (Light)", ```theme: { - theme_color:{ tags: background , value: 0xffffffff } - theme_color:{ tags: "alt background" , value: 0xf8f8f8ff } - theme_color:{ tags: "pop background" , value: 0xcbe4f2ff } - theme_color:{ tags: "menu_bar pop background" , value: 0x5aabd9ff } - theme_color:{ tags: "fresh background" , value: 0xeaddceff } - theme_color:{ tags: "match background" , value: 0xc1e9c4ff } - theme_color:{ tags: border , value: 0xcbcbcbff } - theme_color:{ tags: text , value: 0xff } - theme_color:{ tags: "weak text" , value: 0x727272ff } - theme_color:{ tags: "good text" , value: 0x217538ff } - theme_color:{ tags: "neutral text" , value: 0x1a5b7cff } - theme_color:{ tags: "bad text" , value: 0x972717ff } - theme_color:{ tags: hover , value: 0xff } - theme_color:{ tags: "focus overlay" , value: 0x67ff4b } - theme_color:{ tags: "focus border" , value: 0x67ffff } - theme_color:{ tags: cursor , value: 0xff } - theme_color:{ tags: selection , value: 0x283d5166 } - theme_color:{ tags: "inactive background" , value: 0x8 } - theme_color:{ tags: drop_shadow , value: 0xb } - theme_color:{ tags: "good_pop background" , value: 0x90c09aff } - theme_color:{ tags: "good_pop border" , value: 0x1e7231ff } - theme_color:{ tags: "good_pop hover" , value: 0xe3f5d3ff } - theme_color:{ tags: "good_pop weak text" , value: 0xe3f5d3ff } - theme_color:{ tags: "good_pop text" , value: 0xe3f5d3ff } - theme_color:{ tags: "bad_pop background" , value: 0xa93620ff } - theme_color:{ tags: "bad_pop text" , value: 0xffffffff } - theme_color:{ tags: "bad_pop text weak" , value: 0xffffffff } - theme_color:{ tags: "menu_bar bad_pop background" , value: 0xff2a00ff } - theme_color:{ tags: "menu_bar bad_pop text" , value: 0xffffffff } - theme_color:{ tags: "bad_pop hover" , value: 0xff825cff } - theme_color:{ tags: code_default , value: 0x80808ff } - theme_color:{ tags: code_symbol , value: 0x4ac3ff } - theme_color:{ tags: code_type , value: 0xf46200ff } - theme_color:{ tags: code_local , value: 0x317c00ff } - theme_color:{ tags: code_register , value: 0x9a00ffff } - theme_color:{ tags: code_keyword , value: 0xff0600ff } - theme_color:{ tags: code_delimiter_or_operator , value: 0x8a8a8aff } - theme_color:{ tags: code_numeric , value: 0x7d49ff } - theme_color:{ tags: code_numeric_alt_digit_group , value: 0xb56aff } - theme_color:{ tags: code_string , value: 0x63549fff } - theme_color:{ tags: code_meta , value: 0xd96759ff } - theme_color:{ tags: code_comment , value: 0x717171ff } - theme_color:{ tags: line_info_0 , value: 0xe6d5cdff } - theme_color:{ tags: line_info_1 , value: 0xdbcfb2ff } - theme_color:{ tags: line_info_2 , value: 0xddeac1ff } - theme_color:{ tags: line_info_3 , value: 0xddc4bdff } - theme_color:{ tags: line_info_4 , value: 0xba917eff } - theme_color:{ tags: thread_0 , value: 0xffa700ff } - theme_color:{ tags: thread_1 , value: 0xb41fff } - theme_color:{ tags: thread_2 , value: 0xff99e5ff } - theme_color:{ tags: thread_3 , value: 0x6598ffff } - theme_color:{ tags: thread_4 , value: 0x65ffcbff } - theme_color:{ tags: thread_5 , value: 0xff9819ff } - theme_color:{ tags: thread_6 , value: 0x9932ffff } - theme_color:{ tags: thread_7 , value: 0x65ff4cff } - theme_color:{ tags: thread_unwound , value: 0xb2ccd8ff } - theme_color:{ tags: thread_error , value: 0xb23219ff } - theme_color:{ tags: breakpoint , value: 0xff2800ff } - theme_color:{ tags: "floating background" , value: 0xffffffc7 } - theme_color:{ tags: "floating background alt" , value: 0x23 } - theme_color:{ tags: "floating background fresh" , value: 0xeaddceff } - theme_color:{ tags: "floating border" , value: 0x88888884 } - theme_color:{ tags: "scroll_bar background" , value: 0xe9e9e9ff } - theme_color:{ tags: "scroll_bar border" , value: 0x5f5f5f5f } - theme_color:{ tags: "floating scroll_bar background" , value: 0xe9e9e9ff } - theme_color:{ tags: "floating scroll_bar border" , value: 0x5f5f5f5f } - theme_color:{ tags: "menu_bar background" , value: 0x2b6b9aff } - theme_color:{ tags: "menu_bar border" , value: 0x4d } - theme_color:{ tags: "menu_bar text" , value: 0xffffffff } - theme_color:{ tags: "menu_bar text weak" , value: 0xffffffff } - theme_color:{ tags: "good menu_bar text" , value: 0x70db8dff } - theme_color:{ tags: "bad menu_bar text" , value: 0xffa79bff } - theme_color:{ tags: "neutral menu_bar text" , value: 0xc4dbe7ff } - theme_color:{ tags: "implicit background" , value: 0x00000000 } - theme_color:{ tags: "implicit border" , value: 0x00000000 } - theme_color:{ tags: "hollow background" , value: 0x00000000 } - theme_color:{ tags: "hollow border" , value: 0xffffff1f } - theme_color:{ tags: "tab text" , value: 0xffffffff } - theme_color:{ tags: "tab text weak" , value: 0xffffffff } - theme_color:{ tags: "tab background" , value: 0xb67e48ff } - theme_color:{ tags: "tab border" , value: 0x875b31ff } - theme_color:{ tags: "tab inactive background" , value: 0xcacacaff } - theme_color:{ tags: "tab inactive border" , value: 0xb5b5b5ff } - theme_color:{ tags: "tab auto background" , value: 0xc41c69ff } - theme_color:{ tags: "tab auto border" , value: 0x981039ff } - theme_color:{ tags: "tab auto inactive background" , value: 0x9b88a3ff } - theme_color:{ tags: "tab auto inactive border" , value: 0x373737ff } - theme_color:{ tags: "drop_site background" , value: 0xffffff05 } - theme_color:{ tags: "drop_site border" , value: 0xffffff0f } + theme_color:{tags: background , value: 0xf4f4f4ff} + theme_color:{tags: "alt background" , value: 0xe7e7e7ff} + theme_color:{tags: "pop background" , value: 0xe7b96bff} + theme_color:{tags: "fresh background" , value: 0xe7d7d0ff} + theme_color:{tags: "match background" , value: 0xcbd8deff} + theme_color:{tags: border , value: 0xb9b9b9ff} + theme_color:{tags: text , value: 0xff} + theme_color:{tags: "weak text" , value: 0x4d4d4dff} + 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: 0xff} + theme_color:{tags: "focus overlay" , value: 0x2192eb49} + theme_color:{tags: "focus border" , value: 0x2392ebff} + theme_color:{tags: cursor , value: 0xff} + theme_color:{tags: selection , value: 0x2170be51} + theme_color:{tags: "inactive background" , value: 0xb} + theme_color:{tags: drop_shadow , value: 0x183d8a53} + theme_color:{tags: "good_pop background" , value: 0x5c9368ff} + theme_color:{tags: "good_pop border" , value: 0x6616ff} + theme_color:{tags: "good_pop hover" , value: 0xe3f5d3ff} + theme_color:{tags: "good_pop weak text" , value: 0xe3f5d3ff} + theme_color:{tags: "bad_pop background" , value: 0xbd5946ff} + theme_color:{tags: "bad_pop hover" , value: 0xff825cff} + theme_color:{tags: code_default , value: 0xff} + theme_color:{tags: code_symbol , value: 0x976b00ff} + theme_color:{tags: code_type , value: 0x976b00ff} + theme_color:{tags: code_local , value: 0x7fa2ff} + theme_color:{tags: code_register , value: 0x6a50caff} + theme_color:{tags: code_keyword , value: 0x1f4253ff} + theme_color:{tags: code_delimiter_or_operator , value: 0x424b4fff} + theme_color:{tags: code_numeric , value: 0xb4500ff} + theme_color:{tags: code_numeric_alt_digit_group , value: 0x3c852fff} + theme_color:{tags: code_string , value: 0xb4500ff} + theme_color:{tags: code_meta , value: 0xe3609aff} + theme_color:{tags: code_comment , value: 0x648e5dff} + theme_color:{tags: line_info_0 , value: 0xcdb3a5ff} + theme_color:{tags: line_info_1 , value: 0xcac5a4ff} + theme_color:{tags: line_info_2 , value: 0xafcebaff} + theme_color:{tags: line_info_3 , value: 0xacc5d7ff} + theme_color:{tags: line_info_4 , value: 0x3c2d25ff} + theme_color:{tags: line_info_5 , value: 0x3c3925ff} + theme_color:{tags: line_info_6 , value: 0x2e4837ff} + theme_color:{tags: line_info_7 , value: 0x2e3d48ff} + theme_color:{tags: thread_0 , value: 0xde8e2aff} + theme_color:{tags: thread_1 , value: 0x7affff} + theme_color:{tags: thread_unwound , value: 0xb2ccd8ff} + theme_color:{tags: thread_error , value: 0xb23219ff} + theme_color:{tags: breakpoint , value: 0xa72911ff} + theme_color:{tags: "floating background" , value: 0xffffffff} + theme_color:{tags: "floating background alt" , value: 0xefefefff} + theme_color:{tags: "floating background fresh" , value: 0x31393d5f} + theme_color:{tags: "floating border" , value: 0xaeaeaeff} + theme_color:{tags: "floating scroll_bar background" , value: 0x3b3b3b5f} + theme_color:{tags: "floating scroll_bar border" , value: 0x5f5f5f5f} + theme_color:{tags: "scroll_bar background" , value: 0xefefefff} + theme_color:{tags: "scroll_bar border" , value: 0xb9b9b9ff} + theme_color:{tags: "implicit background" , value: 0x00000000} + theme_color:{tags: "implicit border" , value: 0x00000000} + theme_color:{tags: "hollow background" , value: 0x00000000} + theme_color:{tags: "hollow border" , value: 0x1f} + theme_color:{tags: "tab background" , value: 0xffffffff} + theme_color:{tags: "tab border" , value: 0x2392ebff} + theme_color:{tags: "tab inactive background" , value: 0} + theme_color:{tags: "tab inactive border" , value: 0x42494eff} + theme_color:{tags: "tab auto background" , value: 0xb9d0ffff} + theme_color:{tags: "tab auto inactive background" , value: 0xc4cde0ff} + theme_color:{tags: "drop_site background" , value: 0xffffff05} + theme_color:{tags: "drop_site border" , value: 0xffffff0f} + theme_color:{tags: "bad_pop weak text" , value: 0xffffffff} } ``` } diff --git a/src/raddbg/raddbg_core.c b/src/raddbg/raddbg_core.c index 4b860b7a..83fd9357 100644 --- a/src/raddbg/raddbg_core.c +++ b/src/raddbg/raddbg_core.c @@ -5780,7 +5780,7 @@ rd_window_frame(void) String8 thread_handle_string = d_string_from_handle(scratch.arena, ctrl_entity->handle); for(U64 idx = 0; idx < 16; idx += 1) { - E_Eval rip_eval = e_eval_from_stringf("query:control.%S.call_stack[%I64u]", thread_handle_string, idx); + E_Eval rip_eval = e_eval_from_stringf("query:control.%S.call_stack[%I64u].address", thread_handle_string, idx); if(rip_eval.irtree.mode != E_Mode_Value) { break;