Massive reconfiguring to fix link problems with all things needing app_server so
urces git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3963 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
#ifndef LAYERDATA_H_
|
||||
#define LAYERDATA_H_
|
||||
|
||||
#include <Point.h>
|
||||
#include <Font.h>
|
||||
#include "RGBColor.h"
|
||||
//#include "FontServer.h"
|
||||
#include "ServerFont.h"
|
||||
|
||||
class ServerBitmap;
|
||||
|
||||
class LayerData
|
||||
{
|
||||
public:
|
||||
LayerData(void)
|
||||
{
|
||||
pensize=1.0;
|
||||
penlocation.Set(0,0);
|
||||
draw_mode=B_OP_COPY;
|
||||
blending_mode=B_ALPHA_OVERLAY;
|
||||
alpha_mode=B_CONSTANT_ALPHA;
|
||||
background=NULL;
|
||||
overlay=NULL;
|
||||
highcolor.SetColor(0,0,0,255);
|
||||
lowcolor.SetColor(255,255,255,255);
|
||||
viewcolor.SetColor(255,255,255,255);
|
||||
// font=fontserver->GetSystemPlain();
|
||||
font=NULL;
|
||||
scale=1.0;
|
||||
edelta.space=0;
|
||||
edelta.nonspace=0;
|
||||
}
|
||||
~LayerData(void)
|
||||
{
|
||||
if(font)
|
||||
{
|
||||
delete font;
|
||||
font=NULL;
|
||||
}
|
||||
}
|
||||
|
||||
float pensize;
|
||||
BPoint penlocation;
|
||||
drawing_mode draw_mode;
|
||||
source_alpha alpha_mode;
|
||||
alpha_function blending_mode;
|
||||
ServerBitmap *background;
|
||||
ServerBitmap *overlay;
|
||||
RGBColor highcolor, lowcolor, viewcolor;
|
||||
ServerFont *font;
|
||||
float scale;
|
||||
escapement_delta edelta;
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user