* Fixed BView::_SetShelf(), it did not remove a previous shelf.
* Fixed BShelf::_AddReplicant(), at least a bit. I managed to add the "ScreenChanger" icon to the tray, although the icon was not drawn, and it was on the wrong position. * _AddReplicant() also did not reply to the waiting message source in case of failure. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15829 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -93,7 +93,7 @@ class BShelf : public BHandler {
|
||||
void _InitData(BEntry* entry, BDataIO* stream,
|
||||
BView* view, bool allowDrags);
|
||||
status_t _DeleteReplicant(_rep_data_* replicant);
|
||||
status_t _RealAddReplicant(BMessage* data,
|
||||
status_t _AddReplicant(BMessage* data,
|
||||
BPoint* location, uint32 uniqueID);
|
||||
status_t _GetProperty(BMessage* message, BMessage* reply);
|
||||
|
||||
|
||||
@@ -549,8 +549,8 @@ private:
|
||||
void RealScrollTo(BPoint);
|
||||
void fetch_font();
|
||||
uchar font_encoding() const;
|
||||
BShelf* shelf() const;
|
||||
void set_shelf(BShelf* shelf);
|
||||
BShelf* _Shelf() const;
|
||||
void _SetShelf(BShelf* shelf);
|
||||
|
||||
void _MoveTo(int32 x, int32 y);
|
||||
void _ResizeBy(int32 deltaWidth, int32 deltaHeight);
|
||||
|
||||
Reference in New Issue
Block a user