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:
parent
7d23c35655
commit
8b6153b4c2
@ -226,6 +226,7 @@ public:
|
|||||||
virtual void set_caption(const char* c);
|
virtual void set_caption(const char* c);
|
||||||
|
|
||||||
void set_bmp(short up, short dn);
|
void set_bmp(short up, short dn);
|
||||||
|
void set_central_icon(unsigned int hicon);
|
||||||
char mnemonic() const;
|
char mnemonic() const;
|
||||||
|
|
||||||
TPushbutton_control(WINDOW win, short cid,
|
TPushbutton_control(WINDOW win, short cid,
|
||||||
|
@ -2264,23 +2264,6 @@ bool TMask::kill_profile(int num)
|
|||||||
return ok;
|
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
|
const char* TMask::get_caption(TString& str) const
|
||||||
{
|
{
|
||||||
char* title = str.get_buffer(128);
|
char* title = str.get_buffer(128);
|
||||||
|
@ -131,7 +131,7 @@ class TSpreadsheet : public TControl
|
|||||||
// @access:(INTERNAL) Private Member
|
// @access:(INTERNAL) Private Member
|
||||||
// @cmember:(INTERNAL) costanti
|
// @cmember:(INTERNAL) costanti
|
||||||
enum {MAX_COL=96};
|
enum {MAX_COL=96};
|
||||||
static int NUMBER_WIDTH;
|
static int ROW_NUMBER_WIDTH;
|
||||||
|
|
||||||
// @cmember:(INTERNAL) Array di TToken_strings contenenti le righe
|
// @cmember:(INTERNAL) Array di TToken_strings contenenti le righe
|
||||||
TString_array _str;
|
TString_array _str;
|
||||||
|
@ -370,7 +370,7 @@ public:
|
|||||||
void set_draw_size(long x, long y);
|
void set_draw_size(long x, long y);
|
||||||
|
|
||||||
const TRectangle& compute_draw_rect(const TBook& book);
|
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);
|
void set_groups(const TString& groups);
|
||||||
const TString& groups() const;
|
const TString& groups() const;
|
||||||
|
@ -127,7 +127,7 @@ bool finisce_per_punto(const TString& str)
|
|||||||
void advanced_draw_paragraph(TWindow& win, const TString_array& para, const RCT& rct,
|
void advanced_draw_paragraph(TWindow& win, const TString_array& para, const RCT& rct,
|
||||||
char halign, char valign, int default_10row_height)
|
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;
|
int leading, ascent, descent;
|
||||||
xvt_dwin_get_font_metrics(win.win(), &leading, &ascent, &descent);
|
xvt_dwin_get_font_metrics(win.win(), &leading, &ascent, &descent);
|
||||||
|
@ -1316,8 +1316,8 @@ void TViswin::on_button(short dlg)
|
|||||||
dispatch_e_menu(win(), M_VISWIN_PRINT);
|
dispatch_e_menu(win(), M_VISWIN_PRINT);
|
||||||
break;
|
break;
|
||||||
case DLG_PDF:
|
case DLG_PDF:
|
||||||
xvt_statbar_set ("");
|
xvtil_statbar_set ("");
|
||||||
xvt_statbar_refresh ();
|
xvtil_statbar_refresh ();
|
||||||
stop_run(CTRL_P);
|
stop_run(CTRL_P);
|
||||||
break;
|
break;
|
||||||
case DLG_EDIT:
|
case DLG_EDIT:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user