andlabs-ui/todo.md

1.2 KiB

so I don't forget:

  • Window.SizeToFit() or WIndow.OptimalSize() (use: Window.SetSize(Window.OptimalSize())) for sizing a window to the control's interest
  • Control.Show()/Control.Hide()
  • Control.SetText()

super ultra important things:

  • the windows build appears to be unstable:
    • 64-bit doesn't work, period: it crashes in malloc in wine with heap corruption warnings aplenty during DLL loading; in windows 7 CreateWindowExW complains about an unregistered window class, yet the RegisterClassW appears to have succeeded and examining the stack in WinDbg indicates the correct class name is being sent (see below)
    • 32-bit: it works now, but if I save the class name converted to UTF-16 beforehand, wine indicates that the class name is replaced with the window title, so something there is wrong...

important things:

  • maybe make it so I don't need to expose Window.sysData to controls? I need a way to get the window HWND for the Windows one...
  • maybe make it so sysData doesn't need specialized info on every control type?
  • write an implementation documentation.

far off:

  • localization
  • strip unused constants from the Windows files
  • combine more Windows files; rename some?