Replaced _view_attr with comparable ViewAttr class and removed a crash

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5619 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm 2003-12-07 22:09:58 +00:00
parent 21c49a5cf3
commit dcb1e9166d

View File

@ -142,6 +142,7 @@ class BShape;
class BShelf; class BShelf;
class BString; class BString;
class BWindow; class BWindow;
class ViewAttr;
struct _view_attr_; struct _view_attr_;
struct _array_data_; struct _array_data_;
struct _array_hdr_; struct _array_hdr_;
@ -626,8 +627,8 @@ private:
bool _unused_bool0; // was: attached; bool _unused_bool0; // was: attached;
bool _unused_bool1; bool _unused_bool1;
bool _unused_bool2; bool _unused_bool2;
_view_attr_* fPermanentState;// used ViewAttr* fPermanentState;// used
_view_attr_* fState; // used ViewAttr* fState; // used
BRect fBounds; // used BRect fBounds; // used
BShelf* fShelf; // used BShelf* fShelf; // used
void* pr_state; void* pr_state;