mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-25 11:07:54 +08:00
tune release notes
This commit is contained in:
+8
-8
@@ -33,7 +33,7 @@ Similarly, `WPARAM` and `LPARAM` are now have the pointer precision.
|
||||
`WORD` and `SWORD` has a half of pointer precision. The size of these
|
||||
two types is 2 bytes on 32-bit platform, and 4 bytes on 64-bit platform.
|
||||
|
||||
`RGBCOLOR` now is defined as an aliase of `DWORD32` (see below).
|
||||
`RGBCOLOR` now is defined as an alias of `DWORD32` (see below).
|
||||
|
||||
Note that the type of `BYTE` always has the size of 8-bit on both
|
||||
32-bit and 64-bit platforms.
|
||||
@@ -43,13 +43,13 @@ Note that the type of `BYTE` always has the size of 8-bit on both
|
||||
We introduce `DWORD32` and `SDWORD32` types,
|
||||
which have the size of 4 bytes on both 32-bit and 64-bit platforms.
|
||||
You should use these types when reading/writing 32-bit integers from
|
||||
a binary files for the portibility. Of course, you can also use
|
||||
a binary files for the portability. Of course, you can also use
|
||||
`Uint32` or `Sint32` types.
|
||||
|
||||
Similarly, we introduce `WORD16` and `SWORD16` types,
|
||||
which have the size of 2 bytes on both 32-bit and 64-bit platforms.
|
||||
You should use these types when reading/writing 16-bit integers from
|
||||
a binary file for the portibility. Of course, you can also use
|
||||
a binary file for the portability. Of course, you can also use
|
||||
`Uint16` or `SUint16` types.
|
||||
|
||||
`LRESULT` is defined for window callback procedure, and it has
|
||||
@@ -75,8 +75,8 @@ Note that 'MakeRGB` and `MakeRGBA` macros always make DWORD32 integers.
|
||||
In contract, GetRValue, GetRValue, GetBValue, GetAValue always get Red,
|
||||
green, blue, and alpha components from a DWORD32 integer respectively.
|
||||
|
||||
Note that you should use `(-1)` instead of `0xFFFFFFFF` for invalid
|
||||
pointer-type values for good portability.
|
||||
Note that you should use `(-1)` instead of `0xFFFFFFFF` for the invalid
|
||||
pointer-type value for good portability.
|
||||
|
||||
#### Structure and functions
|
||||
|
||||
@@ -146,7 +146,7 @@ to
|
||||
|
||||
In additio, we correct the bad or wrong definitions of some APIs:
|
||||
|
||||
1. `DWORD2PIXEL` to 'DWORD2Pixel`. The old one has a bad name.
|
||||
1. `DWORD2PIXEL` to `DWORD2Pixel`. The old one has a bad name.
|
||||
2. `GetWindowRendererFromName`: The return type changes from
|
||||
`const WINDOW_ELEMENT_RENDERER*` to `WINDOW_ELEMENT_RENDERER*`.
|
||||
So you can overload some methods directly of a renderer.
|
||||
@@ -186,7 +186,7 @@ report any bugs and incompatibilities in
|
||||
|
||||
* [NEW] CopyCursor: Copies a cursor object.
|
||||
* [NEW] GetKeyboardState: Gets status of all keys on keyboard.
|
||||
* [NEW] ToUnicode/ToAscii: Converts the key code between unicode and ASCII.
|
||||
* [NEW] ToUnicode/ToAscii: Converts the key code between Unicode and ASCII.
|
||||
* [NEW] GetWindowRegion: The function obtains a copy of the window region of a window.
|
||||
* [NEW] InvalidateRegion: Invalidates the client area within the specified region.
|
||||
* [NEW] ValidateRect: Validates the client area within a rectangle by removing the
|
||||
@@ -197,7 +197,7 @@ report any bugs and incompatibilities in
|
||||
* [NEW] AdjustWindowRectEx: Calculates the required size of the window rectangle
|
||||
based on the desired size of the client rectangle.
|
||||
* [NEW] WindowFromPointEx: Retrieves a handle to the window that contains the specified point.
|
||||
* [NEW] ChildWindowFromPointEx: Retrives a handle to the child window that contains the
|
||||
* [NEW] ChildWindowFromPointEx: Retrieves a handle to the child window that contains the
|
||||
speicified point and meets the certain criteria.
|
||||
* [NEW] ScrollWindowEx: Scrolls the content of a window's client area.
|
||||
* [ADJUST] GetIMEPos/SetIMEPos: inline functions -> normal functions.
|
||||
|
||||
Reference in New Issue
Block a user