Commit 53029b4c authored by Ben Avison's avatar Ben Avison
Browse files

Active point of "crosshairs" pointer was previously hardwired, now it is...

Active point of "crosshairs" pointer was previously hardwired, now it is calculated to be the centre of the sprite - fixes problem with new high-res pointer. Also removed the colour 3 dot from the middle of the sprite, and added stripdepnd to !Clean.

Version 1.13. Tagged as 'Draw-1_13'
parent a16cf5bc
......@@ -15,3 +15,4 @@
Dir <Obey$Dir>
Echo Cleaning <Obey$Dir> ...
AMU_machine INSTDIR=!Draw clean_all
stripdepnd
No preview for this file type
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "1.12"
Module_Version SETA 112
Module_MajorVersion SETS "1.13"
Module_Version SETA 113
Module_MinorVersion SETS ""
Module_Date SETS "13 Jan 2003"
Module_ApplicationDate SETS "13-Jan-03"
Module_Date SETS "17 Jan 2003"
Module_ApplicationDate SETS "17-Jan-03"
Module_ComponentName SETS "Draw"
Module_ComponentPath SETS "RiscOS/Sources/Apps/Draw"
Module_FullVersion SETS "1.12"
Module_HelpVersion SETS "1.12 (13 Jan 2003)"
Module_FullVersion SETS "1.13"
Module_HelpVersion SETS "1.13 (17 Jan 2003)"
END
/* (1.12)
/* (1.13)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.68.
*
*/
#define Module_MajorVersion_CMHG 1.12
#define Module_MajorVersion_CMHG 1.13
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 13 Jan 2003
#define Module_Date_CMHG 17 Jan 2003
#define Module_MajorVersion "1.12"
#define Module_Version 112
#define Module_MajorVersion "1.13"
#define Module_Version 113
#define Module_MinorVersion ""
#define Module_Date "13 Jan 2003"
#define Module_Date "17 Jan 2003"
#define Module_ApplicationDate "13-Jan-03"
#define Module_ApplicationDate "17-Jan-03"
#define Module_ComponentName "Draw"
#define Module_ComponentPath "RiscOS/Sources/Apps/Draw"
#define Module_FullVersion "1.12"
#define Module_HelpVersion "1.12 (13 Jan 2003)"
#define Module_LibraryVersionInfo "1:12"
#define Module_FullVersion "1.13"
#define Module_HelpVersion "1.13 (17 Jan 2003)"
#define Module_LibraryVersionInfo "1:13"
......@@ -593,10 +593,16 @@ static void draw_setpointer (diagrec *diag)
case state_elli:
case state_rect:
{ sprite_id sprite;
os_regset r;
sprite.tag = sprite_id_name;
sprite.s.name = "crosshairs";
wimpt_noerr (pointer_set_shape (resspr_area (), &sprite, 8, 4));
r.r[0] = 256 + 40; /* read sprite information */
r.r[1] = (int) resspr_area ();
r.r[2] = (int) sprite.s.name;
wimpt_noerr (os_swix (OS_SpriteOp, &r));
wimpt_noerr (pointer_set_shape (resspr_area (), &sprite, (r.r[3]-1)/2, (r.r[4]-1)/2));
}
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment