Return-Path: X-Original-To: apmail-pivot-user-archive@www.apache.org Delivered-To: apmail-pivot-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B60031094D for ; Tue, 4 Mar 2014 00:04:23 +0000 (UTC) Received: (qmail 89603 invoked by uid 500); 4 Mar 2014 00:04:23 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 89564 invoked by uid 500); 4 Mar 2014 00:04:23 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 89556 invoked by uid 99); 4 Mar 2014 00:04:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2014 00:04:23 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [173.201.193.102] (HELO p3plsmtpa08-01.prod.phx3.secureserver.net) (173.201.193.102) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2014 00:04:16 +0000 Received: from Roger-Whitcombs-iMac.local ([75.61.134.206]) by p3plsmtpa08-01.prod.phx3.secureserver.net with id ZC3t1n0054TMDLB01C3tSh; Mon, 03 Mar 2014 17:03:53 -0700 X-Sender: RogerandBeth Message-ID: <53151869.3050700@rbwhitcomb.com> Date: Mon, 03 Mar 2014 16:03:53 -0800 From: Roger and Beth Whitcomb User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: user@pivot.apache.org Subject: Re: Drawing a display on top of a canvas References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------050708070101080806030309" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------050708070101080806030309 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit What happens if you set the backgroundColor style to null (in BXML it would be $bxml:null)? ~Roger On 3/3/14 3:12 PM, Heinrich Reich wrote: > Hey guys, > I am working with an OpenGL based framework (LibGdx) and I am drawing > all my OpenGL stuff onto a java.awt.Canvas. Now my problem is that I > want to draw a Pivot GUI on top of the canvas but the Display hides > everything behind it, even if I change the backgroundColor style to > “new Color(0,0,0,0)”. Here is a picture to illustrate my problem: > how it looks: http://imageshack.com/a/img703/6864/p8ar.png > how it should look: http://imageshack.com/a/img18/2623/7kbk.png > and here are the borders of the display: > http://imageshack.com/a/img585/6462/eoy9.png > Do I have to reimplement the DisplayHost class or is there another way > to draw a Pivot GUI above a Canvas. > Btw, the problem is not related to the fact that I am drawing with > OpenGL to the canvas. I tested it with another canvas object which was > generated with normal Java2D. > Some other information: > > * Everything is rendered in a JFrame. > * The Pivot DisplayHost and the Canvas are inside a JPanel. > > I hope you guys can help me. I could not find anything useful on the > internet. > Thanks for your help! > - Trixt0r --------------050708070101080806030309 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit What happens if you set the backgroundColor style to null (in BXML it would be $bxml:null)?

~Roger

On 3/3/14 3:12 PM, Heinrich Reich wrote:
Hey guys,
 
I am working with an OpenGL based framework (LibGdx) and I am drawing all my OpenGL stuff onto a java.awt.Canvas. Now my problem is that I want to draw a Pivot GUI on top of the canvas but the Display hides everything behind it, even if I change the backgroundColor style to “new Color(0,0,0,0)”. Here is a picture to illustrate my problem:
 
and here are the borders of the display: http://imageshack.com/a/img585/6462/eoy9.png
 
Do I have to reimplement the DisplayHost class or is there another way to draw a Pivot GUI above a Canvas.
Btw, the problem is not related to the fact that I am drawing with OpenGL to the canvas. I tested it with another canvas object which was generated with normal Java2D.
 
Some other information:
  • Everything is rendered in a JFrame.
  • The Pivot DisplayHost and the Canvas are inside a JPanel.
I hope you guys can help me. I could not find anything useful on the internet.
 
Thanks for your help!
 
- Trixt0r

--------------050708070101080806030309--