Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PoroCYon
Bonzomatic
Commits
9578d4a9
Commit
9578d4a9
authored
Apr 23, 2020
by
Gargaj
Browse files
revert C++1234 fanciness to keep VS2010 compatibility
parent
1779ab97
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ShaderEditor.h
View file @
9578d4a9
...
...
@@ -55,17 +55,32 @@ enum AutoIndentationType {
};
struct
SHADEREDITOR_THEME
{
unsigned
int
text
=
0xFFFFFFFF
;
unsigned
int
comment
=
0xFF00FF00
;
unsigned
int
number
=
0xFF0080FF
;
unsigned
int
op
=
0xFF00CCFF
;
unsigned
int
keyword
=
0xFF0066FF
;
unsigned
int
type
=
0xFFFFFF00
;
unsigned
int
builtin
=
0xFF88FF44
;
unsigned
int
preprocessor
=
0xFFC0C0C0
;
unsigned
int
selection
=
0xC0CC9966
;
unsigned
int
charBackground
=
0xC0000000
;
bool
bUseCharBackground
=
false
;
unsigned
int
text
;
unsigned
int
comment
;
unsigned
int
number
;
unsigned
int
op
;
unsigned
int
keyword
;
unsigned
int
type
;
unsigned
int
builtin
;
unsigned
int
preprocessor
;
unsigned
int
selection
;
unsigned
int
charBackground
;
bool
bUseCharBackground
;
SHADEREDITOR_THEME
()
:
text
(
0xFFFFFFFF
)
,
comment
(
0xFF00FF00
)
,
number
(
0xFF0080FF
)
,
op
(
0xFF00CCFF
)
,
keyword
(
0xFF0066FF
)
,
type
(
0xFFFFFF00
)
,
builtin
(
0xFF88FF44
)
,
preprocessor
(
0xFFC0C0C0
)
,
selection
(
0xC0CC9966
)
,
charBackground
(
0xC0000000
)
,
bUseCharBackground
(
false
)
{
}
};
struct
SHADEREDITOR_OPTIONS
{
...
...
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