Changeset 242


Ignore:
Timestamp:
Sep 3, 2007, 12:44:05 PM (13 years ago)
Author:
Eugene Romanenko
Message:

additional pipe commands

Location:
trunk/Lucide/SOURCE/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/gui/dialogs.rc

    r232 r242  
    233233END
    234234
    235 DLGTEMPLATE IDD_LCD_FILEDLG
    236 BEGIN
    237         DIALOG "FDLG_OPEN", -1, 4, 3, 291, 188, FS_NOBYTEALIGN | FS_DLGBORDER | WS_CLIPSIBLINGS | WS_SAVEBITS, FCF_SYSMENU | FCF_TITLEBAR | FCF_DLGBORDER
     235DLGTEMPLATE IDD_LCD_FILEDLG 
     236BEGIN
     237        DIALOG "FDLG_OPEN", -1, 4, 3, 355, 188, FS_NOBYTEALIGN | FS_DLGBORDER | WS_CLIPSIBLINGS | WS_SAVEBITS, FCF_SYSMENU | FCF_TITLEBAR | FCF_DLGBORDER
    238238        BEGIN
    239239                CONTROL "FDLG_FILENAME", DID_FILENAME_TXT, 5, 174, 36, 7, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | WS_VISIBLE | WS_GROUP
    240240                PRESPARAMS PP_FONTNAMESIZE , "9.WarpSans"
    241                 CONTROL "", DID_FILENAME_ED, 45, 175, 238, 6, WC_ENTRYFIELD, ES_AUTOSCROLL | ES_LEFT | ES_MARGIN | WS_TABSTOP | WS_VISIBLE
     241                CONTROL "", DID_FILENAME_ED, 45, 175, 304, 6, WC_ENTRYFIELD, ES_AUTOSCROLL | ES_LEFT | ES_MARGIN | WS_TABSTOP | WS_VISIBLE
    242242                PRESPARAMS PP_FONTNAMESIZE , "9.WarpSans"
    243243                CONTROL "FDLG_DRIVE", DID_DRIVE_TXT, 5, 160, 36, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | WS_VISIBLE | WS_GROUP
     
    247247                CONTROL "FDLG_FILETYPE", DID_FILTER_TXT, 135, 160, 42, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | WS_VISIBLE | WS_GROUP
    248248                PRESPARAMS PP_FONTNAMESIZE , "9.WarpSans"
    249                 CONTROL "", DID_FILTER_CB, 178, 43, 107, 126, WC_COMBOBOX, CBS_DROPDOWNLIST | WS_TABSTOP | WS_VISIBLE
     249                CONTROL "", DID_FILTER_CB, 178, 43, 174, 126, WC_COMBOBOX, CBS_DROPDOWNLIST | WS_TABSTOP | WS_VISIBLE
    250250                PRESPARAMS PP_FONTNAMESIZE , "9.WarpSans"
    251251                CONTROL "FDLG_FILE", DID_FILES_TXT, 130, 146, 118, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | WS_VISIBLE | WS_GROUP
     
    264264                PRESPARAMS PP_FONTNAMESIZE , "9.WarpSans"
    265265        END
    266 END
    267 
     266
     267END
     268
  • trunk/Lucide/SOURCE/gui/pipemon.cpp

    r152 r242  
    5050static const char *cmMinimize   = "$minimize";
    5151static const char *cmFullScreen = "$switchfullscreen";
     52static const char *cmRotate     = "$rotate";
     53static const char *cmZoomIn     = "$zoomin";
     54static const char *cmZoomOut    = "$zoomout";
     55static const char *cmZoomOrig   = "$zoomoriginal";
    5256
    5357
     
    100104                                    MPFROM2SHORT( CMDSRC_OTHER, TRUE ) );
    101105                    }
     106                    else if ( strnicmp( buf, cmRotate, strlen( cmRotate ) ) == 0 )
     107                    {
     108                        WinPostMsg( hWndFrame, WM_COMMAND, MPFROMSHORT( CM_ROTATE90CW ),
     109                                    MPFROM2SHORT( CMDSRC_OTHER, TRUE ) );
     110                    }
     111                    else if ( strnicmp( buf, cmZoomIn, strlen( cmZoomIn ) ) == 0 )
     112                    {
     113                        WinPostMsg( hWndFrame, WM_COMMAND, MPFROMSHORT( CM_ZOOM_IN ),
     114                                    MPFROM2SHORT( CMDSRC_OTHER, TRUE ) );
     115                    }
     116                    else if ( strnicmp( buf, cmZoomOut, strlen( cmZoomOut ) ) == 0 )
     117                    {
     118                        WinPostMsg( hWndFrame, WM_COMMAND, MPFROMSHORT( CM_ZOOM_OUT ),
     119                                    MPFROM2SHORT( CMDSRC_OTHER, TRUE ) );
     120                    }
     121                    else if ( strnicmp( buf, cmZoomOrig, strlen( cmZoomOrig ) ) == 0 )
     122                    {
     123                        WinPostMsg( hWndFrame, WM_COMMAND, MPFROMSHORT( CM_ACTSIZE ),
     124                                    MPFROM2SHORT( CMDSRC_OTHER, TRUE ) );
     125                    }
    102126                }
    103127            }
Note: See TracChangeset for help on using the changeset viewer.