fzeet 0.4.2 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. data/examples/Dialog/FileDialog.rbw +34 -0
  2. data/examples/Raw/UIRibbon/Command.dll +0 -0
  3. data/examples/Raw/UIRibbon/Command.rb +22 -0
  4. data/examples/Raw/UIRibbon/Command.rbw +51 -0
  5. data/examples/Raw/UIRibbon/Command.xml +65 -0
  6. data/examples/Raw/UIRibbon/Minimal.dll +0 -0
  7. data/examples/Raw/UIRibbon/Minimal.rb +16 -0
  8. data/examples/Raw/UIRibbon/Minimal.rbw +39 -0
  9. data/examples/Raw/UIRibbon/Minimal.xml +55 -0
  10. data/examples/UIRibbon/Command.dll +0 -0
  11. data/examples/UIRibbon/Command.rb +22 -0
  12. data/examples/UIRibbon/Command.rbw +20 -0
  13. data/examples/UIRibbon/Command.xml +65 -0
  14. data/examples/UIRibbon/Minimal.dll +0 -0
  15. data/examples/UIRibbon/Minimal.rb +16 -0
  16. data/examples/UIRibbon/Minimal.rbw +8 -0
  17. data/examples/UIRibbon/Minimal.xml +55 -0
  18. data/examples/UIRibbon/Viewer.rbw +9 -0
  19. data/examples/res/go-next-small.bmp +0 -0
  20. data/examples/res/go-next.bmp +0 -0
  21. data/examples/res/go-previous-small.bmp +0 -0
  22. data/examples/res/go-previous.bmp +0 -0
  23. data/lib/fzeet/Control.rb +1 -89
  24. data/lib/fzeet/ControlButton.rb +28 -0
  25. data/lib/fzeet/ControlCommon.rb +64 -0
  26. data/lib/fzeet/Dialog.rb +1 -0
  27. data/lib/fzeet/DialogCommon.rb +5 -0
  28. data/lib/fzeet/DialogFileDialog.rb +116 -0
  29. data/lib/fzeet/UIRibbon.rb +99 -0
  30. data/lib/fzeet/Window.rb +2 -336
  31. data/lib/fzeet/WindowCommon.rb +256 -0
  32. data/lib/fzeet/WindowDialog.rb +73 -0
  33. data/lib/fzeet/WindowWindow.rb +13 -0
  34. data/lib/fzeet/common.rb +2 -0
  35. data/lib/fzeet/windows/com.rb +186 -0
  36. data/lib/fzeet/windows/comctl.rb +1 -59
  37. data/lib/fzeet/windows/comctlbutton.rb +30 -0
  38. data/lib/fzeet/windows/comctlcommon.rb +34 -0
  39. data/lib/fzeet/windows/comdlg.rb +1 -0
  40. data/lib/fzeet/windows/comdlgcommon.rb +9 -0
  41. data/lib/fzeet/windows/comdlgofn.rb +70 -0
  42. data/lib/fzeet/windows/common.rb +18 -0
  43. data/lib/fzeet/windows/kernel.rb +3 -0
  44. data/lib/fzeet/windows/libc.rb +1 -0
  45. data/lib/fzeet/windows/ole.rb +213 -0
  46. data/lib/fzeet/windows/shell.rb +43 -0
  47. data/lib/fzeet/windows/uiribbon.rb +111 -0
  48. data/lib/fzeet/windows/user.rb +7 -438
  49. data/lib/fzeet/windows/usercommon.rb +8 -0
  50. data/lib/fzeet/windows/userctl.rb +1 -68
  51. data/lib/fzeet/windows/userctlbutton.rb +56 -0
  52. data/lib/fzeet/windows/userctlcommon.rb +12 -0
  53. data/lib/fzeet/windows/userkbd.rb +20 -0
  54. data/lib/fzeet/windows/usermbox.rb +62 -0
  55. data/lib/fzeet/windows/usermenu.rb +50 -0
  56. data/lib/fzeet/windows/usermsg.rb +1 -6
  57. data/lib/fzeet/windows/userspi.rb +29 -0
  58. data/lib/fzeet/windows/userwnd.rb +276 -0
  59. data/lib/fzeet/windows.rb +24 -4
  60. data/lib/fzeet.rb +2 -0
  61. metadata +54 -6
  62. /data/examples/{Dialog.rbw → Dialog/Dialog.rbw} +0 -0
  63. /data/examples/{DialogApplication.rbw → Dialog/DialogApplication.rbw} +0 -0
@@ -0,0 +1,50 @@
1
+ require_relative 'usercommon'
2
+
3
+ module Fzeet
4
+ module Windows
5
+ attach_function :CreateMenu, [], :pointer
6
+ attach_function :CreatePopupMenu, [], :pointer
7
+ attach_function :DestroyMenu, [:pointer], :int
8
+
9
+ MF_SEPARATOR = 0x00000800
10
+ MF_ENABLED = 0x00000000
11
+ MF_GRAYED = 0x00000001
12
+ MF_UNCHECKED = 0x00000000
13
+ MF_CHECKED = 0x00000008
14
+ MF_USECHECKBITMAPS = 0x00000200
15
+ MF_STRING = 0x00000000
16
+ MF_POPUP = 0x00000010
17
+ MF_RIGHTJUSTIFY = 0x00004000
18
+
19
+ MFT_RADIOCHECK = 0x00000200
20
+
21
+ attach_function :AppendMenu, :AppendMenuA, [:pointer, :uint, :uint, :string], :int
22
+ attach_function :GetMenuState, [:pointer, :uint, :uint], :uint
23
+ attach_function :EnableMenuItem, [:pointer, :uint, :uint], :int
24
+ attach_function :CheckMenuItem, [:pointer, :uint, :uint], :ulong
25
+ attach_function :CheckMenuRadioItem, [:pointer, :uint, :uint, :uint, :uint], :int
26
+
27
+ MIIM_BITMAP = 0x00000080
28
+
29
+ class MENUITEMINFO < FFI::Struct
30
+ layout \
31
+ :cbSize, :uint,
32
+ :fMask, :uint,
33
+ :fType, :uint,
34
+ :fState, :uint,
35
+ :wID, :uint,
36
+ :hSubMenu, :pointer,
37
+ :hbmpChecked, :pointer,
38
+ :hbmpUnchecked, :pointer,
39
+ :dwItemData, :ulong,
40
+ :dwTypeData, :pointer,
41
+ :cch, :uint,
42
+ :hbmpItem, :pointer
43
+ end
44
+
45
+ attach_function :GetMenuItemInfo, :GetMenuItemInfoA, [:pointer, :uint, :int, :pointer], :int
46
+ attach_function :SetMenuItemInfo, :SetMenuItemInfoA, [:pointer, :uint, :int, :pointer], :int
47
+
48
+ attach_function :TrackPopupMenu, [:pointer, :uint, :int, :int, :int, :pointer, :pointer], :int
49
+ end
50
+ end
@@ -1,12 +1,7 @@
1
- require_relative 'common'
1
+ require_relative 'usercommon'
2
2
 
3
3
  module Fzeet
4
4
  module Windows
5
- if __FILE__ == $0
6
- ffi_lib 'user32'
7
- ffi_convention :stdcall
8
- end
9
-
10
5
  #{ WM_xxx
11
6
  WM_NULL = 0x0000
12
7
  WM_CREATE = 0x0001
@@ -0,0 +1,29 @@
1
+ require_relative 'usercommon'
2
+
3
+ module Fzeet
4
+ module Windows
5
+ SPI_GETNONCLIENTMETRICS = 0x0029
6
+
7
+ class NONCLIENTMETRICS < FFI::Struct
8
+ layout \
9
+ :cbSize, :uint,
10
+ :iBorderWidth, :int,
11
+ :iScrollWidth, :int,
12
+ :iScrollHeight, :int,
13
+ :iCaptionWidth, :int,
14
+ :iCaptionHeight, :int,
15
+ :lfCaptionFont, LOGFONT,
16
+ :iSmCaptionWidth, :int,
17
+ :iSmCaptionHeight, :int,
18
+ :lfSmCaptionFont, LOGFONT,
19
+ :iMenuWidth, :int,
20
+ :iMenuHeight, :int,
21
+ :lfMenuFont, LOGFONT,
22
+ :lfStatusFont, LOGFONT,
23
+ :lfMessageFont, LOGFONT,
24
+ :iPaddedBorderWidth, :int
25
+ end
26
+
27
+ attach_function :SystemParametersInfo, :SystemParametersInfoA, [:uint, :uint, :pointer, :uint], :int
28
+ end
29
+ end
@@ -0,0 +1,276 @@
1
+ require_relative 'usercommon'
2
+
3
+ module Fzeet
4
+ module Windows
5
+ callback :WNDPROC, [:pointer, :uint, :uint, :long], :long
6
+
7
+ attach_function :DefWindowProc, :DefWindowProcA, [:pointer, :uint, :uint, :long], :long
8
+
9
+ callback :DLGPROC, [:pointer, :uint, :uint, :long], :int
10
+
11
+ attach_function :DefDlgProc, :DefDlgProcA, [:pointer, :uint, :uint, :long], :long
12
+
13
+ #{ IDI_xxx
14
+ IDI_APPLICATION = FFI::Pointer.new(32512)
15
+ IDI_HAND = FFI::Pointer.new(32513)
16
+ IDI_QUESTION = FFI::Pointer.new(32514)
17
+ IDI_EXCLAMATION = FFI::Pointer.new(32515)
18
+ IDI_ASTERISK = FFI::Pointer.new(32516)
19
+ IDI_WINLOGO = FFI::Pointer.new(32517)
20
+ IDI_SHIELD = FFI::Pointer.new(32518)
21
+ IDI_WARNING = IDI_EXCLAMATION
22
+ IDI_ERROR = IDI_HAND
23
+ IDI_INFORMATION = IDI_ASTERISK
24
+ #}
25
+
26
+ attach_function :LoadIcon, :LoadIconA, [:pointer, :pointer], :pointer
27
+
28
+ #{ IDC_xxx
29
+ IDC_ARROW = FFI::Pointer.new(32512)
30
+ IDC_IBEAM = FFI::Pointer.new(32513)
31
+ IDC_WAIT = FFI::Pointer.new(32514)
32
+ IDC_CROSS = FFI::Pointer.new(32515)
33
+ IDC_UPARROW = FFI::Pointer.new(32516)
34
+ IDC_SIZE = FFI::Pointer.new(32640)
35
+ IDC_ICON = FFI::Pointer.new(32641)
36
+ IDC_SIZENWSE = FFI::Pointer.new(32642)
37
+ IDC_SIZENESW = FFI::Pointer.new(32643)
38
+ IDC_SIZEWE = FFI::Pointer.new(32644)
39
+ IDC_SIZENS = FFI::Pointer.new(32645)
40
+ IDC_SIZEALL = FFI::Pointer.new(32646)
41
+ IDC_NO = FFI::Pointer.new(32648)
42
+ IDC_HAND = FFI::Pointer.new(32649)
43
+ IDC_APPSTARTING = FFI::Pointer.new(32650)
44
+ IDC_HELP = FFI::Pointer.new(32651)
45
+ #}
46
+
47
+ attach_function :LoadCursor, :LoadCursorA, [:pointer, :pointer], :pointer
48
+
49
+ IMAGE_BITMAP = 0
50
+
51
+ LR_LOADFROMFILE = 0x00000010
52
+ LR_CREATEDIBSECTION = 0x00002000
53
+
54
+ attach_function :LoadImage, :LoadImageA, [:pointer, :string, :uint, :int, :int, :uint], :pointer
55
+
56
+ #{ COLOR_xxx
57
+ COLOR_SCROLLBAR = 0
58
+ COLOR_BACKGROUND = 1
59
+ COLOR_ACTIVECAPTION = 2
60
+ COLOR_INACTIVECAPTION = 3
61
+ COLOR_MENU = 4
62
+ COLOR_WINDOW = 5
63
+ COLOR_WINDOWFRAME = 6
64
+ COLOR_MENUTEXT = 7
65
+ COLOR_WINDOWTEXT = 8
66
+ COLOR_CAPTIONTEXT = 9
67
+ COLOR_ACTIVEBORDER = 10
68
+ COLOR_INACTIVEBORDER = 11
69
+ COLOR_APPWORKSPACE = 12
70
+ COLOR_HIGHLIGHT = 13
71
+ COLOR_HIGHLIGHTTEXT = 14
72
+ COLOR_BTNFACE = 15
73
+ COLOR_BTNSHADOW = 16
74
+ COLOR_GRAYTEXT = 17
75
+ COLOR_BTNTEXT = 18
76
+ COLOR_INACTIVECAPTIONTEXT = 19
77
+ COLOR_BTNHIGHLIGHT = 20
78
+ COLOR_3DDKSHADOW = 21
79
+ COLOR_3DLIGHT = 22
80
+ COLOR_INFOTEXT = 23
81
+ COLOR_INFOBK = 24
82
+ COLOR_HOTLIGHT = 26
83
+ COLOR_GRADIENTACTIVECAPTION = 27
84
+ COLOR_GRADIENTINACTIVECAPTION = 28
85
+ COLOR_MENUHILIGHT = 29
86
+ COLOR_MENUBAR = 30
87
+ COLOR_DESKTOP = COLOR_BACKGROUND
88
+ COLOR_3DFACE = COLOR_BTNFACE
89
+ COLOR_3DSHADOW = COLOR_BTNSHADOW
90
+ COLOR_3DHIGHLIGHT = COLOR_BTNHIGHLIGHT
91
+ COLOR_3DHILIGHT = COLOR_BTNHIGHLIGHT
92
+ COLOR_BTNHILIGHT = COLOR_BTNHIGHLIGHT
93
+ #}
94
+
95
+ #{ CTLCOLOR_xxx
96
+ CTLCOLOR_MSGBOX = 0
97
+ CTLCOLOR_EDIT = 1
98
+ CTLCOLOR_LISTBOX = 2
99
+ CTLCOLOR_BTN = 3
100
+ CTLCOLOR_DLG = 4
101
+ CTLCOLOR_SCROLLBAR = 5
102
+ CTLCOLOR_STATIC = 6
103
+ CTLCOLOR_MAX = 7
104
+ #}
105
+
106
+ class WNDCLASSEX < FFI::Struct
107
+ layout \
108
+ :cbSize, :uint,
109
+ :style, :uint,
110
+ :lpfnWndProc, :WNDPROC,
111
+ :cbClsExtra, :int,
112
+ :cbWndExtra, :int,
113
+ :hInstance, :pointer,
114
+ :hIcon, :pointer,
115
+ :hCursor, :pointer,
116
+ :hbrBackground, :pointer,
117
+ :lpszMenuName, :pointer,
118
+ :lpszClassName, :pointer,
119
+ :hIconSm, :pointer
120
+ end
121
+
122
+ attach_function :RegisterClassEx, :RegisterClassExA, [:pointer], :ushort
123
+
124
+ #{ WS_xxx
125
+ WS_OVERLAPPED = 0x00000000
126
+ WS_POPUP = 0x80000000
127
+ WS_CHILD = 0x40000000
128
+ WS_MINIMIZE = 0x20000000
129
+ WS_VISIBLE = 0x10000000
130
+ WS_DISABLED = 0x08000000
131
+ WS_CLIPSIBLINGS = 0x04000000
132
+ WS_CLIPCHILDREN = 0x02000000
133
+ WS_MAXIMIZE = 0x01000000
134
+ WS_CAPTION = 0x00C00000
135
+ WS_BORDER = 0x00800000
136
+ WS_DLGFRAME = 0x00400000
137
+ WS_VSCROLL = 0x00200000
138
+ WS_HSCROLL = 0x00100000
139
+ WS_SYSMENU = 0x00080000
140
+ WS_THICKFRAME = 0x00040000
141
+ WS_GROUP = 0x00020000
142
+ WS_TABSTOP = 0x00010000
143
+ WS_MINIMIZEBOX = 0x00020000
144
+ WS_MAXIMIZEBOX = 0x00010000
145
+ WS_TILED = WS_OVERLAPPED
146
+ WS_ICONIC = WS_MINIMIZE
147
+ WS_SIZEBOX = WS_THICKFRAME
148
+ WS_OVERLAPPEDWINDOW = WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
149
+ WS_TILEDWINDOW = WS_OVERLAPPEDWINDOW
150
+ WS_POPUPWINDOW = WS_POPUP | WS_BORDER | WS_SYSMENU
151
+ WS_CHILDWINDOW = WS_CHILD
152
+ WS_ACTIVECAPTION = 0x0001
153
+ #}
154
+
155
+ #{ WS_EX_xxx
156
+ WS_EX_DLGMODALFRAME = 0x00000001
157
+ WS_EX_NOPARENTNOTIFY = 0x00000004
158
+ WS_EX_TOPMOST = 0x00000008
159
+ WS_EX_ACCEPTFILES = 0x00000010
160
+ WS_EX_TRANSPARENT = 0x00000020
161
+ WS_EX_MDICHILD = 0x00000040
162
+ WS_EX_TOOLWINDOW = 0x00000080
163
+ WS_EX_WINDOWEDGE = 0x00000100
164
+ WS_EX_CLIENTEDGE = 0x00000200
165
+ WS_EX_CONTEXTHELP = 0x00000400
166
+ WS_EX_RIGHT = 0x00001000
167
+ WS_EX_LEFT = 0x00000000
168
+ WS_EX_RTLREADING = 0x00002000
169
+ WS_EX_LTRREADING = 0x00000000
170
+ WS_EX_LEFTSCROLLBAR = 0x00004000
171
+ WS_EX_RIGHTSCROLLBAR = 0x00000000
172
+ WS_EX_CONTROLPARENT = 0x00010000
173
+ WS_EX_STATICEDGE = 0x00020000
174
+ WS_EX_APPWINDOW = 0x00040000
175
+ WS_EX_OVERLAPPEDWINDOW = WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE
176
+ WS_EX_PALETTEWINDOW = WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST
177
+ WS_EX_LAYERED = 0x00080000
178
+ WS_EX_NOINHERITLAYOUT = 0x00100000
179
+ WS_EX_LAYOUTRTL = 0x00400000
180
+ WS_EX_COMPOSITED = 0x02000000
181
+ WS_EX_NOACTIVATE = 0x08000000
182
+ #}
183
+
184
+ CW_USEDEFAULT = -0x80000000
185
+
186
+ class CREATESTRUCT < FFI::Struct
187
+ layout \
188
+ :lpCreateParams, :pointer,
189
+ :hInstance, :pointer,
190
+ :hMenu, :pointer,
191
+ :hwndParent, :pointer,
192
+ :cy, :int,
193
+ :cx, :int,
194
+ :y, :int,
195
+ :x, :int,
196
+ :style, :long,
197
+ :lpszName, :pointer,
198
+ :lpszClass, :pointer,
199
+ :dwExStyle, :ulong
200
+ end
201
+
202
+ attach_function :CreateWindowEx, :CreateWindowExA, [:ulong, :string, :string, :ulong, :int, :int, :int, :int, :pointer, :pointer, :pointer, :pointer], :pointer
203
+ attach_function :CreateDialogIndirectParam, :CreateDialogIndirectParamA, [:pointer, :pointer, :pointer, :DLGPROC, :long], :pointer
204
+ attach_function :DestroyWindow, [:pointer], :int
205
+
206
+ #{ DS_xxx
207
+ DS_ABSALIGN = 0x01
208
+ DS_SYSMODAL = 0x02
209
+ DS_LOCALEDIT = 0x20
210
+ DS_SETFONT = 0x40
211
+ DS_MODALFRAME = 0x80
212
+ DS_NOIDLEMSG = 0x100
213
+ DS_SETFOREGROUND = 0x200
214
+ DS_3DLOOK = 0x0004
215
+ DS_FIXEDSYS = 0x0008
216
+ DS_NOFAILCREATE = 0x0010
217
+ DS_CONTROL = 0x0400
218
+ DS_CENTER = 0x0800
219
+ DS_CENTERMOUSE = 0x1000
220
+ DS_CONTEXTHELP = 0x2000
221
+ DS_SHELLFONT = DS_SETFONT | DS_FIXEDSYS
222
+ DS_USEPIXELS = 0x8000
223
+ #}
224
+
225
+ class DLGTEMPLATE < FFI::Struct
226
+ layout \
227
+ :style, :ulong,
228
+ :dwExtendedStyle, :ulong,
229
+ :cdit, :ushort,
230
+ :x, :short,
231
+ :y, :short,
232
+ :cx, :short,
233
+ :cy, :short,
234
+ :menu, :ushort,
235
+ :windowClass, :ushort,
236
+ :title, :ushort
237
+ end
238
+
239
+ attach_function :DialogBoxIndirectParam, :DialogBoxIndirectParamA, [:pointer, :pointer, :pointer, :DLGPROC, :long], :int
240
+ attach_function :EndDialog, [:pointer, :int], :int
241
+
242
+ SW_SHOWNORMAL = 1
243
+
244
+ attach_function :ShowWindow, [:pointer, :int], :int
245
+
246
+ attach_function :UpdateWindow, [:pointer], :int
247
+
248
+ attach_function :GetWindowTextLength, :GetWindowTextLengthA, [:pointer], :int
249
+ attach_function :GetWindowText, :GetWindowTextA, [:pointer, :pointer, :int], :int
250
+ attach_function :SetWindowText, :SetWindowTextA, [:pointer, :string], :int
251
+
252
+ attach_function :IsWindowEnabled, [:pointer], :int
253
+ attach_function :EnableWindow, [:pointer, :int], :int
254
+
255
+ attach_function :GetCursorPos, [:pointer], :int
256
+
257
+ attach_function :ScreenToClient, [:pointer, :pointer], :int
258
+ attach_function :ClientToScreen, [:pointer, :pointer], :int
259
+
260
+ attach_function :GetCapture, [], :pointer
261
+ attach_function :SetCapture, [:pointer], :pointer
262
+ attach_function :ReleaseCapture, [], :int
263
+
264
+ attach_function :GetDC, [:pointer], :pointer
265
+ attach_function :ReleaseDC, [:pointer, :pointer], :int
266
+
267
+ attach_function :GetDlgItem, [:pointer, :int], :pointer
268
+
269
+ callback :WNDENUMPROC, [:pointer, :long], :int
270
+
271
+ attach_function :EnumChildWindows, [:pointer, :WNDENUMPROC, :long], :int
272
+
273
+ attach_function :GetMenu, [:pointer], :pointer
274
+ attach_function :SetMenu, [:pointer, :pointer], :int
275
+ end
276
+ end
data/lib/fzeet/windows.rb CHANGED
@@ -2,11 +2,17 @@ require_relative 'windows/libc'
2
2
 
3
3
  require_relative 'windows/kernel'
4
4
  require_relative 'windows/user'
5
- require_relative 'windows/usermsg'
6
- require_relative 'windows/userctl'
7
5
  require_relative 'windows/gdi'
8
6
 
9
7
  require_relative 'windows/comctl'
8
+ require_relative 'windows/comdlg'
9
+
10
+ require_relative 'windows/com'
11
+
12
+ require_relative 'windows/ole'
13
+ require_relative 'windows/shell'
14
+
15
+ require_relative 'windows/uiribbon'
10
16
 
11
17
  module Fzeet
12
18
  module Windows
@@ -18,7 +24,15 @@ module Fzeet
18
24
  yield failed if block_given?
19
25
  end
20
26
 
21
- module_function :DetonateLastError
27
+ def DetonateHresult(name, *args)
28
+ failed = FAILED(result = send(name, *args)) and raise "#{name} failed (hresult #{format('%#08x', result)})."
29
+
30
+ result
31
+ ensure
32
+ yield failed if block_given?
33
+ end
34
+
35
+ module_function :DetonateLastError, :DetonateHresult
22
36
 
23
37
  COMMON_CONTROLS_ACTCTX = {handle: INVALID_HANDLE_VALUE, cookie: FFI::MemoryPointer.new(:ulong), activated: false}
24
38
 
@@ -62,6 +76,12 @@ module Fzeet
62
76
  COMMON_CONTROLS_ACTCTX[:activated] = true
63
77
  end
64
78
 
65
- module_function :EnableVisualStyles
79
+ def InitializeOle
80
+ DetonateHresult(:OleInitialize, nil)
81
+
82
+ at_exit { OleUninitialize() }
83
+ end
84
+
85
+ module_function :EnableVisualStyles, :InitializeOle
66
86
  end
67
87
  end
data/lib/fzeet.rb CHANGED
@@ -3,3 +3,5 @@ require_relative 'fzeet/Application'
3
3
  require_relative 'fzeet/Menu'
4
4
  require_relative 'fzeet/Accelerator'
5
5
  require_relative 'fzeet/Control'
6
+ require_relative 'fzeet/Dialog'
7
+ require_relative 'fzeet/UIRibbon'
metadata CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 4
9
- - 2
10
- version: 0.4.2
8
+ - 5
9
+ - 0
10
+ version: 0.5.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Radoslav Peev
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-17 00:00:00 +03:00
18
+ date: 2010-08-21 00:00:00 +03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -43,33 +43,69 @@ extensions: []
43
43
  extra_rdoc_files: []
44
44
 
45
45
  files:
46
+ - lib/fzeet/windows/com.rb
46
47
  - lib/fzeet/windows/comctl.rb
48
+ - lib/fzeet/windows/comctlbutton.rb
49
+ - lib/fzeet/windows/comctlcommon.rb
50
+ - lib/fzeet/windows/comdlg.rb
51
+ - lib/fzeet/windows/comdlgcommon.rb
52
+ - lib/fzeet/windows/comdlgofn.rb
47
53
  - lib/fzeet/windows/common.rb
48
54
  - lib/fzeet/windows/gdi.rb
49
55
  - lib/fzeet/windows/kernel.rb
50
56
  - lib/fzeet/windows/libc.rb
57
+ - lib/fzeet/windows/ole.rb
58
+ - lib/fzeet/windows/shell.rb
59
+ - lib/fzeet/windows/uiribbon.rb
51
60
  - lib/fzeet/windows/user.rb
61
+ - lib/fzeet/windows/usercommon.rb
52
62
  - lib/fzeet/windows/userctl.rb
63
+ - lib/fzeet/windows/userctlbutton.rb
64
+ - lib/fzeet/windows/userctlcommon.rb
65
+ - lib/fzeet/windows/userkbd.rb
66
+ - lib/fzeet/windows/usermbox.rb
67
+ - lib/fzeet/windows/usermenu.rb
53
68
  - lib/fzeet/windows/usermsg.rb
69
+ - lib/fzeet/windows/userspi.rb
70
+ - lib/fzeet/windows/userwnd.rb
54
71
  - lib/fzeet/Accelerator.rb
55
72
  - lib/fzeet/Application.rb
56
73
  - lib/fzeet/common.rb
57
74
  - lib/fzeet/Control.rb
75
+ - lib/fzeet/ControlButton.rb
76
+ - lib/fzeet/ControlCommon.rb
77
+ - lib/fzeet/Dialog.rb
78
+ - lib/fzeet/DialogCommon.rb
79
+ - lib/fzeet/DialogFileDialog.rb
58
80
  - lib/fzeet/Menu.rb
81
+ - lib/fzeet/UIRibbon.rb
59
82
  - lib/fzeet/Window.rb
83
+ - lib/fzeet/WindowCommon.rb
84
+ - lib/fzeet/WindowDialog.rb
60
85
  - lib/fzeet/WindowMethods.rb
61
86
  - lib/fzeet/windows.rb
87
+ - lib/fzeet/WindowWindow.rb
62
88
  - lib/fzeet.rb
63
89
  - examples/res/edit-copy.bmp
64
90
  - examples/res/edit-cut.bmp
65
91
  - examples/res/edit-paste.bmp
92
+ - examples/res/go-next-small.bmp
93
+ - examples/res/go-next.bmp
94
+ - examples/res/go-previous-small.bmp
95
+ - examples/res/go-previous.bmp
66
96
  - examples/Raw/Command.rbw
67
97
  - examples/Raw/Hello.rbw
68
98
  - examples/Raw/LifeCycle.rbw
69
99
  - examples/Raw/Minimal.rbw
100
+ - examples/Raw/UIRibbon/Command.rbw
101
+ - examples/Raw/UIRibbon/Minimal.rbw
102
+ - examples/Raw/UIRibbon/Command.xml
103
+ - examples/Raw/UIRibbon/Minimal.xml
104
+ - examples/Raw/UIRibbon/Command.rb
105
+ - examples/Raw/UIRibbon/Minimal.rb
106
+ - examples/Raw/UIRibbon/Command.dll
107
+ - examples/Raw/UIRibbon/Minimal.dll
70
108
  - examples/Command.rbw
71
- - examples/Dialog.rbw
72
- - examples/DialogApplication.rbw
73
109
  - examples/Hello.rbw
74
110
  - examples/Inheritance.rbw
75
111
  - examples/Inheritance1.rbw
@@ -85,6 +121,18 @@ files:
85
121
  - examples/Menu/Menu.rbw
86
122
  - examples/Menu/MenuPARGB32.rbw
87
123
  - examples/Control/Button.rbw
124
+ - examples/Dialog/Dialog.rbw
125
+ - examples/Dialog/DialogApplication.rbw
126
+ - examples/Dialog/FileDialog.rbw
127
+ - examples/UIRibbon/Command.rbw
128
+ - examples/UIRibbon/Minimal.rbw
129
+ - examples/UIRibbon/Viewer.rbw
130
+ - examples/UIRibbon/Command.xml
131
+ - examples/UIRibbon/Minimal.xml
132
+ - examples/UIRibbon/Command.rb
133
+ - examples/UIRibbon/Minimal.rb
134
+ - examples/UIRibbon/Command.dll
135
+ - examples/UIRibbon/Minimal.dll
88
136
  - LICENSE
89
137
  has_rdoc: true
90
138
  homepage:
File without changes