Commit Graph

7 Enmetoj

Author SHA1 Message Date
Jaidyn Ann 758bbb072a (libinterface) Add 'square' scaling option to BitmapView
When toggled, this option disallows the scaled-to view rect being
uneven.
2021-07-27 20:48:03 -05:00
barrett 6572adb23b Codestyle fixes, patch created by Freemann2430 during GCI2012 2013-01-04 13:52:14 +00:00
plfiorini bf2f726629 Return error code when bitmap changes. 2010-06-15 17:09:31 +00:00
plfiorini 9d075c91a0 Set view color to parent's view color. No more glitches when bitmap is not set. 2010-05-30 04:24:53 +00:00
plfiorini bcbff8db1f Add SetBitmap(const char*) method to set the bitmap from a file using the Translation Kit. 2010-05-28 00:47:00 +00:00
plfiorini b314c7abd8 * Rewrote BitmapView's MinSize(), MaxSize() and PreferredSize() methods.
* Added BitmapView::Bitmap() method.
* BitmapView::SetBitmap() now doesn't resize the view anymore.
* BitmapView has now a minimum size of 32x32.
* Draw bitmap on BitmapView using B_FILTER_BITMAP_BILINEAR.
* StatusView sets now explicit max and preferred size to 50x50 for the avatar icon view and doesn't resize the bitmap explicitely.
* Small style violation fixes.
2010-05-20 18:11:32 +00:00
plfiorini 0bf4b59922 Usual SVN tree (branches, tags, trunk). 2010-05-07 09:47:10 +00:00