lazarus/lcl/include/interfacebase.inc
paul e45bc069f0 - initial implementation of lazarus ThemeServices
- win32 calls to Widgetset.ThemesActive redirected to ThemeServices

git-svn-id: trunk@11161 -
2007-05-18 02:18:52 +00:00

56 lines
1.8 KiB
PHP

{%MainUnit ../interfacebase.pp}
{ $Id$
******************************************************************************
TWidgetSet
WinApi stuff
!! Keep this alphabetical !!
******************************************************************************
*****************************************************************************
* *
* This file is part of the Lazarus Component Library (LCL) *
* *
* See the file COPYING.modifiedLGPL, included in this distribution, *
* for details about the copyright. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* *
*****************************************************************************
}
constructor TWidgetSet.Create;
begin
inherited Create;
FThemeServices := CreateThemeServices;
end;
destructor TWidgetSet.Destroy;
begin
FreeAndNil(FThemeServices);
inherited Destroy;
end;
procedure TWidgetSet.PassCmdLineOptions;
begin
end;
function TWidgetSet.CreateThemeServices: TThemeServices;
begin
Result := TThemeServices.Create;
end;
procedure TWidgetSet.AppRun(const ALoop: TApplicationMainLoop);
begin
if Assigned(ALoop) then ALoop;
end;
procedure TWidgetSet.AppSetTitle(const ATitle: string);
begin
Debugln('TWidgetSet.AppSetTitle not implemented by ', ClassName);
end;