[xoreos-git] [xoreos/xoreos] a6f448: KOTOR: All text button widgets now highlight on mo...

GitHub noreply at github.com
Thu Aug 8 07:58:49 CEST 2013


  Branch: refs/heads/master
  Home:   https://github.com/xoreos/xoreos
  Commit: a6f4485d8496eee63ac0d12eb03778e6680df09b
      https://github.com/xoreos/xoreos/commit/a6f4485d8496eee63ac0d12eb03778e6680df09b
  Author: Nathaniel Brandes <ndbrandes at gmail.com>
  Date:   2013-08-06 (Tue, 06 Aug 2013)

  Changed paths:
    M src/engines/kotor/gui/gui.cpp
    M src/engines/kotor/gui/gui.h
    M src/engines/kotor/gui/main/main.cpp
    M src/engines/kotor/gui/main/main.h
    M src/engines/kotor/gui/main/options.cpp
    M src/engines/kotor/gui/main/options.h
    M src/engines/kotor/gui/widgets/button.cpp
    M src/engines/kotor/gui/widgets/button.h

  Log Message:
  -----------
  KOTOR: All text button widgets now highlight on mouseover.

This seems to be the behavior in the original game,
and simplifies the code.


  Commit: 74282f80c1be0c259fbab5ce12826183eabceb72
      https://github.com/xoreos/xoreos/commit/74282f80c1be0c259fbab5ce12826183eabceb72
  Author: Nathaniel Brandes <ndbrandes at gmail.com>
  Date:   2013-08-07 (Wed, 07 Aug 2013)

  Changed paths:
    M src/engines/kotor/gui/widgets/button.cpp
    M src/engines/kotor/gui/widgets/button.h
    M src/engines/kotor/gui/widgets/kotorwidget.cpp
    M src/engines/kotor/gui/widgets/kotorwidget.h

  Log Message:
  -----------
  KOTOR: Implement highlightable buttons.

The difficult buttons now highlight on mouseover.
I also made the highlightable getter protected, as I don't
see any special cases where the gui needs to control it (for now).


Compare: https://github.com/xoreos/xoreos/compare/f46ed0aa5442...74282f80c1be


More information about the xoreos-git mailing list