mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
uh... forgot something
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4294 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
26349384b2
commit
c0a9275323
@ -417,28 +417,22 @@ char const ** get_pixmap_from_symbol(char const * arg, int wx, int hx)
|
||||
if (!l)
|
||||
return 0;
|
||||
|
||||
switch (l->token) {
|
||||
case LM_TK_FRAC:
|
||||
if (l->inset == "frac")
|
||||
data = mathed_get_pixmap_from_icon(MM_FRAC);
|
||||
break;
|
||||
case LM_TK_SQRT:
|
||||
else if (l->inset == "sqrt")
|
||||
data = mathed_get_pixmap_from_icon(MM_SQRT);
|
||||
break;
|
||||
case LM_TK_SYM:
|
||||
case LM_TK_CMR:
|
||||
case LM_TK_CMSY:
|
||||
case LM_TK_CMEX:
|
||||
case LM_TK_CMM:
|
||||
case LM_TK_MSA:
|
||||
case LM_TK_MSB:
|
||||
else if (
|
||||
l->inset == "lyxsymb" ||
|
||||
l->inset == "cmr" ||
|
||||
l->inset == "cmsy" ||
|
||||
l->inset == "cmex" ||
|
||||
l->inset == "cmm" ||
|
||||
l->inset == "msa" ||
|
||||
l->inset == "msb" )
|
||||
// I have to use directly the bitmap data since the
|
||||
// bitmap tables are not yet created when this
|
||||
// function is called.
|
||||
data = pixmapFromBitmapData(arg, wx, hx);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return data;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user