• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/src/deprecated/

Lines Matching refs:expr

94 wxItemResource *wxResourceInterpretDialog(wxResourceTable& table, wxExpr *expr, bool isPanel = false);
95 wxItemResource *wxResourceInterpretControl(wxResourceTable& table, wxExpr *expr);
96 wxItemResource *wxResourceInterpretMenu(wxResourceTable& table, wxExpr *expr);
97 wxItemResource *wxResourceInterpretMenuBar(wxResourceTable& table, wxExpr *expr);
98 wxItemResource *wxResourceInterpretString(wxResourceTable& table, wxExpr *expr);
99 wxItemResource *wxResourceInterpretBitmap(wxResourceTable& table, wxExpr *expr);
100 wxItemResource *wxResourceInterpretIcon(wxResourceTable& table, wxExpr *expr);
102 wxFont wxResourceInterpretFontSpec(wxExpr *expr);
652 wxItemResource *wxResourceInterpretDialog(wxResourceTable& table, wxExpr *expr, bool isPanel)
675 expr->GetAttributeValue(wxT("style"), style);
676 expr->GetAttributeValue(wxT("name"), name);
677 expr->GetAttributeValue(wxT("title"), title);
678 expr->GetAttributeValue(wxT("x"), x);
679 expr->GetAttributeValue(wxT("y"), y);
680 expr->GetAttributeValue(wxT("width"), width);
681 expr->GetAttributeValue(wxT("height"), height);
682 expr->GetAttributeValue(wxT("modal"), isModal);
683 expr->GetAttributeValue(wxT("label_font"), &labelFontExpr);
684 expr->GetAttributeValue(wxT("button_font"), &buttonFontExpr);
685 expr->GetAttributeValue(wxT("font"), &fontExpr);
686 expr->GetAttributeValue(wxT("background_colour"), backColourHex);
687 expr->GetAttributeValue(wxT("label_colour"), labelColourHex);
688 expr->GetAttributeValue(wxT("button_colour"), buttonColourHex);
691 expr->GetAttributeValue(wxT("use_dialog_units"), useDialogUnits);
696 expr->GetAttributeValue(wxT("use_system_defaults"), useDefaults);
701 expr->GetAttributeValue(wxT("id"), id);
773 wxExpr *controlExpr = expr->GetFirst();
798 wxItemResource *wxResourceInterpretControl(wxResourceTable& table, wxExpr *expr)
814 wxExpr *expr1 = expr->Nth(0);
837 controlType = expr->Nth(1)->StringValue();
846 controlType = expr->Nth(1)->StringValue();
850 expr1 = expr->Nth(count);
855 expr1 = expr->Nth(count);
863 expr1 = expr->Nth(count);
868 expr1 = expr->Nth(count);
873 expr1 = expr->Nth(count);
878 expr1 = expr->Nth(count);
883 expr1 = expr->Nth(count);
904 if (expr->Nth(count) && ((expr->Nth(count)->Type() == PrologString) || (expr->Nth(count)->Type() == PrologWord)))
906 wxString str(expr->Nth(count)->StringValue());
915 if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
916 controlItem->SetFont(wxResourceInterpretFontSpec(expr->Nth(count)));
921 if (expr->Nth(count) && ((expr->Nth(count)->Type() == PrologString) || (expr->Nth(count)->Type() == PrologWord)))
923 wxString str(expr->Nth(count)->StringValue());
926 if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
927 controlItem->SetFont(wxResourceInterpretFontSpec(expr->Nth(count)));
933 if (expr->Nth(count) && (expr->Nth(count)->Type() == PrologInteger))
935 controlItem->SetValue1(expr->Nth(count)->IntegerValue());
937 if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
938 controlItem->SetFont(wxResourceInterpretFontSpec(expr->Nth(count)));
945 if (expr->Nth(count) && (expr->Nth(count)->Type() == PrologInteger))
947 controlItem->SetValue1(expr->Nth(count)->IntegerValue());
949 if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
950 controlItem->SetFont(wxResourceInterpretFontSpec(expr->Nth(count)));
957 if (expr->Nth(count) && ((expr->Nth(count)->Type() == PrologString) || (expr->Nth(count)->Type() == PrologWord)))
959 wxString str(expr->Nth(count)->StringValue());
963 if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
965 // controlItem->SetLabelFont(wxResourceInterpretFontSpec(expr->Nth(count)));
967 if (expr->Nth(count+1) && expr->Nth(count+1)->Type() == PrologList)
969 controlItem->SetFont(wxResourceInterpretFontSpec(expr->Nth(count)));
976 if (expr->Nth(count) && ((expr->Nth(count)->Type() == PrologString) || (expr->Nth(count)->Type() == PrologWord)))
978 wxString str(expr->Nth(count)->StringValue());
983 if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
984 controlItem->SetFont(wxResourceInterpretFontSpec(expr->Nth(count)));
989 if (expr->Nth(count) && ((expr->Nth(count)->Type() == PrologString) || (expr->Nth(count)->Type() == PrologWord)))
991 wxString str(expr->Nth(count)->StringValue());
995 if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
996 controlItem->SetFont(wxResourceInterpretFontSpec(expr->Nth(count)));
1000 if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
1001 controlItem->SetFont(wxResourceInterpretFontSpec(expr->Nth(count)));
1006 if (expr->Nth(count) && (expr->Nth(count)->Type() == PrologInteger))
1008 controlItem->SetValue1(expr->Nth(count)->IntegerValue());
1012 if (expr->Nth(count) && (expr->Nth(count)->Type() == PrologInteger))
1014 controlItem->SetValue2(expr->Nth(count)->IntegerValue());
1017 if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
1020 if (expr->Nth(count+1) && expr->Nth(count+1)->Type() == PrologList)
1022 controlItem->SetFont(wxResourceInterpretFontSpec(expr->Nth(count)));
1030 if (expr->Nth(count) && (expr->Nth(count)->Type() == PrologInteger))
1032 controlItem->SetValue1(expr->Nth(count)->IntegerValue());
1036 if (expr->Nth(count) && (expr->Nth(count)->Type() == PrologInteger))
1038 controlItem->SetValue2(expr->Nth(count)->IntegerValue());
1042 if (expr->Nth(count) && (expr->Nth(count)->Type() == PrologInteger))
1044 controlItem->SetValue3(expr->Nth(count)->IntegerValue());
1047 if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
1049 // controlItem->SetLabelFont(wxResourceInterpretFontSpec(expr->Nth(count)));
1053 if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
1054 controlItem->SetFont(wxResourceInterpretFontSpec(expr->Nth(count)));
1063 if (expr->Nth(count) && (expr->Nth(count)->Type() == PrologInteger))
1065 controlItem->SetValue1(expr->Nth(count)->IntegerValue());
1069 if (expr->Nth(count) && (expr->Nth(count)->Type() == PrologInteger))
1071 controlItem->SetValue2(expr->Nth(count)->IntegerValue());
1075 if (expr->Nth(count) && (expr->Nth(count)->Type() == PrologInteger))
1077 controlItem->SetValue3(expr->Nth(count)->IntegerValue());
1081 if (expr->Nth(count) && (expr->Nth(count)->Type() == PrologInteger))
1082 controlItem->SetValue5(expr->Nth(count)->IntegerValue());
1091 if (((valueList = expr->Nth(count)) != 0) && (valueList->Type() == PrologList))
1108 if (((mult = expr->Nth(count)) != 0) && ((mult->Type() == PrologString)||(mult->Type() == PrologWord)))
1120 if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
1123 if (expr->Nth(count+1) && expr->Nth(count+1)->Type() == PrologList)
1125 controlItem->SetFont(wxResourceInterpretFontSpec(expr->Nth(count)));
1133 if (((valueList = expr->Nth(count)) != 0) && (valueList->Type() == PrologList))
1146 if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
1149 if (expr->Nth(count+1) && expr->Nth(count+1)->Type() == PrologList)
1151 controlItem->SetFont(wxResourceInterpretFontSpec(expr->Nth(count)));
1158 wxExpr *textValue = expr->Nth(count);
1168 if (((valueList = expr->Nth(count)) != 0) && (valueList->Type() == PrologList))
1181 if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
1184 if (expr->Nth(count+1) && expr->Nth(count+1)->Type() == PrologList)
1186 controlItem->SetFont(wxResourceInterpretFontSpec(expr->Nth(count)));
1197 if (((valueList = expr->Nth(count)) != 0) && (valueList->Type() == PrologList))
1210 if (expr->Nth(count) && (expr->Nth(count)->Type() == PrologInteger))
1212 controlItem->SetValue1(expr->Nth(count)->IntegerValue());
1218 if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
1221 if (expr->Nth(count+1) && expr->Nth(count+1)->Type() == PrologList)
1223 controlItem->SetFont(wxResourceInterpretFontSpec(expr->Nth(count)));
1237 wxItemResource *wxResourceInterpretMenu1(wxResourceTable& table, wxExpr *expr);
1243 wxItemResource *wxResourceInterpretMenuItem(wxResourceTable& table, wxExpr *expr)
1247 wxExpr *labelExpr = expr->Nth(0);
1248 wxExpr *idExpr = expr->Nth(1);
1249 wxExpr *helpExpr = expr->Nth(2);
1250 wxExpr *checkableExpr = expr->Nth(3);
1253 if (expr->Number() == 0)
1295 wxExpr *subMenuExpr = expr->GetFirst();
1313 wxItemResource *wxResourceInterpretMenu1(wxResourceTable& table, wxExpr *expr)
1318 wxExpr *element = expr->GetFirst();
1330 wxItemResource *wxResourceInterpretMenu(wxResourceTable& table, wxExpr *expr)
1333 expr->GetAttributeValue(wxT("menu"), &listExpr);
1343 if (expr->GetAttributeValue(wxT("name"), name))
1351 wxItemResource *wxResourceInterpretMenuBar(wxResourceTable& table, wxExpr *expr)
1354 expr->GetAttributeValue(wxT("menu"), &listExpr);
1371 if (expr->GetAttributeValue(wxT("name"), name))
1379 wxItemResource *wxResourceInterpretString(wxResourceTable& WXUNUSED(table), wxExpr *WXUNUSED(expr))
1384 wxItemResource *wxResourceInterpretBitmap(wxResourceTable& WXUNUSED(table), wxExpr *expr)
1390 if (expr->GetAttributeValue(wxT("name"), name))
1395 wxExpr *bitmapExpr = expr->GetFirst();
1465 wxItemResource *wxResourceInterpretIcon(wxResourceTable& table, wxExpr *expr)
1467 wxItemResource *item = wxResourceInterpretBitmap(table, expr);
1479 wxFont wxResourceInterpretFontSpec(wxExpr *expr)
1481 if (expr->Type() != PrologList)
1491 wxExpr *pointExpr = expr->Nth(0);
1492 wxExpr *familyExpr = expr->Nth(1);
1493 wxExpr *styleExpr = expr->Nth(2);
1494 wxExpr *weightExpr = expr->Nth(3);
1495 wxExpr *underlineExpr = expr->Nth(4);
1496 wxExpr *faceNameExpr = expr->Nth(5);