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

📄 counter.h

📁 用linux开发的安防暴警的有关代码
💻 H
字号:
#ifndef Counter_H#define Counter_H#include <FL/Fl_Valuator.H>class Counter : public Fl_Valuator {  uchar textfont_, textsize_, textcolor_;  double lstep_;  uchar mouseobj;  static FL_EXPORT void repeat_callback(void *);  FL_EXPORT int calc_mouseobj();  FL_EXPORT void increment_cb();protected:  FL_EXPORT void draw();public:  FL_EXPORT int handle(int);  FL_EXPORT Counter(int,int,int,int,const char * = 0);  FL_EXPORT ~Counter();  void lstep(double a) {lstep_ = a;}  void step(double a,double b) {Fl_Valuator::step(a); lstep_ = b;}  void step(double a) {Fl_Valuator::step(a);}  Fl_Font textfont() const {return (Fl_Font)textfont_;}  void textfont(uchar s) {textfont_ = s;}  uchar textsize() const {return textsize_;}  void textsize(uchar s) {textsize_ = s;}  Fl_Color textcolor() const {return (Fl_Color)textcolor_;}  void textcolor(uchar s) {textcolor_ = s;}};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -