Cleanup of old files, added watchcursor.py (for Vedit.py), updated README.
This commit is contained in:
parent
9b86e1f5f0
commit
3ea6161bb5
|
@ -10,9 +10,9 @@ History
|
|||
|
||||
We started this in October 1991, when we had a large framegrabber
|
||||
board on loan from SGI for a few weeks: we developed a movie recording
|
||||
program (camcorder.py) and added numerous features, including still
|
||||
frame capture and synchronous sound recording using a second machine
|
||||
(the machine holding the framegrabber board didn't have audio).
|
||||
program and added numerous features, including still frame capture and
|
||||
synchronous sound recording using a second machine (the machine
|
||||
holding the framegrabber board didn't have audio).
|
||||
|
||||
During the following months, when we started using and processing the
|
||||
recorded film fragments, the "CMIF video format" was revised several
|
||||
|
@ -80,6 +80,8 @@ Vaddcache.py add a "cached index" to a video file, for faster playing
|
|||
|
||||
Vrecb.py like Vrec.py but uses "burst capture" -- somewhat specialized
|
||||
|
||||
rgb2video.py combine a sequence of rgb images into a CMIF video file
|
||||
|
||||
|
||||
These modules and files are used by the above programs:
|
||||
|
||||
|
@ -91,6 +93,10 @@ LiveVideoIn.py live video input class, used by Vsend
|
|||
|
||||
LiveVideoOut.py live video output class, used by Vsend and Vreceive
|
||||
|
||||
imgconv.py Image conversion subroutines for rgb2video.py
|
||||
|
||||
senddefs.py Defaults shared by Vsend and Vreceice
|
||||
|
||||
watchcursor.py Generally useful module to define a watch cursor in GL
|
||||
|
||||
VeditForm.fd FORMS' fdesign definition for Vedit's form
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
# Define a 16x16 cursor looking like a watch
|
||||
|
||||
# X11 bitmap file:
|
||||
##define x_width 16
|
||||
##define x_height 16
|
||||
#static char x_bits[] = {
|
||||
# 0xf0, 0x0f, 0xf8, 0x1f, 0x1c, 0x38, 0x8e, 0x71, 0x87, 0xe1, 0x83, 0xc1,
|
||||
# 0x83, 0xc1, 0xf3, 0xc1, 0xf3, 0xc1, 0x03, 0xc0, 0x03, 0xc0, 0x07, 0xe0,
|
||||
# 0x0e, 0x70, 0x1c, 0x38, 0xf8, 0x1f, 0xf0, 0x0f};
|
||||
|
||||
|
||||
watch = [ \
|
||||
0x0ff0,\
|
||||
0x1ff8,\
|
||||
0x381c,\
|
||||
0x718e,\
|
||||
0xe187,\
|
||||
0xc183,\
|
||||
0xc183,\
|
||||
0xc1f3,\
|
||||
0xc1f3,\
|
||||
0xc003,\
|
||||
0xc003,\
|
||||
0xe007,\
|
||||
0x700e,\
|
||||
0x381c,\
|
||||
0x1ff8,\
|
||||
0x0ff0,\
|
||||
]
|
||||
|
||||
watch.reverse() # Turn it upside-down
|
||||
|
||||
def defwatch(index):
|
||||
import gl
|
||||
gl.defcursor(index, watch*8)
|
||||
|
||||
def test():
|
||||
import gl
|
||||
gl.foreground()
|
||||
gl.winopen('test watchcursor')
|
||||
defwatch(1)
|
||||
gl.setcursor(1, 0, 0)
|
||||
import time
|
||||
time.sleep(10)
|
Loading…
Reference in New Issue