📄 control.h
字号:
// Control.h,v 1.5 2000/11/11 17:39:56 bala Exp
// ============================================================================
//
// = LIBRARY
// TAO/tests/Xt_Stopwatch/Stopwatch_client
//
// = FILENAME
// Control.h
//
// = AUTHOR
// Balachandran Natarajan <bala@cs.wustl.edu>
//
// ============================================================================
#ifndef CONTROL_H
#define CONTROL_H
#include "Client.h"
#if defined (ACE_HAS_XT)
#include <Xm/Xm.h>
#include <Xm/PushB.h>
#include <Xm/Label.h>
#include <Xm/RowColumn.h>
#include <Xm/Frame.h>
class Control
{
public:
Control (Widget &parent);
// Stopwatch constructor
virtual ~Control (void);
// Destructor
virtual void manage (void);
// Manage the widget
Widget& startwidget (void);
// Return the start widget
Widget& stopwidget (void);
// Return the stop widget..
private:
Widget frame_;
// A frame widget...
Widget rowcolumn_;
// A row column widget..
Widget startwidget_;
// Pushbutton Widget that is used to start the timer..
Widget stopwidget_;
// Pushbutton widget that is used to stop the timer..
};
#endif /*ACE_HAS_XT */
#endif /* CONTROL_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -