Some refactoring and cleanup:
- renamed some members and methods to fit our style guide - moved removeSelf() to RemoveSelf() (as those two are essentially the same), and fixed it on the way: the state of the child views is now also updated by the new _UpdateStateForRemove() method - Moved BWindow::sendPulse() and activateView() to BView::_Pulse() and BView::_Activate() - some minor stuff This also fixes the broken previous commit - I forgot to update View.h; this update contains the previous changes as well. Sorry for the inconvenience. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13334 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -358,7 +358,6 @@ private:
|
||||
// message: B_MOUSE_UP, B_MOUSE_DOWN, B_MOUSE_MOVED
|
||||
void sendMessageUsingEventMask(int32 message, BPoint where);
|
||||
BView* sendMessageUsingEventMask2(BView* aView, int32 message, BPoint where);
|
||||
void sendPulse(BView *view);
|
||||
int32 findShortcut(uint32 key, uint32 modifiers);
|
||||
bool findHandler(BView* start, BHandler* handler);
|
||||
BView* findView(BView* aView, const char* viewName) const;
|
||||
@@ -370,7 +369,6 @@ private:
|
||||
BView* findLastChild(BView *parent);
|
||||
bool handleKeyDown(const char key, uint32 modifiers);
|
||||
void handleActivation( bool active);
|
||||
void activateView(BView *aView, bool active);
|
||||
|
||||
void drawAllViews(BView* aView);
|
||||
void DoUpdate(BView* aView, BRect& area);
|
||||
|
||||
Reference in New Issue
Block a user