text
stringlengths
14
6.51M
unit uFrmWMPG; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uMainFormIntf, uFactoryFormIntf, StdCtrls, uDBIntf, DB, DBClient, Menus, uSysMenu, ComCtrls, ExtCtrls, cxControls, cxPC, uParamObject, SyncObjs, uFrmNav; type TFrmWMPG = class(TForm, IMainForm) ...
unit UDMargins; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, UCrpe32; type TCrpeMarginsDlg = class(TForm) pnlMargins: TPanel; rgMarginScale: TRadioGroup; pnlMargins2: TPanel; editTop: TEdit; editLeft: TEdit; editRight: TEdi...
unit WideStringEdit; interface function WStrLComp(const Str1, Str2: PWideChar; MaxLen: Cardinal): Integer; {* Compare two strings (fast). Terminating 0 is not considered, so if strings are equal, comparing is continued up to MaxLen bytes. Since this, pass minimum of lengths as MaxLen. } function WS2Int( S: PWid...
unit brPendaftaranU; interface uses Dialogs, Classes, brCommonsU, System.SysUtils, System.StrUtils; type brPendaftaran = class(bridgeCommon) private procedure masukkanGetPendaftaranUrut; procedure masukkanPostPendaftaran(idxstr : string); procedure masukkanDelPendaftaran(idxstr : string); pu...
// uses RegularExpressions; function ValidatePhone(const PhoneNumber: string): Boolean; var RegEx: TRegEx; begin RegEx := TRegex.Create('^(?:(?:\+|00)?(\d)?)?([0-9]{10,12})$'); Result := RegEx.Match(PhoneNumber).Success; end;
unit API_DBases; interface uses System.Classes, FireDAC.Stan.Def, FireDAC.Stan.Async, FireDAC.Stan.Intf, FireDAC.Phys.MSAcc, FireDAC.Phys.MySQL, FireDAC.Phys.Intf, FireDAC.DApt, FireDAC.UI.Intf, FireDAC.Comp.UI, FireDAC.Comp.Client, FireDAC.ConsoleUI.Wait, FireDAC.VCLUI.Async, FireDAC.VCLUI.Wait; type // ...
namespace proholz.xsdparser; interface type AttributeValidations = public partial class private // assembly // * // * Verifies if a given value is present in a given {@link Enum} type. // * @param instance An instance of the concrete {@link Enum} type that is expected to contain the {@code valu...
//////////////////////////////////////////////////////////////////////////// // PaxCompiler // Site: http://www.paxcompiler.com // Author: Alexander Baranovsky (paxscript@gmail.com) // ======================================================================== // Copyright (c) Alexander Baranovsky, 2006-2014. All rig...
(********************************************************) (* *) (* Json Tools Pascal Unit *) (* A small json parser with no dependencies *) (* *) (* http://www.getlazarus...
unit UDExportExcel; interface uses SysUtils, Windows, Controls, Forms, Buttons, StdCtrls, Classes, ExtCtrls, UCrpe32; type TCrpeExcelDlg = class(TForm) panel1: TPanel; gbColumnWidth: TGroupBox; rbByConstant: TRadioButton; rbByArea: TRadioButton; editConstant: TEdit; cbArea: TComboBox; ...
unit ConverterClassFastIndex; interface type TTemperatureScale = (tsCelsius, tsFahrenheit, tsKelvin); const cTemperatureString: array[TTemperatureScale] of String = ('Celsius', 'Fahrenheit', 'Kelvin'); type TTemperature = class private FValue : Extended; FScale : TTemperatureScale; protected pr...
{: Actor movement with two cameras (first-person and third-person)<p> The movement control is a little "doom-like" and keyboard only.<br> This demos mainly answers to "doom-like" movement questions and keyboard handling in GLScene.<p> The basic principle is to check which key are pressed, and for each move...
unit pSHAutoComplete; {$I SynEdit.inc} interface uses Classes, SysUtils, Contnrs, Menus, Clipbrd, Types, SynEdit, SynEditKeyCmds, SynEditTextBuffer, SynEditTypes, SynCompletionProposal, Windows, pSHIntf, pSHCommon; type TpSHAutoComplete = class(TComponent) private FEditors: TL...
PROGRAM Desks(input, output) ; CONST Title_length = 16 ; (* Length of paper title *) TYPE StackElementType = PACKED ARRAY[1..Title_Length] OF char ; (* Stack element type is a string *) NodePtrType = ^StackNodeType; (* a pointer type *) StackNodeType = RECORD...
unit ideSHObjectListFrm; interface uses SHDesignIntf, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ideSHBaseDialogFrm, StdCtrls, ExtCtrls, AppEvnts, VirtualTrees, ToolWin, ComCtrls, StrUtils; type TObjectListForm = class(TBaseDialogForm) Panel1: TPanel...
unit ThTypes; interface uses System.Classes, System.UITypes, System.Generics.Collections, GR32; const TH_SCALE_MIN = 0.2; TH_SCALE_MAX = 4; type TThDrawMode = (dmSelect, dmDraw, dmPen, dmEraser); TThShapeDragState = ( dsNone, dsItemAdd, dsItemMove, dsItemResize, dsMultiSele...
unit uEmprestimoModel; interface uses uGenericEntity, uLivroModel, uUsuarioModel; type TEmprestimoModel = class(TGenericEntity) private FCodigo: Integer; FDataVencimento: TDate; FDataDevolucao: TDate; FDataRetirada: TDate; FUsuario: TUsuarioModel; FLivro: TLivroModel; procedure SetCod...
unit uDMImportCatalogTextFile; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uDMImportTextFile, FMTBcd, DB, ADODB; type TDMImportCatalogTextFile = class(TDMImportTextFile) qryCreateVendorTable: TADOQuery; qryCreateDatabase: TADOQuery; qryCreateMo...
unit InflatablesList_Manager_Base; {$INCLUDE '.\InflatablesList_defs.inc'} interface uses Graphics, StdCtrls, AuxClasses, InflatablesList_Types, InflatablesList_Data, InflatablesList_Backup, InflatablesList_Item; type TILManagerUpdatedFlag = (ilmufMainList,ilmufSmallList,ilmufMiniList, ...
unit UpShablonText; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, FIBDatabase, pFIBDatabase, FIBDataSet, pFIBDataSet, cxGridTableView, ImgList, cxGridLevel, ...
unit InflatablesList_ShopUpdater; {$INCLUDE '.\InflatablesList_defs.inc'} interface uses Classes, AuxTypes, InflatablesList_Types, InflatablesList_HTML_Document, InflatablesList_HTML_ElementFinder, InflatablesList_ItemShop_Update; type TILShopUpdaterResult = ( ilurSuccess, // all is well ...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : D:\DonnU\SourcesSVN\FMAS-WIN\Contingent_Student\Sources\WSDL\EDBOPersonToFMASService.wsdl // Encoding : UTF-8 // Version :...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
program swap; var a_i, b_i : Integer; var a_r, b_r : Real; (*procedure mit call by reference mit Integer als Datentyp*) procedure swapInt(var i1, i2 : Integer); var temp_i : Integer; begin temp_i := i1; i1 := i2; i2 := temp_i; end; (*procedure mit call by reference mit Real als Datentyp*) procedure swapReal(va...
(* Category: SWAG Title: DIRECTORY HANDLING ROUTINES Original name: 0012.PAS Description: Make/Change DIR Author: SWAG SUPPORT TEAM Date: 05-28-93 13:37 *) Program MakeChangeDir; { Purpose: - Make directories where they don't exist } { ...
unit NFSMonthCalendar; interface {$WARN SYMBOL_PLATFORM OFF} uses SysUtils, Classes, vcl.Controls, Vcl.ComCtrls, Windows, CommCtrl, Messages, vcl.Dialogs, vcl.Graphics, system.Types; type TCalClickEvent = procedure(Sender: TObject; aDate: TDate) of object; type TNFSMonthCalendar = class(TMonthCalendar) ...
unit UListaProduto; interface uses classes,Uproduto; type TlistaProduto = Class (TList) private protected FListaProduto:TList; public procedure AdicionarProduto(Objeto:TProduto); procedure RemoverProduto(Index:integer); function ContarItens:Integer; function getProdutos...
{* ***** BEGIN LICENSE BLOCK ***** Copyright 2010 Sean B. Durkin This file is part of TurboPower LockBox 3. TurboPower LockBox 3 is free software being offered under a dual licensing scheme: LGPL3 or MPL1.1. The contents of this file are subject to the Mozilla Public License (MPL) Version 1.1 (the "License"); you may ...
// // Generated by JavaToPas v1.5 20171018 - 171009 //////////////////////////////////////////////////////////////////////////////// unit android.speech.tts.Voice; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes, Androidapi.JNI.os; type JVoice = interface; JVoiceClass = interface(JObjectClas...
unit unt_FileAnalyzer; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, JvExMask, JvToolEdit, JvExControls, JvEditorCommon, JvEditor, StrUtils, IniFiles, ExtCtrls, ComCtrls; const BuffSize = 8192; type TOnProgressEvent = procedure(Processed, Curr...
unit Demo.GaugeChart.Sample; interface uses System.Classes, Demo.BaseFrame, cfs.GCharts, uniTimer; type TDemo_GaugeChart_Sample = class(TDemoBaseFrame) private FuniTimer: TUniTimer; FMemory: Integer; FCPU: Integer; FNetwork: Integer; procedure OnTimer(Sender: TObject); public procedur...
unit Dmitry.Utils.Dialogs; interface uses Windows; function SelectDirPlus(hWnd: HWND; const Caption: string; const SelRot: String = ''; const Root: WideString = ''): String; // Диалог выбора директории с кнопкой "Создать папку" function SelectDir(hWnd: HWND; const Caption: String; const SelRot: String =...
unit TestUPrecoGasVO; { Delphi DUnit Test Case ---------------------- This unit contains a skeleton test case class generated by the Test Case Wizard. Modify the generated code to correctly setup and call the methods from the unit being tested. } interface uses TestFramework, UPrecoGasVO, Atributos, UP...
(* This component was downloaded from the About Delphi Programming site http://delphi.about.com TNetDrive is a non-visual component that connects a network path to a drive name. Find more: http://delphi.about.com/library/weekly/aa061506a.htm *) unit NetDrive; interface uses Windows, Messages, SysUt...
unit ObjPlayRobot; interface uses Windows, Classes, SysUtils, DateUtils, SDK; type TPlayRobotObject = class m_sCharName: string; m_sScriptFileName: string; m_AutoRunList: TList; private m_boRunOnWeek: Boolean; //是否已执行操作; procedure LoadScript(); procedure ClearScript(); //procedure Pro...
unit AcctCard_FieldNames; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxControls, cxContainer, cxEdit, cxLabel, cxLookAndFeelPainters, ExtCtrls, StdCtrls, cxButtons, cxTextEdit, cxMaskEdit, ActnList, Unit_ZGlobal_Consts, ZProc, ZMessages, Registry; type ...
{------------------------------------------------------------------------- Copyright by Haeger + Busch, Germany / >>>>>>>>> /----- Ingenieurbuero fuer Kommunikationslösungen / <<<<<<<<< / ----------------------------------------------------/ >>>>>>>>> / Homepage : http://www.hbTapi.com...
unit TpPictureProperty; interface uses TypInfo, SysUtils, Classes, Controls, Graphics, Dialogs, ExtDlgs, dcedit, dcfdes, dcsystem, dcdsgnstuff, ThPicture; type { TTpPictureProperty = class(TPropertyEditor) protected function GetDialog: TOpenPictureDialog; function GetPicture: TThPicture; pub...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, IdServerWebsocketContext; type TForm1 = class(TForm) Button1: TButton; Timer1: TTimer; btnWebs...
unit PestObsGroupUnit; interface uses GoPhastTypes, System.Classes, System.SysUtils; type TPestObservationGroup = class(TPhastCollectionItem) private FObsGroupName: string; FUseGroupTarget: Boolean; FAbsoluteCorrelationFileName: string; FStoredGroupTarget: TRealStorage; function GetRelativC...
(******************************************************************************** * * * mmeapi.h -- ApiSet Contract for api-ms-win-mm-mme-l1-1-0 * * ...
{============================================================================== Copyright (C) combit GmbH ------------------------------------------------------------------------------- File : simplefm.pas, simplefm.dfm, simple2.dpr Module : simple list sample Descr. : D: Dieses Beispiel demonstriert das Desig...
unit UP_uManOrdersFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, cxGridTableView, cxGridLevel, cxClasses, cxControls, cxGridCustomView, cxGridCustomTa...
Unit IRPRequest; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} Interface Uses Windows, IRPMonRequest, IRPMonDll; Type TIRPRequest = Class (TDriverRequest) Private FArgs : TIRPArguments; FIRPAddress : Pointer; FMajorFunction : Byte; FMinorFunction : Byte; FPreviousMode : Byte; FRequestorMode...
namespace WinFormsApplication; interface {$HIDE H8} uses System.Drawing, System.Collections, System.Windows.Forms, System.ComponentModel; type MainForm = partial class {$REGION Windows Form Designer generated fields} private components: System.ComponentModel.IContainer; notif...
{algo triangle_car //BUT avoir un triangle en caractere //ENTREE une hauteur de triangle //SORTIE le triangle de 2 caractete CONST carcarmax=100 // la constante de la taille du triangle carmax Type tabchar = tableau[1..carcarmax,1..carcarmax] de caractere //mon tableau de caractere Procedure iChar(Var tab1:...
unit DatabasesSetup; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls, ImgList, LMDCustomComponent, LMDBrowseDlg, htDatabases; type TDatabasesSetupForm = class(TForm) Panel3: TPanel; Button1: TButton; NewButton: T...
UNIT Scanner; INTERFACE TYPE TTipoToken = (TOKEN_ID, TOKEN_FIGURAS, TOKEN_CORCHETE_A, TOKEN_CORCHETE_C, TOKEN_MARCADORES, TOKEN_CUBO, TOKEN_ESFERA, TOKEN_EOF, TOKEN_ENTERO, TOKEN_ERROR ,TOKEN_TETERA, TOKEN_CONO); pToken = ^TToken; TToken = RECORD ...
{Una agencia organiza promociones en el verano y las ofrece a distintas empresas. De cada pedido que hace una Empresa se conoce: - Código de Empresa ( XXX = fin de datos) - Si desea Plotear el vehículo (S/N) - Cantidad de días que dura la promoción Además se sabe que el costo del pedido se calcula según la siguiente T...
unit frmconfig; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ButtonPanel, EditBtn, StdCtrls, Spin; type { TTimeTrackerConfigForm } TTimeTrackerConfigForm = class(TForm) BPConfig: TButtonPanel; CBLimitTracking: TCheckBox; EEndOfWorkingDay: ...
{ Copyright (c) 1985, 87 by Borland International, Inc. } program ProcPtr; { This example program shows how to use a pointer and an inline directive to call 2 different procedures with the same parameters. CallProc is an inline directive (or macro) with the same parameters as both One and T...
unit DelphiGzip; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, DsgnIntf, gzio, zlib; type TZeroHundred = 0..100; THeader = set of (filename, comment); TAboutProperty = class(TPropertyEditor) public procedure Edit; override; function GetAttributes: TPropertyA...
unit Dmitry.Graphics.Types; interface uses System.Classes, System.SyncObjs, Vcl.Graphics; type TRGB = record B, G, R : Byte; end; ARGB = array [0..32677] of TRGB; PARGB = ^ARGB; PRGB = ^TRGB; PARGBArray = array of PARGB; TRGB32 = record B, G, R, L : byte; end; ...
{..............................................................................} { Summary ShowNetList - generate a Protel format net list from a Sch Project } { Version 2 } { Copyright (c) 2004 by Altium Limited ...
program mergefields; (*gibt ein array auf der konsole aus*) procedure printArray(a : ARRAY OF INTEGER); var i : INTEGER; begin for i := 0 to length(a)-1 do Write(a[i], ' '); WriteLn(); end; (*setzt alle elemente in einem array auf 0*) procedure clearArray(var a : ARRAY OF INTEGER); var i : INTEGER; begin fo...
namespace org.me.sqlitesample; //Sample app by Brian Long (http://blong.com) { This source file contains helper classes to keep the SQLite access all in one place If you deploy this app to the emulator then you can see the database after running the app: adb -e shell cd data/data/org.me.sqlite...
unit PascalCodeUnificationFrm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, System.Math, CoreClasses, ListEngine, PascalStrings, TextParsing, UnicodeMixedLib, DoStatusIO, TextD...
unit EcranAccueil; interface uses Variables; {Affiche l'écran d'accueil du jeu} procedure afficher; { Affiche un écran de vérification Quitter ? Oui/Non } procedure verifQuitter(Joueur : TJoueur); implementation uses GestionEcran, OptnAffichage, EcranGrimoire, EcranTribu; { Déclaration 'forward'...
unit BsDiscountObjEdit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, cxLabel, StdCtrls, cxButtons, cxTextEdit, cxControls, cxContainer, cxEdit, cxCheckBox; type TfrmGroupObjEdit = class(TForm) chRootObject: TcxCheckBox; Name...
unit uPayment; interface uses SysUtils, ADODB, uMRTraceControl, uDocumentInfo, Dialogs; type TPayment = class private FIDStore: Integer; FIDCashRegMov: Integer; FIDCustomer: Integer; FPaymentDate: TDateTime; FIDCentroCusto: Integer; FIDLancamentoTipo: Integer; FIDContaCorrente: Inte...
unit UnitPrintPreview; // ------------------------------------------------------------------------------ // // SVG Control Package 2.0 // Copyright (c) 2015 Bruno Verhue // // ------------------------------------------------------------------------------ // The SVG Edito...
unit RegistrationFrm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, Vcl.Menus, Vcl.StdCtrls, cxButtons, cxTextEdit, dxGDIP...
unit GenuisUnit; interface uses Forms,mainForm,Classes,Windows,activex; type TBxGenuis = class(TObject) constructor Create; private fDisplayForm : TfrmGenius; fTick:Integer; //执行两次step所花费的时间 fStepItExecuted:Boolean; //保证一次循环只调用一次stepit fPredictCount:Integer; //预测时间 protected public...
unit processsharedstring; interface uses SysUtils, Classes, Windows; type TProcessSharedAnsiString = class private FIdentifier: AnsiString; MappedFileSentry: THandle; MappingHandle: THandle; function MapView(Count: Int64): Pointer; function UnmapView(Ptr: Pointer): Boo...
namespace com.example.android.snake; {* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/l...
{ SuperMaximo GameLibrary : Music class unit by Max Foster License : http://creativecommons.org/licenses/by/3.0/ } unit MusicClass; {$mode objfpc}{$H+} interface uses SDL_mixer; type PMusic = ^TMusic; TMusic = object strict private mixMusic : PMix_Music; name_ : string; public //Load music with ...
unit UnitSizeResizerForm; interface uses Windows, Messages, System.SysUtils, System.Classes, System.Math, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.AppEvnts, Vcl.Themes, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.ImgList, Vcl.Imaging.JPEG, Unit...
unit ViewOnlineHuman; interface uses Windows, SysUtils, StrUtils, Classes, Controls, Forms, Grids, ExtCtrls, StdCtrls; type TfrmViewOnlineHuman = class(TForm) PanelStatus: TPanel; GridHuman: TStringGrid; Timer: TTimer; Panel1: TPanel; ButtonRefGrid: TButton; Label1: TLabel; ComboBox...
unit uFrmPurchaseItemQuickEntry; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, PAIDETODOS, siComp, siLangRT, StdCtrls, LblEffct, ExtCtrls, ADODB, DB, Buttons, DBCtrls, uFrmModelQuickEntry, uFrmBarcodeSearch, mrBarCodeEdit; type TFrmPurchaseItemQuickEntry...
unit uImpressaoEtiquetas; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, JvExStdCtrls, JvEdit, JvValidateEdit, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Mask, JvExMask, JvToolEdit, Vcl.Buttons, Vcl.ImgList, Vcl.Grids,...
unit HlpCRC32Fast; {$I ..\Include\HashLib.inc} interface uses HlpHashLibTypes, HlpHash, HlpIHash, HlpIHashInfo, HlpHashResult, HlpIHashResult; type TCRC32Fast = class(THash, IChecksum, IHash32, ITransformBlock) strict protected var FCurrentCRC: UInt32; procedure LocalCRCCompute(const AC...
// RemObjects CS to Pascal 0.1 namespace UT3Bots.Communications; interface uses System, System.Collections.Generic, System.Linq, System.Text; type BotMesh = public enum( IronGuard = -1, Lauren = 0, Barktooth, Reaper, Sharptooth, Harbinger, Matrix); BotColor = public enu...
{----------------------------------------------------------------------------- The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/NPL/NPL-1_1F...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLProjectedTextures<p> Implements projected textures through a GLScene object. <b>History : </b><font size=-1><ul> <li>05/03/10 - DanB - More state added to TGLStateCache <li>30/03/07 - DaStr - Added $I GLScene.inc <li>28...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, ExtCtrls, StdCtrls, mmsystem, uMultiCore; // multicore user record type TMultiCoreData = record // scanline area StartIndex,EndIndex : integer; // rgb-color prefix sum Accum...
unit frmContingentSafety; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.StdCtrls, dbfunc, uKernel, Vcl.Mask, DateUtils; type TfContingentSafety = class(TForm) Panel1: ...
unit Chapter06._02_Solution1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, DeepStar.Utils, AI.TreeNode; // 144. Binary Tree Preorder Traversal // https://leetcode.com/problems/binary-tree-preorder-traversal/description/ // 二叉树的前序遍历 // 时间复杂度: O(n), n为树的节点个数 // 空间复杂度: O(h), h为树的高度 type TSolution =...
{..............................................................................} { Summary Demo the use of Client's RunCommonDialog process } { Copyright (c) 2003 by Altium Limited } {...........................................................................
unit UArqRetornoItau; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Buttons, ALed, ExtCtrls, FMTBcd, DB, SqlExpr, DBClient, Grids, DBGrids, SMDBGrid, StdCtrls, Mask, JvToolEdit, dbxpress, UDM1, rsDBUtils; type TfArqRetornoItau = class(TForm) Panel1: TPanel; ...
unit glButtonPattern; interface uses {$IFDEF VER230} WinAPI.Windows, WinAPI.Messages {$ELSE} Windows, Messages {$ENDIF}, SysUtils, Classes, Controls, Graphics, PNGimage; type TglButtonPattern = class(TComponent) private FImageLeave, FImageEnter, FImageDown: TPicture; procedure SetImageLeave...
unit CollectionProp; interface uses Classes, dcedit, dcfdes, dcsystem, dcdsgnstuff; type TCollectionProp = class(TPropertyEditor) public function Collection: TCollection; procedure Edit; override; function GetAttributes: TPropertyAttributes; override; function GetValue: string; override; en...
unit uFrmMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, XiButton, ExtCtrls, StdCtrls, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxCalendar; type TfrmMain = class(TForm) pnlBottom: TPanel; btnOk: TXiButton; bt...
{* * Outliner Lighto * Copyright (C) 2011 Kostas Michalopoulos * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any ...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // { Support-code to load OCT Files into TVXFreeForm-Components in GLScene. (OCT being the format output from FSRad, http://www.fluidstudios.com/fsrad.html). } unit VXS.FileOCT; interface {$I VXScene.inc} uses ...
unit TextureAtlasExtractorBase; interface uses BasicMathsTypes, BasicDataTypes, Geometry, NeighborhoodDataPlugin, MeshPluginBase, Math, NeighborDetector, IntegerList, LOD; {$INCLUDE source/Global_Conditionals.inc} type TTextureSeed = record MinBounds, MaxBounds: TVector2f; Transform...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [PATRIM_BEM] The MIT License ...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2015 Embarcadero Technologies, Inc. // You may only use this software if you are an authorized licensee // of an Embarcadero developer tools product. // This software is considered a Redistributable as ...
unit userscript; uses mteFunctions; uses userUtilities; const target_filename = 'Deadly Wenches - Less Deadly Patch.esp'; var dw_npc_names, template_npc_names, inventory_rec, slMasters, slSignatures, slExclusions, slVampireKeywords : TStringList; target_file, skyrimFile, dwFile : IInterface; ...
{ @abstract Implements @link(TNtTreeViewTranslator) translator extension class that translates TTreeView. TTreeView component stores nodes as defined binary property into the form file. @link(TNtTranslator) can not automatically translate defined binary properties because it does not know the format that is us...
unit UMyFPImage; {$mode objfpc}{$H+} { Simple unit to load PNG and JPEG images with FP Image Copyright (c) 2020 by Andrzej Kilijański (digitalkarabela.com) Public domain license. No warranty, use at your own risk. } interface uses Classes, SysUtils, FPImage, FPReadJPEG, FPReadPNG; type // Simple FPImage...
unit MeshSmoothGaussian; // This is a Taubin like mesh smooth that uses gaussian functions. It works with // manifold meshes that are regular (or as regular as possible) and all its edges // should be in the same size. In short, it is a terrible way to smooth meshes // and it is here just for comparison purposes....
unit uCheckException_Controller; interface uses System.SysUtils, Forms, System.Classes; type TException = class private FLogFile: String; public constructor Create; procedure CheckException(Sender: TObject; e: Exception); procedure SaveLog(Value: String); end; implementatio...
unit Ueberschriftenpanel_norm; interface uses Windows, Messages, SysUtils, Classes, Controls, ExtCtrls, StdCtrls, Graphics; type TUeberschriftenpanel = class(TPanel) private { Private-Deklarationen } FImageList : TImageList; FIndex : integer; FText : string; FHeight ...
unit EasyEditState; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, EasyClasses, EasyParser, EasyEditor, EasyEditSource; type TEasyEditState = class public WindowChar: Integer; WindowLine: Integer; Cursor: TPoint; procedure GetState(inEdit: TEasyEdit); ...
unit frmManageParametersUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, frmCustomGoPhastUnit, Grids, StdCtrls, RbwDataGrid4, Math, ModflowParameterUnit, OrderedCollectionUnit, ModflowTransientListParameterUnit, HufDefinition, Buttons, Mask, JvExMask, ...
unit fos_firmbox_dhcp_mod; {$mode objfpc}{$H+} {$modeswitch nestedprocvars} interface uses Classes, SysUtils, FRE_SYSTEM, FOS_TOOL_INTERFACES, FRE_DB_INTERFACE, FRE_DB_COMMON, fos_firmbox_subnet_ip_mod, fre_hal_schemes,fre_dbbusiness; type { TFRE_FIRMBOX_DHCP_SERVICE_IF_MOD } TFRE_FIRMBOX_DHCP_SER...
namespace CirrusCalculatorInterfaceAspectLibrary; interface uses RemObjects.Elements.Cirrus; type // This attribute will be transformed into RemObjects Cirrus Aspect later. // Note how RemObjects.Elements.Cirrus.IMethodDefinition and RemObjects.Elements.Cirrus.ITypeImplementationDecorator // interfaces are ...
unit NtTranslatorEx; interface uses Forms; { Translates the form. @param form Form to be translated. } procedure _T(form: TCustomForm); overload; implementation uses NtTranslator; procedure _T(form: TCustomForm); var translator: TNtTranslator; begin translator := TNtTranslator.Create; try translat...
// Web Open Font Format 1.0 unit fi_woff; interface implementation uses fi_common, fi_info_reader, fi_sfnt, fi_utils, classes, sysutils, zstream; const WOFF_SIGN = $774f4646; // 'wOFF' type TWOFFHeader = packed record signature, flavor, length: LongWord; numTables, reserved...
unit Player; interface uses Errors; type TPlayerInfo = record wID_Player:word; sName:string[30]; wCurSit:word; bHealth:byte; sPassword:string[32]; end; TPlayerFile = file of TPlayerInfo; TPlayer = class private isFileAssigned:boolean; piPlayerInfo:TPlayerInfo; public ...