/*	Sunny Day program */

#include <gui_top.h>

using namespace std;	// October 5, 2001

class GuiClass {
	public:
	GuiClass();
	void GuiMouseClick(int x, int y); // Action if mouse click
	void GuiPaint();  // Repaint the entire window
	lvpstring Title();
	private:
};
//--------------------------------------------------------------------------------
GuiClass::GuiClass()
{
}
//--------------------------------------------------------------------------------
lvpstring GuiClass::Title()
{
	return ("Sunny day!");
}
//-------------------------------------------------------------------------------
void GuiClass::GuiMouseClick(int x, int y)
{
}
//--------------------------------------------------------------------------------
void GuiClass::GuiPaint()
{
	// House
	SetColor(BLACK);
	SetThickness(2);
	Rectangle(100,100,200,200);
	Line(100,100,150,50);
	Line(150,50,200,100);
	// Windows and door
	SetColor(BLACK);
	SetThickness(1);
	SetFillColor(GRAY);
	FilledRectangle(120,120,140,140);
	FilledRectangle(160,120,180,140);
	FilledRectangle(135,160,165,200);
	SetColor(WHITE);
	SetPixel(160,180);     // Doorknob! 

	// Sun
	SetFillColor(YELLOW);
	SetColor(YELLOW);
	FilledCircle(280,50,30);
}
//--------------------------------------------------------------------------------

#include <gui_bot.h>

