Last change
on this file since 25e17e9 was aa117c, checked in by Tillmann Crueger <crueger@…>, 16 years ago |
Added possibility to add default Items to textMenus
|
-
Property mode
set to
100644
|
File size:
606 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * SeperatorItem.h
|
---|
3 | *
|
---|
4 | * Created on: Dec 11, 2009
|
---|
5 | * Author: crueger
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef SEPERATORITEM_H_
|
---|
9 | #define SEPERATORITEM_H_
|
---|
10 |
|
---|
11 | #include "Menu/MenuItem.hpp"
|
---|
12 |
|
---|
13 | /**
|
---|
14 | * Produce a Seperator within a Menu.
|
---|
15 | *
|
---|
16 | * All triggers are ignored for this Item.
|
---|
17 | */
|
---|
18 | class SeperatorItem : public MenuItem
|
---|
19 | {
|
---|
20 | public:
|
---|
21 | SeperatorItem(Menu*);
|
---|
22 | SeperatorItem(Menu*,char,int);
|
---|
23 | virtual ~SeperatorItem();
|
---|
24 |
|
---|
25 | virtual void doTrigger();
|
---|
26 | virtual bool checkTrigger(char);
|
---|
27 |
|
---|
28 | virtual const string getDescription();
|
---|
29 |
|
---|
30 | virtual const string formatEntry();
|
---|
31 | private:
|
---|
32 | char spacer;
|
---|
33 | int length;
|
---|
34 | };
|
---|
35 |
|
---|
36 | #endif /* SEPERATORITEM_H_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.