screen

"Screen" effect in Java 2D graphics

This is a question that's been bugging me for some time now: In photoshop/GIMP, there is a "screen" layer composition mode. This mode has bright colours have a strong alpha, and dark colours a weak one. Black is entirely transparent, white entirely opaque. I would dearly love to be able to replicate this composite using Java 2D graphic...

Developing a custom on-screen display application for a laptop.

I would love to create a custom on-screen display app for my laptop, seeing as the manufacturer-supplied one is utter garbage. I'm out to write an app that will show things such as volume control, screen brightness, wireless antenna status and so forth. I'm not sure what info I'd need to know to begin creating something like this (inte...

How do I find what screen the application is running on in C#

How do I determine what screen my application is running on? ...

What screen size is better for end user

I have a SW that the minimal screen size requirement is 1024x768, 800x600 may be too small, 1024x768 would be too big? Maybe something in between? What screen size is better or the best? Thanks. ...

detect window width and compensate for scrollbars - Javascript

How do I detect the width of a user's window with Javascript and account for their scrollbar? (I need the width of the screen INSIDE of the scrollbar). Here's what I have...it seems to work in multiple browsers...except that it doesn't account for the scrollbars.. function browserWidth() { var myWidth = 0; if( typeof( window.inn...

Calculating pixel size on an iPhone

Is there a way in the iPhone SDK to calculate the size (in millimeters) of a single pixel? ...

Force screen redraw after drawing to screen's DC C++

I'm creating a Windows Mobile custom SIP and as the user presses or "hovers" over a button on the keyboard I draw it's corresponding selected image (iPhone-esque) to the screen's DC using ::GetDC(NULL). It is developed in Win32 C++. My problem is that I can never get the screen to repaint itself, erasing the previously drawn key. I'v...

API call to render the output of an App (win) to a image

Hello guys, I need a to build a application (.NET) that given the pid of another app continually makes printscreens of that app to make a video... I'm using the API call: new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, PixelFormat.Format32bppArgb); the problem I've is speed.... Any ideas ? ...

How to take a screen shot of a web page?

I want to add a button to one of our web sites that will allow the user to file a bug with our bug tracking system. One of the feature requests is that a screen cap of the page in question be sent along. Without installing something on the end users machine, how can I do this? Does javascript have some sort of screen cap api? ...

c# closing progam from Main contructor

after alot of head scathing i think I have made some progress. I am not 100% sure but Can you exit an application before the constructor is finsihed and the main form loaded? constuctor { thread t = new thread(open loading screen); } I do the exact same thing with a exit screen using a variable between the main for and another one. and...

The fastest possible way to catch the screen? Any Language

Hi there, I need to take print-screens of a Windows application very very fast to make a video out of it... I have been using C# all the way, but I'm open to any language in which this process may be faster. I have used many techniques: .net functions: Bitmap.CopyFromScreen() GDI Direct3d/DirectX The fastest I've got was using GDI ...

[iPhone] Play video not in full screen mode

Hello, First, excuse my english :) I've read on apple developer website that video playback provides by the framework supports only full screen mode. I will need to develop an application where video can be played in reduce screen mode. I've see that Orange TV make something which looks like what i need to do. http://img218.imageshac...

Best tool to develop screen mocks

I'm starting a new project and would like to develop some screen mocks to show to users before I'm actually designing my screens. What (hopefully free) tool would you recommend to use for this? Thanks! ...

How to control the mouse pointer outside our application

Hi, I want to control the mouse pointer with my application and be able to interact with other programs using my program, For example I want my application to be able to click on a button on another application How should I go about solving this problem? (Any programming language would work, also if you have any suggestion please let m...

Unable to have Zsh as a login shell at Screen's startup

I put the following to my .zshrc if [[ $STY = '' ]] then screen -xR; fi I get Bash when I start terminal now, although I have /bin/zsh at Terminal > Settings in Mac. Which variable do I need to change to make Zsh my login shell in Screen? ...

Unable to reset my terminal when screen is on

I have the following in my .zshrc if [[ $STY = '' ]] then screen -xR; fi I made a few changes to my .zshrc. I run unsuccessfully to see changes reset I also restarted my shell unsuccessfully to see the changes. This suggests me that the screen needs to be restarted somehow. How can you restart screen such that I see the changes i...

Unable to understand two lines in .screenrc

I do not know how you can see the effects of following lines in your screen bind ^g screen -t 'Google' links www.google.com bind G screen -t 'Google' sudo -u insec links www.google.com I tried unsuccessfully to press Ctrl-g at a word in a scrollback mode. I also tried to search clickable words unsuccessfully in my manuals by man...

using Windows Media Encoder to record screen

Hello everyone, Is it easy to write some .Net code to record screen and audio (from computer mic), then output to an wmv file. Any reference code? BTW: I searched all codes from WME SDK, no such sample code. thanks! George ...

Unable to bind HJKL to DLTH in Screen's C-A Esc -mode

I want my Zsh to be Dvorak friendly in Screen. I am trying to make the following bindings in Zsh such that I can use them in Ctl-a Esc mode in moving h => d j => l k => t l => n I have not yet found any ways to do that. How can you make the following keybindings in Screen, such that I can use them in the mode C-A Esc? ...

Unable to have pbcopy -clipboard inside Screen

Problem Not solved although one answer was accepted: We are working to get Jonah's code to work. Problem: to change the code of (1) to (2) I know the thread. I want to be able to run the following code inside Screen Code (1) cat ~/.vimrc | pbcopy (1) Code (2) cat ~/.vimrc > /tmp/pbcopy.pipe (2) My at...