Changeset 244 for oup/current
- Timestamp:
- Aug 17, 2007, 11:09:51 PM (17 years ago)
- Location:
- oup/current
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
oup/current/FileClasses/_Extensions.pas
r241 r244 26 26 function GetChild(ID: Integer): TTreeElement; override; 27 27 function GetCaption: String; override; 28 function GetType: String; override; 28 29 private 29 30 FExtensions: array of TExtension; … … 103 104 function TExtensions.GetCaption: String; 104 105 begin 105 Result := ' ';106 Result := 'Extensions'; 106 107 end; 107 108 … … 157 158 end; 158 159 160 function TExtensions.GetType: String; 161 begin 162 Result := ''; 163 end; 164 159 165 procedure TExtensions.AddExt(Ext: String); 160 166 var -
oup/current/Global/OniImgClass.pas
r204 r244 414 414 images[i] := TOniImage.Create; 415 415 images[i].LoadFromTXMP(ConnectionID, link); 416 SetLength(FImages, 1);417 NewImage(width, height, ifA1R5G5B5, FImages[0]);418 end;416 end; 417 SetLength(FImages, 1); 418 NewImage(width, height, images[0].Format {ifA1R5G5B5}, FImages[0]); 419 419 for y := 0 to rows - 1 do 420 420 begin … … 426 426 for i := 0 to x do 427 427 if i < x then 428 x_start := x_start + images[i].Image[ 0].Width;428 x_start := x_start + images[i].Image[1].Width; 429 429 for i := 0 to y do 430 430 if i < y then 431 y_start := y_start + images[i].Image[ 0].Height;432 CopyRect(images[imgid].Image[ 0], 0, 0, images[imgid].Image[0].Width,433 images[imgid].Image[ 0].Height, FImages[0], x_start, y_start);431 y_start := y_start + images[i].Image[1].Height; 432 CopyRect(images[imgid].Image[1], 0, 0, images[imgid].Image[1].Width, 433 images[imgid].Image[1].Height, FImages[0], x_start, y_start); 434 434 end; 435 435 end; -
oup/current/Tools/MetaEditor.dfm
r243 r244 85 85 object tab_hex: TTabSheet 86 86 Caption = 'Binary Edit' 87 ExplicitLeft = 088 ExplicitTop = 089 ExplicitWidth = 090 ExplicitHeight = 091 87 object splitter_hex_1: TSplitter 92 88 Left = 0 -
oup/current/Tools/MetaEditor.pas
r243 r244 101 101 data: TNodeData; 102 102 node: PVirtualNode; 103 basenode: PVirtualNode; 103 104 begin 104 105 if FConnectionID <> TreeElem.ConnectionID then … … 107 108 VST.Clear; 108 109 VST.BeginUpdate; 110 data.Field := root; 111 basenode := AddVSTEntry(VST, nil, data); 109 112 for i := 0 to root.ChildCount - 1 do 110 113 begin 111 114 data.Field := root.Child[i]; 112 node := AddVSTEntry(VST, nil, data);115 node := AddVSTEntry(VST, basenode, data); 113 116 if data.Field.ChildCount > 0 then 114 117 VST.HasChildren[node] := True; -
oup/current/Tools/Preview.dfm
r220 r244 47 47 Visible = False 48 48 OnResize = panel_buttonsResize 49 ExplicitWidth = 28350 49 object btn_dec: TButton 51 50 Left = 0 -
oup/current/Tools/Preview.pas
r220 r244 6 6 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 7 7 Dialogs, _TemplateFileList, Menus, StdCtrls, ExtCtrls, Buttons, 8 TypeDefs, OniImgClass ;8 TypeDefs, OniImgClass, VirtualTrees, ComCtrls; 9 9 10 10 type
Note:
See TracChangeset
for help on using the changeset viewer.