Disabled buggy syntax highlighting
This commit is contained in:
parent
605d1a4c46
commit
f40c99472d
|
|
@ -9,6 +9,7 @@ import misc_funcs
|
||||||
from misc_funcs import *
|
from misc_funcs import *
|
||||||
|
|
||||||
class MainWindow:
|
class MainWindow:
|
||||||
|
''' GTK UI. Not currently used. '''
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.window = svlgui.Window("Lightningbeam")
|
self.window = svlgui.Window("Lightningbeam")
|
||||||
self.window.maximize()
|
self.window.maximize()
|
||||||
|
|
@ -134,6 +135,7 @@ class MainWindow:
|
||||||
|
|
||||||
|
|
||||||
class MainWindowAndroid:
|
class MainWindowAndroid:
|
||||||
|
''' Android UI. Not currently used. Will be replaced with Kivy. '''
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
class stagewrapper:
|
class stagewrapper:
|
||||||
def add(self, obj, x, y):
|
def add(self, obj, x, y):
|
||||||
|
|
@ -231,7 +233,8 @@ class MainWindowOSX:
|
||||||
# self.toolbox.buttons[1][0]._int().enabled = False
|
# self.toolbox.buttons[1][0]._int().enabled = False
|
||||||
self.toolbox.buttons[3][0]._int().enabled = False
|
self.toolbox.buttons[3][0]._int().enabled = False
|
||||||
self.toolbox.buttons[4][0]._int().enabled = False
|
self.toolbox.buttons[4][0]._int().enabled = False
|
||||||
self.scriptwindow = svlgui.TextView(code=True)
|
# self.scriptwindow = svlgui.TextView(code=True)
|
||||||
|
self.scriptwindow = svlgui.TextView(code=False)
|
||||||
self.paintgroup = svlgui.RadioGroup("Draw straight", "Draw smooth", "Draw as inked")
|
self.paintgroup = svlgui.RadioGroup("Draw straight", "Draw smooth", "Draw as inked")
|
||||||
def setmode(self):
|
def setmode(self):
|
||||||
svlgui.PMODE = self.value
|
svlgui.PMODE = self.value
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue