[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 1e8b575 3/8: Use private interface in impleme
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 1e8b575 3/8: Use private interface in implementation |
Date: |
Mon, 6 Aug 2018 18:36:23 -0400 (EDT) |
branch: master
commit 1e8b575850f76ac08d3ff13ab92ec9cb65fb0248
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Use private interface in implementation
Changed one line to call private do_output_vert_separator() instead of
public output_vert_separator(). Now (disregarding the trivial
row_height() accessor), except for text_rect(), the public and private
interfaces are disjoint, and that property will soon prove useful for
refactoring.
---
wx_table_generator.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wx_table_generator.cpp b/wx_table_generator.cpp
index 7c6c0f5..19509df 100644
--- a/wx_table_generator.cpp
+++ b/wx_table_generator.cpp
@@ -240,7 +240,7 @@ void wx_table_generator::output_highlighted_cell
dc_.DrawLabel(value, text_rect(column, y), wxALIGN_CENTER_HORIZONTAL);
- output_vert_separator(column, y);
+ do_output_vert_separator(cell_pos_x(column), y, y + row_height_);
}
/// Render a single row with the given values at the given position.
- [lmi-commits] [lmi] master updated (12a9a3b -> 9b94a39), Greg Chicares, 2018/08/06
- [lmi-commits] [lmi] master 78fe48b 1/8: Assert a precondition, Greg Chicares, 2018/08/06
- [lmi-commits] [lmi] master a889ef0 2/8: Assert some preconditions, Greg Chicares, 2018/08/06
- [lmi-commits] [lmi] master 1e8b575 3/8: Use private interface in implementation,
Greg Chicares <=
- [lmi-commits] [lmi] master eb8cff1 5/8: Generally prefer 'int' to other integer types, Greg Chicares, 2018/08/06
- [lmi-commits] [lmi] master f36110a 6/8: Record visibility in various internal data structures, Greg Chicares, 2018/08/06
- [lmi-commits] [lmi] master a95ec51 4/8: Separate public and private interfaces, Greg Chicares, 2018/08/06
- [lmi-commits] [lmi] master 9b94a39 8/8: Don't pass "hidden" columns into class wx_table_generator, Greg Chicares, 2018/08/06
- [lmi-commits] [lmi] master 4cf72c4 7/8: Establish a mapping from potential to actual (non-hidden) columns, Greg Chicares, 2018/08/06