ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 iebsPhotoLike color
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

spetric

Croatia
308 Posts

Posted - Dec 28 2019 :  16:28:00  Show Profile  Reply
Is it possible to change color for iebsPhotoLike background style?

I would like to keep chessboard for images with alpha channel, but with darker background outside (iebsPhotoLike has fixed color, med-gray or something).

I'm currently working with version 8.1.1

TIA,
Siniša

xequte

38182 Posts

Posted - Jan 01 2020 :  17:42:23  Show Profile  Reply
Hi Sinisa

It is not currently possible to change that color, but I'll look at making it an option.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

spetric

Croatia
308 Posts

Posted - Jan 02 2020 :  09:10:13  Show Profile  Reply
Hi Nigel,

Thanks, that would be nice.
Anyway, I checked the source code and the color for iebsPhotoLike is B0B0B0.

So, I've patched PKIECTRL.lib at address 03B9EAA and replaced
B0B0B0 with darker gray color (303030).

I know it's a hack, but it works...for now.

Go to Top of Page

xequte

38182 Posts

Posted - Jan 05 2020 :  22:51:28  Show Profile  Reply
Hi

In the next version TImageEnView.Background is used if a custom color is specified (i.e. not clBlack or clBtnFace).

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: