treblih / chafing_dish

chafing dish management tool, for my friend's business, with ncursesw(ui) & sqlite3(db)

Home Page:chafing_dish

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

remind me:

5 windows, left/mid/right/status/notice

1 thread to get time and flush status bar every 60 sec

mainly 2 abstraction
    WIDGET <- menu/form
    menu_t <- menu attributes

only 1 interact()

widget->direct widget->enter, kinda OO like vfs

wgetch/menu_driver/form_driver/item_userptr/field_userptr, lib func

wgetch -> interact -> direct/enter -> driver/userptr

stack to store bill items for the sake of unsubscription

every decode() updates acc/stocks fields in db

sure() just updates table bill according to all TOTALs

About

chafing dish management tool, for my friend's business, with ncursesw(ui) & sqlite3(db)

chafing_dish


Languages

Language:C 100.0%