diff options
| author | Pietro Gagliardi <[email protected]> | 2014-12-20 21:10:44 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-12-20 21:10:44 -0500 |
| commit | 89fb2e8c6c33fa040138a52df06c56b2cea78131 (patch) | |
| tree | be675f49cc072e3fb805bed8ee2f5a78ab05ae0f /wintable/new/coord.h | |
| parent | 3cb96de1628495f176d9e7fe4104b8c6cca36635 (diff) | |
toItemContentRect() -> toCellContentRect() (consistency)
Diffstat (limited to 'wintable/new/coord.h')
| -rw-r--r-- | wintable/new/coord.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wintable/new/coord.h b/wintable/new/coord.h index 39517d3..f0a0ec2 100644 --- a/wintable/new/coord.h +++ b/wintable/new/coord.h @@ -149,7 +149,7 @@ static BOOL rowColumnToClientRect(struct table *t, struct rowcol rc, RECT *r) // TODO idealCoordToRowColumn/rowColumnToIdealCoord? -static void toItemContentRect(struct table *t, RECT *r, LRESULT xoff, intptr_t width, intptr_t height) +static void toCellContentRect(struct table *t, RECT *r, LRESULT xoff, intptr_t width, intptr_t height) { if (xoff == 0) xoff = SendMessageW(t->header, HDM_GETBITMAPMARGIN, 0, 0); @@ -161,4 +161,4 @@ static void toItemContentRect(struct table *t, RECT *r, LRESULT xoff, intptr_t w r->bottom = r->top + height; } -#define toCheckboxRect(t, r) toItemContentRect(t, r, 0, t->checkboxWidth, t->checkboxHeight) +#define toCheckboxRect(t, r) toCellContentRect(t, r, 0, t->checkboxWidth, t->checkboxHeight) |
