Changeset 460

Show
Ignore:
Timestamp:
03/05/2008 02:33:47 (6 months ago)
Author:
why
Message:
  • shoes/app.c: recognize the manual key (alt-?) and the log key (alt-/) on win32.
  • lib/shoes/help.rb: give an absolute path to the shoes image in the manual.
Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/shoes/help.rb

    r440 r460  
    106106      end 
    107107    end 
    108     image "static/shoes-icon.png", :top => 8, :right => 10 + gutter, 
     108    image "#{DIR}/static/shoes-icon.png", :top => 8, :right => 10 + gutter, 
    109109      :width => 64, :height => 64 
    110110  end 
  • trunk/shoes/app.c

    r459 r460  
    11321132      KEYPRESS(F11, f11) 
    11331133      KEYPRESS(F12, f12) 
    1134       else if (w >= 'A' && w <= 'Z') { 
     1134      else if ((w >= 'A' && w <= 'Z') || w == 191) { 
    11351135        VALUE v; 
    1136         char letter = w + 32; 
     1136        char letter = w; 
     1137        if (w == 191) 
     1138        { 
     1139          if (app->os.shiftkey) 
     1140            letter = '?'; 
     1141          else 
     1142            letter = '/'; 
     1143        } 
     1144        else 
     1145        { 
     1146          if (!app->os.shiftkey) 
     1147            letter += 32; 
     1148        } 
    11371149        v = rb_str_new(&letter, 1); 
    11381150        if (app->os.altkey) {