Commit Graph

208 Commits

Author SHA1 Message Date
Augustin Cavalier
4230183ded Tracker/StatusWindow: use vector icons.
Fixes #11711.
2015-02-11 23:14:44 -05:00
Augustin Cavalier
e7803cf1f6 Tracker: use the Layout API wherever possible.
Sorry this commit is so big, but I couldn't figure out how to do this
incrementally without breaking things.

I wasn't able to just merge Aldeck's branch, as it was a partial refactor
of Tracker and didn't just rewrite the UI creation code to use layouts,
and the changes for PM (e.g. addon loading, virtual directories) made it
very hard to merge (it doesn't even compile after an automerge) so rather
than spending time on that, I decided it'd be better to recreate his work.

Miscellaneous notes:
 - This partially cleans up BPoseView & subclasses and BContainerWindow &
   subclasses -- none of the subclasses and child views abuse the parent's
   state, child views, or layout now.
 - BFilePanel and BDeskWindow are not on layouts, because:
   * BFilePanel docs in the Be Book instructed developers that wanted to
     modify BFilePanel's layout to just use FindView() and then move the
     views around. Obviously making it use layouts will break all BeOS
     apps that do this, and there are a lot of them (Pe, WonderBrush are
     just two examples.) I've added a note to the TODO list for R2 to create
     a layout-compatible API for this.
   * Some replicants (Workspaces, for example) rely on manipulating
     BDeskWindow's drawing state. This is incompatible with layouts, as
     at least in the case of Workspaces, it breaks a layouted version
     of BDeskWindow entirely.
 - I noticed a lot of #ifdef BEOS_VERSION ... gunk in the code. Tracker
   probably didn't build on BeOS just before this commit, and now it
   won't for sure, so I intend to go through and clean that out in the
   near future.

This commit also fixes:
 - enhancement #4996 (make Tracker's navigator use vector icons)
 - bug #3039 (resizing OpenWithWindow flashes the blue border)
 - bug #3889 (OpenWithWindow redraw errors)
 - a regression that was a side effect of "dynamic_cast<BDeskWindow*>(this)"
   always returning NULL when run in the constructor. I just added a "bool
   isDeskWindow" to BContainerWindow's constructor that is only set to true
   by BDeskWindow.
 - a copy&paste error in VirtualDirectoryPoseView that was passing "uint32
   resizeMode" as "uint32 viewMode".

Thanks to Alexandre for his original branch (it was a very useful
reference), Axel (for some miscellaneous advice & encouragement),
Adrien & Humdinger (for user interface review), and Diver (for user
interface review & testing).
2015-01-27 01:43:51 -05:00
François Revol
ebc6d4d0b0 Add an icon for LZIP archive files 2014-10-27 23:49:31 +01:00
Michael Lotz
1180b66081 PowerStatus: Implement battery low/critical notifications.
It shows a notification once the "low percentage" is reached (currently
at 15 percent) and once when the battery is about to die. This logic
should probably be revised to be based on remaining time instead. The
notification icons are simple variations of the PowerStatus icon.
2014-10-23 20:07:21 +02:00
Humdinger
18684e0caf Added alternative and improved icons for Be and Zeta disks 2014-08-31 19:11:09 +02:00
François Revol
9526c2143f Add an icon for Time And Relative Dimentions In Space
(TARDIS)

Just in case someone ever plugs one to his Haiku laptop :D
2014-08-15 01:38:55 +02:00
François Revol
ee1c8dbda7 Don't show stem and leaves at 16x16 2014-08-14 15:54:36 +02:00
François Revol
4e4caf5906 Add stem and leaves to the Heidi icon 2014-08-14 15:50:34 +02:00
François Revol
5c25f8e561 Name objects in Heidi icon
Hopefully those are the correct botanical names.
2014-08-14 15:36:04 +02:00
François Revol
80835cb079 Add an icon for Heidi (unfinished)
Hopefully it'll be useful
2014-08-14 01:01:55 +02:00
François Revol
57e1c849e3 Rename the kawoosh RemoteDesktop icon
Indeed, we did.
2014-08-14 00:56:41 +02:00
François Revol
e434249ebb Add an icon for device files 2014-08-13 23:38:51 +02:00
François Revol
2213b9acc7 Add an icon for pipe files (But where's Mario?) 2014-08-13 23:26:29 +02:00
François Revol
6683df861e Another variant of the RemoteDesktop icon...
Just in case we ever use it over the Star Gate ;-)
2014-08-13 22:30:54 +02:00
François Revol
a0321e54d4 Much simpler version of RemoteDesktop icon 2014-08-13 22:29:04 +02:00
François Revol
ea9a1f53b3 Add icon for RemoteDesktop
the App_Workspaces getting out of a window...
2014-08-13 21:49:47 +02:00
François Revol
a9028b8eec De-uglify icon
Really, that was my first, you know :D

Still not perfect though...
2014-08-13 20:58:10 +02:00
François Revol
b5f3a90d02 Add a python overlay icon
No outline, pretty much like the official logo.
2014-08-13 19:21:30 +02:00
François Revol
47e6571735 Add an icon for GnuPG
started from Action_Logout
2014-08-13 19:17:46 +02:00
François Revol
e6c495bc73 Add a croissant icon
Just because I'm hungry, inspired by a drawing from
Bruny Bellamy:
http://brunobellamy.tumblr.com/post/94366925615
2014-08-11 16:15:41 +02:00
François Revol
948f0320c9 Add names to the BeHappy icon
Since it's almost a simple marble, it's an interesting model,
I used it for ARAnyM. HAving names makes it easier to change.
2014-08-07 11:23:49 +02:00
François Revol
40dc5eb53e Change the marble to a coin on the ARAnyM icon
- makes it look like a coin like the original icon with a
recessed part,
- cleanup,
- add a bee shadow.
2014-08-07 11:23:29 +02:00
François Revol
f1d963a418 Offset the bee in ARAnyM icon so it's not blurry at 32x32 2014-08-07 02:16:34 +02:00
François Revol
3d21494d80 Add an icon for ARAnyM 2014-08-07 02:10:51 +02:00
François Revol
0dd565ee64 Harddisk icon variations with "Be" and Zeta logos
So many partitions around and they all looked the same...
2014-08-07 01:35:27 +02:00
François Revol
dcef881fe6 First try at an icon for Music Player Daemon
Actually a scaled copy-paste of App_MediaPlayer, Misc_Speaker
and App_TV_2 with a few tweaks.
2014-07-31 23:04:56 +02:00
François Revol
5bff096de0 Add an icon for WebWatch
A dumb mod form App_clock.
2014-07-28 13:19:32 +02:00
François Revol
92a0f9b8ce Add a naive icon for QEmacs 2014-07-19 23:52:58 +02:00
Adrien Destugues
edba5ea016 Add icon for Cereal... I mean SerialConnect.
* Icon drawn by Humdinger and myself.
* Also add SerialConnect entry in deskbat applications.
2013-12-21 16:59:24 +01:00
François Revol
a99cee63cc Add icon for Oricutron
Derived from App_Clock
2013-12-16 00:40:54 +01:00
François Revol
d43ede6002 Add an icon for Open Cubic Player (ocp)
The best I could do, feel free to fix.
2013-12-11 08:27:25 +01:00
Matt Madia
fb0cb1c67c Added HAIKU square graphic.
This is used on the github page and several other places that support gravatar.
2013-11-24 17:13:47 -05:00
Humdinger
d5f3d9c130 Added overlay image for read-only items.
Added a small padlock icon to mark read-only items.
See #10122.
2013-11-17 19:21:16 +01:00
Humdinger
61571fa66a Added icons for HaikuDepot and HPKG archives.
Anyone feel free to come umoroe sphisticated ones. :)
2013-11-09 18:12:01 +01:00
Ingo Weinhold
1c29b26e7c Add virtual directory feature to Tracker
Similar to stored queries, files of the virtual directory type behave
like directories -- i.e. they open in a list-mode Tracker window and
show up as an item with submenu in navigation menus. The file itself is
a plain text file in driver settings format. It can have an arbitrary
number of "directory" entries, which specify the paths of (actual)
directories for which the virtual directory provides a merged view. The
view will not show duplicate entries. For non-directory entries the
first one encountered (according to the order the directory paths are
specified in the file) will be shown. A subdirectory entry will again
behave like a virtual directory.

