Commit Graph

228 Commits

Author SHA1 Message Date
Axel Dörfler
035f2c2a4d When dragging an icon into an icon view that gets its icon from its MIME type,
the vector icon is now retrieved as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-15 17:49:22 +00:00
Axel Dörfler
5e0acbb2fb * Now that the icons are keyboard navigable, we need a different drop target
identifier: note, this reveals a) an incompatibility between R5 and Haiku
  with regards to drawing rects with a pen size != 1, b) a drawing bug in
  that same case in non 32-bit modes - if you have time, Stippi... :-)
* If the icon view is bound to a file, it will no longer accept that specific
  file as a drop target.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-15 16:00:08 +00:00
Axel Dörfler
745e7694e5 * The IconView is now keyboard navigable, and can be invoked (via the enter key),
or the current icon be deleted (using the delete key).
* Drag&drop between IconViews should now also work as expected for all icon
  types (only the large icon was taken into consideration before).
* Improved error handling in the Icon::CopyTo() methods


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-15 15:23:24 +00:00
Axel Dörfler
f483286d59 Application icons and supported type icons are now also saved.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-15 14:26:10 +00:00
Axel Dörfler
6e78183a77 * The application type window did not sort the types correctly (they were ordered
by type, not type name (ie. "video/..." vs. "AVI").
* The type list is now using a DropTargetListView and will take over the file types
  of any files you drop on it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-15 10:48:52 +00:00
Axel Dörfler
1415b63512 * Added a simple list view that can indicate that it accepts a dragged object.
* The extension list is now using this list view: when you drop some files on
  it, it will now take over their extension into the list.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-15 10:32:20 +00:00
Jérôme Duval
5ac11417e5 fix gcc4 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 18:34:21 +00:00
Axel Dörfler
00cf1f4671 Moved icon_for_type() to IconView.cpp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 18:26:10 +00:00
Axel Dörfler
0b0ff90fa0 * Extended the IconView quite a bit to support what we need:
- supports drag&drop from icons (only tested for non-vector icons yet)
  - allows to remove/edit/add icons (there is still need for support in Icon-O-Matic
    for this to work completely)
  - has a mode where it stores the changed icon data in an object rather than
    directly to disk; this object can maintain all BeOS icon types
  - reacts to live updates from file icons
  - supports different view sizes (for later or uses in other apps)
* works again on BeOS (it crashed before because of a BeOS "feature").
* in the Application window, the "supported types" listview will now be enlarged
  with the window instead of the long version description.
* To compensate for that, the latter now shows a scroll bar.
* Application delivered supported type icons are now shown as well, and can
  be edited - they're not yet saved, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 16:11:56 +00:00
Axel Dörfler
088a32925d Make use of the new vector_icon type in rc.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-06 12:26:54 +00:00
Axel Dörfler
bca3f1efbf Added support for the vector icons to FileTypes and DiskProbe.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 15:13:31 +00:00
Stephan Aßmus
d632afd30e * new vector icons I created in the past months
for applications, I kept the R5 icon around and the
vector icon is only used when compiling for Haiku,
for the mimetypes, I removed the R5 icon, as I don't
think they are used outside the Haiku build

naturally, I'm open for comments



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:47:18 +00:00
Stephan Aßmus
64dfde6fb0 * new copyright header
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:38:53 +00:00
Stephan Aßmus
2f7c57a986 * small cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:38:27 +00:00
Stephan Aßmus
0030de4a8f * small cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:38:02 +00:00
DarkWyrm
0b930886f5 Reverted last jamfile change. Stupid old compiler versions....
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-02 22:06:08 +00:00
Jérôme Duval
06ab845986 usb devices and vendors list from NetBSD version 1.441
support in pegasus driver for ADMtek ADM8515 device


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-01 12:26:35 +00:00
DarkWyrm
ef6d0e7858 Fix build for R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-01 01:51:29 +00:00
DarkWyrm
3d5da9f46c Updated style to come pretty close to matching OT style guidelines
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-30 23:58:30 +00:00
DarkWyrm
a3b25e4ff0 Serious simplification and retooling of Appearance app. Just system colors supported for now. Still not finished, but getting there.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-30 23:30:55 +00:00
Axel Dörfler
6d7f7b86e1 All windows should have B_ASYNCHRONOUS_CONTROLS set.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-28 23:27:40 +00:00
Axel Dörfler
37ec4f04fe * Cleanup of signatures and version infos - this is part of a fix to bug #909.
I've done all preferences apps for now, and some related.
* Some other related cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-22 14:55:44 +00:00
Ithamar R. Adema
d912bed187 Fix signature of network preference app
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-20 18:20:53 +00:00
Jérôme Duval
2634e48f59 try at taking into account the subvendor id and the subsystem id for device info
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 11:36:44 +00:00
Jérôme Duval
2c5c51146a update pci ids
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 11:32:23 +00:00
Stefano Ceccherini
55475b6493 Changed signature to match r5's one. Fixes bug 629
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-10 21:10:34 +00:00
DarkWyrm
37c77046c2 Added a quick hack to mitigate font sensitivity problems until it can be handled properly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-08 15:44:13 +00:00
Stefano Ceccherini
7b44e811c1 Implemented BitmapMenuItem::GetContentSize() to get rid of a ugly hack.
This fixes bug 488, the dash was actually the "trigger" :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-08 15:14:18 +00:00
Jérôme Duval
43e03d5827 clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-08 13:16:48 +00:00
DarkWyrm
b6ee50dd11 Style cleanups
Fixed the header to mention the authors on this app on each file
Made the prefs app font sensitive


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 20:50:40 +00:00
Stefano Ceccherini
319b44afb8 Revert didn't work correctly. The default color is 216,216,216
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-15 12:07:44 +00:00
Jérôme Duval
505a035dd2 resize to preferred radio buttons
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 19:21:53 +00:00
Jérôme Duval
3b77830fca improves font sensitiveness
code style cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 09:59:53 +00:00
Jérôme Duval
99e5e6e8d2 fix R5 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 09:58:23 +00:00
Ithamar R. Adema
9e17884040 More work on DriveSetup. Will now show all recognized disks/partitions in hierarchical format.
It still looks aweful, partly because of BColumnListView drawing.
Please note that the partition-order is wrong, due to funky sorting in BColumnListView. This will be fixed tommorow :)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-10 00:53:57 +00:00
Ithamar R. Adema
a4706a8cea Some initial work on using the BDiskDevice APIs in DriveSetup.
Early stages, so not usable yet. WIP!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-09 20:16:11 +00:00
Jérôme Duval
3aa0a9d879 we want button numbers to be updated as mouse map is updated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-03 11:52:23 +00:00
Axel Dörfler
0248bb3ed8 * Screen savers are now sorted case insensitive (forgot to commit this before).
* ScreenSavers is now completely font sensitive (but not the screen savers themselves,
  they are on their own there - note, however, that a screen saver can enlarge its
  view under Haiku (like it's already the case for Translators, even under BeOS)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-16 19:07:00 +00:00
Axel Dörfler
f8253e50bd * Fixed wrong resizing mode.
* Fixed center on screen algorithm for multi-screen scenarios.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-16 14:38:10 +00:00
Axel Dörfler
f7a09629e5 I don't know why this didn't happen under R5, but now the slider background
is no longer just white...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 12:53:35 +00:00
Axel Dörfler
32553c9788 If the supertype has the same label as the subtype, they are no longer considered
equal in the _MakeTypesUnique() method.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 10:14:13 +00:00
Axel Dörfler
139655dd9a * New super types that are added while FileTypes is running are now displayed
correctly (without an icon).
* Fixed the incorrect __HAIKU__ only section #ifdef.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-12 23:36:35 +00:00
Axel Dörfler
642090fdc6 * ScreenCornerSelector is now a BControl and fully keyboard navigable.
* simplified drawing a bit, and got rid of those scary scale*() stuff (which also
  results in better looks). The monitor now looks like the one in Screen; I think
  it should either be a very reduced form or a very detailed form, but anything
  in between often looks just odd.
* It now also listens to B_MOUSE_DOWN incl. mouse tracking, not only to B_MOUSE_UP.
* Less flickering on state changes (and focus change).
* Loading settings no longer overwrites defaults missing from the settings.
* Renamed ScreenSaverSettings::GetBlankCorner() to BlankCorner(),
  LoadSettings() to Load(), GetState() to GetModuleState(), ....
* Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-09 16:03:16 +00:00
Ingo Weinhold
78f3c7e6f5 Fixed the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-08 19:27:57 +00:00
Jérôme Duval
7d1e1e9f07 fixed view names to match R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 15:36:46 +00:00
Axel Dörfler
7c434cc5a0 Some more work on the font sensitivity - not yet complete by any means, though,
but it's shaping up.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 14:04:03 +00:00
Axel Dörfler
41158aaf91 * Renamed the ScreenSaverPrefs class to the more Be-like ScreenSaverSettings.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 12:43:31 +00:00
Axel Dörfler
af55bae2f6 * Implemented DPMS support.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 12:31:28 +00:00
Axel Dörfler
5d74f3c143 Renamed MouseAreaView to ScreenCornerSelector.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 11:57:25 +00:00
Axel Dörfler
4da6b5c328 * The screen corner selection view now follow the window bottom.
* Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 11:51:37 +00:00