| 00:42:51 | | --> zerohero (~zerohero@Zerohero.Amigaworld.Net) has joined #amigadev |
| 01:31:40 | | --> Belxjander (~Belxjande@2b24ce30.13e0fa6.clear.net.nz) has joined #AmigaDev |
| 01:47:10 | | <-- Belxjander has quit (Quit: Quit::) |
| 01:48:55 | | --> Belxjander (~Belxjande@2b24ce30.13e0fa6.clear.net.nz) has joined #AmigaDev |
| 02:28:35 | | <-- AMiGR has quit (Ping timeout: 180 seconds) |
| 02:31:54 | | <-- number6 has left #amigadev |
| 02:34:12 | | --> AMiGR (~ezyyaat@76b3cfb.1a8c5c1c.dslaccess.co.uk) has joined #amigadev |
| 03:24:47 | | <-- Orgin has quit (Ping timeout: 180 seconds) |
| 04:16:11 | | <-- MrBot has quit (Ping timeout: 181 seconds) |
| 04:23:07 | | --> MrBot (~boing@2af52808.76b3cfb.nvg.ntnu.no) has joined #amigadev |
| 04:26:10 | | <-- Dessimat0r has quit (Quit: ) |
| 05:31:10 | | <-- MrBot has quit (Ping timeout: 180 seconds) |
| 05:32:01 | | --> MrBot (~boing@2af52808.76b3cfb.nvg.ntnu.no) has joined #amigadev |
| 06:01:10 | | <-- MrBot has quit (Ping timeout: 180 seconds) |
| 06:03:04 | | --> MrBot (~boing@2af52808.76b3cfb.nvg.ntnu.no) has joined #amigadev |
| 06:06:47 | | <-- MrBot has quit (Ping timeout: 181 seconds) |
| 06:10:54 | | --> MrBot (~boing@2af52808.76b3cfb.nvg.ntnu.no) has joined #amigadev |
| 06:41:16 | | --> Bit-Gone (~sdfhdsr@24785cc1.35474391.adsl.cybercity.dk) has joined #amigadev |
| 07:52:10 | | --> bones (~darren@1a9e3c85.11de379d.demon.co.uk) has joined #amigadev |
| 08:01:23 | | <-- Belxjander has quit (Ping timeout: 182 seconds) |
| 08:23:18 | | --> Orgin (~Banana@Network-Admin.AmigaWorld.net) has joined #amigadev |
| 08:51:08 | | <-- MrBot has quit (Ping timeout: 180 seconds) |
| 08:52:00 | | --> MrBot (~boing@2af52808.76b3cfb.nvg.ntnu.no) has joined #amigadev |
| 09:06:08 | | <-- OrginOS4 has quit (Quit: AmigaOS? No, RebootOS) |
| 09:06:22 | | <-- Orgin has quit (Read error: Connection reset by peer) |
| 09:34:16 | | --> Watertonian (~watertoni@cd7f79a.22cbf9e3.rcsntx.swbell.net) has joined #amigadev |
| 09:36:11 | | <-- Watertonian has quit (Client closed connection) |
| 10:13:38 | | <-- Bitpool has quit (Ping timeout: 180 seconds) |
| 10:54:27 | | --> Belxjander (~Belxjande@bf6674e.13e0fa6.clear.net.nz) has joined #AmigaDev |
| 14:38:30 | | <-- Belxjander has quit (Ping timeout: 180 seconds) |
| 15:50:41 | | <-- Ami603[AW] has quit (Ping timeout: 180 seconds) |
| 16:12:12 | | --> Coder (~Coder@2310808e.1f06bfc3.adsl.wanadoo.nl) has joined #amigadev |
| 16:12:23 | Coder | Anyone awake? |
| 16:12:47 | nicomen | you ;) |
| 16:13:16 | Coder | lol |
| 16:14:06 | Coder | question: How to make a button ghosted? I got something but it just makes it all grey. I want it to appear ghosted. |
| 16:14:10 | nicomen | so, how can we help you, sir? |
| 16:14:14 | nicomen | reaction? |
| 16:14:21 | Coder | yes |
| 16:14:31 | Coder | ga_disabled |
| 16:14:37 | Coder | but that is just not the right one |
| 16:17:38 | nicomen | hmm OffGadget with boopsi I think... but that probably doesn't help ;) |
| 16:18:16 | Coder | If you look at Notepad in OS4 you can see the right ghosted one |
| 16:18:48 | Coder | I could make a ghosted button and just use that. Besides a not selected, selected button I would have that one. Not sure if that is how they did it with notepad |
| 16:19:13 | nicomen | I think it should be ghosted |
| 16:19:23 | nicomen | you are saying with ga_disabled it is totally grey? |
| 16:20:08 | nicomen | GA_Disabled (BOOL) |
| 16:20:08 | nicomen | Determines whether the button is disabled or |
| 16:20:08 | nicomen | not. Changing disable state will invoke GM_RENDER. A disabled |
| 16:20:08 | nicomen | button's border and label are all rendered in SHADOWPEN and then |
| 16:20:08 | nicomen | dusted in a ghosting pattern. |
| 16:20:15 | nicomen | seems like the right one though... |
| 16:20:58 | Coder | I thought so to but it turns all grey |
| 16:21:49 | Coder | I was thinking if I need to use LAYOUT_DeferLayout (BOOL) |
| 16:22:01 | Coder | I saw something about this that it is connected with GM_RENDER |
| 16:22:04 | nicomen | are you using image or bitmap? |
| 16:22:48 | Coder | I use the bitmap class |
| 16:23:29 | Coder | Maybe I need to add some extra stuff when I setup the button |
| 16:24:38 | Coder | Because I was missing something too when it did not show up transparant |
| 16:25:18 | nicomen | maybe you need to use the image class |
| 16:25:49 | Coder | I am running down the bitmap class too for missing stuff |
| 16:26:27 | nicomen | GM_GOINACTIVE -- Passed to superclass, button deactivated. |
| 16:27:28 | Coder | ah |
| 16:27:34 | Coder | I saw this too: BITMAP_DisabledBitMap (struct BitMap *) |
| 16:27:57 | nicomen | oh |
| 16:28:24 | nicomen | actually |
| 16:28:32 | nicomen | it could just need the very same image |
| 16:28:37 | nicomen | and it does the ghosting itself |
| 16:28:43 | Coder | hhm that last one is for when you provide your own ghosted bitmap I think |
| 16:29:14 | Coder | So use GM_GOINACTIVE, TRUE might work? |
| 16:29:17 | nicomen | well, guess the only way to ind out is to try ;( |
| 16:29:19 | nicomen | ;) |
| 16:29:23 | nicomen | !seen ami603 |
| 16:29:23 | GrimReaper | I don't know who ami603 is. |
| 16:29:28 | MrBot | I found 6 matches to your query. Here are the 5 most recent (sorted): Ami603[AW] Ami603 Ami603_ Ami603[zZz] Ami603[w0rK]. Ami603[AW] (~coco@2af52808.2ae78891.dynamicIP.rima-tde.net) was last seen quitting from #amigadev 38 minutes ago stating (Ping timeout: 180 seconds). |
| 16:29:30 | Coder | let me see |
| 16:30:55 | Coder | at least it compiles without errors :-) |
| 16:31:07 | | --> Ami603 (~coco@2af52808.2ae78891.dynamicIP.rima-tde.net) has joined #amigadev |
| 16:31:11 | nicomen | there he is ;) |
| 16:31:22 | | -!- * Ami603 looks elsewhere |
| 16:31:33 | Ami603 | hi folks ;) |
| 16:31:34 | nicomen | Ami603: any idea how to ghost images on reaction buttons? |
| 16:31:45 | Ami603 | ghost images? |
| 16:31:48 | nicomen | keeping the actual image's colors + ghosting, and not a greyscale one? |
| 16:32:11 | Ami603 | for disabled gadgets? |
| 16:32:16 | Coder | hey Ami |
| 16:32:20 | Ami603 | hi Coder |
| 16:32:24 | nicomen | yah |
| 16:32:51 | Ami603 | i guess you'll need 2 images, one for active, and the other for disabled status |
| 16:33:00 | Coder | really? |
| 16:33:03 | nicomen | hm |
| 16:33:08 | Ami603 | or some gfx algorithm over your graphic bitmap |
| 16:33:15 | nicomen | too bad |
| 16:33:23 | Coder | so 3, 1 unselected, 1 selected, 1 ghosted |
| 16:33:25 | nicomen | should maybe ask notepad author directly to be sure |
| 16:33:29 | nicomen | or amipdf |
| 16:33:29 | Coder | How do they do it in Notepad in OS4? |
| 16:34:10 | Ami603 | as far as i can see, notepad doesn't ghost it, but renders a dot pattern over the gadgets |
| 16:34:12 | Ami603 | at least here |
| 16:34:44 | Coder | I see that AISS (Mason) has a third button for it. So I could use that for ghosted |
| 16:34:45 | nicomen | yes and that's what the docs say it does too I think |
| 16:35:00 | Ami603 | hm,i see AmiPDF does ghost the image |
| 16:35:10 | Coder | Yes if you read GA_Disabled it really talks about a ghosted pattern |
| 16:35:41 | Ami603 | as of lately, some gadgets improved over this rendering a better calculated ghost,but not all of them yet |
| 16:35:54 | Coder | AmiPDF and Notepad are different when it comes to ghosted |
| 16:36:32 | Ami603 | that's because these are from different authors, maybe one did it right and the other not? |
| 16:37:20 | Coder | I think I will at least mail the author of Notepad |
| 16:37:24 | nicomen | Coder: you are on the invite list aren't you? |
| 16:37:58 | Ami603 | hm, AmiPDF doesn't have ghosted images |
| 16:38:31 | Coder | nicomen: what invite list? |
| 16:38:51 | Coder | I am using AISS and they got ghosted images for all the buttons |
| 16:40:16 | Ami603 | i'm searching some example to test |
| 16:40:58 | nicomen | guess not ;) |
| 16:41:06 | nicomen | nevermind then |
| 16:42:39 | Coder | ok. I got nothing to wear anyway |
| 16:42:41 | Coder | :-) |
| 16:43:09 | nicomen | haha |
| 16:43:26 | nicomen | someone should really document Reaction |
| 16:43:39 | Coder | indeed |
| 16:43:57 | Coder | I am checking out how to get that ghosted bitmap in there but I think I found something that might work |
| 16:44:08 | Ami603 | i'd write the RGB, the ReAction Guru Book ;) |
| 16:44:19 | Coder | :-) |
| 16:44:32 | Coder | I think adding BITMAP_DisabledSourceFile, to it is the trick |
| 16:44:36 | nicomen | Ami603: ;) |
| 16:46:04 | Coder | hmm I wonder if I use GA_Disabled and than it would use that image from disabled sourcefile for the ghosted part |
| 16:49:13 | Coder | great scott! my volume got a read error |
| 16:49:14 | Coder | bah |
| 16:50:16 | Coder | and at times like this I start making backups. :-P |
| 16:54:59 | Ami603 | ok, GA_Disabled brings a ghosted dot pattern over the button |
| 16:55:29 | Ami603 | but if the button has no image, it shows a nice "ghosting" on it |
| 16:55:35 | Coder | it did not work. So I would need some extra code in there. |
| 16:57:06 | Ami603 | try changing the image before disabling the gadget |
| 16:59:38 | Ami603 | ok, i think i've found it |
| 16:59:40 | Ami603 | BITMAP_DisabledSourceFile (STRPTR) |
| 16:59:40 | Ami603 | Source file name of the disabled state image to create the |
| 16:59:40 | Ami603 | bitmap from, using the datatypes system. (V51) |
| 17:00:03 | Coder | I got it to work with the ghosted image if you want to do it that way. |
| 17:00:31 | Coder | BITMAP_DisabledSourceFile, "SYS:Classes/ToolbarImages/Default/paste_g", |
| 17:01:21 | Ami603 | i wonder how AmiPDF does it since it doesn't have any ghosted images that i can finds |
| 17:01:23 | Ami603 | -s |
| 17:01:56 | Coder | YOu can invoke the ghosted button with this: IIntuition->SetGadgetAttrs(buttonobj3, MyWindow, NULL, GA_Disabled, TRUE, TAG_END); |
| 17:02:11 | Ami603 | maybe he is using BITMAP_DisabledMaskPlane (APTR) |
| 17:02:11 | Ami603 | A mask plane for the disabled state bitmap. Only set this if |
| 17:02:11 | Ami603 | you supply your own bitmap with BITMAP_DisabledBitMap. |
| 17:02:11 | Ami603 | The mask plane will only be used if BITMAP_Masking is TRUE. (V51) |
| 17:02:46 | Coder | GA_Disabled looks if you have the disabledsourcefile line set and if so it will get that image. If not it will make it just grey |
| 17:03:43 | Ami603 | nice |
| 17:04:43 | Coder | I saw this example in which they actually set something but maybe they did not know it will get that ghosted image as long if you have the disabledsourcefile line. |
| 17:05:18 | Ami603 | so if it doesn't find a ghosted image, it ghosts itself the active one? |
| 17:05:35 | Coder | Doing it this way is just fine with me. It shows clearly the button is ghosted and cannot be used |
| 17:06:32 | Ami603 | i don't get it, so you're using a ghosted image, because AISS does have one right? |
| 17:06:49 | Coder | yes |
| 17:06:55 | Ami603 | i see |
| 17:07:18 | Ami603 | i guess the dot pattern ghosting could be replaced with something more advanced |
| 17:07:19 | Coder | For let's say the paste button I will use 3 images. 1 unselected, 1 selected, 1 ghosted. |
| 17:07:39 | Ami603 | a gaussian blur or something |
| 17:07:44 | Coder | You could make the ghosted image like the one in Notepad. Use that kind of ghosting |
| 17:08:05 | Ami603 | i hate those dot patterns |
| 17:08:13 | Ami603 | looks like crap to me |
| 17:08:30 | Ami603 | it's so 3.x |
| 17:09:50 | Coder | the ones from AISS look nice to me. |
| 17:10:22 | Ami603 | yep but i won't use anything that doesn't come installed with the system on my programs, unless absolutely necessary |
| 17:10:54 | Ami603 | it's about time to set on stone some standards in many areas |
| 17:11:07 | Ami603 | and hyperion is the best bet to do it imho |
| 17:11:13 | Coder | I could use AISS or take the buttons out and put them in my program. |
| 17:11:18 | Coder | agreed |
| 17:11:28 | Ami603 | AISS is great as long as it is approved and used officialy |
| 17:12:26 | Coder | If I use it I have to put some code in to see if it is installed and if not the users have to do it. |
| 17:12:58 | Ami603 | back in a while, have to do few things here |
| 17:13:02 | | -!- Ami603 is now known as Ami603[AW] |
| 17:13:22 | Ami603[AW] | don't hesitate to drop a note in a query window, i'd have a look from time to time |
| 17:13:26 | Ami603[AW] | cya |
| 17:13:29 | Coder | later |
| 17:27:24 | | <-- Coder has quit (Quit: I love jahc) |
| 18:08:32 | zerohero | hmm, should put that on the cross-compiler site |
| 18:08:44 | zerohero | made a working 68k clib2 installation |
| 18:09:28 | zerohero | but now spanish football on tv |
| 18:10:12 | zerohero | athletico madrid - racing santander, ossasuna - barcelona right after that, so bbl around 23:00 ;) |
| 19:05:07 | | --> AC (~rwo@34c8b132.1c3781d3.ip.tele2adsl.dk) has joined #AmigaDev |
| 19:37:24 | | --> Orgin (~Banana@Network-Admin.AmigaWorld.net) has joined #amigadev |
| 20:07:16 | | --> Belxjander (~Belxjande@2486bca.654d39d.clear.net.nz) has joined #AmigaDev |
| 20:53:49 | | <-- nicomen has quit (Quit: Interview on IRC with Jogeir Liljedahl, the composer at #amigaworld irc.undernet.org now) |
| 21:14:23 | | --> nicomen (~nicomen@2af52808.76b3cfb.nvg.ntnu.no) has joined #amigadev |
| 21:14:34 | MrBot | [nicomen] bah... |
| 21:28:53 | | <-- AC has quit (Quit: Client exiting) |
| 21:47:13 | | --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev |
| 21:47:20 | BinoX | Hello again everyone? |
| 21:47:23 | BinoX | er.. ! |
| 21:47:58 | BinoX | Quick question too... How do you make a true color RastPort? (One that isn't the win->RPort) |
| 22:09:25 | | <-- Bit-Gone has quit (Quit: ) |
| 22:20:18 | | <-- zerohero has quit (Quit: If there's a scale of stupid, I would be right on top, yeah!) |
| 23:00:03 | | --> zerohero (~zerohero@Zerohero.Amigaworld.Net) has joined #amigadev |
| 23:03:33 | | -!- * BinoX sighs.. Why are things so difficult??? |
| 23:04:51 | BinoX | I don't see what's so hard about allocating a true color bitmap >_< |
| 23:05:30 | zerohero | i wouldn't know :) |
| 23:06:07 | BinoX | and it would seem that the Picasso96 library doesn't work... |
| 23:06:45 | BinoX | Try and use any and just get dereferencing pointer to incomplete type |
| 23:09:11 | zerohero | hmm, i guess you're including the right stuff? |
| 23:10:14 | BinoX | Yeah, well.. according to the auto docs I am |
| 23:10:17 | BinoX | lol |
| 23:10:51 | zerohero | proto/Picasso96API.h should be enough really |
| 23:11:23 | BinoX | there is no proto for it.. heh |
| 23:11:37 | zerohero | there is in my sdk? |
| 23:12:12 | | --> ssolie (~ssolie@2f31aeca.1ccf6d0.abhsia.telus.net) has joined #amigadev |
| 23:12:15 | BinoX | ah.. Picasso96API |
| 23:12:51 | BinoX | heh.. that fixed it ^_^;;; Wonder why I didnt see that before |
| 23:14:33 | zerohero | you didn't look hard enough? :P |
| 23:14:46 | BinoX | Damn.. I feel like kissing you zero.. but I won't.. lol |
| 23:14:59 | zerohero | thanks |
| 23:15:07 | BinoX | I now have true color blitting abilities :D |
| 23:15:15 | zerohero | haha |
| 23:16:11 | BinoX | And that's my load pic function written :D |
| 23:16:21 | | -!- * BinoX dances like a fool on holiday |
| 23:16:51 | zerohero | all that because of a missing include? :) |
| 23:16:57 | BinoX | Yeah |
| 23:17:00 | BinoX | lol |
| 23:17:15 | BinoX | an include which I hunted for for half an hour |
| 23:17:17 | BinoX | lol |
| 23:17:28 | BinoX | then gave up and read the auto docs.. which doesnt mention it strangely |
| 23:18:27 | zerohero | none of the includes are mentioned in the autodocs |
| 23:18:49 | zerohero | you're supposed to know that everything you need (almost anyway :) is in proto/ ;) |
| 23:19:09 | BinoX | they are... if you look hard enough.. lol... it says "needed headers" and then a list of stuff |
| 23:20:07 | BinoX | And now I'll be right back 'cause I left a FreeBitMap in when I shouldn't have.. so I have a dead window on screen.. lol |
| 23:20:11 | | <-- BinoX has quit (Quit: Client exiting) |
| 23:22:18 | | --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev |
| 23:22:36 | zerohero | wb |
| 23:22:43 | BinoX | thanks :D |
| 23:33:47 | BinoX | Well, I feel a lot better now :D Looks like I may be able to get a lot further than I thought this week :D |
| 23:34:13 | zerohero | nice :) |
| 23:34:49 | ssolie | BinoX: hi there.. so what are you up to? |
| 23:34:51 | BinoX | U never know.. might have something usable by Sunday |
| 23:35:26 | BinoX | I'm coding a graphics application to view and display graphics from multiple files stored in an xml style format.. |
| 23:35:33 | zerohero | i want my name in the greetings, invaluable help with includes |
| 23:35:35 | zerohero | :P |
| 23:35:52 | BinoX | lol you will.. I'm making a bit list xD |
| 23:36:28 | ssolie | BinoX: the gfx are stored in xml? |
| 23:36:45 | BinoX | No.. references to stored graphics are |
| 23:36:53 | ssolie | BinoX: ah, that makes sense :) |
| 23:36:57 | BinoX | yeah.. heh |
| 23:37:48 | ssolie | sounds good |
| 23:37:56 | BinoX | I've got on my list of helpers: zerohero, nicomen, Ami603, Belxjander, my girlfriend (support and spell checking >_<), thomas and some others I can't remember off the top of my head |
| 23:38:09 | BinoX | ssolie: it'll seem a lot more useful when it's released.. lol |
| 23:38:19 | ssolie | one would hope :) |
| 23:39:00 | zerohero | ssolie: you working on anything interesting then? |
| 23:39:10 | ssolie | zerohero: very interesting.. |
| 23:39:22 | zerohero | ssolie: great answer ;) |
| 23:39:30 | ssolie | zerohero: I'm helping with the next SDK for example |
| 23:39:41 | zerohero | ssolie: no apps? |
| 23:40:05 | ssolie | zerohero: no apps at the moment.. lots of libs and tools |
| 23:40:25 | ssolie | gotta keep the rest of the devs happy |
| 23:40:29 | zerohero | :) |
| 23:40:50 | ssolie | I've been mr. fixit lately |
| 23:40:50 | zerohero | i noticed both codesets.library and now scout uses features from the new sdk |
| 23:40:59 | zerohero | can't compile them here |
| 23:41:15 | ssolie | that's good.. not that you can't compile but that devs are finding the new features useful |
| 23:41:40 | BinoX | U wrote codesets.library? |
| 23:41:47 | zerohero | no :) |
| 23:41:51 | zerohero | alfie did |
| 23:41:54 | ssolie | nope.. but I'll take credit if you wish |
| 23:42:00 | zerohero | jens ported it to os4 |
| 23:42:13 | zerohero | jens langner that is |
| 23:42:13 | BinoX | Oh... |
| 23:42:20 | zerohero | and he is indeed kepping busy |
| 23:42:36 | BinoX | I envy people that can understand other peoples code.. I sometimes find it hard to follow my own code |
| 23:42:51 | zerohero | i find it so much easier to port code atm |
| 23:42:57 | ssolie | I find it is a skill that you develop.. reading code that is |
| 23:42:59 | zerohero | and even more motivating |
| 23:43:19 | BinoX | Really? |
| 23:43:28 | zerohero | yeah, it's really weird |
| 23:43:37 | BinoX | I find my own projects metter 'cause I have a reason to do them.. 'cause no-one's seen it before |
| 23:43:42 | BinoX | better* |
| 23:43:43 | ssolie | from scratch programming is really difficult.. much easier to build on other stuff imho |
| 23:43:43 | zerohero | i wish there was an open source ftp client for amigaos |
| 23:44:08 | BinoX | Fine a linux one and port it.. there's a challenge.. lol |
| 23:44:11 | BinoX | find* |
| 23:44:17 | | -!- * BinoX can't type tonight.. lol |
| 23:44:26 | zerohero | i started my own, but socketprogramming isn't my cup of tea |
| 23:44:37 | BinoX | I just finished working out AOS sockets.. lol |
| 23:44:45 | BinoX | well.. well enough for my taks |
| 23:44:47 | BinoX | tasks* |
| 23:45:37 | BinoX | Not much fun though.. had to cheat most of it >_< |
| 23:45:49 | zerohero | heh |
| 23:47:02 | BinoX | I gotta go have a wash quickly.. it's coming up to midnight... and I got work in the morning.. so time to wash ^_^;; |
| 23:47:23 | ssolie | thank goodness.. the smell is overpowering |
| 23:51:43 | ssolie | anybody know how to get gcc to output all the defines? both built-in and -Dblah |
| 23:54:39 | wegster | ssolie: unsure you can get it via gcc cmd line, but make dbug output should show it in an evil sort of way, no? |
| 23:57:44 | ssolie | wegster: yeah, seems so.. |
| | |