Lines Matching defs:cfg
317 struct aub_viewer_cfg cfg;
568 ImGui::TextColored(context.cfg.missing_color, "Page not available");
636 display_decode_options(struct aub_viewer_decode_cfg *cfg)
639 snprintf(name, sizeof(name), "command filter##%p", &cfg->command_filter);
640 cfg->command_filter.Draw(name); ImGui::SameLine();
641 snprintf(name, sizeof(name), "field filter##%p", &cfg->field_filter);
642 cfg->field_filter.Draw(name); ImGui::SameLine();
643 if (ImGui::Button("Dwords")) cfg->show_dwords ^= 1;
819 &context.cfg,
911 ImGui::TextColored(context.cfg.dwords_color,
914 ImGui::TextColored(context.cfg.dwords_color, "Dword %d", last_dword);
931 ImGui::TextColored(context.cfg.dwords_color,
991 struct aub_viewer_cfg *cfg = &context.cfg;
993 ImGui::ColorEdit3("background", (float *)&cfg->clear_color, cflags); ImGui::SameLine();
994 ImGui::ColorEdit3("missing", (float *)&cfg->missing_color, cflags); ImGui::SameLine();
995 ImGui::ColorEdit3("error", (float *)&cfg->error_color, cflags); ImGui::SameLine();
996 ImGui::ColorEdit3("highlight", (float *)&cfg->highlight_color, cflags); ImGui::SameLine();
997 ImGui::ColorEdit3("dwords", (float *)&cfg->dwords_color, cflags); ImGui::SameLine();
998 ImGui::ColorEdit3("booleans", (float *)&cfg->boolean_color, cflags); ImGui::SameLine();
1114 glClearColor(context.cfg.clear_color.Value.x,
1115 context.cfg.clear_color.Value.y,
1116 context.cfg.clear_color.Value.z, 1.0);
1131 context.cfg = aub_viewer_cfg();