Commit Graph

198 Commits

Author SHA1 Message Date
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
Axel Dörfler
3c2793fcc1 Seconds were not shown correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 17:49:09 +00:00
Axel Dörfler
9bf8dbc829 * First baby steps to a font sensitive GUI. The window now adapts its size
to the demands of the screen saver settings.
* At least temporarily, the window is also resizable; we'll see how well
  that turns out.
* The PreviewView did not have a black border around the preview.
* You can now switch again from Blackness to another saver directly...
* The turn off screen timeout is stored relative to the blanking time.
* The list now scrolls to the selection whenever the tab is shown.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 16:56:30 +00:00
Axel Dörfler
1bba1e12c6 Added ScreenSaver.cpp to screen_blanker and ScreenSaver explicetly again, to allow
some legacy screen savers to work. Thanks, Korli!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 14:22:43 +00:00
Jérôme Duval
a60f5e9c2e useless includes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 11:41:40 +00:00
Axel Dörfler
7cae4a1ee0 * Big time cleanup of the screen saver stuff, not yet finished yet, though.
Renamed lots of things, like ScreenSaverThread to ScreenSaverRunner,
  refactored code, etc. Much cleaner interfaces and code.
* Fixed a couple of bugs and in the add-on handling, especially some settings
  related bugs (ie. testing a screen saver will now use its latest settings,
  etc.).
* Correctly implemented DPMS support in ScreenSaverPrefs and the ScreenSaver
  preferences application - screen_blanker still ignores them, though.
* It's not yet font sensitive either.
* Changed the input_server add-on to not switch to the screen blanker immediately
  when it's in the "blank corner" - doesn't seem to work yet, though (only tested
  under Qemu).
* Correctly implemented the "preview" function (before, a screen saver would
  never know it rendered a preview).
* Evaluates the return value of BScreenSaver::StartSaver().
* The screen saver thread is no longer killed without notice - it's now
  always shut down properly.
* Made the code more robust against failure.
* Introduced some new bugs as well (the screen saver list view doesn't jump to
  the selection anymore, for some reason), those will be fixed later (as the
  remaining issues).
* Probably some more I forgot about.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 08:16:46 +00:00
Jérôme Duval
99e002f375 avoids drawing unknown keys
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-04 14:00:03 +00:00
Axel Dörfler
56c56cf1e3 * No longer sets the minimum/maximum slider limits to the same value - instead, if
this happens (the volume is too small to host a swap file), the slider is now
  simply disabled.
* Removed that .doxygen-conf file that somehow ended up here.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 19:11:45 +00:00
Axel Dörfler
f4e8263700 * FileTypes now stores and retrieves its settings.
* The "Show Icons" option now defaults to true.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 11:43:18 +00:00
Axel Dörfler
194b7064ee Changed the recognition rule for applications: it doesn't matter if the application
has a signature or not, what matters is that has the correct B_APP_MIME_TYPE MIME type.
This fixes bug #606.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 16:47:39 +00:00
Axel Dörfler
e3946fee88 * The window resizing is now limited to some useful bounds - this fixes
bug #617.
* The two buttons weren't aligned correctly (called MakeDefault() too
  early).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 02:17:31 +00:00
Jérôme Duval
b82aa52811 avoids analog clock flickering (ie on VPC): AnalogClock view is now of the bitmap size
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 16:12:50 +00:00
Jérôme Duval
568e0bdbf4 write errors to stderr
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 10:36:00 +00:00
Axel Dörfler
b0bc48fbd3 Some more GCC 4 and PPC fixes.
* Mesa doesn't compile yet, as some PPC specific stuff seems to be
  missing, Philippe?
* Cortex and some other stuff has been marked x86-only, although
  it's more of a "GCC 2.95.3"-only.
* I'm not sure if it's a bug in GCC 4, or if that's what the C
  standard demands, but sizeof(some_type::some_field) is not
  valid anymore :-/


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-19 15:52:21 +00:00
Stefano Ceccherini
f56a708cde FontSizeMenu marks the correct item on AttachedToWindow. Fixes bug 565
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 22:21:48 +00:00
Stefano Ceccherini
a73a27510a more cleanups. There is now a MenuSettings class which handles settings in a central way. More code simplification
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 21:31:56 +00:00
Stefano Ceccherini
fdd142c9ed Removed the Update() methods. Created a new class AutoSettingsMenu from which every menu class inherits. It gets the new settings on AttachedToWindow() automatically
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 20:23:38 +00:00
Stefano Ceccherini
1655525f95 Check the lock, some cleanups. Fixes some crashing bugs which didn't show up before for pure luck
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 20:15:36 +00:00
Axel Dörfler
797de116a2 * Loading and saving the settings was completely broken. I've moved to a different
file and put the window position there; loading/saving of the translators settings
  looks broken in (or rather, missing from) the Translation Kit as well.
* Now uses the new watching mechanism of BTranslatorRoster to keep track of new
  translators.
* Installing translators now gives better error requests, it now no longer uses
  undocumented BTranslatorRoster functionality, but the new IsTranslator() method
  to check if a certain file is a translator.
* Copying translators is disabled for now, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-02 00:23:22 +00:00
Jérôme Duval
ef9c8e384d fixes some font sensitiveness issues
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 12:34:13 +00:00
Stephan Aßmus
bc692d448e encoded Jérôme in UTF8
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-22 20:16:13 +00:00
Axel Dörfler
9b2a903688 Fixed bug #522 by removing the ScrollBar preferences application - you'll just have
to live with the default settings (which hopefully have *two* arrows per side, though,
won't they, Stephan? :-))


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-21 22:46:21 +00:00
Stefano Ceccherini
f274fa345d click_to_open now is always true, and cannot be disabled
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-19 20:19:51 +00:00
Jérôme Duval
77214f9012 when filtering, we now use GuessMimeType() so that files without BEOS:TYPE set can be scanned as well (the type provided in Filter() is application/octet-stream in this case on R5)
when selected, we only use GuessMimeType() when the type isn't found


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-19 15:28:42 +00:00
Jérôme Duval
bb55c479b8 B_COLOR_8_BIT is deprecated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-18 20:11:35 +00:00
Axel Dörfler
50f6c62f4b Fixed some issues in the "keep settings" alert:
* pressing the escape key now exits the window as it should be (SetEventMask()
  was called in the constructor, but has no effect as long as the view isn't
  attached to a window).
* The window is now font sensitive (fixing bug #450).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-17 23:22:12 +00:00
Stefano Ceccherini
1da0b2498f Fixes part 2 of bug 472
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-17 17:48:05 +00:00
Axel Dörfler
c5d10f7ae5 * Made the refresh selection window font sensitive.
* Nicer separation from RefreshSlider.
* Got rid of the RefreshView class (a BStringView does its job now).
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-16 20:55:53 +00:00
Jérôme Duval
20ad5fdfba now better place comboboxes taking font size into account
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-13 15:45:41 +00:00
Axel Dörfler
541143a08b Fixed small layout issue with the sniffer rules control.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 18:36:55 +00:00
Jérôme Duval
336bfcc127 fix for bug 455: desktop folder was incorrectly handled for refs from Tracker
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-10 21:34:05 +00:00