Changeset cbbc6ea
- Timestamp:
- 04/04/12 01:41:13 (15 months ago)
- Branches:
- master
- Children:
- fa399ff
- Parents:
- ad23cf3
- git-author:
- Martin Kolman <martin.kolman@…> (04/04/12 01:41:13)
- git-committer:
- Martin Kolman <martin.kolman@…> (04/04/12 01:41:13)
- File:
-
- 1 edited
-
modules/mod_menu.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
modules/mod_menu.py
r95971e4 rcbbc6ea 120 120 buttons['centre'] = (x+w-dx, y) # centre button coordinates 121 121 buttons['scalebar'] = proj.screenPos(0.15, 0.97) # scalebar coordinates 122 plusIcon = ' zoom_in'123 minusIcon = ' zoom_out'122 plusIcon = 'center:zoom_in;0.05' 123 minusIcon = 'center:zoom_out;0.05' 124 124 125 125 # possible main button coordinates override … … 128 128 if 'override_main_buttons' in self.userConfig[mode]: 129 129 # we dont know the orientation, so we use generic icons 130 plusIcon = ' plus'131 minusIcon = ' minus'130 plusIcon = 'center:plus;0.05' 131 minusIcon = 'center:minus;0.05' 132 132 item = self.userConfig[mode]['override_main_buttons'] 133 133 … … 167 167 # draw the maximize icon 168 168 if self.fullscreen: 169 icon = ' minimize'169 icon = 'center:minimize;0.05' 170 170 else: 171 icon = ' maximize'171 icon = 'center:maximize;0.05' 172 172 173 173 (x1,y1) = buttons['fullscreen'] … … 176 176 # * draw the centering button 177 177 (x1,y1) = buttons['centre'] 178 self.drawButton(cr, x1, y1, dx, dy, "", ' blue_border', "toggle:centred")178 self.drawButton(cr, x1, y1, dx, dy, "", '', "toggle:centred") 179 179 180 180 # the central circle
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/gps_navigace/chrome/site/nlp-logo.png)