Difference between revisions of "Branding"

From FreeCAD Documentation
Jump to: navigation, search
(+cat)
(First version rather incomplete yet.)
Line 3: Line 3:
 
== Program Name ==
 
== Program Name ==
  
== Splash Screen ==
+
== Images ==
 +
All image resources are compiled into freecad. This reduces delayed loading and keeps the installation compact. The images are included in XPM-Format which is basically a text format that uses C-syntax. You can basically draw this images with a text editor, but it is more comfortable to create the images with your favorite graphics program and convert it later to XPM format.
 +
 
 +
For conversion you can use the ''ImageConv'' tool wich is included with freecad. You can find it under
 +
 
 +
/trunk/src/Tools/ImageTools/ImageConv
 +
 
 +
It can not only convert images but also automatically update the ''BmpFactoryIcons.cpp'' file, where the images are registered.
 +
 
 +
<!--TODO: How to use image converter-->
 +
 
 +
=== Icons ===
 +
The main application icon ''FCIcon'' that appears in window titles and other places is defined in
 +
 
 +
/trunk/src/Gui/Icons/BmpFactoryIcons.cpp
 +
 +
Replace it with your favourite icon, recompile freecad and the next step to create your own brand is done. There are many other icons in this file that you might change to your gusto.
 +
 
 +
=== Splash Screen ===
 +
The splash screen image, that is also used for the ''About Box''
  
== Icons ==
 
  
 
[[Category:Developer]]
 
[[Category:Developer]]

Revision as of 17:48, 1 October 2006

This article describes the Branding of FreeCAD. That is how to give FreeCAD a unique look.

Program Name

Images

All image resources are compiled into freecad. This reduces delayed loading and keeps the installation compact. The images are included in XPM-Format which is basically a text format that uses C-syntax. You can basically draw this images with a text editor, but it is more comfortable to create the images with your favorite graphics program and convert it later to XPM format.

For conversion you can use the ImageConv tool wich is included with freecad. You can find it under

/trunk/src/Tools/ImageTools/ImageConv

It can not only convert images but also automatically update the BmpFactoryIcons.cpp file, where the images are registered.


Icons

The main application icon FCIcon that appears in window titles and other places is defined in

/trunk/src/Gui/Icons/BmpFactoryIcons.cpp

Replace it with your favourite icon, recompile freecad and the next step to create your own brand is done. There are many other icons in this file that you might change to your gusto.

Splash Screen

The splash screen image, that is also used for the About Box