From: Pascal B. <pa...@dy...> - 2001-01-10 20:41:30
|
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 > |
From: Pascal <pb...@oi...> - 2001-01-11 07:55:35
|
Yes, the widgets should indeed now use the precreation system, and the eventlistener should not be attached using prototype (it's part of the object, not of the prototype chain). Also events should be invoked, and not be hard coded functions (can't recall if I ever did that). and, uhm, please drop the Master.. cya, Pascal Bestebroer (pb...@oi...) Software ontwikkelaar Oberon Informatiesystemen b.v. http://www.oibv.com > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Raymond Smith > Verzonden: donderdag 11 januari 2001 5:43 > Aan: dyn...@li... > Onderwerp: Re: Re[2]: [Dynapi-Dev] Making progress on a Java gui tool > > > 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 > > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > |
From: Raymond S. <dst...@or...> - 2001-01-11 08:36:45
|
My apologies, Mr. Bestebroer, sir. It's late and I will probably see the sunrise through bloodshot eyes. We go live Friday (maybe, I think). |
From: <hv...@ya...> - 2001-01-11 09:23:12
|
I've begun applying Dan's ServerTask model for DynAPI 2, however I seem = to have lost the dynapi(1) lib where the Dan's ServerTasks where = included. Also I want to check so that I'm not doing what somebody else = is already working on or have already applied to DynAPI2. BTW I've set = up an free acount at www.cf-resources.com so I can live test and demo = the new serverTasks (also will be home of my build of DynBuilder and = ccreation widgetset and the working DynAPI these are fitting). If = nothing else, I'll let you know when the site is up if anybody should be = interested... Henrik V=E5glin [ hv...@ya... ] __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com |
From: Pascal <pb...@oi...> - 2001-01-11 09:19:36
|
uhm.. Pascal would be fine.. thanks :) read ya Friday. Pascal Bestebroer (pb...@oi...) Software ontwikkelaar Oberon Informatiesystemen b.v. http://www.oibv.com > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Raymond Smith > Verzonden: donderdag 11 januari 2001 9:36 > Aan: dyn...@li... > Onderwerp: Re: Re[2]: [Dynapi-Dev] Making progress on a Java gui tool > > > My apologies, Mr. Bestebroer, sir. > > It's late and I will probably see the sunrise through > bloodshot eyes. We go > live Friday (maybe, I think). > > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > |
From: Jack_Speranza <jsp...@gr...> - 2001-01-11 14:50:45
|
Just an intellectual JS question on this subject... doesn't keeping the eventlistener in the prototype assure the code only exists in one place in memory (i.e. - each instantiated object points to the same code)? Given the browser's poor memory handling, isn't this a good thing, and better than having multiple copies of the same code clogging things up? If the code is written properly, it seems to me that everything should work just fine and dandy for all insantiated objects, or am I missing something here? -----Original Message----- From: Pascal [mailto:pb...@oi...] Sent: Thursday, January 11, 2001 2:56 AM To: dyn...@li... Subject: RE: Re[2]: [Dynapi-Dev] Making progress on a Java gui tool Yes, the widgets should indeed now use the precreation system, and the eventlistener should not be attached using prototype (it's part of the object, not of the prototype chain). Also events should be invoked, and not be hard coded functions (can't recall if I ever did that). and, uhm, please drop the Master.. cya, Pascal Bestebroer (pb...@oi...) Software ontwikkelaar Oberon Informatiesystemen b.v. http://www.oibv.com > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Raymond Smith > Verzonden: donderdag 11 januari 2001 5:43 > Aan: dyn...@li... > Onderwerp: Re: Re[2]: [Dynapi-Dev] Making progress on a Java gui tool > > > 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 > > > > > _______________________________________________ > 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 |
From: Pascal <pb...@oi...> - 2001-01-11 15:20:54
|
With single widgets (prototyping from the dynlayer) there are indeed no problems, but when you want to build another widget based on the first widget.. things will start happening. The widget will have 2x the eventlisteners needed. I think the easiest way to explain is that you should take a look at the addEventListener method of the DynLayer.. this checks to see if the eventlistener is already attached.. if not, it attaches the specified one. With prototyping the constructor is called multiple times first: this.Button=new Button this.Button() <-- calls constructor, and thus creates first-widget's eventlistener then already defined for the prototype: imgButton.prototype=new Button <--- calls the constructor ALSO, creating a nother eventlistener. By attaching the eventListener to the constructor, it's always the same eventlistener: Button.listener ..it's hard to explain, so probably harder to understand, but do some tests with multiple-inheriting and you'll notice the eventlistener problems. l8r, Pascal Bestebroer (pb...@oi...) Software ontwikkelaar Oberon Informatiesystemen b.v. http://www.oibv.com > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Jack_Speranza > Verzonden: donderdag 11 januari 2001 15:51 > Aan: 'dyn...@li...' > Onderwerp: RE: Re[2]: [Dynapi-Dev] Making progress on a Java gui tool > > > Just an intellectual JS question on this subject... doesn't > keeping the > eventlistener in the prototype assure the code only exists in > one place in > memory (i.e. - each instantiated object points to the same > code)? Given the > browser's poor memory handling, isn't this a good thing, and > better than > having multiple copies of the same code clogging things up? > If the code is > written properly, it seems to me that everything should work > just fine and > dandy for all insantiated objects, or am I missing something here? > > -----Original Message----- > From: Pascal [mailto:pb...@oi...] > Sent: Thursday, January 11, 2001 2:56 AM > To: dyn...@li... > Subject: RE: Re[2]: [Dynapi-Dev] Making progress on a Java gui tool > > > Yes, the widgets should indeed now use the precreation system, and the > eventlistener should not be attached using prototype (it's part of the > object, not of the prototype chain). > > Also events should be invoked, and not be hard coded > functions (can't recall > if I ever did that). > > and, uhm, please drop the Master.. > > cya, > > Pascal Bestebroer (pb...@oi...) > Software ontwikkelaar > Oberon Informatiesystemen b.v. > http://www.oibv.com > > > -----Oorspronkelijk bericht----- > > Van: dyn...@li... > > [mailto:dyn...@li...]Namens Raymond Smith > > Verzonden: donderdag 11 januari 2001 5:43 > > Aan: dyn...@li... > > Onderwerp: Re: Re[2]: [Dynapi-Dev] Making progress on a > Java gui tool > > > > > > 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 > > > > > > > > > _______________________________________________ > > 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 > |
From: Doug M. <do...@cr...> - 2001-01-10 21:33:03
|
Well.. since the current project relies on DynaPI 2 AND the skinwindow, and SkinToolbar widgets.. I think I'll have to fix them myself.. It the snapshot creation still working? If so, can you repost the URL? And what do I do with the widgets after I have upgraded them? Do I just send them to Pascal or what? Thank You, Doug Melvin Integrated System Solutions: Design, Development, Implementation and Support Creative-Workshop.com > 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 |
From: Richard :o <ma...@ri...> - 2001-01-11 00:32:03
|
> 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 > |
From: Michael P. <mp...@ph...> - 2001-01-11 03:56:05
|
The alterations to the vlaues is needed to allow for the existance of scroll bars without having them hide the content. Richard :o wrote: > > 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 -- Michael Pemberton mp...@ph... ICQ: 12107010 |
From: Doug M. <do...@cr...> - 2001-01-11 04:18:16
Attachments:
skinwindow.js
|
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 |
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 > |
From: Richard :o <ma...@ri...> - 2001-01-11 06:41:12
Attachments:
skinwindow.js
|
Thanks, I added the cover layer, actually it's underneath the transparent capbar, so caption isn't written to capbar anymore. I added an IE only enhancement, while resizing in IE you see a black outline (css border), in NS the gray square remains. The updated version is attached. See example core.gui.skinwindow.htm at http://www.resass.f2s.com/?menu=examples&node=1 While you're there check out Glen_Deas_Examples I think it's very good, a good example of "drag another layer on drag" I'll document it a bit more though soon. Cheers, Richard :o ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) ----- Original Message ----- From: "Doug Melvin" <do...@cr...> To: <dyn...@li...> Sent: Thursday, January 11, 2001 8:16 AM 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 > |
From: Doug M. <do...@cr...> - 2001-01-12 03:54:16
Attachments:
skintoolbar.js
|
did you perchance to add the precreation code? What do I need to know to Add 'precreation' to allt he other widgets I'm using? Attached isw an updated Skintoolbar.. You may now call setDocked() passing 0,1,2,3 0=dock to top 1=dock to bottom 2=dock to left 3=dock to right. There is also now a new data member of the toolbar.. This is called dockedSide which tracks where we are docked. And is used so that we can add functionality such as auto-reorienting menus, ect. Also.. with draggable set to true, you can drag the toolbar to any side of the browser and it will automatically dock there. Still a work in progress tho. Doug Melvin ----- Original Message ----- From: "Richard :o" <ma...@ri...> To: <dyn...@li...> Sent: Wednesday, January 10, 2001 10:42 PM Subject: Re: Re[2]: [Dynapi-Dev] skinwindow update (was: Making progress on a Java gui tool) > Thanks, > I added the cover layer, actually it's underneath the transparent capbar, so > caption isn't written to capbar anymore. > I added an IE only enhancement, while resizing in IE you see a black outline > (css border), in NS the gray square remains. > The updated version is attached. > > See example core.gui.skinwindow.htm at > http://www.resass.f2s.com/?menu=examples&node=1 > > While you're there check out Glen_Deas_Examples I think it's very good, a > good example of > "drag another layer on drag" I'll document it a bit more though soon. > > Cheers, > Richard :o > > ma...@ri... > www.richardinfo.com > (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) > > ----- Original Message ----- > From: "Doug Melvin" <do...@cr...> > To: <dyn...@li...> > Sent: Thursday, January 11, 2001 8:16 AM > 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 > > > > > |
From: Richard :o <ma...@ri...> - 2001-01-14 13:21:02
|
Hi, Thanks for that, sounds good, I'll check it out later. > did you perchance to add the precreation code? > What do I need to know to Add 'precreation' to allt he other widgets I'm > using? Actually Pascal has updated his documentation on widget construction in his dynacore release http://www.dynamic-core.net/core/index.htm You can see which widgets have been updated here: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/dynapi/src/lib/dynapi/?cvsroot =dynapi Ideas: * Skinwindow double click on title-bar doesn't work in netscape, now I think double-click doesn't work in NS at all, at least not with my version of events.js - does it work for you? - otherwise single-click support for NS. * couldn't we include something so the title-bar minimizes to the bottom of the screen on-minimize? or maybe better an icon? Cheers, Richard :o ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) ----- Original Message ----- From: "Doug Melvin" <do...@cr...> To: <dyn...@li...> Sent: Friday, January 12, 2001 4:16 AM Subject: Re: Re[2]: [Dynapi-Dev] skinwindow update (was: Making progress on a Java gui tool) > did you perchance to add the precreation code? > What do I need to know to Add 'precreation' to allt he other widgets I'm > using? > > Attached isw an updated Skintoolbar.. > You may now call setDocked() passing 0,1,2,3 > 0=dock to top > 1=dock to bottom > 2=dock to left > 3=dock to right. > There is also now a new data member of the toolbar.. > This is called dockedSide which tracks where we are docked. And is used so > that we can add functionality such as auto-reorienting menus, ect. > > Also.. with draggable set to true, you can drag the toolbar to any side of > the browser and it will automatically dock there. > > Still a work in progress tho. > > > Doug Melvin > > ----- Original Message ----- > From: "Richard :o" <ma...@ri...> > To: <dyn...@li...> > Sent: Wednesday, January 10, 2001 10:42 PM > Subject: Re: Re[2]: [Dynapi-Dev] skinwindow update (was: Making progress on > a Java gui tool) > > > > Thanks, > > I added the cover layer, actually it's underneath the transparent capbar, > so > > caption isn't written to capbar anymore. > > I added an IE only enhancement, while resizing in IE you see a black > outline > > (css border), in NS the gray square remains. > > The updated version is attached. > > > > See example core.gui.skinwindow.htm at > > http://www.resass.f2s.com/?menu=examples&node=1 > > > > While you're there check out Glen_Deas_Examples I think it's very good, a > > good example of > > "drag another layer on drag" I'll document it a bit more though soon. > > > > Cheers, > > Richard :o > > > > ma...@ri... > > www.richardinfo.com > > (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) > > > > ----- Original Message ----- > > From: "Doug Melvin" <do...@cr...> > > To: <dyn...@li...> > > Sent: Thursday, January 11, 2001 8:16 AM > > 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 > > > > > > > > > > |
From: Pascal B. <pa...@dy...> - 2001-01-14 15:06:21
|
> * couldn't we include something so the title-bar minimizes to the > bottom of > the screen on-minimize? or maybe better an icon? this could be done by some sort of window manager.. that catches the onminimize event of the window, and then shows an icon or something on a toolbar widget. I once planned on doing this someday.. that day hasn't come yet :-) Pascal Bestebroer pa...@dy... http://www.dynamic-core.net |
From: Doug M. <do...@cr...> - 2001-01-15 11:26:33
|
That is part two of adding icon support to the skinwindow. I will be creating a taskbar/windo wnager for that purpose. Doug Melvin ----- Original Message ----- From: "Pascal Bestebroer" <pa...@dy...> To: <dyn...@li...> Sent: Sunday, January 14, 2001 7:05 AM Subject: RE: Re[2]: [Dynapi-Dev] skinwindow update (was: Making progress on a Java gui tool) > > * couldn't we include something so the title-bar minimizes to the > > bottom of > > the screen on-minimize? or maybe better an icon? > > this could be done by some sort of window manager.. that catches the > onminimize event of the window, and then shows an icon or something on a > toolbar widget. I once planned on doing this someday.. that day hasn't come > yet :-) > > Pascal Bestebroer > pa...@dy... > http://www.dynamic-core.net > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev |
From: Richard :o <ma...@ri...> - 2001-01-15 12:10:43
|
hi, Your toolbar works very well for me, I'll be putting that up as soon as I have a chance. > That is part two of adding icon support to the skinwindow. > I will be creating a taskbar/windo wnager for that purpose. Lets get the window manager debate out in the open, as I think there's a lot of half-finished work on that about. I had some ideas regarding z-indexing, which should also be handled by window-manager: * We could add a property to the dynLayer (or windowmanager) , so any dynlayer can call : var plane='backgroundLevel' //or firstLevel,or mySkinWindowContentLevel thisLayer.mustFocus(plane,'onmouseover') So layers activated by mustFocus(), on the same "plane" can be re-z-indexed when clicked, or moused over depending on argument passed. BTW the widget dev mailinglist also works, if people prefer we could move this over there. Cheers, Richard :o ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) ----- Original Message ----- From: "Doug Melvin" <do...@cr...> To: <dyn...@li...> Sent: Monday, January 15, 2001 3:22 PM Subject: Re: Re[2]: [Dynapi-Dev] skinwindow update (was: Making progress on a Java gui tool) > That is part two of adding icon support to the skinwindow. > I will be creating a taskbar/windo wnager for that purpose. > > Doug Melvin > ----- Original Message ----- > From: "Pascal Bestebroer" <pa...@dy...> > To: <dyn...@li...> > Sent: Sunday, January 14, 2001 7:05 AM > Subject: RE: Re[2]: [Dynapi-Dev] skinwindow update (was: Making progress on > a Java gui tool) > > > > > * couldn't we include something so the title-bar minimizes to the > > > bottom of > > > the screen on-minimize? or maybe better an icon? > > > > this could be done by some sort of window manager.. that catches the > > onminimize event of the window, and then shows an icon or something on a > > toolbar widget. I once planned on doing this someday.. that day hasn't > come > > yet :-) > > > > Pascal Bestebroer > > pa...@dy... > > http://www.dynamic-core.net > > > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/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 > |
From: Doug M. <do...@cr...> - 2001-01-15 11:25:47
|
Actually, now that I have my coolbar working... (http://www.creative-workshop.com/demo/cwconcept.htm) ...My next goal is indeed to add icon support for the skin window.. I'll look into single click to maximize in NS as well. Doug Melvin ----- Original Message ----- From: "Richard :o" <ma...@ri...> To: <dyn...@li...> Sent: Sunday, January 14, 2001 5:21 AM Subject: Re: Re[2]: [Dynapi-Dev] skinwindow update (was: Making progress on a Java gui tool) > Hi, > Thanks for that, sounds good, I'll check it out later. > > > did you perchance to add the precreation code? > > What do I need to know to Add 'precreation' to allt he other widgets I'm > > using? > Actually Pascal has updated his documentation on widget construction in his > dynacore release > http://www.dynamic-core.net/core/index.htm > > You can see which widgets have been updated here: > http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/dynapi/src/lib/dynapi/?cvsroot > =dynapi > > Ideas: > * Skinwindow double click on title-bar doesn't work in netscape, now I think > double-click doesn't work in NS at all, at least not with my version of > events.js - does it work for you? - otherwise single-click support for NS. > > * couldn't we include something so the title-bar minimizes to the bottom of > the screen on-minimize? or maybe better an icon? > > Cheers, > Richard :o > > ma...@ri... > www.richardinfo.com > (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) > > ----- Original Message ----- > From: "Doug Melvin" <do...@cr...> > To: <dyn...@li...> > Sent: Friday, January 12, 2001 4:16 AM > Subject: Re: Re[2]: [Dynapi-Dev] skinwindow update (was: Making progress on > a Java gui tool) > > > > did you perchance to add the precreation code? > > What do I need to know to Add 'precreation' to allt he other widgets I'm > > using? > > > > Attached isw an updated Skintoolbar.. > > You may now call setDocked() passing 0,1,2,3 > > 0=dock to top > > 1=dock to bottom > > 2=dock to left > > 3=dock to right. > > There is also now a new data member of the toolbar.. > > This is called dockedSide which tracks where we are docked. And is used so > > that we can add functionality such as auto-reorienting menus, ect. > > > > Also.. with draggable set to true, you can drag the toolbar to any side of > > the browser and it will automatically dock there. > > > > Still a work in progress tho. > > > > > > Doug Melvin > > > > ----- Original Message ----- > > From: "Richard :o" <ma...@ri...> > > To: <dyn...@li...> > > Sent: Wednesday, January 10, 2001 10:42 PM > > Subject: Re: Re[2]: [Dynapi-Dev] skinwindow update (was: Making progress > on > > a Java gui tool) > > > > > > > Thanks, > > > I added the cover layer, actually it's underneath the transparent > capbar, > > so > > > caption isn't written to capbar anymore. > > > I added an IE only enhancement, while resizing in IE you see a black > > outline > > > (css border), in NS the gray square remains. > > > The updated version is attached. > > > > > > See example core.gui.skinwindow.htm at > > > http://www.resass.f2s.com/?menu=examples&node=1 > > > > > > While you're there check out Glen_Deas_Examples I think it's very good, > a > > > good example of > > > "drag another layer on drag" I'll document it a bit more though soon. > > > > > > Cheers, > > > Richard :o > > > > > > ma...@ri... > > > www.richardinfo.com > > > (Everything running on, and ported to the 19/12/2000 snapshot of > DynAPI2) > > > > > > ----- Original Message ----- > > > From: "Doug Melvin" <do...@cr...> > > > To: <dyn...@li...> > > > Sent: Thursday, January 11, 2001 8:16 AM > > > 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 > > > > > > > > > > > > > > > > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev |
From: Dann <da...@to...> - 2001-01-15 11:41:27
Attachments:
dann.vcf
|
Hi, I hope I don't dissappoint you, but it seems very hard to get the cursor over a dropdown (popup ?) on my NS4.73... they flee every time I try to click on them... CU, Dann |
From: Richard :o <ma...@ri...> - 2001-01-15 12:22:42
|
Hi, Which widget/post/example are you refering to? Richard :o ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) ----- Original Message ----- From: "Dann" <da...@to...> To: <dyn...@li...> Sent: Monday, January 15, 2001 12:40 PM Subject: Re: [Dynapi-Dev] skinwindow update (was: Making progress on a Java gui tool) > Hi, > > I hope I don't dissappoint you, but it seems very hard to get the cursor over a > dropdown (popup ?) on my NS4.73... they flee every time I try to click on > them... > > CU, > Dann > > |
From: Dann <da...@to...> - 2001-01-15 12:29:39
Attachments:
dann.vcf
|
Hi, this one: http://www.creative-workshop.com/demo/cwconcept.htm CU, Dann |
From: Richard :o <ma...@ri...> - 2001-01-15 12:43:14
|
Yeah, I had the same problem in IE5/5, especially if the toolbar is on the right or the bottom of the screen, you can't select the content of the menus, and if you try long enough the mouse starts selecting text, as though the mouse were down. Cheers, Richard :o ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) ----- Original Message ----- From: "Dann" <da...@to...> To: <dyn...@li...> Sent: Monday, January 15, 2001 1:28 PM Subject: Re: [Dynapi-Dev] skinwindow update (was: Making progress on a Java gui tool) > Hi, > > this one: > http://www.creative-workshop.com/demo/cwconcept.htm > > CU, > Dann > > |
From: Doug M. <do...@cr...> - 2001-01-15 15:08:15
|
fixed. there was a one pixle gap between the menu buttons and the popups.. this was enought o trigger the document.onmousemove ----- Original Message ----- From: "Dann" <da...@to...> To: <dyn...@li...> Sent: Monday, January 15, 2001 3:40 AM Subject: Re: [Dynapi-Dev] skinwindow update (was: Making progress on a Java gui tool) > Hi, > > I hope I don't dissappoint you, but it seems very hard to get the cursor over a > dropdown (popup ?) on my NS4.73... they flee every time I try to click on > them... > > CU, > Dann > > |
From: Dann <da...@to...> - 2001-01-15 15:25:46
Attachments:
dann.vcf
|
Hi, Yup, that seems to have done it. Maybe a small detail : the popups flicker while you move your mouse over the buttons... can't you make their appearance more persistent ? CU, Dann Doug Melvin wrote: > fixed. > there was a one pixle gap between the menu buttons and the popups.. this was > enought o trigger the document.onmousemove > ----- Original Message ----- > From: "Dann" <da...@to...> > To: <dyn...@li...> > Sent: Monday, January 15, 2001 3:40 AM > Subject: Re: [Dynapi-Dev] skinwindow update (was: Making progress on a Java > gui tool) > > > Hi, > > > > I hope I don't dissappoint you, but it seems very hard to get the cursor > over a > > dropdown (popup ?) on my NS4.73... they flee every time I try to click on > > them... > > > > CU, > > Dann > > > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev |