Commit Graph

48 Commits

Author SHA1 Message Date
Joachim Seemer
a4cf8811e5 Aligned strings and sliders by pushing them a few pixels here and there. But really, the whole app is in need of proper layouting using the layout API...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-09 12:34:32 +00:00
Joachim Seemer
fe02d18b1d Renamed a few strings as discussed in #7327 by applying xray's patch with a few additions. Closing #7327.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-09 12:21:04 +00:00
Jonas Sundström
560ff4478d Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-25 22:13:48 +00:00
Jonas Sundström
d374a27286 App name localization.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 20:33:35 +00:00
Philippe Houdoin
edda6e98b9 Tell user why Turn Off feature is not available.
Close #3274.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-16 15:36:05 +00:00
Adrien Destugues
c9ea828200 Patch by Mike Roll as part of GCI: i18n screensaver preferences.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-24 09:42:38 +00:00
Axel Dörfler
79c273aee8 * Some cleanup, no functional change.
* Looks like this is neither using the layout engine nor has it been localized
  yet!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-30 13:49:27 +00:00
Jérôme Duval
ab0e16df04 Applied idea from idefix (see bug #5938): try to launch screen_blanker by path when a launch by signature fails.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-29 22:30:42 +00:00
Axel Dörfler
9562c7f592 * Fixed #4339 - I did not use stimut's patch (but thanks a lot, I wouldn't even
have started looking into it without it!), but solved it a bit differently by
  moving the state saving into the destructor, and removing the tab in question
  manually afterwards.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 18:44:28 +00:00
Adrien Destugues
9c1a9b926a * Patch by Humdinger to convert a lot of things to sentance case.
* Cleanup and update of all the touched catkeys files


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-21 12:51:41 +00:00
Ryan Leavengood
1c5a1e55c1 Suggestion from Rene:
- Make the BuildScreenSaverDefaultSettingsView function be built into
libscreensaver.so and under the BPrivate namespace. This avoids the repetition
of the compiled code in each screen saver that uses it.
- Updated the ScreenSaver preferences to use this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 20:48:14 +00:00
Ryan Leavengood
db9feb346e - Reordered headers to match coding guidelines.
- Added use of the new BuildScreenSaverDefaultSettingsView function (this is
basically the same code.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 20:22:30 +00:00
Philippe Saint-Pierre
37dd4be139 Code style violation (80 char limit);
No functional changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 02:19:13 +00:00
Philippe Saint-Pierre
4973feeaa0 When testing a screensaver..
1. Stop the preview
2. Start it again after the test is done

This prevents the case where the screen is filled with a color during the first frame of the screensaver. 
When you return to the preview (after the Test), that first frame is long gone and the preview is then invalid.

Reference : DebugNow screen saver.

Ticket #4252


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 02:10:43 +00:00
Jérôme Duval
3f60937555 Patch from mattlacey: Apply screen saver selection when it's selected, not on closing. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-23 12:19:34 +00:00
Alexandre Deckner
b17ef798c7 - Decouple ModulesView::SaveState() from ModulesView::_CloseSaver() and thus ModulesView::DetachedFromWindow(). When called by BWindow destructor,
the needed derived member fSettings was already destroyed by the derived ScreenSaverWindow destructor. See backtrace in #2287
  Fixes #2287 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-02 17:08:42 +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
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
Axel Dörfler
02f3505a31 The screen saver is now stopped before deleting its view...
Thanks to John Drinkwater and Fredrik Ekdahl for the hint!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-21 13:20:20 +00:00
Axel Dörfler
7acd0ef0b0 Now makes sure that the other sliders are updated on keyboard input as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 15:36:22 +00:00
Axel Dörfler
8b11e3b15d * Changing any of the sliders will now cause the settings to be saved.
* The TimeSlider now sends an update message for ongoing changes, and an
  invokation message when the mouse button was released (standard BSlider
  behaviour).
* Fixed incorrect initial string when the screen saver should start after
  30 seconds of inactivity.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 14:27:05 +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
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
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
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
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
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
Jérôme Duval
b221cf0502 fixed window title
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-21 15:23:40 +00:00
Ingo Weinhold
758b1d0e05 Fixes that make Haiku build with gcc 4. Mainly out of the following
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
  declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
  explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
  something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
  'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
  is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
  Otherwise the an inner class with that name is considered as friend.
  gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-12 23:27:14 +00:00
Jérôme Duval
09bae796d2 improved visuals
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-10 18:23:32 +00:00
Jérôme Duval
f13c45ad3f visual improvement
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-06 22:45:31 +00:00
Jérôme Duval
ae4f21862f we now save the settings when test button is clicked
tabs are reworked to avoid data loss


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-02 15:15:37 +00:00
Jérôme Duval
5e7558d87c fixed password behaviour for screensaver kit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-31 15:36:40 +00:00
Jérôme Duval
12e1daa3cc copyright update
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-24 15:13:52 +00:00
Jérôme Duval
bc40c86cb7 clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-23 11:29:30 +00:00
Jérôme Duval
1437c09cb7 screen_blanker signature is at one place
modules tab selection makes the right module selected


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-01 12:53:23 +00:00
Jérôme Duval
4835f2d292 removed debug
password button is enabled when needed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 18:28:06 +00:00
Jérôme Duval
f058feb72f module states are now saved correctly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 12:05:22 +00:00
Jérôme Duval
e3d946e533 cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 09:08:18 +00:00
Jérôme Duval
c566b0927d added license headers
changed the way prefs is stored, so that we have default settings
general cleanup
time sliders are now linked together as on R5
password window is centered onscreen


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 07:41:58 +00:00
Jérôme Duval
66dee31a87 clean up, style change, unused files are removed
added ScreenSaver.cpp to ScreenSaver preferences to have Matrix working


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-26 16:12:05 +00:00
Axel Dörfler
a10cf76ef5 Renamed src/prefs to "preferences", as the directory is usually called in BeOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-24 15:57:12 +00:00