Commit Graph

24 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
Jaidyn Ann 33ad4d8acf More scalable ToolButton
Replaces libinterface's ToolButton, a custom button that can display
a pop-up menu on click (along with a custom image). It didn't scale well
with different themes and font-sizes compared to BButtons― which
ToolButton is supposed to look like to begin with.

A BButton-derived class is used instead, so these buttons look more
in-place among other buttons.
2021-07-23 23:43:42 -05:00
Jaidyn Ann ca2e05915d Tweak preferences layout 2021-05-30 22:04:45 -05:00
Jaidyn Ann df55e1d9f5 Switch from Jam to Make 2021-05-19 16:12:19 -05:00
Jérôme Duval e2cd276b00 x86_64 build fix 2017-01-30 07:23:52 +01:00
Barrett17 8ed06e4de5 IconUtils is now Haiku public API remove it. 2015-06-24 16:23:04 +00:00
barrett a56a343cd0 Set the ToolButton to show the message when the click is received in any part of the widget. 2013-01-04 16:53:37 +00:00
barrett 6572adb23b Codestyle fixes, patch created by Freemann2430 during GCI2012 2013-01-04 13:52:14 +00:00
barrett 101006a459 Patch from Rene Gollent that add a split in the ChatWindow to resize the send and receive views. Thanks!! 2012-11-28 15:20:17 +00:00
barrett dd5c5cada0 Style fix, fixed RescaleBitmap argument type. 2012-10-19 15:58:55 +00:00
barrett 28efc5dc89 Solved warnings in BitmapUtils. 2012-10-19 15:51:39 +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 d03a6fb884 Install headers for external protocols. 2010-05-28 01:08:18 +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 90a68e6002 Fixed gcc4 warnings and some style violations. 2010-05-19 22:40:34 +00:00
plfiorini b1ddb3c032 Use B_FILTER_BITMAP_BILINEAR. 2010-05-10 22:42:54 +00:00
plfiorini dd8d0d1f5a Gcc4 build fixes. 2010-05-10 21:54:28 +00:00
plfiorini 2e8cd94f8c * Now using a grid layout.
* Implemented the "wrench" menu (it needs an icon).
2010-05-09 08:23:53 +00:00
plfiorini 454762c7eb Preferences dialog is progressing... 2010-05-08 19:35:28 +00:00
plfiorini aac9a222b3 Added ToolButton. 2010-05-08 19:24:47 +00:00
plfiorini 4b01bd22bb Moved RescaleBitmap() utility function to BitmapUtils.{cpp,h}. 2010-05-08 16:21:36 +00:00
plfiorini 0bf4b59922 Usual SVN tree (branches, tags, trunk). 2010-05-07 09:47:10 +00:00