mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-07 19:10:25 +00:00
Darken the FG color too (while compiling with g++).
This commit is contained in:
parent
94d1442060
commit
a3c4bc4336
|
@ -185,8 +185,10 @@ IF LEFT$(c$, 1) = CHR$(12) THEN
|
||||||
|
|
||||||
'Darken the interface while compilation is taking place,
|
'Darken the interface while compilation is taking place,
|
||||||
'to give a sense of temporary unavailability:
|
'to give a sense of temporary unavailability:
|
||||||
TempDarkerColor~& = _RGB32(_RED32(IDEBackgroundColor) * .5, _GREEN32(IDEBackgroundColor) * .5, _BLUE32(IDEBackgroundColor) * .5)
|
TempDarkerBGColor~& = _RGB32(_RED32(IDEBackgroundColor) * .5, _GREEN32(IDEBackgroundColor) * .5, _BLUE32(IDEBackgroundColor) * .5)
|
||||||
_PALETTECOLOR 1, TempDarkerColor~&, 0
|
TempDarkerFGColor~& = _RGB32(_RED32(IDETextColor) * .5, _GREEN32(IDETextColor) * .5, _BLUE32(IDETextColor) * .5)
|
||||||
|
_PALETTECOLOR 1, TempDarkerBGColor~&, 0
|
||||||
|
_PALETTECOLOR 13, TempDarkerFGColor~&, 0
|
||||||
|
|
||||||
IF os$ = "LNX" THEN
|
IF os$ = "LNX" THEN
|
||||||
PRINT "Creating executable file named " + CHR$(34) + f$ + extension$ + CHR$(34) + "..."
|
PRINT "Creating executable file named " + CHR$(34) + f$ + extension$ + CHR$(34) + "..."
|
||||||
|
@ -1347,8 +1349,10 @@ DO
|
||||||
ELSE
|
ELSE
|
||||||
'Darken the interface while compilation is taking place,
|
'Darken the interface while compilation is taking place,
|
||||||
'to give a sense of temporary unavailability:
|
'to give a sense of temporary unavailability:
|
||||||
TempDarkerColor~& = _RGB32(_RED32(IDEBackgroundColor) * .5, _GREEN32(IDEBackgroundColor) * .5, _BLUE32(IDEBackgroundColor) * .5)
|
TempDarkerBGColor~& = _RGB32(_RED32(IDEBackgroundColor) * .5, _GREEN32(IDEBackgroundColor) * .5, _BLUE32(IDEBackgroundColor) * .5)
|
||||||
_PALETTECOLOR 1, TempDarkerColor~&, 0
|
TempDarkerFGColor~& = _RGB32(_RED32(IDETextColor) * .5, _GREEN32(IDETextColor) * .5, _BLUE32(IDETextColor) * .5)
|
||||||
|
_PALETTECOLOR 1, TempDarkerBGColor~&, 0
|
||||||
|
_PALETTECOLOR 13, TempDarkerFGColor~&, 0
|
||||||
|
|
||||||
IF os$ = "LNX" THEN
|
IF os$ = "LNX" THEN
|
||||||
LOCATE idewy - 3, 2: PRINT "Creating executable file...";
|
LOCATE idewy - 3, 2: PRINT "Creating executable file...";
|
||||||
|
|
|
@ -11902,8 +11902,9 @@ IF os$ = "WIN" THEN
|
||||||
SHELL _HIDE a$
|
SHELL _HIDE a$
|
||||||
CHDIR "..\.."
|
CHDIR "..\.."
|
||||||
IF idemode THEN
|
IF idemode THEN
|
||||||
'Restore background color
|
'Restore fg/bg colors
|
||||||
_PALETTECOLOR 1, IDEBackgroundColor, 0
|
_PALETTECOLOR 1, IDEBackgroundColor, 0
|
||||||
|
_PALETTECOLOR 13, IDETextColor, 0
|
||||||
END IF
|
END IF
|
||||||
END IF 'No_C_Compile_Mode=0
|
END IF 'No_C_Compile_Mode=0
|
||||||
|
|
||||||
|
@ -12190,8 +12191,9 @@ IF os$ = "LNX" THEN
|
||||||
SHELL _HIDE a$
|
SHELL _HIDE a$
|
||||||
CHDIR "../.."
|
CHDIR "../.."
|
||||||
IF idemode THEN
|
IF idemode THEN
|
||||||
'Restore background color
|
'Restore fg/bg colors
|
||||||
_PALETTECOLOR 1, IDEBackgroundColor, 0
|
_PALETTECOLOR 1, IDEBackgroundColor, 0
|
||||||
|
_PALETTECOLOR 13, IDETextColor, 0
|
||||||
END IF
|
END IF
|
||||||
END IF
|
END IF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue