Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
November 24, 2024, 04:08:49 am
News:
If you can't login, please
contact us
with your username and e-mail so we can fix it.
Home
Help
Search
Calendar
Login
Register
OpenXcom Forum
»
OpenXcom Forks
»
OpenXcom Extended (OXCE)
»
OXCE Bugs
»
Armor button uses same element id as Ok button in InventoryState
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Armor button uses same element id as Ok button in InventoryState (Read 203 times)
zRrr
Sergeant
Posts: 31
Armor button uses same element id as Ok button in InventoryState
«
on:
November 04, 2024, 07:00:02 pm »
In
Battlescape/InventoryState.cpp
_btnArmor uses same element id as _btnOk, so when I move Ok button with ruleset like
Code:
[Select]
interfaces:
- type: inventory
elements:
- id: buttonOK
pos: [213, 1]
armor selection also moves.
Logged
Meridian
Global Moderator
Commander
Posts: 9094
Re: Armor button uses same element id as Ok button in InventoryState
«
Reply #1 on:
November 04, 2024, 07:48:44 pm »
Many buttons on many GUIs in OXC and OXCE share the same interface element.
We're lazy to create a new interface element for each button.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
OpenXcom Forum
»
OpenXcom Forks
»
OpenXcom Extended (OXCE)
»
OXCE Bugs
»
Armor button uses same element id as Ok button in InventoryState