Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
9a6c7253
Commit
9a6c7253
authored
Aug 30, 2012
by
Davis King
Browse files
Made the set_size() methods of the zoomable_region and scrollable_region
widgets virtual.
parent
e0813cbf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
dlib/gui_widgets/base_widgets.h
dlib/gui_widgets/base_widgets.h
+4
-4
dlib/gui_widgets/base_widgets_abstract.h
dlib/gui_widgets/base_widgets_abstract.h
+2
-2
No files found.
dlib/gui_widgets/base_widgets.h
View file @
9a6c7253
...
...
@@ -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
);
...
...
dlib/gui_widgets/base_widgets_abstract.h
View file @
9a6c7253
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment