Commit graph

  • b4d5ba03dc Add proper casts, change alignForward to alignBackwardAnyAlign AnErrupTion 2023-06-22 12:28:17 +0200
  • e0ebfa5770 Replace math.min() with @min() and math.max() with @max() AnErrupTion 2023-06-22 12:22:13 +0200
  • c5272391fc Fix more issues AnErrupTion 2023-06-22 12:19:25 +0200
  • 350de04dcd Fix building on latest version of Zig AnErrupTion 2023-06-22 12:12:44 +0200
  • 7b672b1650 fix Window.rectFor, better standalone demo (thanks AnErrupTion) David Vanderson 2023-06-08 21:24:26 -0400
  • b29d360345 rename extendID to extendId to match other functions David Vanderson 2023-06-08 20:44:15 -0400
  • 975a380780 readme David Vanderson 2023-06-07 16:24:53 -0400
  • e497cc7804 readme David Vanderson 2023-06-07 16:23:24 -0400
  • ef71fd2fa1 whoops David Vanderson 2023-06-07 16:02:29 -0400
  • 68440fc2ba fixes for podcast player David Vanderson 2023-06-07 16:01:24 -0400
  • d14e7b2264 demo: fix missing arg to scrollArea (thanks AnErrupTion) David Vanderson 2023-06-06 11:36:48 -0400
  • 872ee60c12 sdl-test animatingWindow: only init the FloatingWindow once David Vanderson 2023-05-26 14:13:05 -0400
  • e9d7c3377a scrollArea: remove setVirtualSize, pass ScrollInfo instead David Vanderson 2023-05-26 13:59:04 -0400
  • 359a822db0 scrollContainer: remove unused logic about corner radius David Vanderson 2023-05-26 13:36:29 -0400
  • 133d4035e3 scrollArea and textEntry: make scrollbars optional David Vanderson 2023-05-25 22:34:02 -0400
  • 82df716d3e scrollBar: option to float over contents David Vanderson 2023-05-23 14:31:31 -0400
  • e93bef449f textEntry: send events to textLayout before bubbling David Vanderson 2023-05-23 13:42:54 -0400
  • 8d97ed5d02 scrollArea: don't show scrollbars if scroll is none David Vanderson 2023-05-23 13:42:11 -0400
  • 6a4169b4c3 scrollArea: scrollbars have priority when space is limited David Vanderson 2023-05-23 13:21:28 -0400
  • 6c59518036 textLayout: always advance by at least 1 codepoint David Vanderson 2023-05-23 13:20:09 -0400
  • 4723a2d8b6 textEntry: fix crash when typing at the very end of limit David Vanderson 2023-05-23 13:02:19 -0400
  • b3d53b351e textLayout: only set min width if we aren't breaking lines David Vanderson 2023-05-23 11:25:32 -0400
  • 8a4466d751 make horizontal scrolling work with ScrollDrag David Vanderson 2023-05-22 20:50:28 -0400
  • c36324433e textEntry: show cursor at end of line with newline David Vanderson 2023-05-22 16:30:00 -0400
  • 0274be1ded horizontal scrolling: first parts David Vanderson 2023-05-22 09:45:51 -0400
  • f9436d475d remove workaround for sdl bug David Vanderson 2023-05-22 09:45:28 -0400
  • f5ef8f43ab cueFrame() -> refresh() David Vanderson 2023-05-16 16:39:19 -0400
  • 4e9739a1b1 cleanup David Vanderson 2023-05-16 16:33:50 -0400
  • 36eaf9e8b3 slider: don't use ButtonWidget David Vanderson 2023-05-16 15:55:16 -0400
  • 1b6208e062 vertical sliders David Vanderson 2023-05-16 11:54:06 -0400
  • 5f7fde489c TextEntry: move cursor with arrow keys David Vanderson 2023-05-15 22:00:42 -0400
  • aad4190019 demo: add TextEntry example and fix scroll to cursor David Vanderson 2023-05-14 22:01:09 -0400
  • a5952d9c67 toastInfo() -> toast() and use options struct for args David Vanderson 2023-05-10 16:24:37 -0400
  • 6e04eb4f48 fix bug where toasts were not sticking above their parent window David Vanderson 2023-05-10 14:16:40 -0400
  • cfb1eb29cf move id_extra inside Options David Vanderson 2023-05-10 13:51:54 -0400
  • a8aad2a2cb exempt mouse wheel events from mouse capture David Vanderson 2023-05-10 08:44:30 -0400
  • 9405912ccc add bubbling arg to processEvents() David Vanderson 2023-05-09 23:32:27 -0400
  • 70f449016e scrollBar: add focus target David Vanderson 2023-05-09 17:13:27 -0400
  • 1211475cdc textEntry: draw the cursor ourselves instead of in TextLayout David Vanderson 2023-05-09 15:37:32 -0400
  • 5107b1616b textLayout: show in demo how to be able to click on corner widgets David Vanderson 2023-05-09 14:36:21 -0400
  • d66e6cc381 textEntry: text insertion and backspace working David Vanderson 2023-05-09 11:09:23 -0400
  • 229f37974f strip(): expand and gravity should be reset David Vanderson 2023-05-06 22:49:57 -0400
  • 95a240ef8e textEntry: working on using textLayout under the hood David Vanderson 2023-05-06 22:49:36 -0400
  • ddd0e09148 EventIterator: add separate capture_id parameter David Vanderson 2023-05-06 22:46:56 -0400
  • 4fbd5cb7d8 use event_num instead of EventIterator to focus remaining events David Vanderson 2023-05-05 11:07:51 -0400
  • 9caedc4d0f fold bubbleEvent into processEvent David Vanderson 2023-05-04 23:21:32 -0400
  • 0a4c738435 move event types inside Event David Vanderson 2023-05-04 21:34:34 -0400
  • 3d48a4b43a textLayout: fix scrolling by using local coords David Vanderson 2023-05-04 11:52:05 -0400
  • f6012cd31a textLayout: shift-up/down use new ScrollTo bubble event to scroll David Vanderson 2023-05-04 08:39:27 -0400
  • 5ba3150af9 textLayout: fix shift-up/down when text is zoomed David Vanderson 2023-05-04 08:17:27 -0400
  • 597790ab2d textSizeEx: add option to stop at nearest glyph David Vanderson 2023-05-03 20:44:17 -0400
  • 01e7dba38b textLayout: shift-up/down search in middle of line, auto addTextDone David Vanderson 2023-05-03 20:16:49 -0400
  • f2cc1cbbb4 textLayout: shift-up/down moves selection up and down lines David Vanderson 2023-05-03 20:07:30 -0400
  • 53fc67ea7c rework KeyEvent so you can switch on code or action David Vanderson 2023-05-02 22:18:53 -0400
  • 9b0ccad8fb textLayout: changing selection moves cursor David Vanderson 2023-05-02 21:15:14 -0400
  • 2916223023 textLayout: render cursor David Vanderson 2023-05-01 22:19:29 -0400
  • 036f31da2e floatingWindow - change to use options struct David Vanderson 2023-05-01 13:39:21 -0400
  • dd68303d8c rename CursorKind to Cursor David Vanderson 2023-04-28 12:38:29 -0400
  • deda7a3390 switch text instead of multiple buttons (prevents flashing) David Vanderson 2023-04-28 12:37:00 -0400
  • d472f7c048 rename some dialog stuff, make built-in dialog more useful David Vanderson 2023-04-28 12:19:36 -0400
  • dad5120ea9 detect when a widget id is reused - debug message and highlight David Vanderson 2023-04-28 12:17:58 -0400
  • 45f88a87a1 scrolling by dragging will scroll all the way David Vanderson 2023-04-27 11:45:09 -0400
  • 7a0bab775a deduplicate RectScale rectToScreen logic David Vanderson 2023-04-27 11:32:11 -0400
  • 568b1aa2a1 readme David Vanderson 2023-04-27 11:06:25 -0400
  • 080db37483 readme David Vanderson 2023-04-27 11:03:22 -0400
  • abf8b51ebd dialogOk: use options struct David Vanderson 2023-04-27 11:01:54 -0400
  • 592a8da8c2 extend selection background down if text was snapped down to pixel David Vanderson 2023-04-27 10:59:44 -0400
  • 59af9b94fd todo David Vanderson 2023-04-26 22:03:49 -0400
  • 7e33f63be5 dragging a text layout to scroll will continuously scroll David Vanderson 2023-04-26 22:00:51 -0400
  • da099e8b2d renderText: fix (for real) gap between multiple selected lines David Vanderson 2023-04-26 22:00:01 -0400
  • 1cddf3df0a renderText: fix gap between selected lines due to pixel snapping David Vanderson 2023-04-26 21:11:49 -0400
  • ca2a220386 animation rate assumes at least 1 microsecond between frames David Vanderson 2023-04-26 21:01:40 -0400
  • 2472c07106 mouse dragging a widget can scroll a containing scrollarea David Vanderson 2023-04-26 20:49:03 -0400
  • 3d7b43c55d update for TextLayoutWidget extra arg David Vanderson 2023-04-26 20:10:45 -0400
  • f34a6aa612 textlayout: can use mouse to select text David Vanderson 2023-04-26 15:17:21 -0400
  • aef8cd0e23 renderText: can highlight selected text David Vanderson 2023-04-25 22:30:54 -0400
  • c97274819b spread ?*Window first arg pattern to toasts and dataSet/Get David Vanderson 2023-04-24 22:38:00 -0400
  • 16e09c5aaf todo David Vanderson 2023-04-20 10:46:32 -0400
  • c94732f599 todo David Vanderson 2023-04-19 14:49:17 -0400
  • 1f450cacab remove all git submodules David Vanderson 2023-04-16 22:02:11 -0400
  • 1882fa6057 fix dialogOk to work from non gui thread, update examples David Vanderson 2023-04-16 21:47:58 -0400
  • 52e0c5cd87 add Window arg to dialogAdd David Vanderson 2023-04-16 21:27:20 -0400
  • 7551d88d9e todo David Vanderson 2023-04-14 10:56:08 -0400
  • 26c9978682 tinyvg: workaround comptime issue on osx David Vanderson 2023-04-14 09:11:08 -0400
  • e2693e1d28 readme David Vanderson 2023-04-12 16:00:51 -0400
  • 554e55f948 link to gui-demo David Vanderson 2023-04-12 15:46:25 -0400
  • 253c3d7463 ontop-sdl: fix description David Vanderson 2023-04-12 15:32:53 -0400
  • 4343a24b69 add example apps for standalone and ontop of existing app (sdl backend) David Vanderson 2023-04-12 15:27:07 -0400
  • dd5e4eb649 copy tinyvg code instead of git submodule David Vanderson 2023-04-12 11:38:18 -0400
  • 5799923365 update for zig build changes David Vanderson 2023-04-11 14:04:42 -0400
  • bfb415521c add build.zig.zon, fix sdl include David Vanderson 2023-03-31 16:39:46 -0400
  • b75f77f148 use freetype zig dependency instead of git submodule David Vanderson 2023-03-31 14:58:20 -0400
  • 3e03feae0b use raw c interface for freetype instead of going through mach-freetype David Vanderson 2023-03-31 14:14:07 -0400
  • f82658a2bb sdl backend: import gui as a module David Vanderson 2023-03-23 14:27:52 -0400
  • a25f8d058f reenable sdl-test David Vanderson 2023-03-17 17:04:55 -0400
  • 6fa98ebde4 working on "file exists in multiple modules" issue David Vanderson 2023-03-17 16:54:22 -0400
  • 704774ffc1 SDLBackend: make gui pub David Vanderson 2023-03-17 16:42:40 -0400
  • ef49ccc356 more forcefully disable sdl-test David Vanderson 2023-03-17 16:34:08 -0400
  • 52be9d1e87 temporarily disable building sdl-test David Vanderson 2023-03-17 16:32:08 -0400
  • 171f752cf5 switch submodule from mach to mach-freetype David Vanderson 2023-03-17 16:28:56 -0400