|
|
1.1 ! root 1: #ifndef FLAYER_H ! 2: #define FLAYER_H ! 3: #include "frame.h" ! 4: ! 5: #undef None ! 6: ! 7: typedef enum Vis{ ! 8: None=0, ! 9: Some, ! 10: All, ! 11: } Vis; ! 12: ! 13: #define Clicktime 60 /* one second */ ! 14: typedef struct Flayer Flayer; ! 15: struct Flayer{ ! 16: Frame f; ! 17: long origin; /* offset of first char in flayer */ ! 18: long p0, p1; ! 19: unsigned long click; /* time at which selection click occurred, in HZ */ ! 20: uchar **(*textfn)(); ! 21: int user0; ! 22: char *user1; ! 23: Rectangle entire; ! 24: Rectangle scroll; ! 25: Vis visible; ! 26: }; ! 27: ! 28: Flayer *flwhich(); ! 29: long scrtotal(); ! 30: #define FLMARGIN 3 ! 31: #define FLSCROLLWID 12 ! 32: #define FLGAP 4 ! 33: #endif FLAYER_H
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.