From: Raymond S. <dst...@or...> - 2001-01-11 04:43:45
|
I've been dragging skinwindows just by attaching the 'behavior' at creation time. When Master Pascal mentioned the need for updating I think he was refering to the need to convert them to the precreate system. ----- Original Message ----- From: "Doug Melvin" <do...@cr...> To: <dyn...@li...> Sent: Wednesday, January 10, 2001 11:16 PM Subject: Re: Re[2]: [Dynapi-Dev] Making progress on a Java gui tool > Window is now draggable.. > also, you can double click on the title bar to maximize/restore.. > Need to add a cover layer over caption text as caption text blocks click > events > in the title bar.. > > Doug Melvin > ----- Original Message ----- > From: "Richard :o" <ma...@ri...> > To: <dyn...@li...> > Sent: Tuesday, January 09, 2001 4:33 PM > Subject: Re: Re[2]: [Dynapi-Dev] Making progress on a Java gui tool > > > > > correct, the widgets are not in the CVS. They would also need work to > make > > > them work in the latest DynAPI2.. something I'm not planning on for a > > while. > > > > So Doug, please send your fixes over to me as I would like to support > these > > great > > widgets as long as possible, and the lack of draggability under IE5.5 was > a > > long overdue fix. > > > > Regarding elastic, I apply this on my page by detecting browser dimensions > > like this: > > > > var winH,winW,w, h, ow, oh, q > > > > function findWH() { > > winW = (is.ns)? window.innerWidth : document.body.offsetWidth-20 > > winH = (is.ns)? window.innerHeight : document.body.offsetHeight-4 > > //I'm not sure what the -20 and -4 was > needed > > for now > > ow= 1004/winW; > > oh= 648/winH; > > if(ow>oh){q=ow;}else{q=oh;} > > return q > > } > > > > DynAPI.onLoad=function() { > > q=findWH() > > > > and then all sizes defined are divided by q, like this: > > > > statusMsg=new DynLayer(null,0,0,120/q,120/q); > > > > When done like this it means objects retain their original shape; so if > > someone's browser is letterbox > > shaped, your page doesn't become squashed, but decreases in width as well. > > > > in the resize event you could put: > > q=findWH() //gets new dimensions > > statusMsg.slideTo(120/q,120/q); > > > > I haven't done the resizing bit on my page right now, because I wanted to > > animate the resizing > > properly (ie the things fly to the new place, and grow/shrink). Also many > > people resize the browser > > while the page is loading, which could cause errors and crashes, so I only > > let the onResize() > > code execute (during testing) after a variable was set at the end of my > > preloading sequence. > > Of course NS can't animate anything onResize(), as it simply has to be > > reloaded, at least I haven't > > seen recreateAll() work properly without a reload. > > > > The only problem I run into was text size, you can change the font size > > using the same variable, ie: > > > > statusMsg.setHTML('<span style="font-size: '+16/q+'pt;">Blah Blah</span>') > > > > but during testing NS gave a lot of problems, looking on it now I think > the > > problem was that I had two stylesheets > > applied to the same document, one directly and one through a skinButton > > widget, but I'm not sure. > > > > I hope there's something in there of use; > > > > Cheers, > > Richard :o > > > > ma...@ri... > > www.richardinfo.com > > (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) > > > > ----- Original Message ----- > > From: "Pascal Bestebroer" <pa...@dy...> > > To: <dyn...@li...> > > Sent: Wednesday, January 10, 2001 9:40 PM > > Subject: RE: Re[2]: [Dynapi-Dev] Making progress on a Java gui tool > > > > > > > correct, the widgets are not in the CVS. They would also need work to > make > > > them work in the latest DynAPI2.. something I'm not planning on for a > > while. > > > > > > cya, > > > > > > Pascal Bestebroer > > > pa...@dy... > > > http://www.dynamic-core.net > > > > > > > -----Oorspronkelijk bericht----- > > > > Van: dyn...@li... > > > > [mailto:dyn...@li...]Namens Robert Rainwater > > > > Verzonden: woensdag 10 januari 2001 21:35 > > > > Aan: DynAPI Development List > > > > Onderwerp: Re[2]: [Dynapi-Dev] Making progress on a Java gui tool > > > > > > > > > > > > > > > > As far as I know none of those widgets are in CVS. Aren't those > > > > Pascal's widgets? > > > > > > > > -- > > > > // Robert Rainwater > > > > > > > > On 1/10/2001, 6:02:56 PM EST, Doug wrote about "[Dynapi-Dev] > > > > Making progress on a Java gui tool": > > > > > > > > > How do I get access to the CVS system.. > > > > > I've fixed a few bugs myself.. > > > > > Such as the 'movebility' of the skinwindow. > > > > > I also updated the doDock mothod of the skintoolbar. > > > > > Now calling doDock(0) will dock the toolbar at the top. > > > > > (re-position it and set it's width) > > > > > and passing a 1 instead will dock it at the bottom. > > > > > I am also working on an elatic object.. > > > > > What this does is resizes and repositions the content on your > > > > page for any > > > > > browser size.. and automatically does so when you change the size of > > the > > > > > browser.. > > > > > > > > > > > > > Assuming I do get access to CVS.. > > > > > Is the bug list at sourceforge complete? > > > > > ----- Original Message ----- > > > > > From: "Raymond Smith" <dst...@or...> > > > > > To: <dyn...@li...> > > > > > Sent: Tuesday, January 09, 2001 1:54 PM > > > > > Subject: Re: [Dynapi-Dev] Making progress on a Java gui tool > > > > > > > > > > > > >> I was beginning to wonder where Dan went off to, now we know. It > > does > > > > >> appear that we've created a bit of a two headed hydra here, as > others > > > > >> mentioned might happen. Dan's off working on a DynBuilder while > > other > > > > >> pontificate about the holy-grail of RAD tools to speed up "the > still > > > > > bugged > > > > >> version of DynAPI2" that hasn't had a refresh since November of > 2000. > > > > >> > > > > >> While I do my best to muddle thru this code and help Robert debug > > this > > > > > stuff > > > > >> I fear I submit about as much confusion as contribution. But I get > > the > > > > >> feeling that others are not really 'actively debugging' the > > > > current CVS. > > > > >> Dan's working on a GUI which he will 'share' with us, thus > > > > allowing us to > > > > >> further defocus our efforts while other do grand debate on what > this > > > > > "thing" > > > > >> should be. > > > > >> > > > > >> It would be nice to, at a minimum, clean up the current base > > > > code in the > > > > > CVS > > > > >> before we defocus the limited masses even more. > > > > >> > > > > >> Sorry for the rant. But ALOT of change was introduced with > > > > precreate and > > > > >> inline creation integration that still needs to be cleaned up. > > > > It seems > > > > > the > > > > >> only really active debugger right now is Robert and Pascal (on > > > > a limited > > > > >> basis). > > > > >> > > > > >> > > > > >> _______________________________________________ > > > > >> Dynapi-Dev mailing list > > > > >> Dyn...@li... > > > > >> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > > > > > > > > > > > > _______________________________________________ > > > > > Dynapi-Dev mailing list > > > > > Dyn...@li... > > > > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > > > > > > > > > > > > > > > _______________________________________________ > > > > Dynapi-Dev mailing list > > > > Dyn...@li... > > > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > > > > > > > > > > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > > ____________________________________________________________ > > > Get your free domain name and domain-based e-mail from > > > Namezero.com. New! Namezero Plus domains now available. > > > Find out more at: http://www.namezero.com > > > > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > |