You should still be able to move window but yes you are right. Something fundamentally wrong somewhere...
You should still be able to move window but yes you are right. Something fundamentally wrong somewhere...
I am not sure that change image resp. change surface of image in DXImageList is right way.
Ijcro.
Color Bug solved.
I convert 16 to 24 bits:
Solved:
[pascal]function RGBTo16bit(R,G,B: Byte): Integer;
begin
Result:= ((B shr 3) shl 11) + ((G shr 2) shl 5) + (R shr 3);
end;[/pascal]
[pascal]function ToRGB(Color: Integer): Integer;
begin
Result:= ((Color and $F800) shl + ((Color and $7E0) shl 5) +
((Color and $1F) shl 3)
end;[/pascal]
Now only bug when window moved or swich fullscreen, I lost all modified colors, all DXImageList restore to defaults color :cry: , can help me ?
Kotai. :roll:
www.kotai.es
www.remakesonline.com -> Nemesis Online & Bubble Bobble Online & Castlevania Online & Penguin Adventure Online
www.miniracingonline.com
Bookmarks