cuigrfflt.cxx (4d7c9de0) cuigrfflt.cxx (3ea0c3d5)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 520 unchanged lines hidden (view full) ---

529{
530 FreeResource();
531
532 maMtrThreshold.SetValue( FRound( cGreyThreshold / 2.55 ) );
533 maMtrThreshold.SetModifyHdl( GetModifyHdl() );
534
535 maCbxInvert.Check( bInvert );
536 maCbxInvert.SetToggleHdl( GetModifyHdl() );
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 520 unchanged lines hidden (view full) ---

529{
530 FreeResource();
531
532 maMtrThreshold.SetValue( FRound( cGreyThreshold / 2.55 ) );
533 maMtrThreshold.SetModifyHdl( GetModifyHdl() );
534
535 maCbxInvert.Check( bInvert );
536 maCbxInvert.SetToggleHdl( GetModifyHdl() );
537
538 // maMtrThreshold.GrabFocus();
539}
540
541// -----------------------------------------------------------------------------
542
543GraphicFilterSolarize::~GraphicFilterSolarize()
544{
545}
546

--- 42 unchanged lines hidden (view full) ---

589 GraphicFilterDialog ( pParent, CUI_RES( RID_SVX_GRFFILTER_DLG_SEPIA ), rGraphic ),
590 maFtSepia ( this, CUI_RES( DLG_FILTERSEPIA_FT_SEPIA ) ),
591 maMtrSepia ( this, CUI_RES( DLG_FILTERSEPIA_MTR_SEPIA ) )
592{
593 FreeResource();
594
595 maMtrSepia.SetValue( nSepiaPercent );
596 maMtrSepia.SetModifyHdl( GetModifyHdl() );
537}
538
539// -----------------------------------------------------------------------------
540
541GraphicFilterSolarize::~GraphicFilterSolarize()
542{
543}
544

--- 42 unchanged lines hidden (view full) ---

587 GraphicFilterDialog ( pParent, CUI_RES( RID_SVX_GRFFILTER_DLG_SEPIA ), rGraphic ),
588 maFtSepia ( this, CUI_RES( DLG_FILTERSEPIA_FT_SEPIA ) ),
589 maMtrSepia ( this, CUI_RES( DLG_FILTERSEPIA_MTR_SEPIA ) )
590{
591 FreeResource();
592
593 maMtrSepia.SetValue( nSepiaPercent );
594 maMtrSepia.SetModifyHdl( GetModifyHdl() );
597
598 // maMtrSepia.GrabFocus();
599}
600
601// -----------------------------------------------------------------------------
602
603GraphicFilterSepia::~GraphicFilterSepia()
604{
605}
606

--- 34 unchanged lines hidden (view full) ---

641 maNumPoster ( this, CUI_RES( DLG_FILTERPOSTER_NUM_POSTER ) )
642{
643 FreeResource();
644
645 maNumPoster.SetFirst( 2 );
646 maNumPoster.SetLast( rGraphic.GetBitmapEx().GetBitCount() );
647 maNumPoster.SetValue( nPosterCount );
648 maNumPoster.SetModifyHdl( GetModifyHdl() );
595}
596
597// -----------------------------------------------------------------------------
598
599GraphicFilterSepia::~GraphicFilterSepia()
600{
601}
602

--- 34 unchanged lines hidden (view full) ---

637 maNumPoster ( this, CUI_RES( DLG_FILTERPOSTER_NUM_POSTER ) )
638{
639 FreeResource();
640
641 maNumPoster.SetFirst( 2 );
642 maNumPoster.SetLast( rGraphic.GetBitmapEx().GetBitCount() );
643 maNumPoster.SetValue( nPosterCount );
644 maNumPoster.SetModifyHdl( GetModifyHdl() );
649
650 // maNumPoster.GrabFocus();
651}
652
653// -----------------------------------------------------------------------------
654
655GraphicFilterPoster::~GraphicFilterPoster()
656{
657}
658

--- 101 unchanged lines hidden ---
645}
646
647// -----------------------------------------------------------------------------
648
649GraphicFilterPoster::~GraphicFilterPoster()
650{
651}
652

--- 101 unchanged lines hidden ---