Project

General

Profile

Revision 242027ca src/fox/lib/modules/accounts/fm_accaccpage.cpp

View differences:

src/fox/lib/modules/accounts/fm_accaccpage.cpp
57 57

  
58 58

  
59 59

  
60
FXIMPLEMENT(FM_AccountAccPage, FXVerticalFrame,
61
            FM_AccountAccPageMap, ARRAYNUMBER(FM_AccountAccPageMap))
60
FXIMPLEMENT(FM_AccountAccPage, FF_ModTabPage, FM_AccountAccPageMap, ARRAYNUMBER(FM_AccountAccPageMap))
62 61

  
63 62

  
64 63

  
65 64

  
66 65

  
67 66

  
68
FM_AccountAccPage::FM_AccountAccPage(FM_AccountPage *mainPage,
69
                                     FXComposite *p,
67
FM_AccountAccPage::FM_AccountAccPage(const FXString &pageId,
68
                                     FM_AccountPage *mainPage,
70 69
                                     FXuint opts,
71 70
                                     FXint x, FXint y, FXint w, FXint h)
72
  :FXVerticalFrame(p, opts, x, y, w, h)
73
  , m_mainPage(mainPage)
74
  , m_accountTree(NULL)
75
  , m_accounts(NULL)
71
:FF_ModTabPage(pageId, mainPage, opts, x, y, w, h)
72
, m_mainPage(mainPage)
73
, m_accountTree(NULL)
74
, m_accounts(NULL)
76 75
{
76
  FXVerticalFrame *vf;
77 77
  FXHorizontalFrame *hf;
78 78

  
79 79
  flags|=FLAG_ENABLED|FLAG_SHOWN;
80 80

  
81
  hf=new FXHorizontalFrame(this, LAYOUT_FILL_X);
81
  vf=new FXVerticalFrame(this, LAYOUT_FILL_X|LAYOUT_FILL_Y);
82
  hf=new FXHorizontalFrame(vf, LAYOUT_FILL_X);
82 83
  new FXLabel(hf, I18N("Filter"), NULL, LABEL_NORMAL | JUSTIFY_LEFT);
83 84
  m_matcher=new FXTextField(hf, 64, this, ID_MATCHER, TEXTFIELD_NORMAL);
84 85

  
85
  hf=new FXHorizontalFrame(this, LAYOUT_FILL_X | LAYOUT_FILL_Y);
86
  hf=new FXHorizontalFrame(vf, LAYOUT_FILL_X | LAYOUT_FILL_Y);
86 87
  m_accountTree=new FF_AccountTree(hf, this, ID_ACCOUNT_TREE,
87 88
                                   LAYOUT_SIDE_LEFT |
88 89
                                   LAYOUT_FILL_X | LAYOUT_FILL_Y |
......
97 98

  
98 99

  
99 100
FM_AccountAccPage::FM_AccountAccPage()
100
  :FXVerticalFrame()
101
  , m_mainPage(NULL)
102
  , m_accountTree(NULL)
103
  , m_accounts(NULL)
101
:FF_ModTabPage()
102
, m_mainPage(NULL)
103
, m_accountTree(NULL)
104
, m_accounts(NULL)
104 105
{
105 106
}
106 107

  

Also available in: Unified diff