History

Shorten some type names

malc committed 5 years ago

Commit 19794691 parent a7a294f2 files · +7 −8Browse files

Unified · Split

2 files
  1. config.ml +4 −4
  2. genconfstruct.sh +3 −4
config.ml+4−4
@@ -36,7 +36,7 @@ and uri = string · 35 unmodified lines
3636 and caption = string
3737 and tilex = int
3838 and tiley = int
39−and tileparams = (x * y * width * height * tilex * tiley)
39+and tileparams = (x * y * w * h * tilex * tiley)
4040 and under =
4141 | Unone
4242 | Ulinkuri of string
@@ -166,14 +166,14 @@ type page = · 123 unmodified lines
166166 type tile = opaque * pixmapsize * elapsed
167167 and elapsed = float
168168 and pagemapkey = pageno * gen
169−and tilemapkey = pageno * gen * colorspace * angle * width * height * col * row
169+and tilemapkey = pageno * gen * colorspace * angle * w * h * col * row
170170 and row = int
171171 and col = int
172172 and currently =
173173 | Idle
174174 | Loading of (page * gen)
175175 | Tiling
176− of (page * opaque * colorspace * angle * gen * col * row * width * height)
176+ of (page * opaque * colorspace * angle * gen * col * row * w * h)
177177 | Outlining of outline list
178178 and mpos = int * int
179179 and mstate =
@@ -328,7 +328,7 @@ module S = struct · 148 unmodified lines
328328 let layout : page list ref = ref []
329329 let pagemap : (pagemapkey, opaque) Hashtbl.t = Hashtbl.create 0
330330 let tilemap : (tilemapkey, tile) Hashtbl.t = Hashtbl.create 0
331− let pdims : (pageno * width * height * leftx) list ref = ref []
331+ let pdims : (pageno * w * h * leftx) list ref = ref []
332332 let pagecount = ref max_int
333333 let currently = ref Idle
334334 let mstate = ref Mnone
genconfstruct.sh+3−4
@@ -25,13 +25,12 @@ and mark = · 24 unmodified lines
2525 and multicolumns = (multicol * pagegeom)
2626 and singlecolumn = pagegeom
2727 and splitcolumns = (columncount * pagegeom)
28−and pagegeom = (pdimno * x * y * (pageno * width * height * leftx)) array
28+and pagegeom = (pdimno * x * y * (pageno * w * h * leftx)) array
2929 and multicol = (columncount * covercount * covercount)
3030 and columncount = int
3131 and pdimno = int and pageno = int
32−and x = int and y = int and leftx = int
32+and x = int and y = int and leftx = int and w = int and h = int
3333 and covercount = int
34−and width = int and height = int
3534 and memsize = int and texcount = int
3635 and sliceheight = int
3736 and zoom = float
@@ -86,7 +85,7 @@ g trimfuzz irect "(0,0,0,0)" · 48 unmodified lines
8685 g memlimit memsize "128 lsl 20"
8786 g texcount texcount 256
8887 g sliceheight sliceheight 24
89−g thumbw width 76
88+g thumbw w 76
9089 g bgcolor rgb "(0.5, 0.5, 0.5)"
9190 g papercolor rgba "(1.0, 1.0, 1.0, 0.0)"
9291 g sbarcolor rgba "(0.64, 0.64, 0.64, 0.7)"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t