Thomas Hansen
663ff52035
add matrix instructions back in
2010-12-01 05:42:00 -06:00
Thomas Hansen
8697819eef
fix some rectangular texture things and setting texture using source/texture. add push/pop state to RenderContext to make Matrix instructions work. Label not working :/ ?!
2010-11-30 14:38:22 -06:00
Thomas Hansen
44f8dd0565
make textures work and start doing texture manager, for multi texturing/batching texture bindings
2010-11-17 22:38:40 -06:00
Thomas Hansen
516d13d8ec
add Quad instruction
2010-11-17 08:13:10 -06:00
Thomas Hansen
1804dea8e6
fix triangle and ellipse
2010-11-16 23:22:21 -06:00
Thomas Hansen
dd8ecbd9e1
fix basic drawing
2010-11-16 23:15:26 -06:00
Thomas Hansen
edc15bbf7e
debugging to make all drawing work
2010-11-16 17:00:57 -06:00
Thomas Hansen
f423e6fb4b
more work on refactoring graphics. getting closer to working...
2010-11-16 12:40:40 -06:00
Thomas Hansen
3dc063e78e
WIP. rework graphics as tree and seperate compiler. compiler can work on tree merging nodes where possible and can maintain optimized tree for drawing. when original tree changes, comoiler can know which parts in optimized tree to replace. state changes can be merged if they have info about what they change instead of just apply to change it. VertexData Instructions dont eed to cache all data and vbo indices..anyways need to be rebuild when something changes in most cases...just make build simpler...it returns vertex and index data to be drawn, compiler/canvas can cache VBO indices for seperate instruction and update on rebuild.
2010-11-13 02:01:03 -06:00
Mathieu Virbel
ed18c19399
graphics: split graphics.pyx into several files, remove graphics.pyx
...
note: the __all__ in each file reflect what will be imported for userland.
2010-11-11 19:57:51 +01:00
Mathieu Virbel
5f33fc9926
add kivy logo (fake
2010-11-11 14:18:14 +01:00
Mathieu Virbel
d462bc55ce
update kv_video
2010-11-10 17:36:45 +01:00
Mathieu Virbel
527ff4b8f0
change style of slider + button using borderimage
2010-11-10 17:16:35 +01:00
Mathieu Virbel
96e53d22cb
Merge branch 'master' of ssh://github.com/tito/kivy
2010-11-10 11:39:45 +01:00
Mathieu Virbel
86ba5360b4
window: prevent exception on evloop
2010-11-10 11:39:33 +01:00
Mathieu Virbel
a179d04a6f
support canvas.after
2010-11-10 11:39:23 +01:00
Thomas Hansen
9db7152b35
Merge branch 'master' of github.com:tito/kivy
2010-11-09 16:24:12 -06:00
Thomas Hansen
4d1849cb29
some more ununsed files removed
2010-11-09 16:24:03 -06:00
Thomas Hansen
f742221c0c
remove some old and auto generated files
2010-11-09 16:23:09 -06:00
Thomas Hansen
124545d95e
start using squirtle parser to generate path
2010-11-09 16:21:18 -06:00
Mathieu Virbel
c80d74c554
Merge branch 'master' of ssh://github.com/tito/kivy
2010-11-09 19:29:56 +01:00
Mathieu Virbel
3e0443a2d3
kvrun: press F5 to reload app
2010-11-09 19:29:26 +01:00
Mathieu Virbel
edd69d63ff
graphics: make canvas recompile when a child is added/removed
2010-11-09 19:29:15 +01:00
Mathieu Virbel
49f5bab67f
widget: allow parent to be None (in case of remove_widget for eg)
2010-11-09 19:29:01 +01:00
Thomas Hansen
8768333a64
fix svg commit. should have done branch...will do next time ;P
2010-11-09 11:05:33 -06:00
Thomas Hansen
f2d3629cae
Merge branch 'master' of github.com:tito/kivy
2010-11-09 11:00:41 -06:00
Thomas Hansen
9a2ea9ef8e
start SVG
2010-11-09 11:00:38 -06:00
Mathieu Virbel
65274b1a8b
add some kv for example
2010-11-07 21:36:17 -05:00
Mathieu Virbel
8c0b493101
lang: add a way to specify own callback. AWESOME.
2010-11-07 21:36:04 -05:00
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