Merge commit 'erg/master'
commit
fdacc1013c
|
@ -273,7 +273,11 @@ ARTICLE: "changes" "Changes in the latest release"
|
|||
{ { $vocab-link "channels" } " - concurrent message passing over message channels" }
|
||||
{ { $vocab-link "destructors" } " - deterministic scope-based resource deallocation (Doug Coleman)" }
|
||||
{ { $vocab-link "dlists" } " - various updates (Doug Coleman)" }
|
||||
{ { $vocab-link "editors.emeditor" } " - EmEditor integration (Doug Coleman)" }
|
||||
{ { $vocab-link "editors.editplus" } " - EditPlus integration (Aaron Schaefer)" }
|
||||
{ { $vocab-link "editors.notepadpp" } " - Notepad++ integration (Doug Coleman)" }
|
||||
{ { $vocab-link "editors.ted-notepad" } " - TED Notepad integration (Doug Coleman)" }
|
||||
{ { $vocab-link "editors.ultraedit" } " - UltraEdit integration (Doug Coleman)" }
|
||||
{ { $vocab-link "heaps" } " - updated for new module system and cleaned up (Doug Coleman)" }
|
||||
{ { $vocab-link "peg" } " - Parser Expression Grammars, a new appoach to parser construction, similar to parser combinators (Chris Double)" }
|
||||
{ { $vocab-link "regexp" } " - revived from " { $snippet "unmaintained/" } " and completely redesigned (Doug Coleman)" }
|
||||
|
|
|
@ -257,14 +257,12 @@ M: windows-ui-backend (close-window)
|
|||
: prepare-mouse ( hWnd uMsg wParam lParam -- button coordinate world )
|
||||
nip >r mouse-event>gesture r> >lo-hi rot window ;
|
||||
|
||||
: mouse-captured? ( -- ? )
|
||||
mouse-captured get ;
|
||||
|
||||
: set-capture ( hwnd -- )
|
||||
mouse-captured get [
|
||||
drop
|
||||
] [
|
||||
[ SetCapture drop ] keep mouse-captured set
|
||||
[ SetCapture drop ] keep
|
||||
mouse-captured set
|
||||
] if ;
|
||||
|
||||
: release-capture ( -- )
|
||||
|
@ -276,7 +274,7 @@ M: windows-ui-backend (close-window)
|
|||
prepare-mouse send-button-down ;
|
||||
|
||||
: handle-wm-buttonup ( hWnd uMsg wParam lParam -- )
|
||||
mouse-captured? [ release-capture ] when
|
||||
mouse-captured get [ release-capture ] when
|
||||
prepare-mouse send-button-up ;
|
||||
|
||||
: make-TRACKMOUSEEVENT ( hWnd -- alien )
|
||||
|
@ -434,7 +432,7 @@ M: windows-ui-backend flush-gl-context ( handle -- )
|
|||
! Move window to front
|
||||
M: windows-ui-backend raise-window ( world -- )
|
||||
world-handle [
|
||||
win-hWnd SetFocus drop release-capture
|
||||
win-hWnd SetFocus drop
|
||||
] when* ;
|
||||
|
||||
M: windows-ui-backend set-title ( string world -- )
|
||||
|
|
Loading…
Reference in New Issue