diff --git a/UbuntuMono-R.ttf b/UbuntuMono-R.ttf new file mode 100644 index 0000000..fdd309d Binary files /dev/null and b/UbuntuMono-R.ttf differ diff --git a/kt.py b/kt.py new file mode 100644 index 0000000..dcac836 --- /dev/null +++ b/kt.py @@ -0,0 +1,23 @@ +from random import random +from kivy.app import App +from kivy.lang import Builder +from kivy.uix.widget import Widget +from kivy.uix.tabbedpanel import TabbedPanel +from kivy.uix.button import Button +from kivy.graphics import Color, Ellipse, Line + +Builder.load_file("lightningbeam.kv") + +class Lightningbeam(TabbedPanel): + + pass + + +class MyPaintApp(App): + + def build(self): + return Lightningbeam() + + +if __name__ == '__main__': + MyPaintApp().run() \ No newline at end of file diff --git a/lightningbeam.kv b/lightningbeam.kv new file mode 100644 index 0000000..b71478d --- /dev/null +++ b/lightningbeam.kv @@ -0,0 +1,32 @@ +#:kivy 1.0 + +: + do_default_tab: False + TabbedPanelItem: + text: 'Drawing' + BoxLayout: + orientation: "Vertical" + + TabbedPanelItem: + text: 'Tools' + GridLayout: + cols: 5 + Button: + text: "Select" + Button: + text: "Lasso" + Button: + text: "Resize" + Button: + text: "Text" + Button: + text: "Rectangle" + Button: + text: "Ellipse" + Button: + text: "Painbrush" + TabbedPanelItem: + text: 'ActionScript' + TextInput: + multiline: True + font_name: 'UbuntuMono-R.ttf' \ No newline at end of file