mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.upptst
This commit is contained in:
parent
60a24c235e
commit
63479dde0d
3 changed files with 7 additions and 7 deletions
|
|
@ -3,7 +3,7 @@
|
|||
using namespace Upp;
|
||||
|
||||
struct ColorTest : TopWindow {
|
||||
ColorSelector color;
|
||||
ColorPusher color;
|
||||
|
||||
void Paint(Draw& w) override {
|
||||
Size sz = GetSize();
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ void MainDlg::OnFile()
|
|||
|
||||
void MainDlg::OnPallette()
|
||||
{
|
||||
::RunDlgSelectColor();
|
||||
|
||||
}
|
||||
|
||||
void MainDlg::OnPrinter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue