~tux-style/eflxx/eflxx_examples

« back to all changes in this revision

Viewing changes to src/elementaryxx/full/test_hover.cpp

  • Committer: seoz
  • Date: 2011-04-13 13:25:55 UTC
  • Revision ID: svn-v4:7cbeb6ba-43b4-40fd-8cce-4c39aea84d33:trunk/BINDINGS/cxx/eflxx_examples:58633
BINDINGS/cxx elementaryxx: Removed trailing whitespaces.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
{
12
12
  Button *bt = NULL;
13
13
  Box *bx = NULL;
14
 
  
 
14
 
15
15
  Window *win = Window::factory ("hover", ELM_WIN_BASIC);
16
16
  win->setTitle ("Hover");
17
17
  win->setAutoDel (true);
18
 
  
 
18
 
19
19
  Background *bg = Background::factory (*win);
20
20
  win->addObjectResize (*bg);
21
21
  bg->setWeightHintSize (EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
93
93
{
94
94
  Box *bx = NULL;
95
95
  Button *bt = NULL;
96
 
  
 
96
 
97
97
  Window *win = Window::factory ("hover2", ELM_WIN_BASIC);
98
98
  win->setTitle ("Hover 2");
99
99
  win->setAutoDel (true);
100
 
  
 
100
 
101
101
  Background *bg = Background::factory (*win);
102
102
  win->addObjectResize (*bg);
103
103
  bg->setWeightHintSize (EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
104
104
  bg->show ();
105
 
  
 
105
 
106
106
  bx = Box::factory (*win);
107
107
  bx->setWeightHintSize (EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
108
108
  win->addObjectResize (*bx);
131
131
  ic->setScale (false, false);
132
132
  bx->packEnd (*ic);
133
133
  ic->show ();
134
 
  
 
134
 
135
135
  bt = Button::factory (*win);
136
136
  bt->setLabel ("Top 1");
137
137
  bx->packEnd (*bt);
165
165
  bt->setLabel ("Right");
166
166
  hv->setContent ("right", *bt);
167
167
  bt->show ();
168
 
  
 
168
 
169
169
  bg->setMinHintSize (size160x160);
170
170
  bg->setMaxHintSize (size640x640);
171
171
  win->resize (size320x320);