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 |
|
Hi Aris,
Did you have a look at GLCtrl/X11GLCtrl.cpp? It is (most unusually ) 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
Honza
|
|
|
Goto Forum:
Current Time: Fri Sep 20 11:30:16 CEST 2024
Total time taken to generate the page: 0.02618 seconds
|