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
 Coverflow background color
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jed

Australia
10 Posts

Posted - Jul 12 2011 :  23:12:26  Show Profile  Reply
How do you change the background color for the cover flow animation? I tried changing the Background property on the ImageENMView component, but it is still black.

At the moment I am just modifying the demo.

fab

1310 Posts

Posted - Jul 13 2011 :  11:56:58  Show Profile  Reply
The background of mviewFlow example is a wallpaper. If you clear the property ImageEnMView1.WallPaper the background will be gray (because the property Background is clBtnFace).
You can set ImageEnMView1.Background property to change the background color.

If you speak about the manualFlow example, then go to the TMainForm.Timer1Timer method in umain unit, then change this line:

ImageEnView1.IEBitmap.Fill(clBlack);
Go to Top of Page

jed

Australia
10 Posts

Posted - Jul 13 2011 :  17:51:06  Show Profile  Reply
Thanks.

Are there plans to encapsulate all of this behaviour into a simple drop on the form component, or is that an exercise left up to the user?

Any plans on adding a display like the initial start screen of the Safari webbrowser?
Go to Top of Page

fab

1310 Posts

Posted - Jul 14 2011 :  00:32:17  Show Profile  Reply
>Are there plans to encapsulate all of this behaviour into a simple drop on the form
> component, or is that an exercise left up to the user?

This is already done. The TImageEnMView encapsulates all animation details (like mouse and keyboard handling, background color handling, etc...).

>Any plans on adding a display like the initial start screen of the Safari webbrowser?

No, at the moment. However please consider that all animations derive from TIEAnimation class, so you can create a custom presentation to attach to TImageEnMView, just subclassing TIEAnimation and implementing the specific behavior.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: