Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Is there an example/links how to use X11 DHCtrl?
Is there an example/links how to use X11 DHCtrl? [message #26737] Mon, 24 May 2010 06:03 Go to next message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
hi! Sorry, I'm stuck - I can't find any examples how to use DHCtrl in X11 nor any documentation links (at least from uppweb "Manual" page). As written in forums, DHCtrl got life as OpenGL helper but I can't see any GL links on that page either. GLPainter is for win32 only? I know, I can digg it out myself, but maybe could someone, please, give me some easy clues. Smile Thanks
Re: Is there an example/links how to use X11 DHCtrl? [message #26738 is a reply to message #26737] Mon, 24 May 2010 11:30 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Aris,

Did you have a look at GLCtrl/X11GLCtrl.cpp? It is (most unusually Smile ) quite well commented and shows basically all you probably need. The reference app GLPaint compiles and runs fine on Linux.

Some info about DHCtrl as I understand it (which might not be corect...): In U++ everything is painted using single context (in X11) or window handle (on win32). If someone needs to do some painting using native routines, e.g. to render openGL, you must support context/handle and that is why DHCtrl exists. It is like any other Ctrl, with the exception, that it has it's own context/handle. So basically you can do with it whatever you could do using native painting procedures.

Sorry if you already knew all that Wink

Honza
Previous Topic: Moving child ctrl, runtime, by mouse and keyboard
Next Topic: GtkWidget inside U++
Goto Forum:
  


Current Time: Fri Mar 29 10:36:47 CET 2024

Total time taken to generate the page: 0.01261 seconds