Skip to content

Commit 4797777

Browse files
committed
Remove obsolete function
Remove obsolete function
1 parent 89a7906 commit 4797777

2 files changed

Lines changed: 0 additions & 23 deletions

File tree

src/util.cpp

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5806,28 +5806,6 @@ QCString externalRef(const QCString &relPath,const QCString &ref,bool href)
58065806
return result;
58075807
}
58085808

5809-
/** Writes the intensity only bitmap represented by \a data as an image to
5810-
* directory \a dir using the colors defined by HTML_COLORSTYLE_*.
5811-
*/
5812-
void writeColoredImgData(const QCString &dir,ColoredImgDataItem data[])
5813-
{
5814-
int hue = Config_getInt(HTML_COLORSTYLE_HUE);
5815-
int sat = Config_getInt(HTML_COLORSTYLE_SAT);
5816-
int gamma = Config_getInt(HTML_COLORSTYLE_GAMMA);
5817-
while (data->name)
5818-
{
5819-
QCString fileName = dir+"/"+data->name;
5820-
ColoredImage img(data->width,data->height,data->content,data->alpha,
5821-
sat,hue,gamma);
5822-
if (!img.save(fileName))
5823-
{
5824-
fprintf(stderr,"Warning: Cannot open file %s for writing\n",data->name);
5825-
}
5826-
Doxygen::indexList->addImageFile(data->name);
5827-
data++;
5828-
}
5829-
}
5830-
58315809
/** Replaces any markers of the form \#\#AA in input string \a str
58325810
* by new markers of the form \#AABBCC, where \#AABBCC represents a
58335811
* valid color, based on the intensity represented by hex number AA

src/util.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@ struct ColoredImgDataItem
471471
const unsigned char *alpha;
472472
};
473473

474-
void writeColoredImgData(const QCString &dir,ColoredImgDataItem data[]);
475474
QCString replaceColorMarkers(const QCString &str);
476475

477476
bool copyFile(const QCString &src,const QCString &dest);

0 commit comments

Comments
 (0)