Utilitybase chatlog - 2006-03-09

Back to overview|Highlight a word

00:00:27 BinoX nite all
00:00:37   <-- BinoX has quit (Quit: WookieChat 2 on AmigaOS4 Pre4)
00:30:33   <-- number6 has quit (Ping timeout: 180 seconds)
00:58:59   <-- Varthall has quit (Ping timeout: 180 seconds)
01:50:55   <-- bones has quit (Quit: This computer has gone to sleep)
02:21:34   --> zerohero (~zerohero@231e202b.1d2128.tn.glocalnet.net) has joined #AmigaDev
02:31:32   --> jahc (~jahc@3702296a.113ade0c.xnet.co.nz) has joined #amigadev
05:31:50   <-- Bitpool has quit (Read error: Operation timed out)
06:17:37   <-- jahc has quit (Quit: god=noob coder. He had to wait 6 days to compile the earth.)
06:23:08   --> Belxjander (Belxjander@241b33b.cc59707.1383ffec.7795dbeX) has joined #AmigaDev
06:52:47   <-- Belxjander has quit (Quit: Quit::)
06:53:16   -!- Ami603[AW] is now known as Ami603[w0rK]
06:53:28 Ami603[w0rK] morning
08:02:22   --> bones (~darren@1a9e3c85.11de379d.demon.co.uk) has joined #amigadev
08:08:46   <-- wegster has quit (Read error: Operation timed out)
08:09:05   --> wegster (~wegster@2d996ff7.3d716d1f.res.rr.com) has joined #amigadev
09:03:37   --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev
09:39:42   <-- BinoX has quit (Ping timeout: 180 seconds)
09:40:26   --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev
09:41:16 BinoX Heh... WB froze and then dumped me on the kickstart screen xD
09:50:29   <-- BinoX has quit (Quit: Client exiting)
09:59:59   --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev
10:56:06   <-- Ami603[w0rK] has quit (Ping timeout: 180 seconds)
12:05:36   --> jahc (~jahc@3702296a.113ade0c.xnet.co.nz) has joined #amigadev
12:11:12   <-- BinoX has left #amigadev
12:11:19   --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev
12:11:49 BinoX Anyone here got any examples on using graphics.library to make an image then displaying it in a reaction window?
12:13:54 zerohero do you want to use an image on disk, or convert it to c source?
12:13:59 nicomen Rigo maybe ;)
12:14:34 BinoX image on disk
12:15:10 BinoX basically.. I want to load some images from disk, stick them together and then display in on a reaction window
12:15:14 zerohero checkout bitmap_ic.doc in the autodocs
12:15:54 BinoX Given up trying to work with layered reaction and am building the whole interface from nothing.. heh
12:16:18 zerohero oh :)
12:16:22 BinoX That way I guess it can be skinnable too.. heh
12:16:25 zerohero  LAYOUT_AddImage, BitMapObject,
12:16:26 zerohero  BITMAP_SourceFile, buf,
12:16:30 zerohero  BITMAP_Screen, screen,
12:16:31 zerohero  End,
12:16:55 zerohero buf is char *
12:17:01 zerohero and screen is struct screen *
12:17:10 BinoX thx :)
12:17:20 zerohero screen isn't needed really
12:18:07 zerohero uhm, it is
12:18:21 zerohero struct screen is a MUST according to the autodoc :)
12:19:15 zerohero struct Screen *screen = IIntuition->LockPubScreen(NULL);
12:19:25 zerohero that way you'll get the wb screen
12:19:35 zerohero IIntuition->UnlockPubScreen(NULL, screen);
12:19:48 zerohero to unlock it when you're ready with it
12:19:57 zerohero <-- food, bbl :)
12:19:59 BinoX heh.. it is pretty easy to track mouse and window positions too? ('cause I'll need that for layer scrolling)
12:20:26 BinoX lol enjoy your food
13:02:38   <-- jahc has quit (Quit: god=noob coder. He had to wait 6 days to compile the earth.)
13:57:36 BinoX Damn.. wish there was a GGXX style game for the Amiga.. heh
13:57:41 BinoX (hint hint ;P)
16:53:46   --> number6 (~user@14ef3beb.31b34b44.dialup.citynet.net) has joined #amigadev
16:54:30 BinoX Hello number6 :)
16:54:59 number6 Hi BinoX
16:55:31 BinoX Don't suppose u use graphics.library/know how to use it under os4?
16:56:23 number6 BinoX: No. I'm just a researcher and tester of software/hardware. I gave up programming years ago...
16:56:51 BinoX lol.. Got bored of doing it did ya?
16:59:19 number6 BinoX: lol. No. It seemed that companies (back in the old days) needed me more to write docs and test products is all.
17:00:14 BinoX Oh, fair enough :) I guess there were a lot of programmers back the, compared to the workload per app
17:00:29 BinoX I'm just having trouble finding any examples for that library.. gunna have to keep dearching
17:00:32 BinoX searching*
17:01:12 number6 You've already done more with the computer than its "former" owner from what I have seen. Keep up the good work!
17:01:22 BinoX heh, thanks :)
17:01:53 BinoX As soon as I've got graphics.library sorted out I can write the renderer.. everything seems ready to go now :)
17:02:08 BinoX (But obviously no way to be sure until I have a renderer)
17:02:33 number6 What are you working on? (sorry I haven't been keeping up)
17:07:46 BinoX Making a web browser
17:07:57 BinoX sorry for long reply.. heh.. toilet break
17:09:07 BinoX With css support
17:09:41 BinoX I'm not gunna make a big public announcement saying I'm making one until I have at least an alpha build for ppl to see.. not gunna get ppls hopes up just to find that it's too big a project
17:11:06 number6 Hmmm...putting together two of your last statements I can safely say that -without- css support the Amiga community will be taking a long "toilet break".
17:12:41 BinoX rofl
17:13:25 BinoX Yeah.. I have the html and css parsers ready and currently doing a 'printf("Function name(and variables)");' ready for when I've got a renderer written
17:16:39 BinoX I actually took a break and sketched out the logical path a renderer would take to check that.. and then I gave each part of the program it's own stupid name.. lol
17:30:26 BinoX Hmm.. know anyone that could make me a logo for this prog? I know what I want it to look like... but I'm not much good at doing logos myself
17:31:59 number6 BinoX: How would you keep your project somewhat secret if you give info to a 3rd party at this point?
17:32:40 BinoX I'm not keeping it a secret exactly... just not making a public announcement.. then it's all rumors
17:33:20 number6 BinoX: We have artists sign in to the main channel...some in the morning and some in the evening. You could just ask if anyone is available to do some artwork and then, after a positive response, contact them in private tab?
17:33:22 BinoX Anyway.. I'm hoping to have something out approx 1 and a half weeks after I would out graphics.library
17:33:33 BinoX Hmm.. could do..
17:33:44 BinoX Will u give me an opinion on the logo? If I describe it to u
17:34:08 number6 Sure. Or if you have image you could try DCC to me?
17:34:27 BinoX Only have a bad sketch.. but no scanner..
17:34:50 BinoX Basically.. it's a pic of the earth (yes.. pretty standard) but the bottom right fades it into a boing ball.. and the whole thing has this evil spider climbing over it... lol
17:35:20 BinoX I like evil things... lol ^_^;;;
17:35:59 BinoX But if u have a better idea.. feel free to suggest xD
17:37:14 number6 BinoX: -You- are the author. After all....jahc named his irc client after a star wars character (wookiechat), and no one has complained so far.
17:37:38 BinoX lol.. very true... I'm using it atm... and the icon is quite funny :)
17:55:08 zerohero actually people have complained
17:55:24 zerohero it's spellt wookiee in star wars ;)
17:55:31 BinoX lol
17:55:39 BinoX That just doesn't look right
17:56:02 number6 Got to go for a minute. brb.
17:56:06 BinoX k
17:56:11   <-- number6 has quit (Quit: Be seeing you)
17:56:24 BinoX There does seem to be no examples on graphics.library :(
17:57:14 BinoX I think I'm thick.. I only seem to be able to learn from examples.. and until I can see code for a working, simple example and understand it, the docs mean nothing ><
17:59:30 zerohero only learn from examples huh, aren't we all like that?
17:59:42 BinoX lol probably.. xD
18:00:30 BinoX Even a simple example.. like drawing a circle on a blank bitmap and then displaying it somewhere would probably be enough for me to work with.. lol
18:01:41 zerohero there should be some examples on the dev cd
18:02:05 BinoX I don't have that ;_;
18:02:36 BinoX I thought libraries were used in a very different way now..
18:03:18 zerohero it's interface stuff that's the difference
18:03:40 zerohero most of the actual functions are the same
18:03:59 BinoX Oh, that's useful :)
18:07:33 BinoX Well, I think that's it initialised.. I think.. lol
18:07:53 BinoX But if I include the proto/graphics.h it won't compile... lol
18:20:47 wegster BinoX: do you have the 3.9 ndk? http://www.haage-partner.de/download/Amiga/AmigaOS/NDK39.lha
18:21:16 BinoX no.. I don't.. but soon will now.. thx :)
18:22:15   --> number6 (~user@f4f1334.31b34b44.dialup.citynet.net) has joined #amigadev
18:25:19 BinoX wb
18:27:04   --> Ami603_ (~coco@3c041c4.362b7f89.dynamicIP.rima-tde.net) has joined #amigadev
18:27:13 Ami603_ there
18:27:17   -!- Ami603_ is now known as Ami603
18:27:29 BinoX hey :)
18:27:38 Ami603 hello luke
18:28:05 Ami603 just got you question ;)
18:28:19 BinoX Just got yer answer :)
18:28:25 BinoX thx :)
18:28:30 Ami603 nope, the latest one
18:28:34 BinoX Oh
18:28:36 Ami603 regarding bitmaps
18:29:07   <-- zerohero has quit (Quit: Client exiting)
18:30:29 BinoX I'm reading through the auto docs for graphics.library at the moment...
18:30:48 BinoX From the looks of it you have to draw to a rastport.. can u draw to a bitmap?
18:31:17 Ami603 i'm not sure, but you can call InitRastPort as well
18:31:49 BinoX Ah.. InitRastPort.. That's what it is.. lol.. I was looking for AddRastPort ^_^;;
18:32:32 Ami603 then you access your rastport.BitMap to blit from it to your main window
18:33:17 BinoX Heh.. doing this is gunna be tougher than I thought... Gunna be fun ^_^
18:34:14 Ami603 as per drawing the gadgets inside your rastport, i guess i would start by generating those to a normal reaction window and just draw a box on your bitmap with some text inside
18:35:00 BinoX I'm cheating.. lol.. I've split the button up into pieces so I can build my own and just check for a click at x-y coordinates
18:35:06 BinoX could also allow for skinning later :)
18:35:10 Ami603 true
18:35:18 Ami603 i had some idea that i'll comment to you by private ;)
18:35:20 BinoX which is why I was asking about moving bitmaps around
18:35:25 BinoX ok
18:35:52 Ami603 you don't need to move bitmaps around
18:36:03 Ami603 for instance, your main bitmap is 4000x4000
18:36:15 Ami603 and the browser window allows you 400x600
18:36:28 BinoX I mean for creating the buttons
18:36:45 Ami603 if you're at half of a page you're just mousepos+offset over your gadget positions
18:37:17 BinoX true... I was thinking though 'cause a gadget consists of 4 corners, 4 edges and a middle
18:37:38 BinoX But I've worked that out anyway now.. heh
19:12:48   --> zerohero (~zerohero@231e202b.1d2128.tn.glocalnet.net) has joined #AmigaDev
19:14:24   <-- Ami603 has quit (Quit: AmigaOS4, teh Real thing!)
19:15:43   --> Ami603_ (~coco@3c041c4.362b7f89.dynamicIP.rima-tde.net) has joined #amigadev
19:15:46 Ami603_ re
19:15:56   -!- Ami603_ is now known as Ami603
19:35:17   <-- number6 has quit (Quit: Be seeing you)
19:39:14   --> SixK (~SixK@297f4433.2e1bf8a9.fbx.proxad.net) has joined #amigadev
19:39:22 SixK lo
19:48:29 Ami603 cya later guys
19:48:36   -!- Ami603 is now known as Ami603[aW]
20:04:48   <-- BinoX has quit (Quit: Client exiting)
20:05:27   --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev
20:08:50   <-- BinoX has quit (Quit: Client exiting)
20:27:15   --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev
20:28:27   -!- Ami603[aW] is now known as Ami603
20:46:23   <-- Ami603 has quit (Read error: Connection reset by peer)
20:48:41   --> Ami603_ (~coco@3c041c4.362b7f89.dynamicIP.rima-tde.net) has joined #amigadev
21:04:42   <-- Ami603_ has quit (Read error: Connection reset by peer)
21:11:14   --> Ami603_ (~coco@3c041c4.362b7f89.dynamicIP.rima-tde.net) has joined #amigadev
22:22:59   --> zeroamirc (~zerohero@231e202b.1d2128.tn.glocalnet.net) has joined #AmigaDev
22:23:16   <-- zerohero has quit (Read error: Connection reset by peer)
22:23:33   -!- zeroamirc is now known as zerohero
22:46:41   <-- BinoX has quit (Read error: Connection reset by peer)
22:54:00   <-- Ami603_ has quit (Quit: AmigaOS4, teh Real thing!)
23:06:38   --> Varthall (~Varthall@2142b218.2142b218.f4.ngi.it) has joined #amigadev
23:10:56   --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev
23:14:13 BinoX did Ami603 timeout or did he quit?
23:14:46 Varthall dunno
23:15:26 BinoX heh, fair enough.. I just e-mailed him anyway.. sorted out the problem we were having with graphics... heh... We forgot to allovate memory for it ^_^;;;
23:16:49 BinoX I'm gunna have to write up some tutorials on this... it's not an easy subject... heh... and the autodocs don't help too much... but it did provide the solution in the end.. lol
23:17:05 BinoX Well... nite all :)
23:17:21 Varthall nite!
23:17:50 Varthall btw what are ou working on?
23:18:53 BinoX A web browser... :) But keep it quiet :) 'cause I dunno how long it will take/if it will ever be releasable :) Don't wanna get ppls hopes up
23:19:23 Varthall woah
23:19:35 Varthall ok, I'll be quiet ^^
23:19:39 BinoX although now the gfx problem is solved it's looking more hopful ^_^
23:19:42 BinoX thanks :)
23:19:47 Varthall it's not Paihia I guess
23:19:59 BinoX No.. heh.. my own one.. but it does support css
23:20:07 BinoX well.. will
23:20:39 Varthall great to hear this!
23:21:01 BinoX heh, I thought it was about time the amiga got an up to date browser
23:21:06 Varthall miga is surely missing it
23:21:11 Varthall Amiga
23:21:26 BinoX I hope to have at least an alpha out this month... but I'm still pretty new to amiga coding.. but we'll see what happens :)
23:21:44 BinoX But for now.. I must sleep, 'cause it's 11:30 and I have an early start at work tomorrow :)
23:21:51 BinoX Watch this chan for details ;)
23:21:54 Varthall ok
23:22:01 Varthall this is something
23:22:08 Varthall I'm really interested ^^
23:22:55   -!- * wegster runs off and posts News Item "BinoX promises new browser in 'Two More Weeks'!" ;-)
23:23:13 Varthall hehe
23:23:29 Varthall have you given it a name, or it's still undecided?
23:32:23 SixK good night
23:32:48   <-- SixK has quit (Quit: Client exiting)
23:33:58   --> kindergip (~one@34905d69.10eff834.cst.dccnet.com) has joined #amigadev
23:34:09 kindergip ?
23:34:16 Varthall !
23:34:20 kindergip ah
23:35:02 kindergip !seen number6
23:35:02 GrimReaper number6 was last seen online 3 hours, 59 minutes ago.
23:35:04 MrBot number6 (~user@f4f1334.31b34b44.dialup.citynet.net) was last seen quitting from #amigadev 3 hours, 59 minutes ago stating (Quit: Be seeing you).
23:36:43   --> jahc (~jahc@3702296a.113ade0c.xnet.co.nz) has joined #amigadev