aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* screen: unsigned integers for screen dimensionsMax Kellermann2008-09-221-2/+2
| | | | Store screen width and height as unsigned integer.
* screen: removed window.cur_action_idMax Kellermann2008-09-221-1/+0
| | | | The variable cur_action_id is not used at all.
* screen: last_cmd should be a command_tMax Kellermann2008-09-221-1/+2
| | | | | last_cmd stores the previous command sent to the screen. It is not a timestamp, and its type should be command_t.
* screen: moved input_timestamp to screen_play.cMax Kellermann2008-09-221-1/+0
| | | | Since the input_timestamp is only used by screen_play, move it there.
* screen: moved list_window mouse code to list_window.cMax Kellermann2008-09-221-5/+1
| | | | | | Move the portion of screen_get_mouse_event() which handles list_window clicks to list_window.c. The code contained a NULL pointer dereference, which is now fixed.
* screen: moved code to ncu.cMax Kellermann2008-09-221-3/+0
| | | | | Moved basic libncurses initialization to ncu.c and ncu.h. Keep generic code out of screen.c.
* make several functions return voidMax Kellermann2008-09-171-2/+2
|
* screen: removed screen_functions.get_lw()Max Kellermann2008-09-171-2/+0
| | | | | | If it is really important to set the curser, we should think of a better way, instead of exporting one non-generic method. For now, just set the cursor to the origin.
* replaced get_screen_X() with static screen_functions variableMax Kellermann2008-09-171-21/+0
| | | | | | Compile time initialization saves resources, compared to run-time initialization. Declare all screen_function structs as global variables, and remove all get functions.
* screen: added struct namesMax Kellermann2008-09-161-22/+24
| | | | | Let us declare struct names in addition to typedef names, so we can forward-declare them.
* include cleanupMax Kellermann2008-09-151-1/+5
| | | | | | A header should include all headers which he needs. Move local includes on top, and let foo.c include foo.h in the first line, to automatically test its dependencies.
* fix function prototypesMax Kellermann2008-09-151-1/+24
| | | | | | Add missing prototypes, and fix wrong prototypes. Convert lots of functions to "static" when they are only used within the current source file.
* const pointersMax Kellermann2008-09-151-4/+4
| | | | | Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
* code style, indent with tabsMax Kellermann2008-09-151-49/+43
| | | | | | | Follow the same code style als MPD itself. This patch only fixes parts of the code which are going to be touched in the following bunch of patches, i.e. there will be more "code style" patches in the future.
* translation updates, template and german. another little build fixAndreas Obergrusberger2006-08-051-0/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4562 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* the updated sourcesAndreas Obergrusberger2006-08-041-1/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4543 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Moved definitions from screen.h to ncmpc.h Kalle Wallin2004-07-131-5/+0
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1866 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Crossfade time can now be definied in the rc file (crossfade-time)Kalle Wallin2004-07-131-16/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1865 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Replaced the time_t type with glibs GTimeKalle Wallin2004-07-031-4/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1785 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added basic ncurses mouse supportKalle Wallin2004-07-021-0/+4
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1770 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Major cleanup of the mpd client code (mpc->mpdclient)Kalle Wallin2004-06-141-9/+9
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1481 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Use the terminal in raw mode - ignore terminal control charactersKalle Wallin2004-06-091-1/+1
| | | | | | | Changed arguments to the get_title callback git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1420 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added an optional clock screen :)Kalle Wallin2004-06-061-0/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1360 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added wreadln.c, wreadln.h a simple line editorKalle Wallin2004-06-061-0/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1351 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* i18n - ncmpc is now bilingual (sv)Kalle Wallin2004-06-061-7/+0
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1349 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added initial i18n supportKalle Wallin2004-06-051-6/+0
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Changed directory layout (for future use of gettext)Kalle Wallin2004-06-051-0/+113
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1342 09075e82-0dd4-0310-85a5-a0d7c8717e4f