1. Palette question

Hi all,
   I know this is a silly question, but I never learn how do it.
I load some bitmaps to display a menu, and I use all_palette to change
palette, but when I display the mouse cursor, I see it blue! Can I avoid
that?

That's all, thanks
      Caballero Rojo


__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

new topic     » topic index » view message » categorize

2. Re: Palette question

I am assuming that your use of all_palette() is giving you the proper
palette for the bitmaps you are using.

    Your cursor changed from its normal WHITE? to BLUE because you changed
That particular palette entry that was WHITE to BLUE.  You need to find
white somewhere in your palette and swap the WHITE and BLUE.  This is
called palette remapping.  Unfortunately if you do this you must go
through all the bitmaps that use the WHITE and BLUE and swap them also.

Example:
   + = WHITE
   - = BLUE
   $ = RED -- only use to allow another color.

Bitmap might look like this.


    Good Luck.

        Lucius L. Hilley III
        lhilley at cdc.net   lucius at ComputerCafeUSA.com
+----------+--------------+--------------+----------+
| Hollow   | ICQ: 9638898 | AIM: LLHIII  | Computer |
|  Horse   +--------------+--------------+  Cafe'   |
| Software | http://www.cdc.net/~lhilley |  USA     |
+----------+-------+---------------------+----------+
                   | http://www.ComputerCafeUSA.com |
                   +--------------------------------+
----- Original Message -----
From: Caballero Rojo <pampeano at ROCKETMAIL.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Sunday, October 24, 1999 8:43 PM
Subject: Palette question


> ---------------------- Information from the mail
header -----------------------
> Sender:       Euphoria Programming for MS-DOS
<EUPHORIA at LISTSERV.MUOHIO.EDU>
> Poster:       Caballero Rojo <pampeano at ROCKETMAIL.COM>
> Organization: Excaliburn Software
> Subject:      Palette question
> --------------------------------------------------------------------------
-----
>
> Hi all,
>    I know this is a silly question, but I never learn how do it.
> I load some bitmaps to display a menu, and I use all_palette to change
> palette, but when I display the mouse cursor, I see it blue! Can I avoid
> that?
>
> That's all, thanks
>       Caballero Rojo
>
>
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: Palette question

Thanks lucius.. I'm going to try.. but I see to complex... anyway.. if there
isn't other way, "just do it!"


----- Original Message -----
From: Lucius L. Hilley III <lhilley at CDC.NET>
Sent: Monday, October 25, 1999 2:27 AM
Subject: Re: Palette question


>     I am assuming that your use of all_palette() is giving you the proper
> palette for the bitmaps you are using.
>
>     Your cursor changed from its normal WHITE? to BLUE because you changed
> That particular palette entry that was WHITE to BLUE.  You need to find
> white somewhere in your palette and swap the WHITE and BLUE.  This is
> called palette remapping.  Unfortunately if you do this you must go
> through all the bitmaps that use the WHITE and BLUE and swap them also.
>
> Example:
>    + = WHITE
>    - = BLUE
>    $ = RED -- only use to allow another color.
>
> Bitmap might look like this.
>
>
>     Good Luck.
>
>         Lucius L. Hilley III
>         lhilley at cdc.net   lucius at ComputerCafeUSA.com
> +----------+--------------+--------------+----------+
> | Hollow   | ICQ: 9638898 | AIM: LLHIII  | Computer |
> |  Horse   +--------------+--------------+  Cafe'   |
> | Software | http://www.cdc.net/~lhilley |  USA     |
> +----------+-------+---------------------+----------+
>                    | http://www.ComputerCafeUSA.com |
>                    +--------------------------------+
> ----- Original Message -----
> From: Caballero Rojo <pampeano at ROCKETMAIL.COM>
> To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
> Sent: Sunday, October 24, 1999 8:43 PM
> Subject: Palette question
>
>
> > ---------------------- Information from the mail
> header -----------------------
> > Sender:       Euphoria Programming for MS-DOS
> <EUPHORIA at LISTSERV.MUOHIO.EDU>
> > Poster:       Caballero Rojo <pampeano at ROCKETMAIL.COM>
> > Organization: Excaliburn Software
> > Subject:      Palette question
>
> --------------------------------------------------------------------------
> -----
> >
> > Hi all,
> >    I know this is a silly question, but I never learn how do it.
> > I load some bitmaps to display a menu, and I use all_palette to change
> > palette, but when I display the mouse cursor, I see it blue! Can I avoid
> > that?
> >
> > That's all, thanks
> >       Caballero Rojo
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Bid and sell for free at http://auctions.yahoo.com
> >
>


__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu