Last change
on this file since 222 was 222, checked in by ansari, 26 years ago |
Creation module DPC/PI Reza 09/04/99
|
File size:
895 bytes
|
Line | |
---|
1 | #ifndef PIOPTMENMAC_H_SEEN
|
---|
2 | #define PIOPTMENMAC_H_SEEN
|
---|
3 |
|
---|
4 | #include "pioptmenugen.h"
|
---|
5 |
|
---|
6 | class PIOptMenuMac : public PIOptMenuGen {
|
---|
7 | public:
|
---|
8 | PIOptMenuMac(PIContainerGen* par, PIPUMenu *pdm,
|
---|
9 | int sx=10, int sy=10, int px=0, int py=0);
|
---|
10 | ~PIOptMenuMac();
|
---|
11 |
|
---|
12 | virtual void Process(PIMessage msg, PIMsgHandler* sender, void* data=NULL);
|
---|
13 |
|
---|
14 | virtual void ListenToMessage(MessageT inMessage, void *ioParam);
|
---|
15 | virtual string GetValueStr() { return(mStext); }
|
---|
16 | virtual PIMessage GetValue() { return(mSmsg); }
|
---|
17 | virtual void SetValueStr(string & s);
|
---|
18 | virtual void SetValue(PIMessage msg);
|
---|
19 |
|
---|
20 | inline void Select(char *txt, PIMessage msg); // public ou protege ???
|
---|
21 |
|
---|
22 |
|
---|
23 | protected:
|
---|
24 | string mStext;
|
---|
25 | PIMessage mSmsg;
|
---|
26 | //MenuHandle macMenu;
|
---|
27 | PIPUMenu* mPUMenu;
|
---|
28 | };
|
---|
29 |
|
---|
30 |
|
---|
31 | typedef PIOptMenuMac PIOptMenu ;
|
---|
32 |
|
---|
33 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.