History log of /haiku/src/add-ons/screen_savers/icons/IconDisplay.h
Revision Date Author Comments
# 1c56a03c 24-Jan-2014 John Scipione <jscipione@gmail.com>

Icons Screensaver: Get icons from MIME db again

The previous method only queried application icons, not document icons.

Unfortunately, the app icons in the MIME DB are broken/not present.
IconsSaver only displays document icons for the time being.

Because of better error checking the garbled icons are filtered out though
at least.

Next step is to fix the application icons in the MIME DB.

Some other changes:
* Don't draw if the BBitmap was not filled out correctly
* Add Vincent Duvert to authors list, he's already in copyright
* Convert fVectorIcons from a BList to a BObjectList
* Put vector_icon struct in it’s own header (needed for above)
* Remove type param from vector_icon struct
* Bump max icon count to 300, hopefully this should be enough, 128
is too few for app and document icons in default install.


# 0def0b0d 22-Jan-2014 John Scipione <jscipione@gmail.com>

Icons Screensaver: Grab vector icons via query, fixes #10166

Iterate through each BFS volume and find vector icon data in apps
using a BFS query. Cap off at 128 total icons, we could get more if
desired. Default install comes with ~100 at present.

Make sure we have at least 20 icons (15 display at a time) before we
start drawing icons.

Rename VectorIcon to vector_icon and treat it like the POD struct that it is.
Also add a type_code parame to vector_icon that should be set to
B_VECTOR_ICON.

Some style fixes also included, e.g. turned defines into static const int32’s.


# 3cbb1132 22-Jan-2014 John Scipione <jscipione@gmail.com>

Icons Screensaver: Style fixes only


# 05cf63e3 22-Jan-2014 John Scipione <jscipione@gmail.com>

Icons Screensaver: Update copyright header and version

Add myself to authors, assign copyright to Haiku, Inc.

Bump version to 1.0.1-final, update short and long description


# 32b3986c 24-Sep-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Added a very nice Icons screensaver, by Vincent Duvert.
Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33268 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1c56a03c51fe268636ec1f48d067fa82f7082b1e 24-Jan-2014 John Scipione <jscipione@gmail.com>

Icons Screensaver: Get icons from MIME db again

The previous method only queried application icons, not document icons.

Unfortunately, the app icons in the MIME DB are broken/not present.
IconsSaver only displays document icons for the time being.

Because of better error checking the garbled icons are filtered out though
at least.

Next step is to fix the application icons in the MIME DB.

Some other changes:
* Don't draw if the BBitmap was not filled out correctly
* Add Vincent Duvert to authors list, he's already in copyright
* Convert fVectorIcons from a BList to a BObjectList
* Put vector_icon struct in it’s own header (needed for above)
* Remove type param from vector_icon struct
* Bump max icon count to 300, hopefully this should be enough, 128
is too few for app and document icons in default install.


# 0def0b0d621f3c051375d11826b6143272dcc9b9 22-Jan-2014 John Scipione <jscipione@gmail.com>

Icons Screensaver: Grab vector icons via query, fixes #10166

Iterate through each BFS volume and find vector icon data in apps
using a BFS query. Cap off at 128 total icons, we could get more if
desired. Default install comes with ~100 at present.

Make sure we have at least 20 icons (15 display at a time) before we
start drawing icons.

Rename VectorIcon to vector_icon and treat it like the POD struct that it is.
Also add a type_code parame to vector_icon that should be set to
B_VECTOR_ICON.

Some style fixes also included, e.g. turned defines into static const int32’s.


# 3cbb1132f803048060fed885dee47c96047b857f 22-Jan-2014 John Scipione <jscipione@gmail.com>

Icons Screensaver: Style fixes only


# 05cf63e3a734264c6a7d2ba3ca1d2e8b80945f9b 22-Jan-2014 John Scipione <jscipione@gmail.com>

Icons Screensaver: Update copyright header and version

Add myself to authors, assign copyright to Haiku, Inc.

Bump version to 1.0.1-final, update short and long description


# 32b3986c09e9a1d9dcbebd35fdcf3d63f6c08780 24-Sep-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Added a very nice Icons screensaver, by Vincent Duvert.
Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33268 a95241bf-73f2-0310-859d-f6bbb57e9c96