layer

Animating the UIButton Layer?

Hi Im trying to bring the ripple effect seen in the dashboard application to iphone. My idea is whenever i place a button in the layout view there should be ripple effect around the button. however Im able to bring the ripple effect for the whole view but I needs the effect only around the button. I tried the following code. I don know...

Efficiently loading hidden/layered images in web page

I have a layered div component which displays a successive series of large kb images by slide-animating away the top image to reveal the next image below. I'm trying to understand how best to approach this. Approach 1: layer a number of divs on top of each other, each with an image assigned as background, and slide away the divs as ne...

simple spring app - why use service layer?

hi. i looked at the example on http://solitarygeek.com/java/developing-a-simple-java-application-with-spring/comment-page-1#comment-1639 because i'm just getting started with spring. And, i'm trying to figure out why the service layer is needed in the first place in the example he provides. if you took it out, then in your client, you ...

vb6: graphics question

hi, i'm wondering if the following could be done easily with vb6: load a transparent bitmap (eg. gif or png) - 2 colors change its color display several instances in different colors do this layered + different drawmodes so what i want is overlapping instances in different colors and drawmodes. i know it could be done using the poly...

Java OSI Transport Layer

I'm working on a project where I need to communicate with a device using the transport layer. The network connection will be OSI/CLNS over IP. I could be wrong, but I don't believe I can use sockets for this type of connection. I'm looking for examples on how to create an application that can communicate over the transport layer (eit...

How do I show a view similar to UIActionSheet, on top of everything that's on the screen

I have a view with a UITextField which is the first responder. I'm trying to add a semi-transparent view with an activity indicator that would cover everything. Right now the code looks something like this: CATransition *animation = [CATransition animation]; [animation setType:kCATransitionFade]; [self.window.layer addAnimation:animati...

How to recognize in Magento if current page have active additional layered navigation filters?

I need to intercept before product collection, if current page has active additional layered navigation filters to change visbility filter. ...

Android: is it possible to have multiple separate Canvas layers, which I can merge to one?

Is it possible to have multiple separate Canvas layers, which I can merge to one? Similar to what I'd do in photoshop? Update: Some explanation why I'd like to have something like that: Layer1 might hold something that has been created by a complex and CPU expensive algorithm while the other layer, Layer2, is something that just goes...

Accessing non-static DAL methods

Hi, I am fairly new to .net and am creating a web app for learning purposes. I have a DAL with non static methods in it. My question is, how should i be accessing these methods in the business layer? I'm not sure if this is a good or a bad way but currently i use this class to create instances of the DAL methods: public DataAccess { ...

draw line/point on existing UIView without drawRect?

I created line chart. Now I need to display point on this chart when I tap the screen. What would be the best method? Do I need to call drawRect again, draw whole chart with marked point? I'm thinking about something like transparent layer over the chart UIView. Can I create another transparent UIView and put it on the position of my c...

How to implement a new layer over JavaScript framework?

Hi, What's the best way to implement a new layer over JavaScript framework (jQuery, Prototype, ...)? +------------+ | JavaScript | +------------+ | jQuery | +------------+ | MyLibrary | +------------+ For example... MyLibrary = MyLibrary || {}; MyLibrary.animate = function(params) { // some code } MyLibrary.insert = functi...

Critique for an approach to send status messages to the UI?

Hello. We are writing an application hosted in Excel 2002 (groan). One requirement is that, during certain operations, we submit progress messages to the user from the business layer. However, these messages can be displayed at multiple sites, one being the Excel status bar, and another being a label on a form, and possibly others in ...