Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:40 17 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : CMM2 wish - configure FONT and COLORs in EDITOR

Author Message
jirsoft

Guru

Joined: 18/09/2020
Location: Czech Republic
Posts: 533
Posted: 10:10am 29 Jan 2021
Copy link to clipboard 
Print this post

Hi Peter,
is some chance to make possible to change default font and colors in EDITOR?
Jiri
Napoleon Commander and SimplEd for CMM2 (GitHub),  CMM2.fun
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10590
Posted: 10:16am 29 Jan 2021
Copy link to clipboard 
Print this post

OPTION EDIT FONT
 
jirsoft

Guru

Joined: 18/09/2020
Location: Czech Republic
Posts: 533
Posted: 12:21pm 29 Jan 2021
Copy link to clipboard 
Print this post

This way I can change just 4 fonts/sizes from built in. Or can be this changed with MM.INFO(FONT ADDRESS n)?

Second (very important) thing are colors, is somehow possible to hack them with memory access?
Jiri
Napoleon Commander and SimplEd for CMM2 (GitHub),  CMM2.fun
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10590
Posted: 01:09pm 29 Jan 2021
Copy link to clipboard 
Print this post

To make any further changes you will need to get the source and compile your own version  - sorry
 
jirsoft

Guru

Joined: 18/09/2020
Location: Czech Republic
Posts: 533
Posted: 01:16pm 29 Jan 2021
Copy link to clipboard 
Print this post

OK, no problem, it was just an idea...
Thanks anyway!
Jiri
Napoleon Commander and SimplEd for CMM2 (GitHub),  CMM2.fun
 
jirsoft

Guru

Joined: 18/09/2020
Location: Czech Republic
Posts: 533
Posted: 01:40pm 29 Jan 2021
Copy link to clipboard 
Print this post

One more question, is it this part in kilo.c?

#define GUI_C_NORMAL            WHITE
#define GUI_C_BCOLOUR           BLACK
#define GUI_C_COMMENT           RGB(192, 192, 0, 0)
#define GUI_C_KEYWORD           CYAN
#define GUI_C_QUOTE             RGB(0, 200, 0, 0)
#define GUI_C_NUMBER            RGB(255, 128, 128, 0)
#define GUI_C_LINE              GRAY
#define GUI_C_STATUS            (Option.colourmode ? BROWN : gui_fcolour)

Jiri
Napoleon Commander and SimplEd for CMM2 (GitHub),  CMM2.fun
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025