platform for developing on SQFMI's Watchy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
404 B

#ifndef _IDRAWABLE_h
#define _IDRAWABLE_h
#include "watchos_types.h"
/// <summary>
/// Something that can be drawn on the screen by the UI module
/// </summary>
class IDrawable
{
public:
/// <summary>
/// Draw this object's interface
/// </summary>
/// <param name="handle">the handle of the window we are drawing</param>
virtual void draw(kernel_handle_t handle) = 0;
};
#endif