|
|
1.1 root 1: //
2: // nono
3: // Copyright (C) 2022 nono project
4: // Licensed under nono-license.txt
5: //
6:
7: //
8: // ベクタテーブルモニタ
9: //
10:
11: #pragma once
12:
13: #include "wxsubwindow.h"
14: #include "wxscrollbar.h"
15: #include "monitor.h"
16:
17: class WXVectorMonitor : public WXVResizeSubWindow
18: {
19: using inherited = WXVResizeSubWindow;
20: public:
21: WXVectorMonitor(wxWindow *parent);
22: ~WXVectorMonitor() override;
23:
24: private:
25: // サイズ変更イベント
26: void OnSize(wxSizeEvent& event);
27:
28: // マウスホイールイベント
29: void OnMouseWheel(wxMouseEvent&);
30:
31: // スクロールイベント
32: void OnScroll(wxScrollEvent& event);
33:
34: // スクロール処理
35: void DoScroll(int pos);
36:
37: // スクロールバー
38: WXScrollBar *vscroll {};
39:
40: // イベントテーブル
41: wxDECLARE_EVENT_TABLE();
42: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.