Merge branch '3632_widget_flags'
commit61c379b96491ded352c918b519802cf9faf050aa
authorAndrew Borodin <aborodin@vmail.ru>
Fri, 10 Jun 2016 11:20:30 +0000 (10 14:20 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Fri, 10 Jun 2016 11:20:30 +0000 (10 14:20 +0300)
tree4cd1a012430412d540ab8931dd584386caa764c3
parent525104595015bacdf6066071d86dd509959616ca
parentb4af91dfc020d3f08bd932bc59b17948a82dcf6b
Merge branch '3632_widget_flags'

* 3632_widget_flags:
  Reorganize WDialog flags.
  (dlg_set_position): minor refactoring.
  Rename DLG_WANT_TAB to WOP_WANT_TAB and move it to widget_options_t.
  By default, WOP_WANT_HOTKEY option is off.
  If widget wants cursor, define that explicitly.
  Add WST_MODAL state.
  WOP_TOP_SELECT: new widget option
  Join widget_state_t and dlg_state_t.
  Move WOP_WANT_IDLE option to widget_state_t flags
  Move WOP_DISABLED option to widget_state_t flags
  widget_state_t: new type.
  (widget_get_options): new widget API.
  Change prefix of widget options: W_ -> WOP_.
  Ticket #3632: refactoring of widget flags.