I have a PNG in a UIImageView with alpha around the edges (let's say a circle). When I tap it, I want it to register as a tap for the circle if I'm touching the opaque bit, but a tap for the view behind if I touch the transparent bit.
(BTW: On another forum, someone said PNGs automatically do this, and a transparent PNG should pass the...
Hey all. i was wondering how would i make a GUI that is "transparent" in C#. Now im not talking about transparencykey etc.
I want to make a window that uses vistas aero theme but instead of a control in the form i just want it to show more of that seethru aero look. And also i want to remove all buttons and icons and text from the windo...
Hi Stackoverflow,
what is the appropriate way to overlay two layers of an UIView for the iPhone? The underlaying view should be active until a button is pressed, then another UIView should cover
everything in a transparent way.
I found the Modal View Controllers, but they simply exchange UI-Views but don't overlay.
Thanks in advance.
...
Hi everyone - there seems to be a similar question to this on here but with the 'opposite' problem (He didn't want mouse events captured).
I have a form with a panel. The window is borderless and set to the exact size of the panel (for all intents and purposes, it is as if the panel is 'free floating'). I can set the panel's BackColor t...
I'm trying to make a button which displays an image and is active only where that image is at least partially opaque. How do I take the Image and get a Region that I can set on the button?
...
I created a "Loading" spinner in a SWF. I display this spinner in my main application SWF using SWFLoader. How do I make the SWFLoader transparent? Currently it uses Flex's default background color even though I've set backgroundAlpha="0".
My spinner SWF's main MXML: (Note the use of backgroundAlpha)
<mx:Application xmlns:mx="http:/...
My question is regarding the jQuery Support system.
I'd like to know if it is possible to tell whether or not the browser will support semi-transparent background PNG images using this method.
Edit: I am not interested in CSS solutions to a specific problem. I'd like to know if the jQuery support checking system can check this. I app...
Hi, I was playing around with memory-mapped files in C and was wondering if there
is a way to replace the FILE * from fopen with a memory mapped file transparently.
Example:
FILE * fp = g_fopen(...);
//Program does things to this fp.
fclose();
But instead, is it possible to have FILE *fp = my_fopen(...)
Where my own function would...
I have a webcam feed being displayed on my form and would like to draw on top of it. I was going to do this using a picture box, I have found the PictureBox doesn't support true transparency instead just the colour of the form it's on. It also doesn't support alphablending which is how I would want it to display, similar to how forms can...
My program needs to output a (fairly complex) form to the printer, including several images. I’m currently doing this using Delphi (2006)’s Printer.Canvas, after selecting a PDF printer (PDF995). This works like a treat.
However, I’m now running into a problem: there’s one partially transparent image that needs to be placed on top of ...
A OpenGL App I've written acts as a viewer for large data files in a propriety format.
It's pretty simple, it loops through each data set one at a time, drawing each one using a glCallList:
for (all objects in our in our data set)
{
if (first time drawing this object)
{
glNewList(...);
for (all pixels in object_...
I have a WPF control that I would like to overlay onto a WinForms application. So I have dutifully created a Element Host that can show the following WPF object:
<UserControl x:Class="LightBoxTest.LightBox"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
...
With WPF 3D, is it possible to have a texture with an alpha channel?
I am wanting to make a 3d scene where everything is flat surfaces (like everything is paper cutouts). I thought the easiest way to achieve this would be to create a plane, divide it into quite a few triangle (like a cloth), then apply a texture with a transparent backg...
I have a transparent PNG image. The transparent areas need to remain completely transparent, but the other areas need tinting with a particular hue.
What's the best way to do this using GD?
Cheers,
James
...
I created a 57X57 Circle-shaped icon (without shine) which has transparency outside of the circle-shape for my app. I can successfully install the app on Simulator and iPhone. It works fine, and looks great.
However, can I submit an icon with transparency to Apple. Will they accept it? I can't find any apps which have transparency in th...
The application:
I am writing a little game that would teach the user to read music notes. The game play is very simple. The app displayes a note and my little daughter (target user) should hit the emulated keyboard key on the WinForm GUI matching to the note. She has 1 minute to get as many good hits a she can. Successes and failures ar...
How can I create PyGTK pixmaps with one pixel value set to transparent? I know it has something to do with creating a pixmap of depth 1 and setting it as a mask, but all I find is that it either does nothing or totally erases my pixmap when drawn. At the moment, I make a pixmap with
r = self.get_allocation()
p1 = gtk.gdk.Pixmap(self.win...
I want to display a file tree similarly to java2s.com 'Create a lazy file tree', but include the actual system icons - especially for folders. SWT does not seem to offer this (Program API does not support folders), so I came up with the following:
public Image getImage(File file)
{
ImageIcon systemIcon = (ImageIcon) FileSystemView.g...
Hi all. I am attempting, unsuccessfully, to use Ghostscript to rasterize PDF files with a
transparent background to PNG files with a transparent background. I've
searched high and low for questions from others attempting the same thing
and none of the posted solutions, which as far as I can tell come down to
specifying -sDEVICE=pngalpha,...
Hi,
In my application I'd like to have a transparent window but fully opaque children controls underneath. However, WPF makes all children transparent.
See the XAML below. The grid is semi-transparent 50% as expected but the rectangle in it is trasparent not opaque even thought opacity="1". Is there any way to achieve this?
<Window x...