~tux-style/eflxx/eflxx_examples

« back to all changes in this revision

Viewing changes to src/elementaryxx/full/test_toggle.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:
5
5
  Window *win = Window::factory ("toggles", ELM_WIN_BASIC);
6
6
  win->setTitle ("Toggles");
7
7
  win->setAutoDel (true);
8
 
  
 
8
 
9
9
  Background *bg = Background::factory (*win);
10
10
  win->addObjectResize (*bg);
11
11
  bg->setWeightHintSize (EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
12
12
  bg->show ();
13
 
  
 
13
 
14
14
  Box *bx = Box::factory (*win);
15
15
  win->addObjectResize (*bx);
16
16
  bx->setWeightHintSize (EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
17
17
  bx->show ();
18
 
  
 
18
 
19
19
  Icon *ic = Icon::factory (*win);
20
20
  ic->setFile (searchPixmapFile ("elementaryxx/logo_small.png"));
21
21
  ic->setAspectHintSize (EVAS_ASPECT_CONTROL_VERTICAL, Size (1, 1));
39
39
  bx->packEnd (*tg2);
40
40
  tg2->show ();
41
41
  ic2->show ();
42
 
  
 
42
 
43
43
  Toggle *tg3 = Toggle::factory (*win);
44
44
  tg3->setLabel ("Label Only");
45
45
  tg3->setLabelsStates ("Big long fun times label", "Small long happy fun label");