URI:
       tfns.h - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
       tfns.h (1874B)
       ---
            1 /* Copyright (c) 1994-1996 David Hogan, see README for licence details */
            2 
            3 #ifdef        DEBUG
            4 #define        trace(s, c, e)        dotrace((s), (c), (e))
            5 #else
            6 #define        trace(s, c, e)
            7 #endif
            8 
            9 #define setstate setstaterio
           10 
           11 
           12 /* color.c */
           13 unsigned long colorpixel(Display*, ScreenInfo*, int, unsigned long, unsigned long);
           14 
           15 /* main.c */
           16 void        usage();
           17 void        initscreen();
           18 ScreenInfo *getscreen();
           19 Time        timestamp();
           20 void        sendcmessage();
           21 void        sendconfig();
           22 void        sighandler();
           23 void        getevent();
           24 void        cleanup();
           25 
           26 /* event.c */
           27 void        mainloop();
           28 void        configurereq();
           29 void        mapreq();
           30 void        circulatereq();
           31 void        unmap();
           32 void        newwindow();
           33 void        destroy();
           34 void        clientmesg();
           35 void        cmap();
           36 void        property();
           37 void        shapenotify();
           38 void        enter();
           39 void        leave();
           40 void        focusin();
           41 void        reparent();
           42 void         motionnotify();
           43 BorderOrient borderorient();
           44 
           45 /* manage.c */
           46 int         manage();
           47 void        scanwins();
           48 void        setshape();
           49 void        withdraw();
           50 void        gravitate();
           51 void        cmapfocus();
           52 void        cmapnofocus();
           53 void        getcmaps();
           54 int         _getprop();
           55 char        *getprop();
           56 Window        getwprop();
           57 int         getiprop();
           58 int         getstate();
           59 void        setstate();
           60 void        setlabel();
           61 void        getproto();
           62 void        gettrans();
           63 
           64 /* key.c */
           65 void keypress();
           66 void keyrelease();
           67 void keysetup();
           68 
           69 /* menu.c */
           70 void        button();
           71 void        spawn();
           72 void        reshape();
           73 void        move();
           74 void        delete();
           75 void        hide();
           76 void        unhide();
           77 void        unhidec();
           78 void        renamec();
           79 void        button2();
           80 void        initb2menu();
           81 void        switch_to();
           82 void        switch_to_c();
           83 
           84 
           85 
           86 /* client.c */
           87 void        setactive();
           88 void        draw_border();
           89 void        active();
           90 void        nofocus();
           91 void        top();
           92 Client        *getclient();
           93 void        rmclient();
           94 void        dump_revert();
           95 void        dump_clients();
           96 void shuffle(int);
           97 
           98 /* grab.c */
           99 int         menuhit();
          100 Client        *selectwin();
          101 int         sweep();
          102 int         drag();
          103 int         pull();
          104 void        getmouse();
          105 void        setmouse();
          106 
          107 /* error.c */
          108 int         handler();
          109 void        fatal();
          110 void        graberror();
          111 void        showhints();
          112 void        dotrace();
          113 
          114 /* cursor.c */
          115 void        initcurs();
          116 
          117 void ShowEvent(XEvent*);