U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Is there an example/links how to use X11 DHCtrl?
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: 1796
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
 
Read Message
Read Message
Previous Topic: Moving child ctrl, runtime, by mouse and keyboard
Next Topic: GtkWidget inside U++
Goto Forum:
  


Current Time: Fri Jun 12 00:21:05 GMT+2 2026

Total time taken to generate the page: 0.00856 seconds