Skip to content

Commit 9a9f57a

Browse files
authored
added details for srgb color in readme
1 parent 9752451 commit 9a9f57a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Very simple and effective layout (no rows or columns)
7070
You just need to add lean_ui.c/h to your project, set the callbacks at init and update input/delta_time each frame.
7171

7272
### Callbacks
73-
- **draw_box**: The rectangle’s rounded corners are expected to fit entirely within the rectangle’s bounds; no part of the corner should extend beyond x, y, width, or height.
73+
- **draw_box**: The rectangle’s rounded corners are expected to fit entirely within the rectangle’s bounds; no part of the corner should extend beyond x, y, width, or height. Colors are defined in the sRGB color space. leanUI uses alpha blending.
7474

7575
- **draw_text**: Draws text at (x, y). The y coordinate specifies the top, but the text will be centered vertically relative to the font height.
7676

0 commit comments

Comments
 (0)