GUI text boxes for start/end GCODE. #12

This commit is contained in:
Alessandro Ranellucci 2011-11-13 22:48:21 +01:00
parent b2f0f85d96
commit 60f6ce363e
3 changed files with 23 additions and 2 deletions

View file

@ -107,12 +107,18 @@ our $Options = {
'start_gcode' => {
label => 'Start GCODE',
type => 's',
multiline => 1,
width => 350,
height => 150,
serialize => sub { join '\n', split /\R+/, $_[0] },
deserialize => sub { join "\n", split /\\n/, $_[0] },
},
'end_gcode' => {
label => 'End GCODE',
type => 's',
multiline => 1,
width => 350,
height => 150,
serialize => sub { join '\n', split /\R+/, $_[0] },
deserialize => sub { join "\n", split /\\n/, $_[0] },
},