2016-10-26 17:20 GMT+02:00 stepharo <[email protected]>:

> So then it means that OSWindowEvents are not useful.
>

Glenn said that OSEvent's has no specific state which needed for Bloc
logic. And Bloc events define it:

- OSEvents are too low level to be used directly in Bloc (nothing about
> source, target, propagation, consumption ...)


Look at keyboard event to compare:

OSKeyboardEvent:
 #(#window #suppressDefaultAction #scanCode #symbol #character #modifiers
#position #repeat)

BlKeyboardEvent:
 #(#source #target #currentTarget #timestamp #canBePropagated #consumed
#position #screenPosition #modifiers #button #keyValue #charCode #scanCode)

Bloc extends it a lot.
Glenn has reasons why he not evolved OSWindow classes. But his work is
done. And these reasons are not important anymore. We could think about
BlEvent as OSEvent version 2.0. So at the end we will just remove "old
version".

Reply via email to