Hi Micah,

I had a look about how adding password display support for picogui.
I find 2 solutions (maybe there are more...)

1) using a PG_WP_PASSWORD widget properties and replacing the displayed string with 
'*' in:
gcore/render.c -> void gropnode_draw() -> case PG_GROP_TEXT: ...

2) using a font modifier PG_FSTYLE_PASSWORD working in the same way as 
PG_FSTYLE_ITALIC or PG_FSTYLE_UNDERLINE (I guess...) that will return a '*' for every 
char.

The first solution is the logical one (I think) but the second is maybe easier to 
implement
What did you think about this?

I do some work for the solution 1) but have some problem to get divnode properties 
(widget type, flags) associated with processed grop node. Do you have some tips about 
this?

-philippe

_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to