Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/freesc/util.scm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30 - (show annotations) (download)
Mon Feb 26 13:50:55 2007 UTC (17 years, 1 month ago) by tmurakam
File size: 970 byte(s)
file moved

1 //
2 // Load Long File Name bitmap
3 //
4 defun LFNBitmap
5 if (%# != 1) Error(ENUMPARAM) endif
6 I_93(0)
7 LoadBitmap(0 6 ef 0 0 51 %1)
8 endfun
9
10 defun LFNBitmapDayNight
11 if (%# != 2) Error(ENUMPARAM) endif
12 IfVarRange( :in_day@ 28C 2 4 )
13 LFNBitmap( %2 )
14 Jump( :end@ )
15 :in_day@
16 LFNBitmap( %1 )
17 :end@
18 endfun
19
20 defun BitmapDayNight
21 if (%# != 2) Error(ENUMPARAM) endif
22 IfVarRange( :in_day@ 28C 2 4 )
23 Bitmap( %2 0 0 0 0 )
24 Jump( :end@ )
25 :in_day@
26 Bitmap( %1 0 0 0 0 )
27 :end@
28 endfun
29
30 defun HMeasure
31 Area(5 %1 %2 10)
32 PerspectiveCall( :Sub )
33 Jump( : )
34
35 :Sub
36 Perspective
37 Refpoint( 7 :No_obj 1 %1 %2 )
38
39 LineColor( 0F F0 )
40 Dot( 0 0 0 )
41 Dot( 0 5 0 )
42 Dot( 0 10 0 )
43 Dot( 0 15 0 )
44 Dot( 0 20 0 )
45
46 LineColor( 15 F0 )
47 Dot( 0 1 0 )
48 Dot( 0 2 0 )
49 Dot( 0 3 0 )
50 Dot( 0 4 0 )
51 Dot( 0 6 0 )
52 Dot( 0 7 0 )
53 Dot( 0 8 0 )
54 Dot( 0 9 0 )
55 Dot( 0 11 0 )
56 Dot( 0 12 0 )
57 Dot( 0 13 0 )
58 Dot( 0 14 0 )
59 Dot( 0 16 0 )
60 Dot( 0 17 0 )
61 Dot( 0 18 0 )
62 Dot( 0 19 0 )
63 :No_obj
64 Return
65
66 EndA
67 endfun

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26