Mercurial > ~dholland > hg > ag > index.cgi
comparison anagram/vaclgui/toolbar.hpp @ 0:13d2b8934445
Import AnaGram (near-)release tree into Mercurial.
author | David A. Holland |
---|---|
date | Sat, 22 Dec 2007 17:52:45 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:13d2b8934445 |
---|---|
1 /* | |
2 * AnaGram, A System for Syntax Directed Programming | |
3 * Copyright 1997-2002 Parsifal Software. All Rights Reserved. | |
4 * See the file COPYING for license and usage terms. | |
5 * | |
6 * toolbar.hpp | |
7 */ | |
8 | |
9 #ifndef TOOLBAR_HPP | |
10 #define TOOLBAR_HPP | |
11 | |
12 //#include <icombobx.hpp> | |
13 //#include <ifocshdr.hpp> | |
14 //#include <ifont.hpp> | |
15 //#include <ipainevt.hpp> | |
16 #include <ipainhdr.hpp> | |
17 #include <ipushbut.hpp> | |
18 //#include <iselhdr.hpp> | |
19 #include <isetcv.hpp> | |
20 //#include <istattxt.hpp> | |
21 //#include <itbar.hpp> | |
22 | |
23 class ToolBar | |
24 : public ISetCanvas | |
25 , public IPaintHandler | |
26 { | |
27 public: | |
28 ToolBar(IWindow *owner, ISetCanvas::Style style = ISetCanvas::packTight); | |
29 ~ToolBar(); | |
30 Boolean paintWindow(IPaintEvent &event); | |
31 }; | |
32 | |
33 class ToolButton : public IPushButton { | |
34 public: | |
35 ToolButton(int id, | |
36 IWindow *owner, | |
37 char *text, | |
38 IPushButton::Style style = visible); | |
39 }; | |
40 | |
41 | |
42 #endif /* TOOLBAR_HPP */ |