Sha256: cf9ec6539e095d1e4e5c862e6f1324ae7fee72cb025b27612a227568c696f993

Contents?: true

Size: 787 Bytes

Versions: 5

Compression:

Stored size: 787 Bytes

Contents

#!/usr/bin/env ruby
##################################################
# Flightgear Mapping
#
# Provide a real-time map of flight position in Flightgear. It is based on tiles from Openstreetmap, 
# downloads them in the background, provides navigation aids and runways, allows setting of waypoints 
# and tracks the flight.
#
# License
# GPL V2
#
# Author Michael Meltner (mmeltner@gmail.com)
##################################################

Dir.chdir(File.dirname(__FILE__))
require "rubygems"
require "Qt4"
require "main-dlg-impl.rb"

a = Qt::Application.new(ARGV)
u = Qt::MainWindow.new

w = MainDlg.new(u, ARGV[0])
u.resize(w.size) # set Mainwindow to correct size
u.setCentralWidget(w) # make widget part of the mainwindow to allow resizing
u.show
w.movemap(w.node,true)

a.exec

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fgmapping-1.1.3 lib/waypoint.rb
fgmapping-1.1.2 lib/waypoint.rb
fgmapping-1.1.1 lib/waypoint.rb
fgmapping-1.1.0 lib/waypoint.rb
fgmapping-1.0.1 lib/waypoint.rb