Author Topic: Fixed cursor showing in windowed mode  (Read 1730 times)

hailstone

  • GAE Team
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Fixed cursor showing in windowed mode
« on: 23 September 2007, 00:13:27 »
This was tested using openSUSE 10.2

When the windowed option was set to 1 the cursor would also show with the game cursor underneath. This is because in main.cpp - glestMain() the showCursor function is setup like:
Code: [Select]
showCursor(config.getBool("Windowed"));To fix this all I did was create another option in glest.ini and change Windowed to it.
Code: [Select]
showCursor(config.getBool("ShowCursor"));
showCursor is now independant of being Windowed.
« Last Edit: 1 January 1970, 00:00:00 by hailstone »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

jbr

  • Guest
(No subject)
« Reply #1 on: 24 September 2007, 03:09:34 »
Hey, great! I've always thoguht that the double cursors were anoying... I hope this makes it into the next release! (I'm on windows and I'm not going to try to compile the source!)
« Last Edit: 1 January 1970, 00:00:00 by jbr »