Displaying 6 results from an estimated 6 matches for "wxmediactrl".
Did you mean:
mediactrl
2007 Oct 24
2
MediaCtrl?
Hi.
First of all, thank you for your hard work - wxRuby (with wxSugar) is a
wonderful tool! I have been playing with it on and off for a year or so for
toy projects and really like it!
I need to play mediafiles (mostly mp3s) from within an application. In
wxwidgets (the c++) I can use wxMediaCtrl. As I understand it this class is
not implemented in wxRuby - right?
Is there a reason for this - is there technical problems implementing it? I
have read about the policy to only wrap GUI functionality and not classes
already present in ruby. Thing is, I haven''t found any other way to pla...
2007 Nov 21
6
MediaCtrl
...); //FIXME: This should be const
wxFileOffset Length(); //FIXME: This should be const
wxFileOffset GetDownloadProgress(); // DirectShow only
wxFileOffset GetDownloadTotal(); // DirectShow only
Wx file offset is typedefed in WxWindows to an int or 64-bit int
depending on compiler. In wxMediaCtrl.h I''ve typedeffed it to int
witch seems to work but will break for relay huge files on platforms
that supports it (windows and ?). Have anyone bumped into this before?
It would be possible to omit these functions but seek, tell and length
are quite usable.
MediaCtrl.rb is a port of the Wx...
2007 Dec 08
1
Compiling SVN with MediaCtrl
Hey guys,
Trying to get wxRuby to compile with the new MediaCtrl option available, and
I can''t for some reason, get wxRuby to compile, saying that it can''t find
the events for wxEVT_MEDIA_FINISHED, and such. I''ve looked at my compile,
and I have the tag enabled for --enable-mediactrl, infact, the full
configure line is:
./configure --disable-shared --with-gtk
2007 Dec 28
3
more problems with 1.9.2
The files:
wx/accessors.rb
wx/keyword_ctors.rb
wx/keyword_defs.rb
do not exist in the tarball:
% pwd
/home/rwa/Distributions/test/wxruby-1.9.2
% find . -name accessors.rb
%
but are required in wx.rb:
% tail wx.rb
Dir.glob(class_files) do | class_file |
require ''wx/classes/'' + class_file[/\w+\.rb$/]
end
# Load in syntax sweetner
require ''wx/accessors''
2008 May 18
0
[ wxruby-Bugs-20211 ] Unresolved symbol due to linkage error
...ject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -o lib/wxruby2.so
After installing everything with rake install, trying to use the wx extension fails with error message
/usr/local/lib/site_ruby/1.8/i486-linux/wxruby2.so: /usr/local/lib/site_ruby/1.8/i486-linux/wxruby2.so: undefined symbol: _ZNK11wxMediaCtrl12GetClassInfoEv - /usr/local/lib/site_ruby/1.8/i486-linux/wxruby2.so (LoadError)
from /usr/local/lib/site_ruby/1.8/wx.rb:12
Searching for the missing symbol, I find it is defined on the system in /usr/lib/libwx_gtk2u_media-2.8.so.
I try to fix it by adding -lwx_gtk2u_media-2.8 to the link...
2008 Jan 08
28
1.9.3 release, rakefile
Hi
I''d like to put out a 1.9.3 release perhaps later this week/weekend. If
you have a chance to test the build and samples esp with latest
rubygems, please do.
There are still some bugs on the list, and samples to do, but this
should address all the build/install probs that have come up. And it
would be good to get some testing and feedback on some of the new classes.
A note on the