History

Cosmetics

malc committed 6 years ago

Commit 4880e201 parent 1a3006b1 file · +4 −5Browse files

Unified · Split

main.ml+4−5
@@ -4,6 +4,7 @@ open Glutils;; · 3 unmodified lines
4open Listview;;4open Listview;;
5 5
6module C = Ffi.C;;6module C = Ffi.C;;
7
7let selfexec = ref E.s;;8let selfexec = ref E.s;;
8let ignoredoctitlte = ref false;;9let ignoredoctitlte = ref false;;
9let layouth = ref ~-1;;10let layouth = ref ~-1;;
@@ -800,9 +801,6 @@ let reload () = · 790 unmodified lines
800;;801;;
801 802
802let scalecolor c = let c = c *. conf.colorscale in (c, c, c);;803let scalecolor c = let c = c *. conf.colorscale in (c, c, c);;
803let scalecolor2 (r, g, b) =
804 (r *. conf.colorscale, g *. conf.colorscale, b *. conf.colorscale);
805;;
806 804
807let docolumns columns =805let docolumns columns =
808 match columns with806 match columns with
@@ -4174,8 +4172,9 @@ let showrects = function · 3365 unmodified lines
4174;;4172;;
4175 4173
4176let display () =4174let display () =
4177 GlDraw.color (scalecolor2 conf.bgcolor);4175 let sc (r, g, b) = let s = conf.colorscale in (r *. s, g *. s, b *. s) in
4178 GlClear.color (scalecolor2 conf.bgcolor);4176 GlDraw.color (sc conf.bgcolor);
4177 GlClear.color (sc conf.bgcolor);
4179 GlClear.clear [`color];4178 GlClear.clear [`color];
4180 List.iter drawpage state.layout;4179 List.iter drawpage state.layout;
4181 let rects =4180 let rects =

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