[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/server types.h
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash/server types.h |
Date: |
Wed, 18 Jul 2007 11:10:54 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/07/18 11:10:54
Modified files:
server : types.h
Log message:
Add comment about intended use for rgba::{parse,to}RGB
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/types.h?cvsroot=gnash&r1=1.14&r2=1.15
Patches:
Index: types.h
===================================================================
RCS file: /sources/gnash/gnash/server/types.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- types.h 18 Jul 2007 03:35:38 -0000 1.14
+++ types.h 18 Jul 2007 11:10:54 -0000 1.15
@@ -61,6 +61,9 @@
/// Alpha will be untouched.
/// Blue is the least significant byte.
///
+ /// This function is meant to be used to
+ /// parse ActionScript colors in numeric format.
+ ///
void parseRGB(uint32_t rgbCol)
{
m_r = (uint8_t)(rgbCol>>16);
@@ -74,6 +77,9 @@
//
/// Blue is the least significant byte.
///
+ /// This function is meant to be used to
+ /// output ActionScript colors in numeric format.
+ ///
uint32_t toRGB()
{
return (m_r<<16) + (m_g<<8) + m_b;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/server types.h,
Sandro Santilli <=