summaryrefslogtreecommitdiff
path: root/src/interface.h
AgeCommit message (Collapse)AuthorFilesLines
2020-02-15Support UTF-8 charactersBenjamin Franzke1-1/+1
Switch to ncursesw (using pkg-config) for UTF-8 support. Fallback to a X/Open Curses specification compatible curses implementation if ncursesw is not available. The fallback is intended for non-ncurses systems only. UTF-8 multibyte does also work on the curses implementation of NetBSD. We may need a proper configure check to assert that the curses library is multibyte capable. Note that X/Open Curses doesn't specify wide character (utf-8) compatiblity.
2011-12-20Get rid of chooser_main_ctl and chooser_childBenjamin Franzke1-7/+2
Use a current_ctl pointer in struct interface instead.
2011-12-19command: Put main ctl length logic into interface.cBenjamin Franzke1-0/+3
2011-12-19Rename chooser_{sink,input} to chooser_{main_ctl,child}Benjamin Franzke1-3/+3
2011-12-18Move interface related properties into new interface structBenjamin Franzke1-6/+25
2011-12-18Finally move interface_get_current_ctl into interface.cBenjamin Franzke1-0/+3
2011-12-13Let interface_set_status use va argsBenjamin Franzke1-1/+1
2011-12-13Add goto based error-path cleanup to mainBenjamin Franzke1-1/+1
2011-12-13interface: Rename print_sink_list to interface_redrawBenjamin Franzke1-1/+1
2011-12-13config: Read keymap from configuration fileBenjamin Franzke1-0/+2
This needed a split of the switch that handled input before into several small callback functions.
2011-10-22Add License header to source filesBenjamin Franzke1-0/+19
2011-10-21Fix ident mistakes introduces by previous mass changesBenjamin Franzke1-4/+11
Variables were substituted by sed, so indentation got messed up.
2011-10-21Stop using global variables.Benjamin Franzke1-4/+7
Rather store it in a context, thats used everywhere as parameter, or as userdata.
2011-10-19interface: Rename status to interface_set_statusBenjamin Franzke1-1/+1
2011-10-19interface.h: Remove private function prototypesBenjamin Franzke1-5/+0
Therefore reorder function definitions in interface.c.
2011-10-19interface: Rename get_input to interface_get_inputBenjamin Franzke1-1/+1
2011-02-08Printing full name length.younix1-0/+1
Adding function to find out the longest name of all SINK's and INPUT's. Inserting indentations in amount of this max. length.
2010-10-21status: fix pointer to be constben1-1/+1
2010-07-23glib curses input-event added (replacement for g_timeout)ben1-1/+1
2010-07-23unix SIGWNICH signal wrapped as glib signal sourceben1-1/+1
2010-07-23add status function, and display connection stateben1-0/+1
2010-07-22glib-ify datatype, functions etc + header cleanupben1-6/+3
2010-07-20interface: adding function for window-resizeyounix1-0/+1
This function resize the internal ncurses box when the terminal program was resized.
2010-07-15replace own VOLUME_MAX def with PA_VOLUME_NORM defben1-1/+0
2010-07-15syntax cleanupben1-1/+1
2010-07-13add mute support for sinks and inputsben1-1/+1
2010-07-12wip: bugfix: interfaceJan Klemkow1-1/+2
2010-07-12move sources to src/ben1-0/+17