mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:20:38 +00:00
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:
parent
03d0b58c1f
commit
e6f636ee30
17 changed files with 1513 additions and 1038 deletions
|
@ -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; })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue