fix typos: Gets -> Get, Sets -> Set, Retrieves -> Retrieve

This commit is contained in:
Vincent Wei
2020-02-26 08:55:38 +08:00
parent db9ed261d8
commit 881776c7a9
39 changed files with 428 additions and 424 deletions
+5 -1
View File
@@ -147,6 +147,10 @@ tab2space() {
# sed -i 's/\<GetMainVirtWindowById\>/GetHostedById/g' `grep '\<GetMainVirtWindowById\>' -rl include/ src/`
sed -i 's/\<__mg_os_start_time_ms\>/__mg_os_start_time/g' `grep '\<__mg_os_start_time_ms\>' -rl include/ src/`
# sed -i 's/\<__mg_os_start_time_ms\>/__mg_os_start_time/g' `grep '\<__mg_os_start_time_ms\>' -rl include/ src/`
sed -i 's/\<Gets\>/Get/g' `grep '\<Gets\>' -rl include/ src/`
sed -i 's/\<Sets\>/Set/g' `grep '\<Sets\>' -rl include/ src/`
sed -i 's/\<Retrieves\>/Retrieve/g' `grep '\<Retrieves\>' -rl include/ src/`
exit 0
+4 -4
View File
@@ -861,7 +861,7 @@ typedef DWORD32 RGBCOLOR;
/**
* \def GetRValue(rgba)
* \brief Gets the red component from a RGBA quadruple value \a rgba.
* \brief Get the red component from a RGBA quadruple value \a rgba.
*
* You can make a RGBA triple by using MakeRGBA.
*
@@ -870,7 +870,7 @@ typedef DWORD32 RGBCOLOR;
#define GetRValue(rgba) ((BYTE)(rgba))
/**
* \def GetGValue(rgba)
* \brief Gets the green component from a RGBA quadruple value \a rgba.
* \brief Get the green component from a RGBA quadruple value \a rgba.
*
* You can make a RGBA triple by using MakeRGBA.
*
@@ -879,7 +879,7 @@ typedef DWORD32 RGBCOLOR;
#define GetGValue(rgba) ((BYTE)(((DWORD32)(rgba)) >> 8))
/**
* \def GetBValue(rgba)
* \brief Gets the blue component from a RGBA quadruple value \a rgba.
* \brief Get the blue component from a RGBA quadruple value \a rgba.
*
* You can make a RGBA triple by using MakeRGBA.
*
@@ -888,7 +888,7 @@ typedef DWORD32 RGBCOLOR;
#define GetBValue(rgba) ((BYTE)((DWORD32)(rgba) >> 16))
/**
* \def GetAValue(rgba)
* \brief Gets the alpha component from a RGBA quadruple value \a rgba.
* \brief Get the alpha component from a RGBA quadruple value \a rgba.
*
* You can make a RGBA triple by using MakeRGBA.
*
+2 -2
View File
@@ -264,7 +264,7 @@ MG_EXPORT void DestroyAnimation (ANIMATION* anim, BOOL free_it);
/**
* \def ANM_SETANIMATION
* \brief Sets the animation object for the control.
* \brief Set the animation object for the control.
*
* An application can send ANM_SETANIMATION to set the animation object of a control.
*
@@ -282,7 +282,7 @@ MG_EXPORT void DestroyAnimation (ANIMATION* anim, BOOL free_it);
/**
* \def ANM_GETANIMATION
* \brief Gets the animation object of the control.
* \brief Get the animation object of the control.
*
* An application can send ANM_GETANIMATION to retrive the animation object of a control.
*
+5 -5
View File
@@ -420,7 +420,7 @@ extern "C" {
/**
* \def BM_GETCHECK
* \brief Retrieves the check state of a radio button or check box.
* \brief Retrieve the check state of a radio button or check box.
*
* An application sends a BM_GETCHECK message to retrieve
* the check state of a radio button or check box.
@@ -443,7 +443,7 @@ extern "C" {
/**
* \def BM_SETCHECK
* \brief Sets the check state of a radio button or check box.
* \brief Set the check state of a radio button or check box.
*
* An application sends a BM_SETCHECK message to set
* the check state of a radio button or check box.
@@ -469,7 +469,7 @@ extern "C" {
/**
* \def BM_GETSTATE
* \brief Gets the state of a button or check box.
* \brief Get the state of a button or check box.
*
* An application sends a BM_GETSTATE message to
* determine the state of a button or check box.
@@ -488,7 +488,7 @@ extern "C" {
/**
* \def BM_SETSTATE
* \brief Sets the state of a button.
* \brief Set the state of a button.
*
* An application sends a BM_SETSTATE message to set the state of a
* button.
@@ -569,7 +569,7 @@ extern "C" {
/**
* \def BM_GETIMAGE
* \brief Retrieves the handle to the image.
* \brief Retrieve the handle to the image.
*
* An application sends a BM_GETIMAGE message to
* retrieve a handle to the image (icon or bitmap) associated with the button.
+12 -12
View File
@@ -238,7 +238,7 @@ extern "C" {
/**
* \def CB_GETEDITSEL
* \brief Gets the starting and ending character positions of the current
* \brief Get the starting and ending character positions of the current
* selection.
*
* An application sends a CB_GETEDITSEL message to get the starting and ending
@@ -285,7 +285,7 @@ extern "C" {
/**
* \def CB_SETEDITSEL
* \brief Sets the starting and ending character positions of the current
* \brief Set the starting and ending character positions of the current
* selection.
*
* An application sends a CB_SETEDITSEL message to set the starting and ending
@@ -419,7 +419,7 @@ extern "C" {
/**
* \def CB_GETLBTEXTLEN
* \brief Gets the string length of an item in the list box.
* \brief Get the string length of an item in the list box.
*
* An application sends a CB_GETLBTEXTLEN message to get the string length
* of a specified item in the list box of a combo box.
@@ -556,7 +556,7 @@ extern "C" {
/**
* \def CB_SETITEMADDDATA
* \brief Sets a 32-bit data value with the specified item.
* \brief Set a 32-bit data value with the specified item.
*
* An application sends an CB_SETITEMADDDATA message to associate a 32-bit data
* value specified in the lParam parameter with an item in the list box that
@@ -598,7 +598,7 @@ extern "C" {
/**
* \def CB_SETITEMHEIGHT
* \brief Sets the height of all items of the list box in a combo box.
* \brief Set the height of all items of the list box in a combo box.
*
* An application sends an CB_SETITEMHEIGHT message to set the height of
* all items of the list box in a combo box.
@@ -619,7 +619,7 @@ extern "C" {
/**
* \def CB_GETITEMHEIGHT
* \brief Gets the height of items of the list box in a combo box.
* \brief Get the height of items of the list box in a combo box.
*
* \code
* CB_GETITEMHEIGHT
@@ -686,7 +686,7 @@ extern "C" {
/**
* \def CB_SETSPINFORMAT
* \brief Sets the format string of value for CBS_AUTOSPIN type.
* \brief Set the format string of value for CBS_AUTOSPIN type.
*
* \code
* CB_SETSPINFORMAT
@@ -725,7 +725,7 @@ extern "C" {
/**
* \def CB_GETSPINRANGE
* \brief Gets the range of the spin box in a combo box.
* \brief Get the range of the spin box in a combo box.
*
* \code
* CB_GETSPINRANGE
@@ -763,7 +763,7 @@ extern "C" {
/**
* \def CB_GETSPINVALUE
* \brief Gets the current value of the spin box in a combo box.
* \brief Get the current value of the spin box in a combo box.
*
* \code
* CB_GETSPINVALUE
@@ -798,7 +798,7 @@ extern "C" {
/**
* \def CB_GETSPINPACE
* \brief Gets the pace and the fast pace of the spin box in a combo box.
* \brief Get the pace and the fast pace of the spin box in a combo box.
*
* \code
* CB_GETSPINPACE
@@ -856,7 +856,7 @@ extern "C" {
/**
* \def CB_SETSTRCMPFUNC
* \brief Sets the STRCMP function used to sort items.
* \brief Set the STRCMP function used to sort items.
*
* An application sends a CB_SETSTRCMPFUNC message to set a
* new STRCMP function to sort items in the combo-box.
@@ -889,7 +889,7 @@ extern "C" {
/**
* \def CB_GETCHILDREN
* \brief Gets the handles to the children of a ComboBox control.
* \brief Get the handles to the children of a ComboBox control.
*
* An application sends a CB_GETCHILDREN message to get the handles
* to the children of a ComboBox control.
+1 -1
View File
@@ -213,7 +213,7 @@ typedef COOLBARITEMINFO *PCOOLBARITEMINFO;
/**
* \def CBM_ENABLE
* \brief Sets an item to be enabled or disabled.
* \brief Set an item to be enabled or disabled.
*
* \code
* CBM_ENABLE
+27 -27
View File
@@ -233,7 +233,7 @@ extern "C" {
/**
* \def EM_GETSEL
* \brief Gets the selected string in the edit control.
* \brief Get the selected string in the edit control.
*
* \code
* EM_GETSEL
@@ -254,7 +254,7 @@ extern "C" {
/**
* \def EM_SETSEL
* \brief Sets the selected point in the edit control and makes
* \brief Set the selected point in the edit control and makes
* the text between insertion point and selection point selected.
*
* Generally, you should send EM_SETCARETPOS first to set insertion
@@ -308,7 +308,7 @@ extern "C" {
/**
* \def EM_GETSELPOS
* \brief Gets the position of the selection point.
* \brief Get the position of the selection point.
*
* \code
* EM_GETSELPOS
@@ -380,7 +380,7 @@ extern "C" {
/**
* \def EM_SETLFDISPCHAR
* \brief Sets the char used to represent the line seperator.
* \brief Set the char used to represent the line seperator.
*
* In default case, the line sperator will not be shown.
* If the char used to represent the line seperator is not zero,
@@ -400,7 +400,7 @@ extern "C" {
/**
* \def EM_SETLINESEP
* \brief Sets the line seperator.
* \brief Set the line seperator.
*
* In default case, the line sperator is Line Feed
* characters(LF , ASCII 10, '\n').
@@ -424,7 +424,7 @@ extern "C" {
/**
* \def EM_GETCARETPOS
* \brief Gets the position of the caret.
* \brief Get the position of the caret.
*
* \code
* EM_GETCARETPOS
@@ -448,7 +448,7 @@ extern "C" {
/**
* \def EM_SETCARETPOS
* \brief Sets the position of the caret.
* \brief Set the position of the caret.
*
* \code
* EM_SETCARETPOS
@@ -482,7 +482,7 @@ extern "C" {
/**
* \def EM_GETLINECOUNT
* \brief Gets the line number.
* \brief Get the line number.
*
* \code
* EM_GETLINECOUNT
@@ -498,7 +498,7 @@ extern "C" {
/**
* \def EM_GETLINEHEIGHT
* \brief Gets the height of a line.
* \brief Get the height of a line.
*
* \code
* EM_GETLINEHEIGHT
@@ -514,7 +514,7 @@ extern "C" {
/**
* \def EM_SETLINEHEIGHT
* \brief Sets the height of a line.
* \brief Set the height of a line.
*
* \code
* EM_SETLINEHEIGHT
@@ -679,7 +679,7 @@ extern "C" {
/**
* \def EM_SETREADONLY
* \brief Sets or removes the read-only style (ES_READONLY) in an edit control.
* \brief Set or removes the read-only style (ES_READONLY) in an edit control.
*
* \code
* EM_SETREADONLY
@@ -715,7 +715,7 @@ typedef int (*ED_DRAWSEL_FUNC) (HWND, HDC, int, int, const char*, int, int);
/**
* \def EM_SETDRAWSELECTFUNC
* \brief Sets the callback function on drawing selected chars
* \brief Set the callback function on drawing selected chars
*
* \code
* EM_SETDRAWSELECTFUNC
@@ -731,7 +731,7 @@ typedef int (*ED_DRAWSEL_FUNC) (HWND, HDC, int, int, const char*, int, int);
/**
* \def EM_SETGETCARETWIDTHFUNC
* \brief Sets the callback function on getting caret width
* \brief Set the callback function on getting caret width
*
* \code
* EM_SETGETCARETWIDTHFUNC
@@ -907,7 +907,7 @@ typedef int (*ED_DRAWSEL_FUNC) (HWND, HDC, int, int, const char*, int, int);
/**
* \def EM_SETTITLETEXT
* \brief Sets the title text displayed before content text.
* \brief Set the title text displayed before content text.
*
* \code
* EM_SETTITLETEXT
@@ -924,7 +924,7 @@ typedef int (*ED_DRAWSEL_FUNC) (HWND, HDC, int, int, const char*, int, int);
/**
* \def EM_GETTITLETEXT
* \brief Gets the title text displayed before content text.
* \brief Get the title text displayed before content text.
*
* \code
* EM_GETTITLETEXT
@@ -946,7 +946,7 @@ typedef int (*ED_DRAWSEL_FUNC) (HWND, HDC, int, int, const char*, int, int);
/**
* \def EM_SETTIPTEXT
* \brief Sets the tip text displayed when content is empty.
* \brief Set the tip text displayed when content is empty.
*
* \code
* EM_SETTIPTEXT
@@ -962,7 +962,7 @@ typedef int (*ED_DRAWSEL_FUNC) (HWND, HDC, int, int, const char*, int, int);
/**
* \def EM_GETTIPTEXT
* \brief Gets the tip text displayed when content is empty.
* \brief Get the tip text displayed when content is empty.
*
* \code
* EM_GETTIPTEXT
@@ -1002,14 +1002,14 @@ typedef struct _TEXTPOSINFO {
/**
* \def EM_GETNUMOFPARAGRAPHS
* \brief Gets the number of paragraphs in textedit control.
* \brief Get the number of paragraphs in textedit control.
*
* \return The number of paragraphs.
*/
#define EM_GETNUMOFPARAGRAPHS 0xF0E0
/**
* \def EM_GETPARAGRAPHLENGTH
* \brief Gets the specified paragraph length in textedit control.
* \brief Get the specified paragraph length in textedit control.
*
* \code
* EM_GETPARAGRAPHLENGTH
@@ -1021,7 +1021,7 @@ typedef struct _TEXTPOSINFO {
#define EM_GETPARAGRAPHLENGTH 0xF0E1
/**
* \def EM_GETPARAGRAPHTEXT
* \brief Gets the specified paragraph text from textedit control.
* \brief Get the specified paragraph text from textedit control.
*
* \code
* EM_GETPARAGRAPHTEXT
@@ -1055,7 +1055,7 @@ typedef struct _TEXTPOSINFO {
/**
* \def EM_SETCARETPOSBYLINE
* \brief Sets the selected point in the edit control and makes
* \brief Set the selected point in the edit control and makes
* the text between insertion point and selection point selected.
* This is set by really line. That means if you set the TES_AUTOWRAP,
* the line number you set, the caret pos line number you see. This is
@@ -1085,7 +1085,7 @@ typedef struct _TEXTPOSINFO {
/**
* \def EM_GETCARETPOSBYLINE
* \brief Gets the position of the caret.
* \brief Get the position of the caret.
*
* \code
* EM_GETCARETPOSBYLINE
@@ -1113,7 +1113,7 @@ typedef struct _TEXTPOSINFO {
/**
* \def EM_GETSELPOSBYLINE
* \brief Gets the position of the selection point.
* \brief Get the position of the selection point.
*
* \code
* EM_GETSELPOSBYLINE
@@ -1134,7 +1134,7 @@ typedef struct _TEXTPOSINFO {
/**
* \def EM_GETPARAGRAPHLENGTHINMCHAR
* \brief Gets the specified paragraph length in textedit control.
* \brief Get the specified paragraph length in textedit control.
* in text not charactors.
*
* \code
@@ -1148,7 +1148,7 @@ typedef struct _TEXTPOSINFO {
/**
* \def EM_GETLINELENGTHINMCHAR
* \brief Gets the specified line length in textedit control.
* \brief Get the specified line length in textedit control.
* in charactors not byte.
*
* \code
@@ -1162,7 +1162,7 @@ typedef struct _TEXTPOSINFO {
/**
* \def EM_GETLINELENGTH
* \brief Gets the specified line length in textedit control.
* \brief Get the specified line length in textedit control.
*
* \code
* EM_GETLINELENGTH
@@ -1175,7 +1175,7 @@ typedef struct _TEXTPOSINFO {
/**
* \def EM_GETLINETEXT
* \brief Gets the specified line text from textedit control.
* \brief Get the specified line text from textedit control.
*
* \code
* EM_GETLINETEXT
+5 -5
View File
@@ -503,7 +503,7 @@ typedef struct _GRIDCELLDATA
#define GRIDM_DELCOLUMN 0xF219
/**
* \def GRIDM_GETROWCOUNT
* \brief Gets the number of all rows in the grid control.
* \brief Get the number of all rows in the grid control.
*
* An application sends an GRIDM_GETROWCOUNT message to get the number of all rows in the grid control.
*
@@ -519,7 +519,7 @@ typedef struct _GRIDCELLDATA
#define GRIDM_GETROWCOUNT 0xF21A
/**
* \def GRIDM_GETCOLCOUNT
* \brief Gets the number of all columns in the grid control.
* \brief Get the number of all columns in the grid control.
*
* An application sends an GRIDM_GETCOLCOUNT message to get the number of all columns in the grid control.
*
@@ -535,7 +535,7 @@ typedef struct _GRIDCELLDATA
#define GRIDM_GETCOLCOUNT 0xF21B
/**
* \def GRIDM_SETNUMFORMAT
* \brief Sets the number format of a cell in the grid control. the format is
* \brief Set the number format of a cell in the grid control. the format is
* just same as format in c printf.
*
* An application sends an GRIDM_SETNUMFORMAT message to
@@ -557,7 +557,7 @@ typedef struct _GRIDCELLDATA
/**
* \def GRIDM_SETSELECTED
* \brief Sets the selected cell(s) in the grid control.
* \brief Set the selected cell(s) in the grid control.
*
* An application sends an GRIDM_SETSELECTED message to
* set the selected cell(s) in the grid control.
@@ -577,7 +577,7 @@ typedef struct _GRIDCELLDATA
/**
* \def GRIDM_GETSELECTED
* \brief Gets the selected cell(s) in the grid control.
* \brief Get the selected cell(s) in the grid control.
*
* An application sends an GRIDM_GETSELECTED message to
* get the selected cell(s) in the grid control.
+1 -1
View File
@@ -235,7 +235,7 @@ MG_EXPORT PBITMAP iconview_set_item_bitmap(GHANDLE hivi, PBITMAP pbmp);
/**
* \def IVM_SETITEMSIZE
* \brief Sets the item width and height of an iconview control
* \brief Set the item width and height of an iconview control
*
* All the items have the same item size. This message should be sent
* before you add items to iconview control.
+21 -21
View File
@@ -368,7 +368,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_GETSEL
* \brief Gets the selected state for an specified item.
* \brief Get the selected state for an specified item.
*
* An application sends an LB_GETSEL message to a list box to get the selected
* state for an item specified in the wParam parameter.
@@ -419,7 +419,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_GETCURSEL
* \brief Gets the index of the currently selected or highlighted item.
* \brief Get the index of the currently selected or highlighted item.
*
* An application sends an LB_GETCURSEL message to a list box to get the index of
* the currently selected item, if there is one, in a single-selection list box.
@@ -462,7 +462,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_GETTEXT
* \brief Retrieves the text of an item in list box.
* \brief Retrieve the text of an item in list box.
*
* An application sends an LB_GETTEXT message to a list box to retrieve the text
* of an item.
@@ -490,7 +490,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_GETTEXTLEN
* \brief Gets the length of text of item specified in a list box.
* \brief Get the length of text of item specified in a list box.
*
* An application sends an LB_GETTEXTLEN message to a list box to get the length
* of text of the item specified in the \a wParam parameter.
@@ -511,7 +511,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_GETCOUNT
* \brief Gets the number of items in the list box.
* \brief Get the number of items in the list box.
*
* An application sends an LB_GETCOUNT message to a list box to get the number
* of items in the list box.
@@ -541,7 +541,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_GETTOPINDEX
* \brief Gets the index to the first visible item in the list box.
* \brief Get the index to the first visible item in the list box.
*
* An application sends an LB_GETTOPINDEX message to get the index to the first
* visible item in the list box. Initially, the first visible item is item 0, but
@@ -586,7 +586,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_GETSELCOUNT
* \brief Gets the number of selected items in a multiple-selection list box.
* \brief Get the number of selected items in a multiple-selection list box.
*
* An application sends an LB_GETSELCOUNT message to a list box to get the number
* of selected items in a multiple-selection list box.
@@ -604,7 +604,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_GETSELITEMS
* \brief Gets the numbers of selected items.
* \brief Get the numbers of selected items.
*
* An application sends an LB_GETSELITEMS message to a list box to fill a buffer
* with an array of integers that specify the item numbers of selected items in
@@ -681,7 +681,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_GETITEMRECT
* \brief Retrieves the dimensions of the rectangle.
* \brief Retrieve the dimensions of the rectangle.
*
* An application sends an LB_GETITEMRECT message to a list box to retrieve
* the dimensions of the rectangle that bounds an item as it is currently
@@ -706,7 +706,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_GETITEMDATA
* \brief Gets item data in a list box if the box has LBS_CHECKBOX
* \brief Get item data in a list box if the box has LBS_CHECKBOX
* and/or LBS_USEICON styles.
*
* An application sends LB_GETITEMDATA message to a list box to retrive the
@@ -735,7 +735,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_SETITEMDATA
* \brief Sets item data in a list box if the box has LBS_CHECKBOX
* \brief Set item data in a list box if the box has LBS_CHECKBOX
* and/or LBS_USEICON styles.
*
* An application sends LB_SETITEMDATA message to a list box to set the
@@ -768,7 +768,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_SETCARETINDEX
* \brief Sets the focus rectangle to the item at the specified index.
* \brief Set the focus rectangle to the item at the specified index.
*
* An application sends an LB_SETCARETINDEX message to set the focus rectangle
* to the item at the specified index in a multiple-selection list box.
@@ -804,7 +804,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_SETITEMHEIGHT
* \brief Sets the height of all items.
* \brief Set the height of all items.
*
* An application sends an LB_SETITEMHEIGHT message to set the height of
* all items in a list box.
@@ -825,7 +825,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_GETITEMHEIGHT
* \brief Gets the height in pixels of an item specified in the wParam parameter.
* \brief Get the height in pixels of an item specified in the wParam parameter.
*
* An application sends an LB_GETITEMHEIGHT message to a list box to get the
* height in pixels of an item specified in the wParam parameter.
@@ -892,7 +892,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_SETTEXT
* \brief Sets text of the specified item.
* \brief Set text of the specified item.
*
* \code
* LB_SETTEXT
@@ -914,7 +914,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_GETCHECKMARK
* \brief Gets check mark status of an item.
* \brief Get check mark status of an item.
*
* \code
* LB_GETCHECKMARK
@@ -937,7 +937,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_SETCHECKMARK
* \brief Sets check mark status of an item.
* \brief Set check mark status of an item.
*
* \code
* LB_SETCHECKMARK
@@ -962,7 +962,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_GETITEMADDDATA
* \brief Gets the 32-bit data value associated with an item.
* \brief Get the 32-bit data value associated with an item.
*
* An application sends an LB_GETITEMADDDATA message to a list box to get the
* 32-bit data value the list box has stored for the item with index of
@@ -1012,7 +1012,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_SETSTRCMPFUNC
* \brief Sets the STRCMP function used to sort items.
* \brief Set the STRCMP function used to sort items.
*
* An application sends an LB_SETSTRCMPFUNC message to set a
* new STRCMP function to sort items.
@@ -1043,7 +1043,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_SETITEMDISABLE
* \brief Sets the item disable.
* \brief Set the item disable.
*
* An application sends an LB_SETITEMDISABLE message to set a
* item to disable.
@@ -1079,7 +1079,7 @@ typedef LISTBOXITEMINFO* PLISTBOXITEMINFO;
/**
* \def LB_SETITEMBOLD
* \brief Sets the item display use bold font.
* \brief Set the item display use bold font.
*
* An application sends an LB_SETITEMBOLD message to set a
* item display use bold font.
+20 -20
View File
@@ -407,7 +407,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_FILLSUBITEM
* \brief Sets the content of a subitem, indentified by rows and columns.
* \brief Set the content of a subitem, indentified by rows and columns.
*
* \code
* LVM_FILLSUBITEM
@@ -526,7 +526,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_SETSUBITEMCOLOR
* \brief Sets the text color of a subitem.
* \brief Set the text color of a subitem.
*
* \code
* LVM_SETSUBITEMCOLOR
@@ -570,7 +570,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
*
* \def LVM_GETSUBITEMTEXT
* \brief Retrieves the text of a listview subitem.
* \brief Retrieve the text of a listview subitem.
*
* \code
* LVM_GETSUBITEMTEXT
@@ -595,7 +595,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_GETITEMCOUNT
* \brief Gets the number of all the items(rows) in a listview.
* \brief Get the number of all the items(rows) in a listview.
*
* \code
* LVM_GETITEMCOUNT
@@ -610,7 +610,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_GETCOLUMNCOUNT
* \brief Gets the number of all the columns in listview.
* \brief Get the number of all the columns in listview.
*
* \code
* LVM_GETCOLUMNCOUNT
@@ -625,7 +625,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_GETSELECTEDITEM
* \brief Gets the current selected item.
* \brief Get the current selected item.
*
* \code
* LVM_GETSELECTEDITEM
@@ -713,7 +713,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_GETSUBITEMLEN
* \brief Gets the text length of the subitem.
* \brief Get the text length of the subitem.
*
* \code
* LVM_GETSUBITEMLEN
@@ -737,7 +737,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_SETCOLUMN
* \brief Sets the attributes of a list view column.
* \brief Set the attributes of a list view column.
*
* \code
* LVM_SETCOLUMN
@@ -755,7 +755,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_SETSUBITEMTEXT
* \brief Sets the text of a subitem.
* \brief Set the text of a subitem.
*
* \code
* LVM_SETSUBITEMTEXT
@@ -779,7 +779,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_SETSUBITEM
* \brief Sets the attributes of a subitem.
* \brief Set the attributes of a subitem.
*
* \code
* LVM_SETSUBITEM
@@ -803,7 +803,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_GETCOLUMN
* \brief Retrieves the information about a listview column.
* \brief Retrieve the information about a listview column.
*
* \code
* LVM_GETCOLUMN
@@ -824,7 +824,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_GETCOLUMNWIDTH
* \brief Retrieves the width of a listview column.
* \brief Retrieve the width of a listview column.
*
* \code
* LVM_GETCOLUMNWIDTH
@@ -842,7 +842,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_GETITEM
* \brief Retrieves the item's attributes.
* \brief Retrieve the item's attributes.
*
* \code
* LVM_GETITEM
@@ -864,7 +864,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_GETITEMSTATE
* \brief Retrieves the state of a listview item.
* \brief Retrieve the state of a listview item.
*
* \code
* LVM_GETITEMSTATE
@@ -885,7 +885,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_GETSELECTEDCOLUMN
* \brief Retrieves the index of the currently selected column of a listview.
* \brief Retrieve the index of the currently selected column of a listview.
*
* \code
* LVM_GETSELECTEDCOLUMN
@@ -900,7 +900,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_GETSELECTEDCOUNT
* \brief Retrieves the number of the selected items in a listview.
* \brief Retrieve the number of the selected items in a listview.
*
* \code
* LVM_GETSELECTEDCOUNT
@@ -915,7 +915,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_GETTOPVISIBLE
* \brief Retrieves the index of the topmost visible item in a listview.
* \brief Retrieve the index of the topmost visible item in a listview.
*
* \code
* LVM_GETTOPVISIBLE
@@ -1015,7 +1015,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_GETITEMADDDATA
* \brief Gets the 32-bit data value associated with an item.
* \brief Get the 32-bit data value associated with an item.
*
* An application sends an LVM_GETITEMADDDATA message to a listview to get the
* 32-bit data value stored for the item with index of \a wParam;
@@ -1088,7 +1088,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_SETSTRCMPFUNC
* \brief Sets the STRCMP function used to sort items.
* \brief Set the STRCMP function used to sort items.
*
* An application sends a LVM_SETSTRCMPFUNC message to set a
* new STRCMP function to sort items in the Listview control.
@@ -1174,7 +1174,7 @@ typedef LVNM_ITEMRUP *PLVNM_ITEMRUP;
/**
* \def LVM_SETCUSTOMDRAW
* \brief Sets the customized drawing functions of listview.
* \brief Set the customized drawing functions of listview.
*
* \code
* LVM_SETCUSTOMDRAW
+1 -1
View File
@@ -327,7 +327,7 @@ typedef MENUBUTTONITEM* PMENUBUTTONITEM;
/**
* \def MBM_SETSTRCMPFUNC
* \brief Sets the STRCMP function used to sort items.
* \brief Set the STRCMP function used to sort items.
*
* An application sends a MBM_SETSTRCMPFUNC message to set a
* new STRCMP function to sort items in the menubutton.
+15 -15
View File
@@ -179,7 +179,7 @@ typedef MCCOLORINFO *PMCCOLORINFO;
/**
* \def MCM_GETCURDAY
* \brief Gets the day number of the current selected date.
* \brief Get the day number of the current selected date.
*
* \code
* MCM_GETCURDAY
@@ -194,7 +194,7 @@ typedef MCCOLORINFO *PMCCOLORINFO;
/**
* \def MCM_GETCURMONTH
* \brief Gets the month number of the current selected date.
* \brief Get the month number of the current selected date.
*
* \code
* MCM_GETCURMONTH
@@ -209,7 +209,7 @@ typedef MCCOLORINFO *PMCCOLORINFO;
/**
* \def MCM_GETCURYEAR
* \brief Gets the year number of the current selected date.
* \brief Get the year number of the current selected date.
*
* \code
* MCM_GETCURYEAR
@@ -224,7 +224,7 @@ typedef MCCOLORINFO *PMCCOLORINFO;
/**
* \def MCM_GETCURWEEKDAY
* \brief Gets the weekday number of the current selected date.
* \brief Get the weekday number of the current selected date.
*
* \code
* MCM_GETCURWEEKDAY
@@ -239,7 +239,7 @@ typedef MCCOLORINFO *PMCCOLORINFO;
/**
* \def MCM_GETCURMONLEN
* \brief Gets the month length of the current selected date.
* \brief Get the month length of the current selected date.
*
* \code
* MCM_GETCURMONLEN
@@ -302,7 +302,7 @@ typedef MCCOLORINFO *PMCCOLORINFO;
/**
* \def MCM_SETTODAY
* \brief Sets the currently selected date as the date of "today".
* \brief Set the currently selected date as the date of "today".
*
* \code
* MCM_SETTODAY
@@ -315,7 +315,7 @@ typedef MCCOLORINFO *PMCCOLORINFO;
/**
* \def MCM_GETFIRSTWEEKDAY
* \brief Gets the weekday of the first day of this month.
* \brief Get the weekday of the first day of this month.
*
* \code
* MCM_GETFIRSTWEEKDAY
@@ -330,7 +330,7 @@ typedef MCCOLORINFO *PMCCOLORINFO;
/**
* \def MCM_GETCURDATE
* \brief Gets the currently selected date.
* \brief Get the currently selected date.
*
* \code
* MCM_GETCURDATE
@@ -346,7 +346,7 @@ typedef MCCOLORINFO *PMCCOLORINFO;
/**
* \def MCM_GETTODAY
* \brief Gets the date of "today".
* \brief Get the date of "today".
*
* \code
* MCM_GETTODAY
@@ -363,7 +363,7 @@ typedef MCCOLORINFO *PMCCOLORINFO;
/**
* \def MCM_GETMINREQRECTW
* \brief Gets the minimum width required to display a full month in a month
* \brief Get the minimum width required to display a full month in a month
* calendar control.
*
* \code
@@ -379,7 +379,7 @@ typedef MCCOLORINFO *PMCCOLORINFO;
/**
* \def MCM_GETMINREQRECTH
* \brief Gets the minimum height required to display a full month in a month
* \brief Get the minimum height required to display a full month in a month
* calendar control.
*
* \code
@@ -395,7 +395,7 @@ typedef MCCOLORINFO *PMCCOLORINFO;
/**
* \def MCM_SETCURDATE
* \brief Sets the currently selected date.
* \brief Set the currently selected date.
*
* \code
* MCM_SETCURDATE
@@ -412,7 +412,7 @@ typedef MCCOLORINFO *PMCCOLORINFO;
/**
* \def MCM_SETCOLOR
* \brief Sets the color of the monthcalendar control.
* \brief Set the color of the monthcalendar control.
*
* \code
* MCM_SETCOLOR
@@ -429,7 +429,7 @@ typedef MCCOLORINFO *PMCCOLORINFO;
/**
* \def MCM_GETCOLOR
* \brief Gets the color of the monthcalendar control.
* \brief Get the color of the monthcalendar control.
*
* \code
* MCM_GETCOLOR
@@ -445,7 +445,7 @@ typedef MCCOLORINFO *PMCCOLORINFO;
/**
* \def MCM_SETDAYCOLOR
* \brief Sets the color of a specified date .
* \brief Set the color of a specified date .
*
* \code
* MCM_SETDAYCOLOR
+2 -2
View File
@@ -346,7 +346,7 @@ typedef NTBITEMINFO* PNTBITEMINFO;
/**
* \def NTBM_SETITEM
* \brief Sets the information of an item in a newtoolbar control.
* \brief Set the information of an item in a newtoolbar control.
*
* \code
* NTBM_SETITEM
@@ -386,7 +386,7 @@ typedef NTBITEMINFO* PNTBITEMINFO;
/**
* \def NTBM_SETBITMAP
* \brief Sets the bitmap of a newtoolbar control.
* \brief Set the bitmap of a newtoolbar control.
*
* \code
* NTBM_SETBITMAP
+4 -4
View File
@@ -116,9 +116,9 @@ extern "C" {
/**
* \def PBM_SETRANGE
* \brief Sets the limits of the range.
* \brief Set the limits of the range.
*
* Sets the upper and lower limits of the progress bar control's range,
* Set the upper and lower limits of the progress bar control's range,
* and redraws the bar to reflect the new ranges.
*
* \code
@@ -155,9 +155,9 @@ extern "C" {
/**
* \def PBM_SETPOS
* \brief Sets the progress bar control's current position.
* \brief Set the progress bar control's current position.
*
* Sets the progress bar control's current position as specified by nPos,
* Set the progress bar control's current position as specified by nPos,
* and redraw the bar to reflect the new position.
*
* \code
+8 -8
View File
@@ -126,7 +126,7 @@ extern "C" {
/**
* \def PSM_GETACTIVEPAGE
* \brief Gets the handle of current active page.
* \brief Get the handle of current active page.
*
* Sends this message to retreive the propsheet window's active page.
*
@@ -163,7 +163,7 @@ extern "C" {
/**
* \def PSM_GETPAGE
* \brief Gets the handle of a page by index.
* \brief Get the handle of a page by index.
*
* Sends this message to retreive the handle to a page by index.
*
@@ -183,7 +183,7 @@ extern "C" {
/**
* \def PSM_GETACTIVEINDEX
* \brief Gets the index of the current active page.
* \brief Get the index of the current active page.
*
* Sends this message to retreive the index of the propsheet window's active page.
*
@@ -200,7 +200,7 @@ extern "C" {
/**
* \def PSM_GETPAGEINDEX
* \brief Gets the index of a page by handle.
* \brief Get the index of a page by handle.
*
* Sends this message to retreive the index to a page by handle.
*
@@ -220,7 +220,7 @@ extern "C" {
/**
* \def PSM_GETPAGECOUNT
* \brief Gets the number of pages of the propsheet.
* \brief Get the number of pages of the propsheet.
*
* Sends this message to retreive the number of pages currently in the propsheet.
*
@@ -237,7 +237,7 @@ extern "C" {
/**
* \def PSM_GETTITLELENGTH
* \brief Gets the length of a page title.
* \brief Get the length of a page title.
*
* Sends this message to retreive the title length of a page.
*
@@ -257,7 +257,7 @@ extern "C" {
/**
* \def PSM_GETTITLE
* \brief Gets a page title.
* \brief Get a page title.
*
* Sends this message to retreive the title of a page.
*
@@ -279,7 +279,7 @@ extern "C" {
/**
* \def PSM_SETTITLE
* \brief Sets a page title.
* \brief Set a page title.
*
* Sends this message to specify the title of a page.
*
+37 -37
View File
@@ -163,7 +163,7 @@ MG_EXPORT BOOL scrollview_is_item_selected (HSVITEM hsvi);
/**
* \fn int scrollview_set_item_height (HWND hWnd, HSVITEM hsvi, int height)
* \brief Sets the height of an item
* \brief Set the height of an item
*/
MG_EXPORT int scrollview_set_item_height (HWND hWnd, HSVITEM hsvi, int height);
@@ -310,7 +310,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_SETITEMDRAW
* \brief Sets the drawing operation of an item.
* \brief Set the drawing operation of an item.
*
* Scrollview item drawing function will be called when doing with MSG_PAINT message,
* scrollview window should define this function if it want to draw an customed item.
@@ -351,7 +351,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_SETCONTWIDTH
* \brief Sets the scrollview content area (scrollable area) width.
* \brief Set the scrollview content area (scrollable area) width.
*
* Scrollable area of a scrolled window is always larger than the visible area.
*
@@ -371,7 +371,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_SETCONTHEIGHT
* \brief Sets the scrollview content area (scrollable area) height.
* \brief Set the scrollview content area (scrollable area) height.
*
* Scrollable area of a scrolled window is always larger than the visible area.
*
@@ -391,7 +391,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETCTRL
* \brief Gets the control handle in the scrollview window by control id.
* \brief Get the control handle in the scrollview window by control id.
*
* \code
* SVM_GETCTRL
@@ -424,7 +424,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_SETITEMOPS
* \brief Sets the item operations of the items in the scrollview.
* \brief Set the item operations of the items in the scrollview.
*
* Normally item operations should be set before adding items.
*
@@ -444,7 +444,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETMARGINS
* \brief Gets the margin values of the scrollview.
* \brief Get the margin values of the scrollview.
*
* Application should use a RECT structure to get left, top, right, and bottom margins.
*
@@ -464,7 +464,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_SETMARGINS
* \brief Sets the margin values of the scrollview.
* \brief Set the margin values of the scrollview.
*
* Application should use a RECT structure to give left, top, right, and bottom margins.
* If you want to change a margin value, give a value large than zero, or else -1.
@@ -485,7 +485,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETLEFTMARGIN
* \brief Gets the left margin value of the scrollview.
* \brief Get the left margin value of the scrollview.
*
* \code
* SVM_GETLEFTMARGIN
@@ -500,7 +500,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETTOPMARGIN
* \brief Gets the top margin value of the scrollview.
* \brief Get the top margin value of the scrollview.
*
* \code
* SVM_GETTOPMARGIN
@@ -515,7 +515,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETRIGHTMARGIN
* \brief Gets the right margin value of the scrollview.
* \brief Get the right margin value of the scrollview.
*
* \code
* SVM_GETRIGHTMARGIN
@@ -530,7 +530,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETBOTTOMMARGIN
* \brief Gets the bottom margin value of the scrollview.
* \brief Get the bottom margin value of the scrollview.
*
* \code
* SVM_GETBOTTOMMARGIN
@@ -545,7 +545,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETVISIBLEWIDTH
* \brief Gets the width of the visible content area.
* \brief Get the width of the visible content area.
*
* \code
* SVM_GETVISIBLEWIDTH
@@ -560,7 +560,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETVISIBLEHEIGHT
* \brief Gets the height of the visible content area.
* \brief Get the height of the visible content area.
*
* \code
* SVM_GETVISIBLEHEIGHT
@@ -575,7 +575,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETCONTWIDTH
* \brief Gets the width of the content area.
* \brief Get the width of the content area.
*
* \code
* SVM_GETCONTWIDTH
@@ -590,7 +590,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETCONTHEIGHT
* \brief Gets the height of the content area.
* \brief Get the height of the content area.
*
* \code
* SVM_GETCONTHEIGHT
@@ -605,7 +605,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_SETCONTRANGE
* \brief Sets the width and height of the content area.
* \brief Set the width and height of the content area.
*
* If you want to change width and height, give a value large than zero.
* If you give -1, this value will remain untouched.
@@ -627,7 +627,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETCONTENTX
* \brief Gets the content x offset in the viewport.
* \brief Get the content x offset in the viewport.
*
* \code
* SVM_GETCONTENTX
@@ -642,7 +642,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETCONTENTY
* \brief Gets the content y offset in the viewport.
* \brief Get the content y offset in the viewport.
*
* \code
* SVM_GETCONTENTY
@@ -657,7 +657,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_SETCONTPOS
* \brief Sets the content offset position in the viewport.
* \brief Set the content offset position in the viewport.
*
* \code
* SVM_SETCONTPOS
@@ -676,7 +676,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETCURSEL
* \brief Gets the index of the current hilighted scrollview item.
* \brief Get the index of the current hilighted scrollview item.
*
* An application sends an this message to a scrollview window to get the index of
* the currently selected item, if there is one, in a single-selection scrollview.
@@ -775,7 +775,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_SETITEMINIT
* \brief Sets the init operation of the items in the scrollview.
* \brief Set the init operation of the items in the scrollview.
*
* Normally item operations should be set before adding items.
* The initialization callback function will be called when adding an item.
@@ -796,7 +796,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_SETITEMDESTROY
* \brief Sets the destroy operation of the items in the scrollview.
* \brief Set the destroy operation of the items in the scrollview.
*
* Normally item operations should be set before adding items.
* The destroy callback function will be called when deleting an item
@@ -817,7 +817,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_SETITEMCMP
* \brief Sets the item compare function.
* \brief Set the item compare function.
*
* \code
* SVM_SETITEMCMP
@@ -852,7 +852,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_SETCONTAINERPROC
* \brief Sets the window procedure of the container window in the scrollview.
* \brief Set the window procedure of the container window in the scrollview.
*
* \code
* SVM_SETCONTAINERPROC
@@ -870,7 +870,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETFOCUSCHILD
* \brief Gets the focus control in the scrollview.
* \brief Get the focus control in the scrollview.
*
* \code
* SVM_GETFOCUSCHILD
@@ -885,7 +885,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETHSCROLLVAL
* \brief Gets the horizontal scroll value.
* \brief Get the horizontal scroll value.
*
* \code
* SVM_GETHSCROLLVAL
@@ -900,7 +900,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETVSCROLLVAL
* \brief Gets the vertical scroll value.
* \brief Get the vertical scroll value.
*
* \code
* SVM_GETVSCROLLVAL
@@ -915,7 +915,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETHSCROLLPAGEVAL
* \brief Gets the horizontal page scroll value.
* \brief Get the horizontal page scroll value.
*
* \code
* SVM_GETHSCROLLPAGEVAL
@@ -930,7 +930,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETVSCROLLPAGEVAL
* \brief Gets the vertical page scroll value.
* \brief Get the vertical page scroll value.
*
* \code
* SVM_GETVSCROLLPAGEVAL
@@ -945,7 +945,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_SETSCROLLVAL
* \brief Sets the horizontal and vertical scroll value.
* \brief Set the horizontal and vertical scroll value.
*
* \code
* SVM_SETSCROLLVAL
@@ -964,7 +964,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_SETSCROLLPAGEVAL
* \brief Sets the horizontal and vertical page value.
* \brief Set the horizontal and vertical page value.
*
* \code
* SVM_SETSCROLLPAGEVAL
@@ -1000,7 +1000,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETITEMCOUNT
* \brief Gets the total number of the items.
* \brief Get the total number of the items.
*
* \return Number of the items.
*/
@@ -1008,7 +1008,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETITEMADDDATA
* \brief Gets the additional data of the item
* \brief Get the additional data of the item
*
* \code
* SVM_GETITEMADDDATA
@@ -1029,7 +1029,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_SETITEMADDDATA
* \brief Sets the additional data of the item
* \brief Set the additional data of the item
*
* \code
* SVM_SETITEMADDDATA
@@ -1069,7 +1069,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_SETITEMHEIGHT
* \brief Sets the height of an item
* \brief Set the height of an item
*
* \code
* SVM_SETITEMHEIGHT
@@ -1089,7 +1089,7 @@ typedef SVITEMINFO* PSVITEMINFO;
/**
* \def SVM_GETFIRSTVISIBLEITEM
* \brief Gets the index of the first visible item
* \brief Get the index of the first visible item
*
* \code
* SVM_GETFIRSTVISIBLEITEM
+7 -7
View File
@@ -100,7 +100,7 @@ typedef SPININFO *PSPININFO;
/**
* \fn void GetSpinBoxSize (DWORD dwStyle, int* w, int* h)
* \brief Gets size of a vertical spin box control.
* \brief Get size of a vertical spin box control.
*
* The spin box control in MiniGUI has fixed size.
* This function gets the size of a spin box control.
@@ -167,7 +167,7 @@ void GetSpinBoxSize (DWORD dwStyle, int* w, int* h);
/**
* \def SPM_SETTARGET
* \brief Sets the target window of the spinbox.
* \brief Set the target window of the spinbox.
*
* When the user click the up/left or down/right arrow of the spin box, it will
* emulate the down and up of the key SCANCODE_CURSORBLOCKUP or
@@ -190,7 +190,7 @@ void GetSpinBoxSize (DWORD dwStyle, int* w, int* h);
/**
* \def SPM_GETTARGET
* \brief Gets the target window of the spinbox.
* \brief Get the target window of the spinbox.
*
* \code
* SPM_GETTARGET
@@ -205,7 +205,7 @@ void GetSpinBoxSize (DWORD dwStyle, int* w, int* h);
/**
* \def SPM_SETINFO
* \brief Sets the parameter information of the spinbox.
* \brief Set the parameter information of the spinbox.
*
* \code
* SPM_SETINFO
@@ -225,7 +225,7 @@ void GetSpinBoxSize (DWORD dwStyle, int* w, int* h);
/**
* \def SPM_GETINFO
* \brief Gets the parameter infos of the spinbox.
* \brief Get the parameter infos of the spinbox.
*
* \code
* SPM_GETINFO
@@ -305,7 +305,7 @@ void GetSpinBoxSize (DWORD dwStyle, int* w, int* h);
/**
* \def SPM_SETCUR
* \brief Sets the current position in the range of the spinbox.
* \brief Set the current position in the range of the spinbox.
*
* \code
* SPM_SETCUR
@@ -323,7 +323,7 @@ void GetSpinBoxSize (DWORD dwStyle, int* w, int* h);
/**
* \def SPM_GETCUR
* \brief Gets the current position in the range of the spinbox.
* \brief Get the current position in the range of the spinbox.
*
* \code
* SPM_GETCUR
+1 -1
View File
@@ -270,7 +270,7 @@ extern "C" {
/**
* \def STM_GETIMAGE
* \brief Retrieves a handle to the image.
* \brief Retrieve a handle to the image.
*
* An application sends an STM_GETIMAGE message to retrieve a handle
* to the image associated with a static control.
+19 -19
View File
@@ -137,7 +137,7 @@ extern "C" {
/**
* \def TBM_SETRANGE
* \brief Sets the range of minimum and maximum logical positions for the
* \brief Set the range of minimum and maximum logical positions for the
* slider in a trackbar.
*
* \code
@@ -158,7 +158,7 @@ extern "C" {
/**
* \def TBM_GETMIN
* \brief Gets the minimum logical position for the slider.
* \brief Get the minimum logical position for the slider.
*
* \code
* TBM_GETMIN
@@ -173,7 +173,7 @@ extern "C" {
/**
* \def TBM_SETPOS
* \brief Sets the current logical position of the slider.
* \brief Set the current logical position of the slider.
*
* \code
* TBM_SETPOS
@@ -191,7 +191,7 @@ extern "C" {
/**
* \def TBM_GETPOS
* \brief Gets the current logical position of the slider.
* \brief Get the current logical position of the slider.
*
* \code
* TBM_GETPOS
@@ -206,10 +206,10 @@ extern "C" {
/**
* \def TBM_SETLINESIZE
* \brief Sets the number of logical positions moved in response to keyboard
* \brief Set the number of logical positions moved in response to keyboard
* input from the arrow keys.
*
* Sets the number of logical positions the trackbar's slider moves in response
* Set the number of logical positions the trackbar's slider moves in response
* to keyboard input from the arrow keys. The logical positions are the integer
* increments in the trackbar's range of minimum to maximum slider positions.
*
@@ -229,10 +229,10 @@ extern "C" {
/**
* \def TBM_GETLINESIZE
* \brief Gets the number of logical positions moved in response to keyboard
* \brief Get the number of logical positions moved in response to keyboard
* input from the arrow keys.
*
* Gets the number of logical positions the trackbar's slider moves in response
* Get the number of logical positions the trackbar's slider moves in response
* to keyboard input from the arrow keys. The logical positions are the integer
* increments in the trackbar's range of minimum to maximum slider positions.
*
@@ -249,10 +249,10 @@ extern "C" {
/**
* \def TBM_SETPAGESIZE
* \brief Sets the number of logical positions moved in response to keyboard
* \brief Set the number of logical positions moved in response to keyboard
* input from page keys..
*
* Sets the number of logical positions the trackbar's slider moves in response
* Set the number of logical positions the trackbar's slider moves in response
* to keyboard input form page keys, such as PAGE DOWN or PAGE UP keys. The
* logical positions are the integer increments in the trackbar's range of
* minimum to maximum slider positions.
@@ -273,10 +273,10 @@ extern "C" {
/**
* \def TBM_GETPAGESIZE
* \brief Gets the number of logical positions moved in response to keyboard
* \brief Get the number of logical positions moved in response to keyboard
* input from page keys..
*
* Gets the number of logical positions the trackbar's slider moves in response
* Get the number of logical positions the trackbar's slider moves in response
* to keyboard input form page keys, such as PAGE DOWN or PAGE UP keys. The
* logical positions are the integer increments in the trackbar's range of
* minimum to maximum slider positions.
@@ -294,7 +294,7 @@ extern "C" {
/**
* \def TBM_SETTIP
* \brief Sets the start and end tip strings.
* \brief Set the start and end tip strings.
*
* \code
* TBM_SETTIP
@@ -314,7 +314,7 @@ extern "C" {
/**
* \def TBM_GETTIP
* \brief Gets the start and end tip strings.
* \brief Get the start and end tip strings.
*
* \code
* TBM_GETTIP
@@ -336,7 +336,7 @@ extern "C" {
/**
* \def TBM_SETTICKFREQ
* \brief Sets the interval frequency for tick marks in a trackbar.
* \brief Set the interval frequency for tick marks in a trackbar.
*
* \code
* TBM_SETTICKFREQ
@@ -354,7 +354,7 @@ extern "C" {
/**
* \def TBM_GETTICKFREQ
* \brief Gets the interval frequency for tick marks in a trackbar.
* \brief Get the interval frequency for tick marks in a trackbar.
*
* \code
* TBM_GETTICKFREQ
@@ -369,7 +369,7 @@ extern "C" {
/**
* \def TBM_SETMIN
* \brief Sets the minimum logical position for the slider in a trackbar.
* \brief Set the minimum logical position for the slider in a trackbar.
*
* \code
* TBM_SETMIN
@@ -387,7 +387,7 @@ extern "C" {
/**
* \def TBM_SETMAX
* \brief Sets the maximum logical position for the slider in a trackbar.
* \brief Set the maximum logical position for the slider in a trackbar.
*
* \code
* TBM_SETMAX
@@ -405,7 +405,7 @@ extern "C" {
/**
* \def TBM_GETMAX
* \brief Gets the maximum logical position for the slider in a trackbar.
* \brief Get the maximum logical position for the slider in a trackbar.
*
* \code
* TBM_GETMAX
+4 -4
View File
@@ -209,7 +209,7 @@ typedef TVITEMINFO *PTVITEMINFO;
/**
* \def TVM_GETROOT
* \brief Gets the root item of a treeview control.
* \brief Get the root item of a treeview control.
*
* \code
* TVM_GETROOT
@@ -285,7 +285,7 @@ typedef TVITEMINFO *PTVITEMINFO;
/**
* \def TVM_GETSELITEM
* \brief Gets the selected item.
* \brief Get the selected item.
*
* \code
* TVM_GETSELITEM
@@ -300,7 +300,7 @@ typedef TVITEMINFO *PTVITEMINFO;
/**
* \def TVM_SETSELITEM
* \brief Sets the selected item.
* \brief Set the selected item.
*
* \code
* TVM_SETSELITEM
@@ -439,7 +439,7 @@ typedef TVITEMINFO *PTVITEMINFO;
/**
* \def TVM_SETSTRCMPFUNC
* \brief Sets the STRCMP function used to sort items.
* \brief Set the STRCMP function used to sort items.
*
* An application sends a TVM_SETSTRCMPFUNC message to set a
* new STRCMP function to sort items in the TreeView control.
+120 -120
View File
File diff suppressed because it is too large Load Diff
+52 -52
View File
@@ -477,7 +477,7 @@ MG_EXPORT GHANDLE GUIAPI JoinLayer (const char* layer_name,
/**
* \fn GHANDLE GUIAPI GetLayerInfo (const char* layer_name,
int* nr_clients, BOOL* is_topmost, int* cli_active)
* \brief Gets information of a layer by a client.
* \brief Get information of a layer by a client.
*
* You can get the information of a layer through this function.
* The information will be returned through the pointer arguments
@@ -608,7 +608,7 @@ typedef void (* ON_UNLOCK_CLIENT_REQ) (void);
/**
* \var ON_LOCK_CLIENT_REQ OnLockClientReq
* \brief Sets to a function to lock a client request.
* \brief Set to a function to lock a client request.
*
* \note Only available for the client of MiniGUI-Processes.
*
@@ -618,7 +618,7 @@ extern MG_EXPORT ON_LOCK_CLIENT_REQ OnLockClientReq;
/**
* \var ON_TRYLOCK_CLIENT_REQ OnTrylockClientReq
* \brief Sets to a function to lock a client request.
* \brief Set to a function to lock a client request.
*
* \note Only available for the client of MiniGUI-Processes.
*
@@ -627,7 +627,7 @@ extern MG_EXPORT ON_LOCK_CLIENT_REQ OnLockClientReq;
extern MG_EXPORT ON_TRYLOCK_CLIENT_REQ OnTrylockClientReq;
/**
* \var ON_UNLOCK_CLIENT_REQ OnUnlockClientReq
* \brief Sets to a function to unlock a client request.
* \brief Set to a function to unlock a client request.
*
* \note Only available for the client of MiniGUI-Processes.
*
@@ -689,7 +689,7 @@ typedef void (* ON_ZNODE_OPERATION) (int op, int cli, int idx_znode);
/**
* \var ON_NEW_DEL_CLIENT OnNewDelClient
* \brief Sets to a function to handle a comming in (going away)
* \brief Set to a function to handle a comming in (going away)
* connection of client.
*
* When a client is connecting to or disconnecting from the server, MiniGUI
@@ -714,7 +714,7 @@ extern MG_EXPORT ON_NEW_DEL_CLIENT OnNewDelClient;
/**
* \var ON_CHANGE_LAYER OnChangeLayer
* \brief Sets to a function to handle events of layers.
* \brief Set to a function to handle events of layers.
*
* When a layer is changing, MiniGUI will call this function to tell
* you the event and the layer or the client which leads to the event.
@@ -745,7 +745,7 @@ extern MG_EXPORT ON_CHANGE_LAYER OnChangeLayer;
/**
* \var ON_ZNODE_OPERATION OnZNodeOperation
* \brief Sets to a function to handle events of z-node.
* \brief Set to a function to handle events of z-node.
*
* After the server does an operation on a z-node, MiniGUI will call
* this function to tell you the event and the layer, the client, and
@@ -853,7 +853,7 @@ MG_EXPORT MG_Layer* GUIAPI ServerCreateLayer (const char* layer_name,
/**
* \fn BOOL GUIAPI ServerSetTopmostLayer (MG_Layer* layer)
* \brief Sets topmost layer from the server.
* \brief Set topmost layer from the server.
*
* This function sets the specified layer \a layer to be the topmost layer.
*
@@ -1476,7 +1476,7 @@ MG_EXPORT int GUIAPI GetClientByPID (int pid);
/**
* \fn BOOL GUIAPI SetTopmostClient (int cli)
* \brief Sets topmost layer by a client identifier.
* \brief Set topmost layer by a client identifier.
*
* This function sets the topmost layer by the specified client
* identifier \a cli. It will bring the layer contains the client
@@ -1935,7 +1935,7 @@ static inline int ClientRequest (const REQUEST* request,
/**
* \fn int GUIAPI GetSockFD2Server (void)
* \brief Gets the file descriptor of the socket connected to the server.
* \brief Get the file descriptor of the socket connected to the server.
*
* This function returns the file descriptor of the socket connected
* to the server, i.e. mginit.
@@ -2066,7 +2066,7 @@ MG_EXPORT BOOL GUIAPI RegisterRequestHandlerV1 (int req_id,
/**
* \fn REQ_HANDLER GUIAPI GetRequestHandler (int req_id)
* \brief Gets the request handler by request identifier.
* \brief Get the request handler by request identifier.
*
* This function returns the request handler of the specified request
* identifier \a req_id.
@@ -2089,7 +2089,7 @@ MG_EXPORT REQ_HANDLER GUIAPI GetRequestHandler (int req_id);
/**
* \fn REQ_HANDLER_V1 GUIAPI GetRequestHandlerV1 (int req_id)
* \brief Gets the extended request handler by a request identifier.
* \brief Get the extended request handler by a request identifier.
*
* This function returns the request handler of the specified request
* identifier \a req_id.
@@ -2112,7 +2112,7 @@ MG_EXPORT REQ_HANDLER_V1 GUIAPI GetRequestHandlerV1 (int req_id);
/**
* \fn void* GUIAPI GetRequestHandlerEx (int req_id, int* handler_ver)
* \brief Gets the request handler and the version by request identifier.
* \brief Get the request handler and the version by request identifier.
*
* This function returns the request handler and the version of
* the specified request identifier \a req_id.
@@ -2558,7 +2558,7 @@ static inline GHANDLE GUIAPI JoinLayer (const char* layer_name,
/**
* \fn BOOL GUIAPI SetMouseCalibrationParameters (const POINT* src_pts,
const POINT* dst_pts)
* \brief Sets the parameters for doing mouse calibration.
* \brief Set the parameters for doing mouse calibration.
*
* This function set the parameters for doing mouse calibration.
* You should pass five source points and five destination points.
@@ -2589,7 +2589,7 @@ MG_EXPORT BOOL GUIAPI SetMouseCalibrationParameters (const POINT* src_pts,
/**
* \fn void GUIAPI GetOriginalMousePosition (int* x, int* y)
* \brief Gets the original mouse position.
* \brief Get the original mouse position.
*
* \param x The pointer used to return the x coordinate of original mouse
* position.
@@ -2811,7 +2811,7 @@ extern MG_EXPORT char ETCFILEPATH [];
/**
* \fn int GUIAPI GetValueFromEtcFile (const char* pEtcFile,
const char* pSection, const char* pKey, char* pValue, int iLen)
* \brief Gets value from a configuration file.
* \brief Get value from a configuration file.
*
* This function gets the value of the key \a pKey in the section \a pSection
* of the configuration file \a pEtcFile, and saves the value to the buffer
@@ -2825,7 +2825,7 @@ extern MG_EXPORT char ETCFILEPATH [];
*
* \return ETC_OK on success, < 0 on error.
*
* \retval ETC_OK Gets value successfullly.
* \retval ETC_OK Get value successfullly.
* \retval ETC_FILENOTFOUND Can not find the specified configuration file.
* \retval ETC_SECTIONNOTFOUND Can not find the specified section in the
* configuration file.
@@ -2844,7 +2844,7 @@ MG_EXPORT int GUIAPI GetValueFromEtcFile (const char* pEtcFile,
/**
* \fn int GUIAPI GetIntValueFromEtcFile (const char* pEtcFile,
const char* pSection, const char* pKey, int* value)
* \brief Gets integer value from a configuration file.
* \brief Get integer value from a configuration file.
*
* This function gets the integer value of the key \a pKey in the section
* \a pSection of the configuration file \a pEtcFile, and returns the
@@ -2857,7 +2857,7 @@ MG_EXPORT int GUIAPI GetValueFromEtcFile (const char* pEtcFile,
*
* \return ETC_OK on success, < 0 on error.
*
* \retval ETC_OK Gets value successfullly.
* \retval ETC_OK Get value successfullly.
* \retval ETC_FILENOTFOUND Can not find the specified configuration file.
* \retval ETC_SECTIONNOTFOUND Can not find the specified section in the
* configuration file.
@@ -2884,7 +2884,7 @@ MG_EXPORT int GUIAPI GetIntValueFromEtcFile (const char* pEtcFile,
/**
* \fn int GUIAPI SetValueToEtcFile (const char* pEtcFile,
const char* pSection, const char* pKey, char* pValue)
* \brief Sets a value in a configuration file.
* \brief Set a value in a configuration file.
*
* This function sets the value of the key \a pKey in the section \a pSection
* of the configuration file \a pEtcFile to be the string pointed to by
@@ -2897,7 +2897,7 @@ MG_EXPORT int GUIAPI GetIntValueFromEtcFile (const char* pEtcFile,
*
* \return ETC_OK on success, < 0 on error.
*
* \retval ETC_OK Sets value successfullly.
* \retval ETC_OK Set value successfullly.
* \retval ETC_FILEIOFAILED File I/O operation error occurred.
* \retval ETC_TMPFILEFAILED Can not create temporary file.
*
@@ -2922,7 +2922,7 @@ MG_EXPORT int GUIAPI SetValueToEtcFile (const char* pEtcFile,
*
* \return ETC_OK on success, < 0 on error.
*
* \retval ETC_OK Gets value successfullly.
* \retval ETC_OK Get value successfullly.
* \retval ETC_FILEIOFAILED File I/O operation error occurred.
* \retval ETC_SECTIONNOTFOUND Can not find the specified section in the
* etc object.
@@ -2945,7 +2945,7 @@ MG_EXPORT int GUIAPI RemoveSectionInEtcFile (const char* pEtcFile,
*
* \return ETC_OK on success, < 0 on error.
*
* \retval ETC_OK Gets value successfullly.
* \retval ETC_OK Get value successfullly.
* \retval ETC_FILEIOFAILED File I/O operation error occurred.
* \retval ETC_SECTIONNOTFOUND Can not find the specified section in the
* etc object.
@@ -2979,7 +2979,7 @@ MG_EXPORT GHANDLE GUIAPI LoadEtcFile (const char * pEtcFile);
*
* \return ETC_OK on success, 0 < on error.
*
* \retval ETC_OK Sets the etc object successfullly.
* \retval ETC_OK Set the etc object successfullly.
* \retval ETC_INVALIDOBJ Invalid etc object.
* \retval ETC_FILEIOFAILED File I/O operation error occurred.
*
@@ -3005,7 +3005,7 @@ MG_EXPORT int GUIAPI UnloadEtcFile (GHANDLE hEtc);
/**
* \fn int GUIAPI GetValueFromEtc (GHANDLE hEtc, const char* pSection,
const char* pKey, char* pValue, int iLen)
* \brief Gets value from a configuration etc object.
* \brief Get value from a configuration etc object.
*
* This function gets value from an etc object, similar to GetValueFromEtcFile.
* This function gets the value of the key \a pKey in the section \a pSection
@@ -3021,7 +3021,7 @@ MG_EXPORT int GUIAPI UnloadEtcFile (GHANDLE hEtc);
*
* \return ETC_OK on success, < 0 on error.
*
* \retval ETC_OK Gets value successfullly.
* \retval ETC_OK Get value successfullly.
* \retval ETC_INVALIDOBJ Invalid etc object.
* \retval ETC_SECTIONNOTFOUND Can not find the specified section in the
* configuration file.
@@ -3036,7 +3036,7 @@ MG_EXPORT int GUIAPI GetValueFromEtc (GHANDLE hEtc, const char* pSection,
/**
* \fn int GUIAPI GetIntValueFromEtc (GHANDLE hEtc, const char* pSection,
const char* pKey, int* pValue)
* \brief Gets the integer value from a configuration etc object.
* \brief Get the integer value from a configuration etc object.
*
* \sa GetValueFromEtc, GetIntValueFromEtcFile
*/
@@ -3046,7 +3046,7 @@ MG_EXPORT int GUIAPI GetIntValueFromEtc (GHANDLE hEtc, const char* pSection,
/**
* \def SetValueToEtc(GHANDLE hEtc, const char* pSection,
const char* pKey, char* pValue)
* \brief Sets the value in the etc object.
* \brief Set the value in the etc object.
*
* This fuctions sets the value in the etc object, somewhat similiar
* to \sa SetValueToEtcFile.
@@ -3079,7 +3079,7 @@ MG_EXPORT GHANDLE GUIAPI FindSectionInEtc (GHANDLE hEtc,
/**
* \fn int GUIAPI GetValueFromEtcSec (GHANDLE hSect,
const char* pKey, char* pValue, int iLen)
* \brief Gets value from an etc section object.
* \brief Get value from an etc section object.
*
* This function gets value from an etc section object, similar
* to GetValueFromEtc. It gets the value of the key \a pKey in the
@@ -3094,7 +3094,7 @@ MG_EXPORT GHANDLE GUIAPI FindSectionInEtc (GHANDLE hEtc,
*
* \return ETC_OK on success, < 0 on error.
*
* \retval ETC_OK Gets value successfullly.
* \retval ETC_OK Get value successfullly.
* \retval ETC_INVALIDOBJ Invalid etc object.
* \retval ETC_KEYNOTFOUND Can not find the specified key in the section.
* \retval ETC_READONLYOBJ The section object is read-only.
@@ -3107,7 +3107,7 @@ MG_EXPORT int GUIAPI GetValueFromEtcSec (GHANDLE hSect,
/**
* \fn int GUIAPI GetIntValueFromEtcSec (GHANDLE hSect,
const char* pKey, int* pValue)
* \brief Gets an integer value from an etc section object.
* \brief Get an integer value from an etc section object.
*
* This function gets an integer value from an etc section object,
* similar to GetIntValueFromEtc. It gets the value of the key \a pKey
@@ -3120,7 +3120,7 @@ MG_EXPORT int GUIAPI GetValueFromEtcSec (GHANDLE hSect,
*
* \return ETC_OK on success, < 0 on error.
*
* \retval ETC_OK Gets value successfullly.
* \retval ETC_OK Get value successfullly.
* \retval ETC_INVALIDOBJ Invalid etc object.
* \retval ETC_KEYNOTFOUND Can not find the specified key in the section.
* \retval ETC_INTCONV Can not convert the value string to an integer.
@@ -3133,7 +3133,7 @@ MG_EXPORT int GUIAPI GetIntValueFromEtcSec (GHANDLE hSect,
/**
* \fn int GUIAPI SetValueToEtcSec (GHANDLE hSect,
const char* pKey, char* pValue)
* \brief Sets the value in the etc section object.
* \brief Set the value in the etc section object.
*
* This fuctions sets the value in the etc section object \a hSect,
* somewhat similiar to SetValueToEtc \sa SetValueToEtc.
@@ -3155,7 +3155,7 @@ MG_EXPORT int GUIAPI SetValueToEtcSec (GHANDLE hSect,
*
* \return ETC_OK on success, < 0 on error.
*
* \retval ETC_OK Gets value successfullly.
* \retval ETC_OK Get value successfullly.
* \retval ETC_INVALIDOBJ Invalid etc object.
* \retval ETC_READONLYOBJ The etc object is read-only.
* \retval ETC_SECTIONNOTFOUND Can not find the specified section in the
@@ -3171,7 +3171,7 @@ extern MG_EXPORT GHANDLE hMgEtc;
/**
* \fn static inline int GetMgEtcValue(const char* pSection,
const char *pKey, char *pValue, int iLen)
* \brief Gets value from MiniGUI configuration etc object
* \brief Get value from MiniGUI configuration etc object
*
* This fuctions gets the value from MiniGUi configuration etc object,
* somewhat similiar to GetValueFromEtcFile and GetValueFromEtc
@@ -3191,7 +3191,7 @@ static inline int GetMgEtcValue(const char* pSection,
/**
* \fn static inline int GetMgEtcIntValue (const char *pSection,
const char* pKey, int *value)
* \brief Gets integer value from MiniGUI configuration etc object
* \brief Get integer value from MiniGUI configuration etc object
*
* This fuctions get integer value from MiniGUI configuration etc object
* some what similiar to GetIntValueFromEtcFile and GetIntValueFromEtc
@@ -3301,7 +3301,7 @@ MG_EXPORT int GUIAPI DestroyClipBoard (const char* cb_name);
/**
* \fn int GUIAPI SetClipBoardData (const char* cb_name,
void* data, size_t n, int cbop)
* \brief Sets the data of a clipboard.
* \brief Set the data of a clipboard.
*
* This function sets the data into the clipboard named \a cb_name.
*
@@ -3326,7 +3326,7 @@ MG_EXPORT int GUIAPI SetClipBoardData (const char* cb_name,
/**
* \fn size_t GUIAPI GetClipBoardDataLen (const char* cb_name)
* \brief Gets the length of the data of a clipboard.
* \brief Get the length of the data of a clipboard.
*
* This function gets the data length of the clipboard named \a cb_name.
*
@@ -3341,7 +3341,7 @@ MG_EXPORT size_t GUIAPI GetClipBoardDataLen (const char* cb_name);
/**
* \fn size_t GUIAPI GetClipBoardData (const char* cb_name,
void* data, size_t n)
* \brief Gets the data of a clipboard.
* \brief Get the data of a clipboard.
*
* This function gets the all data from the clipboard named \a cb_name.
*
@@ -3359,7 +3359,7 @@ MG_EXPORT size_t GUIAPI GetClipBoardData (const char* cb_name,
/**
* \fn int GUIAPI GetClipBoardByte (const char* cb_name,
int index, unsigned char* byte);
* \brief Gets a byte from a clipboard.
* \brief Get a byte from a clipboard.
*
* This function gets a byte from the clipboard named \a cb_name.
*
@@ -3387,7 +3387,7 @@ MG_EXPORT int GUIAPI GetClipBoardByte (const char* cb_name,
/**
* \fn DWORD GUIAPI GetTickCount (void)
* \brief Retrieves the tick counts that have elapsed since MiniGUI was started.
* \brief Retrieve the tick counts that have elapsed since MiniGUI was started.
*
* This function retrieves the tick counts that have elapsed since MiniGUI
* was started. It is limited to the resolution of the system timer, i.e.
@@ -3433,7 +3433,7 @@ MG_EXPORT void GUIAPI Tone (int frequency_hz, int duration_ms);
/**
* \fn void* GUIAPI GetOriginalTermIO (void)
* \brief Gets \a termios structure of the original terminal before
* \brief Get \a termios structure of the original terminal before
* initializing MiniGUI.
*
* \return The pointer to the original \a termios structure.
@@ -3662,7 +3662,7 @@ MG_EXPORT BOOL GUIAPI DestroyCursor (HCURSOR hcsr);
/**
* \fn HCURSOR GUIAPI GetSystemCursor (int csrid)
* \brief Gets the handle to a system cursor by its identifier.
* \brief Get the handle to a system cursor by its identifier.
*
* MiniGUI creates (MAX_SYSCURSORINDEX + 1) system cursors for application.
* You can use \a GetSystemCursor to get the handle to these system cursors.
@@ -3722,7 +3722,7 @@ MG_EXPORT HCURSOR GUIAPI GetSystemCursor (int csrid);
/**
* \fn HCURSOR GUIAPI GetCurrentCursor (void)
* \brief Gets the handle to the current cursor.
* \brief Get the handle to the current cursor.
*
* This function retrives the current cursor and returns its handle.
*
@@ -3844,7 +3844,7 @@ MG_EXPORT void GUIAPI ClipCursor (const RECT* prc);
/**
* \fn void GUIAPI GetClipCursor (RECT* prc)
* \brief Gets the current cursor clipping rectangle.
* \brief Get the current cursor clipping rectangle.
*
* This function copies the current clipping rectangle to
* a RECT pointed to by \a prc.
@@ -3856,7 +3856,7 @@ MG_EXPORT void GUIAPI GetClipCursor (RECT* prc);
/**
* \fn void GUIAPI GetCursorPos (POINT* ppt)
* \brief Gets position of the current cursor.
* \brief Get position of the current cursor.
*
* This function copies the current mouse cursor position to
* a POINT structure pointed to by \a ppt.
@@ -3870,7 +3870,7 @@ MG_EXPORT void GUIAPI GetCursorPos (POINT* ppt);
/**
* \fn void GUIAPI SetCursorPos (int x, int y)
* \brief Sets position of the current cursor.
* \brief Set position of the current cursor.
*
* This function sets mouse cursor position with the given
* arguments: \a (\a x,\a y).
@@ -3906,7 +3906,7 @@ MG_EXPORT HCURSOR GUIAPI SetCursorEx (HCURSOR hcsr, BOOL set_def);
/**
* \fn HCURSOR GUIAPI GetDefaultCursor (void)
* \brief Gets the default cursor.
* \brief Get the default cursor.
*
* This function gets the current default cursor.
*
@@ -3990,7 +3990,7 @@ static inline int GUIAPI ShowCursor (BOOL fShow) {
/**
* \fn BOOL GUIAPI GetKeyStatus (UINT uKey)
* \brief Gets a key or a mouse button status.
* \brief Get a key or a mouse button status.
*
* This function gets a key or a mouse button status, returns TRUE
* when pressed, or FALSE when released. \a uKey indicates
@@ -4017,7 +4017,7 @@ MG_EXPORT BOOL GUIAPI GetKeyStatus (UINT uKey);
/**
* \fn DWORD GUIAPI GetShiftKeyStatus (void)
* \brief Gets status of the shift keys.
* \brief Get status of the shift keys.
*
* This function gets ths status of the shift keys, the returned value
* indicates the status of shift keys -- CapsLock, ScrollLock, NumLock,
@@ -4059,7 +4059,7 @@ MG_EXPORT DWORD GUIAPI GetShiftKeyStatus (void);
/**
* \fn void GUIAPI GetKeyboardState (BYTE* kbd_state)
* \brief Gets status of all keys on keyboard.
* \brief Get status of all keys on keyboard.
*
* This function gets the status of all keys on keyboard.
*
@@ -4476,7 +4476,7 @@ extern MG_EXPORT const char** local_SysText;
/**
* \fn const char** GUIAPI GetSysTextInUTF8 (const char* language)
* \brief Gets the localized system text array in UTF-8 for
* \brief Get the localized system text array in UTF-8 for
* a specified language.
*
* This function returns the localized system text array in UTF-8 encode
+1 -1
View File
@@ -461,7 +461,7 @@ struct mallinfo mallinfo(void);
/*
mallopt(int parameter_number, int parameter_value)
Sets tunable parameters The format is to provide a
Set tunable parameters The format is to provide a
(parameter-number, parameter-value) pair. mallopt then sets the
corresponding parameter to the argument value if it can (i.e., so
long as the value is meaningful), and returns 1 if successful else
+27 -27
View File
@@ -827,7 +827,7 @@ extern DWORD __mg_interval_time;
/**
* \def MSG_SETCURSOR
* \brief Sets cursor shape in the client area.
* \brief Set cursor shape in the client area.
*
* This message is posted to the window under the cursor when the user moves
* the mouse in order to give the chance to change the cursor shape.
@@ -1266,7 +1266,7 @@ extern DWORD __mg_interval_time;
/**
* \def MSG_NCSETCURSOR
* \brief Sets cursor shape in the non-client area.
* \brief Set cursor shape in the non-client area.
*
* This message is posted to the window under the cursor when the user moves
* the mouse in order to give the chance to change the cursor shape.
@@ -3330,7 +3330,7 @@ MG_EXPORT LRESULT GUIAPI SendMessage (HWND hWnd, UINT nMsg,
/**
* \fn void GUIAPI SetAutoRepeatMessage (HWND hwnd, UINT msg,
WPARAM wParam, LPARAM lParam)
* \brief Sets the auto-repeat message.
* \brief Set the auto-repeat message.
*
* This function sets the auto-repeat message. When the default message
* procedure receives an MSG_IDLE message, the default handler will send
@@ -3619,7 +3619,7 @@ MG_EXPORT int GUIAPI PostQuitMessage (HWND hWnd);
/**
* \fn BOOL SetKeyboardLayout (const char* kbd_layout)
* \brief Sets a new keyboard layout.
* \brief Set a new keyboard layout.
*
* This function sets the keymaps to translate key scancodes to MSG_CHAR
* or MSG_KEYSYM messages. The default keymaps is for US PC keyboard
@@ -7303,7 +7303,7 @@ MG_EXPORT gal_pixel GUIAPI GetWindowBkColor (HWND hWnd);
/**
* \fn gal_pixel GUIAPI SetWindowBkColor (HWND hWnd, gal_pixel new_bkcolor)
* \brief Sets the background color of a window.
* \brief Set the background color of a window.
*
* This function sets the background color of the specified window \a hWnd
* to be new pixel value \a new_backcolor. You should call \a UpdateWindow
@@ -7337,7 +7337,7 @@ MG_EXPORT PLOGFONT GUIAPI GetWindowFont (HWND hWnd);
/**
* \fn PLOGFONT GUIAPI SetWindowFont (HWND hWnd, PLOGFONT pLogFont)
* \brief Sets the default font of a window.
* \brief Set the default font of a window.
*
* This function sets the default font of the specified window \a hWnd
* to be the logical font \a pLogFont. This function will send an
@@ -7372,7 +7372,7 @@ MG_EXPORT HCURSOR GUIAPI GetWindowCursor (HWND hWnd);
/**
* \fn HCURSOR GUIAPI SetWindowCursor (HWND hWnd, HCURSOR hNewCursor)
* \brief Sets the current cursor of a window.
* \brief Set the current cursor of a window.
*
* This function sets the current cursor of the specified window \a hWnd with
* argument \a hNewCursor.
@@ -7401,7 +7401,7 @@ MG_EXPORT HICON GUIAPI GetWindowIcon (HWND hWnd);
/**
* \fn HICON GUIAPI SetWindowIcon (HWND hWnd, HICON hIcon, BOOL bRedraw)
* \brief Sets the current icon of a window.
* \brief Set the current icon of a window.
*
* This function sets the current icon of the specified window \a hWnd with
* argument \a hIcon.
@@ -7520,7 +7520,7 @@ MG_EXPORT WNDPROC GUIAPI GetWindowCallbackProc (HWND hWnd);
/**
* \fn WNDPROC GUIAPI SetWindowCallbackProc (HWND hWnd, WNDPROC newProc)
* \brief Sets the callback procedure of a window.
* \brief Set the callback procedure of a window.
*
* This function sets the window callback procedure of the specified window
* \a hWnd to be the procedure \a newProc.
@@ -7553,7 +7553,7 @@ MG_EXPORT DWORD GUIAPI GetWindowAdditionalData (HWND hWnd);
/**
* \fn DWORD GUIAPI SetWindowAdditionalData (HWND hWnd, DWORD newData)
* \brief Sets the first additional data of a window.
* \brief Set the first additional data of a window.
*
* This function sets the first additional data of the specified window
* \a hWnd.
@@ -7587,7 +7587,7 @@ MG_EXPORT DWORD GUIAPI GetWindowAdditionalData2 (HWND hWnd);
/**
* \fn DWORD GUIAPI SetWindowAdditionalData2 (HWND hWnd, DWORD newData)
* \brief Sets the second additional data of a window.
* \brief Set the second additional data of a window.
*
* This function sets the second additional data of the specified window
* \a hWnd.
@@ -7624,7 +7624,7 @@ MG_EXPORT DWORD GUIAPI GetWindowClassAdditionalData (HWND hWnd);
/**
* \fn DWORD GUIAPI SetWindowClassAdditionalData (HWND hWnd, DWORD newData)
* \brief Sets the additional data of a control class.
* \brief Set the additional data of a control class.
*
* This function sets the additional data of the control class to which
* the specified control \a hWnd belongs.
@@ -7655,7 +7655,7 @@ MG_EXPORT const char* GUIAPI GetWindowCaption (HWND hWnd);
/**
* \fn BOOL GUIAPI SetWindowCaption (HWND hWnd, const char* spCaption)
* \brief Sets the caption of a window.
* \brief Set the caption of a window.
*
* This function sets the caption of the specified window \a hWnd.
*
@@ -8421,7 +8421,7 @@ MG_EXPORT int GUIAPI GetWindowText (HWND hWnd, char* spString, int nMaxLen);
/**
* \fn BOOL GUIAPI SetWindowText (HWND hWnd, const char* spString)
* \brief Sets the text of a window.
* \brief Set the text of a window.
*
* This function copies the string in the buffer pointed to by \a spString
* to be the text of the specified window \a hWnd. The function sets
@@ -8469,7 +8469,7 @@ MG_EXPORT HWND GUIAPI SetNullFocus (HWND hParent);
/**
* \fn HWND GUIAPI SetFocusChild (HWND hWnd)
* \brief Sets the active child of a window.
* \brief Set the active child of a window.
*
* This function sets the specified window \a hWnd as the active child of
* its parent.
@@ -8509,7 +8509,7 @@ MG_EXPORT HWND GUIAPI GetActiveWindow (void);
/**
* \fn HWND GUIAPI SetActiveWindow (HWND hMainWnd)
* \brief Sets a main window to be the active main window.
* \brief Set a main window to be the active main window.
*
* This function sets the specified main window \a hMainWnd to be the
* active main window which receives the input.
@@ -8552,7 +8552,7 @@ MG_EXPORT HWND GUIAPI GetCapture(void);
/**
* \fn HWND GUIAPI SetCapture(HWND hWnd)
* \brief Sets the mouse capture to the specified window.
* \brief Set the mouse capture to the specified window.
*
* This function sets the mouse capture to the specified window \a hWnd.
* Once a window has captured the mouse, all mouse input is directed to
@@ -9131,7 +9131,7 @@ MG_EXPORT BOOL GUIAPI GetScrollRange (HWND hWnd, int iSBar,
/**
* \fn BOOL GUIAPI SetScrollPos (HWND hWnd, int iSBar, int iNewPos)
* \brief Sets the position of the scroll box (thumb) of the specified
* \brief Set the position of the scroll box (thumb) of the specified
* scroll bar.
*
* This function sets the position of the scroll box (thumb) of the specified
@@ -9156,7 +9156,7 @@ MG_EXPORT BOOL GUIAPI SetScrollPos (HWND hWnd, int iSBar, int iNewPos);
/**
* \fn BOOL GUIAPI SetScrollRange (HWND hWnd, int iSBar, \
* int iMinPos, int iMaxPos)
* \brief Sets the minimum and maximum position values for the specified
* \brief Set the minimum and maximum position values for the specified
* scroll bar.
*
* This function sets the minimum and maximum position values for the
@@ -9253,7 +9253,7 @@ typedef struct _SCROLLINFO
/**
* \fn BOOL GUIAPI SetScrollInfo (HWND hWnd, int iSBar, \
* const SCROLLINFO* lpsi, BOOL fRedraw)
* \brief Sets the parameters of a scroll bar.
* \brief Set the parameters of a scroll bar.
*
* This function sets the parameters of a scroll bar, including the
* minimum and maximum scrolling positions, the page size, and the position
@@ -9475,7 +9475,7 @@ MG_EXPORT BOOL GUIAPI GetWindowClassInfo (PWNDCLASS pWndClass);
/**
* \fn BOOL GUIAPI SetWindowClassInfo (const WNDCLASS* pWndClass)
* \brief Sets the information of the specified window class.
* \brief Set the information of the specified window class.
*
* This function sets the information of a window class.
* The window class to be operated is specified by \a pWndClass->spClassName.
@@ -9921,7 +9921,7 @@ MG_EXPORT int GUIAPI GetIMEStatus (int StatusCode);
/**
* \fn int GUIAPI SetIMEStatus (int StatusCode, int Value)
* \brief Sets the status of the current IME window.
* \brief Set the status of the current IME window.
*
* This function sets the status of the current IME window.
*
@@ -9953,7 +9953,7 @@ MG_EXPORT int GUIAPI GetIMETargetInfo (IME_TARGET_INFO *info);
/**
* \fn int GUIAPI SetIMETargetInfo (const IME_TARGET_INFO *info)
* \brief Sets the target info of the current IME window.
* \brief Set the target info of the current IME window.
*
* This function sets the target info of the current IME window.
*
@@ -9988,7 +9988,7 @@ MG_EXPORT int GUIAPI GetIMEPos (POINT* pt);
/**
* \fn int GUIAPI SetIMEPos (POINT* pt)
* \brief Sets the position of the current IME window.
* \brief Set the position of the current IME window.
*
* NOTE that this function is deprecated.
*
@@ -10195,7 +10195,7 @@ MG_EXPORT UINT GUIAPI GetCaretBlinkTime (HWND hWnd);
/**
* \fn BOOL GUIAPI SetCaretBlinkTime (HWND hWnd, UINT uTime)
* \brief Sets the caret blink time to the specified number of milliseconds.
* \brief Set the caret blink time to the specified number of milliseconds.
*
* This function sets the caret blink time to the specified number of
* milliseconds. The blink time is the elapsed time, in milliseconds,
@@ -11605,7 +11605,7 @@ MG_EXPORT LRESULT GUIAPI SendDlgItemMessage (HWND hDlg, LINT nIDDlgItem,
/**
* \fn BOOL GUIAPI SetDlgItemInt (HWND hDlg, LINT nIDDlgItem, \
* UINT uValue, BOOL bSigned)
* \brief Sets the text of a control in a dialog box to the string
* \brief Set the text of a control in a dialog box to the string
* representation of a specified integer value.
*
* This function sets the text of the control whose identifier is \a nIDDlgItem
@@ -11630,7 +11630,7 @@ MG_EXPORT BOOL GUIAPI SetDlgItemInt (HWND hDlg, LINT nIDDlgItem,
/**
* \fn BOOL GUIAPI SetDlgItemText (HWND hDlg, int nIDDlgItem, \
* const char* lpString)
* \brief Sets the title or text of a control in a dialog box.
* \brief Set the title or text of a control in a dialog box.
*
* This function sets the title or text of the control whose identifier
* is \a nIDDlgItem in the dialog box \a hDlg to the string pointed to
+2 -2
View File
@@ -240,7 +240,7 @@ static int PropSheetCtrlProc (HWND hwnd, int message, WPARAM wParam, LPARAM lPar
break;
}
case PSM_GETACTIVEINDEX: //Retrieves the index of the active page of the property sheet.
case PSM_GETACTIVEINDEX: //Retrieve the index of the active page of the property sheet.
{
pData = (PROPSHEETDATA *)pCtrl->dwAddData2;
@@ -250,7 +250,7 @@ static int PropSheetCtrlProc (HWND hwnd, int message, WPARAM wParam, LPARAM lPar
return pData->index;
}
case PSM_GETPAGECOUNT: //Retrieves the number of pages in the property sheet
case PSM_GETPAGECOUNT: //Retrieve the number of pages in the property sheet
{
pData = (PROPSHEETDATA *)pCtrl->dwAddData2;
+4 -4
View File
@@ -154,7 +154,7 @@ static void print_selected (TextDoc *txtdoc)
/* ------------------------------ text document/buffer ------------------------ */
/*
* set_current_node : Sets a node as the current insertion/selection node,
* set_current_node : Set a node as the current insertion/selection node,
* must be called when the current node is/will be changed.
* Params : newnode - the new node with insertion/selection point
* bSel - insertion or selection
@@ -602,7 +602,7 @@ static TextMark* get_start_mark (PTEDATA ptedata)
return &txtdoc->selection;
}
/* Gets the start and end selection points in a text node */
/* Get the start and end selection points in a text node */
static void
get_selection_points (PTEDATA ptedata, TextNode *node, int *pos_start, int *pos_end)
{
@@ -1354,7 +1354,7 @@ static void textedit_set_svlist (HWND hWnd, PSCRDATA pscrdata, BOOL visChanged)
}
/*
* set_caret_pos : Sets the caret/selection position in a node according to
* set_caret_pos : Set the caret/selection position in a node according to
* x,y values
*/
static int
@@ -2263,7 +2263,7 @@ static int te_select_all (HWND hWnd, PTEDATA ptedata)
#endif
/*
* te_set_position : Sets insertion or selection position
* te_set_position : Set insertion or selection position
* Params : mark - insertion or selection point
*/
static TextNode*
+2 -2
View File
@@ -91,7 +91,7 @@ rect.right = p1->x + p1->width - 1; \
rect.top = LV_HDR_TOP; \
rect.bottom = plvdata->nHeadHeight;
/* Gets the text rect of a subitem */
/* Get the text rect of a subitem */
#define LV_GET_SUBITEM_TEXTRECT(rect, textrect) \
textrect.left = rect.left + 2; \
textrect.top = rect.top + 2; \
@@ -822,7 +822,7 @@ lvFillSubItem (PITEMDATA pi, int subItem, const char *pszText, PLVDATA plvdata)
return 0;
}
/* Sets the text color of the subitem */
/* Set the text color of the subitem */
static int
lvSetSubItemTextColor (PITEMDATA pitem, int subItem, int color, PLVDATA plvdata)
{
+1 -1
View File
@@ -93,7 +93,7 @@ static void usage (void)
}
/* Parses command-line arguments from null-terminated array |args|.
Sets up |options| appropriately to correspond. */
Set up |options| appropriately to correspond. */
static void
parse_command_line (char **args, struct test_options *options)
{
+1 -1
View File
@@ -550,7 +550,7 @@ rgb2hsva (float r, float g, float b,
/*
Assumes (r,g,b) range from 0 to 255
Sets h in degrees: 0 to 360. s,v in [0,255]
Set h in degrees: 0 to 360. s,v in [0,255]
*/
static void
RGB2HSV (Uint8 r, Uint8 g, Uint8 b,
+5 -5
View File
@@ -421,7 +421,7 @@ int GAL_Flip (GAL_Surface *screen);
#endif
/*
* Sets a portion of the colormap for the given 8-bit surface. If 'surface'
* Set a portion of the colormap for the given 8-bit surface. If 'surface'
* is not a palettized surface, this function does nothing, returning 0.
* If all of the colors were set as passed to GAL_SetColors(), it will
* return 1. If not all the color entries were set exactly as given,
@@ -439,7 +439,7 @@ int GAL_SetColors (GAL_Surface *surface,
GAL_Color *colors, int firstcolor, int ncolors);
/*
* Sets a portion of the colormap for a given 8-bit surface.
* Set a portion of the colormap for a given 8-bit surface.
* 'flags' is one or both of:
* GAL_LOGPAL -- set logical palette, which controls how blits are mapped
* to/from the surface,
@@ -658,7 +658,7 @@ void GAL_UnlockSurface (GAL_Surface *surface);
#endif
/*
* Sets the color key (transparent pixel) in a blittable surface.
* Set the color key (transparent pixel) in a blittable surface.
* If 'flag' is GAL_SRCCOLORKEY (optionally OR'd with GAL_RLEACCEL),
* 'key' will be the transparent pixel in the source image of a blit.
* GAL_RLEACCEL requests RLE acceleration for the surface if present,
@@ -737,7 +737,7 @@ static inline void RECT2GAL_Rect (const RECT *rc, GAL_Rect *gal_rect)
}
/*
* Sets the clipping rectangle for the destination surface in a blit.
* Set the clipping rectangle for the destination surface in a blit.
*
* If the clip rectangle is NULL, clipping will be disabled.
* If the clip rectangle doesn't intersect the surface, the function will
@@ -751,7 +751,7 @@ static inline void RECT2GAL_Rect (const RECT *rc, GAL_Rect *gal_rect)
GAL_bool GAL_SetClipRect (GAL_Surface *surface, GAL_Rect *rect);
/*
* Gets the clipping rectangle for the destination surface in a blit.
* Get the clipping rectangle for the destination surface in a blit.
* 'rect' must be a pointer to a valid rectangle which will be filled
* with the correct values.
*/
+1 -1
View File
@@ -1967,7 +1967,7 @@ static HWND dskGetActiveWindow (int* cli)
}
/*
* Sets the active main window.
* Set the active main window.
*/
static HWND dskSetActiveWindow (PMAINWIN pWin)
{
+1 -1
View File
@@ -1100,7 +1100,7 @@ Void_t* public_vALLOc();
/*
mallopt(int parameter_number, int parameter_value)
Sets tunable parameters The format is to provide a
Set tunable parameters The format is to provide a
(parameter-number, parameter-value) pair. mallopt then sets the
corresponding parameter to the argument value if it can (i.e., so
long as the value is meaningful), and returns 1 if successful else
+1 -1
View File
@@ -68,7 +68,7 @@ static void WaitIdle(_THIS)
tdfx_waitidle();
}
/* Sets video mem colorkey and accelerated blit function */
/* Set video mem colorkey and accelerated blit function */
static int SetHWColorKey(_THIS, GAL_Surface *surface, Uint32 key)
{
return(0);
+2 -2
View File
@@ -74,13 +74,13 @@ static void WaitIdle(_THIS)
mga_waitidle();
}
/* Sets video mem colorkey and accelerated blit function */
/* Set video mem colorkey and accelerated blit function */
static int SetHWColorKey(_THIS, GAL_Surface *surface, Uint32 key)
{
return(0);
}
/* Sets per surface hardware alpha value */
/* Set per surface hardware alpha value */
#if 0
static int SetHWAlpha(_THIS, GAL_Surface *surface, Uint8 value)
{
+1 -1
View File
@@ -95,7 +95,7 @@ static void WaitIdle(_THIS)
;
}
/* Sets video mem colorkey and accelerated blit function */
/* Set video mem colorkey and accelerated blit function */
static int SetHWColorKey(_THIS, GAL_Surface *surface, Uint32 key)
{
return 0;
+1 -1
View File
@@ -825,7 +825,7 @@ static void SMI_WaitIdle (_THIS)
#endif
}
/* Sets video mem colorkey and accelerated blit function */
/* Set video mem colorkey and accelerated blit function */
static int SMI_SetHWColorKey (_THIS, GAL_Surface *surface, Uint32 key)
{
return 0;
+4 -4
View File
@@ -112,7 +112,7 @@ struct GAL_VideoDevice {
void (*UpdateMouse)(_THIS);
#endif
/* Sets the color entries { firstcolor .. (firstcolor+ncolors-1) }
/* Set the color entries { firstcolor .. (firstcolor+ncolors-1) }
of the physical palette to those in 'colors'. If the device is
using a software palette (GAL_HWPALETTE not set), then the
changes are reflected in the logical palette of the screen
@@ -193,7 +193,7 @@ struct GAL_VideoDevice {
int (*MoveCursor)(_THIS, int x, int y);
#endif
/* Sets the hardware accelerated blit function, if any, based
/* Set the hardware accelerated blit function, if any, based
on the current flags of the surface (colorkey, alpha, etc.)
*/
int (*CheckHWBlit)(_THIS, GAL_Surface *src, GAL_Surface *dst);
@@ -201,10 +201,10 @@ struct GAL_VideoDevice {
/* Fills a surface rectangle with the given color */
int (*FillHWRect)(_THIS, GAL_Surface *dst, GAL_Rect *rect, Uint32 color);
/* Sets video mem colorkey and accelerated blit function */
/* Set video mem colorkey and accelerated blit function */
int (*SetHWColorKey)(_THIS, GAL_Surface *surface, Uint32 key);
/* Sets per surface hardware alpha value */
/* Set per surface hardware alpha value */
int (*SetHWAlpha)(_THIS, GAL_Surface *surface, Uint8 value);
#if 0
+1 -1
View File
@@ -2805,7 +2805,7 @@ BOOL dc_GenerateMemDCECRgn(PDC pdc, BOOL fForce)
return TRUE;
}
/**
* Function: Gets a secondary sub DC for a child window.
* Function: Get a secondary sub DC for a child window.
*
* secondary_dc: The secondary DC.
* hwnd_child: The handle to the child of the main window.