Commit Graph

161 Commits

Author SHA1 Message Date
John Scipione
0f7a8c1da4 DebugNow: Style fixes, export class def to header
Update copyright header, make colors static const, * goes with type
2014-03-04 18:05:21 -05:00
John Scipione
2094bbb315 Gravity: Add break fixing white option 2014-02-25 18:14:06 -05:00
John Scipione
cbc568498d Flurry: Show a preview... try number two
Also, we are safe to enable direct mode now (it already was)

This is untested due to this screensaver currently crashing but it should
work once #10206 is fixed.

Remove obvious comment in DirectConnected
2014-02-23 04:10:09 -05:00
John Scipione
25952f8e92 Revert "Flurry: Show a preview"
This reverts commit 61935d56e6.
2014-02-23 04:06:43 -05:00
John Scipione
8e727810a7 Gravity: Live update settings and cleanup
Now that this screensaver shows a preview, update the settings live
so that the display updates immediately.

Since this didn't work before this screensaver took a shortcut and only
updated the settings when the saver started.

Some other changes include:
* Update copyright header, add myself to the authors list.
* Convert Particle from using a BList to a BObjectList and remove casts.
* Use switch statement to set particle color that has a default case for blue.
* Initialize member variables to a default value in the constructor.
* Remove Constants.h, the remaining constants are in ConfigView.cpp
* Convert deprecated GroupLayoutBuilder to a LayoutBuilder template instance
* Convert GravitySource from a class to a struct since all members are public.
* Simplify realCount calculation to just a single left shift.
* A bunch of style fixes
  - lots of whitespace fixes
  - rename rect to frame in GravityView and ConfigView
  - reorder the frame parameter first in GravityView and ConfigView
  - curly brace goes on same line as class or struct declaration

This turned out to be a bigger change than I originally intended to make.
2014-02-23 03:50:15 -05:00
John Scipione
60f8c91355 Gravity: Style fix, rename msg parameter to message 2014-02-23 02:16:29 -05:00
John Scipione
ed18c89481 Gravity: Show a preview
Also, we are safe to enable direct mode now.
2014-02-23 02:14:09 -05:00
John Scipione
61935d56e6 Flurry: Show a preview
Also, we are safe to enable direct mode now.

This is untested due to this screensaver currently crashing but it should
work once #10206 is fixed.
2014-02-23 02:12:39 -05:00
John Scipione
823781426f GLifeSaver: Show a preview
Also, we are safe to enable direct mode now.
2014-02-23 02:10:18 -05:00
John Scipione
051d89e19c IconSaver: bump max icon count to 384
300 wasn’t enough
2014-01-27 15:13:28 -05:00
John Scipione
8165696e02 IconSaver: fix potential memory leak
delete icon doesn’t do anything, delete[] data does.
2014-01-27 15:12:42 -05:00
John Scipione
4a0dcb5bfa IconSaver: remove extra space 2014-01-27 15:11:59 -05:00
John Scipione
1c56a03c51 Icons Screensaver: Get icons from MIME db again
The previous method only queried application icons, not document icons.

Unfortunately, the app icons in the MIME DB are broken/not present.
IconsSaver only displays document icons for the time being.

Because of better error checking the garbled icons are filtered out though
at least.

Next step is to fix the application icons in the MIME DB.

Some other changes:
* Don't draw if the BBitmap was not filled out correctly
* Add Vincent Duvert to authors list, he's already in copyright
* Convert fVectorIcons from a BList to a BObjectList
* Put vector_icon struct in it’s own header (needed for above)
* Remove type param from vector_icon struct
* Bump max icon count to 300, hopefully this should be enough, 128
  is too few for app and document icons in default install.
2014-01-24 16:01:35 -05:00
Jérôme Duval
8e887ea244 Message: use BString.Split().
Could help with #10209.
2014-01-23 19:03:31 +01:00
John Scipione
0def0b0d62 Icons Screensaver: Grab vector icons via query, fixes #10166
Iterate through each BFS volume and find vector icon data in apps
using a BFS query. Cap off at 128 total icons, we could get more if
desired. Default install comes with ~100 at present.

Make sure we have at least 20 icons (15 display at a time) before we
start drawing icons.

Rename VectorIcon to vector_icon and treat it like the POD struct that it is.
Also add a type_code parame to vector_icon that should be set to
B_VECTOR_ICON.

Some style fixes also included, e.g. turned defines into static const int32’s.
2014-01-22 20:43:22 -05:00
John Scipione
3cbb1132f8 Icons Screensaver: Style fixes only 2014-01-22 20:39:37 -05:00
John Scipione
05cf63e3a7 Icons Screensaver: Update copyright header and version
Add myself to authors, assign copyright to Haiku, Inc.

Bump version to 1.0.1-final, update short and long description
2014-01-22 20:35:05 -05:00
Alexander von Gluck IV
eb45d168e1 GL: Remove OpenGL kit, x86 Mesa
* Depend on Mesa packages to provide functionality
2013-12-22 23:36:02 -06:00
John Scipione
7bcfb21538 IFS: Fix CID 609761 init members 2013-12-20 18:20:01 -05:00
John Scipione
52a95e6f7b IFS Saver: CID 991177 (#1 of 1): Dead default in switch 2013-12-20 18:18:30 -05:00
John Scipione
7d265f4207 Spider Saver: init fPreview to default value
Fixes CID 609764
2013-12-20 17:50:23 -05:00
John Scipione
a1e717b8f7 Fix crash in Message Screensaver
In the Draw() method check to make sure that the view is valid, is
connected to the window, that the window is locked, that the screen
is valid and that the BBitmap buffer is valid. This (hopefully) fixes the
last of the bugs experienced due to #4260.

It is not sufficient to just check that the view is valid to prevent the crash,
you must also check that it is connected to a window via Window() and
that the window is locked.
2013-12-20 16:13:16 -05:00
John Scipione
e11db35d48 Flurry Screen Saver: style fixes, correct Jamfile 2013-11-14 23:30:07 -05:00
Murai Takashi
9e0f440c1c Fix mismatching allocation and deallocation
Fixes #9901.

Signed-off-by: Matt Madia <mattmadia@gmail.com>
2013-11-10 18:33:35 -05:00
Ingo Weinhold
cf70d345b2 Merge remote-tracking branch 'haiku/master' into package-management
This reverts 8f7f28a7c3 (OpenGL: Upgrade
to
Mesa 9.2).

Conflicts:
	build/jam/BuildFeatures
	build/jam/HaikuImage
	build/jam/OptionalPackages
	build/scripts/build_cross_tools_gcc4
	src/add-ons/opengl/swpipe/Jamfile
	src/apps/diskusage/Jamfile
	src/kits/tracker/ContainerWindow.cpp
	src/kits/tracker/DeskWindow.cpp
	src/kits/tracker/Jamfile
2013-09-13 01:02:28 +02:00
John Scipione
01f623b00f Leaves: Don't save the control, already have value.
I was looking at the Leaves screensaver for reference and I noticed
this peculiarity. It saves a pointer to each slider control
just so that it can later read their values, but, the values are
already provided in the message in the be:value property, so just
use that instead.
2013-09-02 02:53:50 -04:00
Ingo Weinhold
b0944c78b0 More work towards hybrid support
* All packaging architecture dependent variables do now have a
  respective suffix and are set up for each configured packaging
  architecture, save for the kernel and boot loader variables, which
  are still only set up for the primary architecture.
  For convenience TARGET_PACKAGING_ARCH, TARGET_ARCH, TARGET_LIBSUPC++,
  and TARGET_LIBSTDC++ are set to the respective values for the primary
  packaging architecture by default.
* Introduce a set of MultiArch* rules to help with building targets for
  multiple packaging architectures. Generally the respective targets are
  (additionally) gristed with the packaging architecture. For libraries
  the additional grist is usually omitted for the primary architecture
  (e.g. libroot.so and <x86>libroot.so for x86_gcc2/x86 hybrid), so that
  Jamfiles for targets built only for the primary architecture don't
  need to be changed.
* Add multi-arch build support for all targets needed for the stage 1
  cross devel package as well as for libbe (untested).
2013-08-01 08:54:06 +02:00
Philippe Saint-Pierre
68aca9a477 Message screensaver: memory leak fix - CID 601698 2013-07-17 13:25:42 -04:00
Philippe Saint-Pierre
fa30ef5640 Message screensaver: close pipe with pclose - CID 990944 2013-07-17 13:06:10 -04:00
Ingo Weinhold
ff2e520912 Remove the old "CVS" package rules
... and all their invocations.
2013-06-30 18:59:11 +02:00
Ingo Weinhold
e97e4b74a0 Update glu and mesa package
Also use the new build feature rules.
2013-06-14 00:48:08 +02:00
Jérôme Duval
847f1a92bd spider screen_saver: fixes 64 bit warnings 2013-05-10 21:31:47 +02:00
Murai Takashi
2e1347b2bf Fix more GCC4 narrowing conversion warnings
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2013-05-03 19:34:40 +02:00
Alexander von Gluck IV
da08cea0e3 GL: Remove gcc2 no-warning hacks
* Solved in hrev45296 through updated package
* Resolves #8882
2013-02-17 18:18:17 -06:00
Jerome Duval
89deb8f273 Flurry screensaver: fix signature for consistency with others 2013-01-05 15:58:34 +01:00
Tri-Edge AI
8cd10c710f Gravity: Big code changes
* Reworked code style completely.
* Improved the behaviour of the particles.
* Made particles smaller (2,5x performance gain).
* Cleaned unnecessary includes.
* Tried improving performance with glCallList - performance dropped even more.
* Tried improving performance with glDrawArrays - no noticeable performance changes.
2012-12-31 07:42:51 +00:00
threedeyes
27ca4ba2ad Gravity: Disable warnings for gcc2 build. 2012-12-30 03:59:25 +00:00
Alexander von Gluck IV
d917edcecd gravity: Fix path in Jamfile. Fix build 2012-12-27 17:35:48 -06:00
Alexander von Gluck IV
93f124253a screensaver: Add gravity based on GCI 2012 work
* A modified version of TriEdgeAI's original work.
* Cleaned up style problems
* Some virtual functions didn't mesh properly with
  ones defined in the OpenGL kit (Draw for example)
* Wrote Jamfile
* Add missing include cstdlib for rand
* Not in image yet as it still needs gcc2 testing
2012-12-27 16:40:47 -06:00
threedeyes
678934b3ea Code cleanup. 2012-11-29 07:55:20 +00:00
Alexander von Gluck IV
6308afb12c GL: Make sure to use GLU headers.
* The HEADERS_DEPENDENCY isn't needed
  for GLU as Mesa is a dependency and requires
  GLU to build
* I actually didn't break the build,
  we were however using the Mesa GLU headers
  with the external GLU lib which could be bad
2012-11-18 08:22:38 -06:00
François Revol
3704c0f8b1 Add a totally useless Shelf screensaver
* Allows dropping replicants, and showing them later on when idle.
* Needs some cleanup.
2012-11-05 23:15:50 +01:00
Niels Sascha Reedijk
059d39f1b9 Localize strings in the GLife screensaver 2012-07-26 18:37:40 +02:00
Alexander von Gluck IV
e278dc80e9 Flurry: Fix Mesa dependency for out-of-order builds
* Resolves #8717
2012-07-11 14:15:06 -05:00
Oliver Tappe
546208a539 More catalog-related cleanup.
* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
  B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.
2012-04-16 21:31:22 +02:00
Oliver Tappe
541ff51a6e Cleanup BCatalogAddOn.
* rename BCatalogAddOn to BCatalogData, since it doesn't represent an
  add-on, but rather the catalog data provided by an add-on
* move BCatalogData out of Catalog.{h,cpp} into its own header and
  implementation file
* drop BCatalogData::MarkForTranslation() methods, they're not needed
* drop BCatalog::GetNoAutoCollectString() methods, they're not being
  used anywhere
* cleanup the B_TRANSLATE_... macros somewhat
* add versions of the B_TRANSLATE_MARK_... macros that are meant to be
  used in void context (when the string isn't being used by the program,
  just meant to be picked up by collectcatkeys).
* adjust several apps to use B_TRANSLATE_MARK_..._VOID where needed
* adjust users of BCatalogAddOn accordingly
2012-04-16 00:04:41 +02:00
Alexander von Gluck IV
05779cd9e3 glife: Enhance controls
* Re-organize controls to fit small ScreenSaver window
* Add life delay factor slider
* Make control labels more dynamic
* Style cleanup
2012-04-08 00:38:58 -05:00
Alexander von Gluck IV
c81caff900 glife: Redesign control layout
* Use BGroupLayoutBuilder vs static BRect's
2012-04-08 00:38:55 -05:00
Alexander von Gluck IV
09e2df87ba glife: Style cleanup
* BScreenSaver control view cleanup
* Style cleanup some variable names
2012-04-08 00:38:53 -05:00
Alexander von Gluck IV
4b66f476de glife: Style cleanup. Spaces. No functional change. 2012-04-08 00:38:50 -05:00
Alexander von Gluck IV
f6dff25576 glife: Style cleanup. Class var names. No functional change. 2012-04-08 00:38:48 -05:00
Alexander von Gluck IV
cfe5c09adf glife: Ensure viewport isn't null.
* Ensure we don't dereference a null pointer.
* Fixes GLife crash
2012-04-08 00:38:46 -05:00
Alexander von Gluck IV
8bc51bee4c glife: Initial style cleanup 2012-04-06 20:04:26 -05:00
Alexander von Gluck IV
3c94b5cb05 glife: Rename *.hpp to *.h 2012-04-06 19:43:48 -05:00
Alexander von Gluck IV
9339eb2063 glife: Enable in Jamfiles / build system 2012-04-06 19:31:58 -05:00
Alexander von Gluck IV
51f9263bf2 glife: Pass const char* for name vs char*
* Upgrades to Mesa vs Be BGLView
2012-04-06 19:30:39 -05:00
Alexander von Gluck IV
0b4c5624c6 screen_savers: Initial import of GLife
* Donated to Haiku by author (Aaron Hill) under
  the MIT license.
* Resources conveted to rdef
* Headers cleaned up
* Jamfile created
2012-04-06 19:18:50 -05:00
Alexander von Gluck IV
4f3b7115be gl: Unify DirectConnected functions
* Partial undo of hrev43864 - 3dmov
  I was using an old GL renderer. After my indirect
  GL fix, this started working well without direct
  rendering. (sorry for the spam)
* Clean up the other GL DirectConnected functions
  Make it easy for know what to disable to toggle
  Direct Rendering.
2012-03-16 03:39:31 +00:00
Alexander von Gluck IV
3e0c69a0e6 Add hacks for older gcc2 Mesa 7.8.2 support
* Call different functions depending on Mesa version
* The --no-warnings is for the GL headers which produce
  large numbers of attribute directive ignored warnings
  that cannot be disabled on gcc2
2012-01-10 05:13:19 +00:00
Alexander von Gluck IV
27fdeae9e1 Use optional package gl headers 2012-01-08 01:42:10 -06:00
Siarzhuk Zharski
746656272a Fix non length-aware styling of localized strings.
* The about-like screen saver info has bold styling of heading part
  of the information string string. Localizing this string has
  provoked partial styling and visual "corruption-looking" glitches.
2011-11-29 09:00:51 +01:00
Joachim Seemer
4269010322 Fixed copy and paste error. Fixes #7640.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-05 04:58:53 +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
Joachim Seemer
044f12ae62 Localization of screensavers. Fixes #7326.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 16:42:58 +00:00
Stephan Aßmus
4153964a10 Moved IconUtils.h to Interface Kit and therefor made it an "official" header. Since the class has no
virtual but only static methods, it is not so likely that binary compatibility issues may arrise
from using it in new apps. Adjusted all the Jamfiles that included the private libicon headers. Note
that it was never necessary to link against libicon.a, since it's part of libbe anyway. There was one
instance where that was done. Hopefully it does not break the build, but I did this change a while ago,
tested it and then the harddrive began failing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 09:12:38 +00:00
Philippe Houdoin
439859b9a7 Screensaver name must support being localized too.
Thanks Jorma Karvonen to point this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-20 12:12:58 +00:00
Philippe Houdoin
a6b6cbbcdd Add Leaves screensaver localizzation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-20 10:54:48 +00:00
Axel Dörfler
1fd632e67c * Fixed some more style violations.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-04 19:26:44 +00:00
Ryan Leavengood
0341cc7868 Use a real random number generator instead of using a time hack. Add myself to
authors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-04 18:57:24 +00:00
Ryan Leavengood
415b188949 Remove kOneSixth constant, replace some uses of floats with ints, add f
specifier to float constants. Hopefully I'm done with this now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-04 17:53:55 +00:00
Ryan Leavengood
3107597abe Fix coding violations, improve variable naming, remove strange float constants
like 4.f.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-04 16:14:25 +00:00
Ryan Leavengood
57d51b24ff Add two new screensavers created by students from the GCI:
Butterfly by Geoffry Song.
Leaves by Deyan Genovski and Geoffry Song.

Thanks guys!

I fixed a few coding violations and wrote the Jamfiles.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-04 01:10:59 +00:00
Jérôme Duval
5e819d74dd CID 1464: Delete an array with delete[]
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-07 23:49:49 +00:00
Wim van der Meer
b3df2c9a87 Fixing BeOS binary compatibility.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-28 22:16:07 +00:00
Jérôme Duval
786171e012 * Locks fLocker when drawing. This avoids a cleanup while drawing (fixes bug #6138).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 14:05:04 +00:00
Stephan Aßmus
a070cf5306 * Indentation update in DateTime.h
* Extended BTime, BDate and BDateTime with archiving functionality.
 * Adjusted code which uses these classes, since including DateTime.h
   already imports the classes from the BPrivate namespace.
 * Moved DateTime.h into Support Kit. It is still in the BPrivate namespace,
   as I am uncertain what to do with time_type and diff_type. I'd favor
   moving the constants into the classes itself. Possibly removing the B_
   prefix from them. Feedback welcome.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 12:08:47 +00:00
Stephan Aßmus
fcc3e627e1 Patch by Humdiner:
Changed strings in add-ons to sentence case. This is case-add-ons.diff
from #5169.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 11:48:15 +00:00
Ryan Leavengood
edbcbaa631 Updated the screensavers Haiku, Icons and Message to use the new default
settings view function.
Also some clean-up.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 21:49:15 +00:00
Ryan Leavengood
5d4dc64e6f Appropriately based on the name, DebugNow was full of bugs:
- The text was not centered because it was not taking into account the left
  offset of the text rendering, which can be gotten from the left value of the
  rect returned by GetBoundingBoxesForStrings. I'm pretty sure this was 0 on
  BeOS, so there might be problems with our GetBoundingBoxesForStrings. It
  doesn't make sense for flat edged glyphs like D and N to be offset. But
  nonetheless taking into account that left offset centers the text in this
  screensaver. This fixes #4261.
- The text rendering also could look weird because the low color was not set to
  blue. Again I'm pretty sure this was not a problem on BeOS, but could be
  related to the new subpixel AA rendering. Setting the low color fixes this
  and therefore fixes #4252.
- To avoid any weird repaint issues in the ScreenSaver preferences preview
  view, the whole background is painted every frame now.
- I also added an escapement_delta member which is used for both the
  GetBoundingBoxesForStrings call and the eventual text rendering. This may be
  pointless, but it is probably more consistent.

Other changes:
- This now makes use of the new settings view private function.
- I made the coding style compliant with our latest guidelines (I think I got
  most of the big ones at least.)
- Removed the references to the old BeOS screen saver kit stuff from the
  Jamfile.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 21:03:44 +00:00
Philippe Houdoin
32b3986c09 Added a very nice Icons screensaver, by Vincent Duvert.
Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 21:03:51 +00:00
Oliver Tappe
16d5c24e53 * merged 32bit-wchar_t branches of buildtools and haiku back into
the respective trunk

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 10:30:09 +00:00
Axel Dörfler
5dac0ee0d9 * Removed the GLife entry for now. Maybe something is going to happen there? :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 15:03:29 +00:00
Gerasim Troeglazov
2016e43e55 Clone of the Linux SimpleClock screensaver
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 01:12:57 +00:00
Karsten Heimrich
82d2e399b4 * port of known OSX screensaver done by Calum Robinson called Flurry (the default one on OSX)
* add to build but not to the image since

 - misses some configuration stuff
 - does not look as good as it could be because of missing double buffering
 - does crash screen_blanker on hide (as all GL screensaver did that i tested)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 23:49:41 +00:00
Stephan Aßmus
7aa46bb66b Changing BuyNow to DebugNow (part 2 of 2).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 11:40:26 +00:00
Stephan Aßmus
0f7b37bb12 Changed BuyNow to DebugNow (part 1 of 2).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 11:39:16 +00:00
Rene Gollent
bdffbce7af Adjust ScreenSaverRunner to make the screen saver draw once before sleeping. This fixes the perceived black screen problem with the Message screensaver. Also cleaned up Message slightly to retrieve its string from fortune more cleanly, and readded it to the build since it will no longer deadlock the screensaver module for 30 seconds at a time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-10 00:44:14 +00:00
Ryan Leavengood
ade73e8c85 Make the BObjectList member for font families a non-pointer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-10 17:07:47 +00:00
Ryan Leavengood
8a33d61123 Use BObjectList instead of BList.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-09 22:50:26 +00:00
Karsten Heimrich
8e0559b5f7 * fix probable memory leaks, not in the image but anyway...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 11:54:05 +00:00
Jérôme Duval
e6b421a98e fix misuse of ... with B_UTF8_ELLIPSIS
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-29 21:48:36 +00:00
Stephan Aßmus
3c5dd34528 * contributed my "Spider" screen saver to Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-13 10:43:41 +00:00
Ryan Leavengood
96493dcae9 Better name: result becomes lines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-08 05:04:33 +00:00
Ryan Leavengood
26c1085f1b Inspired by Daniel Sandler's Mac OS X recreation of Message, I've added a
little rounded box on the bottom with the full message in it.

Given that currently this version only uses fortune to get it's message this
allows maximum enjoyment of the little anecdotes and jokes provided by fortune.
Though after testing this 60+ times today I'm starting to get sick of fortunes.

I've implemented everything myself here, including breaking the string up on
newlines and drawing each line of text with the right vertical spacing. I
suppose some clever use of BTextView would have been better. But this works
fine and wasn't that much code.

I'm not sure if this was the most productive use of the last 5 hours, but I
learned quite a bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-08 04:59:14 +00:00
Stephan Aßmus
406228de63 * don't turn off anti-aliasing
* use B_OP_OVER in order to do anti-aliasing with the real background



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 21:17:37 +00:00
Ingo Weinhold
1acbe440b8 Removed the obsolete second argument ("relpath") of the Addon rule and
shuffled "isExecutable" to the end. The new order favors the common use
cases. Adjusted all Addon invocations and while at it also removed
separate LinkAgainst invocations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-07 01:27:19 +00:00
Ryan Leavengood
41ecd34905 Another recreation of a favorite BeOS screensaver of mine: Message, originally
by Jon Watte.

This was a tough but interesting problem. My version still isn't quite as nice
as his. I think the color generation could be improved, and I KNOW the x and y
placement of the text could be improved.

I also think it would be nice to display the full message at the bottom of the
screen (similar to ShowImage showing the file type and name in full screen
mode.)

But this is a good base to work from.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-01 22:30:32 +00:00
Ryan Leavengood
e8ec87ad28 I decided to recreate the classic BeOS screensaver BuyNow, and here it is.
I'm considered splashing it up a bit by adding parameters for colors, etc, but
this will make a good baseline.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-29 05:50:42 +00:00
Axel Dörfler
2da44dc7b5 The follow modes were not correctly set (but was okay for a view that never changes
its size).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 16:10:58 +00:00
Jérôme Duval
52427a4b3a fixed build on dano
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 10:31:30 +00:00