*
* \version $Id: demo.c 18242 2007-10-08 17:35:23Z marco $
*
- * \author Bernardo Innocenti <bernie@develer.com>
+ * \author Bernie Innocenti <bernie@codewiz.org>
*
* \brief Windowing system test.
*/
+#include <cfg/macros.h>
+
#include <emul/emul.h>
+
#include <kern/proc.h>
+#include <kern/msg.h>
+
#include <drv/timer.h>
#include <drv/buzzer.h>
#include <drv/lcd_gfx.h>
#include <drv/kbd.h>
+
#include <gfx/gfx.h>
#include <gfx/win.h>
#include <gfx/text.h>
#include <gfx/font.h>
+
#include <gui/menu.h>
#include <icons/logo.h>
-#include <cfg/macros.h>
/**
* Draw a pentacle in the provided bitmap.
const long SPEED_SCALE = 1000;
const long GRAVITY_ACCEL = 10;
const long BOUNCE_ELASTICITY = 2;
- long h = (long)(-project_grl_logo.height) * SPEED_SCALE;
+ long h = (long)(-bertos_logo.height) * SPEED_SCALE;
long speed = 1000;
/* Repeat until logo stands still on the bottom edge */
/* Update graphics */
gfx_bitmapClear(bm);
gfx_blitImage(bm,
- (bm->width - project_grl_logo.width) / 2,
+ (bm->width - bertos_logo.width) / 2,
h / SPEED_SCALE,
- &project_grl_logo);
+ &bertos_logo);
lcd_blitBitmap(bm);
timer_delay(10);