From dcb1e9166daa76fe083aa04498e0adbf64816e97 Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Sun, 7 Dec 2003 22:09:58 +0000 Subject: [PATCH] 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 --- headers/os/interface/View.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/headers/os/interface/View.h b/headers/os/interface/View.h index 82e23f4d49..b02aec74ab 100644 --- a/headers/os/interface/View.h +++ b/headers/os/interface/View.h @@ -142,6 +142,7 @@ class BShape; class BShelf; class BString; class BWindow; +class ViewAttr; struct _view_attr_; struct _array_data_; struct _array_hdr_; @@ -626,8 +627,8 @@ private: bool _unused_bool0; // was: attached; bool _unused_bool1; bool _unused_bool2; - _view_attr_* fPermanentState;// used - _view_attr_* fState; // used + ViewAttr* fPermanentState;// used + ViewAttr* fState; // used BRect fBounds; // used BShelf* fShelf; // used void* pr_state;