示例#1
0
文件: devices.py 项目: nony05/pcbasic
 def set_width(self, new_width=255):
     """ Set (virtual) screen width. """
     if self.is_master:
         console.set_width(new_width)
     else:
         self._width = new_width
示例#2
0
文件: devices.py 项目: nony05/pcbasic
 def set_width(self, new_width=255):
     """ Setting width on KYBD device (not files) changes screen width. """
     if self.is_master:
         console.set_width(new_width)
示例#3
0
 def set_width(self, new_width=255):
     """ Setting width on KYBD device (not files) changes screen width. """
     if self.is_master:
         console.set_width(new_width)
示例#4
0
 def set_width(self, new_width=255):
     """ Set (virtual) screen width. """
     if self.is_master:
         console.set_width(new_width)
     else:
         self._width = new_width
示例#5
0
 def set_width(self, new_width=255):
     """ Set (virtual) screen width. """
     if self.number == 0:
         console.set_width(new_width)
     else:    
         self._width = new_width