Revision: 63
Author: skilvington
Date: 2006-05-15 12:23:59 -0700 (Mon, 15 May 2006)
ViewCVS: http://svn.sourceforge.net/redbutton/?rev=63&view=rev
Log Message:
-----------
get ScaleBitmap params
Modified Paths:
--------------
redbutton-browser/trunk/BitmapClass.c
Modified: redbutton-browser/trunk/BitmapClass.c
===================================================================
--- redbutton-browser/trunk/BitmapClass.c 2006-05-15 19:01:46 UTC (rev 62)
+++ redbutton-browser/trunk/BitmapClass.c 2006-05-15 19:23:59 UTC (rev 63)
@@ -412,10 +412,16 @@
void
BitmapClass_ScaleBitmap(BitmapClass *t, ScaleBitmap *params, OctetString *caller_gid)
{
+ int x_scale;
+ int y_scale;
+
verbose("BitmapClass: %s; ScaleBitmap", ExternalReference_name(&t->rootClass.inst.ref));
+ x_scale = GenericInteger_getInteger(¶ms->x_scale, caller_gid);
+ y_scale = GenericInteger_getInteger(¶ms->y_scale, caller_gid);
+
/* TODO */
-printf("TODO: BitmapClass_ScaleBitmap not yet implemented\n");
+printf("TODO: BitmapClass_ScaleBitmap(%d, %d) not yet implemented\n", x_scale, y_scale);
return;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|