Ticket #2608: widget enhancements.
commitc3f359c82b0c7545b4fb3de58db2ce7f7139739b
authorAndrew Borodin <aborodin@vmail.ru>
Sun, 17 Apr 2011 10:12:07 +0000 (17 14:12 +0400)
committerAndrew Borodin <aborodin@vmail.ru>
Thu, 8 Mar 2012 07:37:55 +0000 (8 10:37 +0300)
tree3567a5ea558e029d50516c58a7e55ff5aeee0720
parent8fe49bb599b89a9a574618c33969d4861c4f3225
Ticket #2608: widget enhancements.

New method of widget ID assignment:
now widget ID is a value of unsigned long type. Dlg_head structure now has
new filed widget_id that contains a ID of the next added widget. When new
widget is added into dialog, widget_id is set as ID of it and then
incremented.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
lib/widget/dialog.c
lib/widget/dialog.h
lib/widget/menu.h