12c444 use std::min and std::max (#318)

214 files Authored by Shinya Kitaoka 8 years ago , Committed by Keisuke Ogaki 8 years ago ,
214 files changed. 1120 lines added. 1449 lines removed.
toonz/sources/CMakeLists.txt
file modified
+1 -0
toonz/sources/colorfx/colorfxutils.cpp
file modified
+4 -101
toonz/sources/colorfx/regionstyles.cpp
file modified
+15 -15
toonz/sources/colorfx/strokestyles.cpp
file modified
+9 -9
toonz/sources/common/expressions/tgrammar.cpp
file modified
+1 -1
toonz/sources/common/tapptools/tcli.cpp
file modified
+2 -2
toonz/sources/common/tapptools/tcolorutils.cpp
file modified
+4 -4
toonz/sources/common/tapptools/ttimer.cpp
file modified
+1 -1
toonz/sources/common/tcache/timagecache.cpp
file modified
+1 -1
toonz/sources/common/tcolor/tcolorvalue.cpp
file modified
+4 -4
toonz/sources/common/tcolor/tpixelutils.cpp
file modified
+6 -6
toonz/sources/common/tfx/tcacheresource.cpp
file modified
+1 -1
toonz/sources/common/tfx/tpassivecachemanager.cpp
file modified
+1 -1
toonz/sources/common/tfx/ttzpimagefx.cpp
file modified
+1 -1
toonz/sources/common/tgeometry/tcurves.cpp
file modified
+1 -1
toonz/sources/common/tgeometry/tcurveutil.cpp
file modified
+3 -3
toonz/sources/common/tgeometry/tgeometry.cpp
file modified
+3 -2
toonz/sources/common/timage_io/timage_io.cpp
file modified
+4 -4
toonz/sources/common/tipc/t32bitsrv_wrap.cpp
file modified
+4 -4
toonz/sources/common/tipc/tipc.cpp
file modified
+6 -6
toonz/sources/common/tmeshimage/tmeshimage.cpp
file modified
+5 -5
toonz/sources/common/tparam/tdoubleparam.cpp
file modified
+3 -3
toonz/sources/common/tparam/tparamset.cpp
file modified
+0 -47
toonz/sources/common/trasterimage/trasterimage.cpp
file modified
+1 -1
toonz/sources/common/trop/brush.cpp
file modified
+69 -69
toonz/sources/common/trop/loop_macros.h
file modified
+2 -2
toonz/sources/common/trop/quickput.cpp
file modified
+162 -162
toonz/sources/common/trop/raster_edge_evaluator.hpp
file modified
+2 -2
toonz/sources/common/trop/tantialias.cpp
file modified
+6 -5
toonz/sources/common/trop/tblur.cpp
file modified
+5 -7
toonz/sources/common/trop/tconvolve.cpp
file modified
+38 -41
toonz/sources/common/trop/tdistancetransform.cpp
file modified
+2 -2
toonz/sources/common/trop/terodilate.cpp
file modified
+7 -7
toonz/sources/common/trop/tover.cpp
file modified
+1 -1
toonz/sources/common/trop/traylit.cpp
file modified
+11 -11
toonz/sources/common/trop/tresample.cpp
file modified
+30 -30
toonz/sources/common/trop/trgbmscale.cpp
file modified
+18 -18
toonz/sources/common/trop/tropcm.cpp
file modified
+3 -3
toonz/sources/common/tsound/tsop.cpp
file modified
+9 -9
toonz/sources/common/tsystem/tbigmemorymanager.cpp
file modified
+1 -1
toonz/sources/common/tvectorimage/outlineApproximation.cpp
file modified
+1 -1
toonz/sources/common/tvectorimage/tcomputeregions.cpp
file modified
+19 -19
toonz/sources/common/tvectorimage/tl2lautocloser.cpp
file modified
+3 -3
toonz/sources/common/tvectorimage/tregion.cpp
file modified
+7 -7
toonz/sources/common/tvectorimage/tstroke.cpp
file modified
+9 -9
toonz/sources/common/tvectorimage/tsweepboundary.cpp
file modified
+8 -6
toonz/sources/common/tvectorimage/tvectorimage.cpp
file modified
+12 -12
toonz/sources/common/tvrender/qtofflinegl.cpp
file modified
+1 -1
toonz/sources/common/tvrender/tcolorstyles.cpp
file modified
+1 -1
toonz/sources/common/tvrender/tellipticbrush.cpp
file modified
+3 -3
toonz/sources/common/tvrender/tellipticbrushP.h
file modified
+4 -4
toonz/sources/common/tvrender/tpalette.cpp
file modified
+2 -2
toonz/sources/common/tvrender/tsimplecolorstyles.cpp
file modified
+7 -7
toonz/sources/common/tvrender/tstrokeutil.cpp
file modified
+1 -1
toonz/sources/common/tvrender/tvectorbrush.cpp
file modified
+7 -7
toonz/sources/common/twain/ttwain_state.c
file modified
+12 -6
toonz/sources/image/compatibility/inforegion.c
file modified
+12 -7
toonz/sources/image/compatibility/tnz4.h
file modified
+0 -3
toonz/sources/image/mov/tiio_movW.cpp
file modified
+1 -1
toonz/sources/image/pli/tiio_pli.cpp
file modified
+2 -2
toonz/sources/image/quantel/filequantel.c
file modified
+9 -2
toonz/sources/image/tga/tiio_tga.cpp
file modified
+6 -6
toonz/sources/image/tif/tiio_tif.cpp
file modified
+6 -6
toonz/sources/image/tzl/tiio_tzl.cpp
file modified
+5 -5
toonz/sources/include/tcg/hpp/triangulate.hpp
file modified
+5 -5
toonz/sources/include/tcommon.h
file modified
+1 -24
toonz/sources/include/tcurves.h
file modified
+5 -4
toonz/sources/include/tfx.h
file modified
+2 -2
toonz/sources/include/tgeometry.h
file modified
+19 -44
toonz/sources/include/tinterval.h
file modified
+4 -4
toonz/sources/include/toonz/ikjacobian.h
file modified
+2 -2
toonz/sources/include/toonzqt/swatchviewer.h
file modified
+2 -2
toonz/sources/include/tpixelutils.h
file modified
+7 -7
toonz/sources/include/tsound_t.h
file modified
+1 -1
toonz/sources/stdfx/bodyhighlightfx.cpp
file modified
+8 -8
toonz/sources/stdfx/changecolorfx.cpp
file modified
+2 -2
toonz/sources/stdfx/cornerpinfx.cpp
file modified
+17 -17
toonz/sources/stdfx/freedistortfx.cpp
file modified
+26 -26
toonz/sources/stdfx/hsvkeyfx.cpp
file modified
+6 -6
toonz/sources/stdfx/hsvutil.cpp
file modified
+2 -2
toonz/sources/stdfx/iwa_motionblurfx.cpp
file modified
+4 -4
toonz/sources/stdfx/iwa_particlesengine.cpp
file modified
+3 -3
toonz/sources/stdfx/iwa_particlesfx.cpp
file modified
+1 -1
toonz/sources/stdfx/iwa_particlesmanager.cpp
file modified
+1 -1
toonz/sources/stdfx/kaleido.cpp
file modified
+4 -4
toonz/sources/stdfx/linearwavefx.cpp
file modified
+1 -1
toonz/sources/stdfx/localblurfx.cpp
file modified
+2 -2
toonz/sources/stdfx/mosaicfx.cpp
file modified
+2 -2
toonz/sources/stdfx/particlesengine.cpp
file modified
+1 -1
toonz/sources/stdfx/particlesfx.cpp
file modified
+1 -1
toonz/sources/stdfx/particlesmanager.cpp
file modified
+1 -1
toonz/sources/stdfx/pins.cpp
file modified
+12 -8
toonz/sources/stdfx/radialblurfx.cpp
file modified
+3 -3
toonz/sources/stdfx/randomwavefx.cpp
file modified
+1 -1
toonz/sources/stdfx/raylitfx.cpp
file modified
+3 -3
toonz/sources/stdfx/rgbkeyfx.cpp
file modified
+6 -6
toonz/sources/stdfx/ripplefx.cpp
file modified
+1 -1
toonz/sources/stdfx/rotationalblurfx.cpp
file modified
+1 -1
toonz/sources/stdfx/shaderfx.cpp
file modified
+1 -1
toonz/sources/stdfx/sharpenfx.cpp
file modified
+2 -2
toonz/sources/stdfx/warpfx.cpp
file modified
+1 -1
toonz/sources/tcomposer/tcomposer.cpp
file modified
+0 -73
toonz/sources/tnzbase/trasterfx.cpp
file modified
+1 -1
toonz/sources/tnzbase/tscanner/TScannerIO/TUSBScannerIO_M.cpp
file modified
+1 -1
toonz/sources/tnzbase/tscanner/TScannerIO/TUSBScannerIO_W.cpp
file modified
+1 -1
toonz/sources/tnzext/meshbuilder.cpp
file modified
+1 -1
toonz/sources/tnzext/meshtexturizer.cpp
file modified
+2 -2
toonz/sources/tnzext/meshutils.cpp
file modified
+5 -4
toonz/sources/tnzext/plasticdeformer.cpp
file modified
+9 -9
toonz/sources/tnzext/plasticdeformerstorage.cpp
file modified
+2 -2
toonz/sources/tnzext/plastichandle.cpp
file modified
+1 -1
toonz/sources/tnztools/autofilltlv.cpp
file modified
+4 -4
toonz/sources/tnztools/bendertool.cpp
file modified
+6 -6
toonz/sources/tnztools/bluredbrush.cpp
file modified
+3 -3
toonz/sources/tnztools/brushtool.cpp
file modified
+2 -2
toonz/sources/tnztools/controlpointselection.cpp
file modified
+2 -2
toonz/sources/tnztools/edittoolgadgets.cpp
file modified
+2 -2
toonz/sources/tnztools/filltool.cpp
file modified
+4 -4
toonz/sources/tnztools/fullcolorbrushtool.cpp
file modified
+1 -1
toonz/sources/tnztools/geometrictool.cpp
file modified
+4 -4
toonz/sources/tnztools/imagegrouping.cpp
file modified
+1 -1
toonz/sources/tnztools/irontool.cpp
file modified
+2 -2
toonz/sources/tnztools/plastictool.cpp
file modified
+2 -2
toonz/sources/tnztools/plastictool_build.cpp
file modified
+1 -1
toonz/sources/tnztools/pumptool.cpp
file modified
+4 -4
toonz/sources/tnztools/rasterselection.cpp
file modified
+5 -5
toonz/sources/tnztools/rasterselectiontool.cpp
file modified
+6 -6
toonz/sources/tnztools/selectiontool.cpp
file modified
+5 -5
toonz/sources/tnztools/setsaveboxtool.cpp
file modified
+2 -2
toonz/sources/tnztools/typetool.cpp
file modified
+2 -2
toonz/sources/tnztools/vectortapetool.cpp
file modified
+7 -7
toonz/sources/toonz/adjustlevelspopup.cpp
file modified
+2 -2
toonz/sources/toonz/cellselection.cpp
file modified
+1 -1
toonz/sources/toonz/cleanupsettingsmodel.cpp
file modified
+2 -2
toonz/sources/toonz/cleanupswatch.cpp
file modified
+2 -2
toonz/sources/toonz/exportlevelcommand.cpp
file modified
+1 -1
toonz/sources/toonz/filebrowserpopup.cpp
file modified
+1 -1
toonz/sources/toonz/flipbook.cpp
file modified
+5 -5
toonz/sources/toonz/historypane.cpp
file modified
+2 -2
toonz/sources/toonz/imageviewer.cpp
file modified
+3 -3
toonz/sources/toonz/keyframedata.cpp
file modified
+4 -4
toonz/sources/toonz/matchline.cpp
file modified
+1 -1
toonz/sources/toonz/mergecmapped.cpp
file modified
+1 -1
toonz/sources/toonz/meshifypopup.cpp
file modified
+4 -4
toonz/sources/toonz/moviegenerator.cpp
file modified
+2 -2
toonz/sources/toonz/outputsettingspopup.cpp
file modified
+1 -1
toonz/sources/toonz/pltgizmopopup.cpp
file modified
+1 -1
toonz/sources/toonz/previewfxmanager.cpp
file modified
+3 -3
toonz/sources/toonz/sceneviewer.cpp
file modified
+7 -7
toonz/sources/toonz/subcameramanager.cpp
file modified
+8 -8
toonz/sources/toonz/vcrcommand.cpp
file modified
+1 -1
toonz/sources/toonz/vectorizerpopup.cpp
file modified
+1 -1
toonz/sources/toonz/viewerdraw.cpp
file modified
+6 -6
toonz/sources/toonz/xshcellviewer.cpp
file modified
+7 -7
toonz/sources/toonz/xsheetcmd.cpp
file modified
+6 -6
toonz/sources/toonz/xsheetdragtool.cpp
file modified
+2 -2
toonz/sources/toonz/xsheetviewer.cpp
file modified
+5 -5
toonz/sources/toonz/xshrowviewer.cpp
file modified
+1 -1
toonz/sources/toonzfarm/tfarm/tfarmtask.cpp
file modified
+2 -2
toonz/sources/toonzlib/autoadjust.cpp
file modified
+2 -2
toonz/sources/toonzlib/autoclose.cpp
file modified
+5 -5
toonz/sources/toonzlib/convert2tlv.cpp
file modified
+4 -4
toonz/sources/toonzlib/doubleparamcmd.cpp
file modified
+1 -1
toonz/sources/toonzlib/fill.cpp
file modified
+2 -2
toonz/sources/toonzlib/fillutil.cpp
file modified
+4 -4
toonz/sources/toonzlib/fxdag.cpp
file modified
+3 -3
toonz/sources/toonzlib/ikjacobian.cpp
file modified
+11 -11
toonz/sources/toonzlib/imagestyles.cpp
file modified
+1 -1
toonz/sources/toonzlib/levelupdater.cpp
file modified
+1 -1
toonz/sources/toonzlib/movierenderer.cpp
file modified
+4 -4
toonz/sources/toonzlib/palettecmd.cpp
file modified
+1 -1
toonz/sources/toonzlib/rasterstrokegenerator.cpp
file modified
+2 -2
toonz/sources/toonzlib/sandor_fxs/CIL.cpp
file modified
+5 -3
toonz/sources/toonzlib/sandor_fxs/Pattern.cpp
file modified
+4 -4
toonz/sources/toonzlib/sandor_fxs/Pattern.h
file modified
+4 -85
toonz/sources/toonzlib/sandor_fxs/PatternMapParam.cpp
file modified
+8 -8
toonz/sources/toonzlib/sandor_fxs/PatternPosition.cpp
file modified
+4 -4
toonz/sources/toonzlib/sandor_fxs/SDef.h
file modified
+0 -7
toonz/sources/toonzlib/sandor_fxs/SDirection.cpp
file modified
+2 -2
toonz/sources/toonzlib/sandor_fxs/blend.cpp
file modified
+2 -2
toonz/sources/toonzlib/strokegenerator.cpp
file modified
+5 -5
toonz/sources/toonzlib/stylemanager.cpp
file modified
+1 -1
toonz/sources/toonzlib/tcamera.cpp
file modified
+4 -4
toonz/sources/toonzlib/tcenterlineadjustments.cpp
file modified
+3 -3
toonz/sources/toonzlib/tcenterlinecolors.cpp
file modified
+8 -8
toonz/sources/toonzlib/tcenterlinepolygonizer.cpp
file modified
+1 -1
toonz/sources/toonzlib/tcenterlinetostrokes.cpp
file modified
+2 -2
toonz/sources/toonzlib/tcleanupper.cpp
file modified
+5 -5
toonz/sources/toonzlib/tcolumnfx.cpp
file modified
+1 -1
toonz/sources/toonzlib/tdistort.cpp
file modified
+26 -25
toonz/sources/toonzlib/texturemanager.cpp
file modified
+2 -2
toonz/sources/toonzlib/toonzimageutils.cpp
file modified
+5 -5
toonz/sources/toonzlib/toutlinevectorizer.cpp
file modified
+10 -10
toonz/sources/toonzlib/trasterimageutils.cpp
file modified
+2 -2
toonz/sources/toonzlib/tstageobjecttree.cpp
file modified
+1 -1
toonz/sources/toonzlib/txsheet.cpp
file modified
+7 -7
toonz/sources/toonzlib/txshsimplelevel.cpp
file modified
+2 -2
toonz/sources/toonzlib/txshsoundlevel.cpp
file modified
+1 -1
toonz/sources/toonzqt/doublefield.cpp
file modified
+1 -1
toonz/sources/toonzqt/dvdialog.cpp
file modified
+1 -1
toonz/sources/toonzqt/flipconsole.cpp
file modified
+7 -7
toonz/sources/toonzqt/functionpanel.cpp
file modified
+6 -6
toonz/sources/toonzqt/functionselection.cpp
file modified
+1 -1
toonz/sources/toonzqt/fxschematicnode.cpp
file modified
+2 -2
toonz/sources/toonzqt/fxschematicscene.cpp
file modified
+5 -5
toonz/sources/toonzqt/icongenerator.cpp
file modified
+6 -6
toonz/sources/toonzqt/marksbar.cpp
file modified
+2 -2
toonz/sources/toonzqt/pickrgbutils.cpp
file modified
+4 -4
toonz/sources/toonzqt/spreadsheetviewer.cpp
file modified
+1 -1
toonz/sources/toonzqt/stageobjectsdata.cpp
file modified
+2 -2
toonz/sources/toonzqt/stageschematicscene.cpp
file modified
+3 -3
toonz/sources/toonzqt/styleeditor.cpp
file modified
+5 -5
toonz/sources/toonzqt/styleselection.cpp
file modified
+1 -1
toonz/sources/toonzqt/swatchviewer.cpp
file modified
+1 -1
file modified
+1 -0
file modified
+2 -2
file modified
+12 -8