2440d2c1cf
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2091 a95241bf-73f2-0310-859d-f6bbb57e9c96
25 lines
373 B
C++
25 lines
373 B
C++
/*
|
|
* ValidRect.h
|
|
* Copyright 1999-2000 Y.Takagi All Rights Reserved.
|
|
*/
|
|
|
|
#ifndef __VALIDRECT_H
|
|
#define __VALIDRECT_H
|
|
|
|
#include <GraphicsDefs.h>
|
|
|
|
class BBitmap;
|
|
|
|
struct RECT {
|
|
int left;
|
|
int top;
|
|
int right;
|
|
int bottom;
|
|
};
|
|
|
|
bool get_valid_rect(BBitmap *bitmap, const rgb_color *palette, RECT *rc);
|
|
|
|
int color_space2pixel_depth(color_space cs);
|
|
|
|
#endif // __VALIDRECT_H
|