diff options
| author | physick <mynameisgennadiy@vk.com> | 2026-08-11 21:08:37 +0500 |
|---|---|---|
| committer | physick <mynameisgennadiy@vk.com> | 2026-08-29 14:12:58 +0500 |
| commit | b1b2586afa06105291355a19f581016c347463bc (patch) | |
| tree | 8630d1fb394d9c006f42af0b7da92998bb1518b8 /src/ui_elements/UI.h | |
| parent | d51d95b66dee211ef654693fb23238d5a234f48c (diff) | |
arena + dir reading
Diffstat (limited to 'src/ui_elements/UI.h')
| -rw-r--r-- | src/ui_elements/UI.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui_elements/UI.h b/src/ui_elements/UI.h index 8754329..52d2222 100644 --- a/src/ui_elements/UI.h +++ b/src/ui_elements/UI.h @@ -5,6 +5,9 @@ #ifndef UI_ELEMENTS_H #define UI_ELEMENTS_H +static const float ROUNDNESS = 0.015f; +static const int ROUNDNESS_SEGMENTS = 8; + static const float SCROLL_SENC = 10; static const float TAB_WIDTH = 4; static const int PADDING = 10; @@ -44,6 +47,7 @@ static const int PAGE_DOTS_PADDING = 15; static const int PAGE_DOTS_RADIUS = 3; static const char PAGE_DOTS_TRANSPARENCY = (char)192; +/// Draws the little dots that represent the page you are on void DrawPageView(int y, unsigned int pages, unsigned int current_page); // ========== TEXT EDITOR ========== |
