Click here to Skip to main content
15,892,746 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Image hot spots? Pin
DaveyM6926-May-10 7:49
professionalDaveyM6926-May-10 7:49 
GeneralRe: C# Image hot spots? [modified] Pin
Luc Pattyn26-May-10 7:58
sitebuilderLuc Pattyn26-May-10 7:58 
GeneralRe: C# Image hot spots? Pin
DaveyM6926-May-10 13:07
professionalDaveyM6926-May-10 13:07 
GeneralRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 13:33
sitebuilderLuc Pattyn26-May-10 13:33 
GeneralRe: C# Image hot spots? Pin
Jacob Dixon26-May-10 8:02
Jacob Dixon26-May-10 8:02 
GeneralRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 8:17
sitebuilderLuc Pattyn26-May-10 8:17 
GeneralRe: C# Image hot spots? Pin
Jacob Dixon26-May-10 8:27
Jacob Dixon26-May-10 8:27 
GeneralRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 8:38
sitebuilderLuc Pattyn26-May-10 8:38 
splitting the shadow image into separate rooms is easy, as each room has its pixels in a different color.
it would be rather slow, however it needs to be done only once; so your app could do it once, at startup, in a background thread; or do it just-in-time and cache them; or you could write (the same) code to do it beforehand, and ship all the images with the app, possibly as embedded resources.

I haven't done this recently; I have done similar things in the past though. And I would see no flashing whatsoever, as I would probably use double-buffering, and the two images are very similar anyhow; where they differ, they do so on purpose. One should take care not to change anything as long as the current room does not change.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read formatted code with indentation, so please use PRE tags for code snippets.

I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).

GeneralRe: C# Image hot spots? Pin
Jacob Dixon26-May-10 10:41
Jacob Dixon26-May-10 10:41 
GeneralRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 10:51
sitebuilderLuc Pattyn26-May-10 10:51 
GeneralRe: C# Image hot spots? Pin
Jacob Dixon26-May-10 11:11
Jacob Dixon26-May-10 11:11 
GeneralRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 11:51
sitebuilderLuc Pattyn26-May-10 11:51 
Questionread from serial port Pin
genieabdo26-May-10 3:41
genieabdo26-May-10 3:41 
AnswerRe: read from serial port Pin
Alaric_26-May-10 4:09
professionalAlaric_26-May-10 4:09 
GeneralRe: read from serial port Pin
genieabdo27-May-10 22:13
genieabdo27-May-10 22:13 
QuestionStreaming images using TCP help Pin
TimSWatson26-May-10 3:32
TimSWatson26-May-10 3:32 
AnswerRe: Streaming images using TCP help Pin
Luc Pattyn26-May-10 10:47
sitebuilderLuc Pattyn26-May-10 10:47 
GeneralRe: Streaming images using TCP help Pin
TimSWatson26-May-10 21:29
TimSWatson26-May-10 21:29 
GeneralRe: Streaming images using TCP help Pin
Luc Pattyn27-May-10 2:59
sitebuilderLuc Pattyn27-May-10 2:59 
QuestionNew Bluetooth Profile Pin
ika226-May-10 3:03
ika226-May-10 3:03 
QuestionWorking with list(Please help) [modified] Pin
future383926-May-10 2:36
future383926-May-10 2:36 
AnswerRe: Working with list(Please help) Pin
Henry Minute26-May-10 2:40
Henry Minute26-May-10 2:40 
GeneralMessage Removed Pin
26-May-10 2:46
future383926-May-10 2:46 
GeneralRe: Working with list(Please help) Pin
Henry Minute26-May-10 2:50
Henry Minute26-May-10 2:50 
GeneralRe: Working with list(Please help) Pin
future383926-May-10 3:04
future383926-May-10 3:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.