Skip to content

Instantly share code, notes, and snippets.

@inclement
Created October 14, 2014 20:28
Show Gist options
  • Select an option

  • Save inclement/c5fd7e8b8db355ead2c3 to your computer and use it in GitHub Desktop.

Select an option

Save inclement/c5fd7e8b8db355ead2c3 to your computer and use it in GitHub Desktop.
('value is', '\n\n\n\n\nself.disabled_color if self.disabled else (self.color if not self.markup else (1, 1, 1, 1))')
('value is', '\n\n\n\n\n\n\nself.texture')
('value is', '\n\n\n\n\n\n\n\nself.texture_size')
('value is', '\n\n\n\n\n\n\n\n\nint(self.center_x - self.texture_size[0] / 2.), int(self.center_y - self.texture_size[1] / 2.)')
('value is', "\n\n\n\n\n\n\n\n\n\n\n\nself.background_normal if self.state == 'normal' else self.background_down")
('value is', "\n\n\n\n\n\n\n\n\n\n\n\n\nself.background_disabled_normal if self.state == 'normal' else self.background_disabled_down")
('value is', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nself.background_color')
('value is', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nself.border')
('value is', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nself.pos')
('value is', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nself.size')
('value is', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nself.disabled_image if self.disabled else self.state_image')
('value is', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nself.disabled_color if self.disabled else self.color')
('value is', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nself.texture')
('value is', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nself.texture_size')
('value is', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nint(self.center_x - self.texture_size[0] / 2.), int(self.center_y - self.texture_size[1] / 2.)')
('value is', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.7 if self.disabled else 1')
('value is', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nself.parent.background_color if self.parent else (1, 1, 1, 1)')
('value is', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nself.parent.border if self.parent else (16, 16, 16, 16)')
('value is', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nroot.parent._bk_img.texture if root.parent else None')
('value is', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nself.size')
('value is', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nself.pos')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment