Faculty of Information Technology
Software Engineering Group

Opened 5 years ago

Last modified 5 years ago

#201 new defect

[windows-only] remove the always true color hack for StX

Reported by: Patrik Svestka Owned by:
Priority: major Milestone:
Component: default Keywords:
Cc: Also affects CVS HEAD (eXept version): no


It appears that on windows Smalltalk/X is using a hack in order to force only 24bit color depth.

I think StX should adjust to the user's depth. It should not be hardcoded.

The valid excerpts from WinWorkstation.st:

    __depth = 24;  /* its a hack */
    __depth = __realDepth;
    if (__depth == 15)
	__depth = 16;

Change History (1)

comment:1 Changed 5 years ago by Patrik Svestka

You can always check with the following Smalltalk code:

Display depth or Screen current depth

Note: See TracTickets for help on using tickets.