2010-11-11 23:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbzebra/tests/testwin.prg
    * Trying to figure what's best way to round off coordinates
      to the stupid integers the winapi requires. Patch it further 
      if you know better.

  * bin/hb3rdpat.hbs
    + Clarification to help text, by Tamas.
This commit is contained in:
Viktor Szakats
2010-11-11 22:45:28 +00:00
parent a8a6533a18
commit b8dc506033
3 changed files with 16 additions and 2 deletions

View File

@@ -16,6 +16,15 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-11-11 23:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbzebra/tests/testwin.prg
* Trying to figure what's best way to round off coordinates
to the stupid integers the winapi requires. Patch it further
if you know better.
* bin/hb3rdpat.hbs
+ Clarification to help text, by Tamas.
2010-11-11 22:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbzebra/coredraw.c
+ Added protection against NULL pCallback pointer.

View File

@@ -114,7 +114,12 @@
* ---------------------
*
* By default, hb3rdpat operates in `component version updating' mode - that is,
* refreshing the component version to a newer upstream version.
* refreshing the component version to a newer upstream version. Let it be noted
* that if the new version is very different from the currently in-tree version
* (lots of new files, removed files, radically re-organized upstream source
* tree, for example), hb3rdpat's utility will decrease steeply. In such cases
* considering the full manual update of the component is advised.
* By default, hb3rdpat operates in `component version updating' mode - that is,
*
* If hb3rdpat is called with the `-rediff' command line argument, it switches
* to a `local diff refresh' mode. This mode is used to refresh the local diff

View File

@@ -129,4 +129,4 @@ STATIC FUNCTION hb_zebra_draw_wapi( hZebra, hDC, hBrush, ... )
RETURN HB_ZEBRA_ERROR_INVALIDZEBRA
ENDIF
RETURN hb_zebra_draw( hZebra, {| x, y, w, h | wapi_FillRect( hDC, { x, y, x + w, y + h }, hBrush ) }, ... )
RETURN hb_zebra_draw( hZebra, {| x, y, w, h | wapi_FillRect( hDC, { Int( x + .5 ), Int( y + .5 ), Int( x + .5 ) + Int( w ), Int( y + .5 ) + Int( h ) + 1 }, hBrush ) }, ... )