Commit [898097]  Maximize  Restore  History

Unify color parsing

Change utils_parse_color() to use gdk_color_parse() and follow its
syntax, additionally supporting our "0x" prefix as a synonym for the
"#" prefix; and use this everywhere.

Also add utils_color_to_bgr() and utils_parse_color_to_bgr() to provide
conversion to the 24 bits BGR format used by Scintilla.

Colomban Wendling Colomban Wendling 2013-12-04

changed src/highlighting.c
changed src/keyfile.c
changed src/prefs.c
changed src/sciwrappers.c
changed src/tools.c
changed src/utils.c
changed src/utils.h
changed src/win32.c
src/highlighting.c Diff Switch to side-by-side view
Loading...
src/keyfile.c Diff Switch to side-by-side view
Loading...
src/prefs.c Diff Switch to side-by-side view
Loading...
src/sciwrappers.c Diff Switch to side-by-side view
Loading...
src/tools.c Diff Switch to side-by-side view
Loading...
src/utils.c Diff Switch to side-by-side view
Loading...
src/utils.h Diff Switch to side-by-side view
Loading...
src/win32.c Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks