\r
from gui import machineCom\r
from gui import icon\r
+from gui import toolbarUtil\r
from util import profile\r
from util import gcodeInterpreter\r
\r
\r
class PrintCommandButton(buttons.GenBitmapButton):\r
def __init__(self, parent, command, bitmapFilename, size=(20,20)):\r
- self.bitmap = wx.Bitmap(os.path.join(os.path.split(__file__)[0], "../images", bitmapFilename))\r
+ self.bitmap = toolbarUtil.getBitmapImage(bitmapFilename)\r
super(PrintCommandButton, self).__init__(parent.directControlPanel, -1, self.bitmap, size=size)\r
\r
self.command = command\r
pass
elif M == 109: #Set temperature, wait
pass
+ elif M == 110: #Reset N counter
+ pass
elif M == 113: #Extruder PWM (these should not be in the final GCode, but they are)
pass
else: