AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/misc/PointerToC.lha

Mirror:Random
Showing: i386-aros icongeneric icon
No screenshot available
Short:Convert pointer file to C source
Author: twinvnc at free.fr (Seg)
Uploader:twinvnc free fr (Seg)
Type:dev/misc
Version:1.0
Architecture:m68k-amigaos
Date:2006-08-16
Download:dev/misc/PointerToC.lha - View contents
Readme:dev/misc/PointerToC.readme
Downloads:972

Description:
============

This little command is for developpers only.

It converts pointer files made by the Pointer tool available in your
"Workbench:Prefs/" directory, to C source that can be used with
Intuition/SetPointer().


Use:
====

PointerToC FILE/A,MODULO/N,NORMAL/S,BUSY/S

FILE    : the pointer file name
MODULO  : 4 by default. Number of columns desired for the data part
NORMAL  : true by default. Export the normal mouse pointer
BUSY    : true by default. Export the busy mouse pointer


Example:
========

PointerToC Workbench:Prefs/Presets/Pointers/LoRes-Mouse.pre NORMAL

/*
    Mouse Pointer Gfx: Normal

    Palette:
    - Color 1: 0xDB7541
    - Color 2: 0x000000
    - Color 3: 0xFFFFFF

    Usage: SetPointer(win,PointerGfxNormal,24,16,-1,-1)
*/

UWORD __chip PointerGfxNormal[]=
{
    0x0000,0x0000, /* reserved, must be NULL */
    0xd000,0x01c0,0xa1c0,0x4260,
    0x61c0,0x3ae0,0x99c0,0x3fe0,
    0x1b00,0x3fc0,0x07c0,0x1fe0,
    0x0fc0,0x7ff0,0x7fa0,0x9ff0,
    0x77c0,0xbff0,0x76a0,0xfff0,
    0x0160,0x77d0,0x0010,0x03e8,
    0x0010,0x0028,0x0010,0x002c,
    0x000c,0x0012,0x0002,0x000d,
    0x0002,0x0005,0x0002,0x0005,
    0x0004,0x000a,0x0000,0x0004,
    0x0000,0x0000,0x0000,0x0000,
    0x0000,0x0000,0x0000,0x0000,
    0x0000,0x0000  /* reserved, must be NULL */
};


Author:
=======

Nickname: Seg
eMail   : twinvnc@free.fr
Web     : http://twinvnc.free.fr


Contents of dev/misc/PointerToC.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1246    1780  70.0% -lh5- 06ea Aug 16 00:10 PointerToC/PointerToC
[generic]                  733    1571  46.7% -lh5- f757 Aug 16 11:07 PointerToC/PointerToC.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    1979    3351  59.1%            Aug 16 16:21
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>