Xant
9b805c0354
don't use hardcoded values for screen size, query the screen instead
...
(and initialize it if necessary)
2009-09-13 04:35:03 +02:00
Xant
ef35239eae
allow to query the screen for 'initialized' status.
...
So javascripts can know if they need to initilize the screen
(definining the size as well) or if they have been provided a
running screen and there is no need to change size or reinitialize it
2009-09-13 04:17:45 +02:00
Xant
71fca9cfa7
allow to get the default screen instance
...
Instead of being forced to always specify the type
The screen_js constructor now behaves properly
(reusing already initialized screens properly ...so also the ones
not created by the javascript, where jsobj is still NULL while
initilized is true)
2009-09-13 04:10:49 +02:00
Luca Bigliardi
544f912198
Logging example for python
...
Provide a small example for logging.
Signed-off-by: Luca Bigliardi <shammash@artha.org >
2009-09-03 19:52:19 +01:00
Bastiaan vd Berg (buZz)
de2c025c4d
added a javascript widgetclass and an example application that uses it (both quite unfinished)
2009-09-02 19:59:41 +02:00
Jaromil
bc3bdfedf3
print objects as tooltip or by double clicking.
...
change reset to use the internal broken one.
hide the stop button.
2009-09-01 02:21:59 +02:00
Jaromil
a716a6a58a
Factory template in swig bindings
...
(thanks caedes for the tip)
2009-08-31 21:24:53 +02:00
Jaromil
fd11f832e3
little fixes
...
testing python scripts after cleanup
2009-08-31 01:42:32 +02:00
Jaromil
ad8e5ca2fd
some more adjustements and fixes
2009-08-30 22:48:57 +02:00
Jaromil
9f0774f30c
Context::screen is back (back-compat)
...
some more fixes to the cleanup
2009-08-30 22:03:00 +02:00
Jaromil
16ea26558c
Merge branch 'singleton' into cleanup_aug09
...
still needs testing as things got shaked quite a bit
now stabilizing this branch and then merge into trunk
Conflicts:
src/gl_screen.cpp
src/include/factory.h
src/include/freeframe_freej.h
src/include/frei0r_freej.h
src/kbd_ctrl_js.cpp
src/layer.cpp
src/mouse_ctrl.cpp
2009-08-30 19:11:21 +02:00
Jaromil
f608aeff1f
some stabilization after cleanup
...
preparing to merge singleton branch
it will solve unique screen and controllers for multiple javascripts
2009-08-30 17:33:11 +02:00
Jaromil
f3c72894fc
screated screen_js
...
now screens are also present in JS
still tasks pending:
backwards compatibility with scripts
resolution of multiple screens in startup/reset logic
testing
2009-08-30 04:28:49 +02:00
Xant
7c8fe8f6a1
ops
2009-08-29 17:02:39 +02:00
Xant
dc939ae8bf
don't use hardcoded values, but query the environment for screen size
2009-08-29 17:02:38 +02:00
Jaromil
b409820950
Factory is now used also for Screens
...
Screen API changed a bit: now size args are taken from init(w,h)
screen implementations should provide an _init(w,h) as well
constructors are without arguments (as in the rest of freej)
2009-08-29 11:53:48 +02:00
Pablo Martin
0dd31d7463
removed some cruft.
2009-08-29 04:00:22 +02:00
Pablo Martin
df0279fc14
adding a folder for example python scripts, as well as an initial sample
...
script.
2009-08-29 03:55:58 +02:00
Pablo Martin
f98c501fc7
made language mode switch automatically when loading a file with the
...
appropriate extension.
2009-08-29 03:52:06 +02:00
Pablo Martin
40350d6292
added a python opengl test using glut (intended to be used with the gtk
...
scripting gui).
2009-08-29 03:52:06 +02:00
Pablo Martin
35586464ff
a little bit of cleanup.
2009-08-29 00:11:22 +02:00
Pablo Martin
f69378766b
add python mode to the editor (can execute and run python scripts).
2009-08-28 22:11:42 +02:00
Jaromil
89d97e5228
change width/height() to get_width/get_height()
...
later on will be methods attached to the screen class
2009-08-28 22:03:31 +02:00
Pablo Martin
20c11fa7cc
updating wishlist.
2009-08-28 08:31:15 +02:00
Pablo Martin
b11ff44ad4
adding some preview functionality, a statusbar, and a few more editor
...
commands.
2009-08-28 08:29:14 +02:00
Pablo Martin
2b15a97d2f
adding cut, copy and paste accelerators.
2009-08-28 04:20:29 +02:00
Pablo Martin
adfcb44e94
add try catch except statement to test experimental function.
2009-08-28 04:06:33 +02:00
Pablo Martin
ed9c709f9d
improving tree view:
...
- add set debug option on menu
- add menu to remove layers, controllers and filters
- fix details here and there
- added a gtksourceview2 js editor (cant save or run from here yet :P)
2009-08-28 04:06:33 +02:00
Jaromil
6b43d14908
some more on the gtkgui wishlist
2009-08-27 18:28:40 +02:00
Pablo Martin
6f92bb3db8
add your own wishes for the gtk editor here.
2009-08-27 18:10:22 +02:00
Pablo Martin
6888a312e1
dont override global functions.
2009-08-27 18:00:53 +02:00
Pablo Martin
00ba1700be
change some blit mode as a test.
2009-08-27 18:00:53 +02:00
Jaromil
a255a5fca4
small fixes to gtkpy gui
...
caedes did on my comp
2009-08-27 15:44:41 +02:00
Pablo Martin
a959a6b093
start of alternative status widget.
2009-08-27 04:56:46 +02:00
Pablo Martin
50ab011e5e
added an effect selector to the gtk gui.
2009-08-27 03:55:27 +02:00
Pablo Martin
df1cf918b7
trying to fix pygame examples after changes in api (still not working).
2009-08-26 20:19:30 +02:00
Pablo Martin
b83acef87e
small tweaks
2009-08-26 20:19:30 +02:00
Xant
689308ac83
query the environment for screen resolution
...
(instead of using hardcoded values)
2009-08-21 10:15:40 +02:00
Xant
ce2221f60c
Merge branch 'trunk' of ssh://git@code.dyne.org/freej into trunk
2009-08-21 10:15:28 +02:00
Pablo Martin
c8cd48b08a
Merge branch 'trunk' of git://dyne.org/freej into trunk
2009-08-21 02:39:08 +02:00
Pablo Martin
6a469f7ec7
added javascript command execution and dummy filling of the context
...
tree.
2009-08-21 02:38:22 +02:00
Jaromil
5d1f4a8574
rename share/doc/freej/examples in scripts
2009-08-21 01:52:26 +02:00
Pablo Martin
b3f4519437
open_script button works now.
2009-08-21 00:36:47 +02:00
Pablo Martin
4c81adaf14
initial code for the gtk gui.
2009-08-21 00:26:32 +02:00
Pablo Martin
11c0305839
fix python test.
2009-08-20 22:44:55 +02:00
Xant
a58d35b61c
Allow to query the context for actual screen size
...
Don't let acid_geo to change screen resolution (affecting all
other running layers) but initialize it to fit actual size.
2009-08-20 22:13:47 +02:00
Jaromil
36441ddd55
acid geometry script by buZz
2009-08-19 23:32:56 +02:00
Jaromil
3dad01792b
fixes for RSSPlaylist
...
now working with audio (jack) and not crashing when a video is closed
2009-07-24 16:28:27 +02:00
Jaromil
bf8268b517
AudioCollector in python bindings
2009-07-24 14:24:35 +02:00
Jaromil
d6c7ac935b
some cleanup and test
...
audio works! can hear the sound of videos on jack
just sometimes the audio jumps a little, must check that buffers are tight
2009-07-24 12:33:42 +02:00