Revision 773,
1.4 KB
checked in by gumbau, 19 years ago
(diff) |
FLTK imported to SVN repository to be linked agains the GeoTool? application
|
Rev | Line | |
---|
[773] | 1 | // |
---|
| 2 | // "$Id: StyleSet.h 3038 2003-06-24 07:10:48Z spitzak $" |
---|
| 3 | // |
---|
| 4 | // Saves and restores all the styles used by Widget constructors. Fluid |
---|
| 5 | // uses this so you can preview a style without fluid's own control |
---|
| 6 | // panels changing. I think this is broken, anybody want to fix it? |
---|
| 7 | // |
---|
| 8 | // Copyright 1998-2003 by Bill Spitzak and others. |
---|
| 9 | // |
---|
| 10 | // This library is free software; you can redistribute it and/or |
---|
| 11 | // modify it under the terms of the GNU Library General Public |
---|
| 12 | // License as published by the Free Software Foundation; either |
---|
| 13 | // version 2 of the License, or (at your option) any later version. |
---|
| 14 | // |
---|
| 15 | // This library is distributed in the hope that it will be useful, |
---|
| 16 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 17 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
| 18 | // Library General Public License for more details. |
---|
| 19 | // |
---|
| 20 | // You should have received a copy of the GNU Library General Public |
---|
| 21 | // License along with this library; if not, write to the Free Software |
---|
| 22 | // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
---|
| 23 | // USA. |
---|
| 24 | // |
---|
| 25 | // Please report all bugs and problems to "fltk-bugs@fltk.org". |
---|
| 26 | // |
---|
| 27 | |
---|
| 28 | #ifndef fltk_StyleSet_h |
---|
| 29 | #define fltk_StyleSet_h |
---|
| 30 | |
---|
| 31 | #include "Style.h" |
---|
| 32 | |
---|
| 33 | namespace fltk { |
---|
| 34 | |
---|
| 35 | class FL_API StyleSet { |
---|
| 36 | NamedStyle* first_style; |
---|
| 37 | Theme theme; |
---|
| 38 | Color background; |
---|
| 39 | void* reserved; // pointer to extra saved stuff |
---|
| 40 | public: |
---|
| 41 | StyleSet(); |
---|
| 42 | void make_current(); |
---|
| 43 | ~StyleSet(); |
---|
| 44 | }; |
---|
| 45 | |
---|
| 46 | } |
---|
| 47 | |
---|
| 48 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.