Orb/Doxygen/src/logos.cpp
changeset 4 468f4c8d3d5b
parent 0 42188c7ea2d9
equal deleted inserted replaced
3:d8fccb2cd802 4:468f4c8d3d5b
     1 /******************************************************************************
     1 /******************************************************************************
     2  *
     2  *
     3  * 
     3  * 
     4  *
     4  *
     5  * Copyright (C) 1997-2008 by Dimitri van Heesch.
     5  * Copyright (C) 1997-2010 by Dimitri van Heesch.
     6  *
     6  *
     7  * Permission to use, copy, modify, and distribute this software and its
     7  * Permission to use, copy, modify, and distribute this software and its
     8  * documentation under the terms of the GNU General Public License is hereby 
     8  * documentation under the terms of the GNU General Public License is hereby 
     9  * granted. No representations are made about the suitability of this software 
     9  * granted. No representations are made about the suitability of this software 
    10  * for any purpose. It is provided "as is" without express or implied warranty.
    10  * for any purpose. It is provided "as is" without express or implied warranty.
    19 
    19 
    20 #include "qtbc.h"
    20 #include "qtbc.h"
    21 #include <qfile.h>
    21 #include <qfile.h>
    22 #include <qdir.h>
    22 #include <qdir.h>
    23 
    23 
    24 
    24 #if 0
    25 unsigned char doxygen_png_data[] = {
    25 unsigned char doxygen_png_data[] = {
    26   0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
    26   0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
    27   0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x64, 0x00, 0x00, 0x00, 0x2d,
    27   0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x64, 0x00, 0x00, 0x00, 0x2d,
    28   0x08, 0x03, 0x00, 0x00, 0x00, 0x6f, 0x6b, 0x3e, 0xc2, 0x00, 0x00, 0x00,
    28   0x08, 0x03, 0x00, 0x00, 0x00, 0x6f, 0x6b, 0x3e, 0xc2, 0x00, 0x00, 0x00,
    29   0x04, 0x67, 0x41, 0x4d, 0x41, 0x00, 0x00, 0xd6, 0xd8, 0xd4, 0x4f, 0x58,
    29   0x04, 0x67, 0x41, 0x4d, 0x41, 0x00, 0x00, 0xd6, 0xd8, 0xd4, 0x4f, 0x58,
   131   0x00, 0x64, 0x60, 0x82, 0xc9, 0xbd, 0x53, 0xb5, 0x4f, 0x00, 0x00, 0x00,
   131   0x00, 0x64, 0x60, 0x82, 0xc9, 0xbd, 0x53, 0xb5, 0x4f, 0x00, 0x00, 0x00,
   132   0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82
   132   0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82
   133 };
   133 };
   134 unsigned int doxygen_png_len = 1281;
   134 unsigned int doxygen_png_len = 1281;
   135 
   135 
   136 #if 0
       
   137 unsigned char search_png[] = {
   136 unsigned char search_png[] = {
   138   0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
   137   0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
   139   0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x00, 0x1a,
   138   0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x00, 0x1a,
   140   0x08, 0x03, 0x00, 0x00, 0x01, 0x3c, 0x81, 0x58, 0x27, 0x00, 0x00, 0x02,
   139   0x08, 0x03, 0x00, 0x00, 0x01, 0x3c, 0x81, 0x58, 0x27, 0x00, 0x00, 0x02,
   141   0x4c, 0x50, 0x4c, 0x54, 0x45, 0xff, 0xff, 0xcc, 0x4c, 0x00, 0x01, 0x4c,
   140   0x4c, 0x50, 0x4c, 0x54, 0x45, 0xff, 0xff, 0xcc, 0x4c, 0x00, 0x01, 0x4c,
  2210   0x00, 0xa9, 0x00, 0x3f, 0x00, 0xac, 0x00, 0xad, 0x00, 0x42, 0x00, 0xb5,
  2209   0x00, 0xa9, 0x00, 0x3f, 0x00, 0xac, 0x00, 0xad, 0x00, 0x42, 0x00, 0xb5,
  2211   0x00, 0xb7, 0x00, 0x44, 0x00, 0xb9, 0x00, 0xb9, 0x00, 0x47, 0x00, 0x00
  2210   0x00, 0xb7, 0x00, 0x44, 0x00, 0xb9, 0x00, 0xb9, 0x00, 0x47, 0x00, 0x00
  2212 };
  2211 };
  2213 unsigned int FreeSans_ttf_len = 22932;
  2212 unsigned int FreeSans_ttf_len = 22932;
  2214 
  2213 
       
  2214 #if 0
  2215 void writeLogo(const char *dir)
  2215 void writeLogo(const char *dir)
  2216 {
  2216 {
  2217   QCString fileName=(QCString)dir+"/doxygen.png";
  2217   QCString fileName=(QCString)dir+"/doxygen.png";
  2218   QFile f(fileName);
  2218   QFile f(fileName);
  2219   if (f.open(IO_WriteOnly)) 
  2219   if (f.open(IO_WriteOnly)) 
  2223     fprintf(stderr,"Warning: Cannot open file %s for writing\n",fileName.data());
  2223     fprintf(stderr,"Warning: Cannot open file %s for writing\n",fileName.data());
  2224   }
  2224   }
  2225   f.close();
  2225   f.close();
  2226 }
  2226 }
  2227 
  2227 
  2228 #if 0
       
  2229 void writeSearchButton(const char *dir)
  2228 void writeSearchButton(const char *dir)
  2230 {
  2229 {
  2231   QCString fileName=(QCString)dir+"/search.png";
  2230   QCString fileName=(QCString)dir+"/search.png";
  2232   QFile f(fileName);
  2231   QFile f(fileName);
  2233   if (f.open(IO_WriteOnly)) 
  2232   if (f.open(IO_WriteOnly))