Mercurial > repos > tabletprog
view modules/option.tp @ 333:577406b25f89
Added binding for SDL_SetTextureColorMod and SDL_GetTextureColorMod and updated the Freetype sample to use it for setting the color of text
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 29 Mar 2015 09:43:24 -0700 |
parents | 38ca63e0a62e |
children | 1458c069c715 |
line wrap: on
line source
{ _none <- #{ value:none <- :ifval :ifnone { ifnone: } value? <- { false } none? <- { true } } #{ value <- :v { #{ value:none <- :ifval :ifnone { ifval: v } value? <- { true } none? <- { false } } } none <- { _none } } }