package simulator import rl "vendor:raylib" gui_bottom_panel :: proc(rect: rl.Rectangle, sim: ^Simulator) { rl.DrawRectangleLinesEx(rect, 1, rl.GRAY) memory_view_bounds := rl.Rectangle { x = rect.x + PADDING_X, y = rect.y + PADDING_Y, width = (rect.width - (PADDING_X * 2)) / 2, height = rect.height - (PADDING_Y * 2), } gui_tab_memory(memory_view_bounds, sim) disasm_view_bounds := rl.Rectangle { x = rect.x + memory_view_bounds.width + PADDING_X, y = rect.y + PADDING_Y, width = ((rect.width - (PADDING_X * 2)) / 2) / 2, height = rect.height - (PADDING_Y * 2), } gui_tab_disasm(disasm_view_bounds, sim) stack_view_bounds := rl.Rectangle { x = disasm_view_bounds.x + disasm_view_bounds.width, y = rect.y + PADDING_Y, width = ((rect.width - (PADDING_X * 2)) / 2) / 2, height = rect.height - (PADDING_Y * 2), } gui_tab_stack(stack_view_bounds, sim) }