|
|
nono 1.4.0
//
// nono
// Copyright (C) 2022 nono project
// Licensed under nono-license.txt
//
//
// ログレベル設定ウィンドウ
//
#pragma once
#include "wxtextpanel.h"
#include "wxsubwindow.h"
class WXButton;
class WXLogSettingPanel : public WXTextPanel
{
using inherited = WXTextPanel;
static const int Padding = 3;
public:
explicit WXLogSettingPanel(wxWindow *parent);
~WXLogSettingPanel() override;
void FontChanged() override;
void Fit() override;
bool Layout() override;
private:
inline int Col2PX(int col) const;
inline int Row2PY(int row) const;
void Draw() override;
void OnButton(wxCommandEvent&);
std::vector<Object *> objs {};
// ボタン
std::vector<WXButton *> buttons {};
int maxnamelen {};
};
class WXLogSettingWindow : public WXSubWindow
{
using inherited = WXSubWindow;
public:
explicit WXLogSettingWindow(wxWindow *);
~WXLogSettingWindow() override;
};
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.