|
|
1.1 ! root 1: #ifndef FLAYER_H ! 2: #define FLAYER_H ! 3: #include "frame.h" ! 4: ! 5: ! 6: typedef enum Vis{ ! 7: None=0, ! 8: Some, ! 9: All, ! 10: }Vis; ! 11: enum{ ! 12: Clicktime=60, /* one second */ ! 13: }; ! 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: 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.