Mercurial > mercurial > hgweb_madnm.cgi
diff include/id.h @ 0:2f5584f0d127
first commit.
author | pyon@macmini |
---|---|
date | Sat, 08 Jun 2019 16:21:40 +0900 |
parents | |
children | f40a65687079 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/id.h Sat Jun 08 16:21:40 2019 +0900 @@ -0,0 +1,75 @@ +// Filename : id.h +// Last Change: 2019-06-07 Fri 22:31:04. +// +#pragma once + +#include <wx/wx.h> + +/* Mask */ +// Pixel +#define SPL_W 4900 +#define SPL_H 300 +#define OPN1_W SPL_W +#define OPN1_H 300 +#define OPN2_W SPL_W +#define OPN2_H 1800 + +// Device Context +#define SPL_DCW 800 +#define SPL_DCH 50 +#define OPN1_DCW SPL_DCW +#define OPN1_DCH 50 +#define OPN2_DCW SPL_DCW +#define OPN2_DCH 300 + +/* Guess */ +// Pixel +#define MNAME_W 288 +#define MNAME_H 86 +#define MHNO_W 288 +#define MHNO_H 49 + +/* Thumbnail */ +#define THUMB_W 60 +#define THUMB_H 80 + +/* Identifier */ +enum +{ + ID_SPNX1 = wxID_HIGHEST + 1, + ID_SPNY1, + ID_SPNW1, + ID_SPNH1, + ID_SPNX2, + ID_SPNY2, + ID_SPNW2, + ID_SPNH2, + ID_SPNX3, + ID_SPNY3, + ID_SPNW3, + ID_SPNH3, + ID_SPNX4, + ID_SPNY4, + ID_SPNW4, + ID_SPNH4, + ID_RST1, + ID_RST2, + ID_RST3, + ID_RST4, + ID_MERGE, + ID_PRINT, + + ID_MKDIR, + ID_FMOVE, + + ID_MOVE, + + ID_WORK, + ID_SCAN, + + ID_SLDR, + ID_SELALL, + ID_SELDEL, + ID_UPDT, +}; +