From: Andrew G. <an...@zo...> - 2003-08-22 05:54:51
|
Hello, I have had a problem with capturing keyboard events in HTMLTextBox. I want to execute some code when the Enter key is pressed in a textbox, but while the keyboard event handling in HTMLTextBox works quite well it doesn't allow me to find out which key was pressed. The getInnerHTML function in htmltextbox.js contains: this._inlineEvents+=' onkeypress="return htc._e(\'keypress\',this);" ' +' onkeyup="return htc._e(\'keyup\',this);" ' +' onkeydown="return htc._e(\'keyup\',this);" ' The event handlers are invoked with two arguments: a String that give the kind of event and a reference to the TextBox object. The event handler in my own code gets the reference to the object but this doesn't let me find out which key was pressed. I have worked around this problem in my own copy of DynAPI by adding the "event" object to the arguments passed to the event handler: this._inlineEvents+=' onkeypress="return htc._e(\'keypress\',this,event);" ' +' onkeyup="return htc._e(\'keyup\',this,event);" ' +' onkeydown="return htc._e(\'keyup\',this,event);" ' ... The _e function also needs to change from: p._e = function(evt,elm){ var rt = this._oldHCTBEvt(evt,elm); to p._e = function(evt,elm,arg){ var rt = this._oldHCTBEvt(evt,elm,arg); This allows my own event handler two receive two parameters: the object that raised the event and the event itself. May I suggest this change be made to the library? I'm hoping it won't cause any cross-browser portability problems. On a slightly different matter, while I was poking about in htmltextbox.js, I noticed that line 72 contained: if(this.getElm()) this.elm.readonly=(b)? 'readyonly':''; The 'readyonly' looks like a typo which should probably be fixed. regards Andrew Gillett ps. I'm using the latest version for DynAPI3 from CVS. |
From: Raymond I. <xw...@ya...> - 2003-08-22 19:23:57
|
Point well taken. I'll see to it that your changes be implemented inside the HTML form based components. -- Raymond Irving --- Andrew Gillett <an...@zo...> wrote: > Hello, > > I have had a problem with capturing keyboard events > in HTMLTextBox. I > want to execute some code when the Enter key is > pressed in a textbox, > but while the keyboard event handling in HTMLTextBox > works quite well it > doesn't allow me to find out which key was pressed. > > The getInnerHTML function in htmltextbox.js > contains: > this._inlineEvents+=' onkeypress="return > htc._e(\'keypress\',this);" ' > +' onkeyup="return htc._e(\'keyup\',this);" ' > +' onkeydown="return htc._e(\'keyup\',this);" ' > > The event handlers are invoked with two arguments: a > String that give > the kind of event and a reference to the TextBox > object. The event > handler in my own code gets the reference to the > object but this doesn't > let me find out which key was pressed. > > I have worked around this problem in my own copy of > DynAPI by adding the > "event" object to the arguments passed to the event > handler: > this._inlineEvents+=' onkeypress="return > htc._e(\'keypress\',this,event);" ' > +' onkeyup="return > htc._e(\'keyup\',this,event);" ' > +' onkeydown="return > htc._e(\'keyup\',this,event);" ' > ... > > The _e function also needs to change from: > p._e = function(evt,elm){ > var rt = this._oldHCTBEvt(evt,elm); > to > p._e = function(evt,elm,arg){ > var rt = this._oldHCTBEvt(evt,elm,arg); > > > This allows my own event handler two receive two > parameters: the object > that raised the event and the event itself. > > May I suggest this change be made to the library? > I'm hoping it won't > cause any cross-browser portability problems. > > > > On a slightly different matter, while I was poking > about in > htmltextbox.js, I noticed that line 72 contained: > if(this.getElm()) this.elm.readonly=(b)? > 'readyonly':''; > > The 'readyonly' looks like a typo which should > probably be fixed. > > > > regards > Andrew Gillett > > ps. I'm using the latest version for DynAPI3 from > CVS. > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems > on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell > virtual machines > at the same time. Free trial click > here:http://www.vmware.com/wl/offer/358/0 > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Stephen C. <sca...@vi...> - 2003-08-25 18:41:22
|
I while back I also wrote a library that corrects for keyboard events by returning a remapped ascii set. If you notice, keyboard events on IE and Netcape return different keycodes. I've made one mod to remap them and get the case right. May I suggest that be corrected as well. Also, there was an example I sent out that showed how to retrieve tab, shift+alt+del, enter, and even arrow keys regardless of platform or browser but it was in DynAPI 2.5. I haven't had the time to port it to 3.0 but I believe the code should be implemented, as keyboard support is rather poor to date. ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: <dyn...@li...> Sent: Friday, August 22, 2003 9:11 AM Subject: Re: [Dynapi-Dev] Keyboard events in HTMLTextBox > > Point well taken. I'll see to it that your changes be > implemented inside the HTML form based components. > > -- > Raymond Irving > > --- Andrew Gillett <an...@zo...> wrote: > > Hello, > > > > I have had a problem with capturing keyboard events > > in HTMLTextBox. I > > want to execute some code when the Enter key is > > pressed in a textbox, > > but while the keyboard event handling in HTMLTextBox > > works quite well it > > doesn't allow me to find out which key was pressed. > > > > The getInnerHTML function in htmltextbox.js > > contains: > > this._inlineEvents+=' onkeypress="return > > htc._e(\'keypress\',this);" ' > > +' onkeyup="return htc._e(\'keyup\',this);" ' > > +' onkeydown="return htc._e(\'keyup\',this);" ' > > > > The event handlers are invoked with two arguments: a > > String that give > > the kind of event and a reference to the TextBox > > object. The event > > handler in my own code gets the reference to the > > object but this doesn't > > let me find out which key was pressed. > > > > I have worked around this problem in my own copy of > > DynAPI by adding the > > "event" object to the arguments passed to the event > > handler: > > this._inlineEvents+=' onkeypress="return > > htc._e(\'keypress\',this,event);" ' > > +' onkeyup="return > > htc._e(\'keyup\',this,event);" ' > > +' onkeydown="return > > htc._e(\'keyup\',this,event);" ' > > ... > > > > The _e function also needs to change from: > > p._e = function(evt,elm){ > > var rt = this._oldHCTBEvt(evt,elm); > > to > > p._e = function(evt,elm,arg){ > > var rt = this._oldHCTBEvt(evt,elm,arg); > > > > > > This allows my own event handler two receive two > > parameters: the object > > that raised the event and the event itself. > > > > May I suggest this change be made to the library? > > I'm hoping it won't > > cause any cross-browser portability problems. > > > > > > > > On a slightly different matter, while I was poking > > about in > > htmltextbox.js, I noticed that line 72 contained: > > if(this.getElm()) this.elm.readonly=(b)? > > 'readyonly':''; > > > > The 'readyonly' looks like a typo which should > > probably be fixed. > > > > > > > > regards > > Andrew Gillett > > > > ps. I'm using the latest version for DynAPI3 from > > CVS. > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems > > on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > > virtual machines > > at the same time. Free trial click > > here:http://www.vmware.com/wl/offer/358/0 > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > |
From: Raymond I. <xw...@ya...> - 2003-08-25 19:30:10
|
Hi Stephen, I've seen your post sometime and I believe the way you did it was to use a Java Applet to capture the keys? I believe Kevin is the best person to port such function in DynKeyEvent since he had done an excellent job with DynKey and TabManager. PS. I think such extended keybard fnuctions should not be enabled by default. -- Raymond Irving --- Stephen Carroll <sca...@vi...> wrote: > I while back I also wrote a library that corrects > for keyboard events by > returning a remapped ascii set. If you notice, > keyboard events on IE and > Netcape return different keycodes. I've made one mod > to remap them and get > the case right. May I suggest that be corrected as > well. Also, there was an > example I sent out that showed how to retrieve tab, > shift+alt+del, enter, > and even arrow keys regardless of platform or > browser but it was in DynAPI > 2.5. I haven't had the time to port it to 3.0 but I > believe the code should > be implemented, as keyboard support is rather poor > to date. > > ----- Original Message ----- > From: "Raymond Irving" <xw...@ya...> > To: <dyn...@li...> > Sent: Friday, August 22, 2003 9:11 AM > Subject: Re: [Dynapi-Dev] Keyboard events in > HTMLTextBox > > > > > > Point well taken. I'll see to it that your changes > be > > implemented inside the HTML form based components. > > > > -- > > Raymond Irving > > > > --- Andrew Gillett <an...@zo...> wrote: > > > Hello, > > > > > > I have had a problem with capturing keyboard > events > > > in HTMLTextBox. I > > > want to execute some code when the Enter key is > > > pressed in a textbox, > > > but while the keyboard event handling in > HTMLTextBox > > > works quite well it > > > doesn't allow me to find out which key was > pressed. > > > > > > The getInnerHTML function in htmltextbox.js > > > contains: > > > this._inlineEvents+=' onkeypress="return > > > htc._e(\'keypress\',this);" ' > > > +' onkeyup="return htc._e(\'keyup\',this);" > ' > > > +' onkeydown="return > htc._e(\'keyup\',this);" ' > > > > > > The event handlers are invoked with two > arguments: a > > > String that give > > > the kind of event and a reference to the TextBox > > > object. The event > > > handler in my own code gets the reference to the > > > object but this doesn't > > > let me find out which key was pressed. > > > > > > I have worked around this problem in my own copy > of > > > DynAPI by adding the > > > "event" object to the arguments passed to the > event > > > handler: > > > this._inlineEvents+=' onkeypress="return > > > htc._e(\'keypress\',this,event);" ' > > > +' onkeyup="return > > > htc._e(\'keyup\',this,event);" ' > > > +' onkeydown="return > > > htc._e(\'keyup\',this,event);" ' > > > ... > > > > > > The _e function also needs to change from: > > > p._e = function(evt,elm){ > > > var rt = this._oldHCTBEvt(evt,elm); > > > to > > > p._e = function(evt,elm,arg){ > > > var rt = this._oldHCTBEvt(evt,elm,arg); > > > > > > > > > This allows my own event handler two receive two > > > parameters: the object > > > that raised the event and the event itself. > > > > > > May I suggest this change be made to the > library? > > > I'm hoping it won't > > > cause any cross-browser portability problems. > > > > > > > > > > > > On a slightly different matter, while I was > poking > > > about in > > > htmltextbox.js, I noticed that line 72 > contained: > > > if(this.getElm()) this.elm.readonly=(b)? > > > 'readyonly':''; > > > > > > The 'readyonly' looks like a typo which should > > > probably be fixed. > > > > > > > > > > > > regards > > > Andrew Gillett > > > > > > ps. I'm using the latest version for DynAPI3 > from > > > CVS. > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: VM Ware > > > With VMware you can run multiple operating > systems > > > on a single machine. > > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > > > virtual machines > > > at the same time. Free trial click > > > here:http://www.vmware.com/wl/offer/358/0 > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > > http://sitebuilder.yahoo.com > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems > on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell > virtual machines > at the same time. Free trial click > here:http://www.vmware.com/wl/offer/358/0 > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Andrew G. <an...@zo...> - 2003-09-18 00:41:11
|
Hi, From the latest snapshot, the files: htmlfile.js, line 45 htmltextarea.js, line 30 htmltextbox.js, line 25 all contain the same error: +' onkeydown="return htc._e(\'keyup\',this,event);" ' which should be: +' onkeydown="return htc._e(\'keydown\',this,event);" ' regards, Andrew Gillett |
From: Raymond I. <xw...@ya...> - 2003-09-18 15:05:39
|
Thanks for the fix. This change is now inside cvs. -- Raymond Irving --- Andrew Gillett <an...@zo...> wrote: > Hi, > > From the latest snapshot, the files: > htmlfile.js, line 45 > htmltextarea.js, line 30 > htmltextbox.js, line 25 > > all contain the same error: > +' onkeydown="return htc._e(\'keyup\',this,event);" > ' > > which should be: > +' onkeydown="return > htc._e(\'keydown\',this,event);" ' > > > regards, > Andrew Gillett > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Daniel T. <de...@ti...> - 2003-09-19 20:12:21
|
Hi! If someone that have good insight into the widget creation and how they should be build please write a documentation or a step by step instruction on how we should continue to build the widgets? I think this is quite important as I think most of us are atleast thinking on making a own widget to deliver to the DYNapi project. So its best for us all if the widget are build in some specialway we all follows. Best Regards Daniel |
From: Raymond I. <xw...@ya...> - 2003-09-21 23:56:29
|
You're correct Daniel. I've converted the "how to create a widget" from the dynapi set http://dynapi.sourceforge.net/doccenter/ to DynAPI 3.0 format. See the Tips & Tricks section. I think we need a Standard Widget Model that supports the following: 1) Inheritance 2) Themes/Skins Is it possible for all the developers to come together and let's come up with a design model that can support the above features and others if needed? What ideas do you have in mind? -- Raymond Irving --- Daniel Tiru <de...@ti...> wrote: > Hi! > > If someone that have good insight into the widget > creation and how they > should be build please write a documentation or a > step by step > instruction on how we should continue to build the > widgets? > > I think this is quite important as I think most of > us are atleast > thinking on making a own widget to deliver to the > DYNapi project. So its > best for us all if the widget are build in some > specialway we all > follows. > > Best Regards > Daniel > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Daniel T. <de...@ti...> - 2003-09-22 09:43:59
|
Hi Raymond! I think this looks good, but i still dont understand how the stylemanager works really... It might help me understand the themes/styles a bit better, and the posibility to have a oppinion :) Is there some documentation how it works, i havent found any but maybee i havent been looking that hard? Or maybee some step by step example? Regards Daniel -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Raymond Irving Sent: den 22 september 2003 01:56 To: dyn...@li... Subject: Re: [Dynapi-Dev] Widget Howto You're correct Daniel. I've converted the "how to create a widget" from the dynapi set http://dynapi.sourceforge.net/doccenter/ to DynAPI 3.0 format. See the Tips & Tricks section. I think we need a Standard Widget Model that supports the following: 1) Inheritance 2) Themes/Skins Is it possible for all the developers to come together and let's come up with a design model that can support the above features and others if needed? What ideas do you have in mind? -- Raymond Irving --- Daniel Tiru <de...@ti...> wrote: > Hi! > > If someone that have good insight into the widget > creation and how they > should be build please write a documentation or a > step by step > instruction on how we should continue to build the > widgets? > > I think this is quite important as I think most of > us are atleast > thinking on making a own widget to deliver to the > DYNapi project. So its > best for us all if the widget are build in some > specialway we all > follows. > > Best Regards > Daniel > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://www.mail-archive.com/dyn...@li.../ |
From: Raymond I. <xw...@ya...> - 2003-09-22 13:32:35
|
See docs/docs/quickref.stylemanager.html We could also look into stylemanager's approach as a standard or come up with another. -- Raymond Irving --- Daniel Tiru <de...@ti...> wrote: > Hi Raymond! > > I think this looks good, but i still dont understand > how the > stylemanager works really... It might help me > understand the > themes/styles a bit better, and the posibility to > have a oppinion :) > > Is there some documentation how it works, i havent > found any but maybee > i havent been looking that hard? Or maybee some step > by step example? > > Regards > Daniel > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On > Behalf Of Raymond > Irving > Sent: den 22 september 2003 01:56 > To: dyn...@li... > Subject: Re: [Dynapi-Dev] Widget Howto > > > > You're correct Daniel. > > I've converted the "how to create a widget" from the > dynapi set http://dynapi.sourceforge.net/doccenter/ > to > DynAPI 3.0 format. See the Tips & Tricks section. > > I think we need a Standard Widget Model that > supports > the following: > > 1) Inheritance > 2) Themes/Skins > > Is it possible for all the developers to come > together > and let's come up with a design model that can > support > the above features and others if needed? > > What ideas do you have in mind? > > -- > Raymond Irving > > > --- Daniel Tiru <de...@ti...> wrote: > > Hi! > > > > If someone that have good insight into the widget > > creation and how they > > should be build please write a documentation or a > > step by step > > instruction on how we should continue to build the > > widgets? > > > > I think this is quite important as I think most of > > us are atleast > > thinking on making a own widget to deliver to the > > DYNapi project. So its > > best for us all if the widget are build in some > > specialway we all > > follows. > > > > Best Regards > > Daniel > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Daniel T. <de...@ti...> - 2003-09-22 13:43:12
|
Hi! I had a big problem and that was i had 3 layers that i needed to have exacly 10 pixels vertical from eachother. The problem was not to place them but to keep the distance when they resized. I have now made a function for that, that triggers on "onresize" but its just for the vertical bit. I will however make one for horizontal resize and both vertical and horizontal aswell, and now i wonder if there is something else that needs to be added to this manager, so if you have any idees please send them to me. Regards Daniel |
From: Jacob L. <jy...@mo...> - 2003-09-22 14:47:54
|
Well, the next thing you'll want would be to react to when one of the layers moves, you want to move the other ones in concert, and when they are hidden, the Z-order changes, and so on. Sounds like a window manager to me, before too long :) --JYL > Hi! > > I had a big problem and that was i had 3 layers that i needed to have > exacly 10 pixels vertical from eachother. The problem was not to place > them but to keep the distance when they resized. I have now made a > function for that, that triggers on "onresize" but its just for the > vertical bit. > > I will however make one for horizontal resize and both vertical and > horizontal aswell, and now i wonder if there is something else that > needs to be added to this manager, so if you have any idees please send > them to me. > > Regards > Daniel > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Daniel T. <de...@ti...> - 2003-09-23 07:49:25
|
Hi Jacob In what way do you mean react? If you mean that all layers should move, thats already included into the groupmanager. How do you mean "and when they are hidden, the Z-order changes" If they are hidden they should be overseen i think, and when they are made visible again, then they should invoke a redraw of the layer positions. Regards Daniel -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Jacob Levy Sent: den 22 september 2003 16:48 To: dyn...@li... Cc: de...@ti... Subject: Re: [Dynapi-Dev] LayoutManager Well, the next thing you'll want would be to react to when one of the layers moves, you want to move the other ones in concert, and when they are hidden, the Z-order changes, and so on. Sounds like a window manager to me, before too long :) --JYL > Hi! > > I had a big problem and that was i had 3 layers that i needed to have > exacly 10 pixels vertical from eachother. The problem was not to place > them but to keep the distance when they resized. I have now made a > function for that, that triggers on "onresize" but its just for the > vertical bit. > > I will however make one for horizontal resize and both vertical and > horizontal aswell, and now i wonder if there is something else that > needs to be added to this manager, so if you have any idees please > send them to me. > > Regards > Daniel > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://www.mail-archive.com/dyn...@li.../ |
From: Jacob L. <jy...@mo...> - 2003-09-23 14:37:37
|
Sounds to me like the LayoutManager and GroupManager are performing similar or related functions. Should they be merged into one entity that implements their summed functions? I don't know the answer myself to those questions I asked, I just wanted to see what you thought is reasonable. Do you think that this is what everyone will want? If not, perhaps make the behavior customizable? In summary, instead of a GroupManager and LayoutManager, I think what would be nice is a LayerManager that implements both and is customizable. --JYL > Hi Jacob > > In what way do you mean react? If you mean that all layers should move, > thats already included into the groupmanager. How do you mean "and when > they are hidden, the Z-order changes" If they are hidden they should be > overseen i think, and when they are made visible again, then they should > invoke a redraw of the layer positions. > > Regards > Daniel > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On Behalf Of Jacob Levy > Sent: den 22 september 2003 16:48 > To: dyn...@li... > Cc: de...@ti... > Subject: Re: [Dynapi-Dev] LayoutManager > > > Well, the next thing you'll want would be to react to when one of the > layers moves, you want to move the other ones in concert, and when they > are hidden, the Z-order changes, and so on. Sounds like a window manager > to me, before too long :) > > --JYL > >> Hi! >> >> I had a big problem and that was i had 3 layers that i needed to have >> exacly 10 pixels vertical from eachother. The problem was not to place > >> them but to keep the distance when they resized. I have now made a >> function for that, that triggers on "onresize" but its just for the >> vertical bit. >> >> I will however make one for horizontal resize and both vertical and >> horizontal aswell, and now i wonder if there is something else that >> needs to be added to this manager, so if you have any idees please >> send them to me. >> >> Regards >> Daniel >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Dynapi-Dev mailing list >> Dyn...@li... >> http://www.mail-archive.com/dyn...@li.../ > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Kevin <ke...@ke...> - 2003-09-23 18:56:56
|
Hi, FocusManager deals with z-index issues. - Kevin "Jacob Levy" <jy...@mo...> wrote: > Sounds to me like the LayoutManager and GroupManager are performing > similar or related functions. Should they be merged into one entity that > implements their summed functions? > > I don't know the answer myself to those questions I asked, I just wanted > to see what you thought is reasonable. Do you think that this is what > everyone will want? If not, perhaps make the behavior customizable? > > In summary, instead of a GroupManager and LayoutManager, I think what > would be nice is a LayerManager that implements both and is customizable. > > --JYL > > > Hi Jacob > > > > In what way do you mean react? If you mean that all layers should move, > > thats already included into the groupmanager. How do you mean "and when > > they are hidden, the Z-order changes" If they are hidden they should be > > overseen i think, and when they are made visible again, then they should > > invoke a redraw of the layer positions. > > > > Regards > > Daniel > > > > -----Original Message----- > > From: dyn...@li... > > [mailto:dyn...@li...] On Behalf Of Jacob Levy > > Sent: den 22 september 2003 16:48 > > To: dyn...@li... > > Cc: de...@ti... > > Subject: Re: [Dynapi-Dev] LayoutManager > > > > > > Well, the next thing you'll want would be to react to when one of the > > layers moves, you want to move the other ones in concert, and when they > > are hidden, the Z-order changes, and so on. Sounds like a window manager > > to me, before too long :) > > > > --JYL > > > >> Hi! > >> > >> I had a big problem and that was i had 3 layers that i needed to have > >> exacly 10 pixels vertical from eachother. The problem was not to place > > > >> them but to keep the distance when they resized. I have now made a > >> function for that, that triggers on "onresize" but its just for the > >> vertical bit. > >> > >> I will however make one for horizontal resize and both vertical and > >> horizontal aswell, and now i wonder if there is something else that > >> needs to be added to this manager, so if you have any idees please > >> send them to me. > >> > >> Regards > >> Daniel > >> > >> > >> > >> > >> ------------------------------------------------------- > >> This sf.net email is sponsored by:ThinkGeek > >> Welcome to geek heaven. > >> http://thinkgeek.com/sf > >> _______________________________________________ > >> Dynapi-Dev mailing list > >> Dyn...@li... > >> http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Daniel T. <de...@ti...> - 2003-09-23 20:23:20
|
Hi, The layoutmanager i have made currently supports layers to be placed and hold position to eatchother either verticaly or horisontal with x space between them. So far the layers X and Y positions are not locked so you can get a diagonal placement of the layers. This will be fixed before cvs upload. You will be able to set the spacing between them, remove and add more layers to the manager. Any more idees is very well apreciated but what i have seen right now the groupmanager will be left alone as i cant see the usefullnes with adding this functionality to that one, and as stated under here, the focusmanager deals with z-index. So i think more "uniteractive" events and stuff should be in this one. Things that is more static like menues and windows and sutch, but can change size. Regards Daniel -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Kevin Sent: den 23 september 2003 20:57 To: dyn...@li... Subject: Re: [Dynapi-Dev] LayoutManager Hi, FocusManager deals with z-index issues. - Kevin "Jacob Levy" <jy...@mo...> wrote: > Sounds to me like the LayoutManager and GroupManager are performing > similar or related functions. Should they be merged into one entity > that implements their summed functions? > > I don't know the answer myself to those questions I asked, I just > wanted to see what you thought is reasonable. Do you think that this > is what everyone will want? If not, perhaps make the behavior > customizable? > > In summary, instead of a GroupManager and LayoutManager, I think what > would be nice is a LayerManager that implements both and is > customizable. > > --JYL > > > Hi Jacob > > > > In what way do you mean react? If you mean that all layers should > > move, thats already included into the groupmanager. How do you mean > > "and when they are hidden, the Z-order changes" If they are hidden > > they should be overseen i think, and when they are made visible > > again, then they should invoke a redraw of the layer positions. > > > > Regards > > Daniel > > > > -----Original Message----- > > From: dyn...@li... > > [mailto:dyn...@li...] On Behalf Of Jacob > > Levy > > Sent: den 22 september 2003 16:48 > > To: dyn...@li... > > Cc: de...@ti... > > Subject: Re: [Dynapi-Dev] LayoutManager > > > > > > Well, the next thing you'll want would be to react to when one of > > the layers moves, you want to move the other ones in concert, and > > when they are hidden, the Z-order changes, and so on. Sounds like a > > window manager to me, before too long :) > > > > --JYL > > > >> Hi! > >> > >> I had a big problem and that was i had 3 layers that i needed to > >> have exacly 10 pixels vertical from eachother. The problem was not > >> to place > > > >> them but to keep the distance when they resized. I have now made a > >> function for that, that triggers on "onresize" but its just for the > >> vertical bit. > >> > >> I will however make one for horizontal resize and both vertical and > >> horizontal aswell, and now i wonder if there is something else that > >> needs to be added to this manager, so if you have any idees please > >> send them to me. > >> > >> Regards > >> Daniel > >> > >> > >> > >> > >> ------------------------------------------------------- > >> This sf.net email is sponsored by:ThinkGeek > >> Welcome to geek heaven. > >> http://thinkgeek.com/sf > >> _______________________________________________ > >> Dynapi-Dev mailing list > >> Dyn...@li... > >> http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://www.mail-archive.com/dyn...@li.../ |
From: Raymond I. <xw...@ya...> - 2003-09-22 15:41:57
|
From my basic understanding of widgets created in DynAPI 2.5x I've concluded that the structure used seems quite ok for normal widgets: function widgetname(agruments){ this.DynLayer = DynLayer; this.DynLayer(agruments); // } var p = dynapi.setPrototype('widgetname','DynLayer'); But now that we want to be able to support themes & skins I would like to suggest that the structure be upgraded to allow us to add/modify special features without creating a completely new object: function widgetname(agruments){ this.DynLayer = DynLayer; this.DynLayer(agruments); this.construct(); // create widget components } var p = dynapi.setPrototype('widgetname','DynLayer'); p.construct = function(){ // setup addtional object here }; p.render = function(evnt){ // render or draw the ui here }; We could also create a base object call "Widget" for use when creating widgets function Widget(html,x,y,w,h,color){ this.DynLayer = DynLayer; this.DynLayer(agruments); // construct widget components this.construct(); // render the ui before it's created this.OnPreCreate(this.render); // or we could hook the the render() function // into DynLayer to avoid OnPreCreate overhead? }; var p = dynapi.setPrototype('Widget','DynLayer'); // Design Properties p.backColor = 'silver'; // Methods p.construct = function(){ // setup addtional object here }; p.render = function(evnt){ // render or draw the ui here }; p.WidgetSetSize = DynLayer.prototype.setSize; p.setSize = function(x,y){ this.WidgetSetSize(x,y); this.render('resize'); } To simply create a Button widget we could then do the following: function Button(caption,x,y,w,h){ this.Widget = Widget; this.Widget(null,x,y,w,h); this.caption = caption||''; } var p = dynapi.setPrototype('Button','Widget'); p.construct = function(){ this.setTextSelectable(false); this.enableBlackboard(); this.addchild(new DynLayer(),'lyrCover'); this.lyrCover.setAnchor({left:0,top:0,stretchH:'*',stretchV:'*'}); }; p.render = function(evnt){ if(evnt && !this._created) return null; if(!evnt||evnt=='caption') this.setHTML(this.caption); if(!evnt||evnt=='resize'){ // do something here } if(!evnt) { this.setBgColor(this.backColor); } }; p.setCaption = function(t){ this.caption = c||''; this.render('caption'); }; What do you think about this model? -- Raymond Irving --- Raymond Irving <xw...@ya...> wrote: > > See docs/docs/quickref.stylemanager.html > > We could also look into stylemanager's approach as a > standard or come up with another. > > -- > Raymond Irving > > --- Daniel Tiru <de...@ti...> wrote: > > Hi Raymond! > > > > I think this looks good, but i still dont > understand > > how the > > stylemanager works really... It might help me > > understand the > > themes/styles a bit better, and the posibility to > > have a oppinion :) > > > > Is there some documentation how it works, i havent > > found any but maybee > > i havent been looking that hard? Or maybee some > step > > by step example? > > > > Regards > > Daniel > > > > -----Original Message----- > > From: dyn...@li... > > [mailto:dyn...@li...] On > > Behalf Of Raymond > > Irving > > Sent: den 22 september 2003 01:56 > > To: dyn...@li... > > Subject: Re: [Dynapi-Dev] Widget Howto > > > > > > > > You're correct Daniel. > > > > I've converted the "how to create a widget" from > the > > dynapi set > http://dynapi.sourceforge.net/doccenter/ > > to > > DynAPI 3.0 format. See the Tips & Tricks section. > > > > I think we need a Standard Widget Model that > > supports > > the following: > > > > 1) Inheritance > > 2) Themes/Skins > > > > Is it possible for all the developers to come > > together > > and let's come up with a design model that can > > support > > the above features and others if needed? > > > > What ideas do you have in mind? > > > > -- > > Raymond Irving > > > > > > --- Daniel Tiru <de...@ti...> wrote: > > > Hi! > > > > > > If someone that have good insight into the > widget > > > creation and how they > > > should be build please write a documentation or > a > > > step by step > > > instruction on how we should continue to build > the > > > widgets? > > > > > > I think this is quite important as I think most > of > > > us are atleast > > > thinking on making a own widget to deliver to > the > > > DYNapi project. So its > > > best for us all if the widget are build in some > > > specialway we all > > > follows. > > > > > > Best Regards > > > Daniel > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web site > > design software > > http://sitebuilder.yahoo.com > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Kevin <ke...@ke...> - 2003-09-25 17:54:46
Attachments:
tip.createwidget1.zip
|
Hi, Raymond wrote: > See docs/docs/quickref.stylemanager.html Nice tutorial. I tried to cut and paste the full example to see it work :( So attached update. Don't know if I have added the Button.listener correctly. I think it sould be added on create (ie. to a rendered element) though it seems to work if added directly in the constructor? Also I had a feeling the (on)PreCreate should be on the prototype i.e to specifically act on the button instance? (hence the 2 button example). Though it works either way so I'm confused. > We could also look into stylemanager's approach as a > standard or come up with another. Lots of stuff as "arrived" that needs explaination on how it works Styles Cells etc.. I started to look at the new Explorer / Viewpane and got lost. How about an implementation guide? - Kevin > -- > Raymond Irving > > --- Daniel Tiru <de...@ti...> wrote: > > Hi Raymond! > > > > I think this looks good, but i still dont understand > > how the > > stylemanager works really... It might help me > > understand the > > themes/styles a bit better, and the posibility to > > have a oppinion :) > > > > Is there some documentation how it works, i havent > > found any but maybee > > i havent been looking that hard? Or maybee some step > > by step example? > > > > Regards > > Daniel > > > > -----Original Message----- > > From: dyn...@li... > > [mailto:dyn...@li...] On > > Behalf Of Raymond > > Irving > > Sent: den 22 september 2003 01:56 > > To: dyn...@li... > > Subject: Re: [Dynapi-Dev] Widget Howto > > > > > > > > You're correct Daniel. > > > > I've converted the "how to create a widget" from the > > dynapi set http://dynapi.sourceforge.net/doccenter/ > > to > > DynAPI 3.0 format. See the Tips & Tricks section. > > > > I think we need a Standard Widget Model that > > supports > > the following: > > > > 1) Inheritance > > 2) Themes/Skins > > > > Is it possible for all the developers to come > > together > > and let's come up with a design model that can > > support > > the above features and others if needed? > > > > What ideas do you have in mind? > > > > -- > > Raymond Irving > > > > > > --- Daniel Tiru <de...@ti...> wrote: > > > Hi! > > > > > > If someone that have good insight into the widget > > > creation and how they > > > should be build please write a documentation or a > > > step by step > > > instruction on how we should continue to build the > > > widgets? > > > > > > I think this is quite important as I think most of > > > us are atleast > > > thinking on making a own widget to deliver to the > > > DYNapi project. So its > > > best for us all if the widget are build in some > > > specialway we all > > > follows. > > > > > > Best Regards > > > Daniel > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web site > > design software > > http://sitebuilder.yahoo.com > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Kevin <ke...@ke...> - 2003-09-25 18:19:59
|
"Kevin" wrote: > Hi, > > Raymond wrote: > > > See docs/docs/quickref.stylemanager.html Sorry I was refering to the tip.createwidget.html - Kevin > Nice tutorial. I tried to cut and paste the full example to > see it work :( > > So attached update. Don't know if I have added the > Button.listener correctly. I think it sould be added on > create (ie. to a rendered element) though it seems to > work if added directly in the constructor? > > Also I had a feeling the (on)PreCreate should be on the > prototype i.e to specifically act on the button instance? > (hence the 2 button example). Though it works either > way so I'm confused. > > > We could also look into stylemanager's approach as a > > standard or come up with another. > > Lots of stuff as "arrived" that needs explaination on how > it works Styles Cells etc.. I started to look at the new > Explorer / Viewpane and got lost. How about an > implementation guide? > > - > Kevin > > > -- > > Raymond Irving > > > > --- Daniel Tiru <de...@ti...> wrote: > > > Hi Raymond! > > > > > > I think this looks good, but i still dont understand > > > how the > > > stylemanager works really... It might help me > > > understand the > > > themes/styles a bit better, and the posibility to > > > have a oppinion :) > > > > > > Is there some documentation how it works, i havent > > > found any but maybee > > > i havent been looking that hard? Or maybee some step > > > by step example? > > > > > > Regards > > > Daniel > > > > > > -----Original Message----- > > > From: dyn...@li... > > > [mailto:dyn...@li...] On > > > Behalf Of Raymond > > > Irving > > > Sent: den 22 september 2003 01:56 > > > To: dyn...@li... > > > Subject: Re: [Dynapi-Dev] Widget Howto > > > > > > > > > > > > You're correct Daniel. > > > > > > I've converted the "how to create a widget" from the > > > dynapi set http://dynapi.sourceforge.net/doccenter/ > > > to > > > DynAPI 3.0 format. See the Tips & Tricks section. > > > > > > I think we need a Standard Widget Model that > > > supports > > > the following: > > > > > > 1) Inheritance > > > 2) Themes/Skins > > > > > > Is it possible for all the developers to come > > > together > > > and let's come up with a design model that can > > > support > > > the above features and others if needed? > > > > > > What ideas do you have in mind? > > > > > > -- > > > Raymond Irving > > > > > > > > > --- Daniel Tiru <de...@ti...> wrote: > > > > Hi! > > > > > > > > If someone that have good insight into the widget > > > > creation and how they > > > > should be build please write a documentation or a > > > > step by step > > > > instruction on how we should continue to build the > > > > widgets? > > > > > > > > I think this is quite important as I think most of > > > > us are atleast > > > > thinking on making a own widget to deliver to the > > > > DYNapi project. So its > > > > best for us all if the widget are build in some > > > > specialway we all > > > > follows. > > > > > > > > Best Regards > > > > Daniel > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Dynapi-Dev mailing list > > > > Dyn...@li... > > > > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > Yahoo! SiteBuilder - Free, easy-to-use web site > > > design software > > > http://sitebuilder.yahoo.com > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web site design software > > http://sitebuilder.yahoo.com > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ |
From: Raymond I. <xw...@ya...> - 2003-09-26 16:35:19
|
--- Kevin <ke...@ke...> wrote: > Hi, > > Raymond wrote: > > > See docs/docs/quickref.stylemanager.html > > Nice tutorial. I tried to cut and paste the full > example to > see it work :( > > So attached update. Thanks for the updates will add them to cvs later. > Don't know if I have added the > Button.listener correctly. I think it sould be added > on > create (ie. to a rendered element) though it seems > to > work if added directly in the constructor? Will laso look into this. > Also I had a feeling the (on)PreCreate should be on > the > prototype i.e to specifically act on the button > instance? > (hence the 2 button example). Though it works either > way so I'm confused. > > > Lots of stuff as "arrived" that needs explaination > on how > it works Styles Cells etc.. I started to look at the > new > Explorer / Viewpane and got lost. How about an > implementation guide? I'm working on a new Widget model that would incorporate the StyleManager and a ThemeManager. This would then be the base object for all Widgets. When I'm done I'll provide some examples and some docs on how it works. -- Raymond Irving > - > Kevin > > > -- > > Raymond Irving > > > > --- Daniel Tiru <de...@ti...> wrote: > > > Hi Raymond! > > > > > > I think this looks good, but i still dont > understand > > > how the > > > stylemanager works really... It might help me > > > understand the > > > themes/styles a bit better, and the posibility > to > > > have a oppinion :) > > > > > > Is there some documentation how it works, i > havent > > > found any but maybee > > > i havent been looking that hard? Or maybee some > step > > > by step example? > > > > > > Regards > > > Daniel > > > > > > -----Original Message----- > > > From: dyn...@li... > > > [mailto:dyn...@li...] > On > > > Behalf Of Raymond > > > Irving > > > Sent: den 22 september 2003 01:56 > > > To: dyn...@li... > > > Subject: Re: [Dynapi-Dev] Widget Howto > > > > > > > > > > > > You're correct Daniel. > > > > > > I've converted the "how to create a widget" from > the > > > dynapi set > http://dynapi.sourceforge.net/doccenter/ > > > to > > > DynAPI 3.0 format. See the Tips & Tricks > section. > > > > > > I think we need a Standard Widget Model that > > > supports > > > the following: > > > > > > 1) Inheritance > > > 2) Themes/Skins > > > > > > Is it possible for all the developers to come > > > together > > > and let's come up with a design model that can > > > support > > > the above features and others if needed? > > > > > > What ideas do you have in mind? > > > > > > -- > > > Raymond Irving > > > > > > > > > --- Daniel Tiru <de...@ti...> wrote: > > > > Hi! > > > > > > > > If someone that have good insight into the > widget > > > > creation and how they > > > > should be build please write a documentation > or a > > > > step by step > > > > instruction on how we should continue to build > the > > > > widgets? > > > > > > > > I think this is quite important as I think > most of > > > > us are atleast > > > > thinking on making a own widget to deliver to > the > > > > DYNapi project. So its > > > > best for us all if the widget are build in > some > > > > specialway we all > > > > follows. > > > > > > > > Best Regards > > > > Daniel > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > Dynapi-Dev mailing list > > > > Dyn...@li... > > > > > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > Yahoo! SiteBuilder - Free, easy-to-use web site > > > design software > > > http://sitebuilder.yahoo.com > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > > http://sitebuilder.yahoo.com > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > === message truncated === > ATTACHMENT part 2 application/x-zip-compressed name=tip.createwidget1.zip __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Stephen C. <sca...@vi...> - 2003-09-22 17:52:39
|
Where is the "Tips and Tricks" section, can you provide the URL please? > > You're correct Daniel. > > I've converted the "how to create a widget" from the > dynapi set http://dynapi.sourceforge.net/doccenter/ to > DynAPI 3.0 format. See the Tips & Tricks section. > > > |
From: Raymond I. <xw...@ya...> - 2003-09-22 18:03:02
|
Download the lastest snapshot and look inside the docs/docs/ folder for tiptricks.html -- Raymond Irving --- Stephen Carroll <sca...@vi...> wrote: > Where is the "Tips and Tricks" section, can you > provide the URL please? > > > > > You're correct Daniel. > > > > I've converted the "how to create a widget" from > the > > dynapi set > http://dynapi.sourceforge.net/doccenter/ to > > DynAPI 3.0 format. See the Tips & Tricks section. > > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |