|
|
@@ -16,13 +16,6 @@ |
|
|
|
|
|
|
|
#include "../ImageAboutWindow.hpp" |
|
|
|
|
|
|
|
// FIXME: 32bit hack |
|
|
|
#if ! (defined (__LP64__) || defined (_LP64) || defined(WIN64) || defined(_WIN64) || defined(__WIN64__)) |
|
|
|
# define PAD_SIZE +1 |
|
|
|
#else |
|
|
|
# define PAD_SIZE |
|
|
|
#endif |
|
|
|
|
|
|
|
START_NAMESPACE_DGL |
|
|
|
|
|
|
|
// ----------------------------------------------------------------------- |
|
|
@@ -33,7 +26,7 @@ ImageAboutWindow::ImageAboutWindow(App& app, Window& parent, const Image& image) |
|
|
|
fImgBackground(image) |
|
|
|
{ |
|
|
|
Window::setResizable(false); |
|
|
|
Window::setSize(image.getWidth(), image.getHeight() PAD_SIZE); |
|
|
|
Window::setSize(image.getWidth(), image.getHeight()); |
|
|
|
Window::setTitle("About"); |
|
|
|
} |
|
|
|
|
|
|
@@ -43,14 +36,14 @@ ImageAboutWindow::ImageAboutWindow(Widget* widget, const Image& image) |
|
|
|
fImgBackground(image) |
|
|
|
{ |
|
|
|
Window::setResizable(false); |
|
|
|
Window::setSize(image.getWidth(), image.getHeight() PAD_SIZE); |
|
|
|
Window::setSize(image.getWidth(), image.getHeight()); |
|
|
|
Window::setTitle("About"); |
|
|
|
} |
|
|
|
|
|
|
|
void ImageAboutWindow::setImage(const Image& image) |
|
|
|
{ |
|
|
|
fImgBackground = image; |
|
|
|
Window::setSize(image.getWidth(), image.getHeight() PAD_SIZE); |
|
|
|
Window::setSize(image.getWidth(), image.getHeight()); |
|
|
|
} |
|
|
|
|
|
|
|
void ImageAboutWindow::onDisplay() |
|
|
|