Revision: 13650
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13650&view=rev
Author: vszakats
Date: 2010-01-20 12:53:44 +0000 (Wed, 20 Jan 2010)
Log Message:
-----------
2010-01-20 13:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/Makefile
+ contrib/hbwin/wapi_wingdi.c
+ Added experimental WAPI wrappers for Windows GDI printing
functions also found in win_prn1.c.
This is partially to avoid the legacy interface which
is a combination of WIN_* functions and Harbour class.
Which may seem to make thing more complicated at first,
but IME it provides a much cleaner interface, as you
only have to adapt to MSDN docs.
It's also a test bed for structure passing in WAPI
situations. I've used hashes as the best looking
solution, but even this has some things left to solve
(like handling string types and returning values).
Anyway it's a food for thought.
* contrib/hbwin/hbwin.ch
+ Added WIN_DMORIENT_* constants.
* contrib/hbwin/win_prn1.c
! Fixed to not accept raw pointers where HDC or HPEN is
expected. I've added this feature last year, without
making special mention of it in ChangeLog, so it was
a double-mistake.
* Minor cleanups (hb_retnl() vs hb_retni())
% Optimization in WIN_SETBKMODE().
Modified Paths:
--------------
trunk/harbour/ChangeLog
trunk/harbour/contrib/hbwin/Makefile
trunk/harbour/contrib/hbwin/hbwin.ch
trunk/harbour/contrib/hbwin/win_prn1.c
Added Paths:
-----------
trunk/harbour/contrib/hbwin/wapi_wingdi.c
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour