Add the CGAL icons, and "CGAL" in the title.

This commit is contained in:
Laurent Rineau 2008-12-18 17:26:35 +00:00
parent 03d17761ff
commit 50f70bb31a
3 changed files with 31 additions and 2 deletions

View File

@ -10,7 +10,11 @@
</rect>
</property>
<property name="windowTitle" >
<string>Polyhedron demo</string>
<string>CGAL Polyhedron demo</string>
</property>
<property name="windowIcon" >
<iconset resource="Polyhedron_3.qrc" >
<normaloff>:/cgal/icons/resources/cgal_logo.xpm</normaloff>:/cgal/icons/resources/cgal_logo.xpm</iconset>
</property>
<widget class="QWidget" name="centralwidget" >
<layout class="QGridLayout" name="gridLayout" >
@ -106,7 +110,7 @@
<x>0</x>
<y>0</y>
<width>978</width>
<height>24</height>
<height>29</height>
</rect>
</property>
<widget class="QMenu" name="menuFile" >

View File

@ -1,5 +1,6 @@
<RCC>
<qresource prefix="/cgal/icons" >
<file>resources/cgal_logo.xpm</file>
<file>resources/boolean-union.png</file>
<file>resources/kernel.png</file>
<file>resources/boolean-diff.png</file>

View File

@ -0,0 +1,24 @@
/* XPM */
const char * demoicon_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 3 1",
" c None",
". c #FFFF00",
"+ c #000000",
/* pixels */
"................",
"...++++...++++..",
"..+....+.+....+.",
"..+......+......",
"..+......+..+++.",
"..+......+....+.",
"..+....+.+....+.",
"...++++...++++..",
"................",
"...++++...+.....",
"..+....+..+.....",
"..+....+..+.....",
"..++++++..+.....",
"..+....+..+.....",
"..+....+..+++++.",
"................"};