2 * Copyright 2003-2006, Michael Phipps. All rights reserved.
3 * Distributed under the terms of the MIT License.
7 #include "ScreenSaver.h"
10 BScreenSaver::BScreenSaver(BMessage
*archive
, image_id thisImage
)
19 BScreenSaver::~BScreenSaver()
25 BScreenSaver::InitCheck()
27 // This method is meant to be overridden
33 BScreenSaver::StartSaver(BView
*view
, bool preview
)
35 // This method is meant to be overridden
41 BScreenSaver::StopSaver()
43 // This method is meant to be overridden
49 BScreenSaver::Draw(BView
*view
, int32 frame
)
51 // This method is meant to be overridden
57 BScreenSaver::DirectConnected(direct_buffer_info
*info
)
59 // This method is meant to be overridden
65 BScreenSaver::DirectDraw(int32 frame
)
67 // This method is meant to be overridden
73 BScreenSaver::StartConfig(BView
*configView
)
75 // This method is meant to be overridden
81 BScreenSaver::StopConfig()
83 // This method is meant to be overridden
89 BScreenSaver::SupplyInfo(BMessage
* info
) const
91 // This method is meant to be overridden
97 BScreenSaver::ModulesChanged(const BMessage
* info
)
99 // This method is meant to be overridden
105 BScreenSaver::SaveState(BMessage
*into
) const
107 // This method is meant to be overridden
113 BScreenSaver::SetTickSize(bigtime_t tickSize
)
115 fTickSize
= tickSize
;
120 BScreenSaver::TickSize() const
127 BScreenSaver::SetLoop(int32 onCount
, int32 offCount
)
129 fLoopOnCount
= onCount
;
130 fLoopOffCount
= offCount
;
135 BScreenSaver::LoopOnCount() const
142 BScreenSaver::LoopOffCount() const
144 return fLoopOffCount
;
148 void BScreenSaver::_ReservedScreenSaver1() {}
149 void BScreenSaver::_ReservedScreenSaver2() {}
150 void BScreenSaver::_ReservedScreenSaver3() {}
151 void BScreenSaver::_ReservedScreenSaver4() {}
152 void BScreenSaver::_ReservedScreenSaver5() {}
153 void BScreenSaver::_ReservedScreenSaver6() {}
154 void BScreenSaver::_ReservedScreenSaver7() {}
155 void BScreenSaver::_ReservedScreenSaver8() {}
157 // for compatibility with older BeOS versions
159 void ReservedScreenSaver1__12BScreenSaver() {}
160 void ReservedScreenSaver2__12BScreenSaver() {}
161 void ReservedScreenSaver3__12BScreenSaver() {}
162 void ReservedScreenSaver4__12BScreenSaver() {}
163 void ReservedScreenSaver5__12BScreenSaver() {}
164 void ReservedScreenSaver6__12BScreenSaver() {}
165 void ReservedScreenSaver7__12BScreenSaver() {}
166 void ReservedScreenSaver8__12BScreenSaver() {}