From 5c2d9a3e321eca7f93f69a5cfc8ff240c8992e13 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 21 Apr 2010 12:31:23 +0200 Subject: Add RedDrawable::Format get_format() This is useful because we can e.g. create pixmaps in the same format as a window. --- client/red_window.h | 1 + 1 file changed, 1 insertion(+) (limited to 'client/red_window.h') diff --git a/client/red_window.h b/client/red_window.h index 7da7e4ce..a5eeb535 100644 --- a/client/red_window.h +++ b/client/red_window.h @@ -50,6 +50,7 @@ public: void activate(); void set_title(std::wstring& title); void set_icon(Icon *icon); + virtual RedDrawable::Format get_format(); enum Type { TYPE_INVALID, -- cgit