Commit Graph

413 Commits

Author SHA1 Message Date
Axel Dörfler e2f576d9c2 Followed Andreas' suggestion, and enlarged timeout to 12 seconds.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-09 17:01:39 +00:00
Alexandre Deckner b72c483656 * as discussed on the dev list, fixed revert and apply behaviour (tested
under vesa and supported mode). Changed message of the vesa warning 
alert. TODO: additional warning text (see discussion)
* apply now stays deactivated if you only change the workspace count as 
it is applied instantly already.
* disabled current workspace menu item for now since it is not 
implemented. see ticket #696


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-06 20:17:20 +00:00
Stephan Aßmus 89abb79148 Tweaked the pen shadow to be a bit smaller.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-06 11:02:48 +00:00
Stephan Aßmus d00563dfeb * Created an icon for the Mail preflet, based on the Mail app icon.
* Added vector icon loading for the interface (Haiku build).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-05 21:21:58 +00:00
Rene Gollent 6f432b15e5 Fix gcc4 warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-01 01:12:22 +00:00
Rene Gollent f6d52cb737 - Added operator = implementation to rgb_color for convenience.
- Major cleanup of Appearance prefs - colors are now dynamically
  read from the app_server, and updating them also works, but
  triggers a bug: the state of the current window somehow gets
  confused, i.e. if I update the panel background color, for some
  reason the color of the BButtons in the appearance pref change color
  and also the textviews begin misbehaving. Have not yet tracked down
  the cause of this, but newly created windows after making the change
  do show up with the updated color and behave properly. Also vastly
  simplified the pref and cleaned up some obsolete definitions.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-01 00:57:18 +00:00
Alexandre Deckner 793fb95c82 * not a "chef d'oeuvre" but revert and apply buttons should behave as
expected now
* removed some dead code


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-29 16:17:18 +00:00
Alexandre Deckner 988e5c553f * set the view color after calling BControl::AttachedToWindow since it
overrides it, thanks Axel!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-26 00:17:02 +00:00
Alexandre Deckner c80d10ee35 * fixed background flickering
* removed dead code (doesn't use pulse anymore)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-25 17:04:37 +00:00
Alexandre Deckner 877c1bc7fb * more style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-25 14:39:22 +00:00
Alexandre Deckner ad93c2f5eb * style cleanup, new style casts, license header updates
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-25 13:36:46 +00:00
Alexandre Deckner c8f93d1843 * rewrote drawing to use an offscreen view
* made keys move down when pressed
* reduced font size of locks light's text to fit in

This fixes #251, style cleanup will follow


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-25 10:08:27 +00:00
Stefano Ceccherini 1d9a705ed4 Disable the apply button when settings have been...er.. applied. Do some
enabling/disabling of the revert button too.
Initialize Settings::fAuto to a default value on construction.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-20 10:37:11 +00:00
Alexandre Deckner 644c84564a - fixes the Keymap preflet instead, as suggested by korli.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-19 12:43:52 +00:00
Ithamar R. Adema f2f3c67292 Use new transport callbacks from printer preference.... transport addons now choose what to publish in the printers pref add printer dialog...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-11 23:48:05 +00:00
Jonas Sundström cd6b83ddc1 The title of the (primary) window of (non-document) apps and preferences should be the filename of the executable. File and window names should be changed in tandem in the future. All IMO. Sorry, Marcus, for changing TV-O-Rama. :/ We may want to consider using more proper language, e.g. 'Screensaver' or 'Screen Saver' instead of 'ScreenSaver'. DeskCalc or 'Desk Calculator' should be just Calculator. We should avoid clinging to BeOS history, like with the name CodyCam, which hardly makes any sense anymore, even if you happen to be one of the few BeOS oldtimers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-09 13:26:28 +00:00
Stephan Aßmus ec103c3c38 Moved DriveSetup from preferences to apps. Changed HaikuImage script
accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-27 13:14:50 +00:00
Stephan Aßmus ebf682ef49 * added some more details to TODO file
* a little cleanup in PartitionList to respect the 80 chars/line limit
* added PartitionList::AddSpace() and alternative PartitionListRow
  constructor in preparation for support of empty spaces on devices
* refactored a _InsertIndexForOffset() method, the insertion index is
  now based on offset instead of partition_id (untested)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-27 12:58:29 +00:00
Alexandre Deckner 53a1a99de7 - small fix, the value was checked before being updated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-23 15:17:26 +00:00
Alexandre Deckner 68c0d50c01 - Minor fixes to my last BColorControl patch
- Changed Backgrounds preflet to account for the fixes in BColorControl

First commit :) Hi everybody!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-21 11:54:53 +00:00
Stephan Aßmus 750a346b75 * added icon for DriveSetup. According to my girlfriend, it's a shoe box
with a colored disk. Oh well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-20 20:34:06 +00:00
Stephan Aßmus a39fca4de3 * rewrote the DiskView display, it is now based on BViews and the layout
management
* added labels for partitions in the DiskView
* added selection via clicking a partition in the DiskView
* indicated menu items for unimplemented features
* added help message for freshly opened DriveSetup
* added TODO file with some of my ideas for the next steps
* refactored adoption of current disk/partition, the disk is not
  unnecessarily deleted and recreated anymore
