[Commits] [wesnoth/wesnoth] 04ffa2: Made gui2::point implicitly convertible to SDL_Poi...
GitHub
noreply at github.com
Sat Nov 11 10:49:49 UTC 2017
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 04ffa265d139b115bd12cb65f731330eaca97674
https://github.com/wesnoth/wesnoth/commit/04ffa265d139b115bd12cb65f731330eaca97674
Author: Charles Dang <exodia339 at gmail.com>
Date: 2017-11-11 (Sat, 11 Nov 2017)
Changed paths:
M src/gui/core/point.cpp
M src/gui/core/point.hpp
Log Message:
-----------
Made gui2::point implicitly convertible to SDL_Point
I'm planning on moving this out of the GUI2 namespace and this will allow point objects
to be used with SDL functions that take SDL_Point arguments.
Commit: 378b9199ae630f610684ac8a65ecb9b0a864f749
https://github.com/wesnoth/wesnoth/commit/378b9199ae630f610684ac8a65ecb9b0a864f749
Author: Charles Dang <exodia339 at gmail.com>
Date: 2017-11-11 (Sat, 11 Nov 2017)
Changed paths:
M projectfiles/VC12/wesnoth.vcxproj
M projectfiles/VC12/wesnoth.vcxproj.filters
M source_lists/wesnoth
M src/font/text.cpp
M src/font/text.hpp
M src/gui/core/event/dispatcher.hpp
M src/gui/core/event/distributor.hpp
M src/gui/core/placer.hpp
M src/gui/core/placer/horizontal_list.cpp
M src/gui/core/placer/vertical_list.cpp
R src/gui/core/point.cpp
R src/gui/core/point.hpp
M src/gui/dialogs/story_viewer.cpp
M src/gui/dialogs/tooltip.hpp
M src/gui/widgets/helper.cpp
M src/gui/widgets/helper.hpp
M src/gui/widgets/settings.cpp
M src/gui/widgets/styled_widget.cpp
M src/gui/widgets/styled_widget.hpp
M src/gui/widgets/text_box_base.hpp
M src/gui/widgets/widget.hpp
M src/gui/widgets/window.cpp
M src/gui/widgets/window.hpp
A src/sdl/point.cpp
A src/sdl/point.hpp
M src/sdl/rect.cpp
M src/sdl/rect.hpp
M src/tests/gui/test_gui2.cpp
Log Message:
-----------
Moved point wrapper out of GUI2 namespace
I'm not sure if it should become part of the sdl namespace, but for now I'm leaving it out.
Compare: https://github.com/wesnoth/wesnoth/compare/68ed124449fd...378b9199ae63
More information about the Commits
mailing list