diff options
Diffstat (limited to 'src/FbTk/Color.hh')
-rw-r--r-- | src/FbTk/Color.hh | 12 |
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 | ||
58 | private: | 58 | private: |
59 | void free(); | 59 | void free(); |