aboutsummaryrefslogtreecommitdiff
path: root/Src/Plugins/General/gen_ff/wa2cfgitems.h
blob: 6d2959b242f2cf50ffe6c9a8a895774f1760e145 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
#ifndef _WA2CFGITEMS_H
#define _WA2CFGITEMS_H

#include <api/config/items/cfgitemi.h>
#include <api/config/items/attribs.h>
#include <api/config/items/attrcb.h>

//---------------------------------------------------------
// playlist editor cfg items
//---------------------------------------------------------
class Wa2PlEditCfgItems : public CfgItemI {
public:  
  Wa2PlEditCfgItems();
  virtual ~Wa2PlEditCfgItems();

  static void onSetShuffle(BOOL set);
  static void onSetRepeat(BOOL set);
};

//---------------------------------------------------------
// {1828D28F-78DD-4647-8532-EBA504B8FC04}
static const GUID customOptionsMenuitemGuid = 
{ 0x1828d28f, 0x78dd, 0x4647, { 0x85, 0x32, 0xeb, 0xa5, 0x4, 0xb8, 0xfc, 0x4 } };

//	{0542AFA4-48D9-4c9f-8900-5739D52C114F}
static const GUID skinTweaksGuid = 
{ 0x542afa4, 0x48d9, 0x4c9f, { 0x89, 0x0, 0x57, 0x39, 0xd5, 0x2c, 0x11, 0x4f } };

// {6559CA61-7EB2-4415-A8A9-A2AEEF762B7F}
static const GUID customWindowsMenuitemGuid = 
{ 0x6559ca61, 0x7eb2, 0x4415, { 0xa8, 0xa9, 0xa2, 0xae, 0xef, 0x76, 0x2b, 0x7f } };

// {F1239F09-8CC6-4081-8519-C2AE99FCB14C}
static const GUID crossfaderGuid = 
{ 0xf1239f09, 0x8cc6, 0x4081, { 0x85, 0x19, 0xc2, 0xae, 0x99, 0xfc, 0xb1, 0x4c } };

//---------------------------------------------------------
class CustomOptionsMenuItems : public CfgItemI {
public:
  CustomOptionsMenuItems() : CfgItemI(L"Custom OptionsMenu Items", customOptionsMenuitemGuid) { };
  virtual ~CustomOptionsMenuItems() {}
};

//---------------------------------------------------------
class Crossfader : public CfgItemI {
public:
  Crossfader();
  virtual ~Crossfader();

  static void onOutputChanged();
};

//---------------------------------------------------------
class AvsCfg : public CfgItemI {
public:
  AvsCfg();
  virtual ~AvsCfg() {}

  static void onVisRandomChanged(BOOL set);
};

//---------------------------------------------------------
class CustomWindowsMenuItems : public CfgItemI {
public:
  CustomWindowsMenuItems() : CfgItemI(L"Custom WindowsMenu Items", customWindowsMenuitemGuid) { };
  virtual ~CustomWindowsMenuItems() {}
};

//---------------------------------------------------------
class SkinTweaks : public CfgItemI {
public:
  SkinTweaks();
  virtual ~SkinTweaks() {}
  static void onPreventVideoStopChanged(BOOL set);
	static void onPreventVideoResize(BOOL set);
	//static void onDisplayVideoWndOnPlay(BOOL set);
	//static void onCloseVideoWndOnStop(BOOL set);
};

//---------------------------------------------------------
class Wa2CfgItems {
public:
  Wa2CfgItems();
  virtual ~Wa2CfgItems();

private:  
  Wa2PlEditCfgItems pledit;
};

extern _bool shuffle;
extern _int repeat;
extern _bool cfg_audiooptions_crossfader;
extern _bool cfg_options_alwaysontop;
extern _bool cfg_uioptions_desktopalpha;
extern _bool cfg_uioptions_linkratio;
extern _bool cfg_uioptions_linkalpha;
extern _bool cfg_uioptions_linkallratio;
extern _bool cfg_uioptions_linkallalpha;
extern _bool cfg_uioptions_tooltips;
extern _float cfg_uioptions_textspeed;
extern _int cfg_uioptions_textincrement;
extern _int cfg_uioptions_appbarshidetime;
extern _int cfg_uioptions_appbarsshowtime;
extern _int cfg_uioptions_timerresolution;
extern _bool cfg_audiooptions_crossfader;
extern _bool cfg_options_altfonts;
extern _bool cfg_options_allowbitmapfonts;
extern _string cfg_options_defaultfont;
extern _string cfg_options_ttfoverridefont;
extern _int cfg_options_ttfoverridescale;
extern _int cfg_options_defaultfontscale;
extern _string cfg_options_fontrenderer;
extern _bool cfg_options_docking;
extern _int cfg_options_dockingdistance;
extern _bool cfg_options_appbarondrag;
extern _int cfg_options_appbardockingdistance;
extern _int cfg_options_freetypecharmap;
extern _bool cfg_options_no7bitsttfoverride;
extern _bool cfg_options_noalt7bitsttfoverride;
extern _bool cfg_uioptions_uselocks;
extern _int cfg_uioptions_autoopacitytime;
extern _int cfg_uioptions_autoopacitylinked;
extern _int cfg_uioptions_linkedalpha;
extern _int cfg_uioptions_autoopacityfadein;
extern _int cfg_uioptions_autoopacityfadeout;
extern _int cfg_uioptions_extendautoopacity;
extern _bool cfg_options_usefontmapper;

extern CustomOptionsMenuItems *optionsmenuitems;
extern CustomWindowsMenuItems *windowsmenuitems;
extern SkinTweaks *skintweaks;
extern int disable_set_wa2_repeat;
extern StringW eqmenustring;

extern int my_set;

#endif