* gone is the colorfulness, the partitions are colored in greys according
  to their level in the hierarchy


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-19 15:18:08 +00:00
Stephan Aßmus dccabf3cc9 * mark the 2048 block size menu item as default
* don't access invalid memory at the end of Go()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-17 12:03:11 +00:00
Stephan Aßmus 13b76705a0 * forgot to update the blocked window's redrawing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-16 18:41:40 +00:00
Stephan Aßmus 2e3a7b96c0 * finished the initialization paremeter panel and used it in
MainWindow::_Initialize()... setting the name and block size should work,
  though I have not tested this yet due to lack of available partitions.

TODO: Use driver settings API from libroot to build the parameter string
and move the GUI of the InitParamsPanel into the BFS add-on, implement
BPartition::GetInitializationParameterEditor() accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-16 18:35:58 +00:00
Karsten Heimrich c0a4294edd small cleanups
password window is now font sensitiv, can be seen as part of ticket #705



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-16 00:07:11 +00:00
Stephan Aßmus 5d24ef2e15 * disable sorting in the partitions list
* sort the partitions by id (TODO: should be disk offset, but works as 
  intended now)
* expand the partition tree entries by default
* renamed DriveVisitor to ListPopulatorVisitor, moved implementation into
  class definition
* added MountAllVisitor and used it to implement according menu item
* added menu item members to MainWindow, so it keeps the pointers
* added MainWindow::_EnabledDisableMenuItems() which looks for the
  current disk and partition and their properties to en-/disable the items
* moved BDiskDevice member from DiskView to MainWindow, renamed to
  fCurrentDisk
* implemented mounting and unmounting the currently selected partition,
  mounting works, unmounting does not work as in Tracker, but the error
  description is not as helpful, or just as helpful, since Force Unmount
  does not work in Tracker at the moment
* implemented initializing the selected partition, not tested to the end,
  but likely works, so beware! (TODO: finish the parameter window and use it,
  partitions are hardcoded to "BFS Init Test" and 2048 blocksize). The
  process displays a warning at the beginning and another one at the end
  before writing anything to disk, but please do take it seriously... :-)
* store and restore the listview column settings (width of columns mostly)
* more appropriate usage of the BDiskDeviceRoster API
* improved DiskView display a little with frames and more contrast in the
  colors
* implemented FrameResized() to adapt the box layout
* no longer pass disk pointer to BDiskDeviceRoster::VisitEachPartition(),
  since it will overwrite it!
* no longer use BDiskDeviceRoster at all, BPartition::VisitEachDescendant()
  is what we need
