home *** CD-ROM | disk | FTP | other *** search
- // RADIO.HPP - Definition of radio button and control.
- // COPYRIGHT (C) 1991. All Rights Reserved.
- // Zinc Software Incorporated. Pleasant Grove, Utah USA
-
- enum PORT
- {
- PORT_LPT1,
- PORT_LPT2,
- PORT_COM1,
- PORT_COM2,
- PORT_OTHER
- };
- enum BAUD_RATE
- {
- BAUD_1200,
- BAUD_2400,
- BAUD_9600
- };
- enum LINE
- {
- LINE_ENABLED,
- LINE_DISABLED
- };
-
- class RADIO_BUTTON : public UI_WINDOW_OBJECT
- {
- public:
- RADIO_BUTTON(int left, int top, int width, char *text, int value = 0,
- USHORT woStatus = WOS_NO_STATUS);
- int Event(const UI_EVENT &event);
-
- private:
- char *text;
- int value;
- };
-
- class RADIO_CONTROL : public UIW_WINDOW
- {
- public:
- int selection;
-
- RADIO_CONTROL(int left, int top, int width, int height, char *title, USHORT woFlags);
- int Event(const UI_EVENT &event);
-
- private:
- char *title;
- };
-
-
-