Example #1
0
 def color(self):
     node_info = idaapi.node_info_t()
     success = idaapi.get_node_info2(node_info, self._fc._q.bounds.startEA, self.id)
     
     if not success:
         return None
         
     if not node_info.valid_bg_color():
         return None
         
     return node_info.bg_color
Example #2
0
    def color(self):
        node_info = idaapi.node_info_t()
        success = idaapi.get_node_info2(node_info, self._fc._q.bounds.startEA, self.id)

        if not success:
            return None

        if not node_info.valid_bg_color():
            return None

        return node_info.bg_color