Changeset 11 for trunk/settings.h


Ignore:
Timestamp:
Feb 21, 2018, 1:01:16 AM (7 years ago)
Author:
Gregg Young
Message:

This changes the bitmap save from an internal bitmap or the use of MMOS2 to using GBM. The save code was adapted from GBMv2 by Heiko Nitzsche and Andy Keys. Also fixed the failure of the file dialog to update the file extension name on the first save after a format changes. Non English resources haven't been updated yet. Several more build error warning fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/settings.h

    r2 r11  
    3535
    3636enum { SAVESTYLE_CLIPBOARD, SAVESTYLE_FILE, };
     37#if 0
    3738enum {
    3839    BMF_12, BMF_16, BMF_20, BMF_OS13, BMF_OS20, BMF_TIF, BMF_TIFU,
     
    4041    BMF_INVALID
    4142};
     43#else
     44enum {
     45    BMF_JPG, BMF_PNG, BMF_OS20, BMF_TIF, BMF_TGA, BMF_PCX, BMF_GIF,
     46    BMF_PBM, BMF_JP2, BMF_JBG, BMF_RAW, BMF_DIB,
     47    BMF_INVALID
     48};
     49#endif
    4250enum { FSS_PROMPT, FSS_NUMFILES, FSS_FORCEFILE, };
    4351
     
    180188// ** inline funcs ******************************************************** /*FOLD00*/
    181189
    182 inline VOID Settings :: SetWindowData (SWP *pswp, BOOL f = TRUE)
     190inline VOID Settings :: SetWindowData (SWP *pswp, BOOL f)
    183191{
    184192    // FIXME puke, yukk, choke! get this flag thing away! do it better!
     
    196204}
    197205
    198 inline thth_MMIO *Settings :: GetMMIO( VOID ) { return mmio; }
     206thth_MMIO *Settings :: GetMMIO( VOID ) { return mmio; }
    199207
    200208// ************************************************************************
Note: See TracChangeset for help on using the changeset viewer.