Made the set_size() methods of the zoomable_region and scrollable_region

widgets virtual.
This commit is contained in:
Davis King 2012-08-30 23:32:41 -04:00
parent e0813cbf9f
commit 9a6c725314
2 changed files with 6 additions and 6 deletions

View File

@ -2189,7 +2189,7 @@ namespace dlib
virtual ~zoomable_region (
)= 0;
void set_pos (
virtual void set_pos (
long x,
long y
);
@ -2231,7 +2231,7 @@ namespace dlib
double max_zoom_scale (
) const;
void set_size (
virtual void set_size (
unsigned long width,
unsigned long height
);
@ -2436,7 +2436,7 @@ namespace dlib
long order
);
void set_size (
virtual void set_size (
unsigned long width,
unsigned long height
);
@ -2483,7 +2483,7 @@ namespace dlib
long pos
);
void set_pos (
virtual void set_pos (
long x,
long y
);

View File

@ -1843,7 +1843,7 @@ namespace dlib
(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 height
);
@ -2039,7 +2039,7 @@ namespace dlib
style
!*/
void set_size (
virtual void set_size (
unsigned long width,
unsigned long height
);