8#ifndef META_OCEAN_PLATFORM_WXWIDGETS_BITMAP_WINDOW_H
9#define META_OCEAN_PLATFORM_WXWIDGETS_BITMAP_WINDOW_H
60 BitmapWindow(
const wxString& title,
wxWindow* parent =
nullptr,
const wxPoint& pos = wxPoint(-1, -1),
const wxSize& size = wxSize(-1, -1));
67 void setBitmap(
const wxBitmap& bitmap,
const bool resetZoom =
true);
195 void paintCenter(wxDC& dc,
const int clientWidth,
const int clientHeight,
const int bitmapWidth,
const int bitmapHeight);
204 void paintSubset(wxDC& dc,
const int clientWidth,
const int clientHeight);
309 bool scrollbarsEnabled_ =
true;
315 double previousMouseMiddleBitmapX_ = NumericD::minValue();
318 double previousMouseMiddleBitmapY = NumericD::minValue();
321 int previousMouseX_ = -1;
324 int previousMouseY_ = -1;
This class implements Ocean's image class.
Definition Frame.h:1808
This class implements a recursive lock object.
Definition Lock.h:31
This class provides basic numeric functionalities.
Definition Numeric.h:57
float Scalar
Definition of a scalar type.
Definition Math.h:129
The namespace covering the entire Ocean framework.
Definition Accessor.h:15