* added a WIP InitParamsPanel, does not compile, but is not added to the
  Jamfile yet, it will be a blocking panel like a BAlert and will later
  be refactored into the parameter editor add-on for BFS


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-15 23:09:20 +00:00
Stefano Ceccherini 48044dcc41 The custom MenuBar in the menu preflet was mixing resize mode with
flags.. thanks to r23424 I could notice.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-15 13:39:04 +00:00
Jérôme Duval 269fdeefff style cleanup
whitespace => tab


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 23:05:30 +00:00
Jérôme Duval 1beb8bb1ba whitespace => tab
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 22:17:50 +00:00
Jérôme Duval c71ff07bd9 style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 22:17:15 +00:00
Marcus Overhagen 27d6150677 fix gcc4 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 17:48:32 +00:00
Stephan Aßmus 3dfc4833e3 applied patch by aldeck:
* the Revert button always returns to the settings which were active
  when the preflet was started
* the Defaults button always applies the default settings (the Revert
  button then still reverts to the original settings instead of those
  which were active when "Defaults" was pressed)
* the enabled state of the two buttons is correctly maintained
* code cleanup and refactoring

Thanks a lot, aldeck!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 10:36:47 +00:00
Stephan Aßmus 789091541e * cache the result of visiting the partitions
* make sure the colors are bright enough


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 00:30:24 +00:00
Stephan Aßmus 65a544dfb6 * the DiskView is now displaying the partition layout grafically and draws a
frame around the currently selected partition (in the listview)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-08 22:35:45 +00:00
Axel Dörfler 4d85dcbce8 Removed the experimental BColumnListView class from libbe.so, and moved it
into its own archive (libcolumnlistview.a). Only DriveSetup is using it at the
moment, anyway.
IMO we should reimplement and completely redesign a class with this
functionality before considering making it public.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-30 13:31:45 +00:00
Stephan Aßmus 966510fd6b * remove these targets from the app_server test environment, they are not
really needed in this context anymore


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-25 01:21:32 +00:00
Stephan Aßmus bec6af721f * some work in progress to display a view of the selected disk device
* build DriveSetup for the test environment, though it doesn't display anything
  in that mode... just to work on some general things, maybe I add a fake
  partition tree just to test things later
* cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-09 15:41:31 +00:00
Stefano Ceccherini 9b95b879f7 Set the low color to be the same as the view color, otherwise
antialiased text won't work correctly (for example when you set a dark 
color).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-06 21:17:46 +00:00
Axel Dörfler 96bc573e6e Include <be_apps/Tracker/Background.h> specifically, instead of adding the
header directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-24 15:35:07 +00:00
Axel Dörfler d46836a8b0 Now opens the types window on B_SILENT_RELAUNCH if it's not already open.
This fixes bug #1628.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-19 15:30:32 +00:00
Stephan Aßmus 0be6cbd37d * extract a Support.cpp/h with utility functions
* fix the problem with duplicated parent partition entries, we need to recurse
  into child rows when findig a particular BRow, or else RowAt() or CountRows()
  will only return the top level list entries
* disabled the bitmap column for now, to get a better overview of "level"
* display the device path also for partitions, not just devices


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-10 23:48:53 +00:00
Stephan Aßmus c900be6501 * fix saving settings (don't let the window quit by itself)
* add partition creation menu items
* filter filesystems by their support for "initializing"


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-07 22:16:06 +00:00
Stephan Aßmus f9ca8faab7 * renamed main.cpp to DriveSetup.cpp
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-07 20:11:56 +00:00
Stephan Aßmus 753e3d4ef7 cleaned up the code:
* conforming app signature
* tracked down copyright info
* removed too technical list columns
* reimplemented storing/restoring settings (removed PosSettings)
* relayouted/simplified menu structure
* rewrote rdef
* enabled debug output for now


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-07 20:10:19 +00:00
Jérôme Duval 0aded81728 clean the background for all workspaces when no image is selected
this fixes bug #1602


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-06 23:35:07 +00:00
Jérôme Duval 69e65f2f57 replaced misc values with respective constants
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-29 19:10:30 +00:00
Axel Dörfler d1516993c2 Made the menu fields variable width again; it looked a bit ugly before to me.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-26 13:32:06 +00:00
Axel Dörfler a22279fa0b Fixed build under BeOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 13:51:50 +00:00
Karsten Heimrich 85b69a9437 * code cleanup, small refactoring
* make the panel font sensitve within the possible plain font range

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 12:40:57 +00:00