The first implementation of scroll views.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2370 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
netcrep 1997-08-05 21:50:10 +00:00
parent 03d0b58c1f
commit e6f636ee30
17 changed files with 1513 additions and 1038 deletions

View file

@ -51,7 +51,7 @@
#ifdef MIN
# undef MIN
#endif
# define MIN(a, b) \
#define MIN(a, b) \
({typedef _ta = (a), _tb = (b); \
_ta _a = (a); _tb _b = (b); \
_a < _b ? _a : _b; })
@ -59,7 +59,7 @@
#ifdef MAX
# undef MAX
#endif
# define MAX(a, b) \
#define MAX(a, b) \
({typedef _ta = (a), _tb = (b); \
_ta _a = (a); _tb _b = (b); \
_a > _b ? _a : _b; })
@ -67,7 +67,7 @@
#ifdef ABS
# undef ABS
#endif
# define ABS(x) \
#define ABS(x) \
({typedef _tx = (x); \
_tx _x = (x); \
_x >= 0 ? _x : -_x; })