File:  [Isaki's NoNo m68k/m88k emulator] / nono / wx / wxlogsetting.h
Revision 1.1.1.4 (vendor branch): download - view: text, annotated - select for diffs
Wed Apr 29 17:05:44 2026 UTC (3 months ago) by root
Branches: MAIN, Isaki
CVS tags: v027, v026, v025, v024, HEAD
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;
};

unix.superglobalmegacorp.com

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