mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-11 14:22:58 -06:00
CtrlLib: Gtk3 ch: scrollbar throug fixed, tooltip now just fixed color
git-svn-id: svn://ultimatepp.org/upp/trunk@13864 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
a8c620e51b
commit
efd230da85
1 changed files with 7 additions and 2 deletions
|
|
@ -280,9 +280,14 @@ void ChHostSkin()
|
|||
SColorHighlightText_Write(GetInkColor());
|
||||
Gtk_New("label.view");
|
||||
SColorLabel_Write(GetInkColor());
|
||||
#if 0
|
||||
Gtk_New("tooltip.background");
|
||||
SColorInfo_Write(GetBackgroundColor());
|
||||
SColorInfoText_Write(GetInkColor());
|
||||
#else
|
||||
SColorInfo_Write(IsDark(SColorText()) ? LtYellow() : GrayColor(79));
|
||||
SColorInfoText_Write(SColorText());
|
||||
#endif
|
||||
|
||||
ColoredOverride(CtrlsImg::Iml(), CtrlsImg::Iml());
|
||||
|
||||
|
|
@ -383,8 +388,8 @@ void ChHostSkin()
|
|||
Over(m, CairoImage(sz.cx, sz.cy));
|
||||
Gtk_New("scrollbar.horizontal.bottom contents trough", status);
|
||||
Over(m, CairoImage(sz.cx, sz.cy));
|
||||
s.hupper[status] = s.hlower[status] = ChHot(m);
|
||||
s.vupper[status] = s.vlower[status] = ChHot(RotateAntiClockwise(m)); // we have problems getting this right for vertical
|
||||
s.hupper[status] = s.hlower[status] = WithHotSpot(m, CH_SCROLLBAR_IMAGE, 0);;
|
||||
s.vupper[status] = s.vlower[status] = WithHotSpot(RotateAntiClockwise(m), CH_SCROLLBAR_IMAGE, 0); // we have problems getting this right for vertical
|
||||
Gtk_New("scrollbar.horizontal.bottom contents trough slider", status);
|
||||
Image thumb = CairoImage(sz.cx, sz.cy);
|
||||
s.hthumb[status] = WithHotSpot(thumb, CH_SCROLLBAR_IMAGE, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue