Commit Graph

33 Enmetoj

Author SHA1 Message Date
Jaidyn Ann b576311552 (libinterface) Use default textruns if none selected, fix multi-URL lines 2021-08-11 17:14:47 -05:00
Jaidyn Ann 08292bdeda (libinterface) Better URL-handling in UrlTextView 2021-08-11 16:28:13 -05:00
Jaidyn Ann 71917d4a4d (libinterface) Optional bitmap-ownership with BitmapMenuItem 2021-08-03 10:15:04 -05:00
Jaidyn Ann 6d8be225ca Scaffolding of a multi-account StatusView
StatusView now allows the selecting of accounts through a MenuButton
with BitmapMenuItems― the button for selecting an account is nice and
discrete, just showing the bitmap of a protocol (in leiu of a label).
No functional changes, other than this menu.

I tried making all AccountsMenus use BitmapMenuItems, but that gets
unweildy pretty quickly― for now they remain in this menu. Maybe
optional ownership of bitmaps in BitmapMenuItems and caching of protocol
items would help.
2021-08-02 21:59:44 -05:00
Jaidyn Ann 930c500988 (libinterface) Better-looking and functioning MenuButton 2021-08-02 12:12:54 -05:00
Jaidyn Ann 150fd736e1 (libinterface) Add SetText() to UrlTextView 2021-08-01 17:04:52 -05:00
Jaidyn Ann 5dcf59a7e9 (libinterface/runview) Split RunView's URL highlighting into seperate class 2021-08-01 06:56:07 -05:00
Jaidyn Ann ebc9d4041f Remove unused NotifyingTextView class 2021-07-29 22:47:30 -05:00
Jaidyn Ann 89ff195c8d Set room topic/name through conversation view
If the user has permission to change a room's subject or name, they can
now edit the text views displaying them (toward the top of the window).
When enter is pressed, the changes will be sent to the protocol.

To do this, a BTextView subclass was added to libinterface
(splitting somewhat from SendTextView)― EnterTextView sends a message
containing the text to the given target when the user hits enter sans
modifiers.
2021-07-29 22:00:01 -05:00
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