ReactOS
0.4.16-dev-112-g52265ae
settings.h
Go to the documentation of this file.
1
/*
2
* Star field screensaver
3
*
4
* Copyright 2011 Carlo Bramini
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
10
*
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this library; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
21
#ifndef __SETTINGS_H__
22
#define __SETTINGS_H__
23
24
#define ROTATION_NONE 0
25
#define ROTATION_LINEAR 1
26
#define ROTATION_PERIODIC 2
27
#define ROTATION_ITEMS 3
28
29
#define MIN_STARS 10
30
#define MAX_STARS 500
31
32
#define MIN_SPEED 1
33
#define MAX_SPEED 100
34
35
typedef
struct
{
36
DWORD
uiNumStars
;
37
DWORD
uiSpeed
;
38
DWORD
uiRotation
;
39
DWORD
bDoBlending
;
40
DWORD
bFinePerspective
;
41
DWORD
bEnableFiltering
;
42
DWORD
bSmoothShading
;
43
}
SSSTARS
;
44
45
extern
SSSTARS
Settings
;
46
47
void
LoadSettings
(
void
);
48
void
SaveSettings
(
void
);
49
50
#endif
SaveSettings
void SaveSettings(void)
Definition:
settings.c:115
LoadSettings
void LoadSettings(void)
Definition:
settings.c:53
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
Settings
SSSTARS Settings
Definition:
charmap.c:25
SSSTARS
Definition:
settings.h:35
SSSTARS::bFinePerspective
DWORD bFinePerspective
Definition:
settings.h:40
SSSTARS::uiRotation
DWORD uiRotation
Definition:
settings.h:38
SSSTARS::bSmoothShading
DWORD bSmoothShading
Definition:
settings.h:42
SSSTARS::bEnableFiltering
DWORD bEnableFiltering
Definition:
settings.h:41
SSSTARS::bDoBlending
DWORD bDoBlending
Definition:
settings.h:39
SSSTARS::uiNumStars
DWORD uiNumStars
Definition:
settings.h:36
SSSTARS::uiSpeed
DWORD uiSpeed
Definition:
settings.h:37
modules
rosapps
applications
screensavers
ssstars
settings.h
Generated on Thu Oct 10 2024 06:15:19 for ReactOS by
1.9.6