46 lines
949 B
Plaintext
46 lines
949 B
Plaintext
|
|
{fileheader}
|
|
|
|
//// GENERIC MACROS ///////////////////////////////////////////////////////////
|
|
#define ASPECT_FILL(_ASPECT) \
|
|
aspect: _ASPECT _ASPECT; aspect_preference: NONE;
|
|
#define TILED_PATTERN(_WIDTH, _HEIGHT) \
|
|
fill { size { relative: 0.0 0.0; offset: _WIDTH _HEIGHT; } }
|
|
#define TILED_HORIZ(_WIDTH) \
|
|
fill { size { relative: 0.0 1.0; offset: _WIDTH 0; } }
|
|
#define FIXED_SIZE(_WIDTH, _HEIGHT) \
|
|
min: _WIDTH _HEIGHT; max: _WIDTH _HEIGHT; fixed: 1 1;
|
|
#define DBG_SHOW(_PART, _R, _G, _B) \
|
|
part { name: "dbg_show"_PART; \
|
|
type: RECT; mouse_events: 0; \
|
|
description { state: "default" 0.0; \
|
|
rel1.to: _PART; rel2.to: _PART; \
|
|
color: _R _G _B 50; } }
|
|
#define SHOW(_PART) DBG_SHOW(_PART, 100, 0, 0)
|
|
|
|
|
|
data {
|
|
item: "name" "val";
|
|
}
|
|
|
|
|
|
images {
|
|
image: "example.png" COMP;
|
|
}
|
|
|
|
|
|
fonts {
|
|
font: "example.otf" "Example";
|
|
}
|
|
|
|
|
|
collections {
|
|
|
|
group { name: "main";
|
|
parts {
|
|
|
|
}
|
|
}
|
|
|
|
}
|