Skip to content

Commit

Permalink
cleanup doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sagi-z committed Jul 6, 2017
1 parent ba9d6d4 commit 0f1bd8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doxygen_in/multithreading.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Multithreading {#multithreading}
==============
As GUI toolkits go, they are mostly not multithreaded.
The other threads do they work and then GUI handling (update/paint/callbacks) is done in a dedicated thread.
* [see a related example in this blog post](https://www.theimpossiblecode.com/blog/faster-opencv-smiles-tbb "dedicated GUI thread").
* [see a related example in this blog post](https://www.theimpossiblecode.com/blog/faster-opencv-smiles-tbb "dedicated GUI thread")
4 changes: 2 additions & 2 deletions doxygen_in/tut_msgbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ int main(int argc, char **argv)
imshow("MsgBox example", out);
// the blocking API handles GUI internally
// the blocking API handles GUI internally
userSelection = MsgBox::create(c, string("Notice #") + to_string(++cnt) + " this msg", {
"Ok", "Whatever"
})->getUserSelection(true);
Expand Down Expand Up @@ -228,7 +228,7 @@ int main(int argc, char **argv)
imshow("MsgBox example", out);
// the blocking API handles GUI internally
// the blocking API handles GUI internally
userSelection = MsgBox::createModal("Modal MsgBox", "Notice this window", {"Ok", "Whatever"});
c.setScreenText(CCV_STR("User pressed button with index '" << userSelection << "'\n\n" <<
"(Choose 'Whatever' to exit)"));
Expand Down

0 comments on commit 0f1bd8d

Please sign in to comment.