renamed folders
This commit is contained in:
.gitignore
documentation
BUGSTODOafter.jpgafter.old.jpgbefore.jpgbefore.old.jpgcscope.1.bz2csope.GIFdev_man.mdoriginal_site_-_Cscope_Home_Page.html
object
scripts
source
build.cbuild.hcommand.cconstants.hcrossref.cdir.cdisplay.cedit.cegrep.cegrep.hegrep.yexec.cfind.cfscanner.lglobal.hgscope.chelp.cinput.cinvlib.cinvlib.hkeys.hlibrary.hlogdir.clookup.clookup.hmain.cmouse.cmygetenv.cmypopen.copt.cpath.creadline.crefsfound.cscanner.hversion.hvp.hvpaccess.cvpfopen.cvpinit.cvpopen.c
20
documentation/dev_man.md
Normal file
20
documentation/dev_man.md
Normal file
@ -0,0 +1,20 @@
|
||||
# Control flow
|
||||
...
|
||||
|
||||
# Project structure /*probably move to documentation*/
|
||||
| Component | Purpose |
|
||||
| :-------: | :-----: |
|
||||
| main.c | generic init functions, main() and primary event loops (and junk) |
|
||||
| display.c | all functions directly dealing with NCurses |
|
||||
| input.c | top layer of functions dealing with user input; migth dispatch to readline |
|
||||
| find.c | searching functions |
|
||||
| globals.h | an inherited curse; global var/prototype hell |
|
||||
| readline.c | all functions directly dealing with GNU Readline; responsible for line editing in *input mode* |
|
||||
| help.c | all functions dealing with help messages |
|
||||
|
||||
# Key Symbols
|
||||
| Global | Role |
|
||||
| :----: | :--: |
|
||||
| int input_mode | Responsible of keeping track how current input should be handled. Not only does the readline handler depend on it, its also used to determine what types of inputs all legal (e.g. swapping to another window). Takes up on of the values of the INPUT_\* macros.
|
||||
| int window_change | Bit mask type of the CH_\* macros. Keeps track of the windows to be refresed on the next run of display(). Could be better utalized.
|
||||
|
Reference in New Issue
Block a user