Annotation of nono/wx/wxmpumonitor.h, revision 1.1.1.2

1.1       root        1: //
                      2: // nono
                      3: // Copyright (C) 2020 nono project
                      4: // Licensed under nono-license.txt
                      5: //
                      6: 
                      7: #pragma once
                      8: 
                      9: #include "wxsubwindow.h"
                     10: #include "wxtextscreen.h"
                     11: 
                     12: class m88200;
                     13: class WXCacheWindow;
                     14: 
                     15: //
                     16: // CMMU キャッシュウィンドウ用のパネル
                     17: //
                     18: class WXCacheTextScreen : public WXTextScreen
                     19: {
                     20:        using inherited = WXTextScreen;
                     21:  public:
1.1.1.2 ! root       22:        WXCacheTextScreen(wxWindow *, IMonitor&);
1.1       root       23:        virtual ~WXCacheTextScreen();
                     24: 
                     25:  private:
                     26:        // マウスイベント
                     27:        void OnLeftDown(wxMouseEvent& event);
                     28: 
1.1.1.2 ! root       29:        // 親クラス
        !            30:        WXCacheWindow *parentwindow;
        !            31: 
1.1       root       32:        // イベントテーブル
                     33:        wxDECLARE_EVENT_TABLE();
                     34: };
                     35: 
                     36: //
                     37: // CMMU キャッシュウィンドウ
                     38: //
1.1.1.2 ! root       39: class WXCacheWindow : public WXSubWindow, public IMonitor
1.1       root       40: {
                     41:        using inherited = WXSubWindow;
                     42:  public:
                     43:        WXCacheWindow(wxWindow *, wxWindowID, const wxString& name, m88200 *cmmu);
1.1.1.2 ! root       44:        virtual ~WXCacheWindow() override;
1.1       root       45: 
                     46:        // 右クリック処理
                     47:        void DoLeftDown(int x, int y);
                     48: 
1.1.1.2 ! root       49:        nnSize GetMonitorSize() override;
        !            50:        void MonitorUpdate(TextScreen& ts) override;
1.1       root       51: 
1.1.1.2 ! root       52:  private:
1.1       root       53:        // テキストスクリーンコントロール
                     54:        WXCacheTextScreen *screen = NULL;
                     55: 
                     56:        // 現在表示中のセット
                     57:        uint setidx {};
                     58: 
                     59:        // CMMU
                     60:        m88200 *cmmu {};
                     61: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.