View template.tex
%!TEX TS-program = xelatex | |
% Based on: https://gist.github.com/michaelt/1017790 | |
% \documentclass[12pt]{scrbook} | |
\documentclass[ | |
$if(fontsize)$ | |
$fontsize$, | |
$endif$ | |
$if(lang)$ | |
$babel-lang$, | |
$endif$ |
View uncrustify.cfg
tok_split_gte=false | |
utf8_byte=false | |
utf8_force=false | |
indent_cmt_with_tabs=false | |
indent_align_string=false | |
indent_braces=false | |
indent_braces_no_func=false | |
indent_braces_no_class=false | |
indent_braces_no_struct=false | |
indent_brace_parent=false |
View main.vala
using Gtk; | |
class DragListBox : ListBox { | |
private ListBoxRow? hover_row; | |
private ListBoxRow? drag_row; | |
private bool top = false; | |
private int hover_top; | |
private int hover_bottom; | |
private bool should_scroll = false; | |
private bool scrolling = false; |
View SettingsListBox.vala
public class SettingsListBox: Gtk.Box { | |
public Gtk.Box scrolled_box; | |
public Gtk.ListBox listbox; | |
public SettingsListBox () { | |
this.set_orientation (Gtk.Orientation.HORIZONTAL); | |
Gtk.ScrolledWindow scroll = new Gtk.ScrolledWindow (null, null); | |
scroll.set_size_request (400, 1); |