DXGL r839 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r838
|
r839
|
r840
>
Date:
00:57, 1 August 2018
Author:
admin
Status:
new
Tags:
Comment:
Adjust alignment of value text in Hacks tab listbox to match the combo boxes.
Modified paths:
/dxglcfg/dxglcfg.cpp
(modified) (
history
)
Diff
[
purge
]
Index: dxglcfg/dxglcfg.cpp
—
—
@@ -2616,7 +2616,7 @@
2617
2617
if (hackstabitem == 3) GetWindowRect(GetDlgItem(GetDlgItem(hWnd, IDC_HACKSLIST), IDC_HACKSEDIT), &r);
2618
2618
else GetWindowRect(GetDlgItem(GetDlgItem(hWnd, IDC_HACKSLIST), IDC_HACKSDROPDOWN), &r);
2619
2619
memcpy(&r2, &drawitem->rcItem, sizeof(RECT));
2620
- r2.left = r2.right - (r.right - r.left);
2620
+ r2.left = r2.right - (r.right - r.left) + 4;
2621
2621
DrawHacksItemText(drawitem->hDC, &r2, drawitem->itemID);
2622
2622
if (drawitem->itemState & ODS_FOCUS) DrawFocusRect(drawitem->hDC, &drawitem->rcItem);
2623
2623
SetTextColor(drawitem->hDC, OldTextColor);
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version