1 #ifndef color_generic_make_linen 2 #define color_generic_make_linen 3 4 // ::color::make::linen( c ) 5 6 // TODO #include "model.hpp" 7 #include "../constant/linen.hpp" 8 9 10 namespace color 11 { 12 namespace constant 13 { 14 15 template< typename category_name > 16 struct make< ::color::constant::linen_t, category_name > 17 { 18 typedef category_name category_type; 19 20 typedef ::color::model<category_type> model_type; 21 typedef ::color::rgb<double> rgb_type; 22 typedef ::color::constant::linen_t constant_type; 23 24 typedef typename ::color::trait::container<category_type>::output_type container_output_type; 25 26 processcolor::constant::make27 inline static void process( container_output_type & container ) 28 { 29 static model_type s_model{ rgb_type{ 250.0/255.0, 0.9375, 0.9 } }; 30 container = s_model.container(); 31 } 32 }; 33 34 } 35 } 36 37 38 #endif 39