Commit 493cba9c authored by Abhinav Singh's avatar Abhinav Singh Committed by Adrien Plazas
Browse files

gamepad: Add GamepadViewConfiguration

This provides svg information to GamepadView so it can be used for
multiple svgs.

https://bugzilla.gnome.org/show_bug.cgi?id=780754
parent 801eeb50
......@@ -144,6 +144,7 @@ gnome_games_SOURCES = \
ui/error-info-bar.vala \
ui/game-icon-view.vala \
ui/game-thumbnail.vala \
ui/gamepad-view-configuration.vala \
ui/media-selector.vala \
ui/media-menu-button.vala \
ui/preferences-page.vala \
......
// This file is part of GNOME Games. License: GPL-3.0+.
private struct Games.GamepadInputPath {
GamepadInput input;
string path;
}
private struct Games.GamepadViewConfiguration {
string svg_path;
GamepadInputPath[] input_paths;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment