Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
December 03, 2024, 07:41:40 pm
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 270 times)
zRrr
Sergeant
Posts: 32
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: 9113
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