The Birdfont Source Code


All Repositories / birdfont.git / blob – RSS feed

Main.vala in /birdfont

This file is a part of the Birdfont project.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
Circle boundaries heads/master
1 /* 2 Copyright (C) 2012, 2014 Johan Mattsson 3 4 This program is free software: you can redistribute it and/or modify 5 it under the terms of the GNU General Public License as published by 6 the Free Software Foundation, either version 3 of the License, or 7 (at your option) any later version. 8 9 This program is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 GNU General Public License for more details. 13 14 You should have received a copy of the GNU General Public License 15 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 */ 17 18 using BirdFont; 19 20 public static int main (string[] arg) { 21 GtkWindow native_window; 22 MainWindow window; 23 BirdFont.BirdFont birdfont; 24 25 birdfont = new BirdFont.BirdFont (); 26 birdfont.init (arg, null, "birdfont", null); 27 Gtk.init (ref arg); 28 29 window = new MainWindow (); 30 native_window = new GtkWindow ("birdfont"); 31 32 window.set_native (native_window); 33 native_window.init (); 34 35 BirdFont.BirdFont.load_font_from_command_line (); 36 Gtk.main (); 37 38 return 0; 39 } 40