This commit is contained in:
Mirek Fidler 2025-01-20 10:32:07 +01:00
parent 60a24c235e
commit 63479dde0d
3 changed files with 7 additions and 7 deletions

View file

@ -3,7 +3,7 @@
using namespace Upp;
struct ColorTest : TopWindow {
ColorSelector color;
ColorPusher color;
void Paint(Draw& w) override {
Size sz = GetSize();

View file

@ -1,8 +1,8 @@
LAYOUT(MainDlg, 328, 108)
ITEM(Button, m_file, SetLabel(t_("File Selection...")).LeftPosZ(12, 116).TopPosZ(12, 24))
ITEM(Button, m_pallette, SetLabel(t_("Pallette...")).LeftPosZ(136, 92).TopPosZ(12, 24))
ITEM(Button, m_printer, SetLabel(t_("Printer...")).LeftPosZ(236, 80).TopPosZ(12, 24))
ITEM(Button, m_close, SetLabel(t_("Close")).SetFont(StdFontZ(11).Bold()).RightPosZ(12, 56).BottomPosZ(12, 24))
ITEM(EditString, m_current, SetEditable(false).HSizePosZ(12, 84).BottomPosZ(13, 19))
ITEM(Upp::Button, m_file, SetLabel(t_("File Selection...")).LeftPosZ(12, 116).TopPosZ(12, 24))
ITEM(Upp::Button, m_pallette, SetLabel(t_("Pallette...")).LeftPosZ(136, 92).TopPosZ(12, 24))
ITEM(Upp::Button, m_printer, SetLabel(t_("Printer...")).LeftPosZ(236, 80).TopPosZ(12, 24))
ITEM(Upp::Button, m_close, SetLabel(t_("Close")).SetFont(Upp::StdFontZ(11).Bold()).RightPosZ(12, 56).BottomPosZ(12, 24))
ITEM(Upp::EditString, m_current, SetEditable(false).HSizePosZ(12, 84).BottomPosZ(13, 19))
END_LAYOUT

View file

@ -28,7 +28,7 @@ void MainDlg::OnFile()
void MainDlg::OnPallette()
{
::RunDlgSelectColor();
}
void MainDlg::OnPrinter()