GetMainFrame()->ClearStatusbarItemCount();
}
-
-/// update height for panels 3/4
-void CChildFrame::UpdateDiffDockbarHeight(int DiffPanelHeight)
-{
- m_wndDetailBar.UpdateBarHeight(DiffPanelHeight);
-}
-
/// update splitting position for panels 1/2 and headerbar and statusbar
void CChildFrame::UpdateHeaderSizes()
{
// Implementation
private:
BOOL EnsureValidDockState(CDockState& state);
- void UpdateDiffDockbarHeight(int DiffPanelHeight);
void SavePosition();
virtual ~CChildFrame();
}
return bSuccess;
}
-
-/**
- * @brief Checks if the clipboard allows Unicode format.
- * @return TRUE if Unicode is supported, FALSE otherwise.
- */
-bool TextInClipboard()
-{
- UINT fmt = GetClipTcharTextFormat();
- return IsClipboardFormatAvailable(fmt) != FALSE;
-}
bool PutToClipboard(const String & text, HWND currentWindowHandle);
bool GetFromClipboard(String & text, HWND currentWindowHandle);
-bool TextInClipboard();
#endif // _CLIPBOARD_H_
}
/**
- * @brief Write boolean item using keywords (Yes|No)
- */
-void CConfigLog::WriteItemYesNo(int indent, const String& key, bool *pvalue)
-{
- String text = string_format(_T("%*.0s%s: %s\r\n"), indent, key.c_str(), key.c_str(), *pvalue ? _T("Yes") : _T("No"));
- m_pfile->WriteString(text);
-}
-
-/**
* @brief Write out various possibly relevant windows locale information
*/
void CConfigLog::WriteLocaleSettings(unsigned locid, const String& title)
String GetBuildFlags() const;
void FileWriteString(const String& lpsz);
void CloseFile();
- void WriteItemYesNo(int indent, const String& key, bool *pvalue);
// Implementation data
private:
return 0;
}
-
-int CDiffViewBar::GetPanelHeight()
-{
- if (IsWindowVisible() == FALSE)
- return 0;
-
- int hDetailLeft,hmin;
- m_pwndDetailSplitter->GetRowInfo(0, hDetailLeft, hmin);
- return hDetailLeft;
-}
-
-
/// update height for both panels
void CDiffViewBar::UpdateBarHeight(int DiffPanelHeight)
{
void setSplitter (CSplitterWndEx * pwndDetailSplitter)
{ m_pwndDetailSplitter = pwndDetailSplitter; }
- int GetPanelHeight();
void UpdateBarHeight(int DiffPanelHeight);
void SetFrameHwnd(HWND hwndFrame);
void UpdateResources();