📄 windowlistener.h
字号:
// System Window Listener class
#pragma once
namespace System
{
/// Implement this interface and register with a display to recieve window events.
/// See Display::addWindowListener for details.
class WindowListener
{
public:
/// called when window is activated and deactivated.
virtual void onActivate(bool active) = 0;
/// called when the window is about to close.
/// you can return false to indicate that you do not want the window to close.
virtual bool onClose() = 0;
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -