Cameron Clough
2aca052b12
fix merge
4 months ago
Cameron Clough
c9259a9bcf
ui(raylib): update spinner vertical pos ( #35051 )
...
Adjust the spinner vertical position when displaying text or a progress bar
- When displaying the progress bar, center the comma logo and spinner in the middle of the screen
- When displaying text, center the entire content vertically
Also updated `wrap_text` to not include an empty line in the array if it's the first line, so that `wrap_text("")` always returns `[]`
4 months ago
Cameron Clough
651ff78cb0
ui(raylib): increase font size and wrap text in spinner ( #35049 )
...
- Wrap text onto separate lines
- Increase font size to be closer to Qt
- Remove extra letter spacing - 0.0 should use font default spacing, and this is used in `wrap_text`
Will fix vertical alignment separately, as both the text and progress bar layouts need to be considered
4 months ago
Cameron Clough
23524e2038
ui(raylib): reduce spinner rotation artifact ( #35048 )
...
* ui(raylib): reduce spinner rotation artifact
A visual artifact (white pixels) appeared on the edge of the
rotating spinner track texture, likely due to RGB color bleed during
bilinear filtering in Raylib.
Pre-multiplying the alpha channel of the spinner track image using
`rl.image_alpha_premultiply` significantly reduces the visibility of the
artifact.
* lint
4 months ago
Adeeb Shihadeh
a9b9e0bb54
raylib: init updater ( #35045 )
...
* raylib: init updater
* cleanup
4 months ago
Cameron Clough
d56baa0fbb
ui(raylib): constant spinner rotation speed ( #35037 )
4 months ago
Cameron Clough
618b7ccf23
ui(raylib): calculate spinner progress in set_text ( #35036 )
4 months ago
Cameron Clough
fb5fa70e78
ui(raylib): update text window font, new lines and indentation ( #35031 )
4 months ago
Cameron Clough
4f913f0cfb
ui(raylib): fix typos ( #35030 )
4 months ago
Cameron Clough
c933914f86
ui(raylib): update spinner progress bar to match Qt ( #35028 )
4 months ago
Cameron Clough
c639729c7d
spinner vertical alignment
4 months ago
Cameron Clough
d399a504ab
fixes
4 months ago
Cameron Clough
69381a058f
text: line height
4 months ago
Cameron Clough
03df050b48
text: line breaks and indentation
4 months ago
Cameron Clough
432e9e563e
text: method stubs
4 months ago
Cameron Clough
280fa14d76
text: match font size
4 months ago
Cameron Clough
c664165d59
match spinner text font size
4 months ago
Cameron Clough
b3cb58617f
update progress bar: rounded and correct colour
4 months ago
Cameron Clough
5d0e13fbe9
rename2
4 months ago
Cameron Clough
c12244f175
rename
4 months ago
Cameron Clough
458705dde9
no ui in ci
4 months ago
Cameron Clough
ef157f6afa
renderer can be None, sometimes we don't want to init - e.g. CI
4 months ago
Cameron Clough
1eb834a692
fix import and init var
4 months ago
Cameron Clough
c958755377
wait for renderer first
4 months ago
Cameron Clough
c2a2f353f7
this also works
4 months ago
Cameron Clough
e5850df37b
typing...
4 months ago
Cameron Clough
ff1fc61d78
Revert "avoid typing renderer"
...
This reverts commit 6f268e8d79
.
4 months ago
Cameron Clough
6f268e8d79
avoid typing renderer
4 months ago
Cameron Clough
b9d7c604eb
rewrite
4 months ago
Cameron Clough
cf70261248
move Spinner wrapper into system/ui
4 months ago
Dean Lee
6d12ade231
python ui: refactor spinner&text ( #34897 )
...
refactor spinner&text
5 months ago
Dean Lee
5574b91d17
python ui: add confirm dialog implementation ( #34828 )
...
add confirm dialog implementation
6 months ago
Dean Lee
2bfbb181e5
python ui: add Keyboard Implementation ( #34827 )
...
implement keyboard
6 months ago
Dean Lee
2d2efb3f58
pyui: implement styled label and text box ( #34813 )
...
implement styled label
6 months ago
Dean Lee
4674d0ae53
python ui: fix scroll issues ( #34600 )
...
fix scroll issues
6 months ago
Dean Lee
df2d615fc7
python ui: Implement styled rounded buttons with multiple states ( #34603 )
...
* styled button
* corner rounding in pixels
6 months ago
Dean Lee
1a63fef85a
ui/spinner.py: adjust spinner rotation speed based on FPS ( #34601 )
...
adjust spinner rotation speed based on FPS
6 months ago
Adeeb Shihadeh
07ef523ec1
system/ui docs ( #34607 )
6 months ago
Dean Lee
ca05c25ba2
python ui: Implement FPS monitor ( #34605 )
...
monitor fps
6 months ago
Dean Lee
fc77ac706e
python ui: implement inertial scrolling for GuiScrollPanel ( #34596 )
...
implement inertial scrolling for GuiScrollPanel
6 months ago
Dean Lee
d4d0312794
python ui: display FPS on top-left corner if DEBUG_FPS=1 ( #34595 )
...
* display FPS on top-left corner if DEBUG_FPS=1
* use generator
* use rl.draw_fps
6 months ago
Dean Lee
99ef66de4b
python ui: implement reset.py ( #34593 )
...
reset
6 months ago
Dean Lee
ce7ff5c0e6
ui: Initial UI rewrite using pyray (spinner and text window) ( #34583 )
...
* pyray init version
* remove c++ code
* cleanup
* restruct the directory layout
* improve GuiApplication
* smooth out the texture after resize
* use atexit to close app
* rename FontSize->FontWeight
* make files executable
* use Inter Regular for FrontWeight.NORMAL
* set FLAG_VSYNC_HINT to avoid tearing while scrolling
* smoother scrolling
* mange textures in gui_app
6 months ago
Adeeb Shihadeh
c4c43bebd2
Drop Ubuntu 20.04 support ( #34557 )
6 months ago
Dean Lee
0e7c697bad
raylib: revert auto fit screen size ( #34380 )
...
revert auto fit screen size
7 months ago
Dean Lee
1ab98e38e5
raylib: refactor to implement new App class ( #34375 )
...
refactor to implement new App class
7 months ago
Maxime Desroches
facaee8b10
raylib: fix symbols redefinition ( #34172 )
...
colors
9 months ago
Maxime Desroches
a22d6cd0d3
raylib: disable build on ubuntu focal ( #34150 )
...
build
9 months ago
Maxime Desroches
ce948f7362
raylib on device ( #34126 )
...
* setup
* tp
* more
* device
9 months ago
Adeeb Shihadeh
4226ef5a66
Setup system/ui/ move ( #34124 )
9 months ago