git-svn-id: svn://db.shs.com.ru/pip@480 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2017-04-28 08:43:36 +00:00
parent 0c2fd6985a
commit 54d40653cb
5 changed files with 26 additions and 32 deletions

View File

@@ -92,6 +92,7 @@ namespace PIScreenTypes {
typedef PIFlags<CharFlag> CharFlags;
typedef PIFlags<FocusFlag> FocusFlags;
#pragma pack(push, 1)
union CellFormat {
CellFormat(uint f = 0) {raw_format = f;}
CellFormat(Color col_char, Color col_back = Default, CharFlags flags_ = 0) {
@@ -124,7 +125,8 @@ namespace PIScreenTypes {
return *this;
}
};
#pragma pack(pop)
struct TileEvent {
TileEvent(int t = -1, const PIVariant & d = PIVariant()): type(t), data(d) {}
int type;