1 class Pettanr.Speech extends Peta.Element
\r
16 @text_align_texts: () ->
\r
17 ['left', 'left', 'right', 'center']
\r
19 symbol_option: () ->
\r
20 @speech_balloon().speech_balloon_template().symbol_option()
\r
24 top: @get('y'), left: @get('x'),
\r
25 width: @get('width'), height: @get('height')
\r
30 'font-size': Pettanr.to_s(@get('font_size')) + 'em',
\r
31 'text-align': @text_align_text(),
\r
32 color: '#' + ('000000' + Pettanr.to_s(@get('fore_color'))).slice(-6)
\r
35 text_align_text: () ->
\r
36 Pettanr.Speech.text_align_texts()[@get('text_align')]
\r
42 class Pettanr.Speech.Collection extends Backbone.Collection
\r
43 model: Pettanr.Speech
\r