Commit Graph

73 Commits

Author SHA1 Message Date
pdxlocations
07ce9dfbac Refactor Input Handlers (#108)
* bool is just a list

* working changes

* enum is a list too

* spacing
2025-02-02 16:52:16 -08:00
pdxlocations
5dea39ae50 refactor special menu items 2025-01-31 22:01:15 -08:00
pdxlocations
ad7c7a148f Add Config Import and Export (#98)
* init

* working changes

* working changes

* remove unused code
2025-01-31 16:42:55 -08:00
Russell Schmidt
df7d9b0e2e Enable resizing app (#95)
* Enable resizing app

* Crash less with narrow windows

If the window gets too narrow we'll still crash, but this lets us get
narrower than before.

* Fix resize re-drawing

* Fix crash when resizing too fast

* Fix crash after resize with dialog open

* Enable resizing settings
2025-01-31 16:37:12 -08:00
pdxlocations
b9d8c9ad44 Add Lat/Lon/Alt to Position Settings (#96)
* add lat/lon/alt

* fix types and conditions
2025-01-30 22:33:42 -08:00
pdxlocations
e27504f215 fix reseting nested modified_settings 2025-01-30 22:12:33 -08:00
pdxlocations
2a6a1ff798 rm globlas that i think we don't need 2025-01-30 12:06:56 -08:00
pdxlocations
1d9d055a4d import cleanup 2025-01-29 16:16:38 -08:00
pdxlocations
d7a9112918 restore .clear for dictionary 2025-01-29 11:42:42 -08:00
pdxlocations
af5fe53658 Add App Settings Menu (#89)
* init

* working changes

* working changes

* working changes

* working changes

* not working changes

* almost working changes

* working changes

* working changes

* broke save and nested menus

* working better

* changes

* working changes

* scrolling text input

* allow wide char input

* set pad bg colors

* add empty color for bg

* reload colors on save

* tab to save changes

* cleanup on isle edit_value

* dynamically create theme options
2025-01-28 16:52:20 -08:00
pdxlocations
f21269ba62 set a few pad bg colors 2025-01-28 13:18:46 -08:00
Russell Schmidt
4aaef5381e Replace window.clear() calls with window.erase()
https://lists.gnu.org/archive/html/bug-ncurses/2014-01/msg00007.html
2025-01-27 12:58:01 -06:00
pdxlocations
77b995f00f Merge pull request #81 from rfschmid/make-tab-jump-to-save-in-settings 2025-01-26 17:54:13 -08:00
Russell Schmidt
92db3f4a30 Make tab jump to save in settings 2025-01-26 16:41:13 -06:00
Russell Schmidt
1ebf1c4988 Fix crash on cancelling settings input
When backing out of entering user short name or long name, the app would
crash. Once it didn't crash, backing out would set these fields to None,
rather than cancelling the change.
2025-01-26 16:07:04 -06:00
pdxlocations
e8e91f893e Merge pull request #76 from rfschmid/allow-settings-wraparound-scroll 2025-01-26 12:37:51 -08:00
pdxlocations
16c81f059d Merge pull request #75 from rfschmid:fix-settings-crash-when-height-smol
Enable scrolling settings options
2025-01-26 12:36:14 -08:00
Russell Schmidt
73111a46bb Fix exception adding last item in settings 2025-01-26 13:19:56 -06:00
Russell Schmidt
2d762515b4 Maybe fix crash with settings scroll 2025-01-26 11:22:59 -06:00
Russell Schmidt
6ce9707232 Remember settings menu stack selected index 2025-01-26 11:19:29 -06:00
Russell Schmidt
c33b903825 Allow settings wraparound scrolling 2025-01-26 11:12:38 -06:00
Russell Schmidt
c5327d8644 Enable scrolling settings options
Fixes crash in settings when the window height is too small to
accommodate the full list of options.
2025-01-26 10:33:56 -06:00
Russell Schmidt
bb623d149c Fix crash when cancelling shutdown/reboot/etc (#73) 2025-01-25 20:39:04 -08:00
pdxlocations
702d20a011 fix sesitive settings highlight 2025-01-25 16:25:47 -08:00
pdxlocations
fba4642ff8 fix settings crash 2025-01-25 16:02:40 -08:00
pdxlocations
e086814b83 fix color fixes 2025-01-25 15:30:06 -08:00
pdxlocations
92f08d020e cleanup comments 2025-01-25 12:29:05 -08:00
pdxlocations
86463f6f84 maybe fix setting enum (#69) 2025-01-25 11:30:53 -08:00
pdxlocations
e58340fa65 extra bool check 2025-01-25 09:10:35 -08:00
pdxlocations
ca17bbee31 color fixes 2025-01-24 22:12:25 -08:00
pdxlocations
659dad493c check for new default colors 2025-01-24 21:38:51 -08:00
pdxlocations
4359d37979 add settings box color 2025-01-24 21:25:22 -08:00
Russell Schmidt
7cd98a39f8 Reduce redraws in settings (#66)
* Reduce redraws in settings

* Fix drawing sensitive settings in red

* Update other settings to use new color API

* Update reduce redraw changes to use new color API

* Fix highlight/unhighlight red settings
2025-01-24 18:12:57 -08:00
pdxlocations
6e45caaac2 clear menu_win on escape 2025-01-23 15:34:08 -08:00
pdxlocations
cf9276d399 add argparse to settings.py 2025-01-23 12:44:16 -08:00
pdxlocations
4698b81a3f Fix broken settings and simplify bool handlers (#53)
* underp modified settings and simplify bool  handling

* easier to read modified settings

* rm spaces
2025-01-22 22:21:52 -08:00
pdxlocations
767f0e2288 add is_licensed 2025-01-22 16:47:49 -08:00
pdxlocations
4a0c49b7d6 typo and cleanup 2025-01-22 12:18:58 -08:00
pdxlocations
0962c5b284 break out of settings 2025-01-22 10:43:42 -08:00
pdxlocations
1b3abdebf2 some settings cleanup 2025-01-22 08:41:22 -08:00
pdxlocations
a47a4a9b32 ignore-incoming work - still not saving 2025-01-21 08:28:41 -08:00
pdxlocations
bc72c3b0b6 break out color definitions 2025-01-20 23:01:04 -08:00
pdxlocations
89d8b7690f New Settings Menu (#39)
* init

* backup old code

* working changes

* bckup old settings

* working changes

* working changes

* rename backup

* current state of things

* starting to work

* no test for you

* working changes

* working changes

* semi-working changes

* changes

* integrating with contact main.py

* working changes

* working changes

* working changes

* rm settings.log

* bool messages and sys function confirmation

* start IP's and sub-categories

* display enum names

* fix deep nested configs
2025-01-20 16:02:20 -08:00
pdxlocations
6732180ca9 Major Refactor - Part 1 (#16)
* begin refactor

* continue refactor - notifications not working

* refactor - fix notif - chanels broken

* refactor - settings broken

* working refactor

* continue refactor

* remove unused import
2024-12-19 14:00:05 -08:00
pdxlocations
2dbc10280a lora config is long - make the settings taller 2024-11-19 22:21:17 -08:00
SpudGunMan
19b9270e13 fix Dot13 API changes 2024-07-09 16:06:17 -07:00
pdxlocations
8a5c59982b channels progress 2024-05-03 23:48:55 -07:00
pdxlocations
38d26b0781 typo 2024-04-26 23:23:21 -07:00
pdxlocations
1af1e67590 refactor 2024-04-26 23:05:05 -07:00
pdxlocations
e51ad6f615 refactor 2024-04-26 22:32:16 -07:00