Commit 9a6c7253 authored by Davis King's avatar Davis King

Made the set_size() methods of the zoomable_region and scrollable_region

widgets virtual.
parent e0813cbf
...@@ -2189,7 +2189,7 @@ namespace dlib ...@@ -2189,7 +2189,7 @@ namespace dlib
virtual ~zoomable_region ( virtual ~zoomable_region (
)= 0; )= 0;
void set_pos ( virtual void set_pos (
long x, long x,
long y long y
); );
...@@ -2231,7 +2231,7 @@ namespace dlib ...@@ -2231,7 +2231,7 @@ namespace dlib
double max_zoom_scale ( double max_zoom_scale (
) const; ) const;
void set_size ( virtual void set_size (
unsigned long width, unsigned long width,
unsigned long height unsigned long height
); );
...@@ -2436,7 +2436,7 @@ namespace dlib ...@@ -2436,7 +2436,7 @@ namespace dlib
long order long order
); );
void set_size ( virtual void set_size (
unsigned long width, unsigned long width,
unsigned long height unsigned long height
); );
...@@ -2483,7 +2483,7 @@ namespace dlib ...@@ -2483,7 +2483,7 @@ namespace dlib
long pos long pos
); );
void set_pos ( virtual void set_pos (
long x, long x,
long y long y
); );
......
...@@ -1843,7 +1843,7 @@ namespace dlib ...@@ -1843,7 +1843,7 @@ namespace dlib
(i.e. this is the number that determines how far in the user is allowed to zoom) (i.e. this is the number that determines how far in the user is allowed to zoom)
!*/ !*/
void set_size ( virtual void set_size (
unsigned long width, unsigned long width,
unsigned long height unsigned long height
); );
...@@ -2039,7 +2039,7 @@ namespace dlib ...@@ -2039,7 +2039,7 @@ namespace dlib
style style
!*/ !*/
void set_size ( virtual void set_size (
unsigned long width, unsigned long width,
unsigned long height unsigned long height
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment