⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 graphic_class.cc

📁 QNX实时操作系统里的GUI是c格式的
💻 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 + -