aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-22screen: unsigned integers for screen dimensionsMax Kellermann1-2/+2
Store screen width and height as unsigned integer.
2008-09-22screen: removed window.cur_action_idMax Kellermann1-1/+0
The variable cur_action_id is not used at all.
2008-09-22screen: last_cmd should be a command_tMax Kellermann1-1/+2
last_cmd stores the previous command sent to the screen. It is not a timestamp, and its type should be command_t.
2008-09-22screen: moved input_timestamp to screen_play.cMax Kellermann1-1/+0
Since the input_timestamp is only used by screen_play, move it there.
2008-09-22screen: moved list_window mouse code to list_window.cMax Kellermann1-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.
2008-09-22screen: moved code to ncu.cMax Kellermann1-3/+0
Moved basic libncurses initialization to ncu.c and ncu.h. Keep generic code out of screen.c.
2008-09-17make several functions return voidMax Kellermann1-2/+2
2008-09-17screen: removed screen_functions.get_lw()Max Kellermann1-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.
2008-09-17replaced get_screen_X() with static screen_functions variableMax Kellermann1-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.
2008-09-16screen: added struct namesMax Kellermann1-22/+24
Let us declare struct names in addition to typedef names, so we can forward-declare them.
2008-09-15include cleanupMax Kellermann1-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.
2008-09-15fix function prototypesMax Kellermann1-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.
2008-09-15const pointersMax Kellermann1-4/+4
Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
2008-09-15code style, indent with tabsMax Kellermann1-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.
2006-08-05translation updates, template and german. another little build fixAndreas Obergrusberger1-0/+1
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4562 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-04the updated sourcesAndreas Obergrusberger1-1/+5
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4543 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-13Moved definitions from screen.h to ncmpc.h Kalle Wallin1-5/+0
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1866 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-13Crossfade time can now be definied in the rc file (crossfade-time)Kalle Wallin1-16/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1865 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-03Replaced the time_t type with glibs GTimeKalle Wallin1-4/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1785 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-02Added basic ncurses mouse supportKalle Wallin1-0/+4
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1770 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-14Major cleanup of the mpd client code (mpc->mpdclient)Kalle Wallin1-9/+9
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1481 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-09Use the terminal in raw mode - ignore terminal control charactersKalle Wallin1-1/+1
Changed arguments to the get_title callback git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1420 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-06Added an optional clock screen :)Kalle Wallin1-0/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1360 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-06Added wreadln.c, wreadln.h a simple line editorKalle Wallin1-0/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1351 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-06i18n - ncmpc is now bilingual (sv)Kalle Wallin1-7/+0
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1349 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-05Added initial i18n supportKalle Wallin1-6/+0
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-05Changed directory layout (for future use of gettext)Kalle Wallin1-0/+0
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1342 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-07Redesigned ncmpc's color supportKalle Wallin1-8/+0
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@937 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-21Fixed resize handling (SIGWINCH).Kalle Wallin1-1/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@871 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-21Added screen_idle() function.Kalle Wallin1-1/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@863 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-19Major cleanup. The goal of this is to simplify addition of "screens".Kalle Wallin1-6/+28
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@832 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-06Added a welcome message (help).Kalle Wallin1-0/+4
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@609 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-05Added input_timeout.Kalle Wallin1-0/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@606 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-29Changed non blocking read timeout from 100ms to 250ms.Kalle Wallin1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@539 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-27Define the read timeout in screen.hKalle Wallin1-0/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@511 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-25Added support for a configuration file ~/.ncmpcrc and color support.Kalle Wallin1-0/+11
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@473 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-24Moved list window fuctions to list_window.c. Kalle Wallin1-1/+1
Added function list_window_cmd() for basic commands (movment). git-svn-id: https://svn.musicpd.org/ncmpc/trunk@454 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-24Padded TOP_HEADER.. with spaces to clear previous header.Kalle Wallin1-2/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@452 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-23Use screen_status_printf() instead of screen_status_message().Kalle Wallin1-2/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@418 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-22Added a find buffer and a function for formated status messages.Kalle Wallin1-0/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@368 09075e82-0dd4-0310-85a5-a0d7c8717e4f