plain_speech_balloon 0.0.32 → 0.0.33

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,10 @@
7
7
  "speech_balloon": {
8
8
  "quotes": "「 」 『 』",
9
9
  "default_width": 150,
10
- "default_height": 150
10
+ "default_height": 150,
11
+ "default_font_size": 1.0,
12
+ "default_text_align": 0,
13
+ "default_fore_color": 0
11
14
  },
12
15
  "all": {
13
16
  "balloon": {
@@ -1 +1 @@
1
- {"plain@pettan.com":{"classname":"PlainSpeechBalloon","caption":"透明","settings":{"speech_balloon":{"quotes":"「 」 『 』","default_width":150,"default_height":150},"all":{"balloon":{"system_picture_id":{"text":"iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAABl0lEQVR4nO3SwQ3AIBDAsNL9dz6WIEJC9gR5ZM3MB6f9twN4k7FIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi8QGS9IEKe20OQwAAAAASUVORK5CYII="}},"speech":{"x_rate":0,"y_rate":0,"width_rate":100,"height_rate":100}}},"system_picture_id":{"text":"iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAABs0lEQVR4nO1bQQ7DIAxrpv2i//9Z+w52qlR1gRZiYjbi4zSYY0LqpJps25aWifFiE2AjBGATYOOtfbiuq3gT8cC+71/1bvoMCAHYBNgIAdgE2AgB2ATYCAHYBNgIAdgE2AgBPH9MRJKIDDWAiQxgE2BjegHUgUgPlO5+bV1IKcEGNiYBWguatRCKSEKJ4JYBFiBP/AqTADXEjlPvGUwLpi+CIQCbQAkeznFYAbwsM+UpMFI/4C5AS/DnNeinSHcB7gLWArpzjcM4wRJyQdSQP3/3vB/SU8CLoFa5WwzTFSklue6DqCVQAbTAW08ptw5dA2ACWE49t0cOuavRAogAiOBr16MyAV4DWomxvIFZAPQzuufV0QDLAEvwTGdoEsDq6q5APzGeAJIBv3r6y+LYDd5ZXtakiNYOW4NHZQ5FAOTJW9d3MUK9gfw9kwA1lhTVJ6DrBrQdrjmZ2r4ebbcPmAU4iPS6Btq+Qw5ESkLU9vGIYcpTwCdCTzs5bcJj2bMVtHeDni1vCUO8HD0yguEGh3kxMp0VHgUhAJsAGyEAmwAb0wug+gDt/3X/iukzIARgE2DjA33Z5f1jQpeIAAAAAElFTkSuQmCC"}}}
1
+ {"plain@pettan.com":{"classname":"PlainSpeechBalloon","caption":"透明","settings":{"speech_balloon":{"quotes":"「 」 『 』","default_width":150,"default_height":150,"default_font_size":1.0,"default_text_align":0,"default_fore_color":0},"all":{"balloon":{"system_picture_id":{"text":"iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAABl0lEQVR4nO3SwQ3AIBDAsNL9dz6WIEJC9gR5ZM3MB6f9twN4k7FIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxS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
1
1
  module PlainSpeechBalloon
2
- VERSION = "0.0.32"
2
+ VERSION = "0.0.33"
3
3
  end
@@ -71,6 +71,9 @@ module PlainSpeechBalloon
71
71
  self.width = s['width_rate']
72
72
  self.height = s['height_rate']
73
73
  self.quotes = ''
74
+ self.font_size = self.parsed_settings['speech_balloon']['default_font_size']
75
+ self.text_align = self.parsed_settings['speech_balloon']['default_text_align']
76
+ self.fore_color = self.parsed_settings['speech_balloon']['default_fore_color']
74
77
  end
75
78
 
76
79
  def extend_speech
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plain_speech_balloon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.32
4
+ version: 0.0.33
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: