Subversion Repositories filter_foundry

Rev

Rev 102 | Rev 106 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 102 Rev 103
Line 115... Line 115...
115
        return tree[i];
115
        return tree[i];
116
}
116
}
117
 
117
 
118
void updatezoom(DIALOGREF dp){
118
void updatezoom(DIALOGREF dp){
119
        char s[10];
119
        char s[10];
120
        snprintf(s, 10, "%d%%", (int)(100./zoomfactor));
120
        sprintf(s, "%d%%", (int)(100./zoomfactor));
121
        SETCTLTEXT(dp,ZOOMLEVELITEM,s);
121
        SETCTLTEXT(dp,ZOOMLEVELITEM,s);
122
        if(zoomfactor > 1.)
122
        if(zoomfactor > 1.)
123
                ShowDialogItem(dp,ZOOMINITEM);
123
                ShowDialogItem(dp,ZOOMINITEM);
124
        else
124
        else
125
                HideDialogItem(dp,ZOOMINITEM);
125
                HideDialogItem(dp,ZOOMINITEM);