?login_element?

Subversion Repositories NedoOS

Rev

Rev 521 | Blame | Compare with Previous | Last modification | View Log | Download

  1. T_BUTTON=1
  2. T_LABEL=2
  3. T_EDIT=3
  4. T_RADIO=4
  5. T_FLAG=5
  6. T_HORBAR=6
  7. T_TITLE=7
  8.        
  9. WINELEMENTSTRUCTSIZE=15
  10. WINDESCRIPTORSIZE=5
  11.  
  12.        macro STARTWINELEMENT
  13. _=$
  14.        endm
  15.  
  16.        macro PADWINELEMENT
  17.        ds WINELEMENTSTRUCTSIZE-($-_)
  18.        endm
  19.  
  20. WINELEMENT_NEXT=0 ;0=end of list
  21. WINELEMENT_X=2
  22. WINELEMENT_Y=3
  23. WINELEMENT_WID=4
  24. WINELEMENT_HGT=5
  25. WINELEMENT_TYPE=6
  26. WINELEMENT_FLAGS=7 ;b0:checked, b1:hidden, b2:disabled, b3:invertible
  27. WINELEMENT_FLAG_CHECKED=0
  28. WINELEMENT_FLAG_HIDDEN=1
  29. WINELEMENT_FLAG_DISABLED=2
  30. WINELEMENT_FLAG_INVERTIBLE=3
  31. WINELEMENT_HOTKEY=8
  32. WINELEMENT_CLICK=9
  33. WINELEMENT_UNCLICK=11
  34. WINELEMENT_MOVE=13
  35.