Annotation of Examples/AppKit/UnderPressure/pressurerect.psw, revision 1.1.1.1

1.1       root        1: #if 0
                      2: 
                      3:   pressure.psw -- wrap for setting special trackingrects for event gathering
                      4:                  attributes.
                      5: 
                      6:   by Peter Graffagnino, NeXT Computer Inc.
                      7: 
                      8:   You may freely copy, distribute, and reuse the code in this example.
                      9:   NeXT disclaims any warranty of any kind, expressed or  implied, as to its
                     10:   fitness for any particular use.
                     11: 
                     12: #endif
                     13: 
                     14: 
                     15: /*
                     16:  * set_pressure_rect() -- configures a rectangle for pressure sensitivity
                     17:  * and/or event coalescing using the new form of settrackingrect. 
                     18:  */
                     19: 
                     20: defineps set_pressure_rect(float x, y, w, h; boolean coalesce, pressure;
                     21:   int trectNum)
                     22: 
                     23:        x y w h [ /Coalesce coalesce /Pressure pressure ] trectNum null
                     24:         settrackingrect
                     25: 
                     26: endps
                     27: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.