Commit graph

  • 02b664b893 fix linux build breaks of sim build Matthew Colvin 2023-10-11 11:07:39 -0500
  • 736029c89a Make UI Element the owner of the Unique pointers to other UI elements to allow for easier scope management of adding elements to one another Matthew Colvin 2023-10-11 10:50:56 -0500
  • 58787f5bf0 Move logic related to owning widgets into its own class to prepare for a widget type that can own other widgets. MatthewColvin 2023-10-10 15:43:36 -0500
  • ddbfc13e55 Update SDLDisplay so it finds the window based on events that way it works on windows and Ubuntu MatthewColvin 2023-10-10 13:37:16 -0500
  • af7abe115f adds some code to ensure onShow and onHide are called properly. MatthewColvin 2023-10-10 13:36:32 -0500
  • 68695b4665 add label widget and text styling setter and getter MatthewColvin 2023-10-09 21:22:33 -0500
  • dface01a40 Add Slider Class Add brightness slider to the display settings class. MatthewColvin 2023-10-08 20:23:01 -0500
  • 615bcd1fde Make sure screen manager and other screens are properly calling onShow and onHide. MatthewColvin 2023-10-08 19:36:20 -0500
  • a8c14d2b6f convert tab view to use onEvent to handle events instead of the manual registration. MatthewColvin 2023-10-08 17:20:04 -0500
  • dc5ad76994 Add helper class that make set/get borders padding and Outline MatthewColvin 2023-10-08 16:48:03 -0500
  • 7b7045f62b convert Screen manager to use vector to allow popper of screen to use the Page. MatthewColvin 2023-10-08 12:32:59 -0500
  • f9dd87fbe7 push Display settings page on a tem button press MatthewColvin 2023-10-07 19:54:05 -0500
  • 235d8e043f Convert Lvgl resource manager to recursive mutex to allow re locking in thread. This helps with creation and getting values and should be safe since it still keeps lvgl on one thread at a time. MatthewColvin 2023-10-06 22:11:15 -0500
  • a11b78c540 boiler plate code for Pop up Screen to UI to allow for quick way to launch pages. This will be huge for RAM saving as the page will de alloc when closed. MatthewColvin 2023-10-06 14:25:05 -0500
  • 6343a48be1 Add align to api to UIElement fix settings page bug where silder were not getting correct Y value set MatthewColvin 2023-10-06 13:19:11 -0500
  • 4a5c83c8b9 fully implement Key press handeling in HAL for esp32 hardware and switch hardware to use the refactored UI make UI add widgets on button presses as a demo MatthewColvin 2023-10-05 09:53:07 -0500
  • 7434f0b4da add initial Key press implementation for hardware next is to actually spin up something to queue and handle key events MatthewColvin 2023-10-04 11:42:45 -0500
  • a19e84ee80 convert single LvglMutex into a Lvgl resource manager that will allow for easy multi threaded use of Lvgl through program. MatthewColvin 2023-10-03 20:40:17 -0500
  • 94d75fa4d5 Make Key press sim use SDL event watcher for key event grabbing. MatthewColvin 2023-10-02 20:41:42 -0500
  • 3bd2b1a98a propigate key events around UI use key events to add and remove sliders from settings as example MatthewColvin 2023-10-01 18:53:25 -0500
  • a44e92ea5d Add boiler plate Key Handling Into the UI code for UI elements MatthewColvin 2023-09-29 16:03:51 -0500
  • 160114f54c move from constructing keypress abstract with handler into setting the handler so that it can be set by the UI. MatthewColvin 2023-09-29 15:21:56 -0500
  • 5ed9fcc3d0 remove dead HardwareInterface file likely from a bad merge. MatthewColvin 2023-09-29 11:53:27 -0500
  • 414f711373 Add KeyPress Abstract and a KeyPress Simulator as beginning stages for forwarding key events to the UI. MatthewColvin 2023-09-29 11:52:48 -0500
  • a42a756205
    Update platformio.ini (#43) phant0mias 2023-09-27 20:46:52 +0200
  • 0796176a0e Add Getters and setters for X and Y values had to make sure the getters properly calculated layout before retrieving values. Matthew Colvin 2023-09-23 01:06:06 -0500
  • 7c089e395a Add an Helper in UIElement that converts lvgl object into UIElements or children via a static cast. Matthew Colvin 2023-09-22 23:36:25 -0500
  • 1cc65594a9 Added concept of Background Screen that allows for construction of pages before knowing the final parent. This will allow for easy creation of "pages" that can be layed out internally and passed to different screens and cleaned up when screens are cleaned up by the screen manager Matthew Colvin 2023-09-22 19:59:24 -0500
  • 8bb299c5aa
    Update platformio.ini phant0mias 2023-09-22 17:00:41 +0200
  • 7fd53ef2f8 switching computers so just commiting MatthewColvin 2023-09-21 19:31:51 -0500
  • 8e7d6e1813
    small buttons (#41) thehilde 2023-09-21 19:11:09 +0200
  • ce80583d18 README.md Martin 2023-09-21 18:16:28 +0200
  • 751878cf9a rename folder martin 2023-09-20 23:36:26 +0200
  • a4b59f9b5e smal buttons Martin 2023-09-18 21:53:53 +0200
  • f5b7b7bc5f Merge remote-tracking branch 'upstream/abstraction' into UIRefactor MatthewColvin 2023-09-17 19:45:03 -0500
  • 785aaa93df
    Added Fusion360 Source File Max K 2023-09-17 21:09:17 +0200
  • 59897369ec
    Fixing settings in the abstraction branch (#39) Paul Hortiatis 2023-09-17 06:14:39 -0400
  • dfbfd7a6a8 Add visiblity API for UIElements Add ability for Screen Manager to display screens and retain others underneath in a stack fasion. MatthewColvin 2023-09-16 21:43:07 -0500
  • 52cb2e7ce2 Add background color setter in UIElement Use main to spawn refacoredBasic UI Start using new screen manager and screen concepts MatthewColvin 2023-09-16 16:44:15 -0500
  • 6a4aa9a35c Add an elements IDs class to allow for a way to determine what an object is. MatthewColvin 2023-09-16 16:14:24 -0500
  • 1458aa7992 clang format code MatthewColvin 2023-09-16 15:34:16 -0500
  • 91d7c9fffc put old UI in UI::Basic namespace MatthewColvin 2023-09-16 15:24:48 -0500
  • f5ba2e9b84 Add base UIElement class and extend widget and screen MatthewColvin 2023-09-16 15:13:23 -0500
  • 5cb4c1408d flushed out the Base screen and widget classes a bit more MatthewColvin 2023-09-16 14:46:59 -0500
  • 64a868a907 rename UIAbstract to UIBase and extend basic UI from it MatthewColvin 2023-09-16 14:19:12 -0500
  • 40052d31b7 add base classes for screens and widgets along with screen manager to allow place to manage multiple screens MatthewColvin 2023-09-16 13:07:14 -0500
  • 5c6008c491 Add UI abstract and move some files into a basic folder MatthewColvin 2023-09-16 12:45:12 -0500
  • d37a587c5c move task handler to UI class out of main MatthewColvin 2023-09-16 12:36:33 -0500
  • 32c4230071 add poller to core folder MatthewColvin 2023-09-16 12:31:18 -0500
  • dde1ebb0a3 updating the simulator paul 2023-09-15 07:14:18 -0400
  • 515a65278f Fixing settings paul 2023-09-15 06:57:29 -0400
  • 6a78c4cfa1
    Refine and implement hardware interface (#37) Matthew Colvin 2023-09-13 23:34:04 -0500
  • f8917bbde7
    Added alternate bottom case STL file. (#28) Blake 2023-09-13 12:50:47 -0500
  • df248f8bdb Re-adding Omote Step file. Dark1886 2023-09-13 12:31:37 -0500
  • 016bee479f Create README.md Dark1886 2023-09-13 10:43:28 -0500
  • 89fa8f8df3 Moved CAD file to a community parts folder. Dark1886 2023-09-13 10:26:07 -0500
  • 04936d1245
    Merge pull request #3 from obi11235/backlight_fix Matthew Colvin 2023-09-12 13:09:54 -0500
  • 8f84423f7e
    Remove dead code Paul Hortiatis 2023-09-12 12:02:53 -0400
  • 9fb98ee531
    Merge pull request #2 from obi11235/wifi_fix Matthew Colvin 2023-09-12 10:11:15 -0500
  • f8ed2efacb
    Cleanup Paul Hortiatis 2023-09-12 10:10:21 -0400
  • 6467c70f56 Merge branch 'wifi_fix' into backlight_fix paul 2023-09-12 00:04:19 -0400
  • 94de4d165e enabling connecting to wifi paul 2023-09-12 00:03:52 -0400
  • 2adff0f1af fix backlight paul 2023-09-11 23:56:33 -0400
  • db75db33d8 fixing issue when wifi connects but no connection was requested paul 2023-09-11 21:27:23 -0400
  • 11d4e8d7e5 Merge remote-tracking branch 'upstream/abstraction' into RefineAndImplementHardwareInterface MatthewColvin 2023-09-09 22:38:48 -0400
  • b03bfc3d03 Merge remote-tracking branch 'upstream/main' into RefineAndImplementHardwareInterface MatthewColvin 2023-09-09 21:56:42 -0400
  • 6747c40df3 Fix bug in Display fade code with mutexes MatthewColvin 2023-09-07 17:41:35 -0400
  • 4a1eb8abfa Added ability for sim to simulate brightness and battery along with displaying it via the title. Matthew Colvin 2023-08-31 10:14:09 -0500
  • b45de68ebb Add get brightness to the displayAbstract to allow removal of backlight brightness stored in OmoteUI class "implement" new getter function in sim and esp32. Matthew Colvin 2023-08-27 21:41:50 -0500
  • 23fedd8052 move construction of Hardware sim components to member init list Matthew Colvin 2023-08-27 20:30:00 -0500
  • 65162049b3 convert notification driven battery to lvgl timer based polling using new poller class to simplify the battery interface and downstream usages of battery. Matthew Colvin 2023-08-27 20:27:46 -0500
  • ae7a7d6dab modified poller to have callable first in constructor Matthew Colvin 2023-08-27 19:09:07 -0500
  • f5f856ba63 add poller to simplify polling UI updates Matthew Colvin 2023-08-27 18:47:17 -0500
  • 47ccc214a0 Added new queues for inter task communication Thomas Bittner 2023-08-25 12:08:49 +0200
  • 628ae37b9d add fake battery Drain to simulator Fake drain of a period of 3 minuets Matthew Colvin 2023-08-24 20:25:55 -0500
  • 3318265e0a restore logic for voltage charge up still would like to investigate this Matthew Colvin 2023-08-24 11:40:22 -0500
  • 4ce4739ab0 add display fade logic via a task Matthew Colvin 2023-08-24 11:17:28 -0500
  • 86edbbc541 remove hardware ref from display and add touch handler to reset standby timer Matthew Colvin 2023-08-23 23:03:59 -0500
  • 92c559df5e rework battery Interface and downstream usages of battery Matthew Colvin 2023-08-23 22:20:18 -0500
  • 43a930d7a8 Updated simulator to support new wifi selection UI Thomas Bittner 2023-08-21 23:40:08 +0200
  • 5cd4c6f379 Updated wifi handler to use general wifiHandlerInterface Thomas Bittner 2023-08-21 21:53:04 +0200
  • 53fa7b7c87 Added wifi UI and change debug print function Thomas Bittner 2023-08-20 23:24:36 +0200
  • 02d973f8b1 Updated user interface with wifi settings page Thomas Bittner 2023-08-15 23:11:25 +0200
  • b114e99338 Moved images functionality into seperate cpp file Thomas Bittner 2023-08-15 23:09:33 +0200
  • fe51337458 Remove timer passed into display and convert to a notification send out by the display class Matthew Colvin 2023-08-14 20:05:15 -0500
  • 916f589344 Update Notification class to allow for easier reference to the handler type Matthew Colvin 2023-08-14 20:04:27 -0500
  • 7a9dc1d93d Implement Simulator Display Abstract without public function support. Matthew Colvin 2023-08-14 15:41:01 -0500
  • b182f0b75d move display abstract to first parameter of hardware abstract and no longer provide a default for it. Matthew Colvin 2023-08-14 12:57:09 -0500
  • 509d71cdaa rename HardwareInterfaces folder to hardwaremodules Matthew Colvin 2023-08-13 22:27:05 -0500
  • ddccfa141d Rename DisplayInterface file to DisplayAbstract Matthew Colvin 2023-08-13 22:23:05 -0500
  • 305541bc52 Rename from Display Interface to abstract Matthew Colvin 2023-08-13 22:16:37 -0500
  • 5731148bf6 Turn Display Interface into a singleton Abstract class that can do the registration of callbacks to LVGL and allow implementers of the abstract to support LVGL. Matthew Colvin 2023-08-13 22:14:40 -0500
  • 419ac45e98 update Display interface and downstream code to add flush callback Matthew Colvin 2023-08-13 20:44:27 -0500
  • 40841c8d09 remove unnecessary battery in HardwareRevX Matthew Colvin 2023-08-13 17:09:36 -0500
  • bbcb6368d0 remove wifi code from hardwareRevX Matthew Colvin 2023-08-13 17:08:09 -0500
  • b3aa617a59 Implement Battery Update Task in HardwareRevX Matthew Colvin 2023-08-13 17:01:06 -0500
  • 7967300508 Add Template Class for Notification to allow for easier creation of notifications Matthew Colvin 2023-08-13 16:42:17 -0500
  • d73b816578 Add docs around battery notifications Matthew Colvin 2023-08-11 23:57:18 -0500
  • 6268a28682 rough draft a callback inside HardwareAbstract to show concept. Matthew Colvin 2023-08-11 15:56:24 -0500
  • 35de08d2e3 add display interface to HardwareAbstract Matthew Colvin 2023-08-11 23:33:41 -0500