winbox::winbox() { Gdiplus::Color pen_color(Gdiplus::Color::White); Gdiplus::Color brush_color(Gdiplus::Color::White); m_lvm = luaL_newstate(); m_pen = new Gdiplus::Pen(pen_color); m_brush = new Gdiplus::SolidBrush(brush_color); }
void device_palette_interface::interface_pre_save() { // fill the save arrays with updated pen and brightness information int numcolors = m_palette->num_colors(); for (int index = 0; index < numcolors; index++) { m_save_pen[index] = pen_color(index); m_save_contrast[index] = pen_contrast(index); } }