?? graphic_class.cc
字號:
// This is C++// vim:ts=8:softtabstop=8:cindent:autoindent:syntax=cpp#include <photonmm/Graphic_Class.h>// namespace Pt { Graphic_Class::Graphic_Class (PtWidget_t* widget) { obj = widget; } void Graphic_Class::set_inside_color (PgColor_t c) { PtSetResource (cobj (), Pt_ARG_INSIDE_COLOR, c, 0); } PgColor_t Graphic_Class::get_inside_color () const { PgColor_t* c; PtGetResource (cobj (), Pt_ARG_INSIDE_COLOR, &c, 0); return *c; } PropertyProxy<PgColor_t> Graphic_Class::property_inside_color () // Pt_ARG_INSIDE_COLOR { return PropertyProxy<PgColor_t> ( new Property<PgColor_t, Graphic_Class, &Graphic_Class::get_inside_color, &Graphic_Class::set_inside_color> (this ) ); }// } // namespace Pt
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -