Open edmk5000 opened 8 months ago
Unfortunately the colors are hard coded throughout the program with color-related constants such as DISPLAY_CYAN, DISPLAY_WHITE, etc. They were not defined with functional names such as BUTTON_FOREGROUND and BUTTON_BACKGROUND which would make it easier to make your change.
The DISPLAY_... colors are defined in nano_gui.h. If you want to make the change, I would suggest defining additional color constants based on function such as:
and
then going through the rest of the code and replacing the DISPLAY_CYAN or whatever with BUTTON_BACKGROUND, but this is something that I'm not interested in doing.
73, Mark
On Wed, Mar 20, 2024 at 10:09 PM edmk5000 @.***> wrote:
Is a night mode that switches all colors to red and red shades difficult?
Maybe switched with a main screen button or in the config menu.
73s
— Reply to this email directly, view it on GitHub https://github.com/microenh/N8ME-uBitx/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXYBIQYF3LDTIT44L3RONBTYZI6OTAVCNFSM6AAAAABFASP222VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4TQOJVGEYDCMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thank you for offering programming advice.
I really like your program for it's speed, layout and functionality. I've run it for a year and enjoy working the v6 with it. Its a nice fit.
Regards, Ed
On Thu, Mar 21, 2024, 8:57 AM Mark Erbaugh @.***> wrote:
Unfortunately the colors are hard coded throughout the program with color-related constants such as DISPLAY_CYAN, DISPLAY_WHITE, etc. They were not defined with functional names such as BUTTON_FOREGROUND and BUTTON_BACKGROUND which would make it easier to make your change.
The DISPLAY_... colors are defined in nano_gui.h. If you want to make the change, I would suggest defining additional color constants based on function such as:
define BUTTON_FOREGROUND DISPLAY_RED
and
define BUTTON_BACKGROUND DISPLAY_MAROON
then going through the rest of the code and replacing the DISPLAY_CYAN or whatever with BUTTON_BACKGROUND, but this is something that I'm not interested in doing.
73, Mark
On Wed, Mar 20, 2024 at 10:09 PM edmk5000 @.***> wrote:
Is a night mode that switches all colors to red and red shades difficult?
Maybe switched with a main screen button or in the config menu.
73s
— Reply to this email directly, view it on GitHub https://github.com/microenh/N8ME-uBitx/issues/1, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AXYBIQYF3LDTIT44L3RONBTYZI6OTAVCNFSM6AAAAABFASP222VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4TQOJVGEYDCMA>
. You are receiving this because you are subscribed to this thread.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/microenh/N8ME-uBitx/issues/1#issuecomment-2012221149, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASMXPB6HA5A4MWYCM7JHC5LYZLKMRAVCNFSM6AAAAABFASP222VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJSGIZDCMJUHE . You are receiving this because you authored the thread.Message ID: @.***>
Ed,
Thanks for the comments. Glad you enjoy it. It was a fun project for me.
73, Mark
Is a night mode that switches all colors to red and red shades difficult?
Maybe switched with a main screen button or in the config menu.
73s