deleted hgl_cpy(T *,T *) function.

This commit is contained in:
2022-03-11 17:58:53 +08:00
parent 99fe88dff7
commit 3c449df4ca
6 changed files with 11 additions and 6 deletions

View File

@@ -158,7 +158,7 @@ namespace hgl
virtual ~TextLayout()=default;
void Set (const TLA * _tla) {if(_tla)hgl_cpy(&tla,_tla);}
void Set (const TLA * _tla) {if(_tla)hgl_cpy(&tla,_tla,1);}
void SetFont ( FontSource * fs) {if(fs)font_source=fs;}
void SetTextDirection (const uint8 & td) {tla.text_direction=td;}
void SetAlign (const TextAlign & ta) {tla.align=ta;}