25 static const char*
TYPENAME() {
return "Layout"; }
33 virtual void AddCol(DWORD min_width,
float col_factor);
34 virtual void AddRow(DWORD min_height,
float row_factor);
37 const std::vector<DWORD>& min_y,
38 const std::vector<float>& weight_x,
39 const std::vector<float>& weight_y);
42 const std::vector<float>& min_y,
43 const std::vector<float>& weight_x,
44 const std::vector<float>& weight_y);
50 const float* weight_x,
51 const float* weight_y);
56 virtual void CalcCells(DWORD w, DWORD h, std::vector<DWORD>& cell_x, std::vector<DWORD>& cell_y);