-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from torikulhabib/master
New feature
- Loading branch information
Showing
13 changed files
with
1,539 additions
and
227 deletions.
There are no files selected for viewing
813 changes: 813 additions & 0 deletions
813
data/icons/actions/com.github.gabutakut.gabutdm.seed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* | ||
* Copyright (c) {2021} torikulhabib (https://github.com/gabutakut) | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public | ||
* License as published by the Free Software Foundation; either | ||
* version 2 of the License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public | ||
* License along with this program; if not, write to the | ||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
* Boston, MA 02110-1301 USA | ||
* | ||
* Authored by: torikulhabib <torik.habib@Gmail.com> | ||
*/ | ||
|
||
namespace Gabut { | ||
public class PieceSelector : Gtk.FlowBoxChild { | ||
private Gtk.Grid content; | ||
public PieceSelectors selector { get; private set; } | ||
|
||
construct { | ||
content = new Gtk.Grid () { | ||
row_spacing = 12, | ||
halign = Gtk.Align.CENTER | ||
}; | ||
add (content); | ||
} | ||
|
||
public PieceSelector (PieceSelectors selector) { | ||
this.selector = selector; | ||
var title = new Gtk.Label (selector.get_name ()) { | ||
halign = Gtk.Align.CENTER, | ||
margin_top = 6, | ||
margin_bottom = 6, | ||
margin_start = 12, | ||
margin_end = 12 | ||
}; | ||
content.add (title); | ||
show_all (); | ||
} | ||
} | ||
} |
Oops, something went wrong.