Dean Lee
03d2e7b2b0
ui: extract Widget base class to separate lib/widget.py ( #35520 )
...
* extract Widget base class to separate lib/widget.py
* format
* format
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-06-10 14:32:20 -07:00
Shane Smiskol
2c59b5f8c6
raylib: common mouse press hook ( #35489 )
...
* something like this
* need these
* rest
* another pr
* what is this merge conflict
f
* fix mouse down
* rm that!
* fix that
* rearrange
* fix bug where mouse held down on widget, dragged off, then let go
* temp
* fix that
* missing init
2025-06-06 23:00:55 -07:00
Shane Smiskol
7875cc4713
raylib: consistent use of rect in render function ( #35490 )
...
* updater: use rect
* spinner
* and text
* better name
* simple
* also simple
2025-06-06 22:11:41 -07:00
Shane Smiskol
3ce87d0ac9
raylib: base widget class ( #35484 )
...
* use some widgets
* consistent name draw -> render
* more
* rest
2025-06-06 19:32:03 -07:00
Shane Smiskol
29830440b4
format raylib ( #35483 )
...
* format raylib
* not really sure what this is
2025-06-06 15:43:47 -07:00
Dean Lee
541bd4d4d9
ui: switch spinner and text window back to standalone process ( #35470 )
...
switch spinner and text window back to standalone process
2025-06-06 13:20:05 -07:00
Shane Smiskol
2000f9aff3
raylib: ban non-cached measure_text_ex ( #35462 )
...
* add
* use it
* Update pyproject.toml
* many more
* comment
2025-06-05 14:37:12 -07:00
Dean Lee
c9f3cd5ad2
system/ui: enhance scroll panel with iPhone-like physics and behavior ( #35312 )
...
* improve scroll panel for iphone-like experience
* add comments
* increase demo run time for easier testing
2025-05-21 20:31:50 -07:00
Cameron Clough
73ee0c022f
Reapply "ui(raylib): create BaseWindow ( #35074 )" ( #35077 )
...
* Reapply "ui(raylib): create BaseWindow (#35074 )"
This reverts commit 83b84a5bec .
* correct title
* error msg
* cloudlog
2025-05-08 16:18:01 +01:00
Cameron Clough
83b84a5bec
Revert "ui(raylib): create BaseWindow ( #35074 )"
...
This reverts commit 124198460b .
2025-04-26 01:20:58 +01:00
Cameron Clough
124198460b
ui(raylib): create BaseWindow ( #35074 )
...
* ui(raylib): create BaseWindow
* test without typing
* revert
* Revert "test without typing"
This reverts commit c8a5e1b8322bb7250ede540d7b6d25eefa72cef1.
* lines
2025-04-25 23:33:32 +01:00
Cameron Clough
362ddfc0c7
ui: replace qt text window with raylib ( #35064 )
...
* remove qt text window
* use wrapper, render text window in thread
* add wait_for_exit method
* update imports
2025-04-25 14:17:47 +01:00
Cameron Clough
7eb1c31d72
ui(raylib/text): spacing between button and scrollbar ( #35069 )
2025-04-25 14:06:37 +01:00
Cameron Clough
92ada2170f
ui(raylib): start scroll at bottom of text window ( #35068 )
2025-04-25 14:00:31 +01:00
Cameron Clough
c961fb095f
ui(raylib): preserve whitespace in wrapped text ( #35067 )
...
* ui(raylib): preserve whitespace in wrapped text
* lint
2025-04-25 13:57:04 +01:00
Cameron Clough
281a72780b
Reapply "ui(raylib): "exit" btn in text window on PC" ( #35053 )
...
* ui(raylib): "exit" btn in text window on PC
* unused import
* request close
* this was missing
2025-04-23 14:06:09 +01:00
Cameron Clough
754f5aa955
Revert "ui(raylib): "exit" btn in text window on PC ( #35052 )"
...
This reverts commit f9767d2650 .
2025-04-22 22:30:20 +01:00
Cameron Clough
f9767d2650
ui(raylib): "exit" btn in text window on PC ( #35052 )
...
* ui(raylib): "exit" btn in text window on PC
* unused import
2025-04-22 22:07:47 +01:00
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 `[]`
2025-04-22 20:54:36 +01:00
Cameron Clough
fb5fa70e78
ui(raylib): update text window font, new lines and indentation ( #35031 )
2025-04-19 16:17:18 +01:00
Dean Lee
6d12ade231
python ui: refactor spinner&text ( #34897 )
...
refactor spinner&text
2025-03-19 13:11:22 -07:00
Dean Lee
2d2efb3f58
pyui: implement styled label and text box ( #34813 )
...
implement styled label
2025-03-07 14:20:49 -08:00
Dean Lee
4674d0ae53
python ui: fix scroll issues ( #34600 )
...
fix scroll issues
2025-02-19 21:15:21 -08:00
Dean Lee
df2d615fc7
python ui: Implement styled rounded buttons with multiple states ( #34603 )
...
* styled button
* corner rounding in pixels
2025-02-19 21:14:35 -08:00
Dean Lee
fc77ac706e
python ui: implement inertial scrolling for GuiScrollPanel ( #34596 )
...
implement inertial scrolling for GuiScrollPanel
2025-02-16 12:47:22 -08:00
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
2025-02-16 12:35:04 -08:00
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
2025-02-15 12:44:20 -08:00