fixed colors

This commit is contained in:
Alvaro Muñoz 2015-01-07 18:15:30 +01:00 committed by pancake
parent 9736790d27
commit e1f2b73066
4 changed files with 6 additions and 13 deletions

View File

@ -50,8 +50,8 @@ R_API void r_cons_pal_init(const char *foo) {
cons->pal.gui_cflow = Color_YELLOW;
cons->pal.gui_dataoffset = Color_YELLOW;
cons->pal.gui_background = Color_BLACK;
cons->pal.gui_alt_background = Color_GRAY;
cons->pal.gui_border = Color_BGGRAY;
cons->pal.gui_alt_background = Color_WHITE;
cons->pal.gui_border = Color_BLACK;
cons->pal.list[0] = strdup (Color_RED);
cons->pal.list[1] = strdup (Color_YELLOW);

View File

@ -82,7 +82,7 @@ input:focus {outline: none; }
.ec_gui_cflow {color: rgb(255,255,0);}
.ec_gui_dataoffset {color: rgb(127,127,0);}
.ec_gui_background {background-color: rgb(20,20,20); }
.ec_gui_alt_background {background-color: rgb(90,90,90); }
.ec_gui_alt_background {background-color: rgb(50,50,50); }
.ec_gui_border {border-color: rgb(50,50,50); }
.autohighlight { background-color: #8AFF77 !important; }
@ -102,10 +102,6 @@ input:focus {outline: none; }
z-index: 2;
}
svg rect {
border: 5px solid yellow;
}
.basicblock .instruction,
.basicblock input {
pointer-events: auto;

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ var BBGraph = function () {
defaults: joint.util.deepSupplement({
type: 'html.Element',
attrs: {
rect: { stroke: 'black', fill: r2ui.colors[".ec_gui_alt_background"] }
rect: { stroke: r2ui.colors[".ec_gui_border"], fill: r2ui.colors[".ec_gui_alt_background"] }
}
}, joint.shapes.basic.Rect.prototype.defaults)
});
@ -32,7 +32,7 @@ var BBGraph = function () {
updateBox: function(event) {
// move the html mask when moving the svg rect
var bbox = this.model.getBBox();
this.$box.css({ width: bbox.width, height: bbox.height, left: bbox.x, top: bbox.y + 7});
this.$box.css({ width: bbox.width + 2, height: bbox.height, left: bbox.x - 1, top: bbox.y + 7});
}
});
};
@ -289,9 +289,6 @@ function render_graph(x) {
reposition_graph();
}
}
// else if(flag === 1){
// console.log("drag");
// }
});