RE: Ximage
<[email protected]> 30 Aug 2013 02:43:58 -0700
| Newsgroups | gmane.comp.windows.gui4cli |
|---|---|
| Message-ID | <[email protected]> |
Dear Dimitris Thanks for the quick reply. I am using the MoveEvent already making use of xOnkey Up, Down, Left, Right and also the mouse wheel to move the images around. The only problem is the overlaping. I already tried to make use of windows instead of images but it does not work. The puzzle is of many different colours and then it is not that easy to use the Shape event to get the needed result.. I will look at your last suggestion. Then is it possible to simulate the Ctrl+Rmb keystrokes for moving controls quickly in code? Once again thanks for the help. Kind regards. Frans --- In [email protected], <gui4cli@...> wrote: Hi Frans, You can move an event with MoveEvent. You can not have wierdly shared events (controls), only windows, using WINATTR SHAPE. Event shapes could probably be implemented, because visual events like buttons etc, are windows themselves, but I don't see it happening. I don't know if it would be useful either. I think the way it would be done in an actual game would be to have a 3rd, intermediate image of the overlapping area, which you would draw over the 2 images if they fit together. Dimitris On Thu, Aug 29, 2013 at 10:40 PM, <marianne976@...> wrote: > > > > Hi All > > > I wonder if some one can be of assistance and if it can be done. > > > I am still experimenting with Gui4cli. What I want to do is to build a simple jigsaw puzzle. If the jigsaw pieces are square, with no cut outs, then it is not a problem. > > > With "genuine" looking jigsaw pieces I encounter problems. It has to do with transparency. I have tried all the image commands such as trim etc. with no success because pieces overlap, cover each other. > > > Can this be done with Gui4cli. > > > Secondly is it possible to simulate the Ctrl + RMB (for moving controls) in code. For example if I click the right mouse button to have a routine or say F11 (OnKey) > > > I hope that the above is clear. > > > Kind regards. > > > Frans > > __._,_.___ Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___