Re: Ximage

Dimitris Keletsekis <[email protected]> Fri, 30 Aug 2013 10:53:12 +0300
Newsgroups gmane.comp.windows.gui4cli
Message-ID <CAHiKg1XMbBf_dbKnaEqe_fqjBXKWhR8ko_8UEnDiDtL+-P9Jgw@mail.gmail.com>
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, <[email protected]> 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
> >
> >
> 
>