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
3740c16b
Commit
3740c16b
authored
Nov 18, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed cruft
parent
f49bbc94
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
21 deletions
+21
-21
base_widgets.h
dlib/gui_widgets/base_widgets.h
+5
-5
widgets.h
dlib/gui_widgets/widgets.h
+3
-3
main.cpp
dlib/test/gui/main.cpp
+1
-1
timer.cpp
dlib/test/timer.cpp
+11
-11
timeout.h
dlib/timeout/timeout.h
+1
-1
No files found.
dlib/gui_widgets/base_widgets.h
View file @
3740c16b
...
@@ -690,7 +690,7 @@ namespace dlib
...
@@ -690,7 +690,7 @@ namespace dlib
long
x
,
y
;
long
x
,
y
;
tooltip_window
win
;
tooltip_window
win
;
timer
<
tooltip
>
::
kernel_2a
tt_timer
;
timer
<
tooltip
>
tt_timer
;
};
};
friend
struct
data
;
friend
struct
data
;
...
@@ -1410,10 +1410,10 @@ namespace dlib
...
@@ -1410,10 +1410,10 @@ namespace dlib
long
max_pos
;
long
max_pos
;
long
js
;
long
js
;
timer
<
scroll_bar
>
::
kernel_2a
b1_timer
;
timer
<
scroll_bar
>
b1_timer
;
timer
<
scroll_bar
>
::
kernel_2a
b2_timer
;
timer
<
scroll_bar
>
b2_timer
;
timer
<
scroll_bar
>
::
kernel_2a
top_filler_timer
;
timer
<
scroll_bar
>
top_filler_timer
;
timer
<
scroll_bar
>
::
kernel_2a
bottom_filler_timer
;
timer
<
scroll_bar
>
bottom_filler_timer
;
long
delayed_pos
;
long
delayed_pos
;
scoped_ptr
<
scroll_bar_style
>
style
;
scoped_ptr
<
scroll_bar_style
>
style
;
...
...
dlib/gui_widgets/widgets.h
View file @
3740c16b
...
@@ -653,7 +653,7 @@ namespace dlib
...
@@ -653,7 +653,7 @@ namespace dlib
scoped_ptr
<
text_field_style
>
style
;
scoped_ptr
<
text_field_style
>
style
;
timer
<
text_field
>
::
kernel_2a
t
;
timer
<
text_field
>
t
;
popup_menu_region
right_click_menu
;
popup_menu_region
right_click_menu
;
...
@@ -1049,7 +1049,7 @@ namespace dlib
...
@@ -1049,7 +1049,7 @@ namespace dlib
scoped_ptr
<
text_box_style
>
style
;
scoped_ptr
<
text_box_style
>
style
;
timer
<
text_box
>
::
kernel_2a
t
;
timer
<
text_box
>
t
;
popup_menu_region
right_click_menu
;
popup_menu_region
right_click_menu
;
...
@@ -3188,7 +3188,7 @@ namespace dlib
...
@@ -3188,7 +3188,7 @@ namespace dlib
long
cursor_pos
;
long
cursor_pos
;
bool
show_cursor
;
bool
show_cursor
;
bool
recent_cursor_move
;
bool
recent_cursor_move
;
timer
<
text_grid
>
::
kernel_2a
cursor_timer
;
timer
<
text_grid
>
cursor_timer
;
rgb_pixel
border_color_
;
rgb_pixel
border_color_
;
any_function
<
void
(
unsigned
long
,
unsigned
long
)
>
text_modified_handler
;
any_function
<
void
(
unsigned
long
,
unsigned
long
)
>
text_modified_handler
;
};
};
...
...
dlib/test/gui/main.cpp
View file @
3740c16b
...
@@ -124,7 +124,7 @@ private:
...
@@ -124,7 +124,7 @@ private:
{
{
draggable
::
on_window_resized
();
draggable
::
on_window_resized
();
}
}
timer
<
color_box
>
::
kernel_1a
t
;
timer
<
color_box
>
t
;
};
};
...
...
dlib/test/timer.cpp
View file @
3740c16b
...
@@ -59,7 +59,7 @@ namespace
...
@@ -59,7 +59,7 @@ namespace
)
)
/*!
/*!
requires
requires
- timer_t is an implementation of
timer/timer_kernel
_abstract.h is instantiated
- timer_t is an implementation of
dlib/timer/timer
_abstract.h is instantiated
timer_test_helper
timer_test_helper
ensures
ensures
- runs tests on timer_t for compliance with the specs
- runs tests on timer_t for compliance with the specs
...
@@ -94,7 +94,7 @@ namespace
...
@@ -94,7 +94,7 @@ namespace
)
)
/*!
/*!
requires
requires
- timer_t is an implementation of
timer/timer_kernel
_abstract.h is instantiated
- timer_t is an implementation of
dlib/timer/timer
_abstract.h is instantiated
timer_test_helper
timer_test_helper
ensures
ensures
- runs tests on timer_t for compliance with the specs
- runs tests on timer_t for compliance with the specs
...
@@ -315,15 +315,15 @@ namespace
...
@@ -315,15 +315,15 @@ namespace
void
perform_test
(
void
perform_test
(
)
)
{
{
dlog
<<
LINFO
<<
"testing
kernel_1a
with test_timer"
;
dlog
<<
LINFO
<<
"testing
timer_heavy
with test_timer"
;
timer_test
<
timer
<
timer_test_helper
>::
kernel_1a
>
();
timer_test
<
timer
_heavy
<
timer_test_helper
>
>
();
dlog
<<
LINFO
<<
"testing
kernel_1a
with test_timer2"
;
dlog
<<
LINFO
<<
"testing
timer_heavy
with test_timer2"
;
timer_test2
<
timer
<
timer_test_helper
>::
kernel_1a
>
();
timer_test2
<
timer
_heavy
<
timer_test_helper
>
>
();
dlog
<<
LINFO
<<
"testing
kernel_2a
with test_timer"
;
dlog
<<
LINFO
<<
"testing
timer
with test_timer"
;
timer_test
<
timer
<
timer_test_helper
>
::
kernel_2a
>
();
timer_test
<
timer
<
timer_test_helper
>
>
();
dlog
<<
LINFO
<<
"testing
kernel_2a
with test_timer2"
;
dlog
<<
LINFO
<<
"testing
timer
with test_timer2"
;
timer_test2
<
timer
<
timer_test_helper
>
::
kernel_2a
>
();
timer_test2
<
timer
<
timer_test_helper
>
>
();
}
}
}
a
;
}
a
;
...
...
dlib/timeout/timeout.h
View file @
3740c16b
...
@@ -181,7 +181,7 @@ namespace dlib
...
@@ -181,7 +181,7 @@ namespace dlib
t
.
stop
();
t
.
stop
();
}
}
dlib
::
timer
<
timeout
>
::
kernel_2a
t
;
dlib
::
timer
<
timeout
>
t
;
bind
*
b
;
bind
*
b
;
// restricted functions
// restricted functions
...
...
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