GUI: fix 3+ digit addresses in register view
This commit is contained in:
parent
69090232fb
commit
0ce746d1d3
|
@ -18,6 +18,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "gui.h"
|
#include "gui.h"
|
||||||
|
#include <imgui.h>
|
||||||
|
|
||||||
void FurnaceGUI::drawRegView() {
|
void FurnaceGUI::drawRegView() {
|
||||||
if (nextWindow==GUI_WINDOW_REGISTER_VIEW) {
|
if (nextWindow==GUI_WINDOW_REGISTER_VIEW) {
|
||||||
|
@ -38,6 +39,8 @@ void FurnaceGUI::drawRegView() {
|
||||||
} else {
|
} else {
|
||||||
ImGui::PushFont(patFont);
|
ImGui::PushFont(patFont);
|
||||||
if (ImGui::BeginTable("Memory",17)) {
|
if (ImGui::BeginTable("Memory",17)) {
|
||||||
|
ImGui::TableSetupColumn("addr",ImGuiTableColumnFlags_WidthFixed);
|
||||||
|
|
||||||
ImGui::TableNextRow();
|
ImGui::TableNextRow();
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
for (int i=0; i<16; i++) {
|
for (int i=0; i<16; i++) {
|
||||||
|
|
Loading…
Reference in New Issue