Displaying 16 results from an estimated 16 matches for "windowdc".
Did you mean:
windowsdc
2007 Apr 29
0
[991] branches/wxruby2/wxwidgets_282/doc/textile: Update documentation for painting methods and WindowDC subclasses
...on:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[991] branches/wxruby2/wxwidgets_282/doc/textile: Update documentation for painting methods and WindowDC subclasses</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>991</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2007-04-29 12:33:41 -0400 (Sun, 29 Apr 2007)</dd>...
2006 Sep 26
1
WindowDC.i.patch
unignores GetTextExtent (fixes problem with new SWIG 1.3.30 builds)
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Sep 10
2
Swig generates bad interface to GetTextExtent
Swig''s bad interface generation strikes again. get_text_extent called
with 1 argument maps to WindowDC''s _wrap_wxWindowDC_GetTextExtent__SWIG_0
Since this generates a wxFont that''s not initialized to nil it fails
when calling into wxWindows. Anyone have a suggestion?
2004 Apr 23
11
Building wxruby-swig for Mac
...fined suppress -flat_namespace -o -shared -framework Carbon
macstart.o obj/wx.o obj/RubyConstants.o obj/App.o obj/Bitmap.o obj/DC.o
obj/Event.o obj/EvtHandler.o obj/Frame.o obj/GDIObject.o obj/Icon.o
obj/Menu.o obj/MenuBar.o obj/Object.o obj/PaintDC.o obj/Point.o
obj/Size.o obj/Window.o obj/WindowDC.o -L/usr/local/lib -framework
Carbon -framework System -lwx_mac-2.4 -ldl -lobjc -o lib/wx.bundle
c++: macstart.o: No such file or directory
rake aborted!
--
Ryan "John" Platte
Custom services, NIKA Consulting
http://nikaconsulting.com/
2006 Oct 21
0
[700] trunk/wxruby2/doc/textile/window.txtl: Added paint to the method index; corrected info about the type of DC
...lt;span class="lines">@@ -1579,8 +1580,10 @@
</span><span class="cx">
</span><span class="cx"> paint { | window_dc | ... }
</span><span class="cx">
</span><del>-This method runs the block, yielding a "WindowDC":windowdc.html into it
-to enable direct drawing onto a widget.
</del><ins>+This method runs the block, yielding a "PaintDC":paintdc.html into it
+to enable direct drawing onto a widget. This method should *only* be
+used within an @on_paint@ handler. To draw at other tim...
2006 Oct 21
0
[699] trunk/wxruby2/doc/textile/window.txtl: Added paint method; corrected ret values for get_text_extent; removed
...(-1)":#Window_scrollpages . It scrolls the window up one page.
</ins><span class="cx">
</span><span class="cx">
</span><ins>+h3(#Window_paint). Window#paint
+
+ paint { | window_dc | ... }
+
+This method runs the block, yielding a "WindowDC":windowdc.html into it
+to enable direct drawing onto a widget.
+
</ins><span class="cx"> h3(#Window_popeventhandler). Window#pop_event_handler
</span><span class="cx">
</span><span class="cx"> "EvtHandler":evthandle...
2005 Aug 22
2
Adding ScreenDC
Here is the file to add ScreenDC. I noticed that it inherits from wxDC
which is what the docs show but the headers for each platform are much
different:
- Mac,MSW,os2,motif,palmos all inherit from wxWindowDC
- X11,GTK inherit from wxPaintDC
- MGL, cocoa inherit from wxDC
After saying that on Windows it still work inheriting from wxDC so I
left it for now, any thoughts?
Sean
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mai...
2004 Apr 22
0
wxruby-swig 0.0.4
...y 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 be
reminded about so I can add them to the new codes base as well.
This new release of wxruby-swig adds the same Window#paint method, which
required me to implement DC, WindowDC, PaintDC, and evt_paint.
Continuing the pattern, I had some obstacles, but was able to find
solutions for all of them.
The wxWidgets reference docs, which I am using to build all the class
definitions, do not specify whether a method is "pure virtual" or not.
SWIG requires this infor...
2008 May 18
0
[ wxruby-Bugs-20211 ] Unresolved symbol due to linkage error
...obj/TextUrlEvent.o obj/TextValidator.o obj/Timer.o obj/TimerEvent.o obj/TipProvider.o obj/TipWindow.o obj/ToggleButton.o obj/ToolBar.o obj/ToolBarToolBase.o obj/ToolTip.o obj/TopLevelWindow.o obj/TreeCtrl.o obj/TreeEvent.o obj/UpdateUIEvent.o obj/Validator.o obj/Window.o obj/WindowCreateEvent.o obj/WindowDC.o obj/WindowDestroyEvent.o obj/WindowDisabler.o obj/Wizard.o obj/WizardEvent.o obj/WizardPage.o obj/WizardPageSimple.o obj/XmlResource.o obj/RubyConstants.o obj/RubyStockObjects.o obj/Functions.o obj/Mac.o obj/wx.o -pthread -Wl,-Bsymbolic-functions -lwx_gtk2u_stc-2.8 -lwx_gtk2u_gl-2.8 -lwx_gtk2u_ri...
2006 Apr 23
4
Wx::Window#get_text_extent patch
Here''s a patch to fix Wx::Window#get_text_extent - it requires that the
patches from teh last message are applied, to enable *INPUT etc typemaps.
Roy - though the function works correctly when called from Ruby, it
still causes a crash when called internally when clicking on a Wx::Grid
cell. Saw your message on SWIG mailing list, hopefully someone there can
help out.
alex
2005 Aug 21
15
New inheritance
A good number of the samples I have tested are outright or subtly broken
on Windows now. I''m trying to determine what the cause is. Mostly it
seems related to the initialize function not being created when it
should be.
Case in point: ClientDC.i
The caret example won''t work at all because initialize isn''t declared
any longer. If you comment out the import
2010 Jan 28
5
Compiling problem on Ubuntu 9.10 64 bit
...oggleButton.o obj/ToolBar.o obj/ToolBarToolBase.o
obj/ToolTip.o obj/Toolbook.o obj/ToolbookEvent.o obj/TopLevelWindow.o
obj/TreeCtrl.o obj/TreeEvent.o obj/Treebook.o obj/TreebookEvent.o
obj/UpdateUIEvent.o obj/VListBox.o obj/VScrolledWindow.o obj/Validator.o
obj/Window.o obj/WindowCreateEvent.o obj/WindowDC.o
obj/WindowDestroyEvent.o obj/WindowDisabler.o obj/Wizard.o
obj/WizardEvent.o obj/WizardPage.o obj/WizardPageSimple.o
obj/XmlResource.o obj/RubyConstants.o obj/RubyStockObjects.o
obj/Functions.o obj/Mac.o obj/wx.o -pthread -Wl,-Bsymbolic-functions
-lwx_gtk2u_stc-2.8 -lwx_gtk2u_gl-2.8 -lwx_gtk2u_me...
2005 Jul 31
5
SWIG compilation
The result of the compilation after installing swig results in lots of
errors of the sort:
WindowDisabler.obj : error LNK2001: unresolved external symbol
_SWIG_Ruby_ConvertPtr
I can see this is defined in rubydef.swg but I''m not sure why this isn''t
just included in the files that need it. Can any swig experts tell me
what I need to do to progress? I''m using
2004 Apr 29
10
wxruby-swig 0.0.12 is up
This one includes the latest App.cpp which includes the Mac fix from
Nick. I thought it was in 0.0.11, but it wasn''t.
It also adds support for "stock objects", like colours, pens, and fonts.
This turned out to be quite challenging, but I''m happy with the
solution. It only took a few days :-/
Kevin
2007 Feb 09
20
Hello Everyone
I have a bit of a problem with installation. I installed wxX11 in my
linux box. I compiled the demos and all the demos, save dbbrowse,
work. I think I have a functional wx. Now I''m trying to install wxRuby
from source, since I have a 64 bit machine. I only have permission to
my home directory so my installation is :
/usr/people/stevenq/Applications/wxX11/
2005 Aug 04
9
wxruby2 retooling
I finally gave up on swig 1.3.22, since it seems to be causing too many
problems. Ubuntu breezy will have 1.3.24, so I''m retargeting wxruby2 to
swig 1.3.24+. At the moment, I have 1.3.25 on my system, since that''s
the current release.
I''m finding all kinds of problems with the post-processors we have that
clean up the .cpp files that swig creates. The