Commit graph

169 commits

Author SHA1 Message Date
Chris Cochrun be3d84be33 preparing more ui pieces 2025-02-24 10:00:28 -06:00
Chris Cochrun bbf1d0c162 adding a background button 2025-02-23 22:21:58 -06:00
Chris Cochrun a8f7651164 making a subtext that uses the path of the background 2025-02-23 22:03:15 -06:00
Chris Cochrun d29e3b0dff refactoring 2025-02-22 23:38:31 -06:00
Chris Cochrun c6bf59af26 a basic way of making this work 2025-02-22 23:15:16 -06:00
Chris Cochrun 3d1d0f84ba basis for ensuring keybindings turn off when editing things 2025-02-22 23:07:46 -06:00
Chris Cochrun ab88791d80 adding more song_editor pieces 2025-02-21 23:17:51 -06:00
Chris Cochrun f13d021b22 idk 2025-02-20 15:10:41 -06:00
Chris Cochrun 07455b6a2f a basis for the editor with understanding how inputs work 2025-02-20 15:02:29 -06:00
Chris Cochrun f656cce769 A toggle for editor views 2025-02-20 11:54:37 -06:00
Chris Cochrun b01f29f5b8 now it builds with the song_editor loaded just not visible 2025-02-20 07:18:48 -06:00
Chris Cochrun 09b62afc91 adding basis for song_editor 2025-02-20 06:55:36 -06:00
Chris Cochrun a36a1d59c6 Drag and Drop works ok now.
The main functionality works but only in cosmic desktop. So there are
some issues that need to be worked out yet in regards to libcosmic.
2025-02-20 06:53:54 -06:00
Chris Cochrun 614630bea8 Setting up ServiceItem to lisp Value 2025-02-18 17:03:08 -06:00
Chris Cochrun 31a18fd9e1 removing cruft 2025-02-18 17:02:57 -06:00
Chris Cochrun 1ce365fc04 adding base for drag n drop 2025-02-18 16:43:39 -06:00
Chris Cochrun f79e61f2ed adding a way for items to propagate to main app layer
If I am not mistaken, I may not need to do this.
There might be a way to make items appear by using the DndSource and
DndDrop modules. I hope that these essentially move the item to a
global level and then drop the data in some way to the nav_bar.
2025-02-13 22:39:26 -06:00
Chris Cochrun 2854aa536d adding the editor file 2025-02-11 14:55:09 -06:00
Chris Cochrun 16cd19d33a adding editor 2025-02-10 15:31:16 -06:00
Chris Cochrun 97e2bdf29c adding drag target 2025-02-10 12:46:18 -06:00
Chris Cochrun 574914ef41 items actually select now 2025-02-10 10:30:56 -06:00
Chris Cochrun 2ea2a390a4 making the button selectable? 2025-02-10 10:02:33 -06:00
Chris Cochrun 9753c6f366 items are hoverable 2025-01-17 07:27:02 -06:00
Chris Cochrun a792bc459f tweaking ui of library_items and the width of the library
These changes make the library and each individual library react to
their size better.
2025-01-15 23:07:12 -06:00
Chris Cochrun d2394c6540 adding scrollable 2025-01-15 14:43:43 -06:00
Chris Cochrun 40580a6e7a now there are items and a bit of style to the library 2025-01-15 14:31:48 -06:00
Chris Cochrun 929b0a33d1 making library items look and behave more like buttons 2025-01-15 12:48:27 -06:00
Chris Cochrun 2695d1b70f adding text items to slides 2025-01-15 10:59:18 -06:00
Chris Cochrun 7dd603ab09 removing unused imports 2025-01-14 15:09:00 -06:00
Chris Cochrun 89294061b7 a fledgling visible library system
Why do I write these weird commit messages....
2025-01-14 15:03:59 -06:00
Chris Cochrun 201e9dc925 a better looking rich_text system 2025-01-14 11:39:26 -06:00
Chris Cochrun bbaa35cb46 updates 2025-01-14 09:35:06 -06:00
Chris Cochrun df944f980c some preliminary work on libraries 2025-01-13 06:06:28 -06:00
Chris Cochrun 50abdf1783 fixing tests 2025-01-12 21:25:19 -06:00
Chris Cochrun d1729b34fb adding more messages 2025-01-08 09:51:16 -06:00
Chris Cochrun e998d0778c making views in presenter.rs more composable 2024-12-17 15:22:46 -06:00
Chris Cochrun 2fae67cbb9 videos should loop if they are told to 2024-12-17 13:13:57 -06:00
Chris Cochrun 2fce73648d slides have a proper id from lisp items 2024-12-17 13:13:34 -06:00
Chris Cochrun 991baa8f32 beginning to add library component 2024-12-17 06:40:53 -06:00
Chris Cochrun 7e7d27ecff a lot of changes to make videos a bit more robust
I still have a problem in lagging while moving the mouse though.
2024-12-16 22:25:17 -06:00
Chris Cochrun 2bcf421e48 fixing up some warnings 2024-12-16 09:54:57 -06:00
Chris Cochrun 0e949fae65 clippy fix 2024-12-16 09:53:57 -06:00
Chris Cochrun f8e7eead5f setting fonts in update 2024-12-16 09:51:21 -06:00
Chris Cochrun af53422498 Centering text by default
Since the text widget has no way of doing TextAlignment, we need to
split every text by lines and make each their own text element and
then align them ourselves. This will likely need to be pulled out into
their own functions so that we can do it based off of the
TextAlignment from the users input
2024-12-14 22:55:12 -06:00
Chris Cochrun 8e6f7851d3 customized nav_bar
We need to customize this so that we can add more functionality to it
2024-12-14 22:54:18 -06:00
Chris Cochrun 2c15073dbc fixed fonts sorta...
Need to better understand the dangers that `Box::leak()` presents, but
I think this essentially means any font that shows up with hold it's
place in memory until the box is destroyed, making it seem to be
'static.
2024-12-14 14:31:28 -06:00
Chris Cochrun 96419003a7 making some more clear tasking 2024-12-13 23:49:54 -06:00
Chris Cochrun 9ac58dd546 async instead of thread based sound is working 2024-12-13 23:40:48 -06:00
Chris Cochrun 4c352df050 attempting to make async work 2024-12-13 23:04:59 -06:00
Chris Cochrun 5152e2ff3f making scrolling work in the preview bar 2024-12-13 23:04:37 -06:00
Chris Cochrun 9aa1a46937 reverted async attempt to thread based 2024-12-12 13:35:33 -06:00
Chris Cochrun c08030394e idk.... 2024-12-12 09:57:12 -06:00
Chris Cochrun dd7c5dd00a trying to use async instead of dedicated thread 2024-12-12 09:29:03 -06:00
Chris Cochrun 47f089e360 audio is starting to work 2024-12-11 23:29:54 -06:00
Chris Cochrun 2c5b28578c making the current_slide pop up 2024-12-11 22:46:38 -06:00
Chris Cochrun 67b19fe214 trying to add audio playing 2024-12-11 16:14:31 -06:00
Chris Cochrun 3ddcbfdc10 making more themable system 2024-12-10 15:15:03 -06:00
Chris Cochrun db39eb12b8 ServiceItems are loaded from lisp and converted to slides 2024-12-10 12:07:10 -06:00
Chris Cochrun cb7fa372a9 moving the lisp presentation parsing to service_items
Since we need the nav_bar to have the ServiceItemModel, the
presentation needs to be a list of service items, not slides, each
service item will have a list of slides attached though.
2024-12-10 09:27:50 -06:00
Chris Cochrun 9eb5bec320 some asthetics 2024-12-07 14:48:19 -06:00
Chris Cochrun 039d1043a3 better preview bar 2024-12-06 22:19:20 -06:00
Chris Cochrun 6ec2e1b97b working preview bar of all slides 2024-12-06 21:49:19 -06:00
Chris Cochrun f1c80215ae idk 2024-12-06 16:54:01 -06:00
Chris Cochrun 44aab37447 text now fits the slide on both previews and real pres 2024-12-06 12:50:38 -06:00
Chris Cochrun 9695c8670f parsing of lisp files is working 2024-12-06 11:42:14 -06:00
Chris Cochrun 87a26642fa now we can parse an entire presentation to a list of slides 2024-12-06 11:15:41 -06:00
Chris Cochrun 6779b0c77c working songs but needs better edge case handling 2024-12-06 10:32:07 -06:00
Chris Cochrun b81584a76b lisp song changes 2024-12-06 09:52:32 -06:00
Chris Cochrun 717968a178 making songs almost almost work 2024-12-06 09:24:56 -06:00
Chris Cochrun 9bd657f139 songs are nearly working entirely
Still needs audio and text_alignment, but it's nearly finished, then
we can find a way to load an entire presentation at once and then
track the changes to the presentation, and load songs from the files
2024-12-05 22:40:21 -06:00
Chris Cochrun 8c29e7900a working song translation from lisp 2024-12-05 22:27:37 -06:00
Chris Cochrun 1f314e3a7a adding a bit more to the lisp_to_song fn 2024-11-29 22:10:29 -06:00
Chris Cochrun 351eb983c7 fixing test having the right data 2024-11-29 21:14:26 -06:00
Chris Cochrun cbf2a2fd96 starting to add lisp_to_song function 2024-11-28 06:49:43 -06:00
Chris Cochrun 54c264f55d move the slider as video is playing 2024-11-22 16:46:25 -06:00
Chris Cochrun 4f3d5e560c Going to possibly build our own custom nav_bar 2024-11-22 13:53:14 -06:00
Chris Cochrun 9031d15678 layout of main window is getting closer 2024-11-22 11:44:04 -06:00
Chris Cochrun 102cba5dd5 idk i'm mad 2024-11-22 11:09:41 -06:00
Chris Cochrun 0974024fe6 video sound works right and some alignment tweaks 2024-11-21 14:24:40 -06:00
Chris Cochrun e39fc92ea4 adding ServiceItems 2024-11-21 12:42:12 -06:00
Chris Cochrun d7c69bf9e0 fixing text issues and window issues 2024-11-21 12:32:12 -06:00
Chris Cochrun 04b7ba6382 making explicit sure size is correct 2024-11-21 06:07:57 -06:00
Chris Cochrun 2b5259f245 remove unnecessary default 2024-11-21 06:07:38 -06:00
Chris Cochrun 52675b97e6 using the slides text 2024-11-20 16:31:45 -06:00
Chris Cochrun 6b6ebc8c58 using a different test file 2024-11-20 15:51:48 -06:00
Chris Cochrun 30e6ce40b5 fixing the parsing signature
No need for function to take a vector, instead it'll just generate one
from the value itself and then that'll be appended to the list of slides
2024-11-20 14:25:22 -06:00
Chris Cochrun 53ba0385f5 preps for actually reading slides in from lisp 2024-11-20 14:05:22 -06:00
Chris Cochrun 11fb5ddc71 removing unnecessary dbg! calls 2024-11-20 14:05:07 -06:00
Chris Cochrun 0669faa34f backgrounds use a better conversion for strings 2024-11-20 14:04:45 -06:00
Chris Cochrun 8cfe2506f5 more clear default values 2024-11-20 13:11:40 -06:00
Chris Cochrun 356384821b the core of loading slides from lisp is done
Slides themselves are capable of loading from lisp. The goal next will
be to create a way to load songs from lisp.
2024-11-20 12:13:50 -06:00
Chris Cochrun b49aa55ec3 fixing value comparison 2024-11-20 09:57:17 -06:00
Chris Cochrun 6f33930cc9 finally trying to start bringing in crisp properly 2024-11-19 17:45:04 -06:00
Chris Cochrun d6536f8a88 some updates 2024-11-19 15:25:35 -06:00
Chris Cochrun c60353f8c8 Getting closer to a working little system 2024-11-19 12:35:42 -06:00
Chris Cochrun d9459d6336 utilizing the same video and now changing slides works 2024-11-17 13:40:18 -06:00
Chris Cochrun e1a397c192 composed the view better to use same data for preview and present 2024-11-17 06:54:57 -06:00
Chris Cochrun 0607ccb78d trying to get composed slides to look right 2024-11-15 15:38:12 -06:00
Chris Cochrun 029188d632 trying to make the slide preview more composable 2024-11-15 09:37:17 -06:00
Chris Cochrun f81efdeef3 needing to make slides a structure in multiple places 2024-11-14 15:24:20 -06:00