Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
57 user(s) are online (35 user(s) are browsing Forums)

Members: 1
Guests: 56

328gts, more...

Support us!

Headlines

 
  Register To Post  

Close Image
Not too shy to talk
Not too shy to talk


See User information
I'm in the need of a Close Image for ClickTab, trying hard to avoid providing external images.

CLICKTAB_CloseImageIIntuition->NewObjectNULL"sysiclass",
        
SYSIA_WhichCLOSEIMAGE,
        
SYSIA_DrawInfodri,
    
End,


This is not working out..

I bleave I had this problem once before, but I can't remember were, so can any help me out?

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top
Re: Close Image
Amigans Defender
Amigans Defender


See User information
@rwo

SYSIA_Which, CLOSEIMAGE will give you the window close image, which is not what you want. It appears that the sys_ic class doesn't provide a close image for the clicktab.gadget to use as a default. Ripe for a feature request, but you know how likely it is to get implemented

In my software I use an external image passed to the clicktab as a BitMap Image object. And so does Rigo (who AFAIK implemented the clicktab close gadget feature) in his CodeBench.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: Close Image
Not too shy to talk
Not too shy to talk


See User information
@trixie

I see, I guess there is no other way..

Thanks for your reply

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top
Re: Close Image
Just can't stay away
Just can't stay away


See User information
@rwo

Use TABCLOSEIMAGE it should show you a like-CLOSEIMAGE

imageclass.h:
...
#define TABCLOSEIMAGE (0x29L) /* Tab close image (V54.27) */
...

Go to top
Re: Close Image
Not too shy to talk
Not too shy to talk


See User information
@jabirulo

hmm how did I not see that entry..

Thanks

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top
Re: Close Image
Amigans Defender
Amigans Defender


See User information
@jabirulo

Ah, looks like a recent addition - weird that it's not mentioned in the autodoc, only in the header file. Thanks for pointing it out!

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: Close Image
Supreme Council
Supreme Council


See User information
Well, I'm not sure about "recent", it was 2018 :)

Anyway, I've updated the autodoc, and you can grab it here:
http://codebench.co.uk/sysiclass_doc.lha

Simon

Comments made in any post are personal opinion, and are in no-way representative of any commercial entity unless specifically stated as such.
----
http://codebench.co.uk
Go to top
Re: Close Image
Amigans Defender
Amigans Defender


See User information
@Rigo

Quote:
I'm not sure about "recent", it was 2018 :)

I believe the OS + SDK updates were publicly released later than that, but I stand corrected Thanks for updating the autodoc!

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project