Skip to content

Backround image supports only bitmaps #148

@vincentparrett

Description

@vincentparrett

From an...@rambler.ru on May 25, 2010 22:33:09

Background property somewhy supports only BMP images, though it is
declared as TPicture which supports JPG, GIF, PNG and many other formats.
Having taken a look into the code I found massive usage of
FBackground.Bitmap so it will be not so easy to fix. So, there are 3 ways:

  1. the best but probably the hardest Get rid of Bitmap, use only Canvas
  2. Convert any image loaded to TBitmap internally
  3. the worst but the easiest Change FBackground type to TBitmap to avoid
    further confusions

Original issue: http://code.google.com/p/virtual-treeview/issues/detail?id=148

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions