aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/observer_defs.hrl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2011-11-11 15:00:11 +0100
committerDan Gudmundsson <[email protected]>2011-11-17 14:51:28 +0100
commitb65b0c4bf4896021cbd327a4bc1acd426645a5f3 (patch)
tree5a5449038c82f1a57d688fb8e6cfa51aebb91b66 /lib/observer/src/observer_defs.hrl
parent3caa688c5522b8f0f039b9375cf6377b1bd88f0e (diff)
downloadotp-b65b0c4bf4896021cbd327a4bc1acd426645a5f3.tar.gz
otp-b65b0c4bf4896021cbd327a4bc1acd426645a5f3.tar.bz2
otp-b65b0c4bf4896021cbd327a4bc1acd426645a5f3.zip
[observer] Rework tracing part of the gui
No tracing is implemented yet.
Diffstat (limited to 'lib/observer/src/observer_defs.hrl')
-rw-r--r--lib/observer/src/observer_defs.hrl13
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/observer/src/observer_defs.hrl b/lib/observer/src/observer_defs.hrl
index 9e68bd7f07..d83a1e2fa5 100644
--- a/lib/observer/src/observer_defs.hrl
+++ b/lib/observer/src/observer_defs.hrl
@@ -26,10 +26,12 @@
on_all_link = false,
main_window = true}).
--record(match_spec, {alias,
- term_ms = [],
- str_ms = [],
- fun2ms}).
+-record(match_spec, {name = "",
+ term = [],
+ str = [],
+ func = ""}).
+
+-record(tpattern, {m, fa, ms}).
-record(traced_func, {func_name, %atom
arity, %integer
@@ -49,9 +51,12 @@
}).
-record(attrs, {even, odd, deleted, changed, searched}).
+-define(EVEN(Row), ((Row rem 2) =:= 0)).
-define(BG_EVEN, {230,230,250}).
-define(BG_ODD, {255,255,255}).
-define(BG_DELETED, {100,100,100}).
-define(FG_DELETED, {240,30,30}).
-define(BG_SEARCHED,{235,215,90}).
-define(BG_CHANGED, {230,230,250}).
+
+-define(LCTRL_WDECR, 4). %% Remove some pixels in column width to avoid creating unnecessary scrollbar