* src/rtl/hbzlibgz.c
* src/rtl/fstemp.c
* src/rtl/at.c
* src/rtl/strtran.c
* src/rtl/hbinet.c
* src/rtl/saverest.c
* src/rtl/diskspac.c
* src/rtl/philes.c
* src/rtl/mlcfunc.c
* src/rtl/disksphb.c
* src/rtl/shadow.c
* src/rtl/trace.c
* src/rtl/ati.c
* src/rtl/hbstrsh.c
% Optimized to use hb_parn*def() calls instead of inline-if expression
(where default value is constant or simple variable).
% Optimized out few HB_ISNUM() calls where the default value was zero.
Also added comment to signal the intention.
* src/rtl/inkey.c
+ Added two TOFIXes to LASTKEY() and NEXTKEY() after having discovered
two hidden (dirty) parameter extensions over original Clipper
implementation, both added here in Harbour in year 2001. [ I didn't
test if it's undocumented Clipper function, but there is no such
indication in past log enties, plus even in this case it would have
to be marked with HB_CLP_UNDOC. They are also not Xbase++ extensions. ]
+ Added HB_KEYNEXT(), HB_KEYLAST() functions which implement original
NEXTKEY()/LASTKEY() functionality plus the extension.
Pls correct me if I'm wrong, but after reading all related log entries
I could not find out why the default of the optional parameter is
_SET_EVENTMASK in NEXTKEY(), but INKEY_ALL in LASTKEY(). It was changed
as part of big change, here: 2004-10-11 21:40 UTC+0100 Przemyslaw Czerpak
; I intend to deprecate the dirty extensions and finish adding the two
new Harbour specific function, which we're free to extend.
* contrib/xhb/dumpvar.prg
! Fixed recent typo.
* INSTALL
* Updated tdm website.
75 lines
2.7 KiB
C
75 lines
2.7 KiB
C
/*
|
|
* $Id$
|
|
*/
|
|
|
|
/*
|
|
* Harbour Project source code:
|
|
* HB_SHADOW(), HB_CLRAREA() functions
|
|
*
|
|
* Copyright 1999 Antonio Linares <alinares@fivetech.com>
|
|
* www - http://harbour-project.org
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2, or (at your option)
|
|
* any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this software; see the file COPYING. If not, write to
|
|
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
|
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
|
*
|
|
* As a special exception, the Harbour Project gives permission for
|
|
* additional uses of the text contained in its release of Harbour.
|
|
*
|
|
* The exception is that, if you link the Harbour libraries with other
|
|
* files to produce an executable, this does not by itself cause the
|
|
* resulting executable to be covered by the GNU General Public License.
|
|
* Your use of that executable is in no way restricted on account of
|
|
* linking the Harbour library code into it.
|
|
*
|
|
* This exception does not however invalidate any other reasons why
|
|
* the executable file might be covered by the GNU General Public License.
|
|
*
|
|
* This exception applies only to the code released by the Harbour
|
|
* Project under the name Harbour. If you copy code from other
|
|
* Harbour Project or Free Software Foundation releases into a copy of
|
|
* Harbour, as the General Public License permits, the exception does
|
|
* not apply to the code that you add in this way. To avoid misleading
|
|
* anyone as to the status of such modified files, you must delete
|
|
* this exception notice from them.
|
|
*
|
|
* If you write modifications of your own for Harbour, it is your choice
|
|
* whether to permit this exception to apply to your modifications.
|
|
* If you do not wish that, delete this exception notice.
|
|
*
|
|
*/
|
|
|
|
#include "hbapi.h"
|
|
#include "hbapigt.h"
|
|
|
|
HB_FUNC( HB_SHADOW )
|
|
{
|
|
if( hb_pcount() >= 4 )
|
|
hb_gtDrawShadow( hb_parni( 1 ),
|
|
hb_parni( 2 ),
|
|
hb_parni( 3 ),
|
|
hb_parni( 4 ),
|
|
hb_parnidef( 5, 7 ) );
|
|
}
|
|
|
|
HB_FUNC( HB_CLRAREA )
|
|
{
|
|
if( hb_pcount() > 4 )
|
|
hb_gtSetAttribute( hb_parni( 1 ),
|
|
hb_parni( 2 ),
|
|
hb_parni( 3 ),
|
|
hb_parni( 4 ),
|
|
hb_parni( 5 ) );
|
|
}
|