mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Adding awareness of window minimization/maximization
This commit is contained in:
parent
e7a96d8786
commit
c0fe3c4dc6
6 changed files with 118 additions and 20 deletions
|
@ -312,9 +312,14 @@ BF_EXPORT void BF_CALLTYPE BFWindow_GetPosition(BFWindow* window, int* x, int* y
|
|||
window->GetPosition(x, y, width, height, clientX, clientY, clientWidth, clientHeight);
|
||||
}
|
||||
|
||||
BF_EXPORT void BF_CALLTYPE BFWindow_Resize(BFWindow* window, int x, int y, int width, int height)
|
||||
BF_EXPORT void BF_CALLTYPE BFWindow_GetPlacement(BFWindow* window, int* normX, int* normY, int* normWidth, int* normHeight, int* showKind)
|
||||
{
|
||||
window->Resize(x, y, width, height);
|
||||
window->GetPlacement(normX, normY, normWidth, normHeight, showKind);
|
||||
}
|
||||
|
||||
BF_EXPORT void BF_CALLTYPE BFWindow_Resize(BFWindow* window, int x, int y, int width, int height, int showKind)
|
||||
{
|
||||
window->Resize(x, y, width, height, showKind);
|
||||
}
|
||||
|
||||
BF_EXPORT void BF_CALLTYPE BFWindow_SetForeground(BFWindow* window)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue