├── .gitattributes ├── .gitignore ├── Dwke.dof ├── Dwke.dpr ├── Dwke.res ├── WKxxE.PAS ├── alphiWindow.ddp ├── alphiWindow.dfm ├── alphiWindow.pas ├── ck.cpp ├── ck.h ├── define.pas ├── flash.html ├── kill.bat ├── main.ddp ├── main.dfm ├── main.ico ├── main.pas ├── movie.swf ├── plugins └── NPSWF32.dll_ ├── test.bmp ├── wke(backup).pas ├── wke.h ├── wke.pas └── www ├── 2048-master ├── .gitignore ├── .jshintrc ├── CONTRIBUTING.md ├── LICENSE.txt ├── README.md ├── Rakefile ├── favicon.ico ├── index.html ├── js │ ├── animframe_polyfill.js │ ├── application.js │ ├── bind_polyfill.js │ ├── classlist_polyfill.js │ ├── game_manager.js │ ├── grid.js │ ├── html_actuator.js │ ├── keyboard_input_manager.js │ ├── local_storage_manager.js │ └── tile.js ├── meta │ ├── apple-touch-icon.png │ ├── apple-touch-startup-image-640x1096.png │ └── apple-touch-startup-image-640x920.png └── style │ ├── fonts │ ├── ClearSans-Bold-webfont.eot │ ├── ClearSans-Bold-webfont.svg │ ├── ClearSans-Bold-webfont.woff │ ├── ClearSans-Light-webfont.eot │ ├── ClearSans-Light-webfont.svg │ ├── ClearSans-Light-webfont.woff │ ├── ClearSans-Regular-webfont.eot │ ├── ClearSans-Regular-webfont.svg │ ├── ClearSans-Regular-webfont.woff │ └── clear-sans.css │ ├── helpers.scss │ ├── main.css │ └── main.scss ├── 4.Html+jquery实现万年历 ├── calendar.html ├── images │ ├── all.css │ ├── calTit.jpg │ ├── calendar.css │ ├── fontSize12.css │ ├── ji.gif │ ├── skin.css │ ├── tool-sprites.gif │ ├── topBarC.gif │ └── yi.gif └── js │ ├── calendar.js │ └── jquery.js ├── Ball Pool.htm ├── Ball Pool_files ├── Main.js ├── box2d.js ├── ga.js └── protoclass.js ├── Bubbles_files ├── BG.jpg ├── Bubbles.js ├── ch0.png ├── ch1.png ├── ch2.png ├── heart.png ├── heart1.png └── png.png ├── CSS Bubbles.html ├── Clouds.html ├── Clouds_files ├── Detector.js ├── RequestAnimationFrame.js ├── ThreeExtras.js ├── ThreeWebGL.js └── cloud10.png ├── MAC ├── mac-osx-lion.html └── res │ ├── css │ ├── animation-webkit.css │ ├── dock.css │ ├── style.css │ └── window.css │ ├── img │ ├── Alert.png │ ├── Andromeda-Galaxy.jpg │ ├── FinderIcon.png │ ├── MacOSX.png │ ├── Safari.png │ ├── address.png │ ├── alessio-atzeni-logo.png │ ├── apple-logo.png │ ├── appstore.png │ ├── buttons-hover.png │ ├── dock-bg-left.png │ ├── dock-bg-right.png │ ├── dock-bg.png │ ├── expose.png │ ├── facetime.png │ ├── folder.png │ ├── iTunes.png │ ├── ichat.png │ ├── launchPad.png │ ├── preferences.png │ ├── preview.png │ ├── trash.png │ └── wireless-icon.png │ └── js │ ├── fix-and-clock.js │ ├── jquery-1.7.1.min.js │ └── jquery-ui-1.8.17.custom.min.js ├── aaaa.html ├── card.html ├── card ├── 1.jpg ├── 10.jpg ├── 11.jpg ├── 12.jpg ├── 13.jpg ├── 14.jpg ├── 15.jpg ├── 16.jpg ├── 17.jpg ├── 2.jpg ├── 3.jpg ├── 4.jpg ├── 5.jpg ├── 6.jpg ├── 7.jpg ├── 8.jpg ├── 9.jpg ├── demo.css ├── follow.js ├── jquery.js ├── jquery.windy.js ├── modernizr.custom.79639.js ├── nav.png ├── normalize.css ├── style2.css └── windy.css ├── card18.jpg ├── flash.html ├── index.html ├── jquery-latest.js ├── movie.swf ├── tunneler.html └── x.html /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Uncomment these types if you want even more clean repository. But be careful. 2 | # It can make harm to an existing project source. Read explanations below. 3 | # 4 | # Resource files are binaries containing manifest, project icon and version info. 5 | # They can not be viewed as text or compared by diff-tools. Consider replacing them with .rc files. 6 | #*.res 7 | # 8 | # Type library file (binary). In old Delphi versions it should be stored. 9 | # Since Delphi 2009 it is produced from .ridl file and can safely be ignored. 10 | #*.tlb 11 | # 12 | # Diagram Portfolio file. Used by the diagram editor up to Delphi 7. 13 | # Uncomment this if you are not using diagrams or use newer Delphi version. 14 | #*.ddp 15 | # 16 | # Visual LiveBindings file. Added in Delphi XE2. 17 | # Uncomment this if you are not using LiveBindings Designer. 18 | #*.vlb 19 | # 20 | # Deployment Manager configuration file for your project. Added in Delphi XE2. 21 | # Uncomment this if it is not mobile development and you do not use remote debug feature. 22 | #*.deployproj 23 | # 24 | 25 | # Delphi compiler-generated binaries (safe to delete) 26 | *.exe 27 | *.dll 28 | *.bpl 29 | *.bpi 30 | *.dcp 31 | *.so 32 | *.apk 33 | *.drc 34 | *.map 35 | *.dres 36 | *.rsm 37 | *.tds 38 | *.dcu 39 | *.lib 40 | 41 | # Delphi autogenerated files (duplicated info) 42 | *.cfg 43 | *Resource.rc 44 | 45 | # Delphi local files (user-specific info) 46 | *.local 47 | *.identcache 48 | *.projdata 49 | *.tvsconfig 50 | *.dsk 51 | 52 | # Delphi history and backups 53 | __history/ 54 | *.~* 55 | 56 | # ========================= 57 | # Operating System Files 58 | # ========================= 59 | 60 | # OSX 61 | # ========================= 62 | 63 | .DS_Store 64 | .AppleDouble 65 | .LSOverride 66 | 67 | # Thumbnails 68 | ._* 69 | 70 | # Files that might appear on external disk 71 | .Spotlight-V100 72 | .Trashes 73 | 74 | # Directories potentially created on remote AFP share 75 | .AppleDB 76 | .AppleDesktop 77 | Network Trash Folder 78 | Temporary Items 79 | .apdisk 80 | 81 | # Windows 82 | # ========================= 83 | 84 | # Windows image file caches 85 | Thumbs.db 86 | ehthumbs.db 87 | 88 | # Folder config file 89 | Desktop.ini 90 | 91 | # Recycle Bin used on file shares 92 | $RECYCLE.BIN/ 93 | 94 | # Windows Installer files 95 | *.cab 96 | *.msi 97 | *.msm 98 | *.msp 99 | 100 | # Windows shortcuts 101 | *.lnk 102 | -------------------------------------------------------------------------------- /Dwke.dof: -------------------------------------------------------------------------------- 1 | [FileVersion] 2 | Version=7.0 3 | [Compiler] 4 | A=8 5 | B=0 6 | C=1 7 | D=1 8 | E=0 9 | F=0 10 | G=1 11 | H=1 12 | I=1 13 | J=0 14 | K=0 15 | L=1 16 | M=0 17 | N=1 18 | O=1 19 | P=1 20 | Q=0 21 | R=0 22 | S=0 23 | T=0 24 | U=0 25 | V=1 26 | W=0 27 | X=1 28 | Y=1 29 | Z=1 30 | ShowHints=1 31 | ShowWarnings=1 32 | UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; 33 | NamespacePrefix= 34 | SymbolDeprecated=1 35 | SymbolLibrary=1 36 | SymbolPlatform=1 37 | UnitLibrary=1 38 | UnitPlatform=1 39 | UnitDeprecated=1 40 | HResultCompat=1 41 | HidingMember=1 42 | HiddenVirtual=1 43 | Garbage=1 44 | BoundsError=1 45 | ZeroNilCompat=1 46 | StringConstTruncated=1 47 | ForLoopVarVarPar=1 48 | TypedConstVarPar=1 49 | AsgToTypedConst=1 50 | CaseLabelRange=1 51 | ForVariable=1 52 | ConstructingAbstract=1 53 | ComparisonFalse=1 54 | ComparisonTrue=1 55 | ComparingSignedUnsigned=1 56 | CombiningSignedUnsigned=1 57 | UnsupportedConstruct=1 58 | FileOpen=1 59 | FileOpenUnitSrc=1 60 | BadGlobalSymbol=1 61 | DuplicateConstructorDestructor=1 62 | InvalidDirective=1 63 | PackageNoLink=1 64 | PackageThreadVar=1 65 | ImplicitImport=1 66 | HPPEMITIgnored=1 67 | NoRetVal=1 68 | UseBeforeDef=1 69 | ForLoopVarUndef=1 70 | UnitNameMismatch=1 71 | NoCFGFileFound=1 72 | MessageDirective=1 73 | ImplicitVariants=1 74 | UnicodeToLocale=1 75 | LocaleToUnicode=1 76 | ImagebaseMultiple=1 77 | SuspiciousTypecast=1 78 | PrivatePropAccessor=1 79 | UnsafeType=0 80 | UnsafeCode=0 81 | UnsafeCast=0 82 | [Linker] 83 | MapFile=0 84 | OutputObjs=0 85 | ConsoleApp=1 86 | DebugInfo=0 87 | RemoteSymbols=0 88 | MinStackSize=16384 89 | MaxStackSize=1048576 90 | ImageBase=4194304 91 | ExeDescription= 92 | [Directories] 93 | OutputDir= 94 | UnitOutputDir= 95 | PackageDLLOutputDir= 96 | PackageDCPOutputDir= 97 | SearchPath= 98 | Packages=vcl;rtl;vclx;indy;inet;xmlrtl;vclie;inetdbbde;inetdbxpress;dbrtl;dsnap;dsnapcon;vcldb;soaprtl;VclSmp;dbexpress;dbxcds;inetdb;bdertl;vcldbx;webdsnap;websnap;adortl;ibxpress;teeui;teedb;tee;dss;visualclx;visualdbclx;vclactnband;vclshlctrls;IntrawebDB_50_70;Intraweb_50_70;Rave50CLX;Rave50VCL;dclOfficeXP;EmbeddedWebBrowser_D7;GeckoSDK;GeckoComponents;GR32_D7;GR32_DSGN_D7;ChnCalendars;VCLZipD7_3;DCEF_D7;DDUI 99 | Conditionals= 100 | DebugSourceDirs= 101 | UsePackages=0 102 | [Parameters] 103 | RunParams= 104 | HostApplication= 105 | Launcher= 106 | UseLauncher=0 107 | DebugCWD= 108 | [Language] 109 | ActiveLang= 110 | ProjectLang= 111 | RootDir=D:\Program Files (x86)\Borland\Delphi7\Bin\ 112 | [Version Info] 113 | IncludeVerInfo=1 114 | AutoIncBuild=0 115 | MajorVer=1 116 | MinorVer=0 117 | Release=0 118 | Build=0 119 | Debug=0 120 | PreRelease=0 121 | Special=0 122 | Private=0 123 | DLL=0 124 | Locale=2052 125 | CodePage=936 126 | [Version Info Keys] 127 | CompanyName= 128 | FileDescription= 129 | FileVersion=1.0.0.0 130 | InternalName= 131 | LegalCopyright= 132 | LegalTrademarks= 133 | OriginalFilename= 134 | ProductName= 135 | ProductVersion=1.0.0.0 136 | Comments= 137 | [HistoryLists\hlUnitAliases] 138 | Count=1 139 | Item0=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; 140 | -------------------------------------------------------------------------------- /Dwke.dpr: -------------------------------------------------------------------------------- 1 | program Dwke; 2 | 3 | uses 4 | Forms, 5 | main in 'main.pas' {Form1}, 6 | alphiWindow in 'alphiWindow.pas' {Form2}; 7 | 8 | {$R *.res} 9 | //var 10 | // webView:wkeWebView; 11 | 12 | begin 13 | //Application.Initialize; 14 | //Application.CreateForm(TForm1, Form1); 15 | // Application.Run; 16 | //wkeInit(); 17 | //webView := wkeCreateWebView(); 18 | //wkeResize(webView, 1024, 768); 19 | //wkeLoadURL(webView,'http://www.baidu.com'); 20 | //while True do 21 | //begin 22 | //wkeUpdate(); 23 | //if wkeIsLoadComplete(webView) then 24 | //begin 25 | Application.Initialize; 26 | Application.CreateForm(TForm1, Form1); 27 | Application.CreateForm(TForm2, Form2); 28 | Application.Run; 29 | //Break; 30 | //end; 31 | //end; 32 | end. 33 | -------------------------------------------------------------------------------- /Dwke.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstat/Dwke/85dc99d8250d572e111c8978e37ef753bfc0ef42/Dwke.res -------------------------------------------------------------------------------- /WKxxE.PAS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstat/Dwke/85dc99d8250d572e111c8978e37ef753bfc0ef42/WKxxE.PAS -------------------------------------------------------------------------------- /alphiWindow.ddp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstat/Dwke/85dc99d8250d572e111c8978e37ef753bfc0ef42/alphiWindow.ddp -------------------------------------------------------------------------------- /alphiWindow.dfm: -------------------------------------------------------------------------------- 1 | object Form2: TForm2 2 | Left = 204 3 | Top = 500 4 | BorderStyle = bsNone 5 | Caption = 'Form2' 6 | ClientHeight = 48 7 | ClientWidth = 175 8 | Color = clBtnFace 9 | Font.Charset = DEFAULT_CHARSET 10 | Font.Color = clWindowText 11 | Font.Height = -11 12 | Font.Name = 'MS Sans Serif' 13 | Font.Style = [] 14 | OldCreateOrder = False 15 | OnKeyDown = FormKeyDown 16 | OnKeyPress = FormKeyPress 17 | OnKeyUp = FormKeyUp 18 | OnMouseDown = FormMouseDown 19 | OnMouseMove = FormMouseMove 20 | OnMouseUp = FormMouseUp 21 | PixelsPerInch = 96 22 | TextHeight = 13 23 | object ApplicationEvents1: TApplicationEvents 24 | OnMessage = ApplicationEvents1Message 25 | Left = 24 26 | Top = 8 27 | end 28 | end 29 | -------------------------------------------------------------------------------- /alphiWindow.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstat/Dwke/85dc99d8250d572e111c8978e37ef753bfc0ef42/alphiWindow.pas -------------------------------------------------------------------------------- /ck.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstat/Dwke/85dc99d8250d572e111c8978e37ef753bfc0ef42/ck.cpp -------------------------------------------------------------------------------- /ck.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstat/Dwke/85dc99d8250d572e111c8978e37ef753bfc0ef42/ck.h -------------------------------------------------------------------------------- /define.pas: -------------------------------------------------------------------------------- 1 | jsString := LoadDllFunc('jsString'); 2 | jsStringW := LoadDllFunc('jsStringW'); 3 | jsjsobject := LoadDllFunc('jsjsobject'); 4 | jsArray := LoadDllFunc('jsArray'); 5 | 6 | jsFunction := LoadDllFunc('jsFunction'); 7 | 8 | //return the window object 9 | jsGlobalobject := LoadDllFunc('jsGlobalobject'); 10 | 11 | jsEval := LoadDllFunc('jsEval'); 12 | jsEvalW := LoadDllFunc('jsEvalW'); 13 | 14 | jsCall := LoadDllFunc('jsCall'); 15 | jsCallGlobal := LoadDllFunc('jsCallGlobal'); 16 | 17 | jsGet := LoadDllFunc('jsGet'); 18 | jsSet := LoadDllFunc('jsSet'); 19 | 20 | jsGetGlobal := LoadDllFunc('jsGetGlobal'); 21 | jsSetGlobal := LoadDllFunc('jsSetGlobal'); 22 | 23 | jsGetAt := LoadDllFunc('jsGetAt'); 24 | jsSetAt := LoadDllFunc('jsSetAt'); 25 | 26 | jsGetLength := LoadDllFunc('jsGetLength'); 27 | jsSetLength := LoadDllFunc('jsSetLength'); 28 | 29 | jsGetWebView := LoadDllFunc('jsGetWebView'); 30 | 31 | jsGC := LoadDllFunc('jsGC'); 32 | -------------------------------------------------------------------------------- /flash.html: -------------------------------------------------------------------------------- 1 | 2 | 7 |
8 | 13 | -------------------------------------------------------------------------------- /kill.bat: -------------------------------------------------------------------------------- 1 | @taskkill /f /im Dwke.exe 2 | @cmd -------------------------------------------------------------------------------- /main.ddp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mstat/Dwke/85dc99d8250d572e111c8978e37ef753bfc0ef42/main.ddp -------------------------------------------------------------------------------- /main.dfm: -------------------------------------------------------------------------------- 1 | object Form1: TForm1 2 | Left = 724 3 | Top = 135 4 | Width = 461 5 | Height = 534 6 | Caption = 'Form1' 7 | Color = clBtnFace 8 | Font.Charset = DEFAULT_CHARSET 9 | Font.Color = clWindowText 10 | Font.Height = -11 11 | Font.Name = 'MS Sans Serif' 12 | Font.Style = [] 13 | FormStyle = fsStayOnTop 14 | OldCreateOrder = False 15 | Position = poDesktopCenter 16 | OnCreate = FormCreate 17 | OnShow = FormShow 18 | DesignSize = ( 19 | 445 20 | 496) 21 | PixelsPerInch = 96 22 | TextHeight = 13 23 | object btn1: TButton 24 | Left = 16 25 | Top = 8 26 | Width = 75 27 | Height = 25 28 | Caption = 'Open' 29 | TabOrder = 0 30 | OnClick = btn1Click 31 | end 32 | object mmo1: TMemo 33 | Left = 16 34 | Top = 40 35 | Width = 241 36 | Height = 145 37 | TabOrder = 1 38 | end 39 | object edt1: TEdit 40 | Left = 104 41 | Top = 8 42 | Width = 249 43 | Height = 21 44 | TabOrder = 2 45 | Text = 'https://www.baidu.com' 46 | end 47 | object btn2: TButton 48 | Left = 360 49 | Top = 8 50 | Width = 75 51 | Height = 25 52 | Caption = 'GetTitle' 53 | TabOrder = 3 54 | OnClick = btn2Click 55 | end 56 | object scrlbx1: TScrollBox 57 | Left = 8 58 | Top = 304 59 | Width = 425 60 | Height = 185 61 | Anchors = [akLeft, akTop, akRight, akBottom] 62 | TabOrder = 4 63 | object img1: TImage 64 | Left = 0 65 | Top = 0 66 | Width = 105 67 | Height = 105 68 | AutoSize = True 69 | end 70 | end 71 | object btn3: TButton 72 | Left = 360 73 | Top = 48 74 | Width = 75 75 | Height = 25 76 | Caption = 'AutoGetImg' 77 | TabOrder = 5 78 | OnClick = btn3Click 79 | end 80 | object edt2: TEdit 81 | Left = 264 82 | Top = 88 83 | Width = 169 84 | Height = 21 85 | TabOrder = 6 86 | Text = 87 | 'void((function(){var css=" 21 | 22 | 23 | 24 |