Opened 14 years ago
Closed 14 years ago
#6403 closed enhancement (fixed)
BLayout::ItemAdded() should return a bool, and accept an int32 index param, as should BLayout::ItemRemoved
Reported by: | yourpalal | Owned by: | yourpalal |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Kits/Interface Kit | Version: | R1/Development |
Keywords: | layout | Cc: | |
Blocked By: | Blocking: | #5524 | |
Platform: | All |
Description
void BLayout::ItemAdded(BLayoutItem* item) should become: bool BLayout::ItemAdded(BLayoutItem* item, int32 atIndex);
and void BLayout::ItemRemoved(BLayoutItem* item), should become void BLayout::ItemRemoved(BLayoutItem* item, int32 fromIndex);
BLayout::AddItem(...) should be modified to reverse the addition if ItemAdded() returns false.
Change History (3)
comment:1 by , 14 years ago
Status: | new → in-progress |
---|
comment:2 by , 14 years ago
Blocking: | 5524 added |
---|
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | in-progress → closed |
Note:
See TracTickets
for help on using tickets.
fixed in hrev37817.