Home
last modified time | relevance | path

Searched hist:bdb4ae32fd5a6282583f17e35dcb382fc8c994b8 (Results 1 – 2 of 2) sorted by relevance

/haiku/headers/os/interface/
H A DScrollView.hbdb4ae32fd5a6282583f17e35dcb382fc8c994b8 Sun Oct 12 14:02:34 UTC 2014 Adrien Destugues <pulkomandy@gmail.com> Fix unarchiving of BScrollView with layout

* We archive views using "managed" archives, and the children are not
attached in the BView(BMessage*) constructor, but later. So it's not
possible to find the target and scrollbars in the constructor of
BScrollView.
* Make BScrollView override AllUnarchived and find the target and
scrollbars again there. The code is slightly different as there is no
guarantee that the first child will be the target in that case. The
existing code in the constructor is preserved for non-managed archives.
/haiku/src/kits/interface/
H A DScrollView.cppbdb4ae32fd5a6282583f17e35dcb382fc8c994b8 Sun Oct 12 14:02:34 UTC 2014 Adrien Destugues <pulkomandy@gmail.com> Fix unarchiving of BScrollView with layout

* We archive views using "managed" archives, and the children are not
attached in the BView(BMessage*) constructor, but later. So it's not
possible to find the target and scrollbars in the constructor of
BScrollView.
* Make BScrollView override AllUnarchived and find the target and
scrollbars again there. The code is slightly different as there is no
guarantee that the first child will be the target in that case. The
existing code in the constructor is preserved for non-managed archives.