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
1e809b18
Commit
1e809b18
authored
Nov 14, 2017
by
Sebastian Höffner
Committed by
Davis E. King
Nov 14, 2017
Browse files
Adding missing implementation of tabbed_display::selected_tab (#957)
parent
acda88a5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
dlib/gui_widgets/widgets.cpp
dlib/gui_widgets/widgets.cpp
+8
-0
dlib/gui_widgets/widgets.h
dlib/gui_widgets/widgets.h
+3
-0
No files found.
dlib/gui_widgets/widgets.cpp
View file @
1e809b18
...
...
@@ -1465,6 +1465,14 @@ namespace dlib
// ----------------------------------------------------------------------------------------
unsigned
long
tabbed_display
::
selected_tab
(
)
const
{
auto_mutex
M
(
m
);
return
selected_tab_
;
}
unsigned
long
tabbed_display
::
number_of_tabs
(
)
const
...
...
dlib/gui_widgets/widgets.h
View file @
1e809b18
...
...
@@ -1190,6 +1190,9 @@ namespace dlib
unsigned
long
num
);
unsigned
long
selected_tab
(
)
const
;
unsigned
long
number_of_tabs
(
)
const
;
...
...
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