예제 #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
파일: devices.py 프로젝트: nestormh/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)
예제 #4
0
파일: devices.py 프로젝트: nestormh/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
예제 #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