Parent window must be active for control to draw as focused. This
affects all controls that draw their focus ring using ControlLook
including but not limited to BButton, BCheckBox, and BRadioButton.
I won't pretend to know what is "right" but the behavior now matches
BeOS R5.
... to reduce the package list. No filters can be defined
via the UI, but a DepotFilter is already implemented, although
its performance will probably need to improve.
* Defined PackageCategory class (icon, label and internal name)
* Each PackageInfo has a list of PackageCategories
* Model defines global PackageCategories, referenced by PackageInfos
* Added Model.cpp to files needing translation
* Added categories to dummy package infos
The problem indicated by #8388 hid another issue with respect to
show/hiding the navigator on the fly, namely that it didn't correctly
respect the type of Tracker window, which would cause the navigator to
show up in cases where it shouldn't, such as query windows.
* Swap rating and version in title view so it matches the
order in the Ratings tab (rating XX for version YY).
* Give a chance to decorate the version in translations.
* Drop the parenthesis around version in Ratings tab.
BNavigator shouldn't update its location until AllAttached(). Otherwise,
it might immediately trigger a redraw, and in such a case, the
navigation buttons wouldn't yet have had a chance to load their icon
resources, leading to a debug assert in BPictureButton due to said
images not being present, but required.
* Disabled BitmapView::GetHeightForWidth() to keep aspect, it seems
broken in the layout system, the view gets layouted completely
elsewhere. Mabye due to the layout hierarchy being optimized?
* Instead layout the bitmap with correct aspect in the given space,
honor LayoutAlignment() for this.
* All text views that potentially need scrolling are now
embedded into a CustomScrollView. That one controls a
vertical BScrollBar only and has B_NO_BORDER frame. Since
the regular BScrollView doesn't do some adjustments in
this setup, the CustomScrollView takes care of moving the
BScrollBar such that the B_DOCUMENT_WINDOW_LOOK resize
handle does not obscure the bottom arrow button.
* Instead of showing all package actions along the bottom
of the window, only the applicable actions are shown, but
besides the package title.
* The radio buttons are gone, instead an actual BTabView is
used, but now in a more pretty way.
* The package info content stretches to the window border
which will make showing a vertical scroll bar look better.
* Display rating via RatingView and additional BStringView
decoration
* Display radio buttons to switch between About, Ratings and
Changelog pages. (Will be replaced again...)
* Implement preliminary UserRatingsView showing all user
ratings (currently in a single BTextView, will be much
more detailed later on).
* Implement ChangelogView, simply showing the dummy changelogs
in a BTextView.
* Layout tweaks
In the odd case where there is no icon for an app, and the generic
3 boxes icon is also unavailable/removed, Deskbar now properly draws
the transparent icon that was prepared, but not used (and leaked).