summaryrefslogtreecommitdiff
path: root/plugins/Weather/src/weather.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-29 11:43:52 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-29 11:43:52 +0000
commit41958e91d52457e264e7e62e22beb605432a76a2 (patch)
tree88fb1623464d18e0fe80775f7fba4660aad229ca /plugins/Weather/src/weather.h
parent35d3ce335858b8ac7c9db915f798f2f6a916a16d (diff)
- weather is not updated in the virtual mode;
- unused option removed git-svn-id: http://svn.miranda-ng.org/main/trunk@2557 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Weather/src/weather.h')
-rw-r--r--plugins/Weather/src/weather.h68
1 files changed, 39 insertions, 29 deletions
diff --git a/plugins/Weather/src/weather.h b/plugins/Weather/src/weather.h
index 95a7d5bf49..e4acc35e04 100644
--- a/plugins/Weather/src/weather.h
+++ b/plugins/Weather/src/weather.h
@@ -174,19 +174,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//============ OPTION STRUCT ============
// option struct
-typedef struct {
-// main options
- BOOL AutoUpdate;
- BOOL CAutoUpdate;
- BOOL StartupUpdate;
+struct MYOPTIONS
+{
+ // main options
+ BYTE AutoUpdate;
+ BYTE CAutoUpdate;
+ BYTE StartupUpdate;
+ BYTE NoProtoCondition;
+ BYTE UpdateOnlyConditionChanged;
+ BYTE RemoveOldData;
+ BYTE MakeItalic;
+
WORD UpdateTime;
WORD AvatarSize;
- BOOL NewBrowserWin;
- BOOL NoProtoCondition;
- BOOL UpdateOnlyConditionChanged;
- BOOL RemoveOldData;
- BOOL MakeItalic;
-// units
+
+ // units
WORD tUnit;
WORD wUnit;
WORD vUnit;
@@ -194,9 +196,10 @@ typedef struct {
WORD dUnit;
WORD eUnit;
TCHAR DegreeSign[4];
- BOOL DoNotAppendUnit;
- BOOL NoFrac;
-// texts
+ BYTE DoNotAppendUnit;
+ BYTE NoFrac;
+
+ // texts
TCHAR *cText;
TCHAR *bTitle;
TCHAR *bText;
@@ -205,30 +208,37 @@ typedef struct {
TCHAR *hText;
TCHAR *xText;
TCHAR *sText;
-// advanced
- BOOL DisCondIcon;
-// popup options
- BOOL UsePopup;
- BOOL UpdatePopup;
- BOOL AlertPopup;
- BOOL PopupOnChange;
- BOOL ShowWarnings;
-// popup colors
- BOOL UseWinColors;
+
+ // advanced
+ BYTE DisCondIcon;
+
+ // popup options
+ BYTE UsePopup;
+ BYTE UpdatePopup;
+ BYTE AlertPopup;
+ BYTE PopupOnChange;
+ BYTE ShowWarnings;
+
+ // popup colors
+ BYTE UseWinColors;
COLORREF BGColour;
COLORREF TextColour;
-// popup actions
+
+ // popup actions
DWORD LeftClickAction;
DWORD RightClickAction;
-// popup delay
+
+ // popup delay
DWORD pDelay;
-// popup texts
+
+ // popup texts
TCHAR *pTitle;
TCHAR *pText;
-// other misc stuff
+
+ // other misc stuff
TCHAR Default[64];
HANDLE DefStn;
-} MYOPTIONS;
+};
void DestroyOptions(void);