📄 progressbar.c
字号:
/* * File: progressbar.c * * Copyright (C) 2004 Jorge Arellano Cid <jcid@dillo.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */#include <stdio.h>#include "browser.h"#include "progressbar.h"/* * The progressbar is basically a GtkFrame with a text label. */void* a_Progressbar_new(void){ printf ("a_Progressbar_new called.\n"); return NULL;}/* * Update the specified progress bar. * updatestr : String to display within the bar (NULL is ignored) * sens : sensitivity (0 = set insensitive, 1 = set sensitive) */void a_Progressbar_update (BrowserWindow* bw, const char *updatestr, gint sens){ if (updatestr && bw->hwnd_progressbar != -1) SetWindowText(bw->hwnd_progressbar, updatestr);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -