Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gtk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,126
Issues
1,126
List
Boards
Labels
Service Desk
Milestones
Merge Requests
151
Merge Requests
151
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gtk
Commits
e95ad99a
Commit
e95ad99a
authored
Sep 20, 2003
by
Raymond Penners
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.4.3
parent
c0d62354
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
30 deletions
+36
-30
modules/engines/ms-windows/ChangeLog.old
modules/engines/ms-windows/ChangeLog.old
+10
-0
modules/engines/ms-windows/wimp_style.c
modules/engines/ms-windows/wimp_style.c
+26
-28
modules/engines/ms-windows/xp_theme.c
modules/engines/ms-windows/xp_theme.c
+0
-2
No files found.
modules/engines/ms-windows/ChangeLog.old
View file @
e95ad99a
2003-09-20 Raymond Penners <raymond@dotsphinx.com>
* === Released 0.4.3 ===
* src/wimp_style.c: The Gaim buddy icons were missing due to
recent tree expander changes, not the clipping area. Fixed.
* src/xp_theme.c: Re-enabled clipping area, I am confident it
should not cause any problems now.
2003-09-18 Raymond Penners <raymond@dotsphinx.com>
2003-09-18 Raymond Penners <raymond@dotsphinx.com>
* === Released 0.4.2 ===
* === Released 0.4.2 ===
...
...
modules/engines/ms-windows/wimp_style.c
View file @
e95ad99a
...
@@ -659,41 +659,39 @@ draw_expander(GtkStyle *style,
...
@@ -659,41 +659,39 @@ draw_expander(GtkStyle *style,
gdk_gc_get_values
(
style
->
fg_gc
[
state
],
&
values
);
gdk_gc_get_values
(
style
->
fg_gc
[
state
],
&
values
);
if
(
xp_theme_draw
(
window
,
xp_expander
,
style
,
if
(
!
xp_theme_draw
(
window
,
xp_expander
,
style
,
x
,
y
,
x
,
y
,
expander_size
,
expander_size
,
state
,
area
))
expander_size
,
expander_size
,
state
,
area
))
{
{
return
;
/* RGB values to emulate Windows Classic style */
}
color
.
red
=
color
.
green
=
color
.
blue
=
128
<<
8
;
/* RGB values to emulate Windows Classic style */
color
.
red
=
color
.
green
=
color
.
blue
=
128
<<
8
;
success
=
gdk_colormap_alloc_color
(
gtk_widget_get_default_colormap
(),
&
color
,
FALSE
,
TRUE
);
if
(
success
)
success
=
gdk_colormap_alloc_color
gdk_gc_set_foreground
(
style
->
fg_gc
[
state
],
&
color
);
(
gtk_widget_get_default_colormap
(),
&
color
,
FALSE
,
TRUE
);
gdk_draw_rectangle
if
(
success
)
(
window
,
style
->
fg_gc
[
state
],
FALSE
,
x
,
y
,
gdk_gc_set_foreground
(
style
->
fg_gc
[
state
],
&
color
);
expander_size
-
1
,
expander_size
-
1
);
if
(
success
)
gdk_draw_rectangle
gdk_gc_set_foreground
(
style
->
fg_gc
[
state
],
&
values
.
foreground
);
(
window
,
style
->
fg_gc
[
state
],
FALSE
,
x
,
y
,
expander_size
-
1
,
expander_size
-
1
);
gdk_draw_line
if
(
success
)
(
window
,
style
->
fg_gc
[
state
],
x
+
2
,
y
+
expander_semi_size
,
gdk_gc_set_foreground
(
style
->
fg_gc
[
state
],
&
values
.
foreground
);
x
+
expander_size
-
2
,
y
+
expander_semi_size
);
switch
(
expander_style
)
{
case
GTK_EXPANDER_COLLAPSED
:
case
GTK_EXPANDER_SEMI_COLLAPSED
:
gdk_draw_line
gdk_draw_line
(
window
,
style
->
fg_gc
[
state
],
x
+
expander_semi_size
,
y
+
2
,
(
window
,
style
->
fg_gc
[
state
],
x
+
2
,
y
+
expander_semi_size
,
x
+
expander_semi_size
,
y
+
expander_size
-
2
);
x
+
expander_size
-
2
,
y
+
expander_semi_size
);
break
;
switch
(
expander_style
)
{
case
GTK_EXPANDER_COLLAPSED
:
case
GTK_EXPANDER_SEMI_COLLAPSED
:
gdk_draw_line
(
window
,
style
->
fg_gc
[
state
],
x
+
expander_semi_size
,
y
+
2
,
x
+
expander_semi_size
,
y
+
expander_size
-
2
);
break
;
}
}
}
if
(
area
)
if
(
area
)
...
...
modules/engines/ms-windows/xp_theme.c
View file @
e95ad99a
...
@@ -608,7 +608,6 @@ xp_theme_draw(GdkWindow *win, XpThemeElement element, GtkStyle *style,
...
@@ -608,7 +608,6 @@ xp_theme_draw(GdkWindow *win, XpThemeElement element, GtkStyle *style,
rect
.
right
=
rect
.
left
+
width
;
rect
.
right
=
rect
.
left
+
width
;
rect
.
bottom
=
rect
.
top
+
height
;
rect
.
bottom
=
rect
.
top
+
height
;
#if 0
if
(
area
)
if
(
area
)
{
{
clip
.
left
=
area
->
x
-
xoff
;
clip
.
left
=
area
->
x
-
xoff
;
...
@@ -619,7 +618,6 @@ xp_theme_draw(GdkWindow *win, XpThemeElement element, GtkStyle *style,
...
@@ -619,7 +618,6 @@ xp_theme_draw(GdkWindow *win, XpThemeElement element, GtkStyle *style,
pClip
=
&
clip
;
pClip
=
&
clip
;
}
}
else
else
#endif
{
{
pClip
=
NULL
;
pClip
=
NULL
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment