#pragma once class Button { public: Button(); Button(int left, int top, int resourceNormal, int resourceHover); bool HitTest(int x, int y); void Draw(); bool Hover; bool Enabled; int Left; int Top; D2DBITMAP BitmapNormal; D2DBITMAP BitmapHover; };