similar to: wxRuby: MemoryDC problems...

Displaying 20 results from an estimated 100 matches similar to: "wxRuby: MemoryDC problems..."

2007 Dec 01
5
Tearing in my buffered animation test script...
OK, I have a basic blit demo working (thanks to Alex Fenton for his reply, which I finally saw). However, there''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
2008 Jan 19
5
No joy from Wx::App.dispatch, Wx::App.yield...
OK, back with another iteration of the same problem... I updated my game demo, but the Close button failed to respond when (and only when) there were too many objects onscreen. The drawing loop is probably lasting longer than my drawing timer interval. I was able to reproduce the problem in my (probably familiar by now) test script just by boosting the number of lines drawn per frame. After
2007 Dec 30
4
Drawing thread not getting enough time from scheduler?
Need some assistance with animation again... When I run the drawing code in a separate thread, it''s slow as heck. I think it may be because the drawing thread isn''t getting enough time from the thread scheduler. I was able to reproduce the problem in my little sample program simply by increasing the number of lines it draws per update. I''m lucky to get one frame
2006 Dec 03
0
[776] trunk/wxruby2: Added Bitmap#draw method, updated sample
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2005 Jan 22
9
Dragging images across the canvas
Hi wxRuby Gurus, I''m trying to write a sample program which allows me to drag an image (by left_mouse_button down) across the canvas. I got it to work ... well, sort of. The problem is I can drag it only by clicking on the left top corner of the image and nowhere else. Besides, the dragging is not very smooth. How can I make it better? I am using wxRuby 0.6.0 on Win XP (Home) and
2004 Jan 08
3
pictorG
Hi! Attached is the current version of my image organizing program. If you dbl-click on a thumbnail, it will show the image (1:1 zoom) in a dialog, and eat some memory.... Gergo -- +-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval
2006 Sep 03
3
Patch for DrawLines
These enable DrawLines and DrawPolygons. I disable the wxList one since the WX docs indicate that the list is now ''type-safe'' requiring a derived class to send a wxList of Points. Since we''re unlikely to do this I just blocked it off so it doesn''t interfere with internal functions that may call that one. Note: MemoryDC doesn''t inherit from DC.h.
2008 Jan 25
2
"undefined symbol" with wxRuby gem on Fedora Core 5...
I''m trying to test on platforms other than Windows, starting with my Fedora Core 5 box. I''m getting this error when trying to run the Hello World script (http://wxruby.rubyforge.org/wiki/wiki.pl?Hello_World): undefined symbol: gtk_widget_is_composited - /usr/local/lib/ruby/gems/1.8/gems/wxruby-1.9.4-x86- linux/lib/wxruby2.so (LoadError) This happens with both the
2007 Jun 05
3
Wx::Image resizing
Hello, I am having problems using the ''resize'' and ''size'' methods of Wx::Image. They seem to be undefined: irb(main):021:0> image = Wx::Image.new("input.ppm") => #<Wx::Image:0xb7b49ef4> irb(main):022:0> image.respond_to? "rescale" => true irb(main):023:0> image.respond_to? "resize" => false
2004 Jun 22
8
Tracking Mouse motion
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: tst_wxPaint.rbw Type: application/octet-stream Size: 4446 bytes Desc: not available Url : http://rubyforge.org/pipermail/wxruby-users/attachments/20040622/abc8ba85/tst_wxPaint-0001.obj
2006 Sep 14
2
Patch to fix ArtProvider and ArtProvider sample
These patches better implement ArtProvider and add the demo for it. I also expanded the bigdemo window a little bit. I really think we should go larger but I suppose there might be some people at 800x600 still. Note that creating your own art provider still doesn''t quite work correctly. I didn''t have time to get into that. The RubyConstants.i.patch file looks weird. Not
2007 Apr 29
0
[991] branches/wxruby2/wxwidgets_282/doc/textile: Update documentation for painting methods and WindowDC subclasses
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2005 Sep 10
8
Tagged wxruby2 v0.0.29, plus added more directors
Since things seemed to be somewhat stable (that is, wxruby2 compiles and runs on all three platforms), I tagged what has been there for a couple days as v0_0_29. Nothing magic about it, but it had been a while since I had tagged. Then I worked on adding directors to the classes that don''t have them, in the hopes of avoiding more segfault crashes during garbage collection. I was able
2007 Apr 29
0
[980] branches/wxruby2/wxwidgets_282/samples/bigdemo/ShapedWindow.rbw: Use Window#paint instead of PaintDC.new
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Apr 29
0
[994] branches/wxruby2/wxwidgets_282/samples/bigdemo/ShapedWindow.rbw: Draw bitmap via paint method rather than directly with a ClientDC
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 May 01
12
Bitmap memory leaks (Bug 251)?
I see that this problem was noted a while ago (http://rubyforge.org/ tracker/index.php?func=detail&aid=251&group_id=35&atid=218) but it seems not to have received much attention. Any chance that it will be looked at anytime soon? So far, I prefer wxRuby to Ruby/Tk because of that closer coupling with the native window manager. However, the memory leak is just murdering me.
2004 Jul 06
1
New to wxruby
Sorry if this is a repost for those of you who are also on the wxusers list. But I thought I might get some more specific feedback here. I am interested in producing graphical interface elements, like those: http://azureus.sourceforge.net/img/sc/2.1.0.2/statistics.png and http://azureus.sourceforge.net/img/sc/2.1.0.2/torrent_general.png Can anyone point me to what wxruby widgets might work to
2004 Feb 02
0
the sample
I''m faster than smarter :) The sample is here. -- +-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ -------------- next part
2008 May 18
0
[ wxruby-Bugs-20211 ] Unresolved symbol due to linkage error
Bugs item #20211, was opened at 2008-05-18 13:46 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=20211&group_id=35 Category: Compile/build Group: current Status: Open Resolution: None Priority: 3 Submitted By: Tobias Peters (t-peters) Assigned to: Nobody (None) Summary: Unresolved symbol due to linkage error Initial Comment: While compiling wxruby
2007 May 04
0
[1005] trunk/wxruby2/samples/images/images.rb: Remove some debugging output
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding: