COIN-OR::LEMON - Graph Library

Changeset 1777:a70cee06ae9c in lemon-0.x for gui/main_win.cc


Ignore:
Timestamp:
11/04/05 20:07:15 (14 years ago)
Author:
Akos Ladanyi
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2309
Message:

improved zooming

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/main_win.cc

    r1733 r1777  
    128128  add_accel_group(uim->get_accel_group());
    129129
    130   /*
    131       "      <menuitem action='ViewZoomFit' />"
    132       "    <toolitem action='ViewZoomFit' />"
    133    */
    134 
    135130  try
    136131  {
     
    151146      "      <menuitem action='ViewZoomOut' />"
    152147      "      <menuitem action='ViewZoom100' />"
     148      "      <menuitem action='ViewZoomFit' />"
    153149      "    </menu>"
    154150      "    <menu action='ShowMenu'>"
     
    165161      "    <toolitem action='ViewZoomOut' />"
    166162      "    <toolitem action='ViewZoom100' />"
     163      "    <toolitem action='ViewZoomFit' />"
    167164      "    <separator />"
    168165      "    <toolitem action='MoveItem' />"
     
    198195
    199196  Gtk::ScrolledWindow* pScrolledWindow = manage(new Gtk::ScrolledWindow());
     197  pScrolledWindow->set_shadow_type(Gtk::SHADOW_IN);
    200198  pScrolledWindow->add(gd_canvas);
    201199  vbox.pack_start(*pScrolledWindow);
Note: See TracChangeset for help on using the changeset viewer.