Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginClass.cpp

Issue 6210609305616384: Issue 1538 - Replace ABP icon with new one (v.1.1) - for Internet Explorer (Closed)
Patch Set: Created Jan. 24, 2015, 3:55 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/res/blocking.ico » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginClass.cpp
===================================================================
--- a/src/plugin/PluginClass.cpp
+++ b/src/plugin/PluginClass.cpp
@@ -995,7 +995,7 @@
#ifdef _DEBUG
m_nPaneWidth = 70;
#else
- m_nPaneWidth = min(rcStatusBar.Height(), 22);
+ m_nPaneWidth = min(rcStatusBar.Height(), 32);
#endif
}
else
@@ -1003,7 +1003,7 @@
#ifdef _DEBUG
m_nPaneWidth = 70;
#else
- m_nPaneWidth = 22;
+ m_nPaneWidth = 32;
#endif
}
// Create pane window
@@ -1621,8 +1621,8 @@
int offx = nDrawEdge;
if (hIcon)
{
- ::DrawIconEx(hDC, offx, (rcClient.Height() - 16)/2 + 2, hIcon, 16, 16, NULL, NULL, DI_NORMAL);
- offx += 22;
+ ::DrawIconEx(hDC, offx, 0, hIcon, rcClient.Height() - 2, rcClient.Height() - 2, NULL, NULL, DI_NORMAL);
+ offx += 32;
}
#ifdef _DEBUG
// Display version
« no previous file with comments | « no previous file | src/res/blocking.ico » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld