Custom cursors
Okay... I give up. Whatever I try I get either a black mask or a white mask when a 32x32px tri-colour img on Windows is used as a cursor in 2.72. And yes, I have checked that only the three (255,255,255 with 0,0,0 and transparent) colours are used. The images work fine with 2.6... What's changed in 2.7 and what's the magic incantation? /H ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard
2.72 custom cursors
Okay, finally upgraded to 2.72 from 2.66 and my custom black-n-white cursors no longer display as expected... Just a white mask. What's the magic incantation, please? /H ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard
Re: Custom cursors final solution
Recently, "Shari" wrote: > For this stack, I gave up on the color cursor, and created several > black and white ones. Remember that they will be inverted, so it > pays to check out an inverted version before importing them into the > stack. Max size 16x16, and should be a .gif. You should be able to avoid the inverting by clicking on the imported cursor image with any paint tool (don't edit your image). This should covert the image the MC's "standard" image format which is suitable for a cursor. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Custom cursors final solution
For this stack, I gave up on the color cursor, and created several black and white ones. Remember that they will be inverted, so it pays to check out an inverted version before importing them into the stack. Max size 16x16, and should be a .gif. set the lockCursor to true set the cursor to (the id of the image you are using for this cursor, which should be imported into the stack) This was the only way to make it work as quickly as I needed it to. For the stack that will need color cursors, I can use the "curse" button, hiding the cursor itself, and it will be okay. Make sure to set the lockCursor to false, to get Metacard's cursor's back. -- --Shareware Games for the Mac-- http://www.gypsyware.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Custom cursors
On 3/7/03 11:22 PM, Sannyasin Sivakatirswami wrote: Then, second question is: could one change the id that the engine uses for the hand cursor to a different ID? or is this specific cursor ID hard wired in the core code? An easier way is to set the defaultcursor property to your custom image and it will replace the browse hand. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Custom cursors
On Sunday, March 2, 2003, at 09:59 AM, Scott Raney wrote: 1) use a different name for your stack OK, so, do I get this right? if one creates one's own "hand" cursor, gives it the same id as MC's hand cursor image, deletes MC cursor stack, issues a "reset cursors" then the engine will automatically start using the new cursor for 'browse" when the user moves over a button... right? Then, second question is: could one change the id that the engine uses for the hand cursor to a different ID? or is this specific cursor ID hard wired in the core code? Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery [EMAIL PROTECTED] www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
RE: Custom cursors
Anyone tried substituting a cursor for an imported image? Good thing there is a hotspot... Just thought I'd give ya a cool suggestion! Only known limitation is redraw refresh for nervous people like me and getting the cursor out of the stack... Whatever happened to the famous Amiga sprites? cheers Xavier > -Original Message- > From: Shari [mailto:[EMAIL PROTECTED] > Sent: mercredi 5 mars 2003 13:38 > To: [EMAIL PROTECTED] > Subject: Re: Custom cursors > > > >Color cursors aren't supported because there is no standard > OS support > >for this on any platform (except maybe MacOS, but the API is a real > >mess there if you don't store cursors in resources, which we don't). > >There are several platform-specific restrictions on size, and these > >are also documented in the C&T stack. > > Regards, > > Scott > > One thing you can do is use a button. Set the icon of the button to > the cursor image you want. Hide the cursor, and show the button. > This works for temporary cursors (something visible while a handler > is running). Have not tried it as a permanent solution to the main > cursor. > -- > --Shareware Games for the Mac-- > http://www.gypsyware.com > ___ > metacard mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/metacard > Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Custom cursors
Color cursors aren't supported because there is no standard OS support for this on any platform (except maybe MacOS, but the API is a real mess there if you don't store cursors in resources, which we don't). There are several platform-specific restrictions on size, and these are also documented in the C&T stack. Regards, Scott One thing you can do is use a button. Set the icon of the button to the cursor image you want. Hide the cursor, and show the button. This works for temporary cursors (something visible while a handler is running). Have not tried it as a permanent solution to the main cursor. -- --Shareware Games for the Mac-- http://www.gypsyware.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Custom cursors
On Sat, 1 Mar 2003 "RCS" <[EMAIL PROTECTED]> wrote: > Is editing cursors actually working in 2.4.3? I just wasted too much time > trying to 'tweak' some of the cursors in the "Cursors" stack of my > application. Part of the problem is MetaCard is getting confused whose stack > I am editing (even if I open the "Cursors" stack directly from the > 'Components' of my stack) since MetaCard has it's own internal stack called > "Cursors". There are many options: 1) use a different name for your stack 2) edit the MC cursors instead of your own copy (the better option if you'll be redoing a resource move at any point). 3) just delete the MC "Cursors" stack. Be sure not to save the tools stack in that session if you do this. Use long names (including the main stack name) to do the delete and to verify that you've done it right. Use the command "reset cursors" to get the new ones after editing them. > Aside from that, using the pencil tool is confusing. No matter what I used > for the background, I could not get a transparent 'color' for the cursor. I > used other cursors as a reference (using the same background they had) but > it would not work. Use the right mouse button to erase. This applies to all the tools (and RTFM, this is in the C&T stack). > I would also like to know if anyone has successfully used > different sized (or even 'color') cursors...we're supposed to be able to use > any image, right? Color cursors aren't supported because there is no standard OS support for this on any platform (except maybe MacOS, but the API is a real mess there if you don't store cursors in resources, which we don't). There are several platform-specific restrictions on size, and these are also documented in the C&T stack. Regards, Scott > Thanks, > JR Scott Raney [EMAIL PROTECTED] http://www.metacard.com MetaCard: You know, there's an easier way to do that... ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Custom cursors
Is editing cursors actually working in 2.4.3? I just wasted too much time trying to 'tweak' some of the cursors in the "Cursors" stack of my application. Part of the problem is MetaCard is getting confused whose stack I am editing (even if I open the "Cursors" stack directly from the 'Components' of my stack) since MetaCard has it's own internal stack called "Cursors". Aside from that, using the pencil tool is confusing. No matter what I used for the background, I could not get a transparent 'color' for the cursor. I used other cursors as a reference (using the same background they had) but it would not work. I would also like to know if anyone has successfully used different sized (or even 'color') cursors...we're supposed to be able to use any image, right? Thanks, JR ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard