The MASM Forum

Projects => ObjAsm => Topic started by: HSE on September 30, 2018, 04:55:08 AM

Title: Colors in Debug.inc
Post by: HSE on September 30, 2018, 04:55:08 AM
Nothing complex here. Just making easy to change debug colors.

...
;Debug colors
$RGBbasico textequ <$RGB(230,230,230)>  ; for dark background
;$RGBbasico textequ <$RGB(  0,  0,  0)>  ; for bright background
$RGBred    textequ <$RGB(255,  0,  0)>
$RGBblue   textequ <$RGB(  0,  0,255)>
$RGBgray1  textequ <$RGB(128,128,128)>
$RGBgreen0 textequ <$RGB(  0,160,  0)>
$RGBgreen1 textequ <$RGB( 50,150, 50)>  ; DbgFPU
$RGBblue1  textequ <$RGB( 64, 64,255)>  ; DbgObject
$RGBblue2  textequ <$RGB( 63, 63,255)>  ; DbgVMT
$RGBorange textequ <$RGB(192, 64, 64)>
...

Regards.
Title: Re: Colors in Debug.inc
Post by: Biterider on September 30, 2018, 05:40:25 AM
Hi HSE
Good idea!  :t


Thanks, Biterider


Title: Re: Colors in Debug.inc
Post by: Biterider on October 02, 2018, 09:13:07 PM
Hi HSE
If you have time, can you take a look at this version to check if it fits?  :P
I renamed the colors with names that show their purpose.

Biterider
Title: Re: Colors in Debug.inc
Post by: HSE on October 02, 2018, 10:13:41 PM
Nice!!

Just now I noted that I don't see lines. DbgLine don't have color. DbgOutCmd use DBG_CMD_INFO structure, wich doesn't have "dcolor" item.

Perhaps that color could be a DebugCenter setting.

Thanks.
Title: Re: Colors in Debug.inc
Post by: Biterider on October 02, 2018, 10:35:39 PM
Right!
We can extend the coloring for the other features and the window background.
I'll write it down for the next update.


Thanks, Biterider
Title: Re: Colors in Debug.inc
Post by: Biterider on January 30, 2019, 08:33:22 PM
Hi HSE
Debug coloring is now available for 32 and 64 bit versions (ObjAsm Fusion project)  ;)
Upcomming improvements like "background coloring" will be common for both ex-subprojects.


Regards, Biterider