Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
9a6c7253
Commit
9a6c7253
authored
Aug 31, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made the set_size() methods of the zoomable_region and scrollable_region
widgets virtual.
parent
e0813cbf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
base_widgets.h
dlib/gui_widgets/base_widgets.h
+4
-4
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
(
v
irtual
v
oid
set_pos
(
long
x
,
long
y
);
...
...
@@ -2231,7 +2231,7 @@ namespace dlib
double
max_zoom_scale
(
)
const
;
void
set_size
(
v
irtual
v
oid
set_size
(
unsigned
long
width
,
unsigned
long
height
);
...
...
@@ -2436,7 +2436,7 @@ namespace dlib
long
order
);
void
set_size
(
v
irtual
v
oid
set_size
(
unsigned
long
width
,
unsigned
long
height
);
...
...
@@ -2483,7 +2483,7 @@ namespace dlib
long
pos
);
void
set_pos
(
v
irtual
v
oid
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
(
v
irtual
v
oid
set_size
(
unsigned
long
width
,
unsigned
long
height
);
...
...
@@ -2039,7 +2039,7 @@ namespace dlib
style
!*/
void
set_size
(
v
irtual
v
oid
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