1
1

25 Коммитов

Автор SHA1 Сообщение Дата
Patrick Winnertz
ae987b923e Reverted the use of bool in favour of gboolean
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-02-05 23:46:07 +01:00
Patrick Winnertz
5920d13810 First bunch of reverting stuff from mhl to switch back to glib
This removes the usage of stdbool.h in favour of mhl/tyes.h as we have to revert everything one by one

Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-02-05 23:09:37 +01:00
Enrico Weigelt, metux IT service
0c97636212 fixed #240 2009-02-04 01:11:56 +01:00
Enrico Weigelt, metux IT service
45964f373b replaced gboolean by bool (from mhl/types.h) 2009-02-02 05:07:56 +01:00
Pavel Tsekov
fe251e620a * src/tty.h [USE_NCURSES]: Pull in term.h if WANT_TERM_H is defined.
(tty_tgetstr): Declare new function.
* src/tty.c [USE_NCURSES]: Request the inclusion of term.h.
(tty_tgetstr): Define new function
* src/main.c (init_xterm_support): Use tty_tgetstr().
2006-05-15 13:26:18 +00:00
Roland Illig
67f8cf661a * tty.h (tty_setcolor): Added.
* tty.c (tty_setcolor): Likewise.
2006-02-03 03:55:37 +00:00
Roland Illig
ad9acbde44 Moved printwstr() from src/slint.c to edit/editdraw.c. 2005-09-05 02:14:29 +00:00
Roland Illig
612f1555eb * tty.h: Added tty_printf().
* tty.c: Likewise.
2005-09-04 22:02:25 +00:00
Roland Illig
9fe9ad92a1 Reformatted the comments. 2005-09-01 17:06:38 +00:00
Roland Illig
7b95eee94a Added a comment that the user is responsible for not overflowing the
screen.
2005-09-01 17:04:05 +00:00
Roland Illig
c3ba638d43 * myslang.h: Partly switched to the new tty functions. 2005-08-29 10:02:35 +00:00
Roland Illig
a1bf93f138 Changed the prototypes of tty_print_hline and tty_print_vline. 2005-08-29 09:03:10 +00:00
Roland Illig
66332a4fb1 * slint.c: The handling of user interrupts has been moved to ...
* tty.c: ... this newly created file, which contains a simple,
	not yet complete interface to the terminal library. It should be
	used instead of depending directly on ncurses or SLang features.
	* tty.h: Added the new function prototypes from tty.c and some
	legacy definitions.
2005-08-29 08:45:28 +00:00
Roland Illig
a89e9cce8b * tty.h: Moved the function printwstr to slint.c, because the
SunPro compiler does not eliminate unused inline functions.
	* slint.c: printwstr has been moved to here.
2005-02-23 19:55:06 +00:00
Roland Illig
ff3ca5ecb2 * tty.h (printwstr): If LEN is not positive, ignore the request. 2005-01-27 22:01:52 +00:00
Roland Illig
ff6e206b42 * tty.h (printwstr): Added a function to print a string
left-aligned in a bounded box.
2005-01-27 21:44:00 +00:00
Roland Illig
e792cffb8d * *.h: Renamed multiple inclusion guards that started with a
double underscore. Added #includes for dependent files.
	* popt.c: Likewise.
	* popthelp.c: Likewise.
	* tree.c: Moved a macro from tree.h to here, as it is useless
	outside tree.c.
2004-12-03 19:17:46 +00:00
Pavel Roskin
ef9a43a7a3 * tty.h [!HAVE_SLANG]: Remove all slang_* definitions.
* main.c (main) [!HAVE_SLANG]: Don't call slang_shutdown().
* myslang.h: Remove slang_done_screen(), it's unused.
2002-09-08 16:22:54 +00:00
Pavel Roskin
4f4e0c2d2e * tty.h: Use standard autoconf defines to determine which
ncurses header to include.  Eliminate RENAMED_NCURSES.
2002-07-13 05:13:07 +00:00
Pavel Roskin
f3a84ebc1a * tty.h: Remove support for old curses and GNOME.
* global.h: Likewise.
2001-09-03 03:07:46 +00:00
Pavel Roskin
0bf95fdacc * tty.h [HAVE_X]: Define beep() to gdk_beep(). 2001-06-15 07:04:50 +00:00
Pavel Roskin
a06415a371 * xtty.h: Remove, move contents ...
* tty.h: ... here.
[HAVE_X]: Define attrset(), mc_refresh(), enable_interrupt_key()
and disable_interrupt_key(). Don't declare mc_refresh().
* view.c: Use braces around widget_move() since it's empty in
the GNOME edition.
* xslint.c: Eliminate attrset() and mc_refresh().
* Makefile.in: Remove xtty.h.
2001-06-15 00:24:14 +00:00
Miguel de Icaza
aaa7b5e9a2 Lots of changes:
- GNOME edition now compiles without any trace of the text mode
  dependencies.

- We no longer link with libraries we do not use (crypt, gpm), this
  fixes the recent bug reports.

- More tree updates, enhancements.

Miguel.
1998-12-02 05:18:20 +00:00
Pavel Roskin
7f8b043a3e Following names changed to bring MC in accordance with curses.m4:
NO_COLOR_SUPPORT -> NO_COLOR_CURSES
SUNOS_CURSES -> USE_SUNOS_CURSES
HAS_CURSES defined in acconfig.h
config.h.in removed from CVS as it is generated by autoheader
1998-11-26 12:26:59 +00:00
Miguel de Icaza
eb6b3842ab Initial revision 1998-02-27 04:54:42 +00:00