aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Color.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-10-09 16:48:09 (GMT)
committerrathnor <rathnor>2003-10-09 16:48:09 (GMT)
commit018665d7a3ae8cb642880176d415f57fc178c299 (patch)
tree05a21b11a9f28bd8b456e080be52148de30f5018 /src/FbTk/Color.hh
parent075dc35b5eeb875e971842e8230338395367e08f (diff)
downloadfluxbox-018665d7a3ae8cb642880176d415f57fc178c299.zip
fluxbox-018665d7a3ae8cb642880176d415f57fc178c299.tar.bz2
drawing optimisations and fixes
Diffstat (limited to 'src/FbTk/Color.hh')
-rw-r--r--src/FbTk/Color.hh12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/FbTk/Color.hh b/src/FbTk/Color.hh
index f9c1600..b699dcc 100644
--- a/src/FbTk/Color.hh
+++ b/src/FbTk/Color.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Color.hh,v 1.4 2003/05/10 13:29:13 fluxgen Exp $ 25// $Id: Color.hh,v 1.5 2003/10/09 16:48:09 rathnor Exp $
26 26
27#ifndef FBTK_COLOR_HH 27#ifndef FBTK_COLOR_HH
28#define FBTK_COLOR_HH 28#define FBTK_COLOR_HH
@@ -49,11 +49,11 @@ public:
49 // TODO 49 // TODO
50 //Color &operator = (const Color &col_copy); 50 //Color &operator = (const Color &col_copy);
51 51
52 bool isAllocated() const { return m_allocated; } 52 inline bool isAllocated() const { return m_allocated; }
53 unsigned short red() const { return m_red; } 53 inline unsigned short red() const { return m_red; }
54 unsigned short green() const { return m_green; } 54 inline unsigned short green() const { return m_green; }
55 unsigned short blue() const { return m_blue; } 55 inline unsigned short blue() const { return m_blue; }
56 unsigned long pixel() const { return m_pixel; } 56 inline unsigned long pixel() const { return m_pixel; }
57 57
58private: 58private:
59 void free(); 59 void free();