text
stringlengths
14
6.51M
unit Interfaces; interface uses System.SysUtils, System.Generics.Collections, DataModels; type IPanelFrame = interface ['{753BD983-6F7C-418F-9D9B-96FFAD37E138}'] end; IBasePresenter = interface ['{D11D3023-FDFF-4146-AF07-491FA2B6E52F}'] procedure Start; end; IBaseView<T> = interface ['{...
unit CANLIB; // // Copyright 1995-2018 by KVASER AB // WWW: http://www.kvaser.com // // This software is furnished under a license and may be used and copied // only in accordance with the terms of such license. // // This unit defines an interface for Delphi to CANLIB32.DLL. interface {$IF Defined(WI...
// *************************************************************************** // // cfs.GCharts.uniGUI: uniGUI Google Charts Frame // cfsCharts is a Delphi library of components to generate Charts in uniGUI Framework using the Google Charts API // // Copyright (c) 2021 Josep Pagès // // https://github.com/JosepPages7/...
{*******************************************************} { } { Tachyon Unit } { Vector Raster Geographic Information Synthesis } { VOICE .. Tracer } { GRI...
unit uGameScreen.MainGame; {Главный экран - игровой, "в нем" пользователь играет} interface uses Winapi.Windows, System.SysUtils, System.Classes, System.Contnrs, GLScene, GLObjects, GLWin32Viewer, GLVectorGeometry, GLVectorTypes, GLVectorFileObjects, GLFile3DS, GLFilePNG, ...
unit UCountSystems; interface uses UTypes; { Переводит число из одной системы счисления во все другие } procedure convertToCountSystems(var number: TNumber; countSystem: TCountSystem); implementation uses SysUtils; const { Таблицы перевода } BIN_HEX_CONVERT: array [1..2, 1..16] of...
{ *************************************************************************** } { } { MVCBr é o resultado de esforços de um grupo } { } { Copyright (C) 2017 MVCBr } { } { amarildo lacerda } { http://www.tireideletra.com.br } { } { } { ***************************************************************************...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // unit VXS.FileJPEG; interface {$I VXScene.inc} uses System.Classes, System.SysUtils, VXS.OpenGL, VXS.VectorGeometry, VXS.Context, VXS.Graphics, VXS.TextureFormat, VXS.ApplicationFileIO; type ...
{******************************************************************************} { } { Delphi OPENSSL Library } { Copyright (c) 2018 Luca Minuti ...
unit Unit1; interface uses Windows, Messages, System.SysUtils, System.Variants, System.Math, Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, GLCadencer, GLWin32Viewer, GLScene, GLObjects, GLVectorGeometry, GLKeyboard, GLTerrainRenderer, GLGeomObjects, GLMult...
unit UDOleObjects; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, UCrpe32; type TCrpeOleObjectsDlg = class(TForm) pnlOleObjects: TPanel; lblNumber: TLabel; lbNumbers: TListBox; editCount: TEdit; lblCount: TLabel; btn...
{------------------------------------ 功能说明:实现IDBAccess接口 创建日期:2014/08/04 作者:mx 版权:mx -------------------------------------} unit uDBAccess; interface uses SysUtils, DB, DBClient, Dialogs, uDBIntf, uSvcInfoIntf, uParamObject, WMServer_Intf; type TDBOperation = class(TInterfacedObject, IDBAccess, ISvcInfo) ...
//****************************************************************************** // Пакет для редактирования записи // из таблицы Z_Current - зарплатные текущие выплаты // Параметры: AOwner - компонент от которого создается форма для редактирования // DB_Handle...
program Redefinisjon; var x: integer; procedure WriteInt (X: Integer); begin write(X) {Her kaller vi på den originale 'write'.} end; {WriteInt} procedure WriteChar (X: Char); begin write(X) {Det gjoer vi her ogsaa.} end; {WriteChar} procedure write (C: char; V: integer); begin WriteChar(C); WriteChar('=')...
unit eaterFeeds; interface uses Classes, DataLank, eaterReg; type TFeedEatResult=record FeedCount,PostCount:integer; end; TFeedEater=class(TInterfacedObject, IFeedStore, IFeedHandler) private FDB,FDBStats:TDataConnection; FReport:TStringList; FPostID:string; FPostURL:WideString; FPos...
unit uThreadBarraProgresso; interface uses System.Classes, Vcl.ComCtrls; type TThreadBarraProgresso = class(TThread) private FBarraProgresso: TProgressBar; FnTempoSleep: integer; FnPosicao: integer; procedure AtualizarProgresso; protected procedure Execute; override; public property...
{$APPTYPE CONSOLE} unit u_Main; interface uses Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Math, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Imaging.jpeg, GLCadencer, GLWin32Viewer, GLCrossPlatform, GLBaseClass...
unit LightControl; interface uses SysUtils, Generics.Collections, Math, Windows; type TLampe = class(TObject) private fR, fG, fB: Integer; // 0..4095 fH, fS, fV: Real; // 0..2*Pi, 0..1, 0..1 fHasChanged: boolean; procedure RGBToHSV; procedure HSVToRGB; funct...
{ Role Receive mouse pointer information - Detect the item of the mouse position - Firing Mouse-event on item 역할을 분담하는 것이 맞는가? DrawObj에 구현하는 것이 맞나? } unit ThCanvasEventProcessor; interface uses System.Classes, GR32, ThTypes, ThItemCollections; type /// 도형 그리기의 마우스 처리 담당 TThShapeDrawMous...
unit Card.Confetti; interface uses W3C.HighResolutionTime, Card.Framework; type TConfetti = class; TConfettiSnippet = class private FOwner: TConfetti; FRotationSpeed: Float; FAngle: Float; FRotation: Float; FOscillationSpeed: Float; FSpeed: TVector2f; FTime: Float; FCorners: ...
unit MainFrm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Data.DB, Data.Win.ADODB, ppPrnabl, ppClass, ppCtrls, ppBands, ppCache, ppDB, ppDesignLayer, ppParameter, ppProd, ppReport, ppComm, ...
namespace Basic_WebAssembly_GUI_App; uses RemObjects.Elements.RTL.Delphi, RemObjects.Elements.RTL.Delphi.VCL; type [Export] Program = public class public method HelloWorld; begin Application := new TApplication(nil); Application.Initialize; Application.Run; // Create form ...
//This event type is for NPC's "OnTouch" property. When a character walks into //the walking field, this executes. unit OnTouchCellEvent; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} interface uses NPC, Being, Character; type TOnTouchCellEvent = class protected fScriptNPC : TScriptNPC; public ...
namespace AppBarExample; interface uses System, System.Collections.Generic, System.IO, System.Linq, Windows.ApplicationModel, Windows.ApplicationModel.Activation, Windows.Foundation, Windows.Foundation.Collections, Windows.UI.Xaml, Windows.UI.Xaml.Controls, Windows.UI.Xaml.Control...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLFeedback<p> A scene object encapsulating the OpenGL feedback buffer.<p> This object, when Active, will render it's children using the GL_FEEDBACK render mode. This will render the children into the feedback Buffer rather than into ...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit Guia.OpenViewUrl; interface function OpenURL(const URL: string; const DisplayError: Boolean = False): Boolean; implementation uses IdURI, SysUtils, Classes, FMX.Dialogs, {$IFDEF ANDROID} FMX.Helpers.Android, Androidapi.JNI.GraphicsContentViewText, Androidapi.JNI.Net, Androidapi.JNI.JavaTypes, ...
namespace com.remobjects.actionbar; interface uses java.util, android.app, android.content, android.os, android.util, android.view, android.widget; type MainActivity = public class(Activity) protected method openSearch(); method openSettings(); public method onCr...
unit ImportarProduto.Controller; interface uses ImportarProduto.Controller.interf, TESTPRODUTO.Entidade.Model, Produto.Model.interf, System.SysUtils; type TImportarProdutoController = class(TInterfacedObject, IImportarProdutoController) private FProdutoModel: IProdutoModel; FRegistro: TTESTPRODUTO;...
unit untGlobal; interface uses FMX.Objects, FMX.Forms, System.Classes, FireDAC.Comp.Client, IdFtp, System.NetEncoding, IdHTTP, IdSSLOpenSSL, Guia.Controle, System.Net.HttpClient; function formataCNPJCEP(vDoc,vAcao : String) : String; function SizeImgPx(fImagem : String) : String; function GeraNameFile ...
(* RestObject Simple class to interact with a RESTful Web Service Given a domain, port and user credentials, it is able to retrieve from and post to an address XML strings. Example In your class or unit, declare that: uses RestObject; Then, among your variable declaration: var rest : TRestObj...
unit UserModel; interface uses GlobalTypes; type TUser = class private fId : StringGuid; fFirstName : String40; fLastName : String150; fBirtDate : TDateTime; fActive : Boolean; fPhoneNumber : String12; fUsername : String20; fPassword : String64...
{ Datamove - Conversor de Banco de Dados Firebird para Oracle licensed under a APACHE 2.0 Projeto Particular desenvolvido por Artur Barth e Gilvano Piontkoski para realizar conversão de banco de dados firebird para Oracle. Esse não é um projeto desenvolvido pela VIASOFT. Toda e qualquer alteração deve ser s...
unit tools; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Graphics; type //types of tools ToolEnum = ( TLPEN, TLERASER, TLLINE, TLRECT, TLELLIPSE, TCFILLER ); //general tool template TTool = class private x1, y1, x2, y2: Integer; PenColor, BrushColor: TColor; Si...
unit avrisphw; {$mode objfpc}{$H+} interface uses Classes, SysUtils, basehw, libusb, usbhid, msgstr, utilfunc; type { TUsbAspHardware } TAvrispHardware = class(TBaseHardware) private FDevOpened: boolean; FDevHandle: Pusb_dev_handle; FDeviceDescription: TDeviceDescription; FStrError: string; public con...
{Дан двумерный массив A[m,n]. Найти среднее значение отрицательных элементов массива, величина которых < -20. Результаты выдать на экран.} var a:array[1..100,1..100] of integer; var i,j,n,m,k:integer; var s,sr:real; begin randomize; s:=0; k:=0; read(n,m); for i:=1 to n do begin for j:=1 to m do beg...
unit uSqlFunctions; interface uses Sysutils, uSystemConst, xBase, uSystemTypes, uStringFunctions; Const ORDER_AUTO = -1; ORDER_ASC = 0; ORDER_DESC = 1; type TSQLStatement = array[0..10] of String; TSQLAgregate = array[0..4] of String; // amfsouza May 3, 2013 TSQLOptimizer = array[0..6] of String; ...
unit Modules.Configuration; interface uses System.SysUtils, System.Classes, Vcl.BaseImageCollection, AdvTypes, System.ImageList, Vcl.ImgList, Vcl.VirtualImageList, AdvStyleIF, AdvAppStyler; type TConfiguration = class(TDataModule) SVGCollection: TAdvSVGImageCollection; Glyphs: TVirtualImageList; Ap...
(* Category: SWAG Title: MATH ROUTINES Original name: 0048.PAS Description: Math Evaluations Author: WARREN PORTER Date: 11-21-93 09:29 *) { From: WARREN PORTER Subj: eval Program to evaluate expressions using a stack. } const Maxstack = 100; type stack = record top : 0..Maxstack; Ite...
unit ibSHUserFrm; interface uses SHDesignIntf, SHEvents, ibSHDesignIntf, ibSHComponentFrm, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, ELPropInsp, ExtCtrls, TypInfo; type TibSHUserForm = class(TibBTComponentForm) Panel1: TPanel; PropInspector...
(******************************************************) (* *) (* Program HP Calculator *) (* *) (* PASCAL 187 with Sushant Patnaik *) (* Scott Janousek [SCOTTJ] #011-52-0632 *) (* Assigment #2 post fix Calcul...
namespace LinqToSQL; interface uses System.Drawing, System.Collections, System.Collections.Generic, System.Linq, System.Data.Linq, System.Data.Linq.Mapping, System.Windows.Forms, System.ComponentModel; type /// <summary> /// Summary description for Form1. /// </summary> MainForm = partial cl...
(* Copyright (c) 2016 Darian Miller All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
(* SPELLINT.PAS - Copyright (c) 1995-1996, Eminent Domain Software *) unit SpellInt; {-interface unit for SPELLER.DLL} {version 2.0 no longer uses the DLL} {This file is provided for backward compatibility for users who} {accessed version 1.0 DLL directly} {$I SPELLDEF.PAS} interface uses {$IFDEF Win32} LexDCT...
unit ufrmBrowseQuotation; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmMasterBrowse, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxBarBuiltInMenu, cxStyles, cxCustomData, cxFilter, c...
{****** 单 元:uParam.pas 作 者:刘景威 日 期:2007-6.1 说 明:参数设置单元 更 新: ******} unit uParam; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uBase, StdCtrls, Buttons, ExtCtrls, ComCtrls, CtrlsEx, Quiz; type TfrmParam = class(TfrmBase) Bevel7: TBevel; lb...
unit VirtualExplorerListviewEx; {============================================================================== Version 1.4.6 (VirtualShellTools release 1.1.x) Software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. The initial developer of this code is Robert Lee...
unit SlideShowFullScreen; interface uses System.Types, System.Classes, Winapi.Windows, Winapi.Messages, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.AppEvnts, Vcl.ComCtrls, Dmitry.Utils.System, uWinApi, uDBForm, uFormInterfaces, uVCLHelp...
unit Editor; {$mode objfpc}{$H+} interface uses Classes, Windows, SysUtils, FileUtil, SynEdit, SynHighlighterAny, SynCompletion, Forms, Controls, ComCtrls, ExtCtrls, StdCtrls, Menus, Global, Dialogs, Types, LCLType, Graphics; type { TEditorFrame } TEditorFrame = class(TFrame) Button1...
unit feli_event_ticket; {$mode objfpc} interface uses feli_document, feli_collection, fpjson; type FeliEventTicketKeys = class public const id = 'id'; tType = 'type'; fee = 'fee'; end; FeliEventTicket = class(FeliDocume...
unit Win32.MPEG2Structs; {$mode delphi} interface uses Windows, Classes, SysUtils; const MPEG2_FILTER_VERSION_1_SIZE = 124; MPEG2_FILTER_VERSION_2_SIZE = 133; type {$Z1} TPID_BITS_MIDL = record Bits: word; end; TMPEG_HEADER_BITS_MIDL = record Bits: word; end; TMP...
unit Turtle; {$mode objfpc}{$H+} interface uses Graphics, Classes, SysUtils, lua, plua, pLuaObject, LuaWrapper; procedure RegisterTurtle(LuaInstance : TLua); var TurtleCanvas : TCanvas; implementation var TurtleInfo : TLuaClassInfo; type { TTurtle } TTurtle = class private FColor: TColor; ...
{ *************************************************************************** Copyright (c) 2016-2020 Kike Pérez Unit : Quick.Logger.Provider.Rest Description : Log Api Rest Provider Author : Kike Pérez Version : 1.23 Created : 15/10/2017 Modified : 24/04/2020 This file is part...
unit ibSHFieldListRetriever; interface uses Classes, SysUtils, SHDesignIntf, ibSHDesignIntf, ibSHValues, ibSHSQLs, pSHIntf; type TibBTFieldListRetriever = class(TSHComponent, IpSHFieldListRetriever, ISHDemon) private FDatabase: IibSHDatabase; function GetDatabase: IInterface; ...
{ This application shows how to localize package files (.bpl). The main application Project1.exe uses two packages: - a custom package SamplePackage.bpl - a standard VCL package vcl250.bpl (Delphi 10.2 Tokyo) SamplePacakge.bpl contains a form (TSampleForm), a frame (TSampleFrame) and a resource string (Sa...
unit QQWry; interface uses Windows, SysUtils, Classes, StrUtils, Controls, Math; const //用于内存文件映射标志 QQWryMapFileTag = 'QQWryMapFile'; type TQQWry = class(TObject) public constructor Create(AQQWryFileName: string); destructor Destroy; override; function GetQQWryFileName: string; fu...
unit FilterPart; interface uses stdctrls, windows, classes, Sysutils, Controls, comctrls, Forms, extctrls, db, dbgrids, buttons, graphics, Placemnt, DBGridEh; type { TAvGrid = class(TDBGrid) private FIniLink: TIniLink; FLabel: TLabel; FEdit: TEdit; FButton: TBitBtn; FPanel: TPanel; FShift: TShiftState...
unit RangeTree2D_u; { generic 2D Range Tree -> TRangeTree2D<TKey> Based on Ideas given in Session 3 of the course 6.851 MIT OpenWare https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-851-advanced-data-structures-spring-2012/lecture-videos/ HOW TO USE: TKey is a userdefined class...
{***************************************************************************} { TMiniGrid component } { for Delphi } { } { writte...
{ HighLighter pou Elphy C'est SynHighLighterPas modifié. La fonction de codage est Function HighLightCode(st:string):integer; var i:integer; begin st:=UpperCase(st); result:=0; for i:=1 to length(st) do if st[i] in ['A'..'Z'] then inc(result,ord(st[i])-64); end; Les mots-clés sont...
unit DataSetDM5; interface uses SysUtils, Classes, DSServer, DBXInterBase, DB, SqlExpr, FMTBcd, Provider, ServerContainer, Generics.Collections, DBClient, DBXCommon, DBXJSON, Location, DBXJSONReflect, DBXDBReaders; type TDMDataSet5 = class(TDSServerModule) CDSRegion: TClientDataSet; CDSCountry: TClie...
(* Category: SWAG Title: MATH ROUTINES Original name: 0112.PAS Description: Re: Trunc() and Frac() Author: PEDRO GUTIERREZ Date: 05-31-96 09:17 *) Program Sample_Trunc_Frac; Var nNumber, nTrunc, nFrac : Real; { Number es xxxx.yyy } Procedure Trunc_Frac(nIn : Real; Var nTruncOut,nFracOut : Re...
Unit Buffer; { * Buffer : * * * * Aqui es implementado el buffer cache del sistema , los bloques * * son anidados en dos colas las cola Lru y la cola Hash , por * * ahora solo m...
unit HeaderFooterFormwithNavigation; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Graphics, FMX.Forms, FMX.Dialogs, FMX.TabControl, System.Actions, FMX.ActnList, FMX.Objects, FMX.StdCtrls, FMX.Advertising; type THeaderFo...
unit ClassLN; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TLn = class x: Real; function ln():Real; private public error: Real; constructor create(); destructor Destroy; override; end; implementation function potencia( b: Real; n: Integer ): Real; var i: Inte...
%TITLE('----- CRT Mapping Utility _____') %PAGE(50) { This version setup for Televideo terminals. To adapt to other terminals modify PROCEDURE PART2 which generates the cursor positioning (gotoxy) and clear screen (clear) codes. } {=================================================================} PROGRA...
(* TXBUFF.PAS - Copyright (c) 1995-1996, Eminent Domain Software *) unit TXBuff; {-TXTextControl buffer manager for EDSSpell component} interface uses Classes, Controls, Graphics, SysUtils, Forms, StdCtrls, Dialogs, WinProcs, WinTypes, VBXCtrl, BIVBX, Tx4vb, {$IFDEF Win32} {$IFDEF Ver100} LexDCTD3, {$ELSE}...
unit u_ast_constructions_blocks; {$INTERFACES CORBA} {$mode objfpc}{$H+} interface uses Classes, SysUtils, u_tokens, u_ast_blocks, u_ast_expression_blocks; type TMashASTB_Import = class(TMashASTBlock) public method_name: string; lib_name: string; native_name: string; call_cou...
unit uZeeBeClient; interface uses System.SysUtils, System.Classes, gateway_protocol.Proto, gateway_protocol.Client; type EZeeBeError = class(Exception); ECompleteJobError = class(EZeeBeError); EDoJobError = class(EZeeBeError); EProcessMessageError = class(EZeeBeError); Type TWorkerProc = procedure(Job...
unit Jobs; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, JvComponentBase, JvFormMagnet, Vcl.StdCtrls, Vcl.CheckLst; type TForm2 = class(TForm) JvFormMagnet1: TJvFormMagnet; JobList: TCheckListBox; BatchB...
{$B-,I-,Q-,R-,S-} {$M 65384,0,655360} {Problema 11: Cumplea¤os Bovino [Tradicional, 2005] Bessie le pregunt˘ a su amiga en que dĦa de la semana naci˘ ella. Ella sabĦa que ella naci˘ el 25 de Mayo de 2003, pero no sabĦa que dĦa era. Escriba un programa para ayudarla. Note que ninguna vaca naci˘ antes del a¤o 1800. Hec...
unit OTFECrossCryptTestApp_U; // Description: // By Sarah Dean // Email: sdean12@sdean12.org // WWW: http://www.SDean12.org/ // // ----------------------------------------------------------------------------- // interface {$IFDEF LINUX} This software is only intended for use under MS Windows {$ENDIF...
unit uSerasaHTML; interface uses Windows, SysUtils, Classes, Sockets, uSerasaTypes, uSerasaConsts, uSerasaFunctions, Dialogs; type TSerasaSearch = class(TComponent) private FSerasaHeader: TSerasaHeader; FClient : TTcpClient; sResponse, sResponseUncripted: String; FLastResult: String; FWa...
unit FMain; interface uses Classes, Controls, Forms, NLDSnakeImage, StdCtrls; type TMainForm = class(TForm) StopButton: TButton; Thanks: TStaticText; procedure FormCreate(Sender: TObject); procedure FormShow(Sender: TObject); procedure StopButtonClick(Sender: TObject); private...
unit uSettings; interface uses Windows, Classes, SysUtils, uMemory, uConstants, uConfiguration, UnitINI; type TExifSettings = class; TAppSettings = class(TObject) private FRegistryCache: TDBRegistryCache; FExifSettings: TExifSettings; function GetDataBase: string;...
namespace org.me.tabbedapp; //Sample app by Brian Long (http://blong.com) { This example shows how to build a simple tabbed application This main activity is a TabActivity, and each tab set up on the TabHost has its own activity The TabWidget is upodated when you add new tabs onto the TabHost } inter...
unit ThCommandManager; interface uses ThTypes, ThClasses, System.Generics.Collections; type TThCommandManager = class(TThInterfacedObject, IThObserver) type TThCommandStack = TStack<IThCommand>; private FSubject: IThSubject; FUndoStack: TThCommandStack; FRedoStack: TThCommandStack; funct...
unit UTxtToPath; interface uses Windows, SysUtils, Classes,Graphics,GR32,GR32_Paths,math; type TWrapWordKind=(wwNone,wwSplit,wwWrap); TTxtAlignement=(tacLeft,tacCenter,tacRight,tacJustify); TArrayOfInteger=array of Integer; TArrayOfWord=array of Word; TTxtGlyphs = class protected ...
{ *************************************************************************** } { } { Kylix and Delphi Cross-Platform Visual Component Library } { } ...
unit TextureBank; interface uses BasicDataTypes, dglOpengl, TextureBankItem, SysUtils, Windows, Graphics, Abstract2DImageData; type TTextureBank = class private Items : array of PTextureBankItem; // Constructors and Destructors procedure Clear; // Adds ...
unit sgDriverText; //============================================================================= // sgDriverText.pas //============================================================================= // // The TextDriver is responsible for providing an interface between SwinGame // code and the drivers. It can interface...
unit kpPipeline; { TkpPipeline - трубопровод с анимацией версия 1.0 (c) К. Поляков, 2003 FIDO: 2:5030/542.251 e-mail: kpolyakov@mail.ru Web: http://kpolyakov.narod.ru http://kpolyakov.newmail.ru Ограничения: - одностороннее движение жидкости ...
{ This sample shows how not only to localize user interface but database too. The sample also shows how to show only those rows that belong to the active language. } unit Unit1; interface uses Classes, Controls, Menus, Grids, DB, DBGrids, ADODB, Forms; type TMainForm = class(TForm) MainMenu: TMainMen...
unit ExtUxLayout; // Generated by ExtToPascal v.0.9.8, at 7/1/2010 09:28:02 // from "C:\Trabalho\ext-3.0.0\docs\output" detected as ExtJS v.3 interface uses StrUtils, ExtPascal, ExtPascalUtils, ExtLayout, Ext; type TExtUxLayoutRowLayout = class; TExtUxLayoutCenterLayout = class; TExtUxLayoutR...
unit NewsStoryU; interface uses Classes,sysutils,QuickRTTI,QRemote; type TClientNewsStory =class(TQRemoteObject) private fstory_id,ftitle,fbyline,fstory:STring; fcreated:Tdatetime; published property STORY_ID:STring read fstory_id write fstory_id; property CREATED:TDateTime read fcreated write fcreat...
unit ChainsawData; { Data for Chainsaw. Written by Keith Wood (kbwood@iprimus.com.au) Version 1.0 - 19 September 2003. } interface uses SysUtils, Classes, DB, DBClient; type TdtmLogging = class(TDataModule) cdsLogging: TClientDataSet; cdsLoggingThreadId: TStringField; cdsLoggingTimestamp: TSQ...
unit BVE.SVG2PathGeometry; //------------------------------------------------------------------------------ // // SVG Control Package 2.0 // Copyright (c) 2015 Bruno Verhue // //------------------------------------------------------------------------------ /// <summary> ///...
unit ThCellPanel; interface uses Windows, Classes, Controls, StdCtrls, ExtCtrls, Graphics, Messages, SysUtils, Types, ThWebControl, ThTag, ThPanel; type TThCellPanel = class(TThCustomPanel) protected procedure AlignCells(inAlign: TAlign; inLevel: Integer; var ioRect: TRect); // procedure Not...
unit ufrmPopupFamilyMember; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, ExtCtrls, DateUtils, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxNav...
unit Rules; interface uses Kitto.Rules, Kitto.Store; type TDefaultPhaseStartTime = class(TKRuleImpl) public procedure NewRecord(const ARecord: TKRecord); override; end; implementation uses SysUtils, Variants, EF.Localization, Kitto.Metadata.DataView; { TDefaultPhaseStartTime ...
// // Generated by JavaToPas v1.4 20140526 - 132719 //////////////////////////////////////////////////////////////////////////////// unit javax.xml.validation.SchemaFactory; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes, org.xml.sax.ErrorHandler, org.w3c.dom.ls.LSResourceResolver, javax.xml....
unit feli_storage; {$mode objfpc} interface uses feli_user, feli_event, fpjson; type FeliStorageAPI = class(TObject) private public // users class function getUser(usernameOrEmail: ansiString): FeliUser; class function getUsers(): FeliUserCollection; class pro...
unit structTypes; interface type Integer = Integer; Single = Single; IUnknown = interface ['{00000000-0000-0000-C000-000000000046}'] function func(): Single; virtual; procedure proc; virtual; end; TA = class FA: string; strict private FPrivate: TA; pri...
unit NpPriceDocEdit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, EditBase, VirtualTable, DB, MemDS, DBAccess, Ora, uOilQuery, StdCtrls, Buttons, ExtCtrls, Mask, ToolEdit, Grids, DBGridEh, Menus, PrihSop, NPTypeRef, GridsEh, DBGridEhGrouping, ComCtrls, Lis...
unit Binac1; {Versions Delphi} INTERFACE {$IFDEF FPC} {$mode delphi} {$DEFINE AcqElphy2} {$A1} {$Z1} {$ENDIF} uses classes, sysutils, util1,Gdos,Ncdef2; procedure proReset(numF:integer;st:AnsiString);pascal; procedure proRewrite(numF:integer;st:AnsiString);pascal; procedure proBlockread(numF:integer;var x;taille:in...
(* Weak enemy with simple AI, no pathfinding *) unit cave_rat; {$mode objfpc}{$H+} interface uses SysUtils, Math, map; (* Create a cave rat *) procedure createCaveRat(uniqueid, npcx, npcy: smallint); (* Take a turn *) procedure takeTurn(id, spx, spy: smallint); (* Move in a random direction *) procedure wander(i...
{******************************************************************************} {* *} {* Copyright (c) 2002, NVIDIA Corporation. *} {* ...
program three; var A,S,R:Real; begin Write("Введите размер ребра куба: "); ReadLn(A); S:=Pow(A, 3); R:=6 * Pow(A, 2); WriteLn("Объем куба: ", S); WriteLn("Площадь поверхности куба: ", R); end. program four; var A,B,S:Integer; begin Write("Введите первое число: "); ReadLn(A); Write("Введите второе число: "...
{******************************************************************************* Title: T2Ti ERP Description: Controller do lado Cliente relacionado ŕ tabela [NFSE_CABECALHO] ...
unit API_VCL_UIExt; interface uses VirtualTrees; type TVSTreeHelper = class helper for TVirtualStringTree private function DoFindNode<T: class>(aParentNode: PVirtualNode; aObject: T): PVirtualNode; public function FindNode<T: class>(aObject: T): PVirtualNode; end; implementation function TVSTreeHe...