xlib 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc3a03271889c5aa4ae3003f6e8211af0aa6b3b9
4
- data.tar.gz: 26509fee72312844a2d4167a3f2428ad87df0d78
3
+ metadata.gz: cc197654df1f3aafec2b8741bb2427f0b07af14d
4
+ data.tar.gz: 8d83d2782a61b7de1eba7328d2564318b9366e70
5
5
  SHA512:
6
- metadata.gz: d7c494612beee8a56865aca1ac4bad301cb4936a360fdcc00915a7247d5bcf59a8c1afc4aba11651d1b59c8dd78a6146c1162a5902c7d8603deeb89964dd5602
7
- data.tar.gz: b1f5e2b0a54302fd29d03995b323e1a90dc6f310f91da6df1db2270cd1dc20095112f4c4c799850ea9b6e6ead8c21a00a8608e59f35ed06f05baa1e0bac2c54a
6
+ metadata.gz: 548655b61681eb889243f009f97c67491b25a687d2dc9932050f0b344eaef29a81c9e82ea2a923a82d99400f1ee3ee9526fc15caba01f21f69e784c81e86b918
7
+ data.tar.gz: 118aafc173891ffa1b7d07b6a81b9aca2237c1bc7f8f84c36564c93634e7f6bd1daea10b288cd1bc577a0f7743dd696fad6c507b4ab36964502b5e0eba03b843
@@ -0,0 +1,27 @@
1
+ #
2
+ # Copyleft meh. [http://meh.paranoid.pk | meh@paranoici.org]
3
+ # Copyright (c) 2014, Christopher Aue <mail@christopheraue.net>
4
+ #
5
+ # This file is part of the ruby xlib gem. It is subject to the license terms in
6
+ # the LICENSE file found in the top-level directory of this distribution and at
7
+ # http://github.com/christopheraue/ruby-xlib.
8
+ #
9
+
10
+ class Xlib::SetWindowAttributes < FFI::Struct
11
+ layout \
12
+ :background_pixmap, :Pixmap,
13
+ :background_pixel, :ulong,
14
+ :border_pixmap, :Pixmap,
15
+ :border_pixel, :ulong,
16
+ :bit_gravity, :int,
17
+ :win_gravity, :int,
18
+ :backing_store, :int,
19
+ :backing_planes, :ulong,
20
+ :backing_pixel, :ulong,
21
+ :save_under, :Bool,
22
+ :event_mask, :long,
23
+ :do_not_propagate_mask, :long,
24
+ :override_redirect, :Bool,
25
+ :colormap, :Colormap,
26
+ :cursor, :Cursor
27
+ end
data/lib/xlib/types.rb CHANGED
@@ -33,6 +33,7 @@ require_relative 'struct/gc'
33
33
  require_relative 'struct/gc_values'
34
34
  require_relative 'struct/screen'
35
35
  require_relative 'struct/window_attributes'
36
+ require_relative 'struct/set_window_attributes'
36
37
  require_relative 'struct/visual'
37
38
  require_relative 'struct/point'
38
39
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Aue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-15 00:00:00.000000000 Z
11
+ date: 2015-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -131,6 +131,7 @@ files:
131
131
  - lib/xlib/struct/selection_clear_event.rb
132
132
  - lib/xlib/struct/selection_event.rb
133
133
  - lib/xlib/struct/selection_request_event.rb
134
+ - lib/xlib/struct/set_window_attributes.rb
134
135
  - lib/xlib/struct/unmap_event.rb
135
136
  - lib/xlib/struct/visibility_event.rb
136
137
  - lib/xlib/struct/visual.rb