(*
*******************************************************************************
*         Copyright (C) SofCon 2004 All Rights Reserved                       *
*******************************************************************************
*
*    project:     Vizualizacni knihovny pro jednotku KIT
*
*
*    title:       T51CCus
*
*******************************************************************************
*
*    description: Customizacni procedura pro terminal Touch51
*
*    version:     0.01
*
*     (vyse uvedena verze je pouze verze teto knihovny, ktera
*      je soucasti baliku LIBV, jehoz verze je uvedena v knihovne
*      Iodrv.pas)
*
*    language:    Borland Pascal
*
*    author:      Binko
*    history:     date        sign   remark
*                 06/09/04    bin     prvni vydani
*                 31/05/05    net     uprava pro T51
*****************************************************************************
*)

unit T51CCus;

interface

implementation

{[+default, +color, +showfocus, +flickSafe ]}

uses
  bitmaps,
  controls, grctrls,
  defCus,
  colorCus,
  osfCus,
  ofsCus;

{-------------------------------
{ PCCCustomizeProc
{---
{ Konfiguracni procedura pro vsechny komponenty definovane
{ v jednotkach Controls a GrCtrlsu. Procedura konfiguruje komponenty
{ tak, aby byly vhodne zobrazeny a reagovaly spravne na
{ vstupni udalosti terminalu PC color
{---
{ AControl   Odkaz na instanci komponenty
{ AClass     Kod tridy konfigurace
{---
{ AClass musi odpovidat tride komponenty, jinak
{ volani funkce muze zpusobit nepredvidatelne nasledky.
}

procedure PCCCustomizeProc( AControl: PControl; AClass: Word ); far;
begin
  case AClass and ccGeneralMask of

  {----------------- TWindow }
    ccWindow:
    begin
      with PWindow( AControl )^ do
      begin
      end;
    end;

  {----------------- TFrame }
    ccFrame:
    begin
      with PFrame( AControl )^ do
      begin
      end;
    end;

  {----------------- TDialog }
    ccDialog:
    begin
      with PDialog( AControl )^ do
      begin
      end;
    end;

  {----------------- TPageControl }
    ccPageControl:
    begin
      with PPageControl( AControl )^ do
      begin
      end;
    end;

  {----------------- TPage }
    ccPage:
    begin
      with PPage( AControl )^ do
      begin
      end;
    end;

  {----------------- TApplication }
    ccApplication:
    begin
      with PApplication( AControl )^ do
      begin
      end;
    end;


  {----------------- TButton }
    ccButton:
    begin
      with PButton( AControl )^ do
      begin
      end;
    end;

  {----------------- TEdit }
    ccEdit:
    begin
      with PEdit( AControl )^ do
      begin
      end;
    end;

  {----------------- TListBox }
    ccListBox:
    begin
      with PListBox( AControl )^ do
      begin
      end;
    end;

  {----------------- TListView }
    ccListView:
    begin
      with PListView( AControl )^ do
      begin
      end;
    end;


  {----------------- TListEdit }
    ccListEdit:
    begin
      with PListEdit( AControl )^ do
      begin
      end;
    end;

  {----------------- TNavigator }
    ccNavigator:
    begin
      with PNavigator( AControl )^ do
      begin
      end;
    end;

  {----------------- TProgressBar }
    ccProgressBar:
    begin
      with PProgressBar( AControl )^ do
      begin
      end;
    end;

  {----------------- TScrollBar }
    ccScrollBar:
    begin
      with PScrollBar( AControl )^ do
      begin
      end;
    end;

  {----------------- TTrackBar }
    ccTrackBar:
    begin
      with PTrackBar( AControl )^ do
      begin
      end;
    end;

  {----------------- TUpDown }
    ccUpDown:
    begin
      with PUpDown( AControl )^ do
      begin
      end;
    end;

  {----------------- TStaticText }
    ccStaticText:
    begin
      with PStaticText( AControl )^ do
      begin
      end;
    end;

  {----------------- TPaintBox }
    ccPaintBox:
    begin
      with PPaintBox( AControl )^ do
      begin
      end;
    end;

  {----------------- TImage }
    ccImage:
    begin
      with PImage( AControl )^ do
      begin
      end;
    end;

  {----------------- TKeyPad }
    ccKeyPad:
    begin
      with PKeyPad( AControl )^ do
      begin
      end;
    end;

  {----------------- TMenuBar }
    ccMenuBar:
    begin
      with PMenuBar( AControl )^ do
      begin
      end;
    end;

  {----------------- TMenuBox }
    ccMenuBox:
    begin
      with PMenuBar( AControl )^ do
      begin
      end;
    end;

  {----------------- TMenuOverlay }
    ccMenuOverlay:
    begin
      with PMenuOverlay( AControl )^ do
      begin
      end;
    end;

  {----------------- TMenuPopup }
    ccMenuPopup:
    begin
      with PMenuPopup( AControl )^ do
      begin
      end;
    end;

  {----------------- TDeskTop }
    ccDeskTop:
    begin
      with PDeskTop( AControl )^ do
      begin
      end;
    end;

  else
    { Invalid class }
  end;
end;



begin
  RegisterStdBitmaps1BPP;
  RegisterCustomizeProc( PCCCustomizeProc, cplDefault );
end.


