📄 tictactoe.hh
字号:
#ifndef TICTACTOE_HH#define TICTACTOE_HH#ifndef GFC_GTK_BOX_HH#include <gfc/gtk/box.hh>#endifnamespace GFC {namespace Gtk {class ToggleButton;}} // namespace GFC/* Tictactoe */class Tictactoe : public GFC::Gtk::VBox{ Tictactoe(const Tictactoe&); Tictactoe& operator=(const Tictactoe&); GFC::Gtk::ToggleButton *buttons[3][3]; void on_toggle(GFC::Gtk::ToggleButton *button);public:// Constructors Tictactoe(); virtual ~Tictactoe(); // Methods void clear();// Signals sigc::signal<void> tictactoe_signal;};#endif // TICTACTOE_HH
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -