win.h

来自「多媒体电话记录程序」· C头文件 代码 · 共 63 行

H
63
字号
/////////////////////////////////////////////////////////////////////////////
//  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 + =
减小字号Ctrl + -
显示快捷键?