Patch level : 4.0 451

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :

Riportata la versione 3.1 650


git-svn-id: svn://10.65.10.50/trunk@14153 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2006-07-11 15:01:09 +00:00
parent 7d23c35655
commit 8b6153b4c2
6 changed files with 6 additions and 22 deletions

View File

@ -226,6 +226,7 @@ public:
virtual void set_caption(const char* c);
void set_bmp(short up, short dn);
void set_central_icon(unsigned int hicon);
char mnemonic() const;
TPushbutton_control(WINDOW win, short cid,

View File

@ -2264,23 +2264,6 @@ bool TMask::kill_profile(int num)
return ok;
}
bool TMask::kill_profile(int num)
{
TFilename prof;
make_profile_name(prof);
TConfig ini(prof, "Main");
if (num <= 0)
num = ini.get_int(user());
TString16 name; name << num;
const bool ok = ini.set_paragraph(name);
if (ok)
ini.remove_all();
return ok;
}
const char* TMask::get_caption(TString& str) const
{
char* title = str.get_buffer(128);

View File

@ -131,7 +131,7 @@ class TSpreadsheet : public TControl
// @access:(INTERNAL) Private Member
// @cmember:(INTERNAL) costanti
enum {MAX_COL=96};
static int NUMBER_WIDTH;
static int ROW_NUMBER_WIDTH;
// @cmember:(INTERNAL) Array di TToken_strings contenenti le righe
TString_array _str;

View File

@ -370,7 +370,7 @@ public:
void set_draw_size(long x, long y);
const TRectangle& compute_draw_rect(const TBook& book);
const TRectangle& get_draw_rect() const { return _draw_rct; }
const TRectangle& get_draw_rect() const;
void set_groups(const TString& groups);
const TString& groups() const;

View File

@ -127,7 +127,7 @@ bool finisce_per_punto(const TString& str)
void advanced_draw_paragraph(TWindow& win, const TString_array& para, const RCT& rct,
char halign, char valign, int default_10row_height)
{
const bool acapo = para.find('\n') >= 0;
const bool acapo = para.find("\n") >= 0;
int leading, ascent, descent;
xvt_dwin_get_font_metrics(win.win(), &leading, &ascent, &descent);

View File

@ -1316,8 +1316,8 @@ void TViswin::on_button(short dlg)
dispatch_e_menu(win(), M_VISWIN_PRINT);
break;
case DLG_PDF:
xvt_statbar_set ("");
xvt_statbar_refresh ();
xvtil_statbar_set ("");
xvtil_statbar_refresh ();
stop_run(CTRL_P);
break;
case DLG_EDIT: