dougmencken / HeadOverHeels

The free and open source remake of the game “Head over Heels”
GNU General Public License v3.0
33 stars 10 forks source link

Need to add auto~position of widgets, and thus remove all these x= y= from xml files #6

Closed dougmencken closed 7 years ago

dougmencken commented 7 years ago

Examples~ <text id="yep" x="0" y="0"> <text id="movenorth" x="68" y="132">

They are used yet to manually position some lines of text, like the very first line of menus. And sure, it’s tooBorin’Thing® to live with it

There’s at least gui/Font::getCharWidth(), and symbols of game fonts are monospaced. So implementing auto-alignment is not “so-unreal” thing, I bet

dougmencken commented 7 years ago

Think of https://github.com/dougmencken/HeadOverHeels/commit/e1d7ade5532a782eae9320a9dc008c58420d3073 as of first step (:

dougmencken commented 7 years ago

It is done