Shop OBEX P1 Docs P2 Docs Learn Events
Cursor data from picture app — Parallax Forums

Cursor data from picture app

RaymanRayman Posts: 14,162
edited 2008-03-16 08:41 in Propeller 1
This Windows app takes a 32x32 black&white image and creates the Prop data for a custom cursor from it...

I just made it for use in my LCARS test (previous post).

Here's a screenshot and the App.
555 x 663 - 29K

Comments

  • ClemensClemens Posts: 236
    edited 2008-03-13 22:39
    Thanks Ray.

    Looks very useful for font creation also.
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2008-03-14 01:51
    Raymen -

    Is this cursor used with the Parallax Graphics driver? Can the program be adjusted to work with a 8 bit color image?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter

    www.brilldea.com·- check out the uOLED-IOC, an I/O expansion for the uOLED-96-PROP
    www.tdswieter.com
    One little spark of imagination is all it takes for an idea to explode
  • RaymanRayman Posts: 14,162
    edited 2008-03-14 12:15
    This is for use with, e.g.,:

    vga_1024x768_tile_driver_with_cursor.spin
    vga_1280x1024_tile_driver_with_cursor.spin
    vga_1600x1200_tile_driver_with_cursor.spin

    It makes the data to replace the custom mouse cursor with your own graphic...

    Clemens:· I don't know if this is useful for fonts.· But, I have a 1-bit bitmap generator that I used in my LCARS test for proportional font.· You could more easily·use it for fixed fonts:
    http://www.rayslogic.com/propeller/Programming/1-BitBitmap/1-Bit%20Bitmaps.htm

    This is the usually given graphic:

    propeller long
    · long %00000000_00000000_00000000_00000000
    · long %01111110_00000000_00000011_11111000
    · long %11111111_11110001_10111111_11111110
    · long %11111111_11111111_11111111_11111111
    · long %01111111_11111101_10001111_11111111
    · long %00011111_11000001_10000000_01111110
    · long %00000000_00000011_11000000_00000000
    · long %00000000_00000011_11000000_00000000
    · long %00000000_00000001_10000000_00000000
    · long %00000000_00001111_11110000_00000000
    · long %00000000_01111001_10011110_00000000
    · long %00000001_11110011_11001111_10000000
    · long %00000011_11100011_11000111_11000000
    · long %00000111_11000111_11100011_11100000
    · long %00001111_10000111_11100001_11110000
    · long %00011111_10000111_11100001_11111000
    · long %00011111_00000111_11100000_11111000
    · long %00111111_00001111_11110000_11111100
    · long %00111110_00001111_11110000_01111100
    · long %00111110_00001111_11110000_01111100
    · long %01111110_00001111_11110000_01111110
    · long %01111100_00001111_11110000_00111110
    · long %01111100_00011111_11111000_00111110
    · long %01111111_11111111_11111111_11111110
    · long %01111111_11110000_00001111_11111110
    · long %01111000_00000000_00000000_00011110
    · long %01100000_00000000_00000000_00000110
    · long %00111100_00000000_00000000_00111100
    · long %00001111_11110000_00001111_11110000
    · long %00000011_11111111_11111111_11000000
    · long %00000000_00011111_11111000_00000000
    · long %00000000_00000000_00000000_00000000
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2008-03-16 08:41
    Thank you for the clarification Rayman. I missed the point of it being a cursor. I read cursor, but my mind was thinking something else.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter

    www.brilldea.com·- check out the uOLED-IOC, an I/O expansion for the uOLED-96-PROP
    www.tdswieter.com
    One little spark of imagination is all it takes for an idea to explode
Sign In or Register to comment.