removed Layer::fClassID
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14487 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
32a4f869b9
commit
eead807371
@ -103,7 +103,6 @@ Layer::Layer(BRect frame, const char* name, int32 token,
|
||||
fIsTopLayer(false),
|
||||
|
||||
fAdFlags(0),
|
||||
fClassID(AS_LAYER_CLASS),
|
||||
|
||||
fDriver(driver),
|
||||
fLayerData(new LayerData()),
|
||||
|
@ -61,13 +61,6 @@ enum {
|
||||
B_LAYER_CHILDREN_DEPENDANT = 0x1000U,
|
||||
};
|
||||
|
||||
// easy way to determine class type
|
||||
enum {
|
||||
AS_LAYER_CLASS = 1,
|
||||
AS_WINBORDER_CLASS = 2,
|
||||
AS_ROOTLAYER_CLASS = 3,
|
||||
};
|
||||
|
||||
class ServerApp;
|
||||
class RootLayer;
|
||||
class DisplayDriver;
|
||||
@ -367,7 +360,6 @@ friend class OffscreenWinBorder;
|
||||
bool fHidden;
|
||||
bool fIsTopLayer;
|
||||
uint16 fAdFlags;
|
||||
int8 fClassID;
|
||||
|
||||
DisplayDriver* fDriver;
|
||||
LayerData* fLayerData;
|
||||
|
@ -119,9 +119,6 @@ RootLayer::RootLayer(const char *name, int32 workspaceCount,
|
||||
}
|
||||
#endif // DISPLAY_HAIKU_LOGO
|
||||
|
||||
|
||||
// easy way to identify this class.
|
||||
fClassID = AS_ROOTLAYER_CLASS;
|
||||
fHidden = false;
|
||||
|
||||
memset(fWorkspace, 0, sizeof(Workspace*) * kMaxWorkspaceCount);
|
||||
|
@ -106,7 +106,6 @@ WinBorder::WinBorder(const BRect &frame,
|
||||
// unlike BViews, windows start off as hidden
|
||||
fHidden = true;
|
||||
fServerWin = window;
|
||||
fClassID = AS_WINBORDER_CLASS;
|
||||
fAdFlags = fAdFlags | B_LAYER_CHILDREN_DEPENDANT;
|
||||
fFlags = B_WILL_DRAW | B_FULL_UPDATE_ON_RESIZE;
|
||||
#ifdef NEW_CLIPPING
|
||||
|
Loading…
Reference in New Issue
Block a user