def __init__(self, bytes_per_row=16): ByteGridTable.__init__(self) self._debug = False self.bytes_per_row = bytes_per_row self._cols = self.bytes_per_row self._rows = 0 self.editor = None self.start_offset = 0
def __init__(self, linked_base, bytes_per_row=16): ByteGridTable.__init__(self, linked_base) self._debug = False self.bytes_per_row = bytes_per_row self._cols = self.bytes_per_row self._rows = 0 self.start_offset = 0 self.recalc_segment_info()
def __init__(self, linked_base): ByteGridTable.__init__(self, linked_base) self.lines = None self._rows = 0 self.index_to_row = [] self.start_addr = 0 self.end_addr = 0 self.chunk_size = 256 self.set_display_format(linked_base)
def __init__(self): ByteGridTable.__init__(self) self.lines = None self._rows = 0 self.index_to_row = [] self.start_addr = 0 self.end_addr = 0 self.chunk_size = 256 self.disassembler = None self.trace_info = TraceInfo()
def set_grid_cell_attr(self, grid, col, attr): ByteGridTable.set_grid_cell_attr(self, grid, col, attr) if col > 0: attr.SetReadOnly(False) else: attr.SetReadOnly(True)
def set_display_format(self, linked_base): ByteGridTable.set_display_format(self, linked_base) prefs = linked_base.task.preferences for i, w in enumerate(prefs.disassembly_column_widths): if w > 0: self.__class__.column_pixel_sizes[i] = w