~ubuntu-branches/ubuntu/raring/simutrans/raring-proposed

« back to all changes in this revision

Viewing changes to gui/components/gui_textarea.h

  • Committer: Package Import Robot
  • Author(s): Ansgar Burchardt
  • Date: 2011-11-03 19:59:02 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20111103195902-uopgwf488mfctb75
Tags: 111.0-1
* New upstream release.
* debian/rules: Update get-orig-source target for new upstream release.
* Use xz compression for source and binary packages.
* Use override_* targets to simplify debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
#include "gui_komponente.h"
12
12
 
 
13
class cbuffer_t;
13
14
 
14
15
/**
15
16
 * Eine textanzeigekomponente
23
24
        * The text to display. May be multi-lined.
24
25
        * @autor Hj. Malthaner
25
26
        */
26
 
        const char *text;
 
27
        cbuffer_t* buf;
27
28
 
28
29
        // we cache the number of lines, to dynamically recalculate the size, if needed
29
30
        uint16  lines;
30
31
 
31
32
public:
32
 
        gui_textarea_t(const char *text);
33
 
 
34
 
        void set_text(const char *text);
 
33
        gui_textarea_t(cbuffer_t* buf_);
35
34
 
36
35
        /**
37
36
         * recalc the current size, needed for speculative size calculations