📄 win.h
字号:
/////////////////////////////////////////////////////////////////////////////
// Name: Win.h
// Copyright: wellgain
// Author: bet
// Date: 2003-10-17
// Description: interface for the CWin class.
/////////////////////////////////////////////////////////////////////////////
#ifndef _WG_WIN_H_
#define _WG_WIN_H_
#include <gtk/gtk.h>
#include "Widget.h"
#include "ToolBar.h"
#include "NoteBook.h"
#include "config.h"
class CWin : public CWidget
{
public:
CWin(char* title="", CWidget* parent=(CWidget*)NULL);
virtual ~CWin();
virtual GtkWidget* Create();
public:
CToolBar* m_pToolbar;
CNoteBook* m_pNotebook;
CButton* m_Buttons[5];
static void on_button_dial_clicked (GtkButton *button,
gpointer user_data);
static void on_button_save_clicked (GtkButton *button,
gpointer user_data);
static void on_button_del_clicked (GtkButton *button,
gpointer user_data);
static void on_button_setblack_clicked (GtkButton *button,
gpointer user_data);
static void on_button_calltime_clicked (GtkButton *button,
gpointer user_data);
static void on_main_window_destroy (GtkObject *object,
gpointer user_data);
static void on_toolbar_close_button_click(GtkButton *button, gpointer data);
static void on_toolbar_button_pressed(GtkButton *button, gpointer data);
private:
gchar* m_szTitle;
};
#endif //_WG_WIN_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -