Mathieu Virbel
b1c029eace
boxlayout: relayout also on pos/size
2010-11-07 21:11:33 -05:00
Mathieu Virbel
b87fea4040
add toggle button
2010-11-07 21:11:19 -05:00
Mathieu Virbel
95f27110e0
canvas: add a trigger() function to ask for redraw from the user.
...
For eg, Video obejct don't change anything in the canvas, still, the texture is updated :)
2010-11-07 20:51:00 -05:00
Mathieu Virbel
e838e13e96
clock: implement rfps (real frame displayed on screen)
...
base: display and flip only when needed (might be have some bugs.)
2010-11-07 20:43:49 -05:00
Mathieu Virbel
dd91a1f940
graphics: prevent to generate the same object.
...
Currently, the fastest method is to flag every element generated by the compiler as a GI_COMPILER.
Then, each time you want to recompile a canvas, remove the GI_COMPILER objects before compiling.
2010-11-07 20:12:46 -05:00
Mathieu Virbel
41e1c44323
layout: first pass to implement layout
2010-11-07 17:54:07 -05:00
Mathieu Virbel
244984888a
utils: fix invalid import in __all__
2010-11-07 17:53:54 -05:00
Mathieu Virbel
da7486cafe
kvrun: show FPS every one second
2010-11-07 17:53:43 -05:00
Mathieu Virbel
bb891ef2de
widget: add to_* from pymt + fix slider division by zero
2010-11-07 00:48:58 -04:00
Mathieu Virbel
07611a12eb
Merge branch 'master' of ssh://github.com/tito/kivy
2010-11-07 00:40:18 -04:00
Mathieu Virbel
c5e9fa1c62
uxl: use ordereddict + add local id mapping in lang + do late binding
2010-11-07 00:40:02 -04:00
Thomas Hansen
6f98dcf6f7
move slider drawing to style.kv
2010-11-06 23:31:55 -05:00
Thomas Hansen
2dcad7c70f
add slider widget and default style
2010-11-06 23:29:27 -05:00
Mathieu Virbel
d7ebb395d0
fix texture usage + model view usage + add video and image widget
2010-11-06 20:58:04 -04:00
Thomas Hansen
cc8ff7d9b7
fix to call update on vbo if texture chnages in rectangle
2010-11-06 19:22:07 -05:00
Thomas Hansen
0c2ea25bd3
fix Rectangle texture coords if using no texture
2010-11-06 19:10:59 -05:00
Thomas Hansen
37d74b62b7
merge master
2010-11-06 18:36:55 -05:00
Mathieu Virbel
a8f4e8234a
add uxl app with button
2010-11-06 18:50:34 -04:00
Mathieu Virbel
7def1325f9
rename uxl to kv, Uxl to Builder, uxl.py to lang.py + fix style + fix button
2010-11-06 18:50:23 -04:00
Thomas Hansen
09f7a82f54
Merge branch 'master' of github.com:tito/kivy
2010-11-06 16:29:07 -05:00
Mathieu Virbel
814b65d717
remove on_draw on widget. \o/
2010-11-06 17:28:40 -04:00
Thomas Hansen
ee165ee162
Merge branch 'master' of github.com:tito/kivy
2010-11-06 16:28:39 -05:00
Mathieu Virbel
280088a30a
fix crash with rectangle / tex_coords
2010-11-06 16:48:59 -04:00
Thomas Hansen
f5fff24493
Merge branch 'master' of github.com:tito/kivy
2010-11-06 15:11:53 -05:00
Mathieu Virbel
fc6f5757af
fix widget
2010-11-06 16:10:56 -04:00
Thomas Hansen
3ffe148bd3
Merge branch 'master' of github.com:tito/kivy
2010-11-06 15:10:27 -05:00
Mathieu Virbel
e97bc15c03
fix style.uxl
2010-11-06 16:10:17 -04:00
Thomas Hansen
9fb5414cfb
Merge branch 'master' of github.com:tito/kivy
2010-11-06 15:09:30 -05:00
Mathieu Virbel
76f472c6ff
wip uxl + center for widget + texture coords for rect
2010-11-06 16:08:45 -04:00
Thomas Hansen
de6b81d9e3
Merge branch 'master' of github.com:tito/kivy
...
Conflicts:
kivy/data/style.uxl
kivy/factory_registers.py
2010-11-06 00:31:06 -05:00
Mathieu Virbel
63e95ad71d
wip uxl + testapp + styles
2010-11-06 01:27:41 -04:00
Thomas Hansen
84414c5d17
Merge branch 'master' of github.com:tito/kivy
2010-11-05 23:01:33 -05:00
Mathieu Virbel
5463fbc89b
logger: increase section
2010-11-05 23:17:51 -04:00
Mathieu Virbel
8b96661a66
fix uxl
2010-11-05 23:16:35 -04:00
Mathieu Virbel
6b6ac07cf3
uxl: allow number in properties
2010-11-05 23:15:22 -04:00
Mathieu Virbel
e73b2df4f3
use logger for uxl
2010-11-05 23:14:23 -04:00
Mathieu Virbel
cb6165511a
logger: add trace function + trace log level. use it in graphics
2010-11-05 23:05:30 -04:00
Thomas Hansen
48d07105e7
Merge branch 'master' of github.com:tito/kivy
2010-11-05 21:53:28 -05:00
Mathieu Virbel
0a701c2b85
add label
2010-11-05 22:53:04 -04:00
Thomas Hansen
ae2a153557
merge
2010-11-05 21:52:09 -05:00
Thomas Hansen
efc2199e6e
start slider
2010-11-05 21:49:55 -05:00
Mathieu Virbel
2da5462509
uxl: fix create property + map root in idmap
2010-11-05 22:49:21 -04:00
Mathieu Virbel
deabcddd06
widget: assign default value proeprties if they are passed into parameters at __init__
2010-11-05 22:49:02 -04:00
Mathieu Virbel
c46a70c49d
button: add text property
2010-11-05 22:48:25 -04:00
Mathieu Virbel
0cc55252db
factory: add missing classes
2010-11-05 22:48:10 -04:00
Mathieu Virbel
7a27aab7d7
core text: fix size / width / height
2010-11-05 22:47:54 -04:00
Mathieu Virbel
f80de20050
properties: allow python to get the name of the properties
2010-11-05 22:47:12 -04:00
Mathieu Virbel
6dbe5bbe87
graphics: fix logs using Logger
2010-11-05 22:46:53 -04:00
Thomas Hansen
0ab23b0230
add cpp file back temoporarily to avoid compile error
2010-11-05 20:23:38 -05:00
Mathieu Virbel
aa999f1b07
remove generated files
2010-11-05 20:40:02 -04:00