-
Notifications
You must be signed in to change notification settings - Fork 0
/
definitions.hpp
29 lines (24 loc) · 976 Bytes
/
definitions.hpp
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
#ifndef DEFINITIONS_H
#define DEFINITIONS_H
#include <string>
#include "noteprocs.hpp"
#include "libdefs.hpp"
typedef struct editWindow {
HWND hwnd;
HWND hStaticSubject, hStaticEntry, hStaticGrayBox, hStaticStatus;
HWND hEditBoxSubject, hEditBoxEntry;
HWND hButtonAddUp, hButtonProps, hButtonClose;
std::string windowTitle;
bool subjectChanged, entryChanged;
long int lastResult;
NOTE *note;
} EDITWINDOW;
typedef std::map<HWND,EDITWINDOW*> WINDOWMEMORY;
typedef struct mainSettings {
bool mainWindowSystem, editWindowSystem;
unsigned int mainWindowStyle, editWindowStyle;
int mainWindowX, mainWindowY, mainWindowSizeX, mainWindowSizeY, editWindowX, editWindowY, editWindowSizeX, editWindowSizeY;
bool autoReload, autoRefresh, savePosSizes, use3DControls, use3DButtons, use3DLists, use3DEdits, use3DCombos, use3DDialogs, showMultiIDnLM;
std::string selectedCodePage;
} MAINSETTINGS;
#endif