Properly dump and render rect property for items

This commit is contained in:
Jan
2021-12-29 17:04:03 +01:00
parent a7aac965da
commit 83492b907f
2 changed files with 19 additions and 6 deletions

View File

@ -674,7 +674,7 @@ void MenuDumper::WriteItemData(const itemDef_s* item)
WriteKeywordProperty("textsavegame", item->itemFlags & ITEM_FLAG_SAVE_GAME_INFO);
WriteKeywordProperty("textcinematicsubtitle", item->itemFlags & ITEM_FLAG_CINEMATIC_SUBTITLE);
WriteStringProperty("group", item->window.group);
WriteRectProperty("rect", item->window.rect);
WriteRectProperty("rect", item->window.rectClient);
WriteIntProperty("style", item->window.style, 0);
WriteKeywordProperty("decoration", item->window.staticFlags & WINDOW_FLAG_DECORATION);
WriteKeywordProperty("autowrapped", item->window.staticFlags & WINDOW_FLAG_AUTO_WRAPPED);