@@ -55,10 +55,10 @@ class GridWindow : public weld::CustomWidgetController
55
55
return (maPos.X () < rComp.maPos .X ());
56
56
}
57
57
58
- void draw (vcl::RenderContext& rRenderContext, const BitmapEx& rBitmapEx )
58
+ void draw (vcl::RenderContext& rRenderContext, const Bitmap& rBitmap )
59
59
{
60
60
const Point aOffset (rRenderContext.PixelToLogic (Point (mnOffX, mnOffY)));
61
- rRenderContext.DrawBitmapEx (maPos - aOffset, rBitmapEx );
61
+ rRenderContext.DrawBitmapEx (maPos - aOffset, rBitmap );
62
62
}
63
63
64
64
bool isHit (OutputDevice const & rWin, const Point& rPos)
@@ -97,7 +97,7 @@ class GridWindow : public weld::CustomWidgetController
97
97
Handles m_aHandles;
98
98
Handles::size_type m_nDragIndex;
99
99
100
- BitmapEx m_aMarkerBitmap;
100
+ Bitmap m_aMarkerBitmap;
101
101
102
102
Point transform ( double x, double y );
103
103
void transform ( const Point& rOriginal, double & x, double & y );
@@ -126,7 +126,7 @@ class GridWindow : public weld::CustomWidgetController
126
126
void drawLine (vcl::RenderContext& rRenderContext, double x1, double y1, double x2, double y2);
127
127
public:
128
128
GridWindow ();
129
- void Init (double * pXValues, double * pYValues, int nValues, bool bCutValues, const BitmapEx &rMarkerBitmap);
129
+ void Init (double * pXValues, double * pYValues, int nValues, bool bCutValues, const Bitmap &rMarkerBitmap);
130
130
virtual ~GridWindow () override ;
131
131
132
132
void setBoundings ( double fMinX , double fMinY , double fMaxX , double fMaxY );
@@ -158,7 +158,7 @@ GridWindow::GridWindow()
158
158
{
159
159
}
160
160
161
- void GridWindow::Init (double * pXValues, double * pYValues, int nValues, bool bCutValues, const BitmapEx &rMarkerBitmap)
161
+ void GridWindow::Init (double * pXValues, double * pYValues, int nValues, bool bCutValues, const Bitmap &rMarkerBitmap)
162
162
{
163
163
m_aMarkerBitmap = rMarkerBitmap;
164
164
m_pXValues = pXValues;
@@ -211,7 +211,7 @@ GridDialog::GridDialog(weld::Window* pParent, double* pXValues, double* pYValues
211
211
, m_xGridWindow(new GridWindow)
212
212
, m_xGridWindowWND(new weld::CustomWeld(*m_xBuilder, u" gridwindow" _ustr, *m_xGridWindow))
213
213
{
214
- m_xGridWindow->Init (pXValues, pYValues, nValues, true /* bCutValues*/ , BitmapEx ( Bitmap (RID_SCANNER_HANDLE) ));
214
+ m_xGridWindow->Init (pXValues, pYValues, nValues, true /* bCutValues*/ , Bitmap (RID_SCANNER_HANDLE));
215
215
m_xResetTypeBox->set_active (0 );
216
216
m_xResetButton->connect_clicked ( LINK ( this , GridDialog, ClickButtonHdl ) );
217
217
}
0 commit comments