From: Ralph T. <ra...@gm...> - 2006-04-10 06:38:36
|
I was looking over the ui-core code, and wondered if it would be possible to do some simplification: 1. Remove the label from edit_text_t (and maybe from popup_t as it's not built in on most platforms). 2. Have client_assembler create a row and put a static_text_t and an edit_text_t in it when it encounters an edit_text declaration with a non-empty name (make Eve do the layout). 3. Remove unit_edit_text_t from ui-core. 4. Implement it using a row, static_text_t, edit_text_t and popup_t with Eve doing the layout. These are only small implications, and I don't know how they would change the right-to-left stratergy (as I don't know what a unit_edit_text_t should look like in right-to-left mode). Thanks! Ralph |