Changeset cbbc6ea


Ignore:
Timestamp:
04/04/12 01:41:13 (2 years ago)
Author:
Martin Kolman <martin.kolman@…>
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)
Message:

fix main screen buttons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/mod_menu.py

    r95971e4 rcbbc6ea  
    120120      buttons['centre'] = (x+w-dx, y) # centre button coordinates 
    121121      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' 
    124124 
    125125      # possible main button coordinates override 
     
    128128        if 'override_main_buttons' in self.userConfig[mode]: 
    129129          # 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' 
    132132          item = self.userConfig[mode]['override_main_buttons'] 
    133133 
     
    167167      # draw the maximize icon 
    168168      if self.fullscreen: 
    169         icon = 'minimize' 
     169        icon = 'center:minimize;0.05' 
    170170      else: 
    171         icon = 'maximize' 
     171        icon = 'center:maximize;0.05' 
    172172 
    173173      (x1,y1) = buttons['fullscreen'] 
     
    176176      # * draw the centering button 
    177177      (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") 
    179179 
    180180      # the central circle 
Note: See TracChangeset for help on using the changeset viewer.