Editor Panel Button / Dark Theme!

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Mijikai
Addict
Addict
Posts: 1520
Joined: Sun Sep 11, 2016 2:17 pm

Editor Panel Button / Dark Theme!

Post by Mijikai »

The light Panel Buttons look weird with a dark theme:
Image

A dark option would be nice :)
User avatar
chi
Addict
Addict
Posts: 1087
Joined: Sat May 05, 2007 5:31 pm
Location: Austria

Re: Editor Panel Button / Dark Theme!

Post by chi »

+1

I'd prefer some additional fields under Preferences/Editor/Coloring to set the Tab background and text color individually. This way we can load/save matching tab colors with the Color Schemes
Et cetera is my worst enemy
AZJIO
Addict
Addict
Posts: 2191
Joined: Sun May 14, 2017 1:48 am

Re: Editor Panel Button / Dark Theme!

Post by AZJIO »

TabBarGadget.pbi

Code: Select all

; Default colors
#TabBarGadgetColor_TabBarDefault = $D0D0D0
#TabBarGadgetColor_BorderDefault = $808080
#TabBarGadgetColor_FaceDefault   = $D0D0D0
#TabBarGadgetColor_TextDefault   = $000000
Apparently these colors should request the system color.

Code: Select all

CompilerSelect #PB_Compiler_OS
	CompilerCase #PB_OS_Windows
		\TabBarColor   = $FF<<24 | GetSysColor_(#COLOR_BTNFACE)
		\BorderColor   = $FF<<24 | GetSysColor_(#COLOR_3DSHADOW)
		\FaceColor     = $FF<<24 | GetSysColor_(#COLOR_BTNFACE)
		\TextColor     = $FF<<24 | GetSysColor_(#COLOR_BTNTEXT)
	CompilerDefault
		\TabBarColor   = $FF3F3F3F ; forced black for Linux
		\BorderColor   = $FF666666
		\FaceColor     = $FF444444
		\TextColor     = $FFCCCCCC
CompilerEndSelect
Post Reply