The support in Tracker isn't perfect yet. I'm afraid major refactoring
would be necessary to get it there.

The virtual directory file type uses a differently colored version of
the folder icon. Alternatives welcome.
2013-06-29 14:58:51 +02:00
Humdinger
ea06a55228 Committed changed Pe and sourcecode icons. (#9518)
Changed icons by jstressman. Thanks!
2013-03-11 20:14:22 +01:00
Tri-Edge AI
49126a0e9b Added ResourceEdit and modified BColumnListView, BRow and BMenu.
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2013-02-27 22:08:46 -05:00
Matt Madia
afa494c44e Added icons with better perspective, from jstressman.
From #8747
2013-02-06 20:23:00 -05:00
Michal Siwek
c0bc9998d1 Add MIME type for XAR archives (GCI work) 2013-01-06 17:48:38 +01:00
Matt Madia
26d2ff5537 Added some HVIF icons from zuMi's collection.
http://zumi.xoom.it/myhaiku/btoolbar/index.html
2012-12-30 10:17:07 -05:00
Matt Madia
efe79d9878 Updated graphics for r1a4.
+alpha
2012-09-03 10:50:14 +00:00
Matt Madia
47b7182a24 Updated HVIF icons relating to PDFs.
As per #8807,
 * Removed icons that contain Adobe's trademarks.
 * Replaced with icons designed by Justin Stressman.

Thanks!
2012-07-30 08:15:37 +00:00
Matt Madia
13586c0905 Added a possible icon to replace Deskbar's R_TeamIcon resource 2012-05-04 20:17:05 +00:00
John Scipione
615d572db0 Fix #8505 cut-off Deskbar leaf bug.
Replace the leaf bitmap with a non-cutoff version derived from the
'data/artwork/Haiku Leaf' file. So, when icon size is > 16 the full
deskbar leaf is shown without the bottom cut-off. It should look
pretty much identical at 16x16 and in vertical mode at any icon size.

Also add a deskbar_leaf.png file to the data/artwork directory
although I didn't use that file in Deskbar, instead I embed an
archive bitmap into icons.h. I got rid of icon-freelogo.rdef and
icons_logo.h.
2012-05-04 01:17:48 -04:00
Alexander von Gluck IV
2813a3e157 icons: Add some GL renderer icons
* Just some examples
* Trying to identify drivers without using
  trademarks, etc.
* Feel free to improve if your icon-o-matic
  skills are better then mine :P
2012-04-13 16:06:49 -05:00
François Revol
c7b10ca658 Fix shadows for the boxes
Not sure how to do the L shadow.
2012-04-11 13:22:01 +02:00
François Revol
9fd2efd72d Add the L glyph to the Links2 icon
Added a 3D-ish L glyph. This almost looks like the Links 2 icon but in 3D. I'm afraid I'll have to rely on stippi to fix the shadows.
2012-04-11 12:43:39 +02:00
François Revol
830c6e8d3c Add an unfinished icon for Links2 2012-04-11 04:10:12 +02:00
François Revol
46c36a5db3 Some more perspective tweaking again, hopefully it's ok now. stippi ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 08:12:54 +00:00
François Revol
f196d7198d Small perspective adjustment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-28 23:22:30 +00:00