📄 label_boring.h
字号:
/* $Id: label_boring.h,v 1.6 2004/01/03 23:03:22 sphair Exp $
ClanGUI, copyrights by various people. Have a look in the CREDITS file.
This sourcecode is distributed using the Library GNU Public Licence,
version 2 or (at your option) any later version. Please read LICENSE
for details.
*/
//! clanGUI="Style: Boring"
//! header=guistyleboring.h
#ifndef header_label_boring
#define header_label_boring
#if _MSC_VER > 1000
#pragma once
#endif
#include "../GUI/label.h"
#include "../GUI/component_style.h"
class CL_StyleManager_Boring;
class CL_Font;
//: Label default style.
//- !group=GUI/Style: Boring!
//- !header=guistyleboring.h!
class CL_Label_Boring : public CL_ComponentStyle
{
//! Construction:
public:
//: Constructor
CL_Label_Boring(
CL_Label *label,
CL_StyleManager_Boring *style);
//: Destructor
virtual ~CL_Label_Boring();
//! Implementation:
private:
CL_Slot slot_paint;
CL_Slot slot_get_preferred_size;
void on_paint();
void on_get_preferred_size(CL_Size &size);
CL_Label *label;
CL_ResourceManager *resources;
CL_Font *font;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -