diff --git a/README.md b/README.md index e066dbc..1331b33 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,29 @@ # update * new NgColorController , fixed style of color-controller (no popup, fixed height:125px, huebar width from 15px to 20px) * new BgColorController for handling two colors (i.e. foreground-background color) +* new HSVColorController ![BgColorController](screen1.jpg) ![NgColorController](screen2.jpg) +![HSVColorController](screen3.jpg) ### Usage * addNgColor(properties,property) for NgColorController * addBgColor(properties,property) for BgColorController +* addHSVColor(properties,property) for HSVColorController Note: * For using BgColorController displaying a two colors, a second "property+bg" must be present. For Example: `var myProps={color:#ffffff,colorbg:#000000}; datgui.addBgColor(myProps,color);` -* Changing the height of all ColorControllers can be done by adding the height field in the CSS .dg.c tag: ` +* Changing the height for Ng/BgColorControllers can be done by adding the height field in the CSS .dg.c tag: ` .c { float: left; width: 60%; height:125px; /*JLA*/ position: relative; } -` +`. The height of HSVColorController is fixed internaly to 125px. # dat.GUI