Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Esteban Blanc
proview
Commits
4f5c01e0
Commit
4f5c01e0
authored
Jun 23, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ColorTone DarkDarkGray and LightLightGray added
parent
6b533061
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
20 deletions
+28
-20
xtt/lib/ge/src/ge_attrnav.cpp
xtt/lib/ge/src/ge_attrnav.cpp
+2
-0
xtt/lib/glow/src/glow_color.cpp
xtt/lib/glow/src/glow_color.cpp
+26
-20
No files found.
xtt/lib/ge/src/ge_attrnav.cpp
View file @
4f5c01e0
...
@@ -472,6 +472,8 @@ static attrnav_sEnumElement elem_tone_or_color[] = {
...
@@ -472,6 +472,8 @@ static attrnav_sEnumElement elem_tone_or_color[] = {
{
(
int
)
glow_eDrawTone_Green
,
"ToneGreen"
},
{
(
int
)
glow_eDrawTone_Green
,
"ToneGreen"
},
{
(
int
)
glow_eDrawTone_DarkGray
,
"ToneDarkGray"
},
{
(
int
)
glow_eDrawTone_DarkGray
,
"ToneDarkGray"
},
{
(
int
)
glow_eDrawTone_LightGray
,
"ToneLightGray"
},
{
(
int
)
glow_eDrawTone_LightGray
,
"ToneLightGray"
},
{
(
int
)
glow_eDrawTone_LightGrayHighSaturation
,
"ToneLightLightGray"
},
{
(
int
)
glow_eDrawTone_DarkGrayHighSaturation
,
"ToneDarkDarkGray"
},
{
(
int
)
glow_eDrawTone_DarkYellowGreen
,
"ToneDarkYellowGreen"
},
{
(
int
)
glow_eDrawTone_DarkYellowGreen
,
"ToneDarkYellowGreen"
},
{
(
int
)
glow_eDrawTone_LightYellowGreen
,
"ToneLightYellowGreen"
},
{
(
int
)
glow_eDrawTone_LightYellowGreen
,
"ToneLightYellowGreen"
},
{
(
int
)
glow_eDrawTone_YellowGreenHighSaturation
,
"ToneYellowGreenHighSaturation"
},
{
(
int
)
glow_eDrawTone_YellowGreenHighSaturation
,
"ToneYellowGreenHighSaturation"
},
...
...
xtt/lib/glow/src/glow_color.cpp
View file @
4f5c01e0
...
@@ -201,6 +201,11 @@ glow_eDrawType GlowColor::get_drawtype( glow_eDrawType local_drawtype,
...
@@ -201,6 +201,11 @@ glow_eDrawType GlowColor::get_drawtype( glow_eDrawType local_drawtype,
glow_eDrawTone
tone
=
((
GrowNode
*
)
node
)
->
color_tone
;
glow_eDrawTone
tone
=
((
GrowNode
*
)
node
)
->
color_tone
;
if
(
local_drawtype
>
30
)
{
if
(
local_drawtype
>
30
)
{
if
(
tone
==
glow_eDrawTone_LightGrayHighSaturation
)
drawtype
=
glow_eDrawType_Color31
;
// GrayLow1
else
if
(
tone
==
glow_eDrawTone_DarkGrayHighSaturation
)
drawtype
=
glow_eDrawType_Color30
;
// DarkGrey
else
{
if
(
tone
>=
glow_eDrawTone_GrayHighSaturation
&&
if
(
tone
>=
glow_eDrawTone_GrayHighSaturation
&&
tone
<
glow_eDrawTone_GrayLowSaturation
)
{
tone
<
glow_eDrawTone_GrayLowSaturation
)
{
tone
=
glow_eDrawTone
(
tone
-
27
);
tone
=
glow_eDrawTone
(
tone
-
27
);
...
@@ -223,6 +228,7 @@ glow_eDrawType GlowColor::get_drawtype( glow_eDrawType local_drawtype,
...
@@ -223,6 +228,7 @@ glow_eDrawType GlowColor::get_drawtype( glow_eDrawType local_drawtype,
drawtype
=
(
glow_eDrawType
)
(
local_drawtype
-
local_drawtype
/
30
*
30
+
drawtype
=
(
glow_eDrawType
)
(
local_drawtype
-
local_drawtype
/
30
*
30
+
30
*
tone
);
30
*
tone
);
}
}
}
else
else
drawtype
=
local_drawtype
;
drawtype
=
local_drawtype
;
}
}
...
...
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