Metadata-Version: 2.1
Name: pybfcontrol
Version: 0.0.2
Summary: some controls for pygame
Home-page: https://github.com/zhangenter/bf_control
Author: bitfly
Author-email: zhangbitfly@163.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: pygame

#example
```python
import pygame
pygame.init()
from pybfcontrol.bf_button import BFButton
screen = pygame.display.set_mode((600,420))

def do_click1(btn):
    pygame.display.set_caption('i click %s,ctl id is %s' % (btn._text,btn.ctl_id))    
    btn.text = 'be click'

btn = BFButton(screen, (20,20,160,40),text=u'test',click=do_click1)

while True:
    for event in pygame.event.get():    
        if event.type == pygame.QUIT:        
             pygame.quit()             
             exit()

        btn.update(event)


    screen.fill((255,255,255))    
    btn.draw()   
    pygame.display.update() 
```

![time](https://github.com/zhangenter/bf_control/blob/master/11.gif) 



