[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog server/fill_style.cpp server/fi...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog server/fill_style.cpp server/fi... |
Date: |
Mon, 14 May 2007 20:15:04 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/05/14 20:15:03
Modified files:
. : ChangeLog
server : fill_style.cpp fill_style.h
Log message:
* server/fill_style.{cpp,h}: document default constructor and type.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3208&r2=1.3209
http://cvs.savannah.gnu.org/viewcvs/gnash/server/fill_style.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/server/fill_style.h?cvsroot=gnash&r1=1.3&r2=1.4
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3208
retrieving revision 1.3209
diff -u -b -r1.3208 -r1.3209
--- ChangeLog 14 May 2007 20:06:48 -0000 1.3208
+++ ChangeLog 14 May 2007 20:15:02 -0000 1.3209
@@ -1,5 +1,6 @@
2007-05-14 Sandro Santilli <address@hidden>
+ * server/fill_style.{cpp,h}: document default constructor and type.
* server/vm/ASHandlers.cpp (CommonGetUrl): check url security also
when invoking firefox.
* server/font.cpp (readDefineFont, readDefineFont2_or_3): use
Index: server/fill_style.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/fill_style.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- server/fill_style.cpp 18 Apr 2007 09:35:42 -0000 1.3
+++ server/fill_style.cpp 14 May 2007 20:15:03 -0000 1.4
@@ -56,7 +56,8 @@
fill_style::fill_style()
:
- m_type(0),
+ m_type(SWF::FILL_SOLID),
+ m_color(), // FF.FF.FF.FF
m_gradient_bitmap_info(0),
m_bitmap_character(0)
{
Index: server/fill_style.h
===================================================================
RCS file: /sources/gnash/gnash/server/fill_style.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- server/fill_style.h 19 Feb 2007 15:37:02 -0000 1.3
+++ server/fill_style.h 14 May 2007 20:15:03 -0000 1.4
@@ -16,7 +16,7 @@
// Based on work of Thatcher Ulrich <address@hidden> 2003
-/* $Id: fill_style.h,v 1.3 2007/02/19 15:37:02 udog Exp $ */
+/* $Id: fill_style.h,v 1.4 2007/05/14 20:15:03 strk Exp $ */
#ifndef GNASH_FILL_STYLE_H
#define GNASH_FILL_STYLE_H
@@ -52,6 +52,7 @@
{
public:
+ /// Create a solid opaque white fill.
fill_style();
/// Construct a clipped bitmap fill style, for
@@ -85,6 +86,7 @@
void set_color(rgba new_color) { m_color = new_color; }
+ /// Get fill type, see SWF::fill_style_type
int get_type() const { return m_type; }
/// Sets this style to a blend of a and b. t = [0,1] (for shape
morphing)
@@ -126,6 +128,7 @@
friend class morph2_character_def;
friend class triangulating_render_handler;
+ /// Fill type, see SWF::fill_style_type
int m_type;
rgba m_color;
matrix m_gradient_matrix;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog server/fill_style.cpp server/fi...,
Sandro Santilli <=