similar to: how can I use draw line in wxruby??

Displaying 20 results from an estimated 4000 matches similar to: "how can I use draw line in wxruby??"

2008 Jan 14
15
How to get a Window handle from another app?
Hello, I would like to get a window handle from another app outside of wxRuby and convert it into a wxRuby Window handle so that I can use it as the parent Window for several wxRuby child windows. Basically I want to use the FRAME_FLOAT_ON_PARENT window style so that my wxRuby windows become associated with the outside app kind of like toolbars, e.g., they don''t show up in the
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
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
2004 Aug 03
1
Drawing
Anyone know how to draw in wxRuby? I want to draw a graph, and have it update as new data comes in. I see stuff about Device Contexts, but I can''t find anything about how to use them, associate them with a panel, or anything like that. -Kurt
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
2007 Nov 18
4
set background label to transparent??
I just use wxRuby and I have problem I use background image on my app and when I create label it seem look background of label is gray, how can I change it into transparent???? -- Posted via http://www.ruby-forum.com/.
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 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
2007 Mar 21
4
Problem with PaintDC(MSW)
When implementing EVT_PAINT handlers in c++ the PaintDC object is constructed at the beginning of the function, and auto destructed at it''s end, which informs wxwidgets that "invalid regions in the window have been repainted". Under ruby, this is not the case and causes a stream of EVT_PAINT events to be sent to the given window (until one of PaintDC objects is destructed by
2007 Oct 02
0
[ wxruby-Patches-14375 ] bigdemo/wxScrolledWindow - paint bug with scrolled window
Patches item #14375, was opened at 2007-10-02 13:12 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=220&aid=14375&group_id=35 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Christopher Bludau (count_cb) Assigned to: Nobody (None) Summary: bigdemo/wxScrolledWindow - paint bug with scrolled window Initial Comment: I found
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
2007 Apr 29
0
[993] branches/wxruby2/wxwidgets_282/samples/bigdemo/wxScrolledWindow.rbw: Use ClientDC via Window#paint object
<!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:
2003 Nov 24
3
wxImageHandler type?
Hiya, I was trying to figure out how to display PNG files using wxWindows/wxRuby. Google turned up a few things, mainly discussing the wxImageHandler class and it''s children, etc, but there seems to be no mention of them in the wxRuby source. Are they there, and I missed them, or are they just not there? If there not there, is there a quick and dirty way to get them in? It seems like
2007 May 07
1
[ wxruby-Bugs-10662 ] ClientDC paint not being shown on OS X with 2.8
Bugs item #10662, was opened at 2007-05-07 19:55 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=10662&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 4 Submitted By: Alex Fenton (brokentoy) Assigned to: Alex Fenton (brokentoy) Summary: ClientDC paint not being shown on OS X with 2.8 Initial Comment:
2007 Sep 29
0
[ wxruby-Bugs-14322 ] Multiple warnings, especially @__painting__
Bugs item #14322, was opened at 2007-09-29 10:48 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=14322&group_id=35 Category: Incorrect behavior Group: current Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Multiple warnings, especially @__painting__ Initial Comment: Hi, I''m
2005 Feb 04
8
wxruby swig update
Good news and bad news. First he good news. wxruby-swig now compiles on Linux, Mac, and Windows using wxWidgets 2.5. I just patched a bug with the paint method today, but it''s getting very close to the first release of wxruby. With a little more cleanup, I think we''re getting ready to do a first release of it, which will hopefully replaced wxruby. Of course, the debug spew
2004 Apr 22
0
wxruby-swig 0.0.4
REMINDER: This news is about the swig-based prototype. The main wxRuby release is still current at 0.3.0. I just pushed the latest wxruby-swig code to: http://qualitycode.com/repos/wxruby-swig Thanks to Nick for reminding me about the Window#paint method that wxRuby 0.3 supports. I had forgotten all about it. There may be other features that we manually added to wxRuby that I will need to
2009 Jan 26
7
Wine and Guitar Pro 5.2
Ubuntu 8.10 Desktop, Wine 1.1.13 (upgraded from 1.0.1 to try to solve my problem). I have used used Guitar Pro very recently without a problem. After a PSU failure, I had to reinstall the OS and downloaded and installed software, including Wine. Guitar Pro appeared to install properly and its splash screen was normal. Immediately the full program ran, a fatal error stopped it. I have a screen
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
2006 Oct 17
0
[680] trunk/wxruby2/samples/printing/printing.rb: Cleaned up to use the Ruby naming convention, added #! line, now uses Wx default ID''s in standard menu items.
<!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: