diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-16 13:17:24 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-27 14:59:31 -0500 |
commit | b83548617077eecacd4e65c3c10ee154494f9823 (patch) | |
tree | ba3b4329605263aa28ae2e48a995ee4b8778a46a /libs/surfaces/push2/splash.cc | |
parent | 8cc94e79ac74e9d4c2b95b589a228cb6a973313d (diff) |
tweaks and so forth to get first canvas-based rendering to Push2 display
Diffstat (limited to 'libs/surfaces/push2/splash.cc')
-rw-r--r-- | libs/surfaces/push2/splash.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/surfaces/push2/splash.cc b/libs/surfaces/push2/splash.cc index d03205e3a6..8b25e6eac6 100644 --- a/libs/surfaces/push2/splash.cc +++ b/libs/surfaces/push2/splash.cc @@ -24,6 +24,7 @@ #include "pbd/i18n.h" #include "pbd/search_path.h" +#include "ardour/debug.h" #include "ardour/filesystem_paths.h" #include "splash.h" @@ -50,9 +51,15 @@ SplashLayout::SplashLayout (Push2& p, Session& s) img = Cairo::ImageSurface::create_from_png (splash_file); } +SplashLayout::~SplashLayout () +{ +} + void SplashLayout::render (Rect const& area, Cairo::RefPtr<Cairo::Context> context) const { + DEBUG_TRACE (DEBUG::Push2, string_compose ("splash render %1\n", area)); + int rows = display_height (); int cols = display_width (); |