From 660d84ffeb88ce698da567b90c3c5e6b117ccdce Mon Sep 17 00:00:00 2001 From: Radu Ursu Date: Wed, 3 Sep 2003 14:39:33 +0000 Subject: [PATCH] Added an icon that I intend to use in all the demos. --- .gitattributes | 1 + .../include/CGAL/IO/pixmaps/demoicon.xpm | 3 ++ .../src/CGALQt/Qt_widget_xpm_icons.C | 30 +++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 Packages/Qt_widget/include/CGAL/IO/pixmaps/demoicon.xpm diff --git a/.gitattributes b/.gitattributes index 250815984fd..82e4ba01f97 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1565,6 +1565,7 @@ Packages/Qt_widget/include/CGAL/IO/pixmaps/arrow.xpm -text Packages/Qt_widget/include/CGAL/IO/pixmaps/back.xpm -text Packages/Qt_widget/include/CGAL/IO/pixmaps/circle.xpm -text Packages/Qt_widget/include/CGAL/IO/pixmaps/constrained.xpm -text +Packages/Qt_widget/include/CGAL/IO/pixmaps/demoicon.xpm -text Packages/Qt_widget/include/CGAL/IO/pixmaps/focus.xpm -text Packages/Qt_widget/include/CGAL/IO/pixmaps/focus1.xpm -text Packages/Qt_widget/include/CGAL/IO/pixmaps/focus1_mask.xpm -text diff --git a/Packages/Qt_widget/include/CGAL/IO/pixmaps/demoicon.xpm b/Packages/Qt_widget/include/CGAL/IO/pixmaps/demoicon.xpm new file mode 100644 index 00000000000..f296f90acef --- /dev/null +++ b/Packages/Qt_widget/include/CGAL/IO/pixmaps/demoicon.xpm @@ -0,0 +1,3 @@ +/* XPM */ +extern char * demoicon_xpm[]; + diff --git a/Packages/Qt_widget/src/CGALQt/Qt_widget_xpm_icons.C b/Packages/Qt_widget/src/CGALQt/Qt_widget_xpm_icons.C index 03f135f2a17..901be8d10e6 100644 --- a/Packages/Qt_widget/src/CGALQt/Qt_widget_xpm_icons.C +++ b/Packages/Qt_widget/src/CGALQt/Qt_widget_xpm_icons.C @@ -2051,3 +2051,33 @@ char * line_small_xpm[] = { "OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO" }; +/* XPM */ +static const char *demoicon_xpm[] = { +/* columns rows colors chars-per-pixel */ +"16 16 7 1", +" c black", +". c #040404", +"X c #333399", +"o c #3300CC", +"O c #0066FF", +"+ c #0099FF", +"@ c #FFFF99", +/* pixels */ +"+++OOOOOOOOOOOOO", +"o@@@@@@@@@@@@@@O", +"o@@@@@@@@@@@@@@O", +"o@@@@@@@@@@@@@@O", +"o@@@@@@@@@@@@@@O", +"o@. @@@@@@@@@.@O", +"X..@ @@@@@..@.@O", +"o @@@..@@@.@.@O", +"o..@@ @ @...@.@O", +"o..@..@.@.@.@.@O", +"o@..@...@...@...", +"o@@@@@@.@@@@@@@O", +"o@@@@@..@@@@@@@O", +"o@@@@@@@@@@@@@@O", +"o@@@@@@@@@@@@@@O", +"oooooooooooooooo" +}; +