From: Chris Ridpath ([email protected])
Date: 11/04/02
Steven,
So far, it sounds like you're doing the right thing.
Could you send me the code for the GokKeyImage you created?
I'm not sure how you can get text on top of the image. Sorry I can't help you out with that one :-(
If you want the background to have an image all you have to do is create a GokButton that fills the entire keyboard. Place this key as the first key in the keyboard and all the other keys will overlap it. (Does that make sense?)
Cheers,
Chris
> Okay,
>
> I've been hacking away and almost have a partial solution to my
> problem.
>
> As you already know, I'm using GOK for kiosks. I was given a keyboard
> layout from our graphic designer, and I have to turn that into an
> interface for GOK. So, we require that keys on a GOK keyboard be
> images.
>
> To test things out, I took the GokKeyLabel object, and created a
> GokKeyImage that behaves in much the same way. Then I added an
> instance of GokKeyImage to the GokKey object, and an option to the
> keyboard definition reader.
>
> So, when I left work on Thursday, I had a GOK that could display
> either a label or an image on each of the keys.
>
> This is a good start, but it's not good enough. I need every key on
> the GOK keyboard (and the space between) to be able to be represented
> by an image.
>
> Anyone have any pointers on how I should implement this? I can go
> away and hack up my own way, but it may not jive with your coding
> style, or your ideas for the future of GOK. I'm currently just
> looking at modifying the GokButton widget to support a few options of
> display styles.
>
> Up to now, I've just been playing with ideas. Before I go any
> further, I want someone to give me warnings on what not to do, or
> suggestions on how you would like to see it done.
>
> Thanks,
> -Steven
This archive was generated by hypermail 2.1.4 : 03/09/04 EST