First iteration of the drone view, as well as a bunch of other related changes

This commit is contained in:
cncfanatics
2010-09-04 23:25:02 +02:00
parent 53b89496d8
commit 48293cdf8b
8 changed files with 97 additions and 36 deletions

View File

@@ -91,6 +91,11 @@ class MainFrame(wx.Frame):
#Show ourselves
self.Show()
def getActiveFit(self):
sel = self.fitMultiSwitch.GetSelection()
view = self.fitMultiSwitch.GetPage(sel).view
return view.activeFitID
def mouseHit(self, event):
tab, _ = self.notebookBrowsers.HitTest(event.Position)
if tab != -1: