• 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 defs:int

79 wxColor wxAuiStepColour(const wxColor& c, int percent);
81 wxBitmap wxAuiBitmapFromBits(const unsigned char bits[], int w, int h,
84 wxString wxAuiChopText(wxDC& dc, const wxString& text, int max_size);
90 int button_state)
114 static void IndentPressedBitmap(wxRect* rect, int button_state)
123 static void DrawFocusRect(wxWindow* win, wxDC& dc, const wxRect& rect, int flags)
249 int GetCommandId() const { return m_last_id; }
266 int m_last_id;
374 void wxAuiDefaultTabArt::SetFlags(unsigned int flags)
384 int tot_width = (int)tab_ctrl_size.x - GetIndentSize() - 4;
393 m_fixed_tab_width = tot_width/(int)tab_count;
429 int y = rect.GetHeight();
430 int w = rect.GetWidth();
460 int close_button_state,
463 int* x_extent)
514 int clip_width = tab_width;
561 int drawn_tab_yoff = border_points[1].y;
562 int drawn_tab_height = border_points[0].y - border_points[1].y;
648 int text_offset = tab_x + 8;
649 int close_button_width = 0;
656 int bitmap_offset = 0;
696 int offsetY = tab_y-1;
743 int wxAuiDefaultTabArt::GetIndentSize()
753 int close_button_state,
754 int* x_extent)
797 int bitmap_id,
798 int button_state,
799 int orientation,
860 int wxAuiDefaultTabArt::ShowDropDown(wxWindow* wnd,
862 int active_idx)
896 int command = cc->GetCommandId();
905 int wxAuiDefaultTabArt::GetBestTabCtrlSize(wxWindow* wnd,
923 int max_y = 0;
939 int x_ext = 0;
1018 void wxAuiSimpleTabArt::SetFlags(unsigned int flags)
1028 int tot_width = (int)tab_ctrl_size.x - GetIndentSize() - 4;
1037 m_fixed_tab_width = tot_width/(int)tab_count;
1079 int close_button_state,
1082 int* x_extent)
1162 int text_offset;
1164 int close_button_width = 0;
1227 int wxAuiSimpleTabArt::GetIndentSize()
1237 int close_button_state,
1238 int* x_extent)
1265 int bitmap_id,
1266 int button_state,
1267 int orientation,
1327 int wxAuiSimpleTabArt::ShowDropDown(wxWindow* wnd,
1329 int active_idx)
1362 int command = cc->GetCommandId();
1371 int wxAuiSimpleTabArt::GetBestTabCtrlSize(wxWindow* wnd,
1377 int x_ext = 0;
1452 void wxAuiTabContainer::SetFlags(unsigned int flags)
1485 unsigned int wxAuiTabContainer::GetFlags() const
1559 int idx = GetIdxFromWindow(page);
1638 int wxAuiTabContainer::GetActivePage() const
1659 int wxAuiTabContainer::GetIdxFromWindow(wxWindow* wnd) const
1695 void wxAuiTabContainer::AddButton(int id,
1696 int location,
1710 void wxAuiTabContainer::RemoveButton(int id)
1767 int total_width = 0;
1768 int visible_width = 0;
1783 int x_extent = 0;
1848 if (visible_width < m_rect.GetWidth() - ((int)button_count*16))
1861 int left_buttons_width = 0;
1862 int right_buttons_width = 0;
1864 int offset = 0;
1954 int active_offset = 0;
1958 int x_extent = 0;
2054 bool wxAuiTabContainer::IsTabVisible(int tabPage, int tabOffset, wxDC* dc, wxWindow* wnd)
2069 int arrowButtonVisibleCount = 0;
2090 int left_buttons_width = 0;
2091 int right_buttons_width = 0;
2093 int offset = 0;
2149 int x_extent = 0;
2177 void wxAuiTabContainer::MakeTabVisible(int tabPage, wxWindow* win)
2182 int i;
2183 for (i = 0; i < (int) m_pages.GetCount(); i++)
2198 bool wxAuiTabContainer::TabHitTest(int x, int y, wxWindow** hit) const
2228 bool wxAuiTabContainer::ButtonHitTest(int x, int y,
2394 int new_selection = GetIdxFromWindow(wnd);
2590 int drag_x_threshold = wxSystemSettings::GetMetric(wxSYS_DRAG_X);
2591 int drag_y_threshold = wxSystemSettings::GetMetric(wxSYS_DRAG_Y);
2619 int button = event.GetInt();
2641 int idx = GetArtProvider()->ShowDropDown(this, m_pages, GetActivePage());
2681 int key = event.GetKeyCode();
2734 int newPage = -1;
2736 int forwardKey, backwardKey;
2754 else if (GetActivePage() < (int) (m_pages.GetCount() - 1))
2763 newPage = (int) (m_pages.GetCount() - 1);
2774 newPage = (int) (m_pages.GetCount() - 1);
2815 void SetTabCtrlHeight(int h)
2820 void DoSetSize(int x, int y,
2821 int width, int height,
2822 int WXUNUSED(sizeFlags = wxSIZE_AUTO))
2828 void DoGetClientSize(int* x, int* y) const
2891 void DoGetSize(int* x, int* y) const
2909 int m_tab_ctrl_height;
2913 const int wxAuiBaseTabCtrlId = 5380;
2997 m_flags = (unsigned int)style;
3045 void wxAuiNotebook::SetTabCtrlHeight(int height)
3080 int height = CalculateTabCtrlHeight();
3125 int tab_ctrl_count = 0;
3156 int wxAuiNotebook::CalculateTabCtrlHeight()
3182 m_flags = (unsigned int)style;
3258 if(m_curpage >= (int) page_idx)
3263 int idx = m_tabs.GetIdxFromWindow(page);
3329 int ctrl_idx;
3333 bool is_curpage = (m_curpage == (int)page_idx);
3346 int ctrl_new_page_count = (int)ctrl->GetPageCount();
3351 if (ctrl_idx >= 0 && ctrl_idx < (int)ctrl->GetPageCount())
3404 int wxAuiNotebook::GetPageIndex(wxWindow* page_wnd) const
3423 int ctrl_idx;
3460 int ctrl_idx;
3484 int wxAuiNotebook::GetSelection() const
3498 if ((int)new_page == m_curpage)
3501 int ctrl_idx;
3516 int old_curpage = m_curpage;
3525 int ctrl_idx;
3599 if (m_curpage >= 0 && m_curpage < (int)m_tabs.GetPageCount())
3602 int idx;
3645 bool wxAuiNotebook::FindTab(wxWindow* page, wxAuiTabCtrl** ctrl, int* idx)
3656 int page_idx = tabframe->m_tabs->GetIdxFromWindow(page);
3668 void wxAuiNotebook::Split(size_t page, int direction)
3683 int src_idx = -1;
3799 int idx = m_tabs.GetIdxFromWindow(wnd);
3864 int src_idx = evt.GetSelection();
3865 int dest_idx = dest_tabs->GetIdxFromWindow(dest_location_tab);
4022 int src_idx = evt.GetSelection();
4037 int main_idx = m_tabs.GetIdxFromWindow(src_page);
4054 int insert_idx = -1;
4096 int insert_idx = -1;
4308 int idx = m_tabs.GetIdxFromWindow(evt.GetWindow());
4395 int button_id = evt.GetInt();
4399 int selection = evt.GetSelection();
4414 const int idx = m_tabs.GetIdxFromWindow(close_wnd);
4431 int main_idx = m_tabs.GetIdxFromWindow(close_wnd);
4546 int wxAuiNotebook::GetTabCtrlHeight() const
4552 int wxAuiNotebook::GetHeightForPageHeight(int pageHeight)
4556 int tabCtrlHeight = GetTabCtrlHeight();
4557 int decorHeight = 2;
4567 int currentSelection = GetSelection();
4571 if (currentSelection == (int) (GetPageCount() - 1))
4594 int idx = tabCtrl->GetArtProvider()->ShowDropDown(tabCtrl, tabCtrl->GetPages(), tabCtrl->GetActivePage());