|
|
1.1 root 1: //
2: // nono
3: // Copyright (C) 2024 nono project
4: // Licensed under nono-license.txt
5: //
6:
7: //
8: // アクセス状況 (グラフィカル) ウィンドウ
9: //
10:
11: #pragma once
12:
13: #include "wxsubwindow.h"
14: #include "wxmonitor.h"
15:
16: class MainbusDevice;
17:
18: // アクセス状況 (グラフィカル) パネル
19: class WXAccStatPanel : public WXMonitorPanel
20: {
21: using inherited = WXMonitorPanel;
22: public:
23: WXAccStatPanel(wxWindow *parent, Monitor& monitor_);
24: ~WXAccStatPanel() override;
25:
26: void FontChanged() override;
27: void Draw() override;
28:
29: private:
30: void CopyLine(int cx, int py, int clen);
31: MainbusDevice *mainbus {};
32:
33: bool redraw_header {};
34:
35: bool is_x68030 {};
36: bool bankram[2] {};
37: };
38:
39: // アクセス状況 (グラフィカル) ウィンドウ
40: class WXAccStatWindow : public WXSubWindow
41: {
42: using inherited = WXSubWindow;
43: public:
44: WXAccStatWindow(wxWindow *parent, Monitor& monitor_);
45: ~WXAccStatWindow() override;
46: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.