From a323e770e6ccf246aa594a31b86d9d8aa12dea3c Mon Sep 17 00:00:00 2001 From: thindil Date: Fri, 12 Jan 2024 04:48:34 +0000 Subject: [PATCH] refactor: continue work on getting current theme icons from Ada FossilOrigin-Name: f368e3b2e9e068a201b4aa2fd92c9a6ddbc39d0b07c9db93bec9c0e6febed3c7 --- nim/src/ui/themes.nim | 86 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/nim/src/ui/themes.nim b/nim/src/ui/themes.nim index 618b64d8a..dc9388e0e 100644 --- a/nim/src/ui/themes.nim +++ b/nim/src/ui/themes.nim @@ -764,3 +764,89 @@ proc getAdaIcon(name: cstring): cstring {.raises: [], tags: [], exportc.} = return theme.playerShipIcon.cstring of "emptyMapIcon": return theme.emptyMapIcon.cstring + of "targetIcon": + return theme.targetIcon.cstring + of "storyIcon": + return theme.storyIcon.cstring + of "overloadedIcon": + return theme.overloadedIcon.cstring + of "arrowUpIcon": + return theme.arrowUpIcon.cstring + of "arrowDownIcon": + return theme.arrowDownIcon.cstring + of "arrowLeftIcon": + return theme.arrowLeftIcon.cstring + of "arrowRightIcon": + return theme.arrowRightIcon.cstring + of "arrowUpLeftIcon": + return theme.arrowUpLeftIcon.cstring + of "arrowUpRightIcon": + return theme.arrowUpRightIcon.cstring + of "arrowDownRightIcon": + return theme.arrowDownRightIcon.cstring + of "arrowDownLeftIcon": + return theme.arrowDownLeftIcon.cstring + of "waitIcon": + return theme.waitIcon.cstring + of "moveStepIcon": + return theme.moveStepIcon.cstring + of "moveToIcon": + return theme.moveToIcon.cstring + of "menuIcon": + return theme.menuIcon.cstring + of "exitIcon": + return theme.exitIcon.cstring + of "randomIcon": + return theme.randomIcon.cstring + of "maleIcon": + return theme.maleIcon.cstring + of "femaleIcon": + return theme.femaleIcon.cstring + of "editIcon": + return theme.editIcon.cstring + of "showIcon": + return theme.showIcon.cstring + of "cancelIcon": + return theme.cancelIcon.cstring + of "helpIcon": + return theme.helpIcon.cstring + of "specialHelpColor": + return theme.specialHelpColor.cstring + of "underlineHelpColor": + return theme.underlineHelpColor.cstring + of "boldHelpColor": + return theme.boldHelpColor.cstring + of "italicHelpColor": + return theme.italicHelpColor.cstring + of "giveIcon": + return theme.giveIcon.cstring + of "dropIcon": + return theme.dropIcon.cstring + of "buyIcon": + return theme.buyIcon.cstring + of "sellIcon": + return theme.sellIcon.cstring + of "craftIcon": + return theme.craftIcon.cstring + of "studyIcon": + return theme.studyIcon.cstring + of "deconstructIcon": + return theme.deconstructIcon.cstring + of "negotiateIcon": + return theme.negotiateIcon.cstring + of "cargoIcon": + return theme.cargoIcon.cstring + of "equipIcon": + return theme.equipIcon.cstring + of "unequipIcon": + return theme.unequipIcon.cstring + of "selectAllIcon": + return theme.selectAllIcon.cstring + of "unselectAllIcon": + return theme.unselectAllIcon.cstring + of "giveOrderIcon": + return theme.giveOrderIcon.cstring + of "noPilotIcon": + return theme.noPilotIcon.cstring + of "noEngineerIcon": + return theme.noEngineerIcon.cstring