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

Lines Matching refs:tool

594     // if the tool has a dropdown button, add it to the width
1169 // apply tool packing
1476 wxAuiToolBarItem* tool = FindTool(tool_id);
1478 if (tool && (tool->kind == wxITEM_CHECK || tool->kind == wxITEM_RADIO))
1480 if (tool->kind == wxITEM_RADIO)
1502 tool->state |= wxAUI_BUTTON_STATE_CHECKED;
1504 else if (tool->kind == wxITEM_CHECK)
1507 tool->state |= wxAUI_BUTTON_STATE_CHECKED;
1509 tool->state &= ~wxAUI_BUTTON_STATE_CHECKED;
1516 wxAuiToolBarItem* tool = FindTool(tool_id);
1518 if (tool)
1520 if ( (tool->kind != wxITEM_CHECK) && (tool->kind != wxITEM_RADIO) )
1523 return (tool->state & wxAUI_BUTTON_STATE_CHECKED) ? true : false;
1531 wxAuiToolBarItem* tool = FindTool(tool_id);
1533 if (tool)
1536 tool->state &= ~wxAUI_BUTTON_STATE_DISABLED;
1538 tool->state |= wxAUI_BUTTON_STATE_DISABLED;
1544 wxAuiToolBarItem* tool = FindTool(tool_id);
1546 if (tool)
1547 return (tool->state & wxAUI_BUTTON_STATE_DISABLED) ? false : true;
1554 wxAuiToolBarItem* tool = FindTool(tool_id);
1555 wxASSERT_MSG(tool, wxT("can't find tool in toolbar item array"));
1556 if (!tool)
1559 return tool->label;
1564 wxAuiToolBarItem* tool = FindTool(tool_id);
1565 if (tool)
1567 tool->label = label;
1573 wxAuiToolBarItem* tool = FindTool(tool_id);
1574 wxASSERT_MSG(tool, wxT("can't find tool in toolbar item array"));
1575 if (!tool)
1578 return tool->bitmap;
1583 wxAuiToolBarItem* tool = FindTool(tool_id);
1584 if (tool)
1586 tool->bitmap = bitmap;
1592 wxAuiToolBarItem* tool = FindTool(tool_id);
1593 wxASSERT_MSG(tool, wxT("can't find tool in toolbar item array"));
1594 if (!tool)
1597 return tool->short_help;
1602 wxAuiToolBarItem* tool = FindTool(tool_id);
1603 if (tool)
1605 tool->short_help = help_string;
1611 wxAuiToolBarItem* tool = FindTool(tool_id);
1612 wxASSERT_MSG(tool, wxT("can't find tool in toolbar item array"));
1613 if (!tool)
1616 return tool->long_help;
1621 wxAuiToolBarItem* tool = FindTool(tool_id);
1622 if (tool)
1624 tool->long_help = help_string;
1702 wxAuiToolBarItem* tool = FindTool(tool_id);
1703 if (tool && tool->sizer_item)
1705 return tool->sizer_item->GetRect();
1719 // entire toolbar content fits if the last tool fits
1793 // add tool packing
1809 // add tool packing
1861 // add tool packing
2204 // paint each individual tool
2368 // fire the tool dropdown event