Patch level : 10.0
Files correlati : cg3 Ricompilazione Demo : [ ] Commento : Corretta gestione maschera colori git-svn-id: svn://10.65.10.50/trunk@18899 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
9b2efdedb9
commit
01e68ca1b1
@ -29,7 +29,6 @@ public:
|
||||
bool get_color(const char* key, COLOR& back, COLOR& fore) const;
|
||||
|
||||
TSelect_color_mask(const char* mask_name, const char* para = NULL);
|
||||
// TSelect_color_mask(const TSheet_field& field);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -192,7 +192,9 @@ bool TSelect_color_mask::get_color(const char* key, COLOR & back, COLOR & fore)
|
||||
void TSelect_color_mask::init(const char* mask_name, const char* para)
|
||||
{
|
||||
const TFilename fn(mask_name);
|
||||
_paragraph << fn.name_only() << '_' << para;
|
||||
_paragraph << fn.name_only();
|
||||
if (para && *para)
|
||||
_paragraph << '_' << para;
|
||||
_paragraph.lower();
|
||||
}
|
||||
|
||||
@ -220,18 +222,6 @@ void TSelect_color_mask::save() const
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
TSelect_color_mask::TSelect_color_mask(const TSheet_field & field) : TAutomask("bagn007")
|
||||
{
|
||||
const TMask& m = field.mask();
|
||||
TString16 para("Colors");
|
||||
const int num = field.sheet_mask().number() - 1;
|
||||
if (num > 0)
|
||||
para << num;
|
||||
init(m.source_file(), para);
|
||||
}
|
||||
*/
|
||||
|
||||
TSelect_color_mask::TSelect_color_mask(const char* mask_name, const char* para)
|
||||
: TAutomask("bagn007")
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user