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>
|
|
|
|
|
2010-05-09 03:23:53 -05:00
|
|
|
BBitmap* ReadNodeIcon(const char* name, icon_size size,
|
2012-10-19 10:58:55 -05:00
|
|
|
bool followSymlink);
|
2010-05-09 03:23:53 -05:00
|
|
|
BBitmap* IconFromResources(BResources* res, int32 num,
|
2012-10-19 10:58:55 -05:00
|
|
|
icon_size size = B_LARGE_ICON);
|
|
|
|
BBitmap* RescaleBitmap(const BBitmap* src, float width,
|
|
|
|
float height);
|
2010-05-07 04:47:10 -05:00
|
|
|
|
|
|
|
#endif // _BITMAP_UTILS_H
|