🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #813

creating a movable glyph

#813
From: Institut fuer Foerdertechnik
Date: Sun, 08 Nov 1992 15:48
32 lines
1602 bytes
I've tried to create a little example-program where I can move a glyph.
After really long time (!) I was able to drag it, but there was another
problem:
With the help of some transformers the glyph was drawn on the right positions,
but when I released it and the wanted to move it again, I could only create an
event at the old location and not on the position where the glyph was actually
drawn.


Now I ask:

How I have to set the transformers to get the event on the right position?

Perhaps my understanding of glyphs is completely wrong.

What would be the best way?

1. Create an InputHandler with a given size which is empty. (Glyph, MonoGlyph,
I don't know)
2. Push a new Glyph (like a little box) on the given screen of the
InputHandler.
3. Write the functions press, drag, release and so on to get the right
behaviour in drawing the glyph.

Are these steps ok, or is there a better way to do it?

And, most important, how to get the glyph in the empty screen?

HELLLLLLLLLLP ME, it's very urgent !!


Axel Katzenberger
Technical Details
Message-ID: <1992Nov8.154821.10602@rz.uni-karlsruhe.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!spool.mu.edu!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!usenet

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!spool.mu.edu!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!usenet
From: IFK_USER@ifk20.mach.uni-karlsruhe.de (Institut fuer Foerdertechnik)
Subject: creating a movable glyph
Message-ID: <1992Nov8.154821.10602@rz.uni-karlsruhe.de>
Sender: usenet@rz.uni-karlsruhe.de (USENET 'No news is bad news' News System)
Organization: University of Karlsruhe, FRG (Dept. of Mechanical Engineering)
Date: Sun, 8 Nov 1992 15:48:21 GMT
X-News-Reader: VMS NEWS 1.20
Lines: 32