[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ayttm-devel] Prefs window
From: |
Andy |
Subject: |
Re: [Ayttm-devel] Prefs window |
Date: |
Sat, 22 Mar 2003 18:58:54 -0100 |
User-agent: |
KMail/1.4.3 |
On Saturday 22 March 2003 16:25, Colin Leroy wrote:
> On 22 Mar 2003 at 18h48, Philip S Tellis wrote:
>
> Hi,
>
> > > Now, as I'm looking at pref stuff... it would be nice if prefs_window
> > > could move into the gtk dir. To do this, I think prefs.[ch] should
> > > have a struct containing the prefs which it can pass to the window's
> > > constructor [sorry, C++ speak :-)]. E.G. in prefs.h:
> >
> > Agreed. I had tried to start something like this, but it was too much
> > of a headache - some other files also had to be changed.
>
> right, it would be easier to be able to keep *GetLocalPref(char*)
> functions ;)
Right. They'll still be there. What I'm doing is the following:
1) create a struct of interface-modifiable prefs and fill it in using
*GetLocalPref()
2) pass it to the interface
3) let the interface do whatever it wants to it
4) interface calls ayttm_prefs_set() with modified struct [or cancels]
5) set prefs using *SetLocalPref()
I foresee problems with the plugins though - haven't thought that out yet. :-)
I'll probably check this in on a branch until I'm done because it's going to
take me a while longer and merge it in later.
Andy
- Re: [Ayttm-devel] Prefs window, (continued)
- Re: [Ayttm-devel] Prefs window, Philip S Tellis, 2003/03/22
- Re: [Ayttm-devel] Prefs window, Andy, 2003/03/22
- Re: [Ayttm-devel] Prefs window, Edward L. Haletky, 2003/03/22
- Re: [Ayttm-devel] Prefs window, Andy, 2003/03/23
- Re: [Ayttm-devel] Prefs window, Colin Leroy, 2003/03/23
- Re: [Ayttm-devel] Prefs window, Philip S Tellis, 2003/03/23
- Re: [Ayttm-devel] Prefs window, Philip S Tellis, 2003/03/23
- Re: [Ayttm-devel] Prefs window, Colin Leroy, 2003/03/23
- Re: [Ayttm-devel] Prefs window, Philip S Tellis, 2003/03/22
- Re: [Ayttm-devel] Prefs window, Colin Leroy, 2003/03/22
- Re: [Ayttm-devel] Prefs window,
Andy <=
- Re: [Ayttm-devel] Prefs window, Colin Leroy, 2003/03/22
- [Ayttm-devel] Re: Prefs window, Tahir Hashmi, 2003/03/22
- Re: [Ayttm-devel] Re: Prefs window, Philip S Tellis, 2003/03/23
- [Ayttm-devel] Re: Prefs window, Tahir Hashmi, 2003/03/23
- Re: [Ayttm-devel] Re: Prefs window, Philip S Tellis, 2003/03/24
- Re: [Ayttm-devel] Prefs window, Colin Leroy, 2003/03/23
- Re: [Ayttm-devel] Prefs window, Philip S Tellis, 2003/03/23
- Re: [Ayttm-devel] Prefs window, Colin Leroy, 2003/03/22
Re: [Ayttm-devel] Prefs window, Philip S Tellis, 2003/03/22