Questions about Overlay and multiple key-strokes



Hi,

I have a couple of questions.

Question 1. Is it possible to have an image (Jpeg) displayed and have
a drawing area overlayed on top but still be able to view the image
below it. If a drawing area is not allowed, is it possible to put
something that resembles a drawing area over an image where the x/y
coordinates from the mouse can be acquired and marks be left overtop
of the orignal image without altering it.

Question 2. How is it possible to perform key commands such as Ctrl+D
for example. Using the key_press_event callback I tried using nested
ifs like this to no avail:

if (event->keyval == 65507)
    if (event->keyval == 65361)

Thanks for your help,

Michal



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]