Login  Register

Flaps aren't dead! They feel happy! (was Re: "More Direct Morphic": The Movie)

Posted by Tony Garnock-Jones-5 on May 17, 2021; 7:15am
URL: https://forum.world.st/More-Direct-Morphic-The-Movie-tp5129725p5129765.html

I use flaps! Specifically, in my experimentation with
squeak-on-a-cellphone, I put the on screen keyboard in a flap, and open
the flap automatically whenever keyboard focus switches to something
non-nil:

        newKeyboardFocus: aMorphOrNil
          aMorphOrNil
            ifNil: [OnScreenKeyboardMorph hideFlap]
            ifNotNil: [(OnScreenKeyboardMorph future: 200) raiseFlap].
          ^ super newKeyboardFocus: aMorphOrNil.

It works surprisingly well for this. Being able to adjust the height of
the keyboard by moving the flap, etc.

Cheers,
   Tony



On 5/16/21 8:13 PM, tim Rowledge wrote:

>
>
>> On 2021-05-16, at 5:38 AM, Herbert König <[hidden email]> wrote:
>>
>> What about Projects and  Flaps, can they be added to Cuis?
>
> I'm actually surprised to see that someone uses these any more; is this still a popular thing? I'd be very happy to see them go away in most respects. I suppose Projects could be argued to have some utility for the 'rescue project' but I don't think I've seen anyone use Flaps in decades.
>
>
> tim
> --
> tim Rowledge; [hidden email]; http://www.rowledge.org/tim
> Engineers work to a couple of decimal places; Physicists work to an order of magnitude; Astrophysicists work to an order of magnitude in the exponent
>
>
>
>
>