aboutsummaryrefslogtreecommitdiffstats
path: root/lib/percept/src/egd.erl
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2009-12-04 06:36:15 +0100
committerErlang/OTP <[email protected]>2009-12-04 06:36:15 +0100
commit5bf73e1dc401a205e02432d3e8ebedde0ad7f117 (patch)
treee22d4eadf604434fea9e2d53e72053cc7cfe2ccb /lib/percept/src/egd.erl
parent80afa01bca08e875fca796f277ec4be0cc71c387 (diff)
parent998ccfc3dbef52b2470c73a1a03d2d0b95a3acd7 (diff)
downloadotp-5bf73e1dc401a205e02432d3e8ebedde0ad7f117.tar.gz
otp-5bf73e1dc401a205e02432d3e8ebedde0ad7f117.tar.bz2
otp-5bf73e1dc401a205e02432d3e8ebedde0ad7f117.zip
Merge branch 'egil/misc-egd' into ccase/r13b04_dev
Diffstat (limited to 'lib/percept/src/egd.erl')
-rw-r--r--lib/percept/src/egd.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/percept/src/egd.erl b/lib/percept/src/egd.erl
index 4becfef19b..7972fde597 100644
--- a/lib/percept/src/egd.erl
+++ b/lib/percept/src/egd.erl
@@ -128,13 +128,13 @@ line(Image, P1, P2, Color) ->
%% @spec color( Value | Name ) -> color()
%% where
-%% Value = {byte(), byte(), byte()} | {byte(), byte(), byte(), byte()}
-%% Name = black | silver | gray | white | maroon | red | purple | fuchia | green | lime | olive | yellow | navy | blue | teal | aqua
+%% Value = {byte(), byte(), byte()} | {byte(), byte(), byte(), byte()}
+%% Name = black | silver | gray | white | maroon | red | purple | fuchia | green | lime | olive | yellow | navy | blue | teal | aqua
%% @doc Creates a color reference.
-spec(color/1 :: (
- Value :: {byte(), byte(), byte()} | {byte(), byte(), byte(), byte()} | atom()) ->
- color()).
+ Value :: {byte(), byte(), byte()} | {byte(), byte(), byte(), byte()} | atom()) ->
+ color()).
color(Color) ->
egd_primitives:color(Color).