Page MenuHome

New dynamic icons for library objects
Closed, ArchivedPublicPATCH

Description

This patch provides a unified interface to the different kinds of icons, the internal icons, internal icons that use OpenGL for vector drawing (functionality provided by zr) and new dynamic icons that can be created for a material, texture, image, world or lamp. A first application of these icons is to show materials, textures, lamp, world and images as small icons in the respective popup menus. A second application is the preview, where the new dynamic icons are used. All icons exept the vector drawing ones are displayed as an OpenGL QUAD with an OpenGL texture.

Pictures of the new feature and some documentation can be seen on my webpage:

http://www.elubie.de/blender/iconpatch/

Applying the patch:

Step 1: Apply the patch

dynicons.patch is the patch that has to be applied with the patch utility.
The patch been done from the directory /blender with cvs diff -u source/blender (in directory G:\sandboxes\blender-bf\blender)

Step 2: Add additional files

BKE_icons.h: move to \blender\source\blender\blenkernel
icons.c: move to \blender\source\blender\blenkernel\intern
BIF_preview_icons.h: move to \blender\source\blender\include
preview_icons.c: move to \blender\source\blender\src

Step 3: Add the four new files to your project file, makefile, SConstruct file etc...

enjoy,

Elubie

Event Timeline

Andrea Weikert (elubie) changed the task status from Unknown Status to Unknown Status.Feb 5 2006, 7:12 PM