This is the mail archive of the
cygwin-apps-cvs@sources.redhat.com
mailing list for the cygwin-apps project.
setup ChangeLog ControlAdjuster.h ControlAdjus ...
- From: briand at sourceware dot org
- To: cygwin-apps-cvs at sources dot redhat dot com
- Date: 5 May 2005 21:00:34 -0000
- Subject: setup ChangeLog ControlAdjuster.h ControlAdjus ...
CVSROOT: /cvs/cygwin-apps
Module name: setup
Changes by: briand@sourceware.org 2005-05-05 21:00:34
Modified files:
. : ChangeLog ControlAdjuster.h ControlAdjuster.cc
localdir.h localdir.cc proppage.h proppage.cc
resource.h res.rc root.h root.cc splash.h
splash.cc window.h window.cc
Log message:
2005-05-05 Brian Dessent <brian@dessent.net>
* ControlAdjuster.h: (enum ControlPosition): Declare new
resizing methods CP_STRETCH_LEFTHALF and CP_STRETCH_RIGHTHALF, and
their TOP/BOTTOM aliases.
* ControlAdjuster.cc: (ControlAdjuster::ControlInfo::adjust):
Implement CP_STRETCH_LEFTHALF and CP_STRETCH_RIGHTHALF, which
are designed to resize elements in a two-column layout.
* localdir.h: (class LocalDirPage): Remove constructor
implementation from here...
* localdir.cc: (LocalDirPage::LocalDirPage): ...to here, and call
AddControlsInfo on initialization.
(static LocaldirControlsInfo): Add. Define sizing rules for dialog
elements.
* proppage.h: Add includes. (PropertyPage::ClickableURL): Declare new
storage type for internal use by class. (PropertyPage::urls):
Likewise. (PropertyPage::urlWinProc): Add declaration.
(PropertyPage::makeClickable): Likewise.
* proppage.cc: Add includes. (PropertyPage::DialogProc): Implement
handler for WM_CTLCOLORSTATIC message. Supports static controls that
have been turned into clickable hyperlinks. (static
PropertyPage::urls): Declare. (PropertyPage::makeClickable):
Implement new member function that provides user interface for making
text into clickable URLs. (PropertyPage::urlWinProc): Implement new
private member function used as a windowproc for subclassing a static
control.
* resource.h: (IDC_SPLASH_URL, IDC_FILEMODES_LINK, IDC_ROOTDIR_GRP,
IDC_INSTALLFOR_GRP, IDC_ALLUSERS_TEXT, IDC_JUSTME_TEXT, IDC_MODE_GRP,
IDC_MODE_TEXT, IDC_MODE_BIN, IDC_LOCALDIR_GRP, IDC_SPLASH_TEXT,
IDC_SPLASH_ICON, IDC_SPLASH_COPYR): Add. Replaces anonymous
IDC_STATIC ids, so that controls can be referenced by the resizer.
* res.rc: (IDD_LOCAL_DIR): Rearrange controls to match top-down order
in the dialog. Fold long lines. Replace anonymous IDC_STATIC ids.
(IDD_ROOT): Reorder in same manner. Replace anonymous IDC_STATIC
ids. Add descriptive text of each option, and hyperlink for more
information. Mark suggested choice as "(RECOMMENDED)". Swap order
of 'unix'/'dos' radio buttons so that recommended choice is first in
both columns. (IDD_SPLASH): Reorder elements to match top-down
order of dialog, fold long lines. Add descriptive paragraph, remove
anonymous ids. Update copyright text, replace sources.redhat.com
with cygwin.com.
* root.h: (class RootPage): Remove constructor implementation from
here...
* root.cc: ...to here, and call AddControlInfo. (static
RootControlsInfo): Add. Populate with resizing data.
(RootPage::OnInit): Make text a clickable hyperlink.
* splash.h: (class SplashPage): Likewise, move constructor from
here...
* splash.cc: ...to here. Call AddControlInfo. (static
SplashControlsInfo): Add and populate. (SplashPage::Create): Make
link on splash page a clickable hyperlink.
* window.h: Add include. (class Window): Store allocated fonts with a
vector instead of fixed array. Change indentation of setParent to be
consistent.
* window.cc: (Window::Window): Remove FontCounter.
(Window::~Window): Likewise. Iterate over vector of fonts
instead. (Window::SetDlgItemFont): Use vector.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.489&r2=2.490
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/ControlAdjuster.h.diff?cvsroot=cygwin-apps&r1=2.5&r2=2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/ControlAdjuster.cc.diff?cvsroot=cygwin-apps&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/localdir.h.diff?cvsroot=cygwin-apps&r1=2.6&r2=2.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/localdir.cc.diff?cvsroot=cygwin-apps&r1=2.21&r2=2.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/proppage.h.diff?cvsroot=cygwin-apps&r1=2.10&r2=2.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/proppage.cc.diff?cvsroot=cygwin-apps&r1=2.13&r2=2.14
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/resource.h.diff?cvsroot=cygwin-apps&r1=2.26&r2=2.27
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/res.rc.diff?cvsroot=cygwin-apps&r1=2.60&r2=2.61
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/root.h.diff?cvsroot=cygwin-apps&r1=2.5&r2=2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/root.cc.diff?cvsroot=cygwin-apps&r1=2.17&r2=2.18
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/splash.h.diff?cvsroot=cygwin-apps&r1=2.6&r2=2.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/splash.cc.diff?cvsroot=cygwin-apps&r1=2.14&r2=2.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/window.h.diff?cvsroot=cygwin-apps&r1=2.9&r2=2.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/window.cc.diff?cvsroot=cygwin-apps&r1=2.10&r2=2.11