Hi,
set (and save) colors with preferences dialog.
Then the "preferences" file will contain lines like:
egrep set_color preferences
preferences:\set_color "selection" "#84cfff"
preferences:\set_color "latex" "#f9"
preferences:\set_color "floats" "#ff7e00"
preferences:\set_color "note"
Hmmm! Moreover, once you've saved your selection, all non-GUI colours come up
as black which isn't very useful. You have to restart LyX to get the colours
back and then this ignores the changes you've made.
Fortunately, only colours are affected by this.
Wierd. I'll investigate. Thanks for
"Angus" == Angus Leeming [EMAIL PROTECTED] writes:
Angus Hmmm! Moreover, once you've saved your selection, all non-GUI
Angus colours come up as black which isn't very useful. You have to
Angus restart LyX to get the colours back and then this ignores the
Angus changes you've made.
Angus
;-)
I think that this patch clears both bugs.
Angus
On Tuesday 23 January 2001 11:42, Jean-Marc Lasgouttes wrote:
"Angus" == Angus Leeming [EMAIL PROTECTED] writes:
Angus Hmmm! Moreover, once you've saved your selection, all non-GUI
Angus colours come up as black which isn't very
Angus Leeming [EMAIL PROTECTED] writes:
| +++ src/frontends/xforms/FormPreferences.C2001/01/23 12:22:39
| @@ -806,9 +806,9 @@
| // Note that X stores the RGB values in the range 0 - 65535
| // whilst we require them in the range 0 - 255.
| RGBColor
Can you do this by shifting instead, since that is what we really do.
We just removes the lower 8 bits.
col.r = xcol.red 8;
Never, ever use shift on portable code without thinking REALLY hard about
what you're doing. What about big/little endian machines?
Anyway, the two
Actually, scratch that. Col.r, g, b are all ints. I used the
static_castunsigned char as a hack. Please, therefore, apply the original
patch.
Angus
On Tuesday 23 January 2001 13:14, Angus Leeming wrote:
Can you do this by shifting instead, since that is what we really do.
We just
Angus Leeming [EMAIL PROTECTED] writes:
| Actually, scratch that. Col.r, g, b are all ints. I used the
| static_castunsigned char as a hack. Please, therefore, apply the original
| patch.
Ok. (you can do it yourself)
Lgb
| Angus
|
|
|
| On Tuesday 23 January 2001 13:14, Angus
Perfect!
But only after
make clean
make
For some reason the library dependencies are not correct. I'm compiling
with --frontend-kde.
Kornel
--
Kornel Benko
[EMAIL PROTECTED]
Hi,
set (and save) colors with preferences dialog.
Then the "preferences" file will contain lines like:
egrep set_color preferences
preferences:\set_color "selection" "#84cfff"
preferences:\set_color "latex" "#f9"
preferences:\set_color "floats" "#ff7e00"
preferences:\set_color "note"
Hmmm! Moreover, once you've saved your selection, all non-GUI colours come up
as black which isn't very useful. You have to restart LyX to get the colours
back and then this ignores the changes you've made.
Fortunately, only colours are affected by this.
Wierd. I'll investigate. Thanks for
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Hmmm! Moreover, once you've saved your selection, all non-GUI
Angus> colours come up as black which isn't very useful. You have to
Angus> restart LyX to get the colours back and then this ignores the
Angus> changes you've made.
;-)
I think that this patch clears both bugs.
Angus
On Tuesday 23 January 2001 11:42, Jean-Marc Lasgouttes wrote:
> > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
>
> Angus> Hmmm! Moreover, once you've saved your selection, all non-GUI
> Angus> colours come up as black which
Angus Leeming <[EMAIL PROTECTED]> writes:
| +++ src/frontends/xforms/FormPreferences.C2001/01/23 12:22:39
| @@ -806,9 +806,9 @@
| // Note that X stores the RGB values in the range 0 - 65535
| // whilst we require them in the range 0 - 255.
| RGBColor
> Can you do this by shifting instead, since that is what we really do.
> We just removes the lower 8 bits.
>
> col.r = xcol.red >> 8;
Never, ever use shift on portable code without thinking REALLY hard about
what you're doing. What about big/little endian machines?
Anyway,
Actually, scratch that. Col.r, g, b are all ints. I used the
static_cast as a hack. Please, therefore, apply the original
patch.
Angus
On Tuesday 23 January 2001 13:14, Angus Leeming wrote:
> > > Can you do this by shifting instead, since that is what we really do.
> > We just removes the
Angus Leeming <[EMAIL PROTECTED]> writes:
| Actually, scratch that. Col.r, g, b are all ints. I used the
| static_cast as a hack. Please, therefore, apply the original
| patch.
Ok. (you can do it yourself)
Lgb
| Angus
|
|
|
| On Tuesday 23 January 2001 13:14, Angus Leeming wrote:
Perfect!
But only after
make clean
make
For some reason the library dependencies are not correct. I'm compiling
with --frontend-kde.
Kornel
--
Kornel Benko
[EMAIL PROTECTED]
18 matches
Mail list logo