[Commits] [wesnoth/wesnoth] 227593: WIP: a widget that forces its child widget to a fi...

GitHub noreply at github.com
Tue Nov 1 21:30:11 UTC 2016


  Branch: refs/heads/fixed-size-chatbox
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 2275939230b42f930ab206cd0526e00400d90b39
      https://github.com/wesnoth/wesnoth/commit/2275939230b42f930ab206cd0526e00400d90b39
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2016-11-01 (Tue, 01 Nov 2016)

  Changed paths:
    M projectfiles/VC12/wesnoth.vcxproj
    M projectfiles/VC12/wesnoth.vcxproj.filters
    M src/CMakeLists.txt
    M src/SConscript
    M src/gui/widgets/container.hpp
    A src/gui/widgets/size_fixater.cpp
    A src/gui/widgets/size_fixater.hpp
    M src/gui/widgets/stacked_widget.cpp

  Log Message:
  -----------
  WIP: a widget that forces its child widget to a fixed size


  Commit: 25aefd9c1971215d81f842ae57e61dd063dfb0f0
      https://github.com/wesnoth/wesnoth/commit/25aefd9c1971215d81f842ae57e61dd063dfb0f0
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2016-11-01 (Tue, 01 Nov 2016)

  Changed paths:
    M projectfiles/VC12/wesnoth.vcxproj
    M projectfiles/VC12/wesnoth.vcxproj.filters
    M src/CMakeLists.txt
    M src/SConscript
    R src/gui/widgets/size_fixater.cpp
    R src/gui/widgets/size_fixater.hpp
    A src/gui/widgets/size_lock.cpp
    A src/gui/widgets/size_lock.hpp

  Log Message:
  -----------
  Minor fixes

* Renamed the widget from size_fixater to size_lock.
  Thanks @shikadilord for the suggestion.
* Fixed build with -Werror=reorder.
* Fixed: the line of size_fixater.cpp was indented with spaces
  in CMakeLists.txt.
* Added newlines to the end of the new files.


  Commit: 467892f8ffcc89583104c372e4ec0437097851df
      https://github.com/wesnoth/wesnoth/commit/467892f8ffcc89583104c372e4ec0437097851df
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2016-11-01 (Tue, 01 Nov 2016)

  Changed paths:
    M data/gui/macros/_initial.cfg
    M data/gui/schema.cfg
    A data/gui/widget/size_lock_default.cfg

  Log Message:
  -----------
  The WML part


  Commit: a405338490612db50db83d7937fedd834350d2e5
      https://github.com/wesnoth/wesnoth/commit/a405338490612db50db83d7937fedd834350d2e5
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2016-11-01 (Tue, 01 Nov 2016)

  Changed paths:
    M src/gui/widgets/size_lock.cpp

  Log Message:
  -----------
  Fix crashes

This commit fixes the wrapped widget not being found with find_widget(),
and the size_lock widget crashing on attempt to draw because of not having
any states.


Compare: https://github.com/wesnoth/wesnoth/compare/2637d0302923...a40533849061


More information about the Commits mailing list