Displaying 6 results from an estimated 6 matches for "mcgavren".
2008 Jan 19
5
No joy from Wx::App.dispatch, Wx::App.yield...
....2 (1.9.3 and 1.9.4
both give me errors).
If wxRuby is busy drawing when the close button is clicked, is the
window close event getting lost altogether, or merely going unhandled?
If it''s just going unhandled, how can I find it and process it? Help
is, as always, most appreciated!
-Jay McGavren
http://jay.mcgavren.com/zyps
require ''rubygems''
require ''wx''
class MyApp < Wx::App
def on_init
#Containing frame.
frame = Wx::Frame.new(nil, :size => [300, 300])
frame.show
#Offscreen drawing buffer.
buffer = Wx...
2007 Dec 30
4
Drawing thread not getting enough time from scheduler?
...42
Kernel#gem_original_require-1
0.19 0.06 0.06 0.00 0.00 28 <Class::Dir>#[]
...
My actual program (a game) is going to be doing even more drawing
operations than this, so I need to boost the speed wherever I can.
Any advice would be most appreciated!
-Jay McGavren
http://jay.mcgavren.com/zyps
2008 Jan 25
2
"undefined symbol" with wxRuby gem on Fedora Core 5...
...t
really looking to build from source; I want the gem to auto-download
and "just work" for users of my full application. Hopefully I''m just
missing something that can be downloaded via a package manager, which
I can include in installation instructions. Can anyone advise?
-Jay McGavren
http://jay.mcgavren.com/zyps
2007 Dec 01
5
Tearing in my buffered animation test script...
...39;'s a great deal of "tearing" on the screen - flickering
grey lines in the black background. It looks like the blit isn''t
always complete when the screen refreshes.
Can anyone look at this and tell me what I might be doing wrong? Any
help would be most appreciated!
-Jay McGavren
http://jay.mcgavren.com/zyps
require ''rubygems''
require ''wx''
class MyApp < Wx::App
def on_init
#Containing frame.
frame = Wx::Frame.new(nil, :size => [300, 300])
frame.show
#Offscreen drawing buffer.
buffer = Wx::Bitmap.new(300,...
2008 Mar 13
0
Equivalent to before(:all) for StepGroups?
...ate to the story or not.
Is there some equivalent to before(:all) that I can use within
stories? Or failing that, how else can I create a module variable in
the context that the step blocks run within? (I''d prefer to avoid
global variables, of course.) Many thanks for any advice!
-Jay McGavren
http://jay.mcgavren.com/zyps
2007 Oct 04
1
wxRuby: MemoryDC problems...
I''m trying to put together a quick test of buffered animation with
WxRuby, but I''m encountering a fair amount of trouble... I''m drawing
to a Wx::Bitmap first, then using Wx::DC#draw_bitmap to copy it to a
Wx::Window. But I get the following error:
C:/ruby/lib/ruby/gems/1.8/gems/wxruby-1.9.1-i386-mswin32/lib/wx/classes/bitmap.rb:18:in
`draw'': uninitialized