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
4374f189
Commit
4374f189
authored
Jan 08, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clarified spec
parent
cab98cc1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
widgets_abstract.h
dlib/gui_widgets/widgets_abstract.h
+7
-7
No files found.
dlib/gui_widgets/widgets_abstract.h
View file @
4374f189
...
...
@@ -2761,7 +2761,7 @@ namespace dlib
requires
- event_handler is a valid pointer to a member function in T
ensures
- The event_handler function is called on object when the user clicks
- The event_handler function is called on object when the user
left
clicks
anywhere on the image. When they do so this callback is called with the
location of the image pixel which was clicked. The is_double_click bool
will also tell you if it was a double click or single click.
...
...
@@ -2777,10 +2777,10 @@ namespace dlib
);
/*
ensures
- The event_handler function is called when the user
clicks anywhere on th
e
image. When they do so this callback is called with the location of the
image pixel which was clicked. The is_double_click bool will also tell
you if it was a double click or single click.
- The event_handler function is called when the user
left clicks anywher
e
on the image. When they do so this callback is called with the location
of the image pixel which was clicked. The is_double_click bool will also
tell
you if it was a double click or single click.
- Any previous calls to this function are overridden by this new call.
(i.e. you can only have one event handler associated with this event at a
time)
...
...
@@ -3024,8 +3024,8 @@ namespace dlib
);
/*!
ensures
- This function blocks until the user double
clicks on the image
or
the window is closed by the user.
- This function blocks until the user double
left clicks on the image or
the window is closed by the user.
- if (this function returns true) then
- #p == the next image pixel the user clicked.
!*/
...
...
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