diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-06-18 21:10:01 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-18 21:10:01 +0000 |
commit | d8827b5ff10c66a065a210d8aaf1d88214ee1070 (patch) | |
tree | 26a23ff031105ee98cbba967a4554ebf8ac423a6 /utils/themeeditor/graphics/rbrenderinfo.h | |
parent | 62622277dc2a11117605e5e7ff3d2a5f0423d8da (diff) | |
download | rockbox-d8827b5ff10c66a065a210d8aaf1d88214ee1070.tar.gz rockbox-d8827b5ff10c66a065a210d8aaf1d88214ee1070.zip |
Theme Editor: Working on rendering viewports, display will now show %V(...) viewports as red rectangles over backdrop or background color
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26940 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/graphics/rbrenderinfo.h')
-rw-r--r-- | utils/themeeditor/graphics/rbrenderinfo.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbrenderinfo.h b/utils/themeeditor/graphics/rbrenderinfo.h new file mode 100644 index 0000000000..c99de7beaa --- /dev/null +++ b/utils/themeeditor/graphics/rbrenderinfo.h | |||
@@ -0,0 +1,49 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2010 Robert Bieber | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or | ||
13 | * modify it under the terms of the GNU General Public License | ||
14 | * as published by the Free Software Foundation; either version 2 | ||
15 | * of the License, or (at your option) any later version. | ||
16 | * | ||
17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
18 | * KIND, either express or implied. | ||
19 | * | ||
20 | ****************************************************************************/ | ||
21 | |||
22 | #ifndef RBRENDERINFO_H | ||
23 | #define RBRENDERINFO_H | ||
24 | |||
25 | class RBScreen; | ||
26 | class ProjectModel; | ||
27 | class ParseTreeModel; | ||
28 | |||
29 | class RBRenderInfo | ||
30 | { | ||
31 | public: | ||
32 | RBRenderInfo(ParseTreeModel* model, | ||
33 | ProjectModel* project, RBScreen* screen); | ||
34 | RBRenderInfo(const RBRenderInfo& other); | ||
35 | virtual ~RBRenderInfo(); | ||
36 | |||
37 | const RBRenderInfo& operator=(const RBRenderInfo& other); | ||
38 | |||
39 | ProjectModel* project() const{ return mProject; } | ||
40 | RBScreen* screen() const{ return mScreen; } | ||
41 | ParseTreeModel* model() const{ return mModel; } | ||
42 | |||
43 | private: | ||
44 | ProjectModel* mProject; | ||
45 | RBScreen* mScreen; | ||
46 | ParseTreeModel* mModel; | ||
47 | }; | ||
48 | |||
49 | #endif // RBRENDERINFO_H | ||