|
|
1.1 ! root 1: // ! 2: // nono ! 3: // Copyright (C) 2025 nono project ! 4: // Licensed under nono-license.txt ! 5: // ! 6: ! 7: // ! 8: // GVRAM モニタ ! 9: // ! 10: ! 11: #pragma once ! 12: ! 13: #include "wxscreenmonitor.h" ! 14: ! 15: class GVRAMDevice; ! 16: class VideoCtlrDevice; ! 17: ! 18: // グラフィック画面パネル ! 19: class WXGVRAMPanel : public WXScreenPanel ! 20: { ! 21: using inherited = WXScreenPanel; ! 22: ! 23: public: ! 24: explicit WXGVRAMPanel(wxWindow *parent); ! 25: ~WXGVRAMPanel() override; ! 26: ! 27: private: ! 28: void Draw() override; ! 29: ! 30: GVRAMDevice *gvram {}; ! 31: VideoCtlrDevice *videoctlr {}; ! 32: }; ! 33: ! 34: // グラフィック画面ウィンドウ ! 35: class WXGVRAMWindow : public WXScreenWindow ! 36: { ! 37: using inherited = WXScreenWindow; ! 38: ! 39: public: ! 40: WXGVRAMWindow(wxWindow *parent, const wxString& name); ! 41: ~WXGVRAMWindow() override; ! 42: ! 43: private: ! 44: void UpdateInfo(TextScreen&, int px, int py) override; ! 45: ! 46: GVRAMDevice *gvram {}; ! 47: VideoCtlrDevice *videoctlr {}; ! 48: ! 49: // イベントテーブル ! 50: wxDECLARE_EVENT_TABLE(); ! 51: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.