X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d6de9f10f812d5e375d1283b12db490a6477b08..cd794127ff73748f8199587897f57aa02c5ef059:/utils/screenshotgen/src/autocapture.h?ds=inline diff --git a/utils/screenshotgen/src/autocapture.h b/utils/screenshotgen/src/autocapture.h index 32dab8836f..a139ca867b 100644 --- a/utils/screenshotgen/src/autocapture.h +++ b/utils/screenshotgen/src/autocapture.h @@ -133,7 +133,7 @@ enum AdjustFlags @class AutoCaptureMechanism AutoCaptureMechanism provides an easy-to-use and adjustable facility to - take the screenshots for all controls fully automaticly and correctly. It + take the screenshots for all controls fully automatically and correctly. It also provides an advanced feature to union screenshots of different states/modes of a control. @@ -146,24 +146,22 @@ enum AdjustFlags By default, screenshots are generated under the subdirectory "screenshots" of current working directory. During updating or adding new screenshots, first make sure screenshots are generated correctly, and then copy them to - the following subdirectory of docs/doxygen/images: - - "wxmsw" for MS Windows, "wxgtk" for Linux and "wxmac" for Mac OS. + the "docs/doxygen/images" folder directly. @section tag_gui_assumption The Assumption of GUI Unfortunately, this class have an assumption about the structure of GUI: It - must have the follwoing top-down structure: + must have the following top-down structure: wxNotebook->wxPanel->wxSizer->wxControl That means, in the wxNotebook associated with this class, controls that needs to be taken screenshots are placed on different panels(for grouping) - and layed out by wxSizers. + and laid out by wxSizers. @section tag_tutorial Tutorial - In the contruction, you should associate a wxNotebook with this class, in + In the construction, you should associate a wxNotebook with this class, in that wxNotebook, controls that needs to be captured are placed on different panels(for grouping). @@ -174,7 +172,7 @@ enum AdjustFlags on the second panel, then a page turn, and so on. When you are done, simply call CaptureAll(), then screenshots of all - controls will be automaticly generated. + controls will be automatically generated. @section tag_autoadjust Make Use of Auto Adjustments