allow adding hotkeys to label types

This commit is contained in:
Martin Baeuml
2011-05-03 18:58:51 +02:00
parent 1648c8c283
commit 4885a35874
3 changed files with 66 additions and 26 deletions
+4
View File
@@ -4,3 +4,7 @@ self.add_label("Rect", {"type": "rect"})
self.add_label("FixedRatioRect", {"type": "ratiorect", "_ratio": RATIOS})
self.add_label("Point", {"type": "point"})
self.add_label("Polygon", {"type": "polygon"})
self.add_hotkey("", "Rect", "r")
self.add_hotkey("", "Point", "p")
self.add_hotkey("", "Polygon", "o")