diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-08-25 07:21:17 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-08-25 07:21:17 +0200 |
| commit | fa6cc3970bc61e8061a279e8573a61bd4e947f2f (patch) | |
| tree | b5b4d0ab651c8cff78b48a062a3ca432ecd035b1 /dev/ZKA/Modules/CoreCG | |
| parent | 753947b7874c7b0589d823a44a69de8530948c30 (diff) | |
[FIX] Fix button text layout, working on setup wizard.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKA/Modules/CoreCG')
| -rw-r--r-- | dev/ZKA/Modules/CoreCG/WindowRenderer.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/ZKA/Modules/CoreCG/WindowRenderer.hxx b/dev/ZKA/Modules/CoreCG/WindowRenderer.hxx index 16e4c14c..52031e1d 100644 --- a/dev/ZKA/Modules/CoreCG/WindowRenderer.hxx +++ b/dev/ZKA/Modules/CoreCG/WindowRenderer.hxx @@ -146,7 +146,7 @@ namespace CG { CGDrawInRegion(CGColor(0xD3, 0x74, 0x00), wnd[index]->w_w + 1, wnd[index]->w_h + 1, wnd[index]->w_y, wnd[index]->w_x); CGDrawInRegion(CGColor(0xFF, 0xFF, 0xFF), wnd[index]->w_w - 1, wnd[index]->w_h - 1, wnd[index]->w_y + 1, wnd[index]->w_x + 1); - CGDrawString(wnd[index]->w_window_name, wnd[index]->w_y + (wnd[index]->w_y / 2) - 1, wnd[index]->w_x + (wnd[index]->w_x / 2), CGColor(0x00, 0x00, 0x00)); + CGDrawString(wnd[index]->w_window_name, wnd[index]->w_y + (wnd[index]->w_y / 2) - (wnd[index]->w_h / 2), wnd[index]->w_x + (wnd[index]->w_x / 2), CGColor(0x00, 0x00, 0x00)); } CGFini(); |
