fzeet 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE_Scintilla +20 -0
- data/examples/Control/Button1.rbw +7 -0
- data/examples/Control/Header.rbw +1 -1
- data/examples/Control/ListView.rbw +21 -3
- data/examples/Control/PropertySheet.rbw +2 -39
- data/examples/Control/Scintilla.rbw +20 -0
- data/examples/Control/Tab.rbw +18 -0
- data/examples/Control/TreeView.rbw +9 -22
- data/examples/Layout.rbw +23 -0
- data/examples/MDI.rbw +30 -0
- data/examples/UIRibbon/TabGroup.rbw +11 -6
- data/lib/fzeet/Application.rb +1 -0
- data/lib/fzeet/Common.rb +5 -3
- data/lib/fzeet/Control/Button.rb +12 -0
- data/lib/fzeet/Control/Common.rb +13 -5
- data/lib/fzeet/Control/Header.rb +24 -7
- data/lib/fzeet/Control/ListView.rb +45 -4
- data/lib/fzeet/Control/PropertySheet.rb +51 -0
- data/lib/fzeet/Control/Scintilla.rb +109 -0
- data/lib/fzeet/Control/Tab.rb +59 -0
- data/lib/fzeet/Control/TreeView.rb +50 -0
- data/lib/fzeet/Control.rb +3 -0
- data/lib/fzeet/Window/Common.rb +85 -3
- data/lib/fzeet/Window/Container.rb +29 -0
- data/lib/fzeet/Window/MDI.rb +30 -0
- data/lib/fzeet/Window/View.rb +1 -1
- data/lib/fzeet/Window/Window.rb +1 -1
- data/lib/fzeet/Window/WindowMethods.rb +13 -2
- data/lib/fzeet/Window.rb +2 -0
- data/lib/fzeet/windows/SciLexer.dll +0 -0
- data/lib/fzeet/windows/comctl/Tab.rb +88 -0
- data/lib/fzeet/windows/comctl.rb +1 -0
- data/lib/fzeet/windows/gdi.rb +2 -0
- data/lib/fzeet/windows/scintilla.rb +2279 -0
- data/lib/fzeet/windows/user/Message.rb +1 -0
- data/lib/fzeet/windows/user/Window.rb +39 -0
- data/lib/fzeet/windows.rb +6 -0
- metadata +21 -3
@@ -249,6 +249,7 @@ module Fzeet
|
|
249
249
|
attach_function :RegisterWindowMessage, :RegisterWindowMessageA, [:string], :uint
|
250
250
|
attach_function :GetMessage, :GetMessageA, [:pointer, :pointer, :uint, :uint], :int
|
251
251
|
attach_function :IsDialogMessage, [:pointer, :pointer], :int
|
252
|
+
attach_function :TranslateMDISysAccel, [:pointer, :pointer], :int
|
252
253
|
attach_function :TranslateAccelerator, :TranslateAcceleratorA, [:pointer, :pointer, :pointer], :int
|
253
254
|
attach_function :TranslateMessage, [:pointer], :int
|
254
255
|
attach_function :DispatchMessage, :DispatchMessageA, [:pointer], :long
|
@@ -19,6 +19,8 @@ module Fzeet
|
|
19
19
|
callback :WNDPROC, [:pointer, :uint, :uint, :long], :long
|
20
20
|
|
21
21
|
attach_function :DefWindowProc, :DefWindowProcA, [:pointer, :uint, :uint, :long], :long
|
22
|
+
attach_function :DefFrameProc, :DefFrameProcA, [:pointer, :pointer, :uint, :uint, :long], :long
|
23
|
+
attach_function :DefMDIChildProc, :DefMDIChildProcA, [:pointer, :uint, :uint, :long], :long
|
22
24
|
|
23
25
|
callback :DLGPROC, [:pointer, :uint, :uint, :long], :int
|
24
26
|
|
@@ -227,6 +229,29 @@ module Fzeet
|
|
227
229
|
attach_function :CreateWindowEx, :CreateWindowExA, [:ulong, :string, :string, :ulong, :int, :int, :int, :int, :pointer, :pointer, :pointer, :pointer], :pointer
|
228
230
|
attach_function :DestroyWindow, [:pointer], :int
|
229
231
|
|
232
|
+
MDIS_ALLCHILDSTYLES = 0x0001
|
233
|
+
|
234
|
+
class MDICREATESTRUCT < FFI::Struct
|
235
|
+
layout \
|
236
|
+
:szClass, :pointer,
|
237
|
+
:szTitle, :pointer,
|
238
|
+
:hOwner, :pointer,
|
239
|
+
:x, :int,
|
240
|
+
:y, :int,
|
241
|
+
:cx, :int,
|
242
|
+
:cy, :int,
|
243
|
+
:style, :ulong,
|
244
|
+
:lParam, :long
|
245
|
+
end
|
246
|
+
|
247
|
+
class CLIENTCREATESTRUCT < FFI::Struct
|
248
|
+
layout \
|
249
|
+
:hWindowMenu, :pointer,
|
250
|
+
:idFirstChild, :uint
|
251
|
+
end
|
252
|
+
|
253
|
+
attach_function :CreateMDIWindow, :CreateMDIWindowA, [:string, :string, :ulong, :int, :int, :int, :int, :pointer, :pointer, :long], :pointer
|
254
|
+
|
230
255
|
DS_ABSALIGN = 0x01
|
231
256
|
DS_SYSMODAL = 0x02
|
232
257
|
DS_LOCALEDIT = 0x20
|
@@ -343,6 +368,20 @@ module Fzeet
|
|
343
368
|
|
344
369
|
attach_function :SetWindowPos, [:pointer, :pointer, :int, :int, :int, :int, :uint], :int
|
345
370
|
|
371
|
+
attach_function :BeginDeferWindowPos, [:int], :pointer
|
372
|
+
attach_function :DeferWindowPos, [:pointer, :pointer, :pointer, :int, :int, :int, :int, :uint], :pointer
|
373
|
+
attach_function :EndDeferWindowPos, [:pointer], :int
|
374
|
+
|
375
|
+
MDITILE_VERTICAL = 0x0000
|
376
|
+
MDITILE_HORIZONTAL = 0x0001
|
377
|
+
MDITILE_SKIPDISABLED = 0x0002
|
378
|
+
MDITILE_ZORDER = 0x0004
|
379
|
+
|
380
|
+
attach_function :TileWindows, [:pointer, :uint, :pointer, :uint, :pointer], :ushort
|
381
|
+
|
382
|
+
attach_function :CascadeWindows, [:pointer, :uint, :pointer, :uint, :pointer], :ushort
|
383
|
+
attach_function :ArrangeIconicWindows, [:pointer], :uint
|
384
|
+
|
346
385
|
attach_function :GetCursorPos, [:pointer], :int
|
347
386
|
|
348
387
|
attach_function :ScreenToClient, [:pointer, :pointer], :int
|
data/lib/fzeet/windows.rb
CHANGED
@@ -5,6 +5,7 @@ require_relative 'windows/user'
|
|
5
5
|
require_relative 'windows/gdi'
|
6
6
|
|
7
7
|
require_relative 'windows/comctl'
|
8
|
+
require_relative 'windows/scintilla' if Fzeet::Windows::WINVER.AtLeastWindowsXP?
|
8
9
|
require_relative 'windows/comdlg'
|
9
10
|
|
10
11
|
require_relative 'windows/com'
|
@@ -16,3 +17,8 @@ require_relative 'windows/shlwapi'
|
|
16
17
|
require_relative 'windows/propsys' if Fzeet::Windows::WINVER.AtLeastWindowsVista?
|
17
18
|
|
18
19
|
require_relative 'windows/uiribbon' if Fzeet::Windows::WINVER.AtLeastWindowsVista?
|
20
|
+
|
21
|
+
Fzeet::Windows.DetonateLastError(FFI::Pointer::NULL,
|
22
|
+
:LoadLibrary,
|
23
|
+
"#{File.dirname(File.expand_path(__FILE__))}/windows/SciLexer.dll"
|
24
|
+
).tap { |hdll| at_exit { Fzeet::Windows.FreeLibrary(hdll) } } if Fzeet::Windows::WINVER.AtLeastWindowsXP?
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fzeet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 1
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 6
|
8
|
-
-
|
9
|
-
version: 0.6.
|
9
|
+
- 3
|
10
|
+
version: 0.6.3
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Radoslav Peev
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-09-
|
18
|
+
date: 2010-09-24 00:00:00 +03:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
@@ -25,6 +26,7 @@ dependencies:
|
|
25
26
|
requirements:
|
26
27
|
- - ~>
|
27
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 1
|
28
30
|
segments:
|
29
31
|
- 0
|
30
32
|
- 6
|
@@ -50,10 +52,12 @@ files:
|
|
50
52
|
- lib/fzeet/windows/libc.rb
|
51
53
|
- lib/fzeet/windows/ole.rb
|
52
54
|
- lib/fzeet/windows/propsys.rb
|
55
|
+
- lib/fzeet/windows/scintilla.rb
|
53
56
|
- lib/fzeet/windows/shell.rb
|
54
57
|
- lib/fzeet/windows/shlwapi.rb
|
55
58
|
- lib/fzeet/windows/uiribbon.rb
|
56
59
|
- lib/fzeet/windows/user.rb
|
60
|
+
- lib/fzeet/windows/SciLexer.dll
|
57
61
|
- lib/fzeet/windows/user/Accelerator.rb
|
58
62
|
- lib/fzeet/windows/user/Common.rb
|
59
63
|
- lib/fzeet/windows/user/Control.rb
|
@@ -80,6 +84,7 @@ files:
|
|
80
84
|
- lib/fzeet/windows/comctl/ProgressBar.rb
|
81
85
|
- lib/fzeet/windows/comctl/PropertySheet.rb
|
82
86
|
- lib/fzeet/windows/comctl/SysLink.rb
|
87
|
+
- lib/fzeet/windows/comctl/Tab.rb
|
83
88
|
- lib/fzeet/windows/comctl/TreeView.rb
|
84
89
|
- lib/fzeet/windows/comctl/UpDown.rb
|
85
90
|
- lib/fzeet/windows/comdlg/ColorDialog.rb
|
@@ -101,7 +106,9 @@ files:
|
|
101
106
|
- lib/fzeet/Window.rb
|
102
107
|
- lib/fzeet/windows.rb
|
103
108
|
- lib/fzeet/Window/Common.rb
|
109
|
+
- lib/fzeet/Window/Container.rb
|
104
110
|
- lib/fzeet/Window/Dialog.rb
|
111
|
+
- lib/fzeet/Window/MDI.rb
|
105
112
|
- lib/fzeet/Window/View.rb
|
106
113
|
- lib/fzeet/Window/Window.rb
|
107
114
|
- lib/fzeet/Window/WindowMethods.rb
|
@@ -116,8 +123,11 @@ files:
|
|
116
123
|
- lib/fzeet/Control/ListView.rb
|
117
124
|
- lib/fzeet/Control/MonthCalendar.rb
|
118
125
|
- lib/fzeet/Control/ProgressBar.rb
|
126
|
+
- lib/fzeet/Control/PropertySheet.rb
|
127
|
+
- lib/fzeet/Control/Scintilla.rb
|
119
128
|
- lib/fzeet/Control/Static.rb
|
120
129
|
- lib/fzeet/Control/SysLink.rb
|
130
|
+
- lib/fzeet/Control/Tab.rb
|
121
131
|
- lib/fzeet/Control/TreeView.rb
|
122
132
|
- lib/fzeet/Control/UpDown.rb
|
123
133
|
- lib/fzeet/Dialog/ColorDialog.rb
|
@@ -183,10 +193,12 @@ files:
|
|
183
193
|
- examples/Hello.rbw
|
184
194
|
- examples/Inheritance.rbw
|
185
195
|
- examples/Inheritance1.rbw
|
196
|
+
- examples/Layout.rbw
|
186
197
|
- examples/LifeCycle.rbw
|
187
198
|
- examples/LifeCycle1.rbw
|
188
199
|
- examples/LifeCycle2.rbw
|
189
200
|
- examples/LifeCycleNC.rbw
|
201
|
+
- examples/MDI.rbw
|
190
202
|
- examples/MessageBox.rbw
|
191
203
|
- examples/Minimal.rbw
|
192
204
|
- examples/MinimalOpts.rbw
|
@@ -198,6 +210,7 @@ files:
|
|
198
210
|
- examples/Menu/Menu.rbw
|
199
211
|
- examples/Menu/MenuPARGB32.rbw
|
200
212
|
- examples/Control/Button.rbw
|
213
|
+
- examples/Control/Button1.rbw
|
201
214
|
- examples/Control/ComboBox.rbw
|
202
215
|
- examples/Control/ComboBoxEx.rbw
|
203
216
|
- examples/Control/DateTimePicker.rbw
|
@@ -208,8 +221,10 @@ files:
|
|
208
221
|
- examples/Control/MonthCalendar.rbw
|
209
222
|
- examples/Control/ProgressBar.rbw
|
210
223
|
- examples/Control/PropertySheet.rbw
|
224
|
+
- examples/Control/Scintilla.rbw
|
211
225
|
- examples/Control/Static.rbw
|
212
226
|
- examples/Control/SysLink.rbw
|
227
|
+
- examples/Control/Tab.rbw
|
213
228
|
- examples/Control/TreeView.rbw
|
214
229
|
- examples/Control/UpDown.rbw
|
215
230
|
- examples/Dialog/ColorDialog.rbw
|
@@ -268,6 +283,7 @@ files:
|
|
268
283
|
- examples/UIRibbon/Control/Gallery.dll
|
269
284
|
- examples/UIRibbon/Control/Spinner.dll
|
270
285
|
- LICENSE
|
286
|
+
- LICENSE_Scintilla
|
271
287
|
has_rdoc: true
|
272
288
|
homepage: http://github.com/rpeev/Fzeet
|
273
289
|
licenses: []
|
@@ -282,6 +298,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
282
298
|
requirements:
|
283
299
|
- - ">="
|
284
300
|
- !ruby/object:Gem::Version
|
301
|
+
hash: 3
|
285
302
|
segments:
|
286
303
|
- 0
|
287
304
|
version: "0"
|
@@ -290,6 +307,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
290
307
|
requirements:
|
291
308
|
- - ">="
|
292
309
|
- !ruby/object:Gem::Version
|
310
|
+
hash: 3
|
293
311
|
segments:
|
294
312
|
- 0
|
295
313
|
version: "0"
|