2010-05-07 04:47:10 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2009-2010, Pier Luigi Fiorini. All rights reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _BITMAP_UTILS_H
|
|
|
|
#define _BITMAP_UTILS_H
|
|
|
|
|
|
|
|
#include <Bitmap.h>
|
|
|
|
#include <Mime.h>
|
|
|
|
#include <Resources.h>
|
|
|
|
|
|
|
|
BBitmap* ReadNodeIcon(const char* name, icon_size size, bool followSymlink);
|
|
|
|
BBitmap* IconFromResources(BResources* res, int32 num, icon_size size);
|
2010-05-08 11:21:36 -05:00
|
|
|
BBitmap* RescaleBitmap(const BBitmap* src, int32 width, int32 height);
|
2010-05-07 04:47:10 -05:00
|
|
|
|
|
|
|
#endif // _BITMAP_UTILS_